mlsanityData to 7 Oct 2026

Interpreting and Exploiting Functional Specialization in Multi-Head Attention under Multi-task Learning

arXiv 2310.10318 ↗First posted 16 Oct 2023cs.CL cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Transformer-based models, even though achieving super-human performance on several downstream tasks, are often regarded as a black box and used as a whole. It is still unclear what mechanisms they have learned, especially their core module: multi-head attention. Inspired by functional specialization in the human brain, which helps to efficiently handle multiple tasks, this work attempts to figure out whether the multi-head attention module will evolve similar function separation under multi-tasking training. If it is, can this mechanism further improve the model performance? To investigate these questions, we introduce an interpreting method to quantify the degree of functional specialization in multi-head attention. We further propose a simple multi-task training method to increase functional specialization and mitigate negative information transfer in multi-task learning. Experimental results on seven pre-trained transformer models have demonstrated that multi-head attention does evolve functional specialization phenomenon after multi-task training which is affected by the similarity of tasks. Moreover, the multi-task training strategy based on functional specialization boosts performance in both multi-task learning and transfer learning without adding any parameters.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 39 of its 64 references that are in the map. First posted on arXiv 16 Oct 2023.

Builds on

39 of 64 references.

References · 39

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  9. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  10. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  11. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  12. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
27 more
  1. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  2. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  3. 2019Attention is not Explanationcited by 916
  4. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  5. 2019Are Sixteen Heads Really Better than One?cited by 803
  6. 2017An Overview of Multi-Task Learning in Deep Neural Networkscited by 791
  7. 2018Taskonomy: Disentangling Task Transfer Learningcited by 631
  8. 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
  9. 2019Is Attention Interpretable?cited by 387
  10. 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 349
  11. 2021Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworkscited by 278
  12. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
  13. 2019Interpreting and improving natural-language processing (in machines) with natural language-processing (in the brain)cited by 128
  14. 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 124
  15. 2019On Identifiability in Transformerscited by 115
  16. 2020Understanding and Improving Information Transfer in Multi-Task Learningcited by 113
  17. 2019Attention Interpretability Across NLP Taskscited by 71
  18. 2017Identifying beneficial task relations for multi-task learning in deep neural networkscited by 59
  19. 2021Super Tickets in Pre-Trained Language Models: From Model Compression to Improving Generalizationcited by 56
  20. 2020Conditionally Adaptive Multi-Task Learning: Improving Transfer Learning in NLP Using Fewer Parameters & Less Datacited by 50
  21. 2021Learning Language Specific Sub-network for Multilingual Machine Translationcited by 48
  22. 2021Differentiable Subset Pruning of Transformer Headscited by 46
  23. 2022Rethinking Attention-Model Explainability through Faithfulness Violation Testcited by 43
  24. 2020Why Attentions May Not Be Interpretable?cited by 41
  25. 2019Learning Sparse Sharing Architectures for Multiple Taskscited by 31
  26. 2021Importance-based Neuron Allocation for Multilingual Neural Machine Translationcited by 23
  27. 2016When is multitask learning effective? Semantic sequence prediction under varying data conditionscited by 21

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 2; 2026: 3.

9 papers.