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
On the Time Efficiency of Code Generated and Optimized by Large Language Models
err2026-07-03
err0
PREAI
errYun Peng; Jun Wan; Xiaoxue Ren; Tim Menzies; Michael R. Lyu
errShare
errSave
A Survey on Large Language Models for Code Generation
err2026-02-01
err33
PREAI
errJiang, Juyong; Wang, Fan; Shen, Jiasi; Kim, Sungju; Kim, Sunghun
errShare
errSave
ABC: Towards a Universal Code Styler through Model Merging
err2025-10-01
err0
PREAI
errChen, Yitong; Gao, Zhiqiang; Shi, Chuanqi; Li, Baixuan; Gao, Miao
errShare
errSave
Efficient and Universal Watermarking for LLM-Generated Code Detection
err2026-07-06
err0
PREAI
errBoquan Li; Zirui Fu; Mengdi Zhang; Peixin Zhang; Jun Sun; Xingmei Wang
errShare
errSave
errShare
errSave
Leveraging pre-trained language models for code generation
err2024-02-29
err2
errOAAI
errSoliman, Ahmed; Shaheen, Samir; Hadhoud, Mayada
errShare
errSave
Steer Your Model: Secure Code Generation With Contrastive Decoding
err2026-01-05
err0
PREAI
errLi Huang; Meng Yan; Tao Yin; Weifeng Sun; Zhongxin Liu; Hongyu Zhang; David Lo
errShare
errSave
Self-Planning Code Generation with Large Language Models
err2024-09-27
err0
errOAAI
errJiang, Xue; Dong, Yihong; Wang, Lecheng; Fang, Zheng; Shang, Qiwei; Li, Ge; Jin, Zhi; Jiao, Wenpin
errShare
errSave

Journal

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

Organization

shandong normal university cover
shandong normal university
Scholars:
1.2K
Papers: 378
Citations: 6.3K
Shandong University cover
Shandong University
Scholars:
8.8K
Papers: 2.4K
Citations: 4.2W
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
Variable effects of temperature on insect herbivory
err2014-05-06
err0
errOAAI
errNathan P. Lemoine; Deron E. Burkepile; John D. Parker
errShare
errSave
errShare
errSave
researcher View more