🌳-generAItor: Tree-in-the-loop Text Generation for Language Model Explainability and Adaptation
Authors
Large language models (LLMs) are widely deployed in various downstream tasks, e.g., auto-completion, aided writing, or chat-based text generation. However, the considered output candidates of the underlying search algorithm are under-explored and under-explained. We tackle this shortcoming by proposing a tree-in-the-loop approach, where a visual representation of the beam search tree is the central component for analyzing, explaining, and adapting the generated outputs. To support these tasks, we present generAItor, a visual analytics technique, augmenting the central beam search tree with various task-specific widgets, providing targeted visualizations and interaction possibilities. Our approach allows interactions on multiple levels and offers an iterative pipeline that encompasses generating, exploring, and comparing output candidates, as well as fine-tuning the model based on adapted data. Our case study shows that our tool generates new insights in gender bias analysis beyond state-of-the-art template-based methods. Additionally, we demonstrate the applicability of our approach in a qualitative user study. Finally, we quantitatively evaluate the adaptability of the model to few samples, as occurring in text-generation use cases.
Research Questions / Practical Problems
Question signals indexed for this paper.
- 83%
Improving understandability of feature contributions in model-agnostic explainable AI tools
CHI '22· Explainable AI (XAI) +1
- 83%
Orbit: A Framework for Designing and Evaluating Multi-objective Rankers
IUI '25· Explainable AI (XAI) +1
- 71%
Evaluating the Utility of Conformal Prediction Sets for AI-Advised Image Labeling
CHI '24· Explainable AI (XAI) +2
- 71%
A decision-theoretic representation of assistive interfaces
CHI '26· AI-Assisted Decision-Making & Automation +2
- 67%
Identifying Breakdowns in Conversational Recommender Systems using User Simulation
CUI '24· Explainable AI (XAI) +1
- 63%
Talaria: Interactively Optimizing Machine Learning Models for Efficient Inference
CHI '24· Explainable AI (XAI) +2
- 63%
VeriPlan: Integrating Formal Verification and LLMs into End-User Planning
CHI '25· Human-LLM Collaboration +2
- 63%
Decision Making Strategies Differ in the Presence of Collaborative Explanations: Two Conjoint Studies
IUI '19· Eye Tracking & Gaze Interaction +2
- 63%
SIA: A Framework for Context-Aware Intent Clarification in Speech-Driven Immersive Analytics
IUI '26· Voice User Interface (VUI) Design +3
Based on Jaccard similarity of research subtopics & professions (≥60%)