LLM-Driven Collaborative Model for Untangling Commits via Explicit and Implicit Dependency Reasoning
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Atomic commits, which address a single development concern, are a best practice in software development. In practice, however, developers often produce tangled commits that mix unrelated changes, complicating code review and maintenance. Prior untangling approaches (rule-based, feature-based, or graph-based) have made progress but typically rely on shallow signals and struggle to distinguish explicit dependencies (e.g., control/data flow) from implicit ones (e.g., semantic or conceptual relationships). In this paper, we propose ColaUntangle, a new collaborative consultation framework for commit untangling that models both explicit and implicit dependencies among code changes. ColaUntangle integrates Large Language Model (LLM)-driven agents in a multi-agent architecture: one agent specializes in explicit dependencies, another in implicit ones, and a reviewer agent synthesizes their perspectives through iterative consultation. To capture structural and contextual information, we construct Explicit and Implicit Contexts, enabling agents to reason over code relationships with both symbolic and semantic depth. We evaluate ColaUntangle on two widely-used datasets (1,612 C# and 14k Java tangled commits). Experimental results show that ColaUntangle outperforms the best-performing baseline, achieving an improvement of 44% on the C# dataset and 82% on the Java dataset. These findings highlight the potential of LLM-based collaborative frameworks for advancing automated commit untangling tasks.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 18 of its 56 references that are in the map. First posted on arXiv 22 Jul 2025.
Builds on
18 of 56 references.
References · 18
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
- 2015Gated Graph Sequence Neural Networkscited by 796
- 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 411
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
- 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoningcited by 316
- 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
- 2018Metrics for Explainable AI: Challenges and Prospectscited by 260
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 178
6 more
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
- 2024ColaCare: Enhancing Electronic Health Record Modeling through Large Language Model-Driven Multi-Agent Collaborationcited by 23
- 2024Exploring the Capabilities of LLMs for Code Change Related Taskscited by 18
- 2020A Fine-grained Data Set and Analysis of Tangling in Bug Fixing Commitscited by 11
- 2015Untangling Fine-Grained Code Changescited by 10
- 2020ChangeBeadsThreader: An Interactive Environment for Tailoring Automatically Untangled Changescited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Atomizer: An LLM-based Collaborative Multi-Agent Framework for Intent-Driven Commit Untangling
- 2026Runnable Commit Untangling for Coding Agents
- 2026Learning to Commit: Generating Organic Pull Requests via Online Repository Memory
- 2026AgentSZZ: Teaching the LLM Agent to Play Detective with Bug-Inducing Commits
- 2025LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery
- 2025AgentPack: A Dataset of Code Changes, Co-Authored by Agents and Humans
- 2026Detecting Vulnerability-Inducing Commits via Multi-Stage Reasoning with LLM-Based Agents
- 2026Context-as-AI-Service: Surfacing Cross-File Dependency Chains for LLM-Generated Developer Documentation