Dango: A Mixed-Initiative Data Wrangling System using Large Language Model
Wei-Hao Chen, Weixi Tong, Amanda Case, Tianyi Zhang
TL;DR
Dango presents a mixed-initiative data-wrangling system that leverages demonstrations, natural-language prompts, and proactive clarification questions from LLMs to generate multi-table data-wrangling scripts. It extends a Domain Specific Language to support cross-table operations, and couples plan generation with step-by-step NL explanations and data-provenance visualization to improve interpretability and trust. In a 38-participant within-subject study, the CQ-enabled design (Condition C) reduced task time by up to 45% and lowered hallucinations, while boosting user confidence, with generalizability demonstrated on 24 additional tasks. The work shows that combining mixed-initiative interaction, transparent explanations, and provenance-aware feedback yields robust performance across diverse data-wrangling tasks, suggesting practical impact for data-cleaning pipelines.
Abstract
Data wrangling is a time-consuming and challenging task in a data science pipeline. While many tools have been proposed to automate or facilitate data wrangling, they often misinterpret user intent, especially in complex tasks. We propose Dango, a mixed-initiative multi-agent system for data wrangling. Compared to existing tools, Dango enhances user communication of intent by allowing users to demonstrate on multiple tables and use natural language prompts in a conversation interface, enabling users to clarify their intent by answering LLM-posed multiple-choice clarification questions, and providing multiple forms of feedback such as step-by-step natural language explanations and data provenance to help users evaluate the data wrangling scripts. We conducted a within-subjects user study with 38 participants and demonstrated that Dango's features can significantly improve intent clarification, accuracy, and efficiency in data wrangling. Furthermore, we demonstrated the generalizability of Dango by applying it to a broader set of data wrangling tasks.
