RULER:面向SVG生成的实例感知评分标准奖励
研究论文 · 2026/09/23
从自然语言指令生成可缩放矢量图形(SVG)代码是一项开放式任务,缺乏绝对的视觉真实标准,导致评估和策略优化都缺乏可靠的信号。在自然图像上校准的标量指标(如CLIP、Aesthetic)难以迁移到风格化矢量内容,且将其复用为强化学习奖励会引发奖励黑客问题。我们通过基于评分标准的评分来解决这两个局限。首先,我们实证表明,用多轴评分标准提示视觉语言评判模型,在样本间和指令内都与人类判断的相关性远高于标量指标。基于这一发现,我们提出RULER(实例感知评分标准奖励的强化学习),它将每条指令转换为涵盖语义、视觉和风格轴的六项实例感知评分标准;评判VLM对渲染的rollout逐项评分,加权满意度形成细粒度奖励,并通过组相对策略优化进行优化。由于评分标准仅从文本推导,RULER既不需要配对的SVG真实数据,也不需要人类偏好标签。在MMSVG-Illustration和MMSVG-Icon上,RULER将评分标准分数从0.432/0.395提升至0.693/0.683,超越了专门的SVG专家模型,并匹配了规模大得多的DeepSeek-V3,消融实验表明评分标准设计是开放式SVG生成中强化学习的有效杠杆。项目页面见https://hangyuran.github.io/RULER/。
该研究解决了开放式SVG生成中评估和奖励信号不可靠的核心问题,提出的RULER方法无需真实数据即可实现细粒度奖励优化,并在基准上取得显著提升,对生成式AI和强化学习应用具有重要参考价值。
Generating Scalable Vector Graphics (SVG) code from natural-language instructions is an open-ended task without absolute visual ground truth, leaving both evaluation and policy optimization without a faithful signal. Scalar metrics (CLIP, Aesthetic) calibrated on natural images transfer poorly to stylized vector content, and reusing them as RL rewards triggers reward hacking. We address both limitations with rubric-based scoring. We first establish empirically that prompting a vision-language judge with a multi-axis rubric correlates with human judgments far better than scalar metrics, both across samples and within instructions. Building on this finding, we introduce RULER (Instance-aware Rubric Rewards for Reinforcement Learning), which converts each instruction into an instance-aware rubric of six items spanning semantic, visual, and stylistic axes; a judge VLM scores rendered rollouts item-by-item, and the weighted satisfactions form a fine-grained reward optimized via Group Relative Policy Optimization. Because the rubric is derived from text alone, RULER requires neither paired SVG ground truth nor human preference labels. On MMSVG-Illustration and MMSVG-Icon, RULER lifts the rubric score from 0.432/0.395 to 0.693/0.683, surpassing dedicated SVG specialists and matching the substantially larger DeepSeek-V3, with ablations identifying rubric design as the active lever for RL on open-ended SVG generation. The project page is available at https://hangyuran.github.io/RULER/.