More Identifiable yet Equally Performant Transformers for Text Classification
원문 초록
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.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
TokenBreak: Bypassing Text Classification Models Through Token Manipulation
Incremental Sequence Classification with Temporal Consistency
Small Language Models in the Real World: Insights from Industrial Text Classification
Token Masking Improves Transformer-Based Text Classification
KDH-MLTC: Knowledge Distillation for Healthcare Multi-Label Text Classification
Towards Robust Few-Shot Text Classification Using Transformer Architectures and Dual Loss Strategies
토론
이 논문과 연결된 포럼 글이 아직 없습니다.