Wang Haoliang, Zhao Chen, Chen Feng
Department of Computer Science, The University of Texas at Dallas, Richardson, TX, United States.
Department of Computer Science, Baylor University, Waco, TX, United States.
Front Big Data. 2024 Nov 20;7:1444634. doi: 10.3389/fdata.2024.1444634. eCollection 2024.
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.
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.
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.
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.
多层聚合是深度神经网络中分布外(OOD)检测成功的关键。此外,在实时系统中,OOD检测的效率与其有效性同样重要。
我们为深度神经网络提出了一种新颖的早期停止OOD检测框架。通过在中间层附加多个OOD检测器,该框架可以早期检测出OOD,以节省计算成本。此外,通过层自适应评分函数,它可以根据每个OOD的复杂度自适应地为其选择最优层,从而提高OOD检测精度。
大量实验表明,我们提出的框架对不同复杂度的OOD具有鲁棒性。采用早期停止策略可将OOD检测效率提高多达99.1%,同时保持卓越的精度。
不同复杂度的OOD在不同层能被更好地检测。利用中间潜在空间中编码的输入的内在特征对于实现高OOD检测精度很重要。我们提出的包含早期停止的框架在不降低精度的情况下显著提高了OOD检测效率,使其适用于实时应用。