LogitDynamics:从层间Logit轨迹可靠检测ViT错误
LogitDynamics: Reliable ViT Error Detection from Layerwise Logit Trajectories
AI总结:
本文提出通过层间Logit轨迹分析可靠检测ViT模型错误,利用轻量线性头提取特征预测错误指示器,提升AUCPR并增强跨数据集泛化能力。
摘要:
在部署视觉模型时,可靠的置信度估计至关重要。我们研究错误预测:仅使用单次前向传递的信号确定图像分类器的输出是否正确。受大语言模型内部信号幻觉检测启发,我们探讨ViT中是否存在类似的深度信号。我们提出一种简单方法,建模类证据在层间的变化。通过在中间层附加轻量线性头,提取最后L层的特征,捕捉预测类的logits及其前K竞争者,以及跨深度顶部类不稳定性的统计信息。一个在这些特征上训练的线性探针预测错误指示器。在多个数据集中,我们的方法在AUCPR上优于或匹配基线,并在要求最小额外计算的情况下表现出更强的跨数据集泛化能力。
英文摘要:
Reliable confidence estimation is critical when deploying vision models. We study error prediction: determining whether an image classifier's output is correct using only signals from a single forward pass. Motivated by internal-signal hallucination detection in large language models, we investigate whether similar depth-wise signals exist in Vision Transformers (ViTs). We propose a simple method that models how class evidence evolves across layers. By attaching lightweight linear heads to intermediate layers, we extract features from the last L layers that capture both the logits of the predicted class and its top-K competitors, as well as statistics describing instability of top-ranked classes across depth. A linear probe trained on these features predicts the error indicator. Across datasets, our method improves or matches AUCPR over baselines and shows stronger cross-dataset generalization while requiring minimal additional computation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。