Visual Comparison of Language Model Adaptation
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
- 2019Attention is not Explanationcited by 916
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 894
34 more
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
- 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
- 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 442
- 2020AdapterHub: A Framework for Adapting Transformerscited by 441
- 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
- 2018Targeted Syntactic Evaluation of Language Modelscited by 239
- 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
- 2018Adversarial Removal of Demographic Attributes from Text Datacited by 166
- 2020Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer Learningcited by 139
- 2018Breaking NLI Systems with Sentences that Require Simple Lexical Inferencescited by 134
- 2017Controllable Invariance through Adversarial Feature Learningcited by 127
- 2019Open Sesame: Getting Inside BERT's Linguistic Knowledgecited by 119
- 2021Sustainable Modular Debiasing of Language Modelscited by 98
- 2022Linear Adversarial Concept Erasurecited by 98
- 2018Seq2Seq-Vis: A Visual Debugging Tool for Sequence-to-Sequence Modelscited by 69
- 2019Probing Natural Language Inference Models through Semantic Fragmentscited by 64
- 2021What to Pre-Train on? Efficient Intermediate Task Selectioncited by 62
- 2020Common Sense or World Knowledge? Investigating Adapter-Based Knowledge Injection into Pretrained Transformerscited by 57
- 2020Attention Flows: Analyzing and Comparing Attention Mechanisms in Language Modelscited by 49
- 2019Embedding Comparator: Visualizing Differences in Global Structure and Local Neighborhoods via Small Multiplescited by 38
- 2020Multi-SimLex: A Large-Scale Evaluation of Multilingual and Cross-Lingual Lexical Semantic Similaritycited by 38
- 2019Pivot-based Transfer Learning for Neural Machine Translation between Non-English Languagescited by 36
- 2019exBERT: A Visual Analysis Tool to Explore Learned Representations in Transformers Modelscited by 33
- 2019SANVis: Visual Analytics for Understanding Self-Attention Networkscited by 21
- 2020A Systematic Analysis of Morphological Content in BERT Models for Multiple Languagescited by 20
- 2018EmbeddingVis: A Visual Analytics Approach to Comparative Network Embedding Inspectioncited by 18
- 2020Quantifying the Contextualization of Word Representations with Semantic Class Probingcited by 18
- 2021LMdiff: A Visual Diff Tool to Compare Language Modelscited by 17
- 2022Emblaze: Illuminating Machine Learning Representations through Interactive Comparison of Embedding Spacescited by 16
- 2019embComp: Visual Interactive Comparison of Vector Embeddingscited by 15
- 2020Visually Analyzing Contextualized Embeddingscited by 7
Built on by
Citing papers per year: 2023: 7; 2024: 1; 2025: 3; 2026: 3.
14 papers.
Sort:
By area:
- 2023AttentionViz: A Global View of Transformer Attentioncited by 50
- 2023Foundation Models Meet Visualizations: Challenges and Opportunitiescited by 31
- 2023WizMap: Scalable Interactive Visualization for Exploring Large Machine Learning Embeddingscited by 28
- 2023RELIC: Investigating Large Language Model Responses using Self-Consistencycited by 23
- 2023A Unified Interactive Model Evaluation for Classification, Object Detection, and Instance Segmentation in Computer Visioncited by 8
- 2023LLMMaps -- A Visual Metaphor for Stratified Evaluation of Large Language Modelscited by 6
- 2025Explainable Mapper: Charting LLM Embedding Spaces Using Perturbation-Based Explanation and Verification Agentscited by 4
- 2025Unlearning Comparator: A Visual Analytics System for Comparative Evaluation of Machine Unlearning Methodscited by 4
- 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysiscited by 2
- 2024iGAiVA: Integrated Generative AI and Visual Analytics in a Machine Learning Workflow for Text Classificationcited by 2
- 2025LayerFlow: Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projectionscited by 2
- 2026GFlowState: Visualizing the Training of Generative Flow Networks Beyond the Rewardcited by 0
- 2026TopoAlign: Topology-Aware Visual Representation Alignment25 May 2026
- 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
- 2025Unlearning Comparator: A Visual Analytics System for Comparative Evaluation of Machine Unlearning Methods18 Aug 2025
- 2025Explainable Mapper: Charting LLM Embedding Spaces Using Perturbation-Based Explanation and Verification Agents24 Jul 2025
- 2025LayerFlow: Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projections9 Apr 2025
- 2024iGAiVA: Integrated Generative AI and Visual Analytics in a Machine Learning Workflow for Text Classification24 Sep 2024
- 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysis7 Dec 2023
- 2023RELIC: Investigating Large Language Model Responses using Self-Consistency28 Nov 2023
- 2023Foundation Models Meet Visualizations: Challenges and Opportunities9 Oct 2023
- 2023A Unified Interactive Model Evaluation for Classification, Object Detection, and Instance Segmentation in Computer Vision9 Aug 2023
- 2023WizMap: Scalable Interactive Visualization for Exploring Large Machine Learning Embeddings15 Jun 2023
2 more
- 2023AttentionViz: A Global View of Transformer Attentioncited by 50
- 2023Foundation Models Meet Visualizations: Challenges and Opportunitiescited by 31
- 2023WizMap: Scalable Interactive Visualization for Exploring Large Machine Learning Embeddingscited by 28
- 2023A Unified Interactive Model Evaluation for Classification, Object Detection, and Instance Segmentation in Computer Visioncited by 8
- 2023LLMMaps -- A Visual Metaphor for Stratified Evaluation of Large Language Modelscited by 6
- 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysiscited by 2
- 2024iGAiVA: Integrated Generative AI and Visual Analytics in a Machine Learning Workflow for Text Classificationcited by 2
- 2025LayerFlow: Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projectionscited by 2
- 2026GFlowState: Visualizing the Training of Generative Flow Networks Beyond the Rewardcited by 0
- 2026TopoAlign: Topology-Aware Visual Representation Alignmentcited by 0
- 2026Exposing the Unsaid: Visualizing Hidden LLM Bias through Stochastic Path Aggregationcited by 0
- 2026TopoAlign: Topology-Aware Visual Representation Alignment25 May 2026
- 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
- 2025LayerFlow: Layer-wise Exploration of LLM Embeddings using Uncertainty-aware Interlinked Projections9 Apr 2025
- 2024iGAiVA: Integrated Generative AI and Visual Analytics in a Machine Learning Workflow for Text Classification24 Sep 2024
- 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysis7 Dec 2023
- 2023Foundation Models Meet Visualizations: Challenges and Opportunities9 Oct 2023
- 2023A Unified Interactive Model Evaluation for Classification, Object Detection, and Instance Segmentation in Computer Vision9 Aug 2023
- 2023WizMap: Scalable Interactive Visualization for Exploring Large Machine Learning Embeddings15 Jun 2023
- 2023AttentionViz: A Global View of Transformer Attention4 May 2023
- 2023LLMMaps -- A Visual Metaphor for Stratified Evaluation of Large Language Models2 Apr 2023