Research map / Architectures and efficiency / Attention and transformers
The Heuristic Core: Understanding Subnetwork Generalization in Pretrained Language Models
Adithya Bhaskar, Dan Friedman, Danqi Chen
Princeton University
Read the paperPlace an idea next to itCheck your own paper ↗
9measured effects
2improved
1no clear effect
4hurt
2mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| ablate heuristic core head L4.H0 (ablation) | BERT fine-tuned on MNLI · HANS SO-Swap | accuracy (%): 86.7 -> 45.4 | Hurt |
| ablate heuristic core head L4.H0 (ablation) | BERT fine-tuned on MNLI · MNLI (matched) | accuracy (%): 83.3 -> 82.9 | No clear effect |
| ablate three heuristic core heads together (L2.H5, L3.H7, L4.H0) (ablation) | BERT fine-tuned on MNLI · HANS SO-Swap | accuracy (%): 86.7 -> 3.6 | Hurt |
| ablate heuristic core head L4.H0 (ablation) | BERT fine-tuned on QQP · QQP-PAWS (adversarial) | accuracy (%): 14.8 -> 3.3 | Hurt |
| ablate heuristic core head L10.H10 (ablation) | BERT fine-tuned on MNLI · HANS Embed-If | accuracy (%): 33.0 -> 41.1 | Improved |
| prune with different random seeds at 50% sparsity | BERT fine-tuned on MNLI · HANS Embed-If | accuracy (%): 4.1% to 50.2% across subnetworks | Mixed |
| increase pruning sparsity to 70% (MNLI) / 60% (QQP) | pruned BERT subnetworks · HANS / PAWS-QQP | accuracy: ID stays 74-76%, OOD generalization lost | Hurt |
| generalization during fine-tuning | BERT fine-tuned on MNLI · effective size on OOD/mixed data | effective size: effective size increases as model generalizes | Mixed |
| compare head frequencies across 50% and 70% sparsity subnetworks | BERT fine-tuned on MNLI · MNLI subnetworks | Spearman correlation: 0.82 (QQP 0.74) | Improved |
Open problems this paper states
- “Experiments use only text classification tasks and only BERT models.” → Results are tied to one architecture or position encoding. (an open problem in attention head mechanisms)
Open problems in attention head mechanisms
Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?
- Mechanisms are shown only at small scale, with larger models untested. · 19 papers state it
- Theory covers only one-layer or attention-only transformers. · 14 papers state it
- Findings come from synthetic or toy tasks that may not match natural language. · 12 papers state it
Closest papers by meaning
- A Systematic Assessment of Syntactic Generalization in Neural Language Models (ACL 2020 · similarity 0.90)
- How Do Neural Sequence Models Generalize? Local and Global Cues for Out-of-Distribution Prediction (EMNLP 2021 · similarity 0.90)
- Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minima (NeurIPS 2026 · similarity 0.89)
- Efficient stagewise pretraining via progressive subnetworks (ICLR 2025 · similarity 0.89)
- Quantifying Generalization Complexity for Large Language Models (ICLR 2025 · similarity 0.88)
- Concentrate Attention: Towards Domain-Generalizable Prompt Optimization for Language Models (NeurIPS 2024 · similarity 0.88)
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.