Skip to main navigation Skip to search Skip to main content

WaitGPT: Monitoring and Steering Conversational LLM Agent in Data Analysis with On-the-Fly Code Visualization

  • Liwenhan Xie
  • , Chengbo Zheng
  • , Haijun Xia
  • , Huamin Qu
  • , Chen Zhu-Tian

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Large language models (LLMs) support data analysis through conversational user interfaces, as exemplified in OpenAI's ChatGPT (formally known as Advanced Data Analysis or Code Interpreter). Essentially, LLMs produce code for accomplishing diverse analysis tasks. However, presenting raw code can obscure the logic and hinder user verification. To empower users with enhanced comprehension and augmented control over analysis conducted by LLMs, we propose a novel approach to transform LLM-generated code into an interactive visual representation. In the approach, users are provided with a clear, step-by-step visualization of the LLM-generated code in real time, allowing them to understand, verify, and modify individual data operations in the analysis. Our design decisions are informed by a formative study (N=8) probing into user practice and challenges. We further developed a prototype named WaitGPT and conducted a user study (N=12) to evaluate its usability and effectiveness. The findings from the user study reveal that WaitGPT facilitates monitoring and steering of data analysis performed by LLMs, enabling participants to enhance error detection and increase their overall confidence in the results.

Original languageEnglish (US)
Title of host publicationUIST 2024 - Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology
PublisherAssociation for Computing Machinery, Inc
ISBN (Electronic)9798400706288
DOIs
StatePublished - Oct 13 2024
Event37th Annual ACM Symposium on User Interface Software and Technology, UIST 2024 - Pittsburgh, United States
Duration: Oct 13 2024Oct 16 2024

Publication series

NameUIST 2024 - Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology

Conference

Conference37th Annual ACM Symposium on User Interface Software and Technology, UIST 2024
Country/TerritoryUnited States
CityPittsburgh
Period10/13/2410/16/24

Bibliographical note

Publisher Copyright:
© 2024 ACM.

Keywords

  • Code Verification
  • Conversational Data Analysis
  • Generative AI
  • Human-AI Interaction
  • LLM Agent
  • Visual Programming

Fingerprint

Dive into the research topics of 'WaitGPT: Monitoring and Steering Conversational LLM Agent in Data Analysis with On-the-Fly Code Visualization'. Together they form a unique fingerprint.

Cite this