mlsanityData to 7 Oct 2026

A new approach for fine-tuning sentence transformers for intent classification and out-of-scope detection tasks

arXiv 2410.13649 ↗First posted 17 Oct 2024cs.CL cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

In virtual assistant (VA) systems it is important to reject or redirect user queries that fall outside the scope of the system. One of the most accurate approaches for out-of-scope (OOS) rejection is to combine it with the task of intent classification on in-scope queries, and to use methods based on the similarity of embeddings produced by transformer-based sentence encoders. Typically, such encoders are fine-tuned for the intent-classification task, using cross-entropy loss. Recent work has shown that while this produces suitable embeddings for the intent-classification task, it also tends to disperse in-scope embeddings over the full sentence embedding space. This causes the in-scope embeddings to potentially overlap with OOS embeddings, thereby making OOS rejection difficult. This is compounded when OOS data is unknown. To mitigate this issue our work proposes to regularize the cross-entropy loss with an in-scope embedding reconstruction loss learned using an auto-encoder. Our method achieves a 1-4% improvement in the area under the precision-recall curve for rejecting out-of-sample (OOS) instances, without compromising intent classification performance.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 20 of its 30 references that are in the map. First posted on arXiv 17 Oct 2024.

Builds on

20 of 30 references.

References · 20

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
  3. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  4. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  5. 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 378
  6. 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
  7. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  8. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
  9. 2018Reducing Network Agnostophobiacited by 165
  10. 2020DROCC: Deep Robust One-Class Classificationcited by 121
  11. 2022Is Out-of-Distribution Detection Learnable?cited by 109
  12. 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
8 more
  1. 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
  2. 2019Deep Unknown Intent Detection with Margin Losscited by 66
  3. 2019Out-of-domain Detection for Natural Language Understanding in Dialog Systemscited by 62
  4. 2021Out-of-Scope Intent Detection with Self-Supervision and Discriminative Trainingcited by 42
  5. 2017Self-Taught Convolutional Neural Networks for Short Text Clusteringcited by 34
  6. 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detectioncited by 15
  7. 2023Fine-Tuning Deteriorates General Textual Out-of-Distribution Detection by Distorting Task-Agnostic Featurescited by 12
  8. 2023Distinguish Sense from Nonsense: Out-of-Scope Detection for Virtual Assistantscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 1.

4 papers.