Improving the Learning of Code Review Successive Tasks with Cross-Task Knowledge Distillation
Not on the map. Why?
Abstract (arXiv)
Code review is a fundamental process in software development that plays a pivotal role in ensuring code quality and reducing the likelihood of errors and bugs. However, code review can be complex, subjective, and time-consuming. Quality estimation, comment generation, and code refinement constitute the three key tasks of this process, and their automation has traditionally been addressed separately in the literature using different approaches. In particular, recent efforts have focused on fine-tuning pre-trained language models to aid in code review tasks, with each task being considered in isolation. We believe that these tasks are interconnected, and their fine-tuning should consider this interconnection. In this paper, we introduce a novel deep-learning architecture, named DISCOREV, which employs cross-task knowledge distillation to address these tasks simultaneously. In our approach, we utilize a cascade of models to enhance both comment generation and code refinement models. The fine-tuning of the comment generation model is guided by the code refinement model, while the fine-tuning of the code refinement model is guided by the quality estimation model. We implement this guidance using two strategies: a feedback-based learning objective and an embedding alignment objective. We evaluate DISCOREV by comparing it to state-of-the-art methods based on independent training and fine-tuning. Our results show that our approach generates better review comments, as measured by the BLEU score, as well as more accurate code refinement according to the CodeBLEU score
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Feb 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 1.
7 papers.
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 56
- 2025Combining Large Language Models with Static Analyzers for Code Review Generationcited by 6
- 2024Leveraging Reviewer Experience in Code Review Comment Generationcited by 4
- 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generationcited by 4
- 2025Towards Practical Defect-Focused Automated Code Reviewcited by 3
- 2025Leveraging Reward Models for Guiding Code Review Comment Generationcited by 1
- 2026Enhancing Large Language Models with Retrieval Augmented Generation for Software Testing and Inspection Automationcited by 0
- 2026Enhancing Large Language Models with Retrieval Augmented Generation for Software Testing and Inspection Automation16 Apr 2026
- 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generation1 Nov 2025
- 2025Leveraging Reward Models for Guiding Code Review Comment Generation4 Jun 2025
- 2025Towards Practical Defect-Focused Automated Code Review23 May 2025
- 2025Combining Large Language Models with Static Analyzers for Code Review Generation10 Feb 2025
- 2024Leveraging Reviewer Experience in Code Review Comment Generation17 Sep 2024
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferences14 Mar 2024