arrow
返回

E-code: Mastering efficient code generation through pretrained models and expert encoder group

delete2025-02-01
delete0
delete
OA
AI
Y
Yue Pan
C
Chen Lyu *
Z
Zhenyu Yang
L
Lantian Li
刘琦 (Qi Liu)
X
Xiuting Shao
DOI:10.1016/j.infsof.2024.107602delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Context: With the waning of Moore's Law, the software industry is placing increasing importance on finding alternative solutions for continuous performance enhancement. The significance and research results of software performance optimization have been on the rise in recent years, especially with the advancement propelled by L arge L anguage M odel s (LLMs). However, traditional strategies for rectifying performance flaws have shown significant limitations at the competitive code efficiency optimization level, and research on this topic is surprisingly scarce. Objective: This study aims to address the research gap in this domain, offering practical solutions to the various challenges encountered. Specifically, we have overcome the constraints of traditional performance error rectification strategies and developed a L anguage M odel (LM) tailored for the competitive code efficiency optimization realm. Methods: We introduced E-code, an advanced program synthesis LM. Inspired by the recent success of expert LMs, we designed an innovative structure called the Expert Encoder Group. This structure employs multiple expert encoders to extract features tailored for different input types. We assessed the performance of E-code against other leading models on a competitive dataset and conducted in-depth ablation experiments. Results: Upon systematic evaluation, E-code achieved a 54.98% improvement in code efficiency, significantly outperforming other advanced models. In the ablation experiments, we further validated the significance of the expert encoder group and other components within E-code. Conclusion: The research findings indicate that the expert encoder group can effectively handle various inputs in efficiency optimization tasks, significantly enhancing the model's performance. In summary, this study paves new avenues for developing systems and methods to assist programmers in writing efficient code.
Keyword:
Code efficiency optimization
Code generation
Code language model
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

S
shandong university
学者数:
9.5W
论文数: 6.4W
被引数: 94
S
shandong normal university
学者数:
1.0W
论文数: 8.2K
被引数: 3
引用论文

引用论文

Spreadsheet Data Manipulation Using Examples
err2012-08-01
err172
PREAI
errGulwani, Sumit; Harris, William R.; Singh, Rishabh
err分享
err收藏
Nanomaterial–microbe cross-talk: physicochemical principles and (patho)biological consequences
err2018-01-01
err0
PREAI
errD. Westmeier; A. Hahlbrock; C. Reinhardt; J. Fröhlich-Nowoisky; S. Wessler; C. Vallet; U. Pöschl; S. K. Knauer; R. H. Stauber
err分享
err收藏
Consolidation of thermoplastic coatings by means of a thulium-doped fiber laser
err2021-10-20
err0
PREAI
errAlexander Wittmann; Johannes Heberle; Florian Huber; Michael Schmidt
err分享
err收藏
Application of RAPD for molecular characterization of plant species of medicinal value from an arid environment
err2010-01-01
err0
errOAAI
errI.A. Arif; M.A. Bakir; H.A. Khan; A.H. Al Farhan; A.A. Al Homaidan; A.H. Bahkali; M. Al Sadoon; M. Shobrak
err分享
err收藏
err分享
err收藏
Variable effects of temperature on insect herbivory温度对昆虫食草的可变影响
err2014-05-06
err0
errOAAI
errNathan P. Lemoine; Deron E. Burkepile; John D. Parker
err分享
err收藏
学者 查看更多内容