NeuralFP: Out-of-distribution Detection using Fingerprints of Neural Networks

被引:4
|
作者
Lee, Wei-Han [1 ]
Millman, Steve [1 ]
Desai, Nirmit [1 ]
Srivatsa, Mudhakar [1 ]
Liu, Changchang [1 ]
机构
[1] IBM TJ Watson Res Ctr, Ossining, NY 10562 USA
关键词
D O I
10.1109/ICPR48806.2021.9412489
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Edge devices use neural network models learnt on cloud to predict labels of its data records, which may lead to incorrect predictions especially for records that are different from the data involved in the training process, i.e., out-of-distribution (OOD) records. However, recent efforts in OOD detection either require the retraining of the model or assume the existence of a certain amount of OOD records, thus limiting their application in practice. In this work, we propose a novel OOD detection method (named as NeuralFP) without requiring any access to OOD records, which constructs non-linear fingerprints of neural network models memorizing the information of data observed during training. The key idea of NeuralFP is to exploit the difference in how the neural network model responds to data records in its training set versus data records that are anomalous. Specifically, NeuralFP builds autoencoders for each layer of the neural network model and then carefully analyzes the error distribution of the autocoders in reconstructing the training set to identify OOD records. Through extensive experiments on multiple real-world datasets, we show the effectiveness of NeuralFP in detecting OOD records as well as its advantages over previous approaches. Furthermore, we provide useful guidelines for parameter selection in the practical adoption of NeuralFP.
引用
收藏
页码:9561 / 9568
页数:8
相关论文
共 50 条
  • [1] Runtime Monitoring for Out-of-Distribution Detection in Object Detection Neural Networks
    Hashemi, Vahid
    Kretinsky, Jan
    Rieder, Sabine
    Schmidt, Jessica
    [J]. FORMAL METHODS, FM 2023, 2023, 14000 : 622 - 634
  • [2] Layer Adaptive Deep Neural Networks for Out-of-Distribution Detection
    Wang, Haoliang
    Zhao, Chen
    Zhao, Xujiang
    Chen, Feng
    [J]. ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2022, PT II, 2022, 13281 : 526 - 538
  • [3] Performance analysis of out-of-distribution detection on trained neural networks
    Henriksson, Jens
    Berger, Christian
    Borg, Markus
    Tornberg, Lars
    Sathyamoorthy, Sankar Raman
    Englund, Cristofer
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 130
  • [4] Fixing Robust Out-of-distribution Detection for Deep Neural Networks
    Zhou, Zhiyang
    Liu, Jie
    Dou, Wensheng
    Li, Shuo
    Kang, Liangyi
    Qu, Muzi
    Ye, Dan
    [J]. 2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 533 - 544
  • [5] Performance Analysis of Out-of-Distribution Detection on Various Trained Neural Networks
    Henriksson, Jens
    Berger, Christian
    Borg, Markus
    Tornberg, Lars
    Sathyamoorthy, Sankar Raman
    Englund, Cristofer
    [J]. 2019 45TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2019), 2019, : 113 - 120
  • [6] Interaction of Generalization and Out-of-Distribution Detection Capabilities in Deep Neural Networks
    Aboitiz, Francisco Javier Klaiber
    Legenstein, Robert
    Oezdenizci, Ozan
    [J]. ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING, ICANN 2023, PART X, 2023, 14263 : 248 - 259
  • [7] Gaussian-Based Runtime Detection of Out-of-distribution Inputs for Neural Networks
    Hashemi, Vahid
    Kretinsky, Jan
    Mohr, Stefanie
    Seferis, Emmanouil
    [J]. RUNTIME VERIFICATION (RV 2021), 2021, 12974 : 254 - 264
  • [8] On the Use of Mahalanobis Distance for Out-of-distribution Detection with Neural Networks for Medical Imaging
    Anthony, Harry
    Kamnitsas, Konstantinos
    [J]. UNCERTAINTY FOR SAFE UTILIZATION OF MACHINE LEARNING IN MEDICAL IMAGING, UNSURE 2023, 2023, 14291 : 136 - 146
  • [9] Convolutional Neural Networks with Compression Complexity Pooling for Out-of-Distribution Image Detection
    Yu, Sehun
    Lee, Dongha
    Yu, Hwanjo
    [J]. PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2020, : 2435 - 2441
  • [10] Generalizing Graph Neural Networks on Out-of-Distribution Graphs
    Fan, Shaohua
    Wang, Xiao
    Shi, Chuan
    Cui, Peng
    Wang, Bai
    [J]. IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2024, 46 (01) : 322 - 337