mlsanityData to 14 Oct 2026

Automated Classification of Human Code Review Comments with Large Language Models

arXiv 2604.23667 ↗First posted 26 Apr 2026cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

Context: Code reviews are essential for maintaining software quality, yet many human review comments suffer from issues such as redundancy, vagueness, or lack of constructiveness. These types of comments may slow down feedback and obscure important insights. Prior work on code review comments mostly explore the detection and categorization of useful comments, while fine-grained categorization of comment issues remains underexplored. Objective: This work aims to design and evaluate an automated system for classifying code review comments according to specific categories of issues. Methodology: We introduced a nine-label taxonomy for code review comments, covering six review comment smells and three common useful intents, and manually labeled 448 comments from a publicly available dataset. We benchmarked zero-shot and one-shot single-label classification over each comment and its associated unified diff hunk, comparing GPT-5-mini, LLaMA-3.3, and DeepSeek-R1. We reported macro-F1 as the primary metric. Results: Zero-shot performance was moderate under class imbalance (macro-F1 0.360 to 0.374). One-shot exemplar conditioning had model-dependent effects: GPT-5-mini and DeepSeek-R1 macro-F1 scores improved, however LLaMA-3.3 suffered a slight decrease. Exemplars most consistently helped intent-boundary labels, whereas classification of evidence-sensitive labels remain challenging. Conclusion: Our results indicate that comment--diff evidence is sufficient for some labels but limited for evidence-sensitive smells. Future work includes adding thread context, improving intent-preserving rewrites, and validating robustness across platforms.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 26 Apr 2026.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Rethinking Training Data for Generating Code Review Comments
  2. 2024Prompting and Fine-tuning Large Language Models for Automated Code Review Comment Generation
  3. 2025Leveraging Reward Models for Guiding Code Review Comment Generation
  4. 2024Distilling Desired Comments for Enhanced Code Review with Large Language Models
  5. 2026Beyond Lexical Metrics: Sentence-Embedding Detection of Reviewer Habituation in AI Code Review ↗
  6. 2026HalluJudge: A Reference-Free Hallucination Detection for Context Misalignment in Code Review Automation
  7. 2025CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models
  8. 2025Improving Automated Secure Code Reviews: A Synthetic Dataset for Code Vulnerability Flaws