Abstract
Recent years have seen the remarkable capabilities of large language models (LLMs) for code generation. Different from existing work that evaluate the correctness of the code generated by LLMs, we propose to further evaluate its efficiency. More efficient code can lead to higher performance and execution efficiency of programs and software completed by LLM-assisted programming. First, we evaluate the efficiency of the code generated by LLMs on two benchmarks, HumanEval and MBPP. Then, we choose a set of programming problems from the online judge platform LeetCode to conduct a more difficult evaluation. Finally, we explore several prompts that would enable LLMs to generate more efficient code.
| Original language | English |
|---|---|
| Title of host publication | Proceedings - 2024 IEEE/ACM 1st International Conference on AI Foundation Models and Software Engineering, FORGE 2024 |
| Editors | Massimiliano Di Penta, Xing Hu |
| Place of Publication | New York NY USA |
| Publisher | Association for Computing Machinery (ACM) |
| Pages | 103-107 |
| Number of pages | 5 |
| ISBN (Electronic) | 9798400706097 |
| DOIs | |
| Publication status | Published - 2024 |
| Externally published | Yes |
| Event | IEEE/ACM International Conference on AI Foundation Models and Software Engineering 2024 - Lisbon, Portugal Duration: 14 Apr 2024 → 14 Apr 2024 Conference number: 1st https://dl.acm.org/doi/proceedings/10.1145/3650105 (Proceedings) https://conf.researchr.org/home/forge-2024 (Website) |
Conference
| Conference | IEEE/ACM International Conference on AI Foundation Models and Software Engineering 2024 |
|---|---|
| Abbreviated title | FORGE 2024 |
| Country/Territory | Portugal |
| City | Lisbon |
| Period | 14/04/24 → 14/04/24 |
| Other | co-located with the 46th ACM/IEEE International Conference on Software Engineering, ICSE 2024 |
| Internet address |
|
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver