TL;DR
CHORUS is a post-training framework that turns intermediate checkpoints from staged supervised fine-tuning (SFT) into a diverse pool of reinforcement learning (RL) experts. By consolidating these specialized experts into a single compact 4B model via adaptive distillation, CHORUS achieves an 88.0% pass rate on hardware testbench generation, outperforming the massive 671B DeepSeek-R1 by 13.5 percentage points.
What Problem Does This Paper Address?
Hardware verification is a massive bottleneck in modern chip design, accounting for a huge fraction of engineering effort. Before a chip is manufactured, engineers must write "testbenches"—programs that generate input stimuli to test the hardware and maximize code coverage.
While Large Language Models (LLMs) excel at standard code generation, maximizing testbench coverage relies on a non-differentiable, sparse execution signal from a hardware simulator. Traditional post-training pipelines (SFT followed by RL) quickly hit a performance ceiling on this task. Crucially, simply scaling up model size does not solve the problem; even giant frontier models struggle to achieve high coverage out of the box.
Methods
CHORUS breaks through the single-model performance cap by treating intermediate training stages not as throwaway steps, but as a source of complementary expertise.
The pipeline consists of three main phases:
- Independent Expert RL: CHORUS takes multiple intermediate checkpoints from a staged SFT curriculum (specifically from LLM4Cov) and applies the exact same execution-guided RL recipe (using Direct Alignment from Preference Optimization, or DAPO) to each one independently.
- Worst-State Refinement: During the RL phase, the model learns to both generate testbenches from scratch and refine them based on simulator feedback. CHORUS specifically forces the model to refine the worst-coverage candidate in a generation group, focusing the gradient updates where the simulator feedback is most informative.
- Adaptive Multi-Teacher On-Policy Distillation (OPD): To consolidate these distinct experts into a single deployable student model, CHORUS uses a reward-gated routing mechanism. For any given hardware design, it evaluates rollouts from all experts and routes the student to learn from whichever expert performed best. If no expert beats the student's current capability on that task, the update is skipped to avoid transferring mediocre behaviors.
Datasets
- Training: The models are post-trained on a filtered subset of the
CodeV-R1-11kRTLdataset, specifically selecting complex hardware designs containing more than 1,000 RTL tokens. - Evaluation: Performance is measured on two benchmarks:
CVDP-ECov: 83 hardware repositories with coverage thresholds set by human experts (the primary benchmark).AutoEval-ECov: 156 single-module tasks derived from VerilogEval, requiring a strict 100% coverage threshold.
Key Insights and Ideas
- The SFT Illusion: When evaluated on aggregate scores after RL, different SFT initializations appear to converge to the exact same performance level (~85% Pass@1). This makes the intermediate SFT stages look redundant.
- Hidden Complementarity: However, looking under the hood reveals that these models are not interchangeable. They succeed and fail on entirely different subsets of tasks. An "oracle union" (assuming a perfect selector that chooses the right expert for each task) yields a massive 5-point performance headroom.
- The Power of Gating and Skipping: In multi-teacher distillation, always learning from the "best available" teacher can drag a student down if that teacher's solution is mediocre. Gating the distillation so that the student only updates when a teacher genuinely outperforms it is critical to preserving high-performance boundaries.
Key Results
- State-of-the-Art Performance: The final 4B CHORUS model achieves 88.0% Pass@1 on CVDP-ECov under agentic refinement.
- Beating the Giants: This compact model outperforms the 671B DeepSeek-R1 (74.5%) by 13.5 percentage points and surpasses its direct predecessor, LLM4Cov (69.2%), by nearly 19 points.
- Linear Subspace Synergy: Even a simple, training-free weight averaging (Model Soup) of the RL experts boosts performance to 86.7%, proving that a significant portion of their complementary skills lives in a linearly combinable weight space.
Limitations and Future Work
The authors note that their study is strictly confined to the domain of hardware testbench generation. It remains an open question whether staged SFT naturally induces this kind of durable, task-level diversity in other RL domains like mathematics or general software engineering. Additionally, the diversity exploited here relies heavily on the specific SFT curriculum design of the baseline model, meaning other training setups might yield more or less exploitable variety.
Summary updated