mlsanityData to 7 Oct 2026

More Identifiable yet Equally Performant Transformers for Text Classification

arXiv 2106.01269 ↗First posted 2 Jun 2021cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Interpretability is an important aspect of the trustworthiness of a model's predictions. Transformer's predictions are widely explained by the attention weights, i.e., a probability distribution generated at its self-attention unit (head). Current empirical studies provide shreds of evidence that attention weights are not explanations by proving that they are not unique. A recent study showed theoretical justifications to this observation by proving the non-identifiability of attention weights. For a given input to a head and its output, if the attention weights generated in it are unique, we call the weights identifiable. In this work, we provide deeper theoretical analysis and empirical observations on the identifiability of attention weights. Ignored in the previous works, we find the attention weights are more identifiable than we currently perceive by uncovering the hidden role of the key vector. However, the weights are still prone to be non-unique attentions that make them unfit for interpretation. To tackle this issue, we provide a variant of the encoder layer that decouples the relationship between key and value vector and provides identifiable weights up to the desired length of the input. We prove the applicability of such variations by providing empirical justifications on varied text classification tasks. The implementations are available at https://github.com/declare-lab/identifiable-transformers.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 8 of its 15 references that are in the map. First posted on arXiv 2 Jun 2021.

Builds on

8 of 15 references.

References · 8

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  4. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
  5. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  6. 2019Attention is not Explanationcited by 916
  7. 2019Attention is not not Explanationcited by 629
  8. 2019On Identifiability in Transformerscited by 115

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 1.

3 papers.