Concept animation

Paper: 2604.08539 Authors: Wenbo Hu, Xin Chen, Yan Gao-Tian, Yihe Deng, Nanyun Peng, Kai-Wei Chang Institution: University of California, Los Angeles (UCLA) Categories: cs.CV

Abstract

GRPO has become the de facto RL objective for multimodal models, but extending it to open-source generalist models faces two challenges: extreme variance in reward topologies across diverse visual tasks, and balancing fine-grained perception with multi-step reasoning. OpenVLThinkerV2 introduces Gaussian GRPO (G²RPO), which replaces linear scaling with non-linear distributional matching via optimal transport, forcing advantage distributions to converge to N(0,1) for inter-task gradient equity.

Key Contributions

  • G²RPO: Non-linear distributional matching via 1D optimal transport that maps any task’s advantage distribution to N(0,1)
  • Task-level shaping: Response length and entropy shaping mechanisms to balance perception and reasoning
  • SOTA performance: 71.6% on MMMU, 79.5% on MathVista, surpassing GPT-4o and Gemini 2.5 Pro on multiple benchmarks

The Gap: Linear Scaling Fails Multi-Task Vision

Standard GRPO normalizes advantages using sample-wise standard deviation, which creates intra-task imbalance by favoring low-variance rollouts. Dr.GRPO removes this normalization but causes inter-task imbalance where high-variance tasks dominate gradients. EMA-GRPO uses task-wise moving averages, but linear transformations only match first two moments (mean and variance) while preserving distributional shape—leaving optimization vulnerable to:

  • Heavy-tail outliers: A single anomalous reward inflates EMA variance, suppressing normal responses
  • Bimodal distributions: Binary rewards (math tasks) create step-functions with jagged gradients
  • Scale mismatch: Dense grounding rewards (IoU scores) get minimal updates compared to sparse math rewards

The Increment: Optimal Transport for Advantage Normalization

G²RPO abandons scalar standardization for non-linear distributional matching. Instead of normalizing via mean/variance, it uses 1D Optimal Transport to strictly map empirical reward distributions to the standard normal N(0,1):

The Algorithm

  1. Rank rewards: Compute uniform probability p_i = (rank(R_i) - 0.5) / N
  2. Quantile mapping: Map to inverse CDF of N(0,1): Ψ(R_i) = Φ⁻¹(p_i) = √2 · erfinv(2p_i - 1)
  3. Tie-breaking: Assign mean of target quantiles to identical rewards for consistent learning signals

This closed-form solution via CDFs is computationally efficient and mathematically guarantees:

  • Outlier robustness: Caps extreme rewards at highest quantile
  • Symmetric updates: Converts bimodal step-functions to smooth Gaussian tails
  • Inter-task equity: Every task’s advantage distribution converges to N(0,1)

Core Mechanism: Balancing Perception and Reasoning

Beyond G²RPO, OpenVLThinkerV2 introduces task-level shaping to balance vision-centric tasks (OCR, grounding) with reasoning-centric tasks (math VQA):

Response Length Shaping

Observation: Reasoning tasks converge to longer chains, while vision tasks optimize toward concise outputs. Solution: Trapezoidal reward envelope with task-specific thresholds (L_min, L_low, L_high, L_max) that:

  • Encourages extended reasoning for complex queries
  • Enforces direct outputs for visual grounding
  • Mitigates hallucinations by preventing unnecessary elaboration

Entropy Shaping

Observation: Reasoning tasks suffer entropy explosion (incoherent tokens), vision tasks suffer entropy collapse (premature exploitation). Solution: Margin-based penalty that bounds entropy within optimal zone:

L_ent_reg = max(0, H_task - H_max) + max(0, H_min - H_task)

This prevents both over-exploration and over-exploitation across diverse task topologies.

Framework Shift: From Linear Moments to Distributional Matching

Traditional normalization (GRPO, EMA-GRPO) relies on linear transformations that preserve distributional shape. G²RPO fundamentally shifts to distributional matching via optimal transport:

