generAItor: Tree-in-the-Loop Text Generation for Language Model Explainability and Adaptation
arXiv:2403.07627 · doi:10.1145/3652028
Abstract
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.
arXiv comment24 pages paper, 4 pages references, 3 pages appendix, 8 figures
References in corpus (10)
- Survey of Hallucination in Natural Language Generation
- Semantics derived automatically from language corpora contain human-like biases
- A Deep Reinforced Model for Abstractive Summarization
- explAIner: A Visual Analytics Framework for Interactive and Explainable Machine Learning
- A Survey of Knowledge-Enhanced Text Generation
- TaxoEnrich: Self-Supervised Taxonomy Completion via Structure-Semantic Representations
- GenNI: Human-AI Collaboration for Data-Backed Text Generation
- CoRel: Seed-Guided Topical Taxonomy Construction by Concept Learning and Relation Transferring
- Read, Revise, Repeat: A System Demonstration for Human-in-the-loop Iterative Text Revision
- Beware the Rationalization Trap! When Language Model Explainability Diverges from our Mental Models of Language