Education, Science, Technology, Innovation and Life
Open Access
Sign In

Beyond Random Unknowns: A Difficulty-Stratified Evaluation of Few-Shot Open Intent Detection

Download as PDF

DOI: 10.23977/jaip.2026.090209 | Downloads: 0 | Views: 18

Author(s)

Xingming Wu 1

Affiliation(s)

1 College of Artificial Intelligence and Low-Altitude Technology, South China Agricultural University, Guangzhou, 510642, China

Corresponding Author

Xingming Wu

ABSTRACT

Few-shot intent classifiers must reject utterances that do not belong to any supported intent, yet evaluation results can depend strongly on how those unknown intents are constructed. This study examines whether conclusions obtained from random held-out intent classes extend to in-domain out-of-scope (ID-OOS) and far out-of-domain conditions. A shared DistilBERT encoder was trained under 5-shot and 10-shot budgets on public BANKING77 and CLINC resources, and four post-hoc detectors were compared: maximum softmax probability, energy, cosine prototype similarity, and shrinkage Mahalanobis distance. The random-holdout protocol used five class splits and three training seeds, while each fixed near/far condition used three training seeds. Across detectors, random-holdout AUROC increased from 0.7535 to 0.7980 on BANKING77 and from 0.8185 to 0.8529 on CLINC150 when the budget increased from five to ten examples per class. More importantly, detector-averaged AUROC was 0.8036 and 0.8233 on near ID-OOS conditions but 0.9490 and 0.9637 on far OOD conditions. Random class selection also produced split-mean ranges of 0.0234–0.0572 AUROC, with between-split to within-split variance ratios of 1.04–17.63. Detector advantages were conditional on dataset and shot count rather than universal. These results support repeated, difficulty-stratified reporting instead of reliance on a single random split or far-OOD score.

KEYWORDS

Out-of-scope detection; Open-set text classification; Low-resource learning; Uncertainty estimation; Evaluation stability; Semantic shift

CITE THIS PAPER

Xingming Wu. Beyond Random Unknowns: A Difficulty-Stratified Evaluation of Few-Shot Open Intent Detection. Journal of Artificial Intelligence Practice (2026). Vol. 9, No. 2, 99-110. DOI: http://dx.doi.org/10.23977/jaip.2026.090209.

REFERENCES

