Lune

AAAI2024顶会

Unsupervised Layer-Wise Score Aggregation for Textual OOD Detection

Maxime Darrin, Guillaume Staerman, Eduardo Dadalto Câmara Gomes, Jackie C. K. Cheung, Pablo Piantanida, Pierre Colombo

摘要

Out-of-distribution (OOD) detection is a rapidly growing field due to new robustness and security requirements driven by an increased number of AI-based systems. Existing OOD textual detectors often rely on anomaly scores (e.g., Mahalanobis distance) computed on the embedding output of the last layer of the encoder. In this work, we observe that OOD detection performance varies greatly depending on the task and layer output. More importantly, we show that the usual choice (the last layer) is rarely the best one for OOD detection and that far better results can be achieved, provided that an oracle selects the best layer. We propose a data-driven, unsupervised method to leverage this observation to combine layer-wise anomaly scores. In addition, we extend classical textual OOD benchmarks by including classification tasks with a more significant number of classes (up to 150), which reflects more realistic settings. On this augmented benchmark, we show that the proposed post-aggregation methods achieve robust and consistent results comparable to using the best layer according to an oracle while removing manual feature selection altogether.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Energy-based Out-of-distribution Detection 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
  • Is Out-of-Distribution Detection Learnable? 引用了 Energy-based Out-of-distribution Detection
  • ViM: Out-Of-Distribution with Virtual-logit Matching 引用了 Energy-based Out-of-distribution Detection
  • What If the Input is Expanded in OOD Detection? 引用了 Energy-based Out-of-distribution Detection
  • What If the Input is Expanded in OOD Detection? 引用了 ViM: Out-Of-Distribution with Virtual-logit Matching
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. SaulLM-54B & SaulLM-141B: Scaling Up Domain Adaptation for the Legal DomainPierre Colombo, Telmo Pessoa Pires, Malik Boudiaf, Rui Melo 等NeurIPS 2024 · 58 次引用
  2. What If the Input is Expanded in OOD Detection?Boxuan Zhang, Jianing Zhu, Zengmao Wang, Tongliang Liu 等NeurIPS 2024 · 19 次引用
  3. Transductive Learning for Textual Few-Shot Classification in API-based Embedding ModelsPierre Colombo, Victor Pellegrain, Malik Boudiaf, Myriam Tami 等EMNLP 2023 · 7 次引用
  4. A Layer Selection Approach to Test Time AdaptationSabyasachi Sahoo, Mostafa ElAraby, Jonas Ngnawé, Yann Batiste Pequignot 等AAAI 2025 · 6 次引用
  5. Hypothesis Transfer Learning with Surrogate Classification Losses: Generalization Bounds through Algorithmic StabilityAnass Aghbalou, Guillaume StaermanICML 2023 · 3 次引用

它引用的 Paper21

  1. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath 等ICCV 2021 · 2,294 次引用
  2. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用
  3. Input Complexity and Out-of-distribution Detection with Likelihood-based Generative ModelsJoan Serrà, David Álvarez, Vicenç Gómez, Olga Slizovskaia 等ICLR 2020 · 307 次引用
  4. ViM: Out-Of-Distribution with Virtual-logit MatchingHaoqi Wang, Zhizhong Li, Litong Feng, Wayne ZhangCVPR 2022 · 227 次引用
  5. Is Out-of-Distribution Detection Learnable?Zhen Fang, Yixuan Li, Jie Lu, Jiahua Dong 等NeurIPS 2022 · 188 次引用

相关 Paper

  1. Holistic Sentence Embeddings for Better Out-of-Distribution DetectionSishuo Chen, Xiaohan Bi, Rundong Gao, Xu SunEMNLP Findings 2022 · 9 次引用
  2. Enhancing Two Steps Textual Anomaly Detection through Anisotropy MitigationPierre Fihey, Matthieu Labeau, Pavlo MozharovskyiACL 2026
  3. Discriminability-Driven Channel Selection for Out-of-Distribution DetectionYue Yuan, Rundong He, Yicong Dong, Zhongyi Han 等CVPR 2024 · 7 次引用
  4. Revisit PCA-based technique for Out-of-Distribution DetectionXiaoyuan Guan, Zhouwu Liu, Wei-Shi Zheng, Yuren Zhou 等ICCV 2023 · 19 次引用
  5. Gradient-Based Novelty Detection Boosted by Self-Supervised Binary ClassificationJingbo Sun, Li Yang, Jiaxin Zhang, Frank Liu 等AAAI 2022 · 17 次引用
黄昏的海面,两侧是细线勾勒的悬崖