How Far Does BERT Look At:Distance-based Clustering and Analysis of BERT's Attention
Not on the map. Why?
Abstract (arXiv)
Recent research on the multi-head attention mechanism, especially that in pre-trained models such as BERT, has shown us heuristics and clues in analyzing various aspects of the mechanism. As most of the research focus on probing tasks or hidden states, previous works have found some primitive patterns of attention head behavior by heuristic analytical methods, but a more systematic analysis specific on the attention patterns still remains primitive. In this work, we clearly cluster the attention heatmaps into significantly different patterns through unsupervised clustering on top of a set of proposed features, which corroborates with previous observations. We further study their corresponding functions through analytical study. In addition, our proposed features can be used to explain and calibrate different attention heads in Transformer models.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 2; 2024: 2.
9 papers.
- 2022SQuant: On-the-Fly Data-Free Quantization via Diagonal Hessian Approximationcited by 51
- 2022ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantizationcited by 42
- 2021Dual-side Sparse Tensor Corecited by 27
- 2023Interpretability Illusions in the Generalization of Simplified Modelscited by 24
- 2022Transkimmer: Transformer Learns to Layer-wise Skimcited by 21
- 2021Block-Skim: Efficient Question Answering for Transformercited by 16
- 2024Analyzing Semantic Change through Lexical Replacementscited by 7
- 2024Analysis of Argument Structure Constructions in the Large Language Model BERTcited by 3
- 2023AttentionMix: Data augmentation method that relies on BERT attention mechanismcited by 2
- 2024Analysis of Argument Structure Constructions in the Large Language Model BERT8 Aug 2024
- 2024Analyzing Semantic Change through Lexical Replacements29 Apr 2024
- 2023Interpretability Illusions in the Generalization of Simplified Models6 Dec 2023
- 2023AttentionMix: Data augmentation method that relies on BERT attention mechanism20 Sep 2023
- 2022ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization30 Aug 2022
- 2022Transkimmer: Transformer Learns to Layer-wise Skim15 May 2022
- 2022SQuant: On-the-Fly Data-Free Quantization via Diagonal Hessian Approximation14 Feb 2022
- 2021Block-Skim: Efficient Question Answering for Transformer16 Dec 2021
- 2021Dual-side Sparse Tensor Core20 May 2021