Understanding the Human-LLM Dynamic: A Literature Survey of LLM Use in Programming Tasks
University of Waterloo(滑铁卢大学)
Deborah Etsenake, Meiyappan Nagappan
备注:
Revised version: Corrected citation errors in the Learning Check subsection (Section RQ2), updated the RQ2 summary to more accurately reflect the mixed results in the data, and added clarifying notes on implementation structure as a moderating variable for learning outcomes. 16 pages, 8 tables, 2 figures
Large Language Models (LLMs) are transforming programming practices, offering significant capabilities for code generation activities. While researchers have explored the potential of LLMs in various domains, this paper focuses on their use in programming tasks, drawing insights from user studies that assess the impact of LLMs on programming tasks. We first examined the user interaction behaviors with LLMs observed in these studies, from the types of requests made to task completion strategies. Additionally, our analysis reveals both benefits and weaknesses of LLMs showing mixed effects on the human and task. Lastly, we looked into what factors from the human, LLM or the interaction of both, affect the human's enhancement as well as the task performance. Our findings highlight the variability in human-LLM interactions due to the non-deterministic nature of both parties (humans and LLMs), underscoring the need for a deeper understanding of these interaction patterns. We conclude by providing some practical suggestions for researchers as well as programmers.
A Survey of Machine Learning for Big Code and Naturalness
Microsoft Research(微软研究院);University College London(伦敦大学学院);University of California, Davis(加州大学戴维斯分校);University of Edinburgh(爱丁堡大学);The Alan Turing Institute(艾伦·图灵研究所)