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 条
  • [21] OMASGAN: Out-of-distribution Minimum Anomaly Score GAN for Anomaly Detection
    Dionelis, Nikolaos
    Tsaftaris, Sotirios A.
    Yaghoobi, Mehrdad
    2022 SENSOR SIGNAL PROCESSING FOR DEFENCE CONFERENCE, SSPD, 2022, : 71 - 75
  • [22] Entropic Out-of-Distribution Detection
    Macedo, David
    Ren, Tsang Ing
    Zanchettin, Cleber
    Oliveira, Adriano L., I
    Ludermir, Teresa
    2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
  • [23] FLaNS: Feature-Label Negative Sampling for Out-of-Distribution Detection
    Lim, Chaejin
    Hyeon, Junhee
    Lee, Kiseong
    Han, Dongil
    IEEE ACCESS, 2025, 13 : 43878 - 43888
  • [24] RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection
    Song, Yue
    Sebe, Nicu
    Wang, Wei
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [25] Watermarking for Out-of-distribution Detection
    Wang, Qizhou
    Liu, Feng
    Zhang, Yonggang
    Zhang, Jing
    Gong, Chen
    Liu, Tongliang
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [26] Is Out-of-Distribution Detection Learnable?
    Fang, Zhen
    Li, Yixuan
    Lu, Jie
    Dong, Jiahua
    Han, Bo
    Liu, Feng
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [27] On the Learnability of Out-of-distribution Detection
    Fang, Zhen
    Li, Yixuan
    Liu, Feng
    Han, Bo
    Lu, Jie
    JOURNAL OF MACHINE LEARNING RESEARCH, 2024, 25
  • [28] Block Selection Method for Using Feature Norm in Out-of-Distribution Detection
    Yu, Yeonguk
    Shin, Sungho
    Lee, Seongju
    Jun, Changhyun
    Lee, Kyoobin
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, : 15701 - 15711
  • [29] WOOD: Wasserstein-Based Out-of-Distribution Detection
    Wang, Yinan
    Sun, Wenbo
    Jin, Jionghua
    Kong, Zhenyu
    Yue, Xiaowei
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2024, 46 (02) : 944 - 956
  • [30] Semantic Driven Energy based Out-of-Distribution Detection
    Joshi, Abhishek
    Chalasani, Sathish
    Iyer, Kiran Nanjunda
    2022 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2022,