RTLSeek: 通过多阶段多样性导向强化学习提升基于LLM的RTL生成
RTLSeek: Boosting the LLM-Based RTL Generation with Multi-Stage Diversity-Oriented Reinforcement Learning
AI总结:
RTLSeek通过多阶段多样性导向强化学习提升基于LLM的RTL生成,结合专家知识与EDA反馈,改进RTL的正确性和多样性,实验表明其在RTLLM基准上优于现有方法。
摘要:
Register Transfer Level (RTL)设计通过Verilog等HDL将高级规格转换为硬件。尽管基于LLM的RTL生成有前景,但功能可验证的高质量数据稀缺限制了准确性和多样性。现有训练后方法通常为每个规格生成单一HDL实现,缺乏对不同设计目标所需RTL变化的意识。我们提出RTLSeek,一种训练后范式,应用基于规则的多样性导向强化学习以提高RTL的正确性和多样性。我们的以多样性为中心的多目标奖励调度整合了专家知识与EDA反馈,并采用三阶段框架最大限度利用有限数据。在RTLLM基准上的实验表明,RTLSeek优于现有方法,消融结果证实鼓励更广泛的设计空间探索能提高RTL质量并实现“生成越多结果越好”的原则。实现框架,包括数据集、源代码和模型权重,见https://anonymous.4open.science/r/DAC2026ID71-ACB4/。
英文摘要:
Register Transfer Level (RTL) design translates high-level specifications into hardware using HDLs such as Verilog. Although LLM-based RTL generation is promising, the scarcity of functionally verifiable high-quality data limits both accuracy and diversity. Existing post-training typically produces a single HDL implementation per specification, lacking awareness of RTL variations needed for different design goals. We propose RTLSeek, a post-training paradigm that applies rule-based Diversity-Oriented Reinforcement Learning to improve RTL correctness and diversity. Our Diversity-Centric Multi-Objective Reward Scheduling integrates expert knowledge with EDA feedback, and a three-stage framework maximizes the utility of limited data. Experiments on the RTLLM benchmark show that RTLSeek surpasses prior methods, with ablation results confirming that encouraging broader design-space exploration improves RTL quality and achieves the principle of "the more generated, the better results." Implementation framework, including the dataset, source code, and model weights, is shown at https://anonymous.4open.science/r/DAC2026ID71-ACB4/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。