跳到主要导航 跳到搜索 跳到主要内容

FastFixer: An Efficient and Effective Approach for Repairing Programming Assignments

  • Beihang University
  • Peking University
  • Huawei Technologies Co., Ltd.

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Providing personalized and timely feedback for student's programming assignments is useful for programming education. Automated program repair (APR) techniques have been used to fix the bugs in programming assignments, where the Large Language Models (LLMs) based approaches have shown promising results. Given the growing complexity of identifying and fixing bugs in advanced programming assignments, current fine-tuning strategies for APR are inadequate in guiding the LLM to identify bugs and make accurate edits during the generative repair process. Furthermore, the autoregressive decoding approach employed by the LLM could potentially impede the efficiency of the repair, thereby hindering the ability to provide timely feedback. To tackle these challenges, we propose FastFixer, an efficient and effective approach for programming assignment repair. To assist the LLM in accurately identifying and repairing bugs, we first propose a novel repair-oriented fine-tuning strategy, aiming to enhance the LLM's attention towards learning how to generate the necessary patch and its associated context. Furthermore, to speed up the patch generation, we propose an inference acceleration approach that is specifically tailored for the program repair task. The evaluation results demonstrate that FastFixer obtains an overall improvement of 20.46% in assignment fixing when compared to the state-of-the-art baseline. Considering the repair efficiency, FastFixer achieves a remarkable inference speedup of 16.67× compared to the autoregressive decoding algorithm.

源语言英语
主期刊名Proceedings - 2024 39th ACM/IEEE International Conference on Automated Software Engineering, ASE 2024
出版商Association for Computing Machinery, Inc
669-680
页数12
ISBN(电子版)9798400712487
DOI
出版状态已出版 - 27 10月 2024
活动39th ACM/IEEE International Conference on Automated Software Engineering, ASE 2024 - Sacramento, 美国
期限: 28 10月 20241 11月 2024

出版系列

姓名Proceedings - 2024 39th ACM/IEEE International Conference on Automated Software Engineering, ASE 2024

会议

会议39th ACM/IEEE International Conference on Automated Software Engineering, ASE 2024
国家/地区美国
Sacramento
时期28/10/241/11/24

指纹

探究 'FastFixer: An Efficient and Effective Approach for Repairing Programming Assignments' 的科研主题。它们共同构成独一无二的指纹。

引用此