TECHNOLOGY

TextVQA: align OCR tokens and visual answers

In this article
THE QUICK TAKE

TextVQA accuracy combines recognition, selecting the relevant text and normalized agreement with several human answers.

Answer the visual question rather than transcribe

The TextVQA paper targets questions requiring reading and reasoning about text in an image. Answers may copy visible strings or require a deduction using the question and scene. A system that transcribes a whole sign has not necessarily selected the requested part. Define the image, question and available OCR outputs as separate inputs. This separation makes the resource useful for studying reading-grounded visual answering without conflating it with generic image captioning or complete page transcription.

Join questions and OCR through image identity

The published release schema assigns question_id to each question and uses the OpenImages image_id to associate image metadata and OCR. Several questions can share an image, while OCR is an image-level resource. Pin the question release, such as v0.5, separately from the automatic OCR artifact. Preserve published train, validation and test membership when exporting question rows. A new split should group common images and derived crops according to leakage controls, rather than treating every question as an independent picture.

Keep copy indices aligned with token order

The MMF adapter can decode predictions from a fixed answer vocabulary or from positions in the current OCR token list. It records the predicted source as VOCAB or OCR. Reordering, truncating or normalizing tokens without matching their geometry and features can change which word a copy position denotes. The adapter’s no-OCR option clears tokens and associated features, providing an implementation-level distinction for an ablation. Retain token processor settings and source revision with representation provenance; stored OCR text alone does not specify the model input fully.

Reproduce normalized human-consensus scoring

The reference evaluator normalizes predicted and human answers through shared punctuation, article, number-word and contraction processing. It expects 10 human answers. For each distinct normalized response it averages agreement against the other annotations while holding each annotator out in turn. This is not identical to comparing against one majority string. Preserve the original answer list and evaluator revision; collapsing annotations before evaluation changes partial credit. Do not replace this metric silently with raw exact match or a similarity judge.

Diagnose the failed stage with controlled inputs

An editorial error review could distinguish absent OCR words, incorrect reading order, wrong text-object association and a correct reading followed by wrong answer selection. Report image-resolution and OCR-engine changes independently of reasoning-model changes. A correct score after answer normalization does not mean every character was transcribed faithfully, while a failed score can arise from a nonvisual formatting difference. Compare the declared automatic-input condition consistently and inspect shared OpenImages data when introducing additional training collections.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles