Xinyi Cai , Pei-Wei Tsai , Youwen Zhang , Jiao Tian , Kai Zhang , Ke Yu , Hongwang Xiao , Jinjun Chen
{"title":"A centroid-based fine-tuning method for out-of-scope classification","authors":"Xinyi Cai , Pei-Wei Tsai , Youwen Zhang , Jiao Tian , Kai Zhang , Ke Yu , Hongwang Xiao , Jinjun Chen","doi":"10.1016/j.neucom.2025.130828","DOIUrl":null,"url":null,"abstract":"<div><div>Accurately detecting out-of-scope queries is a challenging task in task-oriented dialog systems. Most existing research focus on adding an outlier detector after classification or designing an open world classification to identify unknown intents. There is still a major performance gap on achieving high efficiency and accuracy based on above methods. In our research, we tend to solve this problem by constructing an out-of-scope class in the classification. We propose an explainable centroid-based fine-tuning method including a modified decision metric (MDM) and a centroid-based cosine loss (CCL) on Pre-trained Transformer models for optimization. This loss function builds on Copernican structure and assigns the same margin to each in-scope class to resolve an ambiguous configuration on out-of-scope detection. Moreover, cosine similarity is utilized to remove radial variations of centroids. Experimental results show that our proposed method achieves improvement compared to other baseline methods.</div></div>","PeriodicalId":19268,"journal":{"name":"Neurocomputing","volume":"650 ","pages":"Article 130828"},"PeriodicalIF":5.5000,"publicationDate":"2025-06-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neurocomputing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925231225015000","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Accurately detecting out-of-scope queries is a challenging task in task-oriented dialog systems. Most existing research focus on adding an outlier detector after classification or designing an open world classification to identify unknown intents. There is still a major performance gap on achieving high efficiency and accuracy based on above methods. In our research, we tend to solve this problem by constructing an out-of-scope class in the classification. We propose an explainable centroid-based fine-tuning method including a modified decision metric (MDM) and a centroid-based cosine loss (CCL) on Pre-trained Transformer models for optimization. This loss function builds on Copernican structure and assigns the same margin to each in-scope class to resolve an ambiguous configuration on out-of-scope detection. Moreover, cosine similarity is utilized to remove radial variations of centroids. Experimental results show that our proposed method achieves improvement compared to other baseline methods.
期刊介绍:
Neurocomputing publishes articles describing recent fundamental contributions in the field of neurocomputing. Neurocomputing theory, practice and applications are the essential topics being covered.