paper-with-me

홈 › Papers

Short-circuiting Shortcuts: Mechanistic Investigation of Shortcuts in Text Classification

2025-05-09 · Leon Eshuijs, Shihan Wang, Antske Fokkens

Reliance on spurious correlations (shortcuts) has been shown to underlie many of the successes of language models. Previous work focused on identifying the input elements that impact prediction. We investigate how shortcuts are actually processed within the model's decision-making mechanism. We use actor names in movie reviews as controllable shortcuts with known impact on the outcome. We use mechanistic interpretability methods and identify specific attention heads that focus on shortcuts. These heads gear the model towards a label before processing the complete input, effectively making premature decisions that bypass contextual analysis. Based on these findings, we introduce Head-based Token Attribution (HTA), which traces intermediate decisions back to input tokens. We show that HTA is effective in detecting shortcuts in LLMs and enables targeted mitigation by selectively deactivating shortcut-related attention heads.

📄 PDF Abstract BibTeX arXiv:2505.06032

Code (1)

watermeleon/shortcut_mechanisms 공식 구현 jax

Tasks

Decision Makingtext-classificationText Classification

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Focus 설명 없음

Similar Papers 제목 키워드 기반

Reasoning in Transformers - Mitigating Spurious Correlations and Reasoning Shortcuts

2024-03-17 · Daniel Enström, Viktor Kjellberg, Moa Johansson

Transformer language models are neural networks used for a wide variety of tasks concerning natural language, including some that also require logical reasoning. However, a transformer model may easily learn spurious pat…

Language ModelingLanguage ModellingLogical Reasoning

Do ImageNet-trained models learn shortcuts? The impact of frequency shortcuts on generalization

2025-03-05 · CVPR 2025 1 · Shunxin Wang, Raymond Veldhuis, Nicola Strisciuglio

Frequency shortcuts refer to specific frequency patterns that models heavily rely on for correct classification. Previous studies have shown that models trained on small image datasets often exploit such shortcuts, poten…

Towards Faithful Explanations: Boosting Rationalization with Shortcuts Discovery

2024-03-12 · Linan Yue, Qi Liu, Yichao Du, Li Wang 외

The remarkable success in neural networks provokes the selective rationalization. It explains the prediction results by identifying a small subset of the inputs sufficient to support them. Since existing methods still su…

ShortcutLens: A Visual Analytics Approach for Exploring Shortcuts in Natural Language Understanding Dataset

2022-08-17 · Zhihua Jin, Xingbo Wang, Furui Cheng, Chunhui Sun 외

Benchmark datasets play an important role in evaluating Natural Language Understanding (NLU) models. However, shortcuts -- unwanted biases in the benchmark datasets -- can damage the effectiveness of benchmark datasets i…

Natural Language Understanding

Which Shortcut Solution Do Question Answering Models Prefer to Learn?

2022-11-29 · Kazutoshi Shinoda, Saku Sugawara, Akiko Aizawa

Question answering (QA) models for reading comprehension tend to learn shortcut solutions rather than the solutions intended by QA datasets. QA models that have learned shortcut solutions can achieve human-level performa…

Multiple-choiceQuestion AnsweringReading Comprehension