arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.12849cs.LGcs.CV
收藏

利用中间表示改进分布外检测

Leveraging Intermediate Representations for Better Out-of-Distribution Detection

Institute of Visual Computing, TU Graz(格拉茨技术大学视觉计算研究所);SAL Dependable Embedded Systems, Silicon Austria Labs(奥地利硅谷实验室SAL可靠嵌入式系统部)

Gianluca Guglielmo, Marc Masana

AI总结:

针对当前OoD检测方法少用中间层信息的问题,该研究分析中间层判别能力,提出用基于能量的对比损失正则化中间层并聚合多层响应,经多数据集评估证明能提升OoD检测性能。

摘要:

在实际应用中,机器学习模型必须可靠地检测分布外(OoD)样本,以防止不安全决策。当前OoD检测方法常依赖分析神经网络的logits或倒数第二层嵌入,但对中间层编码的丰富信息的利用研究较少。为此,我们分析了中间层的判别能力,表明其可有效用于OoD检测。因此,我们提出用基于能量的对比损失正则化中间层,并将多层分组为单一聚合响应。通过在多个数据集上的综合评估,我们证明中间层激活能提升OoD检测性能。

英文摘要:

In real-world applications, machine learning models must reliably detect Out-of-Distribution (OoD) samples to prevent unsafe decisions. Current OoD detection methods often rely on analyzing the logits or the embeddings of the penultimate layer of a neural network. However, little work has been conducted on the exploitation of the rich information encoded in intermediate layers. To address this, we analyze the discriminative power of intermediate layers and show that they can positively be used for OoD detection. Therefore, we propose to regularize intermediate layers with an energy-based contrastive loss, and by grouping multiple layers in a single aggregated response. We demonstrate that intermediate layer activations improves OoD detection performance by running a comprehensive evaluation across multiple datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