Transformers in source code generation: A comprehensive survey

计算机科学 变压器 程序设计语言 源代码 电气工程 电压 工程类
作者
Hadi Ghaemi,Zakieh Alizadehsani,Amin Shahraki,Juan M. Corchado
出处
期刊:Journal of Systems Architecture [Elsevier]
卷期号:153: 103193-103193
标识
DOI:10.1016/j.sysarc.2024.103193
摘要

Transformers have revolutionized natural language processing (NLP) and have had a huge impact on 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 are 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 for 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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
2秒前
cjjwei完成签到 ,获得积分10
2秒前
cm完成签到,获得积分10
2秒前
dancingidam完成签到,获得积分10
3秒前
4秒前
云止完成签到 ,获得积分10
4秒前
Ava应助明理慕灵采纳,获得10
5秒前
7秒前
7秒前
光亮绮山完成签到 ,获得积分10
7秒前
doctor2023完成签到,获得积分10
8秒前
许鑫蓁完成签到 ,获得积分10
8秒前
zgdzhj完成签到,获得积分10
10秒前
fantastic完成签到,获得积分10
12秒前
randy0921发布了新的文献求助10
12秒前
permanent完成签到,获得积分10
13秒前
13秒前
丁一完成签到 ,获得积分10
14秒前
15秒前
愤怒的蚂蚁完成签到,获得积分10
16秒前
麦奇完成签到,获得积分10
17秒前
害羞秋莲完成签到,获得积分10
18秒前
18秒前
18秒前
科研通AI2S应助科研通管家采纳,获得10
19秒前
FashionBoy应助科研通管家采纳,获得10
19秒前
酷波er应助科研通管家采纳,获得10
19秒前
科研通AI2S应助科研通管家采纳,获得10
19秒前
彭于晏应助科研通管家采纳,获得10
19秒前
隐形曼青应助科研通管家采纳,获得10
20秒前
领导范儿应助科研通管家采纳,获得10
20秒前
20秒前
20秒前
20秒前
由清涟完成签到,获得积分10
21秒前
whoami完成签到,获得积分10
23秒前
jason发布了新的文献求助10
23秒前
富贵儿完成签到 ,获得积分10
23秒前
hua完成签到,获得积分10
25秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1621
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 1000
Brittle fracture in welded ships 1000
King Tyrant 600
A Guide to Genetic Counseling, 3rd Edition 500
Laryngeal Mask Anesthesia: Principles and Practice. 2nd ed 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5565514
求助须知:如何正确求助?哪些是违规求助? 4650580
关于积分的说明 14691851
捐赠科研通 4592480
什么是DOI,文献DOI怎么找? 2519651
邀请新用户注册赠送积分活动 1492028
关于科研通互助平台的介绍 1463244