FLatS: Principled Out-of-Distribution Detection with Feature-Based Likelihood Ratio Score

被引:0
|
作者
Lin, Haowei [1 ,2 ,3 ]
Gu, Yuntian [3 ]
机构
[1] Peking Univ, Inst Artificial Intelligence, Beijing, Peoples R China
[2] Peking Univ, Sch Intelligence Sci & Technol, Beijing, Peoples R China
[3] Peking Univ, Yuanpei Coll, Beijing, Peoples R China
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Detecting out-of-distribution (OOD) instances is crucial for NLP models in practical applications. Although numerous OOD detection methods exist, most of them are empirical. Backed by theoretical analysis, this paper advocates for the measurement of the "OOD-ness" of a test case x through the likelihood ratio between out-distribution Pout and in-distribution P-in. We argue that the state-of-the-art (SOTA) feature-based OOD detection methods, such as Maha (Lee et al., 2018) and KNN (Sun et al., 2022), are suboptimal since they only estimate in-distribution density p(in)(x). To address this issue, we propose FLatS, a principled solution for OOD detection based on likelihood ratio. Moreover, we demonstrate that FLatS can serve as a general framework capable of enhancing other OOD detection methods by incorporating out-distribution density p(out)(x) estimation. Experiments show that FLatS establishes a new SOTA on popular benchmarks.
引用
收藏
页码:8956 / 8963
页数:8
相关论文
共 50 条
  • [1] Likelihood Ratios for Out-of-Distribution Detection
    Ren, Jie
    Liu, Peter J.
    Fertig, Emily
    Snoek, Jasper
    Poplin, Ryan
    DePristo, Mark A.
    Dillon, Joshua V.
    Lakshminarayanan, Balaji
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 32 (NIPS 2019), 2019, 32
  • [2] Out-of-Distribution Detection with An Adaptive Likelihood Ratio on Informative Hierarchical VAE
    Li, Yewen
    Wang, Chaojie
    Xia, Xiaobo
    Liu, Tongliang
    Miao, Xin
    An, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [3] Principled Out-of-Distribution Detection via Multiple Testing
    Magesh, Akshayaa
    Veeravalli, Venugopal V.
    Roy, Anirban
    Jha, Susmit
    JOURNAL OF MACHINE LEARNING RESEARCH, 2023, 24
  • [4] Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoder
    Xiao, Zhisheng
    Yan, Qing
    Amit, Yali
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [5] Exploring feature sparsity for out-of-distribution detection
    Chen, Qichao
    Li, Kuan
    Chen, Zhiyuan
    Maul, Tomas
    Yin, Jianping
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [6] Hyperdimensional Feature Fusion for Out-of-Distribution Detection
    Wilson, Samuel
    Fischer, Tobias
    Sunderhauf, Niko
    Dayoub, Feras
    2023 IEEE/CVF WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), 2023, : 2643 - 2653
  • [7] Understanding the Feature Norm for Out-of-Distribution Detection
    Park, Jaewoo
    Chai, Jacky Chen Long
    Yoon, Jaeho
    Teoh, Andrew Beng Jin
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION, ICCV, 2023, : 1557 - 1567
  • [8] CORES: Convolutional Response-based Score for Out-of-distribution Detection
    Tang, Keke
    Hou, Chao
    Peng, Weilong
    Chen, Runnan
    Zhu, Peican
    Wang, Wenping
    Tian, Zhihong
    2024 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2024, : 10916 - 10925
  • [9] Exploiting Discrepancy in Feature Statistic for Out-of-Distribution Detection
    Guan, Xiaoyuan
    Chen, Jiankang
    Bu, Shenshen
    Zhou, Yuren
    Zheng, Wei-Shi
    Wang, Ruixuan
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 18, 2024, : 19858 - 19866
  • [10] Key Feature Replacement of In-Distribution Samples for Out-of-Distribution Detection
    Kim, Jaeyoung
    Kong, Seo Taek
    Na, Dongbin
    Jung, Kyu-Hwan
    THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 7, 2023, : 8246 - 8254