arXiv cs.CL· Xinhao Zhang, Jingjie Lu, Kunpeng Liu, Fei Xie·· 2 天前AI 评分38
PROOF:为 LLM 驱动的代码库维护提供可验证规范层
From Reading Code to Reading Spec: A Verified Layer for LLM-Driven Codebase Maintenance
AI 导读
研究者提出 PROOF(Provable Representation Of Original Functionality),通过分层自然语言规范间接管理代码库,并仅凭该规范重建源码以证明语义等价。该验证基础驱动维护请求执行代码修改,同时同步更新规范以防止语义漂移。在真实代码库上的实验确认了这些规范的有效性,论文已被 EACL 2027 接收。
正文 · 原文
Abstract:The rapid growth of LLM-generated code increases software complexity and the maintenance burden on engineers. While LLMs offer a potential automated alternative, this structural complexity hinders their ability to manage codebases directly. We introduce the Provable Representation Of Original Functionality (PROOF), which manages codebases indirectly via structured specifications. To enable full-lifecycle codebase management strictly through these specifications, PROOF abstracts codebase topology into a hierarchical natural-language representation. To establish absolute trust, the system proves semantic equivalence by reconstructing source code exclusively from this specification. This verified foundation drives maintenance requests, executing code modifications while synchronously updating itself to prevent semantic drift. Experiments on real-world repositories confirm the effectiveness of these specifications.
| Comments: | Accepted by EACL 2027 |
| Subjects: | Software Engineering (cs.SE); Computation and Language (cs.CL) |
| Cite as: | arXiv:2609.06383 [cs.SE] |
| (or arXiv:2609.06383v2 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2609.06383 arXiv-issued DOI via DataCite |
Submission history
From: Xinhao Zhang [view email]
[v1]
Sun, 6 Sep 2026 04:45:37 UTC (3,059 KB)
[v2]
Fri, 13 Nov 2026 18:55:37 UTC (3,059 KB)
来源:arXiv cs.CL · arxiv.org