ApproachMethodInter-Task EquityOutlier RobustnessSymmetry
GRPOSample-wise std❌ Intra-task bias❌ Vulnerable❌ Skewed
EMA-GRPOTask-wise EMA⚠️ Momentum lag❌ Vulnerable❌ Skewed
G²RPOOptimal Transport✅ Guaranteed✅ Capped✅ Gaussian

The key insight: matching higher-order distributional structure (not just mean/variance) eliminates structural pathologies inherent to multi-domain visual RL.

Expert Assessment: Comprehensive Benchmark Results

Evaluated across 18 benchmarks in 6 task categories:

Visual Reasoning:

  • MMMU: 71.6% (vs GPT-4o 70.7%)
  • MMBench: 88.2%
  • MathVista: 79.5%
  • MathVerse: 65.8%

Document Understanding:

  • OCRBench: 911 (vs GPT-5 810, Gemini 2.5 Pro 866)
  • DocVQA: 96.7%
  • InfoVQA: 86.4%

Spatial Reasoning:

  • EmbSpatial: 83.1% (vs GPT-5 82.9%, Gemini 2.5 Pro 79.1%)
  • RefSpatial: 44.6%
  • RoboSpatial: 63.2%

Grounding:

  • RefCOCO: 93.4%
  • RefCOCO+: 88.2%
  • RefCOCOg: 90.4%

Ablation study confirms G²RPO provides the largest gain (+5.6% average across 6 domains), with entropy shaping (+0.5%) and length shaping (+0.9%) providing complementary improvements.

Takeaways

  1. Optimal transport > linear scaling: Non-linear distributional matching eliminates structural pathologies in multi-task visual RL
  2. Task-level shaping works: Simple trapezoidal envelopes for length/entropy accelerate convergence without delicate tuning
  3. Generalist models are viable: Single model achieves SOTA across perception, reasoning, and hybrid tasks
  4. Beyond vision: G²RPO’s ability to harmonize divergent reward topologies extends to any multi-domain RL (coding, GUI tasks)
  5. Efficient closed-form: 1D optimal transport via CDFs adds minimal computational overhead

The shift from moment-matching to distributional matching represents a fundamental advance in multi-task RL stability, with implications far beyond multimodal models.

论文: 2604.08539 作者: Wenbo Hu, Xin Chen, Yan Gao-Tian, Yihe Deng, Nanyun Peng, Kai-Wei Chang 机构: 加州大学洛杉矶分校(UCLA) 分类: cs.CV

摘要

GRPO已成为多模态模型的事实RL目标,但将其扩展到开源通用模型面临两个挑战:不同视觉任务间奖励拓扑的极端方差,以及平衡细粒度感知与多步推理。OpenVLThinkerV2引入高斯GRPO(G²RPO),通过最优传输用非线性分布匹配替代线性缩放,强制优势分布收敛到N(0,1)以实现任务间梯度公平性。

主要贡献

  • G²RPO:通过1D最优传输进行非线性分布匹配,将任何任务的优势分布映射到N(0,1)
  • 任务级塑形:响应长度和熵塑形机制以平衡感知和推理
  • SOTA性能:MMMU上71.6%,MathVista上79.5%,在多个基准上超越GPT-4o和Gemini 2.5 Pro

差距:线性缩放在多任务视觉中失效

标准GRPO使用样本级标准差归一化优势,这会造成任务内不平衡,偏向低方差rollout。Dr.GRPO移除此归一化但导致任务间不平衡,高方差任务主导梯度。EMA-GRPO使用任务级移动平均,但线性变换仅匹配前两个矩(均值和方差)同时保留分布形状——使优化容易受到以下影响:

  • 长尾异常值:单个异常奖励膨胀EMA方差,抑制正常响应
  • 双峰分布:二元奖励(数学任务)创建具有锯齿梯度的阶跃函数
  • 尺度不匹配:密集的定位奖励(IoU分数)相比稀疏的数学奖励获得最小更新

