Exploring the Potential of Large Language Models in Fine-Grained Review Comment Classification
Not on the map. Why?
Abstract (arXiv)
Code review is a crucial practice in software development. As code review nowadays is lightweight, various issues can be identified, and sometimes, they can be trivial. Research has investigated automated approaches to classify review comments to gauge the effectiveness of code reviews. However, previous studies have primarily relied on supervised machine learning, which requires extensive manual annotation to train the models effectively. To address this limitation, we explore the potential of using Large Language Models (LLMs) to classify code review comments. We assess the performance of LLMs to classify 17 categories of code review comments. Our results show that LLMs can classify code review comments, outperforming the state-of-the-art approach using a trained deep learning model. In particular, LLMs achieve better accuracy in classifying the five most useful categories, which the state-of-the-art approach struggles with due to low training examples. Rather than relying solely on a specific small training data distribution, our results show that LLMs provide balanced performance across high- and low-frequency categories. These results suggest that the LLMs could offer a scalable solution for code review analytics to improve the effectiveness of the code review process.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 43 references that are in the map. First posted on arXiv 13 Aug 2025.
Builds on
22 of 43 references.
References · 22
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023A Survey of Large Language Modelscited by 2,576
- 2024Qwen2 Technical Reportcited by 2,120
- 2023A Survey on Evaluation of Large Language Modelscited by 1,242
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
- 2023Using an LLM to Help With Code Understandingcited by 228
- 2022Leveraging Large Language Models for Multiple Choice Question Answeringcited by 203
- 2022Large Language Models Meet NL2Code: A Surveycited by 138
- 2022Automating Code Review Activities by Large-Scale Pre-trainingcited by 98
- 2022Using Pre-Trained Models to Boost Code Review Automationcited by 63
10 more
- 2019On Learning Meaningful Code Changes via Neural Machine Translationcited by 50
- 2024How Susceptible are LLMs to Influence in Prompts?cited by 33
- 2024The Effectiveness of LLMs as Annotators: A Comparative Overview and Empirical Analysis of Direct Representationcited by 29
- 2024Knowledge Distillation in Automated Annotation: Supervised Text Classification with LLM-Generated Training Labelscited by 25
- 2023Navigating Prompt Complexity for Zero-Shot Classification: A Study of Large Language Models in Computational Social Sciencecited by 19
- 2018Predicting Usefulness of Code Review Comments using Textual Features and Developer Experiencecited by 13
- 2024Improving Automated Code Reviews: Learning from Experiencecited by 13
- 2023What Makes a Code Review Useful to OpenDev Developers? An Empirical Investigationcited by 10
- 2021Using a Balanced Scorecard to Identify Opportunities to Improve Code Review Effectiveness: An Industrial Experience Reportcited by 4
- 2023Towards Automated Classification of Code Review Feedback to Support Analyticscited by 2
Built on by
Not cited yet.