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

在行之间阅读:通过潜在表示探测避免VLM生成的OCR错误

Reading Between the Lines: Abstaining from VLM-Generated OCR Errors via Latent Representation Probes

University of Washington(华盛顿大学);Google(谷歌)

Jihan Yao, Achin Kulshrestha, Nathalie Rauschmayr, Reed Roberts, Banghua Zhu, Yulia Tsvetkov, Federico Tombari

AI总结:

本文提出通过潜在表示探测提升VLM在OCR任务中的回避准确性,通过内部状态检测置信度信号,提高系统可靠性。

摘要:

随着VLMs在安全关键应用中的部署,其在不确定时能够避免回答的能力对于可靠性至关重要,尤其是在场景文本视觉问答(STVQA)任务中。例如,将“50 mph”误读为“60 mph”这样的OCR错误可能导致严重交通事故。这促使我们提出问题:VLMs是否能知道它们无法看到?现有的回避方法表明是悲观的答案:它们要么依赖于不准确的输出概率,要么需要语义一致,这不适合OCR任务。然而,这种失败可能表明我们寻找的地点错了:不确定性信号可能隐藏在VLMs的内部表示中。基于这一见解,我们提出了潜在表示探测(LRP):在隐藏状态或注意力模式上训练轻量级探测器。我们探索了三种探测器设计:跨所有层拼接表示、在视觉标记上聚合注意力、以及通过多数投票方式融合单层探测器。在四个基准测试上进行的实验显示,LRP在最佳基线基础上将回避准确性提高了7.6%。我们的分析揭示:探测器可以跨各种不确定性来源和数据集进行泛化,并且最佳信号来自中间层而不是最终层。这建立了一个原则性的框架,通过从内部状态检测置信度信号来构建可部署的AI系统,而不是依赖不可靠的输出。

英文摘要:

As VLMs are deployed in safety-critical applications, their ability to abstain from answering when uncertain becomes crucial for reliability, especially in Scene Text Visual Question Answering (STVQA) tasks. For example, OCR errors like misreading "50 mph" as "60 mph" could cause severe traffic accidents. This leads us to ask: Can VLMs know when they can't see? Existing abstention methods suggest pessimistic answers: they either rely on miscalibrated output probabilities or require semantic agreement unsuitable for OCR tasks. However, this failure may indicate we are looking in the wrong place: uncertainty signals could be hidden in VLMs' internal representations. Building on this insight, we propose Latent Representation Probing (LRP): training lightweight probes on hidden states or attention patterns. We explore three probe designs: concatenating representations across all layers, aggregating attention over visual tokens, and ensembling single layer probes by majority vote. Experiments on four benchmarks across image and video modalities show LRP improves abstention accuracy by 7.6\% over best baselines. Our analysis reveals: probes generalize across various uncertainty sources and datasets, and optimal signals emerge from intermediate rather than final layers. This establishes a principled framework for building deployment-ready AI systems by detecting confidence signals from internal states rather than unreliable outputs.

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

↑