Atomizer: An LLM-based Collaborative Multi-Agent Framework for Intent-Driven Commit Untangling

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhu, Kangchen, Tian, Zhiliang, Wang, Shangwen, Leng, Mingyue, Mao, Xiaoguang
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918271141281792
author Zhu, Kangchen
Tian, Zhiliang
Wang, Shangwen
Leng, Mingyue
Mao, Xiaoguang
author_facet Zhu, Kangchen
Tian, Zhiliang
Wang, Shangwen
Leng, Mingyue
Mao, Xiaoguang
contents Composite commits, which entangle multiple unrelated concerns, are prevalent in software development and significantly hinder program comprehension and maintenance. Existing automated untangling methods, particularly state-of-the-art graph clustering-based approaches, are fundamentally limited by two issues. (1) They over-rely on structural information, failing to grasp the crucial semantic intent behind changes, and (2) they operate as ``single-pass'' algorithms, lacking a mechanism for the critical reflection and refinement inherent in human review processes. To overcome these challenges, we introduce Atomizer, a novel collaborative multi-agent framework for composite commit untangling. To address the semantic deficit, Atomizer employs an Intent-Oriented Chain-of-Thought (IO-CoT) strategy, which prompts large language models (LLMs) to infer the intent of each code change according to both the structure and the semantic information of code. To overcome the limitations of ``single-pass'' grouping, we employ two agents to establish a grouper-reviewer collaborative refinement loop, which mirrors human review practices by iteratively refining groupings until all changes in a cluster share the same underlying semantic intent. Extensive experiments on two benchmark C# and Java datasets demonstrate that Atomizer significantly outperforms several representative baselines. On average, it surpasses the state-of-the-art graph-based methods by over 6.0% on the C# dataset and 5.5% on the Java dataset. This superiority is particularly pronounced on complex commits, where Atomizer's performance advantage widens to over 16%.
format Preprint
id arxiv_https___arxiv_org_abs_2601_01233
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Atomizer: An LLM-based Collaborative Multi-Agent Framework for Intent-Driven Commit Untangling
Zhu, Kangchen
Tian, Zhiliang
Wang, Shangwen
Leng, Mingyue
Mao, Xiaoguang
Software Engineering
Composite commits, which entangle multiple unrelated concerns, are prevalent in software development and significantly hinder program comprehension and maintenance. Existing automated untangling methods, particularly state-of-the-art graph clustering-based approaches, are fundamentally limited by two issues. (1) They over-rely on structural information, failing to grasp the crucial semantic intent behind changes, and (2) they operate as ``single-pass'' algorithms, lacking a mechanism for the critical reflection and refinement inherent in human review processes. To overcome these challenges, we introduce Atomizer, a novel collaborative multi-agent framework for composite commit untangling. To address the semantic deficit, Atomizer employs an Intent-Oriented Chain-of-Thought (IO-CoT) strategy, which prompts large language models (LLMs) to infer the intent of each code change according to both the structure and the semantic information of code. To overcome the limitations of ``single-pass'' grouping, we employ two agents to establish a grouper-reviewer collaborative refinement loop, which mirrors human review practices by iteratively refining groupings until all changes in a cluster share the same underlying semantic intent. Extensive experiments on two benchmark C# and Java datasets demonstrate that Atomizer significantly outperforms several representative baselines. On average, it surpasses the state-of-the-art graph-based methods by over 6.0% on the C# dataset and 5.5% on the Java dataset. This superiority is particularly pronounced on complex commits, where Atomizer's performance advantage widens to over 16%.
title Atomizer: An LLM-based Collaborative Multi-Agent Framework for Intent-Driven Commit Untangling
topic Software Engineering
url https://arxiv.org/abs/2601.01233