HyperAIHyperAI

Command Palette

Search for a command to run...

RULER: SVG 생성을 위한 인스턴스 인지 루브릭 보상

Hangyu Ran Yuhao Zheng Yingying Zhang Kevin Qinghong Lin Han Peng

초록

자연어 지시로부터 확장 가능한 벡터 그래픽(SVG) 코드를 생성하는 작업은 절대적인 시각적 정답이 없는 개방형 과제이므로, 평가와 정책 최적화 모두 충실한 신호를 얻지 못한다. 자연 이미지에 맞춰 보정된 스칼라 지표(CLIP, Aesthetic)는 스타일화된 벡터 콘텐츠로 전이되기 어렵고, 이를 강화학습 보상으로 재사용하면 보상 해킹을 유발한다. 우리는 루브릭 기반 평가로 두 한계를 해결한다. 먼저, 다축 루브릭으로 시각-언어 심사 모델을 프롬프팅하는 것이 샘플 간 및 지시 내 모두에서 스칼라 지표보다 인간 평가와 훨씬 더 높은 상관관계를 보임을 실증적으로 확인한다. 이 발견에 기반하여, 우리는 RULER(강화학습을 위한 인스턴스 인지 루브릭 보상)을 제안한다. RULER는 각 지시를 의미, 시각, 스타일 축에 걸친 6개 항목의 인스턴스 인지 루브릭으로 변환하며, 심사 VLM이 렌더링된 롤아웃을 항목별로 채점하고, 가중 만족도를 결합해 형성한 세밀한 보상을 Group Relative Policy Optimization으로 최적화한다. 루브릭은 텍스트만으로 도출되므로, RULER는 쌍으로 된 SVG 정답이나 인간 선호 라벨이 필요하지 않다. MMSVG-Illustration과 MMSVG-Icon에서 RULER는 루브릭 점수를 0.432/0.395에서 0.693/0.683으로 향상시켜, 전용 SVG 전문 모델을 능가하고 훨씬 큰 DeepSeek-V3와 맞먹는 성능을 보인다. 제거 실험은 개방형 SVG 생성을 위한 강화학습에서 루브릭 설계가 핵심적 수단임을 확인한다. 프로젝트 페이지는 https://hangyuran.github.io/RULER/에서 확인할 수 있다.

One-sentence Summary

Researchers from Ant Group, HKUST (Guangzhou), and University of Oxford propose RULER, an instance-aware six-item rubric spanning semantic, visual, and stylistic axes that a judge VLM scores for Group Relative Policy Optimization, which avoids scalar-metric reward hacking and paired labels and lifts MMSVG-Illustration and MMSVG-Icon rubric scores from 0.432/0.3950.432/0.3950.432/0.395 to 0.693/0.6830.693/0.6830.693/0.683, surpassing dedicated SVG specialists and matching DeepSeek-V3.

Key Contributions

  • A rubric-based evaluation paradigm for SVG generation is established, showing that multi-axis rubric scores from a vision-language judge correlate more strongly with human judgments than scalar metrics, both across samples and within instructions.
  • RULER is introduced, generating an instance-aware six-item rubric per instruction spanning semantic, visual, and stylistic axes and using a judge VLM to score rendered SVGs item-by-item; the weighted satisfactions form a dense reward optimized via Group Relative Policy Optimization without paired SVG ground truth or human preference labels.
  • On MMSVG-Illustration and MMSVG-Icon, RULER lifts rubric scores from 0.432/0.395 to 0.693/0.683, surpassing dedicated SVG specialists and matching the larger DeepSeek-V3, with ablations identifying rubric design as the active lever for reinforcement learning on open-ended SVG generation.

Introduction

Generating Scalable Vector Graphics from natural language has become an important benchmark for visual code generation because SVG is structured, executable, and controllable, unlike descriptive text-to-image output. However, open-ended instruction-to-SVG synthesis has no single ground-truth rendering, and existing scalar metrics such as CLIPScore, aesthetic classifiers, and preference scores are calibrated mostly on photorealistic images, so they transfer poorly to stylized vector content and can reward broken SVGs over faithful ones. These unreliable signals also weaken reinforcement learning, since policies can drift toward easily inflated rewards rather than better generations. The authors address this by first showing that rubric-based evaluation with a vision-language judge correlates much more strongly with human preference, then introducing RULER, which converts each instruction into an instance-aware six-item rubric covering semantic fidelity, visual quality, and rendering style, and uses those rubric scores as dense reinforcement-learning rewards without requiring paired SVG ground truth or human labels.

Method

