atlas

Research map / Large language models / Reasoning and chain of thought

Learning to Focus: Causal Attention Distillation via Gradient‐Guided Token Pruning

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Test-time compute scaling · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LeaF, which uses teacher-student gradient sensitivity differences to find confounding tokens in instructions and responses, prunes them into counterfactual samples, and distills the student on both original and pruned inputs to improve reasoning, code, and multi-hop QA.

Problem

LLMs are distracted by spurious confounding tokens in instructions and generated responses, which misdirects attention and degrades long-context reasoning accuracy and generation quality in small student models.

Approach

Identify confounding tokens by comparing gradient sensitivities of a high-capacity teacher and a student on mispredicted examples, create counterfactual samples by span pruning, and apply a combined KL distillation loss on original and counterfactual inputs so the student aligns with the teacher's focus.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add LeaF instruction- and response-level pruning to standard KDLLaMA3.2-1B-Instruct · LivecodeBenchpass@10: 13.74 -> 12.48Hurt
Add LeaF instruction- and response-level pruning to standard KDLLaMA3.2-3B-Instruct · OlympiadBenchaccuracy: 18.99 -> 22.55Helped
Add LeaF instruction- and response-level pruning to standard KDQwen2.5-Math-1.5B · LivecodeBenchpass@10: 10.10 -> 13.04Helped
Add instruction-level pruning to standard KDLLaMA3.2-3B-Instruct · Multi-hop QAAvg.: 39.03 -> 42.27Helped
Add response-level pruning to instruction-level pruningLeaF · math and code benchmarksaccuracyMixed
Use span pruning rather than collective pruning (ablation)LeaF, LLaMA3.2-1B-Instruct · MATH-500accuracy: 34.20 -> 37.40Helped
Use span pruning rather than collective pruning (ablation)LeaF, LLaMA3.2-3B-Instruct · MATH-500accuracy: 49.20 -> 54.40Helped
Exclude student-wrong original samples from training (ablation)LeaF, LLaMA3.2-1B-Instruct · GSM8Kaccuracy: 57.70 -> 58.15Helped
Exclude student-wrong original samples from training (ablation)LeaF, LLaMA3.2-1B-Instruct · OlympiadBenchaccuracy: 10.09 -> 7.42Hurt
Exclude student-wrong original samples from training (ablation)LeaF, LLaMA3.2-3B-Instruct · MATH-500accuracy: 51.80 -> 47.80Hurt
Exclude student-wrong original samples from training (ablation)LeaF, LLaMA3.2-3B-Instruct · OlympiadBenchaccuracy: 20.77 -> 16.02Hurt

Surprising findings

Limitations

Experimental setup

Datasets: NuminaMath-CoT AceCode-87K KILT HotpotQA NQ PopQA

Benchmarks: GSM8K MATH-500 OlympiadBench HumanEval+ LeetCode LiveCodeBench 2WikiMultiHopQA Musique HotpotQA

Metrics: accuracy pass@1 pass@10 EM F1 SubEM

Baselines: KD w/o Mask Instruct model (Pre-KD) Random Masking PPL-based Masking Collective Pruning

Builds on: chain-of-thought knowledge distillation Step-DPO RHO-1 TokenSkip LLMLingua

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy