Learning Design Taste through Verifiable Synthetic Environments and Agentic Reinforcement Learning

Sujay choubey, Siddhant Saxena, Sarthak Kapil, Suhas MotwaniarXiv 2026

We’ve all been there: you ask an LLM to build a landing page, and while the code runs perfectly, the result looks like a Geocities relic from 1998. The hierarchy is flat, the margins are claustrophobic, and the typography is an afterthought. In their latest paper, Sujay Choubey and colleagues present a way to bridge this "taste gap" using a combination of layered verification and agentic reinforcement learning.

TL;DR

The researchers developed a method to train a small 4B parameter model to generate high-quality UI code by placing it in "verifiable synthetic environments." By using a multi-layered reward system that filters out "hackable" metrics and allows the model to iterate on its own designs, they achieved a significant boost in design quality, winning 60% of blinded head-to-head comparisons against base models.

What Problem Does This Paper Address?

Current code-generating models are excellent at functional correctness—they can produce code that builds and runs. However, "design taste" (the subtle art of spacing, hierarchy, and composition) is notoriously difficult to teach.

The challenge is three-fold:

  1. Subjectivity: Unlike math or logic, design doesn't have a single "correct" answer.
  2. Reward Hacking: If you reward a model for "consistent spacing," it might just set every margin to zero to get a perfect score.
  3. Static Data Limits: Training on a fixed corpus of "good" designs limits the model to the taste of the original coders and provides no learning signal once the model surpasses that baseline.

Methods

The authors introduce a framework with three core pillars:

1. Layered Verification & Admission Protocol

Instead of one "God-judge," they use five layers (V0 to V4), ranging from hard functional gates (does it build?) to blinded expert panels. Crucially, they use an Admission Protocol. A metric only enters the RL reward signal if it passes four tests: agreement with experts, causal sensitivity (the score should drop if you intentionally break something), resistance to "hack traps," and stability.

2. Two-Tier Synthetic Design Environments (SDE)

Following the SCALER approach, they create a "difficulty ladder" for design:

  • Tier 1 (Offline): An agentic coder generates high-quality "base pages."
  • Tier 2 (Online): These pages are programmatically "broken" using perturbation operators (e.g., scrambling hierarchy or degrading contrast). The model’s task is to fix them.

3. Agentic Reinforcement Learning (ARL)

The model isn't just a one-shot generator; it’s an agent. During training, it operates in a sandbox where it can search files, edit code, and—most importantly—read a "render report" (a textual description of the UI's layout and accessibility tree). It uses Group Relative Policy Optimization (GRPO) to learn from its successes and failures over multi-turn episodes.

Datasets

The study utilizes webapp-synth, a substrate for generating gradeable front-end tasks. For evaluation, they introduced TD-Bench, which extends existing benchmarks (like MiniLandingBench) with four specific splits:

  • S1 (In-family): Instances similar to training.
  • S2 (Held-out): New families, operators, and industries the model hasn't seen.
  • Tool-free: Single-shot generation from designer briefs.
  • External: Data from OpenDesign and ArtifactsBench.

Key Insights and Ideas

  • The Verifiability Gap: One of the most striking findings is that only about half of common design signals are actually reliable for RL. Out of 16 render signals, only 7 passed the admission protocol. "Composition" remains the hardest nut to crack, as it's difficult to verify without human-level judgment.
  • The Power of the Loop: Most of the performance gains didn't come from the model becoming "smarter" in a vacuum, but from the inference-time loop. Being able to see a report of its own render and fix errors allows a small model to punch far above its weight class.
  • Quarantine for Over-optimization: They implemented a "quarantine" rule. If a model’s reward from an automated judge keeps rising while its "canary score" (expert judgment) stays flat, the environment is flagged for reward hacking and pulled from training.

Key Results

  • Taste Index (TI) Boost: On the TD-Bench, agentic training raised the Taste Index from 0.630 to 0.795 for in-family tasks and from 0.598 to 0.700 on held-out tasks.
  • Expert Preference: In blinded comparisons, the ARL-trained model won 60% of the time against the base model and 56.9% against a single-turn control.
  • Efficiency: Despite the complexity of multi-turn episodes, the ARL system was more cost-effective, requiring only 6.9 sandbox-minutes per solved instance compared to 14.7 for the base model, because it reached successful states much faster.

Limitations and Future Work

The authors are transparent about one major failure: Distinctiveness. While the model got better at following design rules, its outputs became slightly more "generic" or "samey," failing the cross-brief diversity criterion.

Future work aims to:

  • Incorporate screenshot-based judges to close the "composition gap" that text-based reports can't capture.
  • Develop better direction-adherence tests to ensure models can follow specific aesthetic "vibes" without reverting to a safe, generic middle ground.
  • Expand the scope beyond React/Tailwind landing pages to more complex multi-screen flows.

Summary updated

Abstract

Code-generating language models produce user interfaces that build and run, but the pages are often weak in hierarchy, spacing, typography and composition. We study whether a small code model can learn design taste through reinforcement learning in verifiable synthetic environments. The method has three components. First, a layered verification framework splits design quality into hard gates, render-grounded metrics, rubric judges, within-group relative preference and a blinded expert panel. A signal enters the reward only if it passes an admission protocol that tests agreement with experts, causal sensitivity, resistance to hack traps and stability. Second, following SCALER [1], synthetic design environments are parameterised generators with measured difficulty ladders: base pages are written once by an agentic coder, and instances are produced by syntax-tree perturbation operators and constraint samplers, scheduled by an adaptive curriculum with a quarantine rule against reward over-optimisation. Third, a 4B code model is trained with agentic reinforcement learning over multi-turn episodes in which it edits and builds a repository and reads a textual report of its own render, while hidden graders compute the reward. The admission protocol admits 7 of 16 render signals and 6 of 10 rubric dimensions. On TD-Bench, agentic training raises the Taste Index from 0.630 to 0.795 in-family and from 0.598 to 0.700 on held-out families, and wins 0.600 of blinded expert comparisons against the base model and 0.569 against a single-turn control. Most of the advantage depends on the inference-time loop, and cross-brief distinctiveness falls slightly below that of the base model, the only success criterion not met.
BibTeX
@misc{choubey2026learning,
  author = {Sujay choubey and Siddhant Saxena and Sarthak Kapil and Suhas Motwani},
  title = {{Learning Design Taste through Verifiable Synthetic Environments and Agentic Reinforcement Learning}},
  year = {2026},
  eprint = {2611.20612},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20612},
}
Figure