mlsanityData to 7 Oct 2026

KnowledgeVIS: Interpreting Language Models by Comparing Fill-in-the-Blank Prompts

arXiv 2403.04758 ↗First posted 7 Mar 2024cs.HC cs.AI cs.CYcited by 7

Not on the map. Why?

Abstract (arXiv)

Recent growth in the popularity of large language models has led to their increased usage for summarizing, predicting, and generating text, making it vital to help researchers and engineers understand how and why they work. We present KnowledgeVis, a human-in-the-loop visual analytics system for interpreting language models using fill-in-the-blank sentences as prompts. By comparing predictions between sentences, KnowledgeVis reveals learned associations that intuitively connect what language models learn during training to natural language tasks downstream, helping users create and test multiple prompt variations, analyze predicted words using a novel semantic clustering technique, and discover insights using interactive visualizations. Collectively, these visualizations help users identify the likelihood and uniqueness of individual predictions, compare sets of predictions between prompts, and summarize patterns and relationships between predictions across all prompts. We demonstrate the capabilities of KnowledgeVis with feedback from six NLP experts as well as three different use cases: (1) probing biomedical knowledge in two domain-adapted models; and (2) evaluating harmful identity stereotypes and (3) discovering facts and relationships between three general-purpose models.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 36 of its 64 references that are in the map. First posted on arXiv 7 Mar 2024.

Builds on

36 of 64 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  6. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  8. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  9. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  10. 2019Language Models as Knowledge Bases?cited by 1,922
  11. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
  12. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
24 more
  1. 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
  2. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  3. 2019How Can We Know What Language Models Know?cited by 953
  4. 2019Attention is not Explanationcited by 916
  5. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  6. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  7. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
  8. 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
  9. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
  10. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
  11. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  12. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  13. 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 158
  14. 2020The Language Interpretability Tool: Extensible, Interactive Visualizations and Analysis for NLP Modelscited by 125
  15. 2018Visual Analytics in Deep Learning: An Interrogative Survey for the Next Frontierscited by 117
  16. 2022Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Modelscited by 70
  17. 2018Seq2Seq-Vis: A Visual Debugging Tool for Sequence-to-Sequence Modelscited by 69
  18. 2019Investigating BERT's Knowledge of Language: Five Analysis Methods with NPIscited by 58
  19. 2020CNN Explainer: Learning Convolutional Neural Networks with Interactive Visualizationcited by 57
  20. 2020Attention Flows: Analyzing and Comparing Attention Mechanisms in Language Modelscited by 49
  21. 2021Putting Humans in the Natural Language Processing Loop: A Surveycited by 40
  22. 2021Dodrio: Exploring Transformer Models with Interactive Visualizationcited by 28
  23. 2021LMdiff: A Visual Diff Tool to Compare Language Modelscited by 17
  24. 2019VizSeq: A Visual Analysis Toolkit for Text Generation Taskscited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 1.

7 papers.