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
AIRI · Skoltech · Lomonosov Moscow State University · HSE University · Sber AI
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| add cosine-similarity regularization between consecutive layers in pretraining | Mistral 650M · SuperGLUE (mean) | mean score: 43.33 -> 46.06 | Improved |
| add cosine regularization in pretraining | Mistral 150M · SuperGLUE (mean) | mean score: 41.10 -> 42.78 | Improved |
| add cosine regularization in pretraining | Mistral 650M · TinyStories GPT-4 eval | mean score: 5.39 -> 6.08 | Improved |
| add cosine regularization in pretraining | Mistral 150M · TinyStories GPT-4 eval | mean score: 4.86 -> 5.44 | Improved |
| use MSE instead of cosine regularization (weight 0.5) (ablation) | Mistral 150M · SuperGLUE (mean) | mean score: 41.10 -> 41.64 | No clear effect |
| use MSE regularization with weight 2.0 (ablation) | Mistral 150M · SuperGLUE (mean) | mean score: 41.10 -> 40.64 | Hurt |
| add cosine regularization in pretraining | Mistral 650M · layer linearity score | linearity score | Improved |
| add cosine regularization in pretraining | Mistral 650M · linear probing xstorycloze-en | probe performance | Improved |
| fine-tune on SuperGLUE tasks and reward modeling | OPT, Llama2-7B, GPT2 models · linearity score w/o residual | delta linearity: +0.004 to +0.382 | Improved |
| continue pretraining | open-source decoder models · linearity of main stream | linearity score | Hurt |
| replace pruned layers with linear approximations plus layerwise MSE distillation (ablation) | pruned decoders (OPT-1.3B) · WikiText | perplexity | Improved |
Open problems in Transformer expressivity and learnability
Do theorems about transformer expressivity and learning still hold for deep, softmax, trained models?
- Experiments use small models and synthetic tasks only. · 16 papers state it
- Theory covers one layer, linear attention or fixed matrices, not full transformers. · 12 papers state it
- Theorems and constructions are not shown to match trained transformers. · 6 papers state it
Closest papers by meaning
- Transformer Layers as Painters (AAAI 2025 · similarity 0.87)
- Simplifying Transformer Blocks (ICLR 2024 · similarity 0.86)
- Peri-LN: Revisiting Normalization Layer in the Transformer Architecture (ICML 2025 · similarity 0.86)
- A unified framework for establishing the universal approximation of transformer-type architectures (NeurIPS 2025 · similarity 0.85)
- The Quantization Benefits of Residual-Free Transformers (NeurIPS 2026 · similarity 0.85)
- Residual Stream Analysis with Multi-Layer SAEs (ICLR 2025 · similarity 0.85)
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.