generAItor: Tree-in-the-Loop Text Generation for Language Model Explainability and Adaptation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 47 of its 94 references that are in the map. First posted on arXiv 12 Mar 2024.
Builds on
47 of 94 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
- 2017Decoupled Weight Decay Regularizationcited by 1,722
35 more
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 894
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2017A Deep Reinforced Model for Abstractive Summarizationcited by 364
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
- 2017Toward Controlled Generation of Textcited by 271
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2018Gender Bias in Neural Natural Language Processingcited by 210
- 2017Survey of the State of the Art in Natural Language Generation: Core tasks, applications and evaluationcited by 206
- 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
- 2020A Survey of Knowledge-Enhanced Text Generationcited by 119
- 2021Sustainable Modular Debiasing of Language Modelscited by 98
- 2018Seq2Seq-Vis: A Visual Debugging Tool for Sequence-to-Sequence Modelscited by 69
- 2019explAIner: A Visual Analytics Framework for Interactive and Explainable Machine Learningcited by 69
- 2020Back to the Future: Unsupervised Backprop-based Decoding for Counterfactual and Abductive Commonsense Reasoningcited by 65
- 2019Does BERT Make Any Sense? Interpretable Word Sense Disambiguation with Contextualized Embeddingscited by 55
- 2022Read, Revise, Repeat: A System Demonstration for Human-in-the-loop Iterative Text Revisioncited by 46
- 2020PAIR: Planning and Iterative Refinement in Pre-trained Transformers for Long Text Generationcited by 35
- 2019Visual Interaction with Deep Learning Models through Collaborative Semantic Inferencecited by 24
- 2021Parallel Refinements for Lexically Constrained Text Generation with BARTcited by 24
- 2020Constructing Taxonomies from Pretrained Language Modelscited by 21
- 2022TaxoEnrich: Self-Supervised Taxonomy Completion via Structure-Semantic Representationscited by 20
- 2020CoRel: Seed-Guided Topical Taxonomy Construction by Concept Learning and Relation Transferringcited by 19
- 2021OntoEA: Ontology-guided Entity Alignment via Joint Knowledge Graph Embeddingcited by 19
- 2022Using Natural Sentences for Understanding Biases in Language Modelscited by 19
- 2021GenNI: Human-AI Collaboration for Data-Backed Text Generationcited by 11
- 2021Machine-in-the-Loop Rewriting for Creative Image Captioningcited by 11
- 2022Beware the Rationalization Trap! When Language Model Explainability Diverges from our Mental Models of Languagecited by 9
- 2022Negation, Coordination, and Quantifiers in Contextualized Language Modelscited by 9
- 2023Revealing the Unwritten: Visual Investigation of Beam Search Trees to Address Language Model Prompting Challengescited by 6
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 3.
5 papers.
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysiscited by 8
- 2024V-RECS, a Low-Cost LLM4VIS Recommender with Explanations, Captioning and Suggestionscited by 3
- 2026Beyond One Output: Visualizing and Comparing Distributions of Language Model Generationscited by 0
- 2026GFlowState: Visualizing the Training of Generative Flow Networks Beyond the Rewardcited by 0
- 2026Exposing the Unsaid: Visualizing Hidden LLM Bias through Stochastic Path Aggregationcited by 0
- 2026Exposing the Unsaid: Visualizing Hidden LLM Bias through Stochastic Path Aggregation24 Apr 2026
- 2026GFlowState: Visualizing the Training of Generative Flow Networks Beyond the Reward23 Apr 2026
- 2026Beyond One Output: Visualizing and Comparing Distributions of Language Model Generations20 Apr 2026
- 2024V-RECS, a Low-Cost LLM4VIS Recommender with Explanations, Captioning and Suggestions21 Jun 2024
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysis23 Apr 2024