[1] S. Larson et al., "An evaluation dataset for intent classification and out-of-scope prediction," in Proc. EMNLP-IJCNLP, 2019, pp. 1311–1316, doi: 10.18653/v1/D19-1131.
[2] I. Casanueva, T. Temčinas, D. Gerz, M. Henderson, and I. Vulić, "Efficient intent detection with dual sentence encoders," in Proc. 2nd Workshop NLP for Conversational AI, 2020, pp. 38–45, doi: 10.18653/v1/2020.nlp4convai-1.5.
[3] T.-E. Lin and H. Xu, "Deep unknown intent detection with margin loss," in Proc. 57th Annu. Meeting Assoc. Comput. Linguistics, 2019, pp. 5491–5496, doi: 10.18653/v1/P19-1548.
[4] Z. Zeng et al., "Modeling discriminative representations for out-of-domain detection with supervised contrastive learning," in Proc. 59th Annu. Meeting Assoc. Comput. Linguistics, 2021, pp. 870–878, doi: 10.18653/v1/2021.acl-short.110.
[5] H. Zhang, H. Xu, and T.-E. Lin, "Deep open intent classification with adaptive decision boundary," in Proc. AAAI Conf. Artif. Intell., vol. 35, no. 16, 2021, pp. 14374–14382, doi: 10.1609/aaai.v35i16.17690.
[6] Y. Gong et al., "Confidence calibration for intent detection via hyperspherical space and rebalanced accuracy-uncertainty loss," in Proc. AAAI Conf. Artif. Intell., vol. 36, no. 10, 2022, pp. 10690–10698, doi: 10.1609/aaai.v36i10.21314.
[7] J. Zhang et al., "Few-shot intent detection via contrastive pre-training and fine-tuning," in Proc. EMNLP, 2021, pp. 1906–1912, doi: 10.18653/v1/2021.emnlp-main.144.
[8] L.-M. Zhan, H. Liang, L. Fan, A. Y. S. Lam, and X.-M. Wu, "A closer look at few-shot out-of-distribution intent detection," in Proc. 29th Int. Conf. Comput. Linguistics (COLING), Gyeongju, Republic of Korea, 2022, pp. 451–460. [Online]. Available: https://aclanthology.org/2022.coling-1.36/
[9] P. Wang et al., "APP: Adaptive prototypical pseudo-labeling for few-shot OOD detection," in Findings of EMNLP, 2023, pp. 3926–3939, doi: 10.18653/v1/2023.findings-emnlp.258.
[10] J. Zhang et al., "Are pre-trained transformers robust in intent classification? A missing ingredient in evaluation of out-of-scope intent detection," in Proc. 4th Workshop NLP for Conversational AI, 2022, pp. 12–20, doi: 10.18653/v1/2022.nlp4convai-1.2.
[11] Y. Sali and S. C. Toraman, "Navigating the unknown: Intent classification and out-of-distribution detection using large language models," in Findings of EMNLP, 2025, pp. 14652–14664, doi: 10.18653/v1/2025.findings-emnlp.791.
[12] C. Qin, X. Chen, J. Li, and H. Zhu, "BOLT: Benchmarking open-world learning for text classification," in Findings of ACL, 2026, pp. 13624–13658, doi: 10.18653/v1/2026.findings-acl.667.
[13] Y. Zhou, P. Liu, and X. Qiu, "KNN-contrastive learning for out-of-domain intent classification," in Proc. 60th Annu. Meeting Assoc. Comput. Linguistics, 2022, pp. 5129–5141, doi: 10.18653/v1/2022.acl-long.352.
[14] X. Liu, J. Li, J. Mu, M. Yang, R. Xu, and B. Wang, "Effective open intent classification with K-center contrastive learning and adjustable decision boundary," in Proc. AAAI Conf. Artif. Intell., vol. 37, no. 11, 2023, pp. 13291–13299, doi: 10.1609/aaai.v37i11.26560.
[15] F. den Hengst, R. Wolter, P. Altmeyer, and A. Kaygan, "Conformal intent classification and clarification for fast and accurate intent recognition," in Findings of NAACL, 2024, pp. 2412–2432, doi: 10.18653/v1/2024.findings-naacl.156.
[16] Y. Li et al., "Multi-granularity open intent classification via adaptive granular-ball decision boundary," in Proc. AAAI Conf. Artif. Intell., vol. 39, no. 23, 2025, pp. 24512–24520, doi: 10.1609/aaai.v39i23.34630.
[17] Y. Zou, H. Zhang, H. Xu, S. Li, and L. Xiao, "Ellipsoid-based decision boundaries for open intent classification," in Proc. AAAI Conf. Artif. Intell., vol. 40, no. 41, 2026, pp. 35293–35301, doi: 10.1609/aaai.v40i41.40837.
[18] J. Wang et al., "Robust open intent classification in many-shot and few-shot scenarios," Neural Netw., vol. 192, Art. no. 107964, 2025, doi: 10.1016/j.neunet.2025.107964.
[19] P. Chen and B. Wang, "On collaborating small and large models for few-shot intent detection," in Findings of EMNLP, 2025, pp. 13937–13953, doi: 10.18653/v1/2025.findings-emnlp.749.
[20] M. Guarrera, B. Jin, T.-W. Lin, M. A. Zuluaga, Y. Chen, and A. Sangiovanni-Vincentelli, "Class-wise thresholding for robust out-of-distribution detection," in Proc. IEEE/CVF CVPR Workshops, 2022, pp. 2837–2846.

Downloads: 27466
Visits: 980084

Sponsors, Associates, and Links


All published work is licensed under a Creative Commons Attribution 4.0 International License.

Copyright © 2016 - 2031 Clausius Scientific Press Inc. All Rights Reserved.