arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21810cs.AIcs.MA
收藏

Trace2Skill: 验证器引导的技能进化用于长上下文EDA代理

Trace2Skill: Verifier-Guided Skill Evolution for Long-Context EDA Agents

NVIDIA

Zijian Du, Nathaniel Pinckney

AI总结:

本文提出Trace2Skill框架,通过验证器引导的技能进化提升硬件代理在复杂验证问题上的性能,无需RTL专用模型微调,通过密集验证器反馈实现任务通过率的显著提升。

摘要:

复杂Verilog设计问题(CVDP)挑战硬件LLM代理,因为解决这些问题需要在大型仓库快照中本地化相关RTL、测试平台、包含路径和构建依赖,进行精确编辑,并从稀疏隐藏验证器失败中恢复。我们提出了Trace2Skill,一个测试时间扩展框架,它在不进行RTL专用模型微调的情况下改进硬件代理。而不是训练新模型或仅采样更多候选解决方案,Trace2Skill将代理的自然语言技能视为可进化策略。它挖掘重复的运行轨迹以识别成功和失败模式,将其转换为密集的诊断和 oracle 教训,并使用 oracle、变异器和选择器循环生成任务特定的技能,以引导后续的搜索、编辑、验证和恢复。由于最终通过/失败标签通常对硬故障太粗略,Trace2Skill还支持有界运行时间密集验证器反馈,该反馈返回经过清理的功能观察,同时保持隐藏的Harness和参考解决方案对代理不可见。这种反馈通过连接技能文本、验证器证据和下游行为来引导技能进化和代理执行。在击败种子CVDP代理的硬CVDP任务上,包括也击败前沿编码代理的任务,Trace2Skill结合密集验证器反馈显著提高了任务通过率,并在之前未解决的任务上实现了突破性通过,而无需高质量微调数据、专用RTL模型训练或模型权重更新。相同的框架提供了一种通用测试时间扩展策略,可以扩展到其他可验证的EDA任务。

英文摘要:

Complex Verilog Design Problems (CVDP) challenge hardware LLM agents because solving them requires localizing verifier-relevant RTL, testbenches, include paths, and build dependencies inside large repository snapshots, making precise edits, and recovering from sparse hidden-verifier failures. We present Trace2Skill, a test-time scaling framework that improves a hardware agent without RTL-specialized model fine-tuning. Rather than training a new model or only sampling more candidate solutions, Trace2Skill treats the agent's natural-language skill as an evolvable policy. It mines repeated rollout traces for success and failure modes, converts them into dense diagnostics and oracle lessons, and uses an oracle, mutator, and selector loop to produce task-specific skills that guide later search, editing, validation, and recovery. Because final pass/fail labels are often too coarse for hard failures, Trace2Skill also supports bounded runtime dense verifier feedback that returns sanitized functional observations while keeping hidden harnesses and reference solutions inaccessible to the agent. This feedback helps guide skill evolution and agent execution by connecting skill text, verifier evidence, and downstream behavior. Across hard CVDP tasks that defeat the seed CVDP agent, including tasks that also defeat frontier coding agents, Trace2Skill with dense verifier feedback substantially improves task pass rates and produces breakthrough passes on previously unsolved tasks, without requiring high-quality fine-tuning data, specialized RTL model training, or model weight updates. The same framework provides a general test-time scaling strategy that can extend beyond digital design to other verifiable EDA tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