paper-with-me

홈 › Papers

More Identifiable yet Equally Performant Transformers for Text Classification

2021-06-02 · ACL 2021 5 · Rishabh Bhardwaj, Navonil Majumder, Soujanya Poria, Eduard Hovy

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.

📄 PDF Abstract BibTeX arXiv:2106.01269

Code (1)

declare-lab/identifiable-transformers 공식 구현 pytorch

Tasks

Classificationtext-classificationText Classification

Similar Papers 제목 키워드 기반

Locating and Editing Figure-Ground Organization in Vision Transformers

2026-03-06 · Stefan Arnold, René Gröbner arxiv

Vision Transformers must resolve figure-ground organization by choosing between completions driven by local geometric evidence and those favored by global organizational priors, giving rise to a characteristic perceptual…

Attention as an RNN

2024-05-22 · Leo Feng, Frederick Tung, Hossein Hajimirsadeghi, Mohamed Osama Ahmed 외

The advent of Transformers marked a significant breakthrough in sequence modelling, providing a highly performant architecture capable of leveraging GPU parallelism. However, Transformers are computationally expensive at…

GPUTime SeriesTime Series ClassificationTime Series Forecasting

Judging LLMs on a Simplex

2025-05-28 · Patrick Vossler, Fan Xia, Yifan Mai, Jean Feng

Automated evaluation of free-form outputs from large language models (LLMs) is challenging because many distinct answers can be equally valid. A common practice is to use LLMs themselves as judges, but the theoretical pr…

Bayesian InferenceUncertainty Quantification

PETAH: Parameter Efficient Task Adaptation for Hybrid Transformers in a resource-limited Context

2024-10-23 · Maximilian Augustin, Syed Shakib Sarwar, Mostafa Elhoushi, Sai Qian Zhang 외

Following their success in natural language processing (NLP), there has been a shift towards transformer models in computer vision. While transformers perform well and offer promising multi-tasking performance, due to th…

Toward a Theory of Tokenization in LLMs

2024-04-12 · Nived Rajaraman, Jiantao Jiao, Kannan Ramchandran

While there has been a large body of research attempting to circumvent tokenization for language modeling (Clark et al., 2022; Xue et al., 2022), the current consensus is that it is a necessary initial step for designing…

Language ModelingLanguage Modelling