On-Policy Distillation with Open Property-Equivalence Reward for LLM-Based NL-to-SVA Generation
Qingyun Zou, Yingze Li, Tianen Liu, Bingsheng He, Weng-Fai Wong
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Post-Training: RL & Distillation › On-Policy Distillation for Reasoning · Type: new method · Keywords: LLM distillation, property equivalence checking, SystemVerilog Assertions, hardware verification, on-policy reinforcement learning
Areas: LLM Reasoning › Reasoning Optimization › On-Policy Distillation; RL for LLMs & Agents › Distillation Reinforcement Learning › On-policy distillation
Summary
Reward-Weighted On-Policy Distillation (RWOPD) distills a 14B teacher into a smaller student, achieving new state-of-the-art on NL2SVA benchmarks by grounding supervision in property-equivalent behavior.
Explained to a 5-year-old
A big computer program knows how to write correct rules for hardware. It helps a smaller computer program learn by giving it points when the small program writes rules that are correct. The small program learns many kinds of rules, not just the ones it saw before. After learning, the small program can write better rules than before. This makes it easier to check hardware designs for problems.
Explained to a 5-year-old, longer
A big computer program can write rules that tell a computer when something is wrong. These rules are called SystemVerilog Assertions and help check hardware designs. The big program is very accurate but also very large and slow to run. The researchers wanted a smaller program that could still write good rules. They let the big program teach the small one by giving it rewards. The rewards are based on whether the small program's rules are correct. The small program gets many chances to write rules and learns from its mistakes. It learns to write many different kinds of rules, not just the same ones over and over. This helps it handle tricky rules about time and when things happen. After training, the small program beats the big one on tests. It also does better than other special programs that were made just for this task. This makes it easier for engineers to check their hardware quickly and accurately.
For a technical reader
The paper introduces a distillation technique that uses an open property-equivalence checker to reward only correct student rollouts. A frozen 14B teacher provides a dense forward-KL gradient weighted by verifier rewards, guiding the smaller student to generate property-equivalent assertions. This on-policy method keeps supervision at every token while focusing on bounded-delay and liveness specifications. Experiments show the student outperforms both specialized SOTA models and massive 671B baselines on NL2SVA benchmarks. The approach offers a scalable way to compress high-performing assertion generators for practical hardware verification.
Problem
Generating correct SystemVerilog Assertions from natural language is challenging because supervised fine-tuning only encourages token-level mimicry, causing models to rely on a few implication templates and miss property equivalence.
Method
The approach samples student rollouts, scores them with an open property-equivalence checker, and applies a verifier-reward-weighted forward-KL gradient from a frozen teacher on rollouts that pass the checker, keeping supervision dense while grounding selection and loss weighting in property-equivalent behavior.
Results
The approach sets a new state of the art on NL2SVA-Human and NL2SVA-Machine across pass@1, pass@5, and pass@10, surpassing both specialized prior SOTA models and 671B general-purpose baselines.
Contributions
A dense on-policy distillation framework that uses an open property-equivalence checker to weight supervision, enabling smaller students to achieve superior performance on bounded-delay and liveness specifications, and a comprehensive evaluation on two benchmark suites.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction