[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85433-en":3,"doc-seo-85433-105":30,"detail-sidebar-cat-0-en-105":84},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},85433,687197100911,"Himbo","https://ap-avatar.wpscdn.com/avatar/a000239b6f1da00475?x-image-process=image/resize,m_fixed,w_180,h_180&k=1782698725881665579",8,"Research & Report","LLM-Driven Collaborative Model for Untangling Commits via Explicit and Implicit Dependency Reasoning","Atomic commits represent single development concerns, yet many real repositories contain tangled commits that mix unrelated changes, making code review and maintenance harder. Prior untangling methods rely on shallow signals and struggle to separate explicit dependencies (control/data flow) from implicit ones (semantic or conceptual links). ColaUntangle introduces a collaborative multi-agent framework using LLM-driven agents to model both dependency types, iterating through consultation and synthesizing perspectives. Evaluated on C# and Java datasets, it achieves 44% and 82% improvements over the best baseline.","arXiv :2507 . 16395v 3 [ cs .AI] 13 Jul 2026  \nLLM-Driven Collaborative Model for Untangling Commits via Explicit and Implicit Dependency Reasoning  \nBO HOU, State Key Laboratory of Complex & Critical Software Environment (SKLCCSE), School of Computer Science and Engineering, Beihang University, China  \nXIN TAN∗ , SKLCCSE, School of Computer Science and Engineering, Beihang University, China KAI ZHENG, SKLCCSE, School of Computer Science and Engineering, Beihang University, China FANG LIU, SKLCCSE, School of Computer Science and Engineering, Beihang University, China YINGHAO ZHU, School of Computing and Data Science, The University of Hong Kong, China LI ZHANG, SKLCCSE, School of Computer Science and Engineering, Beihang University, China  \nAtomic 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.  \nCCS Concepts: • Software and its engineering → Automatic programming; Software configuration management and version control systems.  \nAdditional Key Words and Phrases: Commit untangling, Explicit and implicit dependencies, LLMs, Multi-agent collaboration  \nACM Reference Format:  \nBo Hou, Xin Tan, Kai Zheng, Fang Liu, Yinghao Zhu, and Li Zhang. 2018. LLM-Driven Collaborative Model for Untangling Commits via Explicit and Implicit Dependency Reasoning. J. ACM 37, 4, Article 111 (August 2018), 29 pages. [https://doi.org/XXXXXXX.XXXXXXX](https://doi.org/XXXXXXX.XXXXXXX)  \n∗ Corresponding author.  \nAuthors’ Contact Information: Bo Hou, State Key Laboratory of Complex & Critical Software Environment (SKLCCSE), School of Computer Science and Engineering, Beihang University, Beijing, China, [houbo2024@buaa.edu.cn](houbo2024@buaa.edu.cn); Xin Tan, SKLCCSE, School of Computer Science and Engineering, Beihang University, Beijing, China, [xintan@buaa.edu.cn](xintan@buaa.edu.cn); Kai Zheng, SKLCCSE, School of Computer Science and Engineering, Beihang University, Beijing, China, [21373443@buaa.edu.cn](21373443@buaa.edu.cn); Fang Liu, SKLCCSE, School of Computer Science and Engineering, Beihang University, Beijing, China, [fangliu@buaa.edu.cn](fangliu@buaa.edu.cn); Yinghao Zhu, School of Computing and Data Science, The University of Hong Kong, Hong Kong SAR, China, [zhuyinghao@buaa.edu.cn](zhuyinghao@buaa.edu.cn); Li Zhang, SKLCCSE, School of Computer Science and Engineering, Beihang University, Beijing, China, [lily@buaa.edu.cn](lily@buaa.edu.cn).  \nPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for","cbCaigLpngtyMZtH","https://ap.wps.com/l/cbCaigLpngtyMZtH","pdf",1881640,5,1,29,"English","en",105,"# Introduction\n## Atomic commits and their benefits\n## Tangled commits and their causes\n## Related work and limitations\n# ColaUntangle Approach\n## Multi-agent collaborative framework\n## Explicit vs implicit dependency modeling\n## Explicit and implicit contexts construction\n# Experimental Evaluation\n## Datasets\n## Results and comparison with baselines\n# Conclusion","[{\"question\":\"What performance improvements does ColaUntangle achieve?\",\"answer\":\"Across two widely-used datasets, ColaUntangle improves by 44% on the C# dataset and 82% on the Java dataset compared with the best-performing baseline.\"}]",1784203479,73,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":79,"head_meta":81,"extra_data":83,"updated_unix":28},"llm-driven-collaborative-model-for-untangling-commits-via-explicit-and-implicit-dependency-reasoning","",{"@graph":36,"@context":78},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/llm-driven-collaborative-model-for-untangling-commits-via-explicit-and-implicit-dependency-reasoning/85433/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-07-25","2026-07-16",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72],{"name":73,"@type":74,"acceptedAnswer":75},"What performance improvements does ColaUntangle achieve?","Question",{"text":76,"@type":77},"Across two widely-used datasets, ColaUntangle improves by 44% on the C# dataset and 82% on the Java dataset compared with the best-performing baseline.","Answer","https://schema.org",{"og:url":52,"og:type":80,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":82,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":85},[86,90,94,98,102,107,112,115,120,123,127],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":87,"show_sort_weight":88,"slug":89},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":91,"show_sort_weight":92,"slug":93},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Exam",70,"exam",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Comic",60,"comic",{"id":103,"doc_module":4,"doc_module_name":46,"category_name":104,"show_sort_weight":105,"slug":106},6,"Technology",50,"technology",{"id":108,"doc_module":4,"doc_module_name":46,"category_name":109,"show_sort_weight":110,"slug":111},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":113,"slug":114},30,"research-report",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":46,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":20,"slug":130},19,"General","general"]