中文
相关论文

相关论文: Do Transformer Attention Heads Provide Transparenc…

200 篇论文

Deep learning models often rely only on a small set of features even when there is a rich set of predictive signals in the training data. This makes models brittle and sensitive to distribution shifts. In this work, we first examine vision…

计算机视觉与模式识别 · 计算机科学 2023-09-01 Armand Mihai Nicolicioiu , Andrei Liviu Nicolicioiu , Bogdan Alexe , Damien Teney

In mechanistic interpretability, recent work scrutinizes transformer "circuits" - sparse, mono or multi layer sub computations, that may reflect human understandable functions. Yet, these network circuits are rarely acid-tested for their…

机器学习 · 计算机科学 2026-02-20 Karan Bali , Jack Stanley , Praneet Suresh , Danilo Bzdok

First derived from human intuition, later adapted to machine translation for automatic token alignment, attention mechanism, a simple method that can be used for encoding sequence data based on the importance score each element is assigned,…

计算与语言 · 计算机科学 2018-11-15 Dichao Hu

Transformers are deep architectures that define "in-context mappings" which enable predicting new tokens based on a given set of tokens (such as a prompt in NLP applications or a set of patches for a vision transformer). In this work, we…

计算与语言 · 计算机科学 2024-10-04 Takashi Furuya , Maarten V. de Hoop , Gabriel Peyré

Transformer-based language models exhibit complex and distributed behavior, yet their internal computations remain poorly understood. Existing mechanistic interpretability methods typically treat attention heads and multilayer perceptron…

机器学习 · 计算机科学 2025-11-26 Areeb Ahmad , Abhinav Joshi , Ashutosh Modi

\textit{Attention} computes the dependency between representations, and it encourages the model to focus on the important selective features. Attention-based models, such as Transformer and graph attention network (GAT), are widely utilized…

机器学习 · 计算机科学 2021-03-02 Kyungwoo Song , Yohan Jung , Dongjun Kim , Il-Chul Moon

Transformer-based pretrained large language models (PLM) such as BERT and GPT have achieved remarkable success in NLP tasks. However, PLMs are prone to encoding stereotypical biases. Although a burgeoning literature has emerged on…

计算与语言 · 计算机科学 2024-06-18 Yi Yang , Hanyu Duan , Ahmed Abbasi , John P. Lalor , Kar Yan Tam

Standard transformers entangle all computation in a single residual stream, obscuring which components perform which functions. We introduce the Dual-Stream Transformer, which decomposes the residual stream into two functionally distinct…

计算与语言 · 计算机科学 2026-03-10 J. Clayton Kerce , Alexis Fox

Pre-training Transformer from large-scale raw texts and fine-tuning on the desired task have achieved state-of-the-art results on diverse NLP tasks. However, it is unclear what the learned attention captures. The attention computed by…

计算与语言 · 计算机科学 2019-11-05 Yau-Shian Wang , Hung-Yi Lee , Yun-Nung Chen

Self-attention, as the key block of transformers, is a powerful mechanism for extracting features from the inputs. In essence, what self-attention does is to infer the pairwise relations between the elements of the inputs, and modify the…

机器学习 · 计算机科学 2021-03-09 Lemeng Wu , Xingchao Liu , Qiang Liu

Transformers are emerging as the new workhorse of NLP, showing great success across tasks. Unlike LSTMs, transformers process input sequences entirely through self-attention. Previous work has suggested that the computational capabilities…

计算与语言 · 计算机科学 2021-06-28 Michael Hahn

Attention-based architectures have become ubiquitous in machine learning, yet our understanding of the reasons for their effectiveness remains limited. This work proposes a new way to understand self-attention networks: we show that their…

机器学习 · 计算机科学 2023-08-02 Yihe Dong , Jean-Baptiste Cordonnier , Andreas Loukas

An extension of Transformers is proposed that enables explicit relational reasoning through a novel module called the Abstractor. At the core of the Abstractor is a variant of attention called relational cross-attention. The approach is…

机器学习 · 统计学 2024-04-16 Awni Altabaa , Taylor Webb , Jonathan Cohen , John Lafferty

Understanding the fundamental mechanism behind the success of transformer networks is still an open problem in the deep learning literature. Although their remarkable performance has been mostly attributed to the self-attention mechanism,…

机器学习 · 计算机科学 2022-11-23 Tolga Ergen , Behnam Neyshabur , Harsh Mehta

Existing research largely attributes the global sequence modeling capability of Transformers to the explicit computation of attention weights, a process that inherently incurs quadratic computational complexity. In this work, we offer a…

计算机视觉与模式识别 · 计算机科学 2026-05-07 Ruize He , Dongchen Han , Gao Huang

The self-attention module is a key component of Transformer-based models, wherein each token pays attention to every other token. Recent studies have shown that these heads exhibit syntactic, semantic, or local behaviour. Some studies have…

计算与语言 · 计算机科学 2020-08-14 Madhura Pande , Aakriti Budhraja , Preksha Nema , Pratyush Kumar , Mitesh M. Khapra

The prevalence of employing attention mechanisms has brought along concerns on the interpretability of attention distributions. Although it provides insights about how a model is operating, utilizing attention as the explanation of model…

计算机视觉与模式识别 · 计算机科学 2022-09-16 Tristan Gomez , Suiyi Ling , Thomas Fréour , Harold Mouchère

Transformer architecture has been very successful long runner in the field of Deep Learning (DL) and Large Language Models (LLM) because of its powerful attention-based learning and parallel-natured architecture. As the models grow gigantic…

机器学习 · 计算机科学 2026-01-21 Phani Kumar , Nyshadham , Jyothendra Varma , Polisetty V R K , Aditya Rathore

Deep neural networks are a key component of behavior prediction and motion generation for self-driving cars. One of their main drawbacks is a lack of transparency: they should provide easy to interpret rationales for what triggers certain…

计算机视觉与模式识别 · 计算机科学 2020-05-12 Jinkyu Kim , Mayank Bansal

Attention matrices are fundamental to transformer research, supporting a broad range of applications including interpretability, visualization, manipulation, and distillation. Yet, most existing analyses focus on individual attention heads…

机器学习 · 计算机科学 2026-01-27 Ido Andrew Atad , Itamar Zimerman , Shahar Katz , Lior Wolf