paper-with-me

홈 › Papers

Iteration Head: A Mechanistic Study of Chain-of-Thought

2024-06-04 · Vivien Cabannes, Charles Arnal, Wassim Bouaziz, Alice Yang, Francois Charton, Julia Kempe

Chain-of-Thought (CoT) reasoning is known to improve Large Language Models both empirically and in terms of theoretical approximation power. However, our understanding of the inner workings and conditions of apparition of CoT capabilities remains limited. This paper helps fill this gap by demonstrating how CoT reasoning emerges in transformers in a controlled and interpretable setting. In particular, we observe the appearance of a specialized attention mechanism dedicated to iterative reasoning, which we coined "iteration heads". We track both the emergence and the precise working of these iteration heads down to the attention level, and measure the transferability of the CoT skills to which they give rise between tasks.

📄 PDF Abstract BibTeX arXiv:2406.02128

Code (1)

facebookresearch/pal 공식 구현 pytorch

Similar Papers 제목 키워드 기반

How to think step-by-step: A mechanistic understanding of chain-of-thought reasoning

2024-02-28 · Subhabrata Dutta, Joykirat Singh, Soumen Chakrabarti, Tanmoy Chakraborty

Despite superior reasoning prowess demonstrated by Large Language Models (LLMs) with Chain-of-Thought (CoT) prompting, a lack of understanding prevails around the internal mechanisms of the models that facilitate CoT gen…

Answer Generation

Mechanics of Bias and Reasoning: Interpreting the Impact of Chain-of-Thought Prompting on Gender Bias in LLMs

2026-05-19 · Edie Pearman, Sophia Osborne, Mira Kandlikar-Bloch, Mina Arzaghi 외 arxiv

Large language models (LLMs) are increasingly deployed in socially sensitive settings despite substantial documentation that they encode gender biases. Chain-of-Thought (CoT) prompting has been proposed as a bias-mitigat…

Do Latent-CoT Models Think Step-by-Step? A Mechanistic Study on Sequential Reasoning Tasks

2026-01-31 · Jia Liang, Liangming Pan arxiv

Latent Chain-of-Thought (Latent-CoT) aims to enable step-by-step computation without emitting long rationales, yet its mechanisms remain unclear. We study CODI, a continuous-thought teacher-student distillation model, on…

Stream: Scaling up Mechanistic Interpretability to Long Context in LLMs via Sparse Attention

2025-10-22 · J Rosser, José Luis Redondo García, Gustavo Penha, Konstantina Palla 외 arxiv

As Large Language Models (LLMs) scale to million-token contexts, traditional Mechanistic Interpretability techniques for analyzing attention scale quadratically with context length, demanding terabytes of memory beyond 1…

Deductive Logic in Language Models: Horizontal vs Vertical Reasoning

2025-10-10 · Davide Maltoni, Matteo Ferrara arxiv

Recent language models exhibit significant logical reasoning abilities, yet the mechanisms supporting deductive inference remain poorly understood. This paper studies small transformer-based language models trained from …

Logical ReasoningDecision Making