TL;DR
When Vision-Language Models (VLMs) transcribe handwritten math, their powerful internal reasoning often "fixes" student mistakes instead of faithfully transcribing them—a phenomenon called over-correction. This paper introduces PINK (Penalized INK-based score), an LLM-powered metric that evaluates multi-line math OCR by explicitly penalizing these hidden corrections. Evaluating 15 state-of-the-art VLMs reveals a massive leaderboard shakeup: highly capable models like GPT-4o drop significantly due to aggressive over-correction, while Gemini 2.5 Flash emerges as the most faithful transcriber.
What Problem Does This Paper Address?
For automated AI tutors to be effective, they need to see exactly where and how a student went wrong to provide targeted pedagogical feedback. However, existing benchmarks for handwritten math Optical Character Recognition (OCR) focus almost entirely on single-line expressions and rely on lexical metrics like BLEU.
When modern VLMs process multi-line student solutions, they build a strong internal logical narrative. If a student makes a mistake (e.g., a sign error or a faulty derivation step), the VLM's internal context often overrides the visual evidence, leading it to quietly "correct" the error in the transcription. This "over-correction" hides the student's misconceptions from downstream educational tools. Furthermore, standard string-matching metrics like BLEU fail to catch this; they penalize harmless formatting variations (like LaTeX spacing) while ignoring critical semantic omissions or hallucinations.
Methods
The authors propose PINK (Penalized INK-based score), a two-stage, faithfulness-aware evaluation metric:
- Semantic Auto-Grading: An LLM (GPT-5 or Qwen3-80B) grades both the ground-truth ("oracle") transcription and the VLM's OCR output using a process-oriented rubric. The rubric breaks the math problem down into 5 components (Core Formula, Condition/Boundary, Early-Mid Calculation, Late Calculation, and Final Value Verification), each worth 20 points (100 total).
- Over-Correction Detection & Penalty: PINK compares the model's score ($S_{model}$) against the oracle score ($S_{oracle}$). If the model scores higher ($\Delta S > 0$), it means the model altered the text to fix an error. PINK applies a two-tiered penalty:
- Minor Over-Correction ($\Delta S \le 10$): Reverts the component score back to the oracle score.
- Major Over-Correction ($\Delta S > 10$): Nullifies the component score entirely to 0.
The final PINK score is normalized by dividing the total penalized score by the oracle score, meaning a perfectly faithful transcription scores 1.0.
Datasets
The study adapts the FERMAT dataset. Originally designed to test a VLM's ability to spot and fix mistakes, FERMAT contains 2,244 authentic handwritten multi-line math solutions transcribed by 43 human annotators. Crucially, these solutions contain targeted human-introduced perturbations (common student mistakes across computational, conceptual, and notational categories), making it ideal for testing whether OCR models faithfully preserve errors.
Key Insights and Ideas
- The Capability Paradox: Stronger reasoning models are actually less faithful transcribers. As models scale up and gain better mathematical reasoning, they rely more on their internal context and less on visual grounding, making them more prone to over-correction.
- Late-Stage Concentration: Over-corrections aren't random; they heavily cluster in the final stages of problem-solving (Late Calculation and Final Value Verification), where the model has accumulated enough autoregressive context to override visual inputs.
- Grounding Attenuation: Attention map visualizations show that when a model over-corrects, its attention on the handwritten error region drops sharply compared to a faithful transcriber, confirming that internal logic physically suppresses visual perception.
Key Results
- Pervasive Over-Correction: Across all 15 evaluated VLMs, 42% to 66% of transcriptions contained at least one over-correction event. Qwen2.5 32B VL had the highest rate (66.2%), while LLaMA 3.2 11B had the lowest (42.1%).
- Leaderboard Reversal: When evaluated with BLEU, GPT-4o ranked 3rd (0.735) and Gemini 2.5 Flash ranked 10th (0.614). Under PINK, Gemini 2.5 Flash jumped to 1st place (0.935) due to its exceptional visual faithfulness, while GPT-4o dropped to 6th (0.907) because it was heavily penalized for global rewrites.
- Human Alignment: In a study with expert human math graders, PINK achieved a 55.0% preference rate, significantly outperforming BLEU's 39.5% and demonstrating much tighter alignment with human judgment of OCR quality.
Limitations and Future Work
- Prompting Isn't Enough: The authors tried to mitigate over-correction by explicitly instructing models to "transcribe exactly, including errors." While this reduced over-corrections slightly, it degraded overall transcription completeness, resulting in no net improvement to the PINK score. This suggests over-correction is deeply entangled with core reasoning capabilities and requires training-level interventions.
- Proprietary Dependency: The primary pipeline relies on proprietary LLMs for grading, though the authors validated that the open-source Qwen3-80B yields highly consistent results ($r=0.99$).
- Single Dataset: Evaluation was restricted to the FERMAT dataset due to a lack of other multi-line handwritten math datasets with intentional student errors. Future work will need to expand to more diverse data sources.
Summary updated