scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Grokking of Hierarchical Structure in Vanilla Transformers

Shikhar Murty, Pratyusha Sharma, Jacob Andreas, Christopher D. Manning

ACL 2023Architectures and efficiency › Attention and transformersapproach: Attention head mechanismsopen problems in this approach79 citations (OpenAlex)

Stanford University · Massachusetts Institute of Technology

Read the paperPlace an idea next to itCheck your own paper ↗

7measured effects
5improved
1no clear effect
1hurt

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 changedWhereMeasuredEffect
Train for much longer, past in-domain saturationvanilla transformer LM · Question-Formation and Tense-Inflection generalizationaccuracy: <40%, <50% -> <90%, <80% (QF, TI)Improved
Train for longer instead of early stoppingvanilla transformer · datasets where prior work reports <20%mean accuracy across seeds: <20% -> 80%Improved
Use intermediate depth rather than 2 or 10 layers (ablation)transformer LM · Question-Formation and Tense-Inflectionfraction of seeds crossing 80% accuracyImproved
Increase model depth beyond the optimum (ablation)transformer LM · Question-Formation and Tense-Inflectionhierarchical generalizationHurt
Use shallower models with smaller weight norms/attention sparsity (ablation)transformer LM · Question-Formation and Tense-Inflectionhierarchical generalizationNo clear effect
Model depth at the optimum has the highest tree-structuredness (ablation)transformer LM · Question-Formation and Tense-Inflectiontree-structurednessImproved
Continue training after training loss flattenstransformer LM · Question-FormationgeneralizationImproved

Open problems in attention head mechanisms

Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?

All 5 open problems and what was already tried →

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