Steering Semantic Data Processing With DocWrangler
Honorable MentionAuthors
Unstructured text has long been difficult to analyze automatically at scale. Large language models (LLMs) now make it possible to perform “semantic data processing,” where common data operators like map, reduce, and filter are powered by LLMs instead of traditional code. However, building these pipelines is challenging: users need to understand their data in order to build effective pipelines, but at the same time, they need pipelines to extract the information that would help them understand their data. They also have to navigate the quirks and inconsistencies of LLMs. We introduce DocWrangler, a mixed-initiative development environment designed for semantic data processing. DocWrangler offers three new features to help bridge gaps between users, their data, and their pipelines: (i) In-Situ User Notes, which lets users inspect, annotate, and keep track of observations across documents and LLM outputs; (ii) LLM-Assisted Prompt Refinement, which helps turn user notes into improved data processing operations; and (iii) LLM-Assisted Operation Decomposition, which detects when tasks are too complex for the LLM and suggests how to break them down. Our evaluation combines a user study with 10 participants and a public-facing deployment (at docetl.org/playground) with over 1,500 recorded sessions. The results show that users develop systematic strategies for working with semantic data pipelines—such as turning open-ended prompts into classifiers for easier validation, and deliberately using vague prompts to explore their data or the LLM’s behavior.
Research Questions / Practical Problems
Question signals indexed for this paper.
- 86%
Cerebra: Aligning Implicit Knowledge in Interactive SQL Authoring
CHI '26· Human-LLM Collaboration +2
- 75%
VeriPlan: Integrating Formal Verification and LLMs into End-User Planning
CHI '25· Human-LLM Collaboration +2
- 71%
Rapsai: Accelerating Machine Learning Prototyping of Multimedia Applications through Visual Programming
CHI '23· Human-LLM Collaboration +1
- 71%
CoLadder: Manipulating Code Generation via Multi-Level Blocks
UIST '24· Human-LLM Collaboration +1
- 67%
Symphony: Composing Interactive Interfaces for Machine Learning
CHI '22· Explainable AI (XAI) +3
- 67%
DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models
CHI '24· Human-LLM Collaboration +3
- 63%
Planning for Natural Language Failures with the AI Playbook
CHI '21· Human-LLM Collaboration +2
- 63%
Adapting User Interfaces with Model-based Reinforcement Learning
CHI '21· Human-LLM Collaboration +2
- 63%
How Do Analysts Understand and Verify AI-Assisted Data Analyses?
CHI '24· Human-LLM Collaboration +2
- 63%
Selenite: Scaffolding Online Sensemaking with Comprehensive Overviews Elicited from Large Language Models
CHI '24· Human-LLM Collaboration +2
Based on Jaccard similarity of research subtopics & professions (≥60%)