[Paper Review] Convo: What does conversational programming need? An exploration of machine learning interface design
This study evaluates voice, text, and multimodal input in a conversational programming system called Convo, finding that users prefer flexible input modes tailored to their experience level. It identifies key design needs: multimodal support, visualizations, improved ASR/NLU, and reduced cognitive load to enhance accessibility and learning in programming education.
Vast improvements in natural language understanding and speech recognition have paved the way for conversational interaction with computers. While conversational agents have often been used for short goal-oriented dialog, we know little about agents for developing computer programs. To explore the utility of natural language for programming, we conducted a study ($n$=45) comparing different input methods to a conversational programming system we developed. Participants completed novice and advanced tasks using voice-based, text-based, and voice-or-text-based systems. We found that users appreciated aspects of each system (e.g., voice-input efficiency, text-input precision) and that novice users were more optimistic about programming using voice-input than advanced users. Our results show that future conversational programming tools should be tailored to users' programming experience and allow users to choose their preferred input mode. To reduce cognitive load, future interfaces can incorporate visualizations and possess custom natural language understanding and speech recognition models for programming.
Motivation & Objective
- Investigate the usability and cognitive load of voice, text, and multimodal input in conversational programming for novice and advanced users.
- Address the lack of empirical research on conversational AI for programming, especially regarding input modality preferences and learning outcomes.
- Evaluate whether current natural language understanding (NLU) and automatic speech recognition (ASR) technologies are sufficient for standalone conversational coding systems.
- Explore how conversational programming can lower barriers to entry in programming education and support computational thinking development.
- Inform the design of future interactive machine learning systems with evidence-based recommendations for accessibility and usability.
Proposed method
- Developed Convo, a conversational programming agent with a voice user interface (VUI), natural language understanding (NLU), dialogue management (DM), and a programming engine (PE).
- Conducted a user study with 45 participants (novice and advanced programmers) completing tasks using voice-only, text-only, and voice-or-text multimodal systems.
- Collected quantitative data on task completion time, system resets, utterance length, and help requests as cognitive load indicators.
- Gathered qualitative feedback via Likert-scale and open-ended questions on usability, satisfaction, preference, and experience.
- Performed thematic and quantitative analysis to identify patterns in user preferences, system performance, and design challenges.
- Explored the impact of constrained vs. unconstrained natural language input and the role of visualizations in reducing cognitive load.
Experimental results
Research questions
- RQ1What is the preferred input modality for a conversational programming tool—voice, text, or multimodal—across different user experience levels?
- RQ2How do different input modalities (voice, text, voice-or-text) affect cognitive load during programming tasks?
- RQ3Do novice and advanced programmers differ in their preferences and performance when using conversational programming systems?
- RQ4Are current automatic speech recognition (ASR) and natural language understanding (NLU) technologies adequate for conversational coding without visual support?
- RQ5Is constrained or unconstrained natural language input more effective and user-friendly in conversational programming interfaces?
Key findings
- Novice users expressed greater optimism about voice-based programming than advanced users, suggesting voice input may lower entry barriers for beginners.
- No significant differences were found in cognitive load indicators (time to completion, number of resets, help requests) across voice, text, and multimodal systems, indicating all modes are viable in terms of task efficiency.
- Users consistently requested improved speech recognition and reduced constraints on natural language input, highlighting limitations in current ASR and NLU for programming contexts.
- Participants reported high cognitive load when using voice-only systems due to lack of visual feedback, underscoring the need for visualizations to support mental model building.
- There was strong user demand for more natural, unconstrained language input (e.g., 'nope', 'no thanks') and immediate system feedback, suggesting that interactive, responsive agents enhance user experience.
- The study supports the design of flexible, multimodal conversational programming systems that adapt to user experience and allow input mode choice to reduce frustration and cognitive strain.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.