arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.07967cs.SE
收藏

代码数字孪生:面向AI辅助复杂软件开发的知识基础设施

Code Digital Twin: A Knowledge Infrastructure for AI-Assisted Complex Software Development

College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机科学技术学院)

Xin Peng, Chong Wang

AI总结:

代码数字孪生通过整合混合知识表示和多阶段提取管道,为AI辅助复杂软件开发提供可持续的演进路径。

摘要:

近年来,基于大语言模型(LLMs)的AI编码工具在软件工程任务中展现了强大的能力,引发了对重大生产力提升的期望。像Cursor和Claude Code这样的工具流行了

英文摘要:

Recent advances in AI coding tools powered by large language models (LLMs) have shown strong capabilities in software engineering tasks, raising expectations of major productivity gains. Tools such as Cursor and Claude Code have popularized "vibe coding" (where developers steer development through high-level intent), commonly relying on context engineering and Retrieval-Augmented Generation (RAG) to ground generation in a codebase. However, these paradigms struggle in ultra-complex enterprise systems, where software evolves incrementally under pervasive design constraints and depends on tacit knowledge such as responsibilities, intent, and decision rationales distributed across code, configurations, discussions, and version history. In this environment, context engineering faces a fundamental barrier: the required context is scattered across artifacts and entangled across time, beyond the capacity of LLMs to reliably capture, prioritize, and fuse evidence into correct and trustworthy decisions, even as context windows grow. To bridge this gap, we propose the Code Digital Twin, a persistent and evolving knowledge infrastructure built on the codebase. It separates long-term knowledge engineering from task-time context engineering and serves as a backend "context engine" for AI coding assistants. The Code Digital Twin models both the physical and conceptual layers of software and co-evolves with the system. By integrating hybrid knowledge representations, multi-stage extraction pipelines, incremental updates, AI-empowered applications, and human-in-the-loop feedback, it transforms fragmented knowledge into explicit and actionable representations, providing a roadmap toward sustainable and resilient development and evolution of ultra-complex systems.

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

↑