Saved in:
Bibliographic Details
Main Authors: Xie, Liwenhan, Zheng, Chengbo, Xia, Haijun, Qu, Huamin, Zhu-Tian, Chen
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.01703
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914899597197312
author Xie, Liwenhan
Zheng, Chengbo
Xia, Haijun
Qu, Huamin
Zhu-Tian, Chen
author_facet Xie, Liwenhan
Zheng, Chengbo
Xia, Haijun
Qu, Huamin
Zhu-Tian, Chen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_01703
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle WaitGPT: Monitoring and Steering Conversational LLM Agent in Data Analysis with On-the-Fly Code Visualization
Xie, Liwenhan
Zheng, Chengbo
Xia, Haijun
Qu, Huamin
Zhu-Tian, Chen
Human-Computer Interaction
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.
title WaitGPT: Monitoring and Steering Conversational LLM Agent in Data Analysis with On-the-Fly Code Visualization
topic Human-Computer Interaction
url https://arxiv.org/abs/2408.01703