English

PwR: Exploring the Role of Representations in Conversational Programming

Human-Computer Interaction 2023-09-19 v1 Software Engineering

Abstract

Large Language Models (LLMs) have revolutionized programming and software engineering. AI programming assistants such as GitHub Copilot X enable conversational programming, narrowing the gap between human intent and code generation. However, prior literature has identified a key challenge--there is a gap between user's mental model of the system's understanding after a sequence of natural language utterances, and the AI system's actual understanding. To address this, we introduce Programming with Representations (PwR), an approach that uses representations to convey the system's understanding back to the user in natural language. We conducted an in-lab task-centered study with 14 users of varying programming proficiency and found that representations significantly improve understandability, and instilled a sense of agency among our participants. Expert programmers use them for verification, while intermediate programmers benefit from confirmation. Natural language-based development with LLMs, coupled with representations, promises to transform software development, making it more accessible and efficient.

Keywords

Cite

@article{arxiv.2309.09495,
  title  = {PwR: Exploring the Role of Representations in Conversational Programming},
  author = {Pradyumna YM and Vinod Ganesan and Dinesh Kumar Arumugam and Meghna Gupta and Nischith Shadagopan and Tanay Dixit and Sameer Segal and Pratyush Kumar and Mohit Jain and Sriram Rajamani},
  journal= {arXiv preprint arXiv:2309.09495},
  year   = {2023}
}

Comments

23 pages, 3 figures, 2 tables, under submission for ACM CHI 2024

R2 v1 2026-06-28T12:24:20.787Z