arrow
Return

Transformers in source code generation: A comprehensive survey

delete2024-08-01
delete1
PRE
AI
H
Hadi Ghaemi *
Z
Zakieh Alizadehsani
A
Amin Shahraki *
J
Juan M. Corchado
DOI:10.1016/j.sysarc.2024.103193delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Transformers have revolutionized natural language processing (NLP) and have had a huge impact automating tasks. Recently, transformers have led to the development of powerful large language models (LLMs), which have advanced automatic code generation. This study provides a review of code generation concepts and transformer applications in this field. First, the fundamental concepts of the attention mechanism embedded into transformers are explored. Then, predominant automated code generation approaches briefly reviewed, including non -learning code generation (e.g., rule -based), shallow learning (e.g., heuristic rules, grammar -based), and deep learning models. Afterward, this survey reviews pre -training and fine-tuning techniques for code generation, focusing on the application of efficient transformer methods such as parameter efficient tuning, instruction tuning, and prompt tuning. Additionally, this work briefly outlines resources code generation (e.g., datasets, benchmarks, packages) and evaluation metrics utilized in code generation processes. Finally, the challenges and potential research directions (e.g., multimodal learning) are investigated in depth.
Keywords:
Code generation
Transformers
Large language models(LLMs)
Pre-training
Efficient fine-tuning
Prompt-tuning
Alignment-tuning

Journal

Journal of Systems Architecture cover
Journal of Systems Architecture
IF:
4.1
Papers:
2.9K
Citations:
4.2K

Organization

F
Ferdowsi University Mashhad
Scholars:
8.0K
Papers: 7.4K
Citations: 44
U
university of oslo
Scholars:
4.2W
Papers: 3.5W
Citations: 53
U
University of Salamanca
Scholars:
1.1W
Papers: 8.0K
Citations: 9
researcher View more organizations