T3: Multi-level Tree-based Automatic Program Repair with Large Language Models
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Automatic Program Repair (APR) is a core technology in software development and maintenance, with aims to enable automated defect repair with minimal human intervention. In recent years, the substantial advancements in Large Language Models (LLMs) and the Chain-of-Thought (CoT) techniques have significantly enhanced the reasoning capabilities of these models. However, due to the complex logic and multi-step reasoning ability needed, the application of CoT techniques in the APR domain remains insufficient. This study systematically evaluates the performance of several common CoT techniques in APR tasks and proposes an innovative framework T3, which integrates the powerful reasoning capabilities of LLMs with tree search, effectively improving the precision of generating candidate repair solutions. Furthermore, T3 provides valuable guidance for optimizing sample selection and repair strategies in APR tasks, establishing a robust framework for achieving efficient automated debugging.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 28 of its 33 references that are in the map. First posted on arXiv 26 Jun 2025.
Builds on
28 of 33 references.
Closest ancestors · 1
Same direction, newest first
Other references · 27
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
- 2022A Systematic Evaluation of Large Language Models of Codecited by 363
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 333
15 more
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 108
- 2023Large Language Models as Analogical Reasonerscited by 107
- 2022Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learningcited by 76
- 2019TBar: Revisiting Template-based Automated Program Repaircited by 65
- 2022NatGen: Generative pre-training by "Naturalizing" source codecited by 54
- 2021Applying CodeBERT for Automated Program Repair of Java Simple Bugscited by 44
- 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 44
- 2023Conversational Automated Program Repaircited by 41
- 2024Large Language Models-guided Dynamic Adaptation for Temporal Knowledge Graph Reasoningcited by 41
- 2024A Systematic Literature Review on Large Language Models for Automated Program Repaircited by 37
- 2023GAMMA: Revisiting Template-based Automated Program Repair via Mask Predictioncited by 23
- 2022DEAR: A Novel Deep Learning-based Approach for Automated Program Repaircited by 22
- 2024Atomic Fact Decomposition Helps Attributed Question Answeringcited by 21
- 2024IME: Integrating Multi-curvature Shared and Specific Embedding for Temporal Knowledge Graph Completioncited by 9
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Automated Repair of C Programs Using Large Language Models
- 2025BloomAPR: A Bloom's Taxonomy-based Framework for Assessing the Capabilities of LLM-Powered APR Solutions
- 2025Optimizing Token Consumption in LLMs: A Nano Surge Approach for Code Reasoning Efficiency
- 2024ThinkRepair: Self-Directed Automated Program Repair
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency
- 2026Reasoning Distillation for Lightweight Automated Program Repair
- 2026From Historical Patches to Repair Plans: Outcome-Conditioned Reasoning for Repository-Level Program Repair
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Models