scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Your Transformer is Secretly Linear

Anton Razzhigaev, Matvey Mikhalchuk, Elizaveta Goncharova, Nikolai Gerasimenko, Ivan Oseledets, Denis Dimitrov, Andrey Kuznetsov

ACL 2024Architectures and efficiency › Attention and transformersapproach: Transformer expressivity and learnabilityopen problems in this approach45 citations (OpenAlex)

AIRI · Skoltech · Lomonosov Moscow State University · HSE University · Sber AI

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

11measured effects
8improved
1no clear effect
2hurt

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
add cosine-similarity regularization between consecutive layers in pretrainingMistral 650M · SuperGLUE (mean)mean score: 43.33 -> 46.06Improved
add cosine regularization in pretrainingMistral 150M · SuperGLUE (mean)mean score: 41.10 -> 42.78Improved
add cosine regularization in pretrainingMistral 650M · TinyStories GPT-4 evalmean score: 5.39 -> 6.08Improved
add cosine regularization in pretrainingMistral 150M · TinyStories GPT-4 evalmean score: 4.86 -> 5.44Improved
use MSE instead of cosine regularization (weight 0.5) (ablation)Mistral 150M · SuperGLUE (mean)mean score: 41.10 -> 41.64No clear effect
use MSE regularization with weight 2.0 (ablation)Mistral 150M · SuperGLUE (mean)mean score: 41.10 -> 40.64Hurt
add cosine regularization in pretrainingMistral 650M · layer linearity scorelinearity scoreImproved
add cosine regularization in pretrainingMistral 650M · linear probing xstorycloze-enprobe performanceImproved
fine-tune on SuperGLUE tasks and reward modelingOPT, Llama2-7B, GPT2 models · linearity score w/o residualdelta linearity: +0.004 to +0.382Improved
continue pretrainingopen-source decoder models · linearity of main streamlinearity scoreHurt
replace pruned layers with linear approximations plus layerwise MSE distillation (ablation)pruned decoders (OPT-1.3B) · WikiTextperplexityImproved

Open problems in Transformer expressivity and learnability

Do theorems about transformer expressivity and learning still hold for deep, softmax, trained models?

All 3 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