Rubric-to-Code Credit Assignment for Reinforcement Learning
Rui Jin, Jikai Chen, Yihan Chen, Hao Zhou, Demin Zhu, Kaichen Yang, Dong Wang, Chenyi Zhuang
Key points
From the paper's conclusion- We propose \textbf{Rubric-to-Code Credit Assignment} (RCCA), a reinforcement learning framework that converts rubric-level functional feedback into localized optimization signals over generated code.
Abstract
Interactive web application generation requires models to produce usable HTML, CSS, and JavaScript applications from natural language requests. Unlike conventional code generation, application quality depends on multiple user-facing functional requirements, each often tied to localized code regions such as event handlers, state updates, DOM fragments, or CSS selectors. Standard GRPO collapses these structured outcomes into a single sequence-level reward and applies the resulting advantage uniformly to all tokens, weakening credit assignment. We propose \textbf{Rubric-to-Code Credit Assignment} (RCCA), a reinforcement learning framework that converts rubric-level functional feedback into localized optimization signals over generated code. RCCA builds training tasks around explicit functional rubrics, uses a hierarchical reward to separate format, source-code, runtime, and functional failures, and aligns evaluator-generated textual attributions with responsible code spans and generated tokens. The resulting model, \textbf{Ling-RCCA-Flash}, scores 41.25 on MiniAppBench, improving Ling-3.0-Flash by 32.20 points and slightly surpassing Claude Opus 4.5. It also reaches 76.19 on ArtifactsBench, improving the SFT model by 4.48 points and establishing a new top score under the official ArtifactsBench leaderboard setting by surpassing the GPT-5 score by 3.64 points, suggesting transferable implementation-level gains.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Catalyzing Interactive HTML Generation Capabilities via High-Fidelity Reinforcement LearningarXiv · 2026
- WebCoder: Scaling General Frontend Development with Artifact-Grounded Agentic Reinforcement LearningarXiv · 2026
- InterWebCoder: Learning Interactive Webpage Generation from Executable Tests via Reinforcement LearningarXiv · 2026
- Learning the Loop, Not Just the Page: Execution-Grounded Loop Learning for Web GenerationarXiv · 2026
- WebUIProof: Benchmarking WebUI Code Generators with UI-Agent Execution HarnessarXiv · 2026
- When Interfaces Speak: Data-Aware Generative UI Harness for Active InteractionarXiv · 2026