The authors formulate open-ended SVG generation as a token-level Markov Decision Process. Given a text instruction Q\mathcal{Q}Q, a language model policy π\piπ autoregressively generates a structured SVG sequence Y=(y1,…,yT)\mathcal{Y} = (y_1, \dots, y_T)Y=(y1​,…,yT​). At each step ttt, the state st=(Q,y<t)s_t = (\mathcal{Q}, y_{<t})st​=(Q,y<t​) combines the instruction with the generated prefix, and the action at=yta_t = y_tat​=yt​ is sampled from the policy. A deterministic rendering engine E\mathcal{E}E then executes the completed code into a visual representation Tgen=E(Y)\mathcal{T}_{\mathrm{gen}} = \mathcal{E}(\mathcal{Y})Tgen​=E(Y). Since open-ended generation lacks absolute visual ground truth, designing a robust reward function R(⋅)\mathcal{R}(\cdot)R(⋅) is the central challenge.

To address this, the authors introduce RULER, a framework that replaces opaque scalar metrics with tailored, instance-aware evaluation criteria. The overall pipeline is illustrated below.

As shown in the figure below:

The framework begins with a scalable pipeline that constructs instance-aware rubrics directly from the unannotated text instruction. A frontier model Mrub\mathcal{M}_{\mathrm{rub}}Mrub​ is prompted to produce a discrete rubric consisting of six items grouped along three complementary axes: Semantic Fidelity, Visual Quality, and Rendering Style. These items are specified at the level of design intentions rather than exact pixel constraints to preserve the open-ended solution space. The rubric is formally defined as CQ={(ck,wk)}k=16C_{\mathcal{Q}} = \{(c_k, w_k)\}_{k=1}^6CQ​={(ck​,wk​)}k=16​, where ckc_kck​ encapsulates the instance-aware description and continuous scoring guide for item kkk, and wkw_kwk​ is its importance weight.

During the reinforcement learning phase, the policy generates multiple SVG rollouts for a given instruction. Each rendered image is evaluated by a judge vision-language model Mjudge\mathcal{M}_{\mathrm{judge}}Mjudge​. Instead of querying for a holistic score, the judge follows the rubric CQC_{\mathcal{Q}}CQ​ to independently rate the image on each item ckc_kck​, producing a continuous satisfaction score sks_ksk​. The final reward is computed as the normalized weighted average:

R(Igen)=∑k=16wksk∑k=16wk\mathcal{R}(\mathcal{I}_{\mathrm{gen}}) = \frac{\sum_{k=1}^6 w_k s_k}{\sum_{k=1}^6 w_k}R(Igen​)=∑k=16​wk​∑k=16​wk​sk​​

This approach yields a dense, multi-dimensional reward signal.

To optimize the policy, the authors leverage Group Relative Policy Optimization (GRPO), which naturally exploits the diverse reward signals generated by the multi-axis rubric. For each instruction Q\mathcal{Q}Q, the system samples GGG rollouts {Yi}i=1G\{\mathcal{Y}_i\}_{i=1}^G{Yi​}i=1G​ from the old policy πθold\pi_{\theta_{\mathrm{old}}}πθold​​. Each rollout is rendered and scored to obtain rewards Ri\mathcal{R}_iRi​. The group-normalized advantages are then calculated as:

Ai=Ri−mean({Rj}j=1G)std({Rj}j=1G)+ϵA_i = \frac{\mathcal{R}_i - \mathrm{mean}(\{\mathcal{R}_j\}_{j=1}^G)}{\mathrm{std}(\{\mathcal{R}_j\}_{j=1}^G) + \epsilon}Ai​=std({Rj​}j=1G​)+ϵRi​−mean({Rj​}j=1G​)​

The model parameters are updated by maximizing the clipped surrogate objective:

LGRPO(θ)=EQ[1G∑i=1Gmin⁡(ρiAi,clip(ρi,1−ϵ,1+ϵ)Ai)]\mathcal{L}_{\mathrm{GRPO}}(\theta) = \mathbb{E}_{\mathcal{Q}} \left[ \frac{1}{G} \sum_{i=1}^G \min \left( \rho_i A_i, \mathrm{clip}(\rho_i, 1 - \epsilon, 1 + \epsilon) A_i \right) \right]LGRPO​(θ)=EQ​[G1​i=1∑G​min(ρi​Ai​,clip(ρi​,1−ϵ,1+ϵ)Ai​)]

where ρi=πθ(Yi∣Q)/πθold(Yi∣Q)\rho_i = \pi_\theta(\mathcal{Y}_i \mid \mathcal{Q}) / \pi_{\theta_{\mathrm{old}}}(\mathcal{Y}_i \mid \mathcal{Q})ρi​=πθ​(Yi​∣Q)/πθold​​(Yi​∣Q) is the sequence-level importance ratio. Through this iterative process, the policy is refined to maximize satisfaction across semantic, visual, and stylistic dimensions.

Experiment

