mlsanityData to 7 Oct 2026

On the Transformation of Latent Space in Fine-Tuned NLP Models

arXiv 2210.12696 ↗First posted 23 Oct 2022cs.CLcited by 19

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  4. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  5. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  6. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  7. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  8. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  9. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  10. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  11. 2019Designing and Interpreting Probes with Control Taskscited by 608
  12. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
30 more
  1. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
  2. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  3. 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 368
  4. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
  5. 2019Revealing the Dark Secrets of BERTcited by 300
  6. 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
  7. 2018Targeted Syntactic Evaluation of Language Modelscited by 239
  8. 2018Colorless green recurrent networks dream hierarchicallycited by 210
  9. 2017What do Neural Machine Translation Models Learn about Morphology?cited by 165
  10. 2018What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Modelscited by 124
  11. 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
  12. 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
  13. 2020What Happens To BERT Embeddings During Fine-tuning?cited by 113
  14. 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
  15. 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
  16. 2020Fighting the COVID-19 Infodemic: Modeling the Perspective of Journalists, Fact-Checkers, Social Media Platforms, Policy Makers, and the Societycited by 72
  17. 2018Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Taskscited by 56
  18. 2022Discovering Latent Concepts Learned in BERTcited by 56
  19. 2017The Parallel Meaning Bank: Towards a Multilingual Corpus of Translations Annotated with Compositional Meaning Representationscited by 41
  20. 2020Fighting the COVID-19 Infodemic in Social Media: A Holistic Perspective and a Call to Armscited by 41
  21. 2020On the Interplay Between Fine-tuning and Sentence-level Probing for Linguistic Knowledge in Pre-trained Transformerscited by 39
  22. 2022Analyzing Encoded Concepts in Transformer Language Modelscited by 37
  23. 2019On the Linguistic Representational Power of Neural Machine Translation Modelscited by 34
  24. 2020Asking without Telling: Exploring Latent Ontologies in Contextual Representationscited by 34
  25. 2021How transfer learning impacts linguistic knowledge in deep NLP models?cited by 32
  26. 2018NeuroX: A Toolkit for Analyzing Individual Neurons in Neural Networkscited by 31
  27. 2022Discovering Salient Neurons in Deep NLP Modelscited by 21
  28. 2020Picking BERT's Brain: Probing for Linguistic Dependencies in Contextualized Embeddings Using Representational Similarity Analysiscited by 18
  29. 2022On the Importance of Data Size in Probing Fine-tuned Modelscited by 12
  30. 2022Latent Topology Induction for Understanding Contextualized Representationscited by 7

Built on by

Cited by year (2026 to 7 Oct)

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

19 papers.

Sort:

By area:

  1. 2026There Is More to Refusal in Large Language Models than a Single Directioncited by 22
  2. 2024Latent Concept-based Explanation of NLP Modelscited by 13
  3. 2023Scaling up Discovery of Latent Concepts in Deep NLP Modelscited by 9
  4. 2022ConceptX: A Framework for Latent Concept Analysiscited by 6
  5. 2024Probing Critical Learning Dynamics of PLMs for Hate Speech Detectioncited by 3
  6. 2024How Do Artificial Intelligences Think? The Three Mathematico-Cognitive Factors of Categorical Segmentation Operated by Synthetic Neuronscited by 3
  7. 2025SeisMoLLM: Advancing Seismic Monitoring via Cross-modal Transfer with Pre-trained Large Language Modelcited by 3
  8. 2023Steering Language Generation: Harnessing Contrastive Expert Guidance and Negative Prompting for Coherent and Diverse Synthetic Data Generationcited by 2
  9. 2023k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysiscited by 2
  10. 2025Synthetic Categorical Restructuring large Or How AIs Gradually Extract Efficient Regularities from Their Experience of the Worldcited by 2
  11. 2023NxPlain: Web-based Tool for Discovery of Latent Conceptscited by 1
  12. 2024Where does In-context Translation Happen in Large Language Modelscited by 1
7 more
  1. 2025Statistical Deficiency for Task Inclusion Estimationcited by 1
  2. 2025From Words to Waves: Analyzing Concept Formation in Speech and Text-Based Foundation Modelscited by 1
  3. 2024Exploring Internal Numeracy in Language Models: A Case Study on ALBERTcited by 0
  4. 2024Automatic Pruning of Fine-tuning Datasets for Transformer-based Language Modelscited by 0
  5. 2025Intra-neuronal attention within language models Relationships between activation and semanticscited by 0
  6. 2025Polysemy of Synthetic Neurons Towards a New Type of Explanatory Categorical Vector Spacescited by 0
  7. 2026Can Dialects Be Steered Like Languages? Sparse Neurons and Distributed Directions in Arabic LLMscited by 0