Towards the Readability of LLM-Generated Codes through Multitask Representation Engineering
School of Aerospace Engineering, Xiamen University(厦门大学航空航天工程学院);School of Artificial Intelligence, Shenzhen University(深圳大学人工智能学院);College of Computer and Cyber Security, Fujian Normal University(福建师范大学计算机与网络安全部分);Department of Computer & Information Sciences, Northumbria University(北爱尔兰北安普顿大学计算机与信息科学系);School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);Peking University(北京大学)
Correctness and readability are key measures of code quality, respectively ensuring functional fidelity and ease of comprehension. While most existing research focuses on improving the correctness of large language models~(LLMs) generated codes, readability remains under-addressed. Enhancing readability through targeted control is challenging due to its subjective nature. In this article, we employ representation engineering~(RepE) as the targeted control method given its characteristics of low data dependency and low computational cost. Prior work on RepE has primarily focused on the targeted control for a single task, but improving the code readability requires the control across multiple tasks. Accordingly we proposes the multitask RepE framework and theoretically discuss the impact of the multitask steering method on the tradeoff between the code readability and correctness. We further provide comprehensive experiments in support. All the relevant implementations are open-source and available upon request.
Reward Engineering for Software Tasks: A Survey of Reinforcement Learning Approaches
University of California, Riverside(加州大学河滨分校);Shahjalal University of Science and Technology(沙贾拉勒科技大学);University of California, Los Angeles(加州大学洛杉矶分校);Qatar Computing Research Institute (QCRI)(卡塔尔计算机研究所)
Improving Retrieval-Augmented Generation in Medicine with Iterative Follow-up Questions
University of Virginia(弗吉尼亚大学);National Library of Medicine(美国国家医学图书馆);National Institutes of Health(美国国立卫生研究院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
On the Diffusion of Test Smells in LLM-Generated Unit Tests
University of Luxembourg(卢森堡大学);Nanjing University of Science and Technology(南京理工大学);Bilkent University(比尔肯特大学);Singapore Management University(新加坡管理大学)