Rover: Context-aware Conflict Resolution with LLM
Not on the map. Why?
Abstract (arXiv)
Code merging is a significant challenge, particularly in large-scale projects. Existing solutions, including program analysis and machine learning, show promise but face critical limitations. Program analysis lacks the ability to infer developers' intentions, relying on conservative strategies that offload unresolved conflicts for manual handling. Meanwhile, model-based approaches struggle with conflicts involving complex code dependencies due to insufficient contextual awareness. To address these gaps, we introduce Rover, a novel conflict resolution system that integrates program analysis with large language models (LLMs). To obtain context-aware prompts, we propose Multi-layer Code Property Graph (MtCPG), a new representation capturing inter-file dependencies and enabling contextual analysis for a given conflict. Using graph connectivity algorithms, Rover further clusters conflicting code and associated changes into meaningful "contexts" that guide the LLM in generating accurate resolutions. We compared Rover with standalone LLMs, machine learning baseline MergeGen, and suggestion provider tool WizardMerge with adjacent code as the contexts. Evaluation results show that Rover surpasses all of these approaches in terms of conflict resolution, achieving higher similarity to ground-truth resolutions at character, lexical, and semantic levels.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 11 of its 50 references that are in the map. First posted on arXiv 17 May 2026.
Builds on
11 of 50 references.
References · 11
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2025Qwen3 Technical Reportcited by 8,195
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2024RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generationcited by 69
- 2023Fixing Rust Compilation Errors using LLMscited by 7
- 2021Program Merge Conflict Resolution via Neural Transformerscited by 5
- 2022Spork: Structured Merge for Java with Formatting Preservationcited by 2
- 2023Detecting Semantic Conflicts with Unit Testscited by 2
- 2024WizardMerge -- Save Us From Merging Without Any Cluescited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.