Beyond Mahalanobis-Based Scores for Textual OOD Detection
Mathématiques et Informatique pour la Complexité et les Systèmes(复杂系统数学与计算机科学研究所);CentraleSupelec, Université Paris Saclay(巴黎萨克雷大学中央高等电子学院);Laboratoire des signaux et systemes(信号与系统实验室);CNRS, Université Paris-Saclay(巴黎萨克雷大学法国国家科学研究中心);Inria, CEA, Université Paris-Saclay(巴黎萨克雷大学法国国家信息与自动化研究所、法国原子能和替代能源委员会);International Laboratory on Learning Systems(国际学习系统实验室);McGill - ETS - MILA - CNRS - CentraleSupélec, Université Paris-Saclay(巴黎萨克雷大学麦吉尔大学-高等技术学院-蒙特利尔学习算法研究所-法国国家科学研究中心-中央高等电子学院)
Pierre Colombo, Eduardo D. C. Gomes, Guillaume Staerman, Nathan Noiry, Pablo Piantanida
Deep learning methods have boosted the adoption of NLP systems in real-life applications. However, they turn out to be vulnerable to distribution shifts over time which may cause severe dysfunctions in production systems, urging practitioners to develop tools to detect out-of-distribution (OOD) samples through the lens of the neural network. In this paper, we introduce TRUSTED, a new OOD detector for classifiers based on Transformer architectures that meets operational requirements: it is unsupervised and fast to compute. The efficiency of TRUSTED relies on the fruitful idea that all hidden layers carry relevant information to detect OOD examples. Based on this, for a given input, TRUSTED consists in (i) aggregating this information and (ii) computing a similarity score by exploiting the training distribution, leveraging the powerful concept of data depth. Our extensive numerical experiments involve 51k model configurations, including various checkpoints, seeds, and datasets, and demonstrate that TRUSTED achieves state-of-the-art performances. In particular, it improves previous AUROC over 3 points.
TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models
Sun Yat-sen University(中山大学);China United Network Communications Corporation Limited Guangdong Branch(中国联合网络通信集团有限公司广东分公司);Peng Cheng Laboratory(鹏城实验室);Hong Kong University of Science and Technology(香港科技大学);Key Laboratory of Machine Intelligence and Advanced Computing, MOE(教育部机器智能与高级计算重点实验室)
Unsupervised Layer-wise Score Aggregation for Textual OOD Detection
International Laboratory on Learning Systems(学习系统国际实验室);MILA - Quebec AI Institute(MILA - 魁北克人工智能研究所);McGill University(麦吉尔大学);CNRS(法国国家科学研究中心);INRIA(法国国家信息与自动化研究所);CEA(法国原子能和替代能源委员会)
College of Computer Science and Technology, Jilin University, China(吉林大学计算机科学与技术学院);Department of Information Engineering and Computer Science, University of Trento, Italy(特伦托大学信息工程与计算机科学系)
Out-of-Distribution Detection with Attention Head Masking for Multimodal Document Classification
University of Bristol(布里斯托尔大学);Amazon GenAI(亚马逊生成式人工智能部门);James Silberrad Brown Center for Artificial Intelligence(詹姆斯·西尔伯拉德·布朗人工智能中心);Carnegie Mellon University(卡内基梅隆大学);Stanford University(斯坦福大学)