arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.18834cs.SEcs.SYeess.SY
收藏

结构验证用于无需工具在回路调试的可靠EDA代码生成

Structural Verification for Reliable EDA Code Generation without Tool-in-the-Loop Debugging

University of Illinois Chicago(伊利诺伊大学芝加哥分校);Intel Corporation(英特尔公司)

Dinithi Jayasuriya, Aravind Saravanan, Nilesh Ahuja, Amanda Rios, Amit Trivedi

AI总结:

本文提出通过强制执行结构正确性来提高EDA代码生成的可靠性与效率,采用结构依赖图作为显式执行合同,并通过验证引导合成框架进行图条件检索、约束生成和分阶段预执行验证,从而在单步和多步任务中显著提升通过率。

摘要:

大型语言模型(LLMs)已使电子设计自动化(EDA)工作流实现自然语言驱动的自动化,但生成脚本的可靠执行仍是基本挑战。在基于LLM的EDA任务中,失败并非源于语法错误,而是违反了设计对象的隐式结构依赖,包括无效的获取路径、缺失的先决条件和不兼容的API使用。现有方法通过工具在回路调试反复执行和修复程序以解决这些失败。尽管有效,这种范式将正确性与重复工具调用耦合,导致在多步骤设置中延迟高且可扩展性差。本文提出通过在执行前强制执行结构正确性来消除工具在回路调试。每个任务表示为结构依赖图,作为显式执行合同,验证引导合成框架通过图条件检索、约束生成和分阶段预执行验证与诊断驱动修复来强制此合同。在单步任务中,方法将通过率从73.0%(LLM+RAG)和76.0%(工具在回路)提高到82.5%,同时要求每个任务恰好一次工具调用并减少总工具调用次数超过2倍。在多步任务中,通过率从30.0%提高到70.0%,进一步提高到84.0%。不确定性感知过滤进一步将验证器假阳性从20.0%降至6.7%,并提高精度从80.0%到93.3%。这些结果表明,执行执行前的结构一致性解耦了正确性与工具交互,提高了长周期EDA代码生成的可靠性和效率。

英文摘要:

Large language models (LLMs) have enabled natural-language-driven automation of electronic design automation (EDA) workflows, but reliable execution of generated scripts remains a fundamental challenge. In LLM-based EDA tasks, failures arise not from syntax errors but from violations of implicit structural dependencies over design objects, including invalid acquisition paths, missing prerequisites, and incompatible API usage. Existing approaches address these failures through tool-in-the-loop debugging, repeatedly executing and repairing programs using runtime feedback. While effective, this paradigm couples correctness to repeated tool invocation, leading to high latency and poor scalability in multi-step settings. We propose to eliminate tool-in-the-loop debugging by enforcing structural correctness prior to execution. Each task is represented as a structural dependency graph that serves as an explicit execution contract, and a verifier-guided synthesis framework enforces this contract through graph-conditioned retrieval, constrained generation, and staged pre-execution verification with diagnosis-driven repair. On single-step tasks, our method improves pass rate from 73.0% (LLM+RAG) and 76.0% (tool-in-loop) to 82.5%, while requiring exactly one tool call per task and reducing total tool calls by more than 2x. On multi-step tasks, pass rate improves from 30.0% to 70.0%, and further to 84.0% with trajectory-level reflection. Uncertainty-aware filtering further reduces verifier false positives from 20.0% to 6.7% and improves precision from 80.0% to 93.3%. These results show that enforcing structural consistency prior to execution decouples correctness from tool interaction, improving both reliability and efficiency in long-horizon EDA code generation.

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

↑