PwR: Exploring the Role of Representations in Conversational Programming
Pradyumna YM, Vinod Ganesan, Dinesh Kumar Arumugam, Meghna Gupta,, Nischith Shadagopan, Tanay Dixit, Sameer Segal, Pratyush Kumar, Mohit Jain,, Sriram Rajamani

TL;DR
This paper introduces PwR, a novel approach that uses representations to improve user understanding and agency in conversational programming with LLMs, addressing the gap between user mental models and AI understanding.
Contribution
The paper proposes Programming with Representations (PwR), a new method that enhances interpretability and user trust in conversational programming systems using natural language representations.
Findings
Representations significantly improve understandability.
Participants felt a greater sense of agency.
Expert programmers use representations for verification.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEthics and Social Impacts of AI · Artificial Intelligence in Healthcare and Education · AI in Service Interactions
