LockForge: 基于多智能体推理LLM的逻辑锁纸到代码自动化
LockForge: Automating Paper-to-Code for Logic Locking with Multi-Agent Reasoning LLMs
AI总结:
LockForge通过多智能体推理LLM自动化将逻辑锁论文描述转换为可执行代码,解决可重复性难题,提供系统化验证框架和基准测试。
摘要:
尽管逻辑锁(LL)领域取得了快速进展,但可重复性仍是一个挑战,因为代码很少公开。我们提出了LockForge,这是一种首次出现的多智能体大型语言模型(LLM)框架,将论文中的LL描述转换为可执行和测试的代码。LockForge提供了一个精心设计的管道,实现前瞻性、实现、迭代改进和多阶段验证,以系统地弥合论文与实践之间复杂LL方案的差距。在验证方面,我们设计了(i)一个LLM作为法官阶段,包含考虑行为检查、概念机制、结构元素和基准可重复性的评分系统,以及(ii)一个独立的LLM作为评估阶段进行真实值评估。我们对10种具有代表性的LL方案应用LockForge,其中许多缺乏参考实现。我们在多个最先进的LLM上进行评估,包括消融研究,揭示了该任务的显著复杂性。我们表明,高级推理模型和复杂的多阶段框架如LockForge是必需的。我们释放所有实现和基准,为进一步LL研究的可重复和公平评估提供基础。
英文摘要:
Despite rapid progress in logic locking (LL), reproducibility remains a challenge as codes are rarely made public. We present LockForge, a first-of-its-kind, multi-agent large language model (LLM) framework that turns LL descriptions in papers into executable and tested code. LockForge provides a carefully crafted pipeline realizing forethought, implementation, iterative refinement, and a multi-stage validation, all to systematically bridge the gap between prose and practice for complex LL schemes. For validation, we devise (i) an LLM-as-Judge stage with a scoring system considering behavioral checks, conceptual mechanisms, structural elements, and reproducibility on benchmarks, and (ii) an independent LLM-as-Examiner stage for ground-truth assessment. We apply LockForge to 10 seminal LL schemes, many of which lack reference implementations. Our evaluation on multiple SOTA LLMs, including ablation studies, reveals the significant complexity of the task. We show that an advanced reasoning model and a sophisticated, multi-stage framework like LockForge are required. We release all implementations and benchmarks, providing a reproducible and fair foundation for evaluation of further LL research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。