The study evaluates RULER, an instance-aware rubric reward approach for open-ended SVG generation, on MMSVG Illustration and Icon benchmarks against diffusion-based, foundation LLM, and SVG specialist baselines. Human assessment first confirms that rubric-based scoring aligns more closely with human judgment than CLIP or aesthetic metrics. Main experiments show that RULER improves overall quality and human preference, while reward design analysis indicates that instance-aware rubrics avoid scalar reward hacking, ablations confirm all rubric axes contribute with visual quality being most influential, and robustness holds across different base models and rubric generators. Qualitative results further show that RULER preserves prompt-specific details and produces richer, more coherent compositions.

The comparison evaluates reward paradigms for SVG generation on visual granularity, semantic granularity, ground-truth-free operation, multi-axis feedback, and instance awareness. Most existing paradigms satisfy only a subset of requirements: pixel-based and universal rubric methods depend on references, while rule-based and embedding-based methods lack fine-grained or multi-axis assessment. The instance-aware rubric is the only paradigm that combines fine-grained visual and semantic feedback with ground-truth-free, multi-axis, and instance-aware scoring. Pixel-based rewards such as SSIM or PSNR are fine-grained visually but require ground-truth references and are neither multi-axis nor instance-aware. Rule-based rewards such as code length are ground-truth-free but do not inspect rendered images and provide no visual or semantic granularity. Embedding-based rewards such as CLIPScore are reference-free but only coarse-grained and not multi-axis or instance-aware. Universal rubric scoring offers fine-grained, multi-axis feedback but still requires ground-truth references and lacks instance awareness. Instance-aware rubric scoring is the only paradigm that meets all five desiderata, including fine-grained granularity and ground-truth-free operation.

RULER attains the best universal Rubric scores on both MMSVG benchmarks while remaining competitive on CLIP, aesthetic, and HPS metrics. It outperforms diffusion-optimized, SVG-specialist, and foundation LLM baselines, including its own backbone, and reaches visual quality comparable to a much larger model. It also uses far fewer tokens than optimization-based methods. RULER improves universal Rubric scores substantially over dedicated SVG specialists and over its Qwen3-8B backbone on both Illustration and Icon benchmarks. Diffusion-optimized baselines require tens of thousands of tokens per output, while RULER achieves top rubric scores with far fewer tokens and competitive auxiliary metrics.

In a blinded pairwise human evaluation on 150 MMSVG-Bench prompts, RULER wins more often than every evaluated baseline once ties are excluded. Its non-tie win rates exceed 50% across all comparisons, with the largest margin over JanusCoder and the narrowest over VectorFusion. These results provide direct human evidence that RULER's gains extend beyond automated metrics. RULER achieves a non-tie win rate above 50% against all five baselines. The strongest human preference is over JanusCoder, while the closest contest is against VectorFusion.

Across both MMSVG benchmarks, RULER achieves the highest rubric scores while also improving CLIP, aesthetic, and HPS over the zero-shot baseline. Universal Rubric RL substantially raises rubric scores but lacks prompt-specific granularity and remains below RULER. In contrast, the scalar C+A+H reward sharply inflates aesthetic scores while degrading CLIP and Icon rubric performance, indicating reward hacking. RULER records the best rubric scores on Illustration and Icon and delivers balanced gains over zero-shot across CLIP, aesthetic, and HPS. Universal Rubric RL improves rubric scores well above zero-shot and C+A+H RL, but the Icon rubric gap relative to RULER is larger than the Illustration gap. C+A+H RL over-optimizes aesthetic quality at the cost of CLIP and Icon rubric score, with a large token increase on Icon.

RULER improves over its base models at both 4B and 8B scales on MMSVG illustration and icon tasks. Gains appear across CLIP, aesthetics, HPS, and universal rubric scores, and the 8B variant remains ahead of the larger Qwen3-32B on rubric metrics. Repeated runs show low standard deviations, indicating stable improvements across base-model scales. RULER-4B raises the universal rubric score substantially over Qwen3-4B on both Illustration and Icon benchmarks. RULER-8B scores higher on universal rubric metrics than the larger Qwen3-32B, despite using fewer parameters. Improvements over base models are consistent across all reported metrics, including CLIP, aesthetics, HPS, and rubric scores.

The experiments first compare reward paradigms for SVG generation and find that only instance-aware rubric scoring satisfies fine-grained visual and semantic feedback, ground-truth-free operation, multi-axis assessment, and instance awareness. RULER achieves the best universal rubric results on both MMSVG benchmarks while remaining competitive on CLIP, aesthetic, and HPS metrics and using far fewer tokens than optimization-based methods. Blinded human evaluation confirms that RULER is preferred over all evaluated baselines, and ablation studies show that instance-aware rubric reinforcement learning produces balanced quality gains, whereas a scalar reward over-optimizes aesthetics and degrades other metrics. Scaling experiments further demonstrate stable improvements at 4B and 8B scales, with RULER-8B surpassing the larger Qwen3-32B on rubric metrics.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp