LOCUS: Verifying OCR by Local Optimality over Counterfactual String Graphs

Optical character recognition engines always return a transcription, so every pipeline must decide, word by word, whether to trust it. Existing verifiers judge the claim in isolation, by engine confidence, by agreement with a second recogniser, or by asking a large vision-language model. We instead ask whether the claim is the best explanation of the image among the strings it could have been confused with. LOCUS constructs a small graph around each claim, comprising plausible single-character edits and independent readings. It scores each candidate string according to how well it explains the real image relative to a clean rendering of that string, thereby cancelling the recogniser’s language prior, and uses a relation-aware graph neural network to determine whether the claim is locally optimal. The network is pretrained without human labels from engine agreement and synthetic corruptions and adapts from a few labelled words. We introduce a benchmark of real recognition errors from two engines on five public datasets covering forms, receipts, handwriting and scene text. With 25 labelled words per class, LOCUS ranks correct above incorrect transcriptions better than engine confidence, learned confidence, engine voting, Florence-2 re-recognition and a seven-billion-parameter vision-language judge on every dataset, and attains the best average macro-F1. It is significantly better than re-recognition with a strong recogniser where that recogniser is fallible, comparable where it is in-domain, and behind it on its own scene-text benchmark. Controlled analyses show that the gain comes from the explicit counterfactual evidence and label-free pretraining: simpler learners on the same evidence come within 0.015 macro-F1 of the graph network, and message passing is not needed. LOCUS also rejects most errors whose true string lies outside its graph. A cascade that runs LOCUS only on words a fast recogniser does not confidently confirm keeps its macro-F1 at 1.3–2.6 times the throughput.

Authors

Institutions

Publication Details

Journal
Journal of Innovative Image Processing
Published
2026-11-24
DOI
https://doi.org/10.36548/jiip.2026.4.014
Primary Topic
Handwritten Text Recognition Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

LOCUS: Verifying OCR by Local Optimality over Counterfactual String Graphs

Shikhar Kumar Dubey, Sanhita Saxena
1 links
Journal of Innovative Image Processing
Handwritten Text Recognition Techniques
article

LOCUS: Verifying OCR by Local Optimality over Counterfactual String Graphs

Shikhar Kumar Dubey, Sanhita Saxena
article en

Abstract

Optical character recognition engines always return a transcription, so every pipeline must decide, word by word, whether to trust it. Existing verifiers judge the claim in isolation, by engine confidence, by agreement with a second recogniser, or by asking a large vision-language model. We instead ask whether the claim is the best explanation of the image among the strings it could have been confused with. LOCUS constructs a small graph around each claim, comprising plausible single-character edits and independent readings. It scores each candidate string according to how well it explains the real image relative to a clean rendering of that string, thereby cancelling the recogniser’s language prior, and uses a relation-aware graph neural network to determine whether the claim is locally optimal. The network is pretrained without human labels from engine agreement and synthetic corruptions and adapts from a few labelled words. We introduce a benchmark of real recognition errors from two engines on five public datasets covering forms, receipts, handwriting and scene text. With 25 labelled words per class, LOCUS ranks correct above incorrect transcriptions better than engine confidence, learned confidence, engine voting, Florence-2 re-recognition and a seven-billion-parameter vision-language judge on every dataset, and attains the best average macro-F1. It is significantly better than re-recognition with a strong recogniser where that recogniser is fallible, comparable where it is in-domain, and behind it on its own scene-text benchmark. Controlled analyses show that the gain comes from the explicit counterfactual evidence and label-free pretraining: simpler learners on the same evidence come within 0.015 macro-F1 of the graph network, and message passing is not needed. LOCUS also rejects most errors whose true string lies outside its graph. A cascade that runs LOCUS only on words a fast recogniser does not confidently confirm keeps its macro-F1 at 1.3–2.6 times the throughput.

Journal of Innovative Image ProcessingVol. 8(4)
Indian Institute of Technology Mandi (IN)
Handwritten Text Recognition Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
LOCUS: Verifying OCR by Local Optimality over Counterfactual String Graphs — Shikhar Kumar Dubey, Sanhita Saxena · Journal of Innovative Image Processing (2026) | TGRS Research Map | TGRS