mlsanityData to 7 Oct 2026

Revealing the Unwritten: Visual Investigation of Beam Search Trees to Address Language Model Prompting Challenges

arXiv 2310.11252 ↗First posted 17 Oct 2023cs.CL cs.AI cs.HCcited by 6

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  4. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  5. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  6. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  7. 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
  8. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
  9. 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
  10. 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
  11. 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 240
  12. 2018Explainable Prediction of Medical Codes from Clinical Textcited by 231
12 more
  1. 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
  2. 2018On Human Predictions with Explanations and Predictions of Machine Learning Models: A Case Study on Deception Detectioncited by 159
  3. 2023Language models are not naysayers: An analysis of language models on negation benchmarkscited by 73
  4. 2018Seq2Seq-Vis: A Visual Debugging Tool for Sequence-to-Sequence Modelscited by 69
  5. 2019Investigating BERT's Knowledge of Language: Five Analysis Methods with NPIscited by 58
  6. 2020A Survey of Visual Analytics Techniques for Machine Learningcited by 56
  7. 2022Using Natural Sentences for Understanding Biases in Language Modelscited by 19
  8. 2021GenNI: Human-AI Collaboration for Data-Backed Text Generationcited by 11
  9. 2022Beware the Rationalization Trap! When Language Model Explainability Diverges from our Mental Models of Languagecited by 9
  10. 2022Negation, Coordination, and Quantifiers in Contextualized Language Modelscited by 9
  11. 2022Mind Your Bias: A Critical Review of Bias Detection Methods for Contextual Language Modelscited by 6
  12. 2023Probing Quantifier Comprehension in Large Language Models: Another Example of Inverse Scalingcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 1; 2025: 2; 2026: 2.

6 papers.