Learning What Matters: Supervising Sparse Attention Routing with Causal Evidence Sets

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Emerging Technologies & Innovation · Depth: Expert, extended

Summary

The study "Learning What Matters: Supervising Sparse Attention Routing with Causal Evidence Sets" challenges the assumption that a transformer's attention patterns reliably indicate the context it uses for its answer. Researchers found that attention and causal dependence frequently diverge, with dense teachers attending to obsolete facts or exhibiting attention patterns that vary across training runs despite relying on identical evidence. For instance, on a multi-hop retrieval task, a selector trained via attention distillation achieved 41% accuracy, while an identical selector supervised with causal evidence sets reached 99%. Causal evidence sets, which are recovered by masking context and observing answer changes without requiring annotations, proved more stable across seeds (Jaccard 0.79 to 0.90 vs. 0.38 to 0.46 for attention). These findings extend to pretrained models like Qwen2.5-3B and Gemma-2-9B, where causal routing significantly improved performance, demonstrating that attention shows where a model looks, not necessarily what its answer depends on.

Key takeaway

For AI Scientists and Machine Learning Engineers developing sparse attention models, you should prioritize causal evidence sets over traditional attention distillation for supervising routing. Relying on attention patterns can lead to routers that miss critical information, like intermediate steps in multi-hop reasoning, or include irrelevant context. Instead, implement intervention-based methods to derive causal evidence sets, which are more stable and lead to significantly higher accuracy, even improving performance on pretrained models like Gemma-2-9B by removing distractions.

Key insights

Attention weights are unreliable indicators of causal dependence for sparse attention routing, leading to suboptimal performance.

Principles

Method

Causal evidence sets are recovered by masking context blocks and measuring changes in the model's answer, then used to train sparse attention routers.

In practice

Topics

Best for: Research Scientist, AI Engineer, NLP Engineer, AI Scientist, Machine Learning Engineer, AI Architect

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.