scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Analyzing the Inner Workings of Transformers in Compositional Generalization

Ryoma Kumon, Hitomi Yanaka

NAACL 2025Architectures and efficiency › Attention and transformersapproach: Attention head mechanismsopen problems in this approach8 citations (OpenAlex)

The University of Tokyo

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

11measured effects
6improved
1no clear effect
2hurt
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.

This paper tried a common change: Train longer

train longer (up to 500 epochs) · PP in indirect object NP generalization · exact match accuracy Mixed

What 494 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
prune the base model to a subnetwork found with subnetwork probing on generalization dataTransformer, machine translation · PP in indirect object NP generalizationexact match accuracy (%): 47.0 -> 91.4Improved
prune to a subnetworkTransformer, semantic parsing · PP in indirect object NP generalizationexact match accuracy (%): 55.3 -> 91.2Improved
prune to a subnetworkTransformer, machine translation · PP in subject NP generalizationexact match accuracy (%): 0.0 -> 57.0Improved
prune to a subnetworkTransformer, semantic parsing · PP in subject NP generalizationexact match accuracy (%): 0.1 -> 12.4Improved
remove all syntactic constituency or dependency information (concept scrubbing) (ablation)base model and subnetwork · PP in indirect object NP generalizationexact match accuracyHurt
remove dependency information (ablation)subnetwork, machine translation · generalization setsexact match accuracyNo clear effect
remove constituency of PP modification of indirect object NPs (ablation)subnetwork · PP in indirect object NP generalizationexact match accuracyMixed
remove constituency of PP modification of direct object NPs (ablation)subnetwork, semantic parsing · PP in subject NP generalizationexact match accuracyImproved
remove constituency of PP modification of subject NPs (ablation)subnetwork · PP in subject NP generalizationexact match accuracyHurt
add relative-clause hint sentences to training database model · PP in indirect object NP generalizationexact match accuracy: about +40%Improved
train longer (up to 500 epochs)subnetwork vs base, machine translation · PP in indirect object NP generalizationexact match accuracyMixed

Open problems this paper states

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