AIDB Daily Papers
「3」は魔法の数字か?LLMベースの自動修正ループに関する実証的評価
※ 日本語タイトル・ポイントはAIによる自動生成です。正確な内容は原論文をご確認ください。
ポイント
- LLMを用いたソフトウェア開発における反復的なコード修正ループの有効性を、複数のタスクとデータセットで検証した。
- 修正の試行回数と成果の関係を分析し、最初の3〜4回で成果の大部分が得られ、以降は改善が停滞する傾向を明らかにした。
- モデル自体の性能よりも、ワークフローの構成やフィードバック設計が修正の成功に強く影響することを突き止めた。
Abstract
Iterative repair loops have become a core design pattern in LLM-based software engineering systems. These workflows repeatedly generate, validate, and repair artifacts using feedback such as compiler errors or test failures. Despite their widespread use, the impact of repair-loop iteration limits remains poorly understood, as most prior work adopts fixed, often arbitrary, repair budgets. We study repair-loop effectiveness across multiple software engineering tasks, including code generation, test generation, and code translation. Across several representative workflows, datasets, and contemporary low-cost LLMs, we observe a consistent pattern of diminishing returns: the first three to four repair iterations account for most achievable gains, while later iterations contribute only marginal improvements. We further find that repair behavior is influenced more strongly by workflow orchestration and feedback design than by the underlying model itself. These results suggest that repair budgets should be treated as an explicit experimental variable, as they directly affect evaluation outcomes, computational cost, runtime, and reproducibility in LLM-based software engineering research.
Paper AI Chat
この論文のPDF全文を対象にAIに質問できます。
質問の例: