2025-10-15 · 专家 · 机器学习

A Survey of Vibe Coding with Large Language Models

本文对基于大型语言模型的Vibe编码进行了全面系统的综述,建立了该开发方法的理论基础和实践框架。

更新于 2025-10-15。作者:Yuyao Ge、Lingrui Mei、Zenghao Duan、Tianhao Li、Yujia Zheng、Yiwei Wang、Lexin Wang、Jiayu Yao、Tianyu Liu、Yujun Cai、Baolong Bi、Fangda Guo、Jiafeng Guo、Shenghua Liu、Xueqi Cheng。

中文摘要

大型语言模型(LLMs)的进步推动了从代码生成辅助到自主编码代理的范式转变,从而催生了一种新的开发方法,称为“Vibe Coding”。在这种方法中,开发者通过观察结果来验证AI生成的实现,而不是逐行理解代码。尽管这种新兴范式具有变革潜力,但其有效性仍处于探索阶段,实证研究表明存在意外的工作效率损失和人类-人工智能协作中的基本挑战。为了填补这一空白,本调查提供了对Vibe Coding的LLMs的第一份全面和系统性的回顾,为这种变革性的开发方法建立了理论和实践框架。通过对1000多篇研究论文的系统分析,我们调查了整个Vibe Coding生态系统,包括用于编码的LLMs、基于LLMs的编码代理、编码代理的开发环境以及反馈机制。我们首先将Vibe Coding作为一门正式学科通过一个约束马尔可夫决策过程来正式化,该过程捕捉了人类开发者、软件项目和编码代理之间的动态三元关系。在此基础上,我们将现有的实践归纳为五种不同的开发模型:不受约束的自动化、迭代对话协作、规划驱动、测试驱动和情境增强模型,从而为该领域提供了第一个全面的分类法。关键的是,我们的分析揭示,成功的Vibe Coding不仅取决于代理的能力,还取决于系统性的情境工程、成熟的开发环境和人类-代理协作开发模型。

英文摘要

The advancement of large language models (LLMs) has catalyzed a paradigm shift from code generation assistance to autonomous coding agents, enabling a novel development methodology termed "Vibe Coding" where developers validate AI-generated implementations through outcome observation rather than line-by-line code comprehension. Despite its transformative potential, the effectiveness of this emergent paradigm remains under-explored, with empirical evidence revealing unexpected productivity losses and fundamental challenges in human-AI collaboration. To address this gap, this survey provides the first comprehensive and systematic review of Vibe Coding with large language models, establishing both theoretical foundations and practical frameworks for this transformative development approach. Drawing from systematic analysis of over 1000 research papers, we survey the entire vibe coding ecosystem, examining critical infrastructure components including LLMs for coding, LLM-based coding agent, development environment of coding agent, and feedback mechanisms. We first introduce Vibe Coding as a formal discipline by formalizing it through a Constrained Markov Decision Process that captures the dynamic triadic relationship among human developers, software projects, and coding agents. Building upon this theoretical foundation, we then synthesize existing practices into five distinct development models: Unconstrained Automation, Iterative Conversational Collaboration, Planning-Driven, Test-Driven, and Context-Enhanced Models, thus providing the first comprehensive taxonomy in this domain. Critically, our analysis reveals that successful Vibe Coding depends not merely on agent capabilities but on systematic context engineering, well-established development environments, and human-agent collaborative development models.

解读

一句话总结

本文对基于大型语言模型的Vibe编码进行了全面系统的综述,建立了该开发方法的理论基础和实践框架。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源