Revealing the Unwritten: Visual Investigation of Beam Search Trees to Address Language Model Prompting Challenges
Not on the map. Why?
Abstract (arXiv)
The growing popularity of generative language models has amplified interest in interactive methods to guide model outputs. Prompt refinement is considered one of the most effective means to influence output among these methods. We identify several challenges associated with prompting large language models, categorized into data- and model-specific, linguistic, and socio-linguistic challenges. A comprehensive examination of model outputs, including runner-up candidates and their corresponding probabilities, is needed to address these issues. The beam search tree, the prevalent algorithm to sample model outputs, can inherently supply this information. Consequently, we introduce an interactive visual method for investigating the beam search tree, facilitating analysis of the decisions made by the model during generation. We quantitatively show the value of exposing the beam search tree and present five detailed analysis scenarios addressing the identified challenges. Our methodology validates existing results and offers additional insights.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 17 Oct 2023.
Builds on
24 of 39 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 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
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
- 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
- 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 240
- 2018Explainable Prediction of Medical Codes from Clinical Textcited by 231
12 more
- 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
- 2018On Human Predictions with Explanations and Predictions of Machine Learning Models: A Case Study on Deception Detectioncited by 159
- 2023Language models are not naysayers: An analysis of language models on negation benchmarkscited by 73
- 2018Seq2Seq-Vis: A Visual Debugging Tool for Sequence-to-Sequence Modelscited by 69
- 2019Investigating BERT's Knowledge of Language: Five Analysis Methods with NPIscited by 58
- 2020A Survey of Visual Analytics Techniques for Machine Learningcited by 56
- 2022Using Natural Sentences for Understanding Biases in Language Modelscited by 19
- 2021GenNI: Human-AI Collaboration for Data-Backed Text Generationcited 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
- 2022Mind Your Bias: A Critical Review of Bias Detection Methods for Contextual Language Modelscited by 6
- 2023Probing Quantifier Comprehension in Large Language Models: Another Example of Inverse Scalingcited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 2; 2026: 2.
6 papers.
- 2024generAItor: Tree-in-the-Loop Text Generation for Language Model Explainability and Adaptationcited by 5
- 2023A Large Language Model-based Computational Approach to Improve Identity-Related Write-Upscited by 0
- 2025InFerActive: Interactive Tree-Based Exploration of LLM Sampling for Safety Evaluationcited by 0
- 2025Agile Deliberation: Concept Deliberation for Subjective Visual Classificationcited 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
- 2025Agile Deliberation: Concept Deliberation for Subjective Visual Classification11 Dec 2025
- 2025InFerActive: Interactive Tree-Based Exploration of LLM Sampling for Safety Evaluation11 Dec 2025
- 2024generAItor: Tree-in-the-Loop Text Generation for Language Model Explainability and Adaptation12 Mar 2024
- 2023A Large Language Model-based Computational Approach to Improve Identity-Related Write-Ups27 Dec 2023