AIDB Daily Papers
SWE-Adept:LLMエージェントによる深層コードベース解析と構造化された問題解決
※ 日本語タイトル・ポイントはAIによる自動生成です。正確な内容は原論文をご確認ください。
ポイント
- 大規模言語モデル(LLM)を活用し、コードベースの深い解析と構造的な問題解決を行うエージェントフレームワーク「SWE-Adept」を提案した。
- 従来手法が苦手とするリポジトリレベルのソフトウェアエンジニアリング(SWE)において、効果的なコンテキスト管理と反復的なテスト駆動型コード修正を実現する点が新しい。
- SWE-Bench LiteおよびProでの実験で、SWE-Adeptは従来手法を上回り、エンドツーエンドの解決率を最大4.7%向上させることを示した。
Abstract
Large language models (LLMs) exhibit strong performance on self-contained programming tasks. However, they still struggle with repository-level software engineering (SWE), which demands (1) deep codebase navigation with effective context management for accurate localization, and (2) systematic approaches for iterative, test-driven code modification to resolve issues. To address these challenges, we propose SWE-Adept, an LLM-based two-agent framework where a localization agent identifies issue-relevant code locations and a resolution agent implements the corresponding fixes. For issue localization, we introduce agent-directed depth-first search that selectively traverses code dependencies. This minimizes issue-irrelevant content in the agent's context window and improves localization accuracy. For issue resolution, we employ adaptive planning and structured problem solving. We equip the agent with specialized tools for progress tracking and Git-based version control. These tools interface with a shared working memory that stores code-state checkpoints indexed by execution steps, facilitating precise checkpoint retrieval. This design enables reliable agent-driven version-control operations for systematic issue resolution, including branching to explore alternative solutions and reverting failed edits. Experiments on SWE-Bench Lite and SWE-Bench Pro demonstrate that SWE-Adept consistently outperforms prior approaches in both issue localization and resolution, improving the end-to-end resolve rate by up to 4.7%.
Paper AI Chat
この論文のPDF全文を対象にAIに質問できます。
質問の例: