LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuning
Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);School of Software, Tsinghua University(清华大学软件学院);Sinosoft Company Limited(中科软科技股份有限公司)
Junyi Lu, Lei Yu, Xiaojia Li, Li Yang, Chun Zuo
备注:
Accepted to the 34th IEEE International Symposium on Software Reliability Engineering (ISSRE 2023)
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.
Bridge-AI Lab(Bridge-AI实验室);University of Central Florida(中佛罗里达大学);Auburn University(奥本大学);Wichita State University(威奇托州立大学);Gustavus Adolphus College(古斯塔夫斯阿道夫学院)
DeepCRCEval: Revisiting the Evaluation of Code Review Comment Generation
Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Kuaishou Technology(快手科技);Sinosoft Company Limited(中软公司)
Exploring and steering the moral compass of Large Language Models
Ernst Strüngmann Institute for Neuroscience(恩斯特·施特伦格曼神经科学研究所);Max Planck Society(马克斯·普朗克学会);Laboratory for Clinical Neuroscience(临床神经科学实验室);Centre for Biomedical Technology(生物医学技术中心);Universidad Politécnica de Madrid(马德里理工大学)
Exploring the use of a Large Language Model for data extraction in systematic reviews: a rapid feasibility study
National Institute for Health and Care Research Innovation Observatory(英国国家健康与护理研究院创新观测站);Newcastle University(纽卡斯尔大学);University of Edinburgh(爱丁堡大学);UCL Social Research Institute(伦敦大学学院社会研究所);University College London(伦敦大学学院);Institute for Quality and Efficiency in Health Care(德国医疗保健质量与效率研究所);Medical Center - University of Freiburg(弗莱堡大学医学中心);International Initiative for Impact Evaluation (3ie)(国际影响评估倡议);University of East Anglia(东英吉利大学)
CycleResearcher: Improving Automated Research via Automated Review
Research Center for Industries of the Future, Westlake University(西湖大学未来产业研究中心);School of Engineering, Westlake University(西湖大学工程学院);Zhejiang University(浙江大学);William&Mary(威廉玛丽学院);University College London(伦敦大学学院)
Automated ICD Classification of Psychiatric Diagnoses: From Classical NLP to Large Language Models
Department of Sistemas Informáticos, Universidad Politécnica de Madrid, Spain(西班牙马德里理工大学信息系统系);KNODIS Research Group, Universidad Politécnica de Madrid, Spain(西班牙马德里理工大学KNODIS研究组);CIBERSAM ISCIII, Spain(西班牙ISCIII CIBERSAM);Department of Legal Medicine, Psychiatry and Pathology. Complutense University of Madrid, Spain(西班牙马德里康普顿斯大学法医学、精神病学与病理学系);Hospital Universitario de Móstoles, Universidad Rey Juan Carlos, Spain(西班牙雷阿尔皇家卡洛斯大学莫斯特oles大学医院);Department of Psychiatry, University Hospital Jimenez Díaz Fundation, Madrid, Spain(西班牙圣地亚哥· jiménez Díaz基金会精神病科部);Department of Psychiatry, University Hospital Rey Juan Carlos, Móstoles, Spain(西班牙雷阿尔皇家卡洛斯大学莫斯特oles医院精神病科部);Department of Psychiatry, General Hospital of Villalba, Madrid, Spain(西班牙维拉尔巴医院精神病科部);Department of Psychiatry, University Hospital Infanta Elena, Madrid, Spain(西班牙伊菲格尼亚医院精神病科部);Department of Psychology, Universidad Catolica del Maule, Talca, Chile(智利马尔学院心理学系);Department of Psychiatry, Madrid Autonomous University, Madrid, Spain(西班牙马德里自治大学精神病科部)
Evaluating Large Language Models for Automated Clinical Abstraction in Pulmonary Embolism Registries: Performance Across Model Sizes, Versions, and Parameters
Duke University Health System(杜克大学医疗系统);Duke University(杜克大学);Duke Clinical Research Institute(杜克临床研究所)
A Lightweight Large Language Model-Based Multi-Agent System for 2D Frame Structural Analysis
Department of Civil and Architectural Engineering, University of Miami(迈阿密大学土木与建筑工程系);Department of Electrical and Computer Engineering, University of Miami(迈阿密大学电气与计算机工程系);College of Civil Engineering, Hunan University(湖南大学土木学院);Department of Computer Science, University of Illinois Chicago(伊利诺伊大学芝加哥分校计算机科学系);Department of Civil and Environmental Engineering, Washington State University(华盛顿州立大学土木与环境工程系);School of Architecture, University of Miami(迈阿密大学建筑学院)
Instruction-Tuning Large Language Models with Medical Classification Data Improves ICD Coding of German Tumor Diagnoses
University Medical Center of the Johannes Gutenberg University Mainz(美因茨约翰内斯·古腾堡大学医学中心);University Cancer Center of the Johannes Gutenberg University Mainz(美因茨约翰内斯·古腾堡大学癌症中心)
Comprehensive Evaluation and Insights into the Use of Large Language Models in the Automation of Behavior-Driven Development Acceptance Test Formulation
Can LLMs Find Bugs in Code? An Evaluation from Beginner Errors to Security Vulnerabilities in Python and C++
1 Dept. of Computer Information Systems, Texas A\&M University - Central Texas, TX, 76549 USA.;2 LSU Center for Computation \& Technology, Louisiana State University, Baton Rouge, LA, 70803 USA.;3 Department of Physics;Astronomy, Louisiana State University, Baton Rouge, LA, 70803 USA.;4 Applied Computer Science (CCS-7), Los Alamos National Laboratory, Los Alamos, NM 87545 USA.
SmartHomeSecure: Automated Detection and Repair of Smart Home Configuration Errors Using Large Language Models
Myers-Lawson School of Construction, Virginia Polytechnic Institute and State University(Myers-Lawson工程学院,弗吉尼亚理工学院和州立大学);School of Technology, Eastern Illinois University(技术学院,东伊利诺伊大学)