增量:用于优势归一化的最优传输

G²RPO放弃标量标准化,采用非线性分布匹配。它不通过均值/方差归一化,而是使用1D最优传输严格将经验奖励分布映射到标准正态分布N(0,1):

算法

  1. 排序奖励:计算均匀概率 p_i = (rank(R_i) - 0.5) / N
  2. 分位数映射:映射到N(0,1)的逆CDF:Ψ(R_i) = Φ⁻¹(p_i) = √2 · erfinv(2p_i - 1)
  3. 平局处理:为相同奖励分配目标分位数的均值以获得一致的学习信号

这个通过CDF的闭式解计算高效,数学上保证:

  • 异常值鲁棒性:将极端奖励限制在最高分位数
  • 对称更新:将双峰阶跃函数转换为平滑的高斯尾部
  • 任务间公平性:每个任务的优势分布都收敛到N(0,1)

核心机制:平衡感知和推理

除了G²RPO,OpenVLThinkerV2还引入任务级塑形来平衡视觉中心任务(OCR、定位)和推理中心任务(数学VQA):

响应长度塑形

观察:推理任务收敛到更长的链,而视觉任务优化为简洁输出。解决方案:具有任务特定阈值(L_min、L_low、L_high、L_max)的梯形奖励包络,可以:

  • 鼓励复杂查询的扩展推理
  • 强制视觉定位的直接输出
  • 通过防止不必要的详述来减轻幻觉

熵塑形

观察:推理任务遭受熵爆炸(不连贯的token),视觉任务遭受熵崩溃(过早利用)。解决方案:基于边界的惩罚,将熵限制在最优区域内:

L_ent_reg = max(0, H_task - H_max) + max(0, H_min - H_task)

这可以防止跨不同任务拓扑的过度探索和过度利用。

框架转变:从线性矩到分布匹配

传统归一化(GRPO、EMA-GRPO)依赖于保留分布形状的线性变换。G²RPO从根本上转向通过最优传输进行分布匹配

方法技术任务间公平性异常值鲁棒性对称性
GRPO样本级标准差❌ 任务内偏差❌ 脆弱❌ 倾斜
EMA-GRPO任务级EMA⚠️ 动量滞后❌ 脆弱❌ 倾斜
G²RPO最优传输✅ 保证✅ 限制✅ 高斯

关键洞察:匹配高阶分布结构(不仅仅是均值/方差)消除了多域视觉RL固有的结构病理。

专家评估:全面的基准测试结果

在6个任务类别的18个基准上进行评估:

视觉推理

  • MMMU:71.6%(vs GPT-4o 70.7%)
  • MMBench:88.2%
  • MathVista:79.5%
  • MathVerse:65.8%

文档理解

  • OCRBench:911(vs GPT-5 810,Gemini 2.5 Pro 866)
  • DocVQA:96.7%
  • InfoVQA:86.4%

空间推理

  • EmbSpatial:83.1%(vs GPT-5 82.9%,Gemini 2.5 Pro 79.1%)
  • RefSpatial:44.6%
  • RoboSpatial:63.2%

定位

  • RefCOCO:93.4%
  • RefCOCO+:88.2%
  • RefCOCOg:90.4%

消融研究证实G²RPO提供最大增益(6个领域平均+5.6%),熵塑形(+0.5%)和长度塑形(+0.9%)提供互补改进。

要点

  1. 最优传输 > 线性缩放:非线性分布匹配消除多任务视觉RL中的结构病理
  2. 任务级塑形有效:简单的长度/熵梯形包络加速收敛,无需精细调整
  3. 通用模型可行:单一模型在感知、推理和混合任务上实现SOTA
  4. 超越视觉:G²RPO协调不同奖励拓扑的能力扩展到任何多域RL(编码、GUI任务)
  5. 高效闭式解:通过CDF的1D最优传输增加的计算开销极小

从矩匹配到分布匹配的转变代表了多任务RL稳定性的根本性进步,其影响远超多模态模型。