Reading Between the Lines: Abstaining from VLM-Generated OCR Errors via Latent Representation Probes
Jihan Yao, Achin Kulshrestha, Nathalie Rauschmayr, Reed Roberts, Banghua Zhu, Yulia Tsvetkov, Federico Tombari
TL;DR
This work tackles the reliability gap of Vision-Language Models in OCR-rich Scene Text VQA by enabling abstention through internal model signals. The authors propose Latent Representation Probing (LRP), which trains lightweight probes on hidden states and attention patterns to detect uncertainty, with three probe designs and two latent-representation modalities. Across four STVQA benchmarks, LRP—especially ensemble probes on hidden states—consistently outperforms baselines, achieving up to a 7.6% improvement in abstention accuracy and demonstrating strong generalization to unseen uncertainty sources and datasets. A key finding is that optimal confidence signals emerge from intermediate layers, enabling robust, deployment-ready abstention without expensive fine-tuning or reliance on output probabilities, including for long video sequences.
Abstract
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.
