LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuning
Open accessThe DOI matches its Crossref record; 26 of the 26 references it cites were found in a registry or an index.
Abstract
The automation of code review activities, a long-standing pursuit in software engineering, has been primarily addressed by numerous domain-specific pre-trained models. Despite their success, these models frequently demand extensive resources for pre-training from scratch. In contrast, Large Language Models (LLMs) provide an intriguing alternative, given their remarkable capabilities when supplemented with domain-specific knowledge. However, their potential for automating code review tasks remains largely unexplored.In response to this research gap, we present LLaMA-Reviewer, an innovative framework that leverages the capabilities of LLaMA, a popular LLM, in the realm of code review. Mindful of resource constraints, this framework employs parameter-efficient fine-tuning (PEFT) methods, delivering high performance while using less than 1% of trainable parameters.An extensive evaluation of LLaMA-Reviewer is conducted on two diverse, publicly available datasets. Notably, even with the smallest LLaMA base model consisting of 6.7B parameters and a limited number of tuning epochs, LLaMA-Reviewer equals the performance of existing code-review-focused models.The ablation experiments provide insights into the influence of various fine-tuning process components, including input representation, instruction tuning, and different PEFT methods. To foster continuous progress in this field, the code and all PEFT-weight plugins have been made open-source.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
LoRA: Low-Rank Adaptation of Large Language Models
Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., & Chen, W. (2021) · arXiv · doi:10.48550/arxiv.2106.09685 · Cited by 13,453 · cited 2×
“In this study, we use two PEFT methods—zero-init attention prefix-tuning [49] and LoRA tuning [48]—to fine-tune LLaMA.”
BackgroundMethodSelf-citationLLaMA: Open and Efficient Foundation Language Models
Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Rozière, B., Goyal, N., Hambro, E., Azhar, F., et al. (2023) · arXiv · doi:10.48550/arxiv.2302.13971 · Cited by 4,602
Training language models to follow instructions with human feedback
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C. L., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., et al. (2022) · arXiv · doi:10.48550/arxiv.2203.02155 · Cited by 4,208
Training Language Models to Follow Instructions with Human Feedback
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., et al. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2011 · Cited by 3,117
The Power of Scale for Parameter-Efficient Prompt Tuning
Lester, B., Al-Rfou, R., & Constant, N. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.243 · Cited by 3,096
The Power of Scale for Parameter-Efficient Prompt Tuning
Lester, B., Al-Rfou, R., & Constant, N. (2021) · arXiv · doi:10.48550/arxiv.2104.08691 · Cited by 3,092
Prefix-Tuning: Optimizing Continuous Prompts for Generation
Li, X. L., & Liang, P. (2021) · Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.18653/v1/2021.acl-long.353 · Cited by 2,473
Liu, H., Li, C., Wu, Q., & Lee, Y. J. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-1516 · Cited by 2,428
Parameter-efficient transfer learning for NLP
Houlsby, N., Giurgiu, A., Jastrzebski, S., Morrone, B., de Laroussilhe, Q., Gesmundo, A., Attariyan, M., & Gelly, S. (2019) · arXiv · doi:10.48550/arxiv.1902.00751 · Cited by 2,270
A Survey of Large Language Models
Zhao, W. X., Zhou, K., Li, J., Tang, T., Dong, Z., Hou, Y., Zhang, B., Min, Y., Zhang, J., Liu, P., et al. (2026) · Frontiers of Computer Science · doi:10.1007/s11704-026-60308-3 · Cited by 2,093 · cited 1×
“LLMs are models with ∼10B parameters or more, pre-trained with extensive data [33].”
BackgroundSelf-citation
Research works printed but not linked: 37
- 10.1109/SANER53432.2022.00080 · DOI
- 10.1145/3551349.3556955 · DOI · Paper page
- 10.1109/ASE51524.2021.9678640 · DOI
- 10.1109/SANER56733.2023.00036 · DOI
- 10.1145/3540250.3549115 · DOI
- 10.1145/3510003.3510213 · DOI
- vaswani, 2017, Attention is all you need, Advances in neural information processing systems, 30
- 10.1016/j.infsof.2020.106455 · DOI
- 10.1145/3377811.3380335 · DOI · Paper page
- 10.1145/3468264.3473134 · DOI
- 10.1609/aaai.v33i01.33014910 · DOI · Paper page
- 10.1016/j.jss.2021.111009 · DOI
- 10.1109/ISSRE52982.2021.00056 · DOI
- 10.1109/ICSME46990.2020.00054 · DOI
- 10.1145/3338906.3340449 · DOI
- 10.1007/s10515-020-00275-6 · DOI
- 10.1145/3183519.3183525 · DOI · Paper page
- 10.1145/2594458 · DOI · Paper page
- sülün, 2019, Suggesting reviewers of software artifacts using traceability graphs, Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 1250
- 10.1145/3540250.3549104 · DOI
- 10.1145/3540250.3549119 · DOI · Paper page
- 10.1145/3540250.3549099 · DOI · Paper page
- 2023, LLaMA-Reviewer Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuning
- spadini, 2020, Primers or reminders? the effects of existing review comments on code review, 2020 IEEE/ACM 42nd International Conference on Software Engineering (ICSE), 1171
- 10.1007/978-3-642-59412-0_35 · doi:10.1007/978-3-642-59412-0_35
- 10.1145/3540250.3549098 · DOI · Paper page
- 10.1109/ICSE.2019.00021 · DOI · Paper page
- 10.1145/3510003.3510621 · DOI · Paper page
- chen, 2019, Sequencer: Sequence-to-sequence learning for end-to-end program repair, IEEE Transactions on Software Engineering, 47, 1943
- 10.1109/ICSE.2013.6606642 · DOI · Paper page
- 10.1145/3510003.3510067 · DOI · Paper page
- 10.1145/3540250.3549081 · DOI · Paper page
- 10.1109/ICSE43902.2021.00027 · DOI · Paper page
- 10.1109/TSE.2022.3158543 · DOI
- 10.1109/SANER48275.2020.9054794 · DOI · Paper page
- gupta, 2018, Intelligent code reviews using deep learning, Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD’18) Deep Learning Day
- 10.1109/SANER53432.2022.00121 · DOI
Cited by
Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Code
Liu, F., Liu, Y., Shi, L., Yang, Z., Zhang, L., Lian, X., Li, Z., & Ma, Y. (2024) · arXiv · doi:10.48550/arxiv.2404.00971 · Cited by 188
Shi, J., Yang, Z., & Lo, D. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3708525 · Cited by 43
Exploring the Capabilities of LLMs for Code-Change-Related Tasks
Fan, L., Liu, J., Liu, Z., Lo, D., Xia, X., & Li, S. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3709358 · Cited by 41
“Researchers pre-trained a large amount of code change data with code-change-oriented objectives [37, 39, 54, 84, 86].”
Resolving Code Review Comments with Machine Learning
Froemmgen, A., Austin, J., Choy, P., Ghelani, N., Kharatyan, L., Surita, G., Khrapko, E., Lamblin, P., Manzagol, P.-A., Revaj, M., et al. (2024) · Proceedings of the 46th International Conference on Software Engineering: Software Engineering in Practice · doi:10.1145/3639477.3639746 · Cited by 21
“The extensive use of the tool in the past year within the company has demonstrated non-trivial, detailed, comprehensive suggested edits that have surprised and delighted developers.”
BackgroundA GPT-Based Code Review System With Accurate Feedback for Programming Education
Lee, D.-K., & Joe, I. (2025) · IEEE Access · doi:10.1109/access.2025.3581139 · Cited by 20
Metadata
- Authors
- Lu, J., Yu, L., Li, X., Yang, L., & Zuo, C.
- Venue
- 2023 IEEE 34th International Symposium on Software Reliability Engineering (ISSRE)
- Publisher
- IEEE
- Published
- 2023-10-09
- Pages
- 647-658
- OpenAlex
- W4388212670
- Cited by
- 112
- References
- 26
- FWCI
- 29.85
- Type
- conference paper
- Language
- en
- Open access
- green
- Funders
- Science and Technology Service Network Plan
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuning. https://app.cochat.ai/papers/10.1109/issre59848.2023.00026
- The paper
- Lu, J., Yu, L., Li, X., Yang, L., & Zuo, C. (2023). LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuning. 2023 IEEE 34th International Symposium on Software Reliability Engineering (ISSRE). https://doi.org/10.1109/issre59848.2023.00026
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.