Archived This paper is outside Paper Radar's one-year feed. More archived papers
Usage of Large Language Model for Code Generation Tasks: A Review
Reading guide · Based on pages from the original PDF
Why read this
Practitioners who want a reading list of early LLM-for-code papers, or an overview of ethical and security concerns, may find it useful, but it provides no new benchmarks or consolidated head-to-head model results.
What the authors found
- The main model comparison in the performance discussion is not drawn from the reviewed corpus. It cites the external DevQualityEval leaderboard: more than 80 LLMs were tested on Java, Go and Ruby over five benchmarking runs. On that leaderboard, o1-preview and o1-mini narrowly beat Claude 3.5 Sonnet on functional performance, but they had much higher latency and verbosity. PDF page 9
- The selected corpus is only loosely about code. The authors classify half the papers as 'technology', 27% as code quality, 7% as reliability and 2% as performance. By application area, 26% concern education. Table 3 also includes healthcare, poetry, agriculture and video-generation papers. PDF page 8
- The authors report that Python dominates, but they base this on the small subset of papers that name a language. Most reviewed papers do not specify one. PDF page 9
Main limitation
The authors acknowledge that excluding preprints and restricting selection to open-access papers biases coverage. They make this choice in a field where they say most early work existed only as preprints. PDF page 10
Where to start
PDF page 10 · Table 2 lists the few genuinely code-focused papers in the corpus, such as LEVER, CodeGen, IntelliCode Compose and GPT-2 JavaScript repair at up to 17.25% accuracy. It is the most useful pointer list in the review.
Abstract
Large Language Models have received a lot of attention in recent years due to their outstanding performance on various Natural Language Processing tasks. They can be used for lots of applications, including assistance in code generation tasks. Actual literature lacks an exhaustive analysis of the benefits and drawbacks of using a Large Language Model for the generation of simple and complex code. This paper aims to overcome the issue: we perform a Literature Review to explore the state-of-the-art of the proposed topic, answering 4 Research Questions. Using the PRISMA methodology, we reviewed 66 papers published between 2021 and 2023. Our analysis reveals Python’s dominance as the preferred language and identifies a significant research gap in addressing ethical constraints. Additionally, we provide insights into the performance of models such as GPT-4 and CodeLlama, and their comparative utility in tasks ranging from debugging to multi-turn program synthesis. The findings offer a foundation for future research aimed at optimizing LLMs for code generation.