mlsanityData to 14 Oct 2026

Merge-Bench: Resolve Merge Conflicts with Large Language Models

arXiv 2605.25890 ↗First posted 25 May 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

This paper applies machine learning to the difficult and important task of version control merging. (1) We constructed a dataset, Merge-Bench, of 7938 real-world merge conflict hunks from 1439 GitHub repositories. The ground truth is the merge resolution that developers committed to the repository. Our dataset construction methodology is scalable to arbitrary amounts of data since no manual labeling is required. (2) We trained a model, LLMergeJ, to resolve merge conflicts in Java programs. Our approach uses Group Relative Policy Optimization (GRPO), an online reinforcement learning method, to train a Large Language Model (LLM). (3) We performed two evaluations of the performance of LLMs on resolving merge conflicts. On Java programs, LLMergeJ with 14B parameters outperforms 3 commercial LLMs, trailing only Gemini 2.5 Pro. Across 11 programming languages, commercial LLM performance is largely stable from language to language. The best models correctly resolve less than 60% of merge conflicts.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 30 references that are in the map. First posted on arXiv 25 May 2026.

Builds on

12 of 30 references.

References · 12

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  7. 2021Program Merge Conflict Resolution via Neural Transformerscited by 5
  8. 2025GitGoodBench: A Novel Benchmark For Evaluating Agentic Performance On Gitcited by 5
  9. 2021DeepMerge: Learning to Merge Programscited by 3
  10. 2022Spork: Structured Merge for Java with Formatting Preservationcited by 2
  11. 2024CONGRA: Benchmarking Automatic Conflict Resolutioncited by 1
  12. 2024Evaluation of Version Control Merge Toolscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Large Language Models for Programming: Actually Fixing or Reimplementing Incorrect Code?
  2. 2026CoMerge: Conflict-Driven Preference Optimization for Multi-Task Model Merging
  3. 2026Enough is as good as a feast: A Comprehensive Analysis of How Reinforcement Learning Mitigates Task Conflicts in LLMs
  4. 2025Fine, I'll Merge It Myself: A Multi-Fidelity Framework for Automated Model Merging
  5. 2025Model Merging in Pre-training of Large Language Models
  6. 2024Evolutionary Optimization of Model Merging Recipes
  7. 2026Model Merging in the Era of Large Language Models: Methods, Applications, and Future Directions
  8. 2025Mix Data or Merge Models? Balancing the Helpfulness, Honesty, and Harmlessness of Large Language Model via Model Merging