AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers

Róbert Csordás, Kazuki Irie, Jürgen Schmidhuber

EMNLP 2021Architectures and efficiency › Attention and transformersapproach: Transformer expressivity and learnability175 citations (OpenAlex)

The Swiss AI Lab IDSIA

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

13measured effects
10improved
2no 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.

This paper tried a common change: Add positional encoding

use relative positional embedding · SCAN length cutoff 26 · accuracy: 0.29 -> 0.61 Improved

What 672 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
use relative positional embedding (ablation)Transformer · SCAN length cutoff 26accuracy: 0.29 -> 0.61Improved
use relative positional embedding (ablation)Universal Transformer · SCAN length cutoff 26accuracy: 0.21 -> 1.00Improved
remove early stopping (fixed 50k steps) (ablation)Transformer · COGS generalizationaccuracy: 35% -> 81% (best model); 65% in original codebaseImproved
Position Embedding Downscaling instead of Token Embedding Upscaling (ablation)Transformer · COGS generalizationaccuracy: 0.78 -> 0.80Improved
Position Embedding Downscaling instead of no scaling (ablation)Transformer · COGS generalizationaccuracy: 0.62 -> 0.80Improved
Position Embedding Downscaling instead of Token Embedding Upscaling (ablation)Transformer · PCFG productivityaccuracy: 0.47 -> 0.65Improved
train longer (300k steps, about 237 epochs vs 25)Transformer · PCFG productivityaccuracy: 0.50 -> 0.65Improved
share weights across layers (Universal Transformer) with relative PETransformer · PCFG productivityaccuracy: 0.65 -> 0.85Improved
use Universal Transformer instead of standard (ablation)Transformer with relative PE · COGS generalizationaccuracy: 0.81 -> 0.77Hurt
use relative positional embedding or Universal variant (ablation)Transformer · CFQ MCD splitsaccuracy: MCD1 0.40 vs 0.39; MCD mean 0.20 for all variantsNo clear effect
use relative Universal TransformerTransformer · CFQ output lengthaccuracy: 0.57 -> 0.81Improved
use relative Universal TransformerTransformer · Math place_valueaccuracy: 0.12 -> 0.75Improved

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