Efficient out-of-distribution detection via layer-adaptive scoring and early stopping.

Front Big Data

Department of Computer Science, The University of Texas at Dallas, Richardson, TX, United States.

Published: November 2024

AI Article Synopsis

  • Multi-layer aggregation is essential for effective out-of-distribution (OOD) detection in deep neural networks, particularly in real-time systems where efficiency matters.
  • A novel early stopping framework with multiple OOD detectors attached to intermediate layers allows for early detection and reduces computational costs by selecting the best layer based on the complexity of the OOD.
  • Experiments show that this approach can boost OOD detection efficiency by up to 99.1% while maintaining high accuracy, making it suitable for practical applications.

Article Abstract

Introduction: Multi-layer aggregation is key to the success of out-of-distribution (OOD) detection in deep neural networks. Moreover, in real-time systems, the efficiency of OOD detection is equally important as its effectiveness.

Methods: We propose a novel early stopping OOD detection framework for deep neural networks. By attaching multiple OOD detectors to the intermediate layers, this framework can detect OODs early to save computational cost. Additionally, through a layer-adaptive scoring function, it can adaptively select the optimal layer for each OOD based on its complexity, thereby improving OOD detection accuracy.

Results: Extensive experiments demonstrate that our proposed framework is robust against OODs of varying complexity. Adopting the early stopping strategy can increase OOD detection efficiency by up to 99.1% while maintaining superior accuracy.

Discussion: OODs of varying complexity are better detected at different layers. Leveraging the intrinsic characteristics of inputs encoded in the intermediate latent space is important for achieving high OOD detection accuracy. Our proposed framework, incorporating early stopping, significantly enhances OOD detection efficiency without compromising accuracy, making it practical for real-time applications.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11615063PMC
http://dx.doi.org/10.3389/fdata.2024.1444634DOI Listing

Publication Analysis

Top Keywords

ood detection
28
early stopping
16
ood
9
detection
8
layer-adaptive scoring
8
deep neural
8
neural networks
8
proposed framework
8
oods varying
8
varying complexity
8

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!