mlsanityData to 14 Oct 2026

MORepair: Teaching LLMs to Repair Code via Multi-Objective Fine-tuning

arXiv 2404.12636 ↗First posted 19 Apr 2024cs.SEcited by 13

Not on the map. Why?

Abstract (arXiv)

Within the realm of software engineering, specialized tasks on code, such as program repair, present unique challenges, necessitating fine-tuning Large language models~(LLMs) to unlock state-of-the-art performance. Fine-tuning approaches proposed in the literature for LLMs on program repair tasks generally overlook the need to reason about the logic behind code changes, beyond syntactic patterns in the data. High-performing fine-tuning experiments also usually come at very high computational costs. With MORepair, we propose a novel perspective on the learning focus of LLM fine-tuning for program repair: we not only adapt the LLM parameters to the syntactic nuances of the task of code transformation (objective 1), but we also specifically fine-tune the LLM with respect to the logical reason behind the code change in the training data (objective 2). Such a multi-objective fine-tuning will instruct LLMs to generate high-quality patches. We apply MORepair to fine-tune four open-source LLMs with different sizes and architectures. Experimental results on function-level and repository-level repair benchmarks show that the implemented fine-tuning effectively boosts LLM repair performance by 11.4% to 56.0%. We further show that our fine-tuning strategy yields superior performance compared to the state-of-the-art approaches, including standard fine-tuning, Fine-tune-CoT, and RepairLLaMA.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). First posted on arXiv 19 Apr 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 6; 2026: 5.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement
  2. 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applications
  3. 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models
  4. 2025FeedbackEval: A Benchmark for Evaluating Large Language Models in Feedback-Driven Code Repair Tasks
  5. 2024Aligning the Objective of LLM-based Program Repair
  6. 2026Refine After Generation: Toward Correct and Concise Patches in LLM-based Program Repair
  7. 2025Towards Effectively Leveraging Execution Traces for Program Repair with Code LLMs
  8. 2025Accelerating Automatic Program Repair with Dual Retrieval-Augmented Fine-Tuning and Patch Generation on Large Language Models