On the Transformation of Latent Space in Fine-Tuned NLP Models
Not on the map. Why?
Abstract (arXiv)
We study the evolution of latent space in fine-tuned NLP models. Different from the commonly used probing-framework, we opt for an unsupervised method to analyze representations. More specifically, we discover latent concepts in the representational space using hierarchical clustering. We then use an alignment function to gauge the similarity between the latent space of a pre-trained model and its fine-tuned version. We use traditional linguistic concepts to facilitate our understanding and also study how the model space transforms towards task-specific information. We perform a thorough analysis, comparing pre-trained and fine-tuned models across three models and three downstream tasks. The notable findings of our work are: i) the latent space of the higher layers evolve towards task-specific concepts, ii) whereas the lower layers retain generic concepts acquired in the pre-trained model, iii) we discovered that some concepts in the higher layers acquire polarity towards the output class, and iv) that these concepts can be used for generating adversarial triggers.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 42 of its 62 references that are in the map. First posted on arXiv 23 Oct 2022.
Builds on
42 of 62 references.
References · 42
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2019Designing and Interpreting Probes with Control Taskscited by 608
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
30 more
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 368
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
- 2019Revealing the Dark Secrets of BERTcited by 300
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2018Targeted Syntactic Evaluation of Language Modelscited by 239
- 2018Colorless green recurrent networks dream hierarchicallycited by 210
- 2017What do Neural Machine Translation Models Learn about Morphology?cited by 165
- 2018What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Modelscited by 124
- 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
- 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
- 2020What Happens To BERT Embeddings During Fine-tuning?cited by 113
- 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
- 2020Fighting the COVID-19 Infodemic: Modeling the Perspective of Journalists, Fact-Checkers, Social Media Platforms, Policy Makers, and the Societycited by 72
- 2018Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Taskscited by 56
- 2022Discovering Latent Concepts Learned in BERTcited by 56
- 2017The Parallel Meaning Bank: Towards a Multilingual Corpus of Translations Annotated with Compositional Meaning Representationscited by 41
- 2020Fighting the COVID-19 Infodemic in Social Media: A Holistic Perspective and a Call to Armscited by 41
- 2020On the Interplay Between Fine-tuning and Sentence-level Probing for Linguistic Knowledge in Pre-trained Transformerscited by 39
- 2022Analyzing Encoded Concepts in Transformer Language Modelscited by 37
- 2019On the Linguistic Representational Power of Neural Machine Translation Modelscited by 34
- 2020Asking without Telling: Exploring Latent Ontologies in Contextual Representationscited by 34
- 2021How transfer learning impacts linguistic knowledge in deep NLP models?cited by 32
- 2018NeuroX: A Toolkit for Analyzing Individual Neurons in Neural Networkscited by 31
- 2022Discovering Salient Neurons in Deep NLP Modelscited by 21
- 2020Picking BERT's Brain: Probing for Linguistic Dependencies in Contextualized Embeddings Using Representational Similarity Analysiscited by 18
- 2022On the Importance of Data Size in Probing Fine-tuned Modelscited by 12
- 2022Latent Topology Induction for Understanding Contextualized Representationscited by 7
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 6; 2025: 6; 2026: 2.
19 papers.
Sort:
By area:
- 2026There Is More to Refusal in Large Language Models than a Single Directioncited by 22
- 2024Latent Concept-based Explanation of NLP Modelscited by 13
- 2023Scaling up Discovery of Latent Concepts in Deep NLP Modelscited by 9
- 2022ConceptX: A Framework for Latent Concept Analysiscited by 6
- 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detectioncited by 3
- 2024How Do Artificial Intelligences Think? The Three Mathematico-Cognitive Factors of Categorical Segmentation Operated by Synthetic Neuronscited by 3
- 2025SeisMoLLM: Advancing Seismic Monitoring via Cross-modal Transfer with Pre-trained Large Language Modelcited by 3
- 2023Steering Language Generation: Harnessing Contrastive Expert Guidance and Negative Prompting for Coherent and Diverse Synthetic Data Generationcited by 2
- 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysiscited by 2
- 2025Synthetic Categorical Restructuring large Or How AIs Gradually Extract Efficient Regularities from Their Experience of the Worldcited by 2
- 2023NxPlain: Web-based Tool for Discovery of Latent Conceptscited by 1
- 2024Where does In-context Translation Happen in Large Language Modelscited by 1
7 more
- 2025Statistical Deficiency for Task Inclusion Estimationcited by 1
- 2025From Words to Waves: Analyzing Concept Formation in Speech and Text-Based Foundation Modelscited by 1
- 2024Exploring Internal Numeracy in Language Models: A Case Study on ALBERTcited by 0
- 2024Automatic Pruning of Fine-tuning Datasets for Transformer-based Language Modelscited by 0
- 2025Intra-neuronal attention within language models Relationships between activation and semanticscited by 0
- 2025Polysemy of Synthetic Neurons Towards a New Type of Explanatory Categorical Vector Spacescited by 0
- 2026Can Dialects Be Steered Like Languages? Sparse Neurons and Distributed Directions in Arabic LLMscited by 0
- 2026Can Dialects Be Steered Like Languages? Sparse Neurons and Distributed Directions in Arabic LLMs4 Jul 2026
- 2026There Is More to Refusal in Large Language Models than a Single Direction2 Feb 2026
- 2025From Words to Waves: Analyzing Concept Formation in Speech and Text-Based Foundation Models1 Jun 2025
- 2025Polysemy of Synthetic Neurons Towards a New Type of Explanatory Categorical Vector Spaces30 Apr 2025
- 2025Intra-neuronal attention within language models Relationships between activation and semantics17 Mar 2025
- 2025Statistical Deficiency for Task Inclusion Estimation7 Mar 2025
- 2025SeisMoLLM: Advancing Seismic Monitoring via Cross-modal Transfer with Pre-trained Large Language Model27 Feb 2025
- 2025Synthetic Categorical Restructuring large Or How AIs Gradually Extract Efficient Regularities from Their Experience of the World25 Feb 2025
- 2024How Do Artificial Intelligences Think? The Three Mathematico-Cognitive Factors of Categorical Segmentation Operated by Synthetic Neurons26 Dec 2024
- 2024Automatic Pruning of Fine-tuning Datasets for Transformer-based Language Models11 Jul 2024
- 2024Exploring Internal Numeracy in Language Models: A Case Study on ALBERT25 Apr 2024
- 2024Latent Concept-based Explanation of NLP Models18 Apr 2024
7 more
- 2024Where does In-context Translation Happen in Large Language Models7 Mar 2024
- 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detection3 Feb 2024
- 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysis7 Dec 2023
- 2023Scaling up Discovery of Latent Concepts in Deep NLP Models20 Aug 2023
- 2023Steering Language Generation: Harnessing Contrastive Expert Guidance and Negative Prompting for Coherent and Diverse Synthetic Data Generation15 Aug 2023
- 2023NxPlain: Web-based Tool for Discovery of Latent Concepts6 Mar 2023
- 2022ConceptX: A Framework for Latent Concept Analysis12 Nov 2022
- 2026There Is More to Refusal in Large Language Models than a Single Directioncited by 22
- 2024Latent Concept-based Explanation of NLP Modelscited by 13
- 2023Scaling up Discovery of Latent Concepts in Deep NLP Modelscited by 9
- 2022ConceptX: A Framework for Latent Concept Analysiscited by 6
- 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detectioncited by 3
- 2025SeisMoLLM: Advancing Seismic Monitoring via Cross-modal Transfer with Pre-trained Large Language Modelcited by 3
- 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysiscited by 2
- 2025Synthetic Categorical Restructuring large Or How AIs Gradually Extract Efficient Regularities from Their Experience of the Worldcited by 2
- 2023NxPlain: Web-based Tool for Discovery of Latent Conceptscited by 1
- 2024Where does In-context Translation Happen in Large Language Modelscited by 1
- 2025Statistical Deficiency for Task Inclusion Estimationcited by 1
- 2024Exploring Internal Numeracy in Language Models: A Case Study on ALBERTcited by 0
12 most cited of 16 All 16 (JSON)
- 2026Can Dialects Be Steered Like Languages? Sparse Neurons and Distributed Directions in Arabic LLMs4 Jul 2026
- 2026There Is More to Refusal in Large Language Models than a Single Direction2 Feb 2026
- 2025Polysemy of Synthetic Neurons Towards a New Type of Explanatory Categorical Vector Spaces30 Apr 2025
- 2025Intra-neuronal attention within language models Relationships between activation and semantics17 Mar 2025
- 2025Statistical Deficiency for Task Inclusion Estimation7 Mar 2025
- 2025SeisMoLLM: Advancing Seismic Monitoring via Cross-modal Transfer with Pre-trained Large Language Model27 Feb 2025
- 2025Synthetic Categorical Restructuring large Or How AIs Gradually Extract Efficient Regularities from Their Experience of the World25 Feb 2025
- 2024Automatic Pruning of Fine-tuning Datasets for Transformer-based Language Models11 Jul 2024
- 2024Exploring Internal Numeracy in Language Models: A Case Study on ALBERT25 Apr 2024
- 2024Latent Concept-based Explanation of NLP Models18 Apr 2024
- 2024Where does In-context Translation Happen in Large Language Models7 Mar 2024
- 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detection3 Feb 2024
12 newest of 16 All 16 (JSON)