arXiv:2610.41629cs.CVOct 2026

Manuscript Offprint

arXiv:2610.41629

GRIT: Gradient Masking for Visually Misgrounded Tokens in Text-Rich Reasoning

Chanseul Cho, Noori Bae, Dongheon Lee, Youngmin Ro

Abstract

Reinforcement learning with verifiable rewards (RLVR) has recently been extended to vision-language models (VLMs), yet its effectiveness remains limited for text-rich reasoning tasks. We highlight a key factor contributing to this limitation: models frequently arrive at correct final answers despite misperceiving visual information during intermediate steps. We define this phenomenon as Correct-but-Visually-Misgrounded Reasoning (CVMR). Because standard RLVR rewards only final-answer correctness, it fails to differentiate between properly grounded and misgrounded reasoning, reinforcing both equally. Through token-level analysis, we reveal that CVMR tokens exhibit distinct attention patterns that differ systematically from well-grounded ones. Based on this observation, we propose GRIT, a training framework that incorporates visual grounding into RLVR to mitigate the impact of CVMR. Furthermore, to address the lack of text-rich reasoning benchmarks that allow for systematic evaluation across text length and reasoning depth, we introduce GRIT-Bench. Experiments demonstrate that GRIT significantly improves both reasoning accuracy and grounding fidelity over existing RLVR methods.

1. Introduction

Driven by the success of Reinforcement Learning with Verifiable Rewards (RLVR)-based reasoning training in large language models (LLMs) [12, 26, 29, 36], there has been growing interest in extending these approaches to vision-language models (VLMs) [4, 14, 16, 22, 24, 32, 35]. These methods have demonstrated significant performance improvements across various visual reasoning tasks. Beyond general visual perception, text-rich reasoning, which involves reading and reasoning over text in images such as financial reports, medical documents, and charts, has

Figure

Figure 1. Performance change over the base model on text-rich reasoning benchmarks. Existing RLVR methods mostly degrade or show marginal improvement, while GRIT achieves substantial gains.

emerged as a key capability of VLMs [19, 21, 27, 37]. These tasks require multi-step reasoning far exceeding simple text recognition, integrating textual content with visual context [13, 19, 31, 33].

However, RLVR-driven improvements do not consistently extend to this domain. Despite numerous recent efforts to enhance the visual reasoning capabilities of VLMs through RL [4, 14, 16, 22, 24, 32, 35], there has been relatively limited systematic analysis of text-rich reasoning. For example, Huang et al. [13] recently reported that RL-trained models perform even worse than baselines on text-rich reasoning tasks, and we observe similar degradation on text-rich reasoning benchmarks, including OCR-Reasoning, in our experiments.

To investigate the underlying causes of this degradation, we closely examine VLM responses and identify a critical phenomenon we term Correct-but-Visually-Misgrounded Reasoning (CVMR), where models frequently arrive at correct answers despite misperceiving visual information (additional examples in Supplementary Sec. E). For instance, in Figure 2, the model correctly infers that Health Care has the highest representation to answer the question, yet misreads the specific values of all industries. Unlike standard hallucinations [17], this failure mode bypasses answer-only

∗^{*}Corresponding author.

© 2027 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

Figure

Ground Truth: Health Care

Figure 2. An example of Correct-but-Visually-Misgrounded Reasoning (CVMR). The model correctly identifies the relative ranking, noting that Health Care has the highest representation in the infographic, and arrives at the correct answer. However, despite multiple industries having meaningful percentages, the model misreads all values including Health Care itself. Red-highlighted text indicates visually misgrounded reasoning.

verification because the final output remains correct. Text-rich reasoning tasks are structurally vulnerable to CVMR due to their dense visual elements. Our analysis shows that CVMR occurs at a disproportionately high rate in these tasks (Section 3), suggesting that standard RLVR, which primarily relies on answer correctness, creates a systematic risk of reinforcing misgrounded reasoning.

To address this, we propose GRIT (Gradient Masking for Visually Misgrounded Tokens). We observe that CVMR tokens exhibit weak or diffuse attention over relevant image regions. To capture such attention patterns, GRIT selects a subset of attention heads that sensitively reflect the image regions attended by each generated token, termed Visual Tracker Heads. During training, GRIT analyzes the attention patterns from these heads to identify visually misgrounded tokens and masks their gradients to prevent CVMR from being reinforced. To incorporate the faithfulness of visual grounding into the training signal, we introduce an attention reward based on their attention mass and entropy. Consequently, as shown in Figure 1, while existing RLVR methods largely degrade or show marginal improvement on text-rich reasoning benchmarks, GRIT achieves substantial gains.

Furthermore, systematically evaluating the extent to which models rely on correct visual information requires more than answer-level supervision; it requires verifying whether each reasoning step is faithfully grounded in the visual input. Existing text-rich reasoning benchmarks provide valuable testbeds, but they rarely offer the fine-grained reference information needed to assess visual grounding throughout the reasoning process. To enable such analysis, we introduce GRIT-Bench, a benchmark constructed by

rendering well-established text-based QA datasets into images. This design yields two advantages. First, it provides a controlled testbed for explicitly measuring the grounding fidelity of VLMs in text-rich reasoning. Second, because each visual input is paired with its exact source text, an LLM judge can evaluate the VLM's reasoning process directly against this text, providing a more reliable basis than image-only evaluation for assessing whether visual information was correctly perceived.

Our contributions are as follows:

  • We define CVMR (Correct-but-Visually-Misgrounded Reasoning), demonstrate its high prevalence in text-rich reasoning, and show that CVMR tokens exhibit distinct attention patterns.
  • We propose GRIT, a training framework that mitigates the reinforcement of CVMR through attention-based gradient masking and tailored reward design, achieving substantial improvements over existing RLVR methods on text-rich reasoning tasks.
  • We construct GRIT-Bench, a text-rich reasoning benchmark comprising approximately 3K samples, which explicitly enables the evaluation of grounding fidelity and fine-grained analysis by text length and reasoning depth.

References (39)