Issue-Oriented Agent-Based Framework for Automated Review Comment Generation
ACM Transactions on Software Engineering and Methodology · 30.11.2026 · 35 (11) · 1-27
DOI: 10.1145/3817606 ↗Kurz gefasst
Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 04.11.2026. Verfasst von Shuochuan Li und 5 weiteren Autor:innen. Die Arbeit wurde bisher 3-mal zitiert (Crossref) und nennt 71 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Natural Science Foundation of China.
Abstract (Originalsprache)
Code review (CR) is a crucial practice for ensuring software quality. Various automated review comment generation techniques have been proposed to streamline the labor-intensive process. However, existing approaches heavily rely on a single model to identify various issues within the code, limiting the model’s ability to handle the diverse, issue-specific nature of code changes and leading to non-informative comments, especially in complex scenarios such as bug fixes. To address these limitations, we propose RevAgent, a novel agent-based issue-oriented framework, decomposes the task into three stages: (1) Generation Stage, where five category-specific commentator agents analyze code changes from distinct issue perspectives and generate candidate comments; (2) Discrimination Stage, where a critic agent selects the most appropriate issue-comment pair; and (3) Training Stage, where all agents are fine-tuned on curated, category-specific data to enhance task specialization. Evaluation results show that RevAgent significantly outperforms state-of-the-art PLM- and LLM-based baselines, with improvements of 12.90%, 10.87%, 6.32%, and 8.57% on BLEU, ROUGE-L, METEOR, and SBERT, respectively. It also achieves relatively higher accuracy in issue-category identification, particularly for challenging scenarios. Human evaluations further validate the practicality of RevAgent in generating accurate, readable, and context-aware review comments. Moreover, RevAgent delivers a favorable tradeoff between performance and efficiency.
Förderung
- National Natural Science Foundation of China
Zitieren
APA
Li, S., Wang, D., Thongtanunam, P., Wang, Z., Yu, J., & Chen, J. (2026). Issue-Oriented Agent-Based Framework for Automated Review Comment Generation. ACM Transactions on Software Engineering and Methodology, 35(11), 1-27. https://doi.org/10.1145/3817606
Vancouver
Li S, Wang D, Thongtanunam P, Wang Z, Yu J, Chen J. Issue-Oriented Agent-Based Framework for Automated Review Comment Generation. ACM Transactions on Software Engineering and Methodology. 2026;35(11):1-27. doi:10.1145/3817606
BibTeX
@article{Li2026,
author = {Li, Shuochuan and Wang, Dong and Thongtanunam, Patanamon and Wang, Zan and Yu, Jiuqiao and Chen, Junjie},
title = {Issue-Oriented Agent-Based Framework for Automated Review Comment Generation},
journal = {ACM Transactions on Software Engineering and Methodology},
year = {2026},
volume = {35},
number = {11},
pages = {1--27},
doi = {10.1145/3817606}
}
EUVIMED