Skip to main navigation Skip to search Skip to main content

A centroid-based fine-tuning method for out-of-scope classification

Xinyi Cai, Pei-Wei Tsai, Youwen Zhang, Jiao Tian, Kai Zhang, Ke Yu, Hongwang Xiao, Jinjun Chen*

*Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

1 Downloads (CityUHK Scholars)

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. © 2025 The Authors.
Original languageEnglish
Article number130828
Number of pages10
JournalNeurocomputing
Volume650
Online published25 Jun 2025
DOIs
Publication statusPublished - 14 Oct 2025
Externally publishedYes

Research Keywords

  • And Graph computing
  • Feature selection
  • Machine learning
  • Neural networks

Publisher's Copyright Statement

  • This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/

Fingerprint

Dive into the research topics of 'A centroid-based fine-tuning method for out-of-scope classification'. Together they form a unique fingerprint.

Cite this