RWOPD:用开放属性等价验证器实现NL-to-SVA生成的奖励加权同策略蒸馏
Reward-Weighted On-Policy Distillation with an Open Property-Equivalence Verifier for NL-to-SVA Generation
研究提出奖励加权同策略蒸馏(RWOPD),用开放的SymbiYosys+Z3属性等价检查器筛选学生模型rollout并加权蒸馏损失,将CodeV-SVA-14B蒸馏进Qwen2.5-Coder-7B-Instruct。该学生在NL2SVA-Human和NL2SVA-Machine上的pass@1、pass@5、pass@10均为对比模型中最高,超过专用基线及671B通用模型。
arXiv:2605.13501v2 Announce Type: replace Abstract: Specialized language models for translating natural language (NL) into SystemVerilog assertions (SVA) reach approximately 76\% accuracy on NL2SVA-Human, but aggregate scores obscure errors on bounded-delay and liveness specifications. Models often reuse a small set of implication templates where different temporal behavior is required. Supervised fine-tuning rewards agreement with reference tokens, whereas SVA correctness depends on property equivalence. We propose \emph{reward-weighted on-policy distillation} (RWOPD), which uses an open SymbiYosys+Z3 property-equivalence checker to select student rollouts and weight their distillation loss. A frozen 14B teacher supplies forward Kullback--Leibler (KL) supervision at each response token; equivalent rollouts receive greater weight than one-sided implications. Starting from curriculum supervised fine-tuning (SFT), RWOPD distills CodeV-SVA-14B into a Qwen2.5-Coder-7B-Instruct student. The student has the highest reported pass@1, pass@5, and pass@10 on NL2SVA-Human and NL2SVA-Machine among the compared models, including specialized baselines and 671B general-purpose models.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org