Learning What Matters: Supervising Sparse Attention Routing with Causal Evidence Sets
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
- Causal evidence sets are more stable across model training runs than attention patterns.
- Attention can be diffuse, including irrelevant or obsolete information.
- Interventions are crucial for identifying true causal dependencies in model behavior.
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
- Train sparse attention routers using causal evidence sets instead of attention distillation.
- Use intervention-based methods to identify critical context for model outputs.
Topics
- Sparse Attention
- Causal Evidence Sets
- Attention Distillation
- Transformer Models
- Context Retrieval
- Model Interpretability
Best for: Research Scientist, AI Engineer, NLP Engineer, AI Scientist, Machine Learning Engineer, AI Architect
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.