Introduction
Building complex text analytics pipelines remains a significant hurdle for analysts, despite the advancements in Large Language Models (LLMs). Analysts often struggle with the vast decomposition space of high-level goals, a technical knowledge gap regarding state-of-the-art NLP methods, the engineering effort required for implementation, and the difficulty of evaluating results without ground-truth labels. VIDEE (Visual and Interactive Decomposition, Execution, and Evaluation) is a human-agent collaboration system designed to address these challenges by transitioning the analyst's role from a low-level coder to a high-level manager of intelligent agents.
Methodology
VIDEE facilitates a three-stage workflow—Decomposition, Execution, and Evaluation—supported by specialized agents and interactive visualizations.
Decomposition
The system utilizes a Monte-Carlo Tree Search (MCTS) algorithm to explore potential analysis plans. Unlike traditional greedy search methods, MCTS allows for backward feedback, where the value of early steps is refined based on the success of subsequent steps. LLM-based "judges" score potential steps on complexity, coherence, and importance. This process is human-in-the-loop, allowing users to steer the search or prune branches.
Execution
Once a plan is finalized, an executor agent translates high-level semantic tasks into executable primitive tasks (code or prompt templates). VIDEE introduces an "Analysis Unit" framework, inspired by MapReduce, to manage data mapping, processing, and reduction, making data flow dependencies explicit and easier to debug.
Evaluation
VIDEE automatically recommends LLM-based categorical evaluators. Results are presented through interactive visualizations, such as Radial Topic Charts, which encode evaluation scores as distance from the center to provide a rapid "sanity check" of the pipeline's output.
Experimental Results
The system was evaluated using HCI paper abstracts, Wikipedia datasets, and customer comments. Key findings include:
- Superior Performance: VIDEE achieved an 83% concept coverage rate on Wikipedia data, significantly outperforming BERTopic (52.6%) and raw GPT-4o prompting (53%).
- Plan Quality: LLM evaluators (o3-mini) rated VIDEE’s generated plans as comparable to or better than human-crafted pipelines from established research (e.g., LLooM and TnT-LLM) in 60% of cases.
- Usability: User studies indicated that participants with no NLP experience could successfully build complex pipelines. Visibility into the step-by-step procedure fostered greater trust compared to "black-box" tools like ChatGPT.
Conclusion and Future Work
VIDEE demonstrates that structured agentic planning and interactive evaluation can democratize complex text analytics. While current limitations include latency from parallel LLM calls and a lack of autonomous self-correction, future work aims to implement "self-healing" agents and expand the framework to support time-series and network analysis, moving beyond the current text-centric optimization.
Summary updated