arXiv:2610.32324cs.AIOct 2026

Manuscript Offprint

arXiv:2610.32324

From Visual Affinity to Learning Credit in Multimodal Reinforcement Learning

Yuhang Han, Dingning Liu, Yujie Chen, Yaojie Zhang, Jingwei Song, Zequn Yang, Xuanming Shang, Li Ding, Zhijiang Guo, Linfeng Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reinforcement learning with verifiable rewards (RLVR) improves multimodal reasoning, but uniformly assigning a single response-level advantage to all tokens overlooks the distinct roles of visual observations and subsequent reasoning. Visual affinity alone is insufficient: predictive states may align with both image and prompt-context representations, and upweighting valid visual observations can amplify their negative-advantage updates when later reasoning fails. To address this issue, we propose Outcome-Conditioned Visual Credit (OVC), a plug-in framework that separates visual-association measurement from token-level credit assignment and is adaptable to policy-optimization methods with uniform response-level advantage allocation. Relative Visual Encoding constructs a context-relative visual coordinate by contrasting each predictive state's affinity to image and prompt-context representations. Outcome-conditioned Evidence Calibration combines this coordinate with uncertainty-scaled predictive features and calibrates their contributions to outcome-discriminative evidence through mean contrasts between positive- and negative-advantage responses, scaled by regularized within-side variation. Visual association thus informs credit through observed outcome differences rather than directly determining update priority. Normalized Credit Allocation conditions the calibrated evidence on the response's advantage sign to produce positive token weights with unit global mean. These detached weights preserve advantage signs while modulating individual token-gradient contributions. OVC reuses existing rollouts without auxiliary reward models, process annotations, or inference-time modules. Instantiated through GSPO-token, OVC retains sequence-level clipping and consistently improves six-benchmark mean accuracy over GSPO across three models, with gains of 1.86–2.39 percentage points.

1. Introduction

Reinforcement learning with verifiable rewards (RLVR) [13, 29, 49, 55] has become a key approach to improving reasoning in large vision language models (LVLMs) [1, 27, 41]. It provides verifiable outcome supervision without dense intermediate-step annotations. Recent efforts have advanced multimodal reasoning via improved training data [3, 12, 16, 17, 19, 25, 46], policy optimization [9, 30, 33, 36, 42, 44, 48], and perceptual supervision [37, 39]. Yet outcome feedback remains coarser than the computations it guides. A single response may involve visual observations, symbolic transformations, and intermediate inferences, while its reward evaluates only the complete solution. This motivates finer-grained token credit assignment using visual signals.

Existing approaches [8, 11, 13, 40] derive token-level signals from visual dependence, representational similarity, predictive uncertainty, or region alignment. Although these signals capture different aspects of visual involvement, their conversion into update coefficients still requires deciding how the measured association should affect learning. With DelTA's predictive-state representation [52], a state may align with both image and prompt representations, so absolute image affinity alone does not distinguish these associations. Moreover, a valid visual observation may occur in a negative-advantage response when later reasoning fails. Upweighting it would strengthen its negative update even if

(a)

Figure

(b)

Higher-context-affinity outcome

Figure 1. Affinity and response correctness. We analyze 8 valid responses per randomly sampled question from a frozen Qwen3.5-9B trained with GSPO on Math77K, without correctness filtering. Affinity is siu=∣Ri∣−1∑t∈Ricos⁡(hit,giu)s_i^u = |\mathcal{R}_i|^{-1} \sum_{t \in \mathcal{R}_i} \cos(h_{it}, g_i^u), where hith_{it} predicts token tt, giug_i^u is the mean-pooled image ( u=imgu = \text{img}) or non-image prompt ( u=ctxu = \text{ctx}) prototype from the same intermediate layer, and Ri\mathcal{R}_i indexes reasoning tokens excluding special tokens and the final answer. No coordinate rescaling or image-context subtraction is applied. (a) Mean accuracy over four within-question image-affinity rank groups (two responses each). Each faint point is a group mean from a question-level bootstrap resample, with shared indices across groups. Violins show the distributions; dark markers are original-sample means. (b) Joint correctness of within-question pairs roughly matched on image affinity. Rows and columns represent lower- and higher-context-affinity response outcomes, respectively; cells report percentages of all matched pairs.

the error occurs elsewhere in the response. The central issue is therefore not merely how to measure visual association, but how to interpret it under outcome feedback.

Figure 1 illustrates this distinction. In (a), the highest image-affinity group does not attain the highest observed mean accuracy, suggesting a possible mismatch between affinity ranking and response quality. In (b), responses approximately matched on image affinity exhibit different outcome statistics across context-affinity levels. These observations motivate considering contextual association alongside image affinity, rather than treating the latter alone as sufficient for credit allocation. Together with the advantage-sign dependence discussed above, they motivate a two-stage principle: measuring visual relevance relative to context and calibrating it against outcome differences.

To instantiate this principle, we propose Outcome-Conditioned Visual Credit (OVC). Its first component, Relative Visual Encoding (RVE), contrasts a predictive state's cosine affinity to image and prompt-background representations under a shared diagonal scaling. The resulting coordinate captures relative visual association without directly prescribing an update magnitude. Outcome-conditioned Evidence Calibration (OEC) then combines this coordinate with predictive features and determines their evidential contributions from contrasts between positive- and negative-advantage responses. A regularized estimate of within-side diagonal variation calibrates the relative contribution of each coordinate. Consequently, with the statistics held fixed, the visual contribution depends on the outcome contrast and the variance scale, not on affinity alone, and equals zero when the visual reference means coincide.

This calibrated evidence is converted into policy updates through Normalized Credit Allocation (NCA). NCA produces positive, globally normalized token coefficients that modulate the original sequence advantage while preserving its sign. Applied through GSPO-token [55], these detached coefficients retain sequence-level importance ratios and clipping while adjusting the contribution of individual token-gradient terms. OVC introduces no auxiliary reward model, additional process or region supervision, or inference-time module. To clarify this reweighting, we characterize the resulting gradient and separate response-level weighting from within-response allocation, enabling controlled evaluation of token-coefficient correspondence.

Our contributions are threefold.

• We introduce a context-relative visual coordinate that contrasts image affinity with prompt-background affinity, providing an explicit visual measure for credit estimation.

• We develop an outcome-conditioned calibration method combining visual and predictive features via advantage-side contrasts and regularized within-side variation, with no fixed positive update preference for visual affinity.

• We characterize how calibrated evidence enters policy updates and distinguish response-level reweighting from allocation within a response, establishing an analytical basis for controlled evaluation of token credit assignment.

References (54)