Automating Code Review Activities by Large-Scale Pre-training
Not on the map. Why?
Abstract (arXiv)
Code review is an essential part to software development lifecycle since it aims at guaranteeing the quality of codes. Modern code review activities necessitate developers viewing, understanding and even running the programs to assess logic, functionality, latency, style and other factors. It turns out that developers have to spend far too much time reviewing the code of their peers. Accordingly, it is in significant demand to automate the code review process. In this research, we focus on utilizing pre-training techniques for the tasks in the code review scenario. We collect a large-scale dataset of real-world code changes and code reviews from open-source projects in nine of the most popular programming languages. To better understand code diffs and reviews, we propose CodeReviewer, a pre-trained model that utilizes four pre-training tasks tailored specifically for the code review scenario. To evaluate our model, we focus on three key tasks related to code review activities, including code change quality estimation, review comment generation and code refinement. Furthermore, we establish a high-quality benchmark dataset based on our collected data for these three tasks and conduct comprehensive experiments on it. The experimental results demonstrate that our model outperforms the previous state-of-the-art pre-training approaches in all tasks. Further analysis show that our proposed pre-training tasks and the multilingual pre-training dataset benefit the model on the understanding of code changes and reviews.
Key facts. Cited by 98 papers in the map (data through 7 Oct 2026). Builds on 22 of its 50 references that are in the map. First posted on arXiv 17 Mar 2022.
Builds on
22 of 50 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
10 more
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2020IntelliCode Compose: Code Generation Using Transformercited by 225
- 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 106
- 2022Using Pre-Trained Models to Boost Code Review Automationcited by 63
- 2021Towards Automating Code Review Activitiescited by 54
- 2020A Systematic Literature Review on the Use of Deep Learning in Software Engineering Researchcited by 35
- 2019CORE: Automating Review Recommendation for Code Changescited by 14
- 2020Deep Learning & Software Engineering: State of Research and Future Directionscited by 9
- 2021Breaking Down Multilingual Machine Translationcited by 8
Built on by
Citing papers per year: 2022: 1; 2023: 15; 2024: 19; 2025: 30; 2026: 33.
98 papers.
Sort:
By area:
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024Large Language Models for Education: A Survey and Outlookcited by 185
- 2022Large Language Models Meet NL2Code: A Surveycited by 135
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2023Retrieving Multimodal Information for Augmented Generation: A Surveycited by 84
- 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 64
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2023LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuningcited by 47
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
- 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generationcited by 39
- 2024Automatic Programming: Large Language Models and Beyondcited by 35
- 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
38 more
- 2024History, Development, and Principles of Large Language Models-An Introductory Surveycited by 30
- 2024NoFunEval: Funny How Code LMs Falter on Requirements Beyond Functional Correctnesscited by 23
- 2024Unsupervised Evaluation of Code LLMs with Round-Trip Correctnesscited by 23
- 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
- 2024AI-Assisted Assessment of Coding Practices in Modern Code Reviewcited by 16
- 2023FLAME: A small language model for spreadsheet formulascited by 15
- 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
- 2025CodeIF-Bench: Evaluating Instruction-Following Capabilities of Large Language Models in Interactive Code Generationcited by 14
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2023Copilot for Xcode: Exploring AI-Assisted Programming by Prompting Cloud-based Large Language Modelscited by 11
- 2023Multilingual Code Co-Evolution Using Large Language Modelscited by 9
- 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-trainingcited by 8
- 2025LAURA: Enhancing Code Review Generation with Context-Enriched Retrieval-Augmented LLMcited by 8
- 2024Prompting and Fine-tuning Large Language Models for Automated Code Review Comment Generationcited by 7
- 2024CRQBench: A Benchmark of Code Reasoning Questionscited by 6
- 2025Combining Large Language Models with Static Analyzers for Code Review Generationcited by 6
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinementcited by 6
- 2025E2Edev: Benchmarking Large Language Models in End-to-End Software Development Taskcited by 6
- 2026RovoDev Code Reviewer: A Large-Scale Online Evaluation of LLM-based Code Review Automation at Atlassiancited by 6
- 2025SecureReviewer: Enhancing Large Language Models for Secure Code Review through Secure-aware Fine-tuningcited by 5
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Contextcited by 5
- 2023Configuration Validation with Large Language Modelscited by 4
- 2024Leveraging Reviewer Experience in Code Review Comment Generationcited by 4
- 2025Improving Deep Assertion Generation via Fine-Tuning Retrieval-Augmented Pre-trained Language Modelscited by 4
- 2025Hallucinations in Code Change to Natural Language Generation: Prevalence and Evaluation of Detection Metricscited by 4
- 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generationcited by 4
- 2026Understanding Dominant Themes in Reviewing Agentic AI-authored Codecited by 4
- 2026Code Review Agent Benchmarkcited by 4
- 2024Survey of Natural Language Processing for Education: Taxonomy, Systematic Review, and Future Trendscited by 3
- 2024Beyond the Sum: Unlocking AI Agents Potential Through Market Forcescited by 3
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
- 2025CodeReviewQA: The Code Review Comprehension Assessment for Large Language Modelscited by 3
- 2025Towards Practical Defect-Focused Automated Code Reviewcited by 3
- 2025Towards Transparent AI: A Survey on Explainable Language Modelscited by 3
- 2025EduAdapt: A Question Answer Benchmark Dataset for Evaluating Grade-Level Adaptability in LLMscited by 3
- 2026Measuring and Exploiting Contextual Bias in LLM-Assisted Security Code Reviewcited by 3
- 2024PatchFinder: A Two-Phase Approach to Security Patch Tracing for Disclosed Vulnerabilities in Open-Source Softwarecited by 2
- 2025LAMS: LLM-Driven Automatic Mode Switching for Assistive Teleoperationcited by 2
50 most cited of 98 All 98 (JSON)
- 2026When Does a Second Model Help? Cross-Model Review in LLM Verification1 Oct 2026
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agents1 Oct 2026
- 2026CRJudgeBench: Can AI Detect Plausible but Invalid Code Reviews?29 Sep 2026
- 2026From Static to Dynamic: Benchmarking Real-World Code Review with MCR-Bench27 Aug 2026
- 2026Large Language Models at the Intersection of Software Engineering and Software Security:An Evidence-Centered Structured Survey and Research Agenda21 Aug 2026
- 2026Adversarial Review: Structured Disagreement for Grounded Agentic Code Review16 Aug 2026
- 2026OpenCodeReview: Determinism over Non-Determinism for Cost-Effective Agent-Based Code Review10 Aug 2026
- 2026From Code Review to Code Critique: Intent, Drift, and Spotlight for AI-Generated Diffs at Scale31 Jul 2026
- 2026Line-Anchored Feedback Cuts Token Costs and Improves Correctness in AI Code Editing14 Jul 2026
- 2026Self-Improving AI Coding Agents Through Accumulated Behavioral Rules: A Closed-Loop Framework13 Jul 2026
- 2026Agents with Feelings? Personality and Emotion in Multi-Agent Software Teams6 Jul 2026
- 2026Is Agentic Code Review Helpful? Mining Developers' Feedback to CodeRabbit Reviews in the Wild3 Jul 2026
38 more
- 2026Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarking27 Jun 2026
- 2026SEVRA-BENCH: Social Engineering of Vulnerabilities in Review Agents11 Jun 2026
- 2026Rethinking Code Review in the Age of AI: A Vision for Agentic Code Review17 May 2026
- 2026AgentModernize: Preserving Business Logic in Legacy Modernization with Multi-Agent LLMs and Behavioral Specification Graphs17 May 2026
- 2026MathlibPR: Pull Request Merge-Readiness Benchmark for Formal Mathematical Libraries8 May 2026
- 2026On the Footprints of Reviewer Bots Feedback on Agentic Pull Requests in OSS GitHub Repositories27 Apr 2026
- 2026Enhancing Large Language Models with Retrieval Augmented Generation for Software Testing and Inspection Automation16 Apr 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026SWE-PRBench: Benchmarking AI Code Review Quality Against Pull Request Feedback27 Mar 2026
- 2026Code Review Agent Benchmark24 Mar 2026
- 2026Measuring and Exploiting Contextual Bias in LLM-Assisted Security Code Review19 Mar 2026
- 2026DRCY: Agentic Hardware Design Reviews13 Mar 2026
- 2026Favia: Forensic Agent for Vulnerability-fix Identification and Analysis13 Feb 2026
- 2026PELLI: Framework to effectively integrate LLMs for quality software generation11 Feb 2026
- 2026Pull Requests as a Training Signal for Repo-Level Code Editing7 Feb 2026
- 2026Synthesizing File-Level Data for Unit Test Generation with Chain-of-Thoughts via Self-Debugging3 Feb 2026
- 2026TimeMachine-bench: A Benchmark for Evaluating Model Capabilities in Repository-Level Migration Tasks30 Jan 2026
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Context27 Jan 2026
- 2026Understanding Dominant Themes in Reviewing Agentic AI-authored Code27 Jan 2026
- 2026Coding in a Bubble? Evaluating LLMs in Resolving Context Adaptation Bugs During Code Adaptation10 Jan 2026
- 2026RovoDev Code Reviewer: A Large-Scale Online Evaluation of LLM-based Code Review Automation at Atlassian3 Jan 2026
- 2025On Assessing the Relevance of Code Reviews Authored by Generative Models17 Dec 2025
- 2025LAURA: Enhancing Code Review Generation with Context-Enriched Retrieval-Augmented LLM1 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025When More Retrieval Hurts: Retrieval-Augmented Code Review Generation7 Nov 2025
- 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generation1 Nov 2025
- 2025SecureReviewer: Enhancing Large Language Models for Secure Code Review through Secure-aware Fine-tuning30 Oct 2025
- 2025Autograder+: A Multi-Faceted AI Framework for Rich Pedagogical Feedback in Programming Education30 Oct 2025
- 2025EduAdapt: A Question Answer Benchmark Dataset for Evaluating Grade-Level Adaptability in LLMs20 Oct 2025
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework20 Oct 2025
- 2025E2Edev: Benchmarking Large Language Models in End-to-End Software Development Task16 Oct 2025
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement4 Oct 2025
- 2025Towards Transparent AI: A Survey on Explainable Language Models25 Sep 2025
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Models19 Sep 2025
- 2025Previously on... Automating Code Review25 Aug 2025
- 2025Exploring the Potential of Large Language Models in Fine-Grained Review Comment Classification13 Aug 2025
- 2025Hallucinations in Code Change to Natural Language Generation: Prevalence and Evaluation of Detection Metrics12 Aug 2025
- 2025A Note on Code Quality Score: LLMs for Maintainable Large Codebases1 Aug 2025
50 newest of 98 All 98 (JSON)
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinementcited by 6
- 2025Issue-Oriented Agent-Based Framework for Automated Review Comment Generationcited by 4
- 2026Understanding Dominant Themes in Reviewing Agentic AI-authored Codecited by 4
- 2026Code Review Agent Benchmarkcited by 4
- 2024Beyond the Sum: Unlocking AI Agents Potential Through Market Forcescited by 3
- 2026Favia: Forensic Agent for Vulnerability-fix Identification and Analysiscited by 1
- 2026DRCY: Agentic Hardware Design Reviewscited by 1
- 2026On the Footprints of Reviewer Bots Feedback on Agentic Pull Requests in OSS GitHub Repositoriescited by 1
- 2026AgentModernize: Preserving Business Logic in Legacy Modernization with Multi-Agent LLMs and Behavioral Specification Graphscited by 1
- 2026Rethinking Code Review in the Age of AI: A Vision for Agentic Code Reviewcited by 1
- 2026SEVRA-BENCH: Social Engineering of Vulnerabilities in Review Agentscited by 1
12 most cited of 19 All 19 (JSON)
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agents1 Oct 2026
- 2026Adversarial Review: Structured Disagreement for Grounded Agentic Code Review16 Aug 2026
- 2026OpenCodeReview: Determinism over Non-Determinism for Cost-Effective Agent-Based Code Review10 Aug 2026
- 2026From Code Review to Code Critique: Intent, Drift, and Spotlight for AI-Generated Diffs at Scale31 Jul 2026
- 2026Self-Improving AI Coding Agents Through Accumulated Behavioral Rules: A Closed-Loop Framework13 Jul 2026
- 2026Agents with Feelings? Personality and Emotion in Multi-Agent Software Teams6 Jul 2026
- 2026Is Agentic Code Review Helpful? Mining Developers' Feedback to CodeRabbit Reviews in the Wild3 Jul 2026
- 2026SEVRA-BENCH: Social Engineering of Vulnerabilities in Review Agents11 Jun 2026
- 2026Rethinking Code Review in the Age of AI: A Vision for Agentic Code Review17 May 2026
- 2026AgentModernize: Preserving Business Logic in Legacy Modernization with Multi-Agent LLMs and Behavioral Specification Graphs17 May 2026
- 2026On the Footprints of Reviewer Bots Feedback on Agentic Pull Requests in OSS GitHub Repositories27 Apr 2026
- 2026Code Review Agent Benchmark24 Mar 2026
12 newest of 19 All 19 (JSON)
- 2025LAURA: Enhancing Code Review Generation with Context-Enriched Retrieval-Augmented LLMcited by 8
- 2025Improving Deep Assertion Generation via Fine-Tuning Retrieval-Augmented Pre-trained Language Modelscited by 4
- 2025Improving Retrieval-Augmented Deep Assertion Generation via Joint Trainingcited by 2
- 2025When More Retrieval Hurts: Retrieval-Augmented Code Review Generationcited by 2
- 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
- 2025LAURA: Enhancing Code Review Generation with Context-Enriched Retrieval-Augmented LLM1 Dec 2025
- 2025When More Retrieval Hurts: Retrieval-Augmented Code Review Generation7 Nov 2025
- 2025Improving Deep Assertion Generation via Fine-Tuning Retrieval-Augmented Pre-trained Language Models22 Feb 2025
- 2025Improving Retrieval-Augmented Deep Assertion Generation via Joint Training15 Feb 2025
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2024CRQBench: A Benchmark of Code Reasoning Questionscited by 6
- 2026Synthesizing File-Level Data for Unit Test Generation with Chain-of-Thoughts via Self-Debuggingcited by 0
- 2026MathlibPR: Pull Request Merge-Readiness Benchmark for Formal Mathematical Librariescited by 0
- 2026MathlibPR: Pull Request Merge-Readiness Benchmark for Formal Mathematical Libraries8 May 2026
- 2026Synthesizing File-Level Data for Unit Test Generation with Chain-of-Thoughts via Self-Debugging3 Feb 2026
- 2024CRQBench: A Benchmark of Code Reasoning Questions15 Aug 2024
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024Large Language Models for Education: A Survey and Outlookcited by 185
- 2022Large Language Models Meet NL2Code: A Surveycited by 135
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2023Retrieving Multimodal Information for Augmented Generation: A Surveycited by 84
- 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 64
- 2023LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuningcited by 47
- 2023Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructionscited by 46
- 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generationcited by 39
- 2024Automatic Programming: Large Language Models and Beyondcited by 35
- 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
- 2024History, Development, and Principles of Large Language Models-An Introductory Surveycited by 30
12 most cited of 68 All 68 (JSON)
- 2026When Does a Second Model Help? Cross-Model Review in LLM Verification1 Oct 2026
- 2026CRJudgeBench: Can AI Detect Plausible but Invalid Code Reviews?29 Sep 2026
- 2026From Static to Dynamic: Benchmarking Real-World Code Review with MCR-Bench27 Aug 2026
- 2026Large Language Models at the Intersection of Software Engineering and Software Security:An Evidence-Centered Structured Survey and Research Agenda21 Aug 2026
- 2026Line-Anchored Feedback Cuts Token Costs and Improves Correctness in AI Code Editing14 Jul 2026
- 2026Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarking27 Jun 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026SWE-PRBench: Benchmarking AI Code Review Quality Against Pull Request Feedback27 Mar 2026
- 2026Measuring and Exploiting Contextual Bias in LLM-Assisted Security Code Review19 Mar 2026
- 2026PELLI: Framework to effectively integrate LLMs for quality software generation11 Feb 2026
- 2026Pull Requests as a Training Signal for Repo-Level Code Editing7 Feb 2026
- 2026TimeMachine-bench: A Benchmark for Evaluating Model Capabilities in Repository-Level Migration Tasks30 Jan 2026
12 newest of 68 All 68 (JSON)