arrow
Return

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
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

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.
Keywords:
Code efficiency optimization
Code generation
Code language model
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
7.7K

Organization

S
shandong university
Scholars:
9.5W
Papers: 6.4W
Citations: 94
S
shandong normal university
Scholars:
1.0W
Papers: 8.2K
Citations: 3
Cited Papers

Cited Papers

Spreadsheet Data Manipulation Using Examples
err2012-08-01
err172
PREAI
errGulwani, Sumit; Harris, William R.; Singh, Rishabh
errShare
errSave
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
errShare
errSave
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
errShare
errSave
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
errShare
errSave
errShare
errSave
Variable effects of temperature on insect herbivory
err2014-05-06
err0
errOAAI
errNathan P. Lemoine; Deron E. Burkepile; John D. Parker
errShare
errSave
researcher View more