Significant Productivity Gains through Programming with Large Language Models

Thomas Weber, Maximilian Brandmaier, Albrecht Schmidt and Sven Mayer

Abstract

Large language models like GPT and Codex drastically alter many daily tasks, including programming, where they can rapidly generate code from natural language or informal specifications. Thus, they will change what it means to be a programmer and how programmers act during software development. This work explores how AI assistance for code generation impacts productivity. In our user study (N=24), we asked programmers to complete Python programming tasks supported by a) an auto-complete interface using GitHub Copilot, b) a conversational system using GPT-3, and c) traditionally with just the web browser. Aside from significantly increasing productivity metrics, participants displayed distinctive usage patterns and strategies, highlighting that the form of presentation and interaction affects how users engage with these systems. Our findings emphasize the benefits of AI-assisted coding and highlight the different design challenges for these systems.

Venue
EICS 2024
Volume
Proceedings of the ACM on Human-Computer Interaction, Volume 8, Issue EICS
DOI
10.1145/3661145
PDF
https://dl.acm.org/doi/pdf/10.1145/3661145
Anthology ID
2024.pacm-eics.13

Cite

@article{weber-etal-2024-significant,
    title = {{Significant Productivity Gains through Programming with Large Language Models}},
    author = {Thomas Weber and Maximilian Brandmaier and Albrecht Schmidt and Sven Mayer},
    journal = {Proceedings of the ACM on Human-Computer Interaction},
    volume = {8},
    number = {EICS},
    issn = {2573-0142},
    year = {2024},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3661145},
    url = {https://doi.org/10.1145/3661145},
    abstract = {Large language models like GPT and Codex drastically alter many daily tasks, including programming, where they can rapidly generate code from natural language or informal specifications. Thus, they will change what it means to be a programmer and how programmers act during software development. This work explores how AI assistance for code generation impacts productivity. In our user study (N=24), we asked programmers to complete Python programming tasks supported by a) an auto-complete interface using GitHub Copilot, b) a conversational system using GPT-3, and c) traditionally with just the web browser. Aside from significantly increasing productivity metrics, participants displayed distinctive usage patterns and strategies, highlighting that the form of presentation and interaction affects how users engage with these systems. Our findings emphasize the benefits of AI-assisted coding and highlight the different design challenges for these systems.}
}