arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.20367cs.SEcs.CL
收藏

用强化学习增强代码生成中的代码大语言模型:一项综述

Enhancing Code LLMs with Reinforcement Learning in Code Generation: A Survey

SCU(四川大学);UMN(明尼苏达大学);SCNU(华南师范大学);UofT(多伦多大学);Henan Runtai Tech(河南润泰科技);AIGCode;OSU(俄亥俄州立大学);NJU(南京大学);Cornell(康奈尔大学);WashU(华盛顿大学);AMA University(阿曼大学);Emory(埃默里大学);ByteDance(字节跳动);UCSC(加州大学圣塔克鲁兹分校)
Junqiao Wang, Zeng Zhang, Yangfan He, Zihao Zhang, Xinyuan Song, Yuyang Song, Tianyu Shi, Yuchen Li, Hengyuan Xu, Kunyu Wu, Xin Yi, Zhongwei Wan, Xinhang Yuan, … 展开作者

Junqiao Wang, Zeng Zhang, Yangfan He, Zihao Zhang, Xinyuan Song, Yuyang Song, Tianyu Shi, Yuchen Li, Hengyuan Xu, Kunyu Wu, Xin Yi, Zhongwei Wan, Xinhang Yuan, Zijun Wang, Kuan Lu, Menghao Huo, Tang Jingqun, Guangwu Qian, Keqin Li, Qiuwu Chen, Lewei He

AI总结:

本文系统综述了强化学习在代码生成与优化中的应用,涵盖编译器优化、资源分配及框架工具,旨在为相关研究提供全面参考。

摘要:

随着大语言模型(LLM)的快速发展,强化学习(RL)已成为各领域中代码生成与优化的关键技术。本文对强化学习在代码优化与生成中的应用进行了系统性综述,重点阐述了其在提升编译器优化、资源分配以及框架与工具开发方面的作用。后续章节首先深入探讨了编译器优化的复杂过程,其中利用强化学习算法来提高效率和资源利用率。随后,讨论转向强化学习在资源分配中的功能,重点强调寄存器分配和系统优化。我们还探讨了框架与工具在代码生成中日益增长的作用,考察了如何整合强化学习以增强其能力。本综述旨在为有兴趣利用强化学习推进代码生成与优化技术的研究人员和从业者提供一份全面的参考资料。

英文摘要:

With the rapid evolution of large language models (LLM), reinforcement learning (RL) has emerged as a pivotal technique for code generation and optimization in various domains. This paper presents a systematic survey of the application of RL in code optimization and generation, highlighting its role in enhancing compiler optimization, resource allocation, and the development of frameworks and tools. Subsequent sections first delve into the intricate processes of compiler optimization, where RL algorithms are leveraged to improve efficiency and resource utilization. The discussion then progresses to the function of RL in resource allocation, emphasizing register allocation and system optimization. We also explore the burgeoning role of frameworks and tools in code generation, examining how RL can be integrated to bolster their capabilities. This survey aims to serve as a comprehensive resource for researchers and practitioners interested in harnessing the power of RL to advance code generation and optimization techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