mlsanityData to 7 Oct 2026

Visual Comparison of Language Model Adaptation

arXiv 2208.08176 ↗First posted 17 Aug 2022cs.AIcited by 14

Not on the map. Why?

Abstract (arXiv)

Neural language models are widely used; however, their model parameters often need to be adapted to the specific domains and tasks of an application, which is time- and resource-consuming. Thus, adapters have recently been introduced as a lightweight alternative for model adaptation. They consist of a small set of task-specific parameters with a reduced training time and simple parameter composition. The simplicity of adapter training and composition comes along with new challenges, such as maintaining an overview of adapter properties and effectively comparing their produced embedding spaces. To help developers overcome these challenges, we provide a twofold contribution. First, in close collaboration with NLP researchers, we conducted a requirement analysis for an approach supporting adapter evaluation and detected, among others, the need for both intrinsic (i.e., embedding similarity-based) and extrinsic (i.e., prediction-based) explanation methods. Second, motivated by the gathered requirements, we designed a flexible visual analytics workspace that enables the comparison of adapter properties. In this paper, we discuss several design iterations and alternatives for interactive, comparative visual explanation methods. Our comparative visualizations show the differences in the adapted embedding vectors and prediction outcomes for diverse human-interpretable concepts (e.g., person names, human qualities). We evaluate our workspace through case studies and show that, for instance, an adapter trained on the language debiasing task according to context-0 (decontextualized) embeddings introduces a new type of bias where words (even gender-independent words such as countries) become more similar to female than male pronouns. We demonstrate that these are artifacts of context-0 embeddings.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 46 of its 75 references that are in the map. First posted on arXiv 17 Aug 2022.

Builds on

46 of 75 references.

References · 46

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  4. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  5. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  6. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  7. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  8. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
  9. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  10. 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
  11. 2019Attention is not Explanationcited by 916
  12. 2016Semantics derived automatically from language corpora contain human-like biasescited by 894
34 more
  1. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  2. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
  3. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  4. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  5. 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
  6. 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 442
  7. 2020AdapterHub: A Framework for Adapting Transformerscited by 441
  8. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  9. 2018Targeted Syntactic Evaluation of Language Modelscited by 239
  10. 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
  11. 2018Adversarial Removal of Demographic Attributes from Text Datacited by 166
  12. 2020Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer Learningcited by 139
  13. 2018Breaking NLI Systems with Sentences that Require Simple Lexical Inferencescited by 134
  14. 2017Controllable Invariance through Adversarial Feature Learningcited by 127
  15. 2019Open Sesame: Getting Inside BERT's Linguistic Knowledgecited by 119
  16. 2021Sustainable Modular Debiasing of Language Modelscited by 98
  17. 2022Linear Adversarial Concept Erasurecited by 98
  18. 2018Seq2Seq-Vis: A Visual Debugging Tool for Sequence-to-Sequence Modelscited by 69
  19. 2019Probing Natural Language Inference Models through Semantic Fragmentscited by 64
  20. 2021What to Pre-Train on? Efficient Intermediate Task Selectioncited by 62
  21. 2020Common Sense or World Knowledge? Investigating Adapter-Based Knowledge Injection into Pretrained Transformerscited by 57
  22. 2020Attention Flows: Analyzing and Comparing Attention Mechanisms in Language Modelscited by 49
  23. 2019Embedding Comparator: Visualizing Differences in Global Structure and Local Neighborhoods via Small Multiplescited by 38
  24. 2020Multi-SimLex: A Large-Scale Evaluation of Multilingual and Cross-Lingual Lexical Semantic Similaritycited by 38
  25. 2019Pivot-based Transfer Learning for Neural Machine Translation between Non-English Languagescited by 36
  26. 2019exBERT: A Visual Analysis Tool to Explore Learned Representations in Transformers Modelscited by 33
  27. 2019SANVis: Visual Analytics for Understanding Self-Attention Networkscited by 21
  28. 2020A Systematic Analysis of Morphological Content in BERT Models for Multiple Languagescited by 20
  29. 2018EmbeddingVis: A Visual Analytics Approach to Comparative Network Embedding Inspectioncited by 18
  30. 2020Quantifying the Contextualization of Word Representations with Semantic Class Probingcited by 18
  31. 2021LMdiff: A Visual Diff Tool to Compare Language Modelscited by 17
  32. 2022Emblaze: Illuminating Machine Learning Representations through Interactive Comparison of Embedding Spacescited by 16
  33. 2019embComp: Visual Interactive Comparison of Vector Embeddingscited by 15
  34. 2020Visually Analyzing Contextualized Embeddingscited by 7

Built on by

Cited by year (2026 to 7 Oct)

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

14 papers.

Sort:

By area: