Research map / Architectures and efficiency / Attention and transformers
Linear Transformers with Learnable Kernel Functions are Better In-Context Models
Yaroslav Aksenov, Nikita Balagansky, Sofia Maria Lo Cicero Vaina, Boris Shaposhnikov, Alexey Gorbatovski, Daniil Gavrilov
Higher School of Economics · Tinkoff · Moscow Institute of Physics and Technology · Innopolis University
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 |
|---|---|---|---|
| replace Based kernel with learnable normalized quadratic kernel (ReBased) | Based · MQAR seq len 2048 (mean) | accuracy: 0.51 -> 0.61 | Improved |
| replace Based kernel with ReBased | Based · MQAR seq len 256 (mean) | accuracy: 0.58 -> 0.63 | Improved |
| replace the Taylor kernel with plain x^2 (ablation) | Based · MQAR seq len 2048 (mean) | accuracy: 0.51 -> 0.44 | Hurt |
| add normalization before squaring (ablation) | x^2 kernel · MQAR seq len 2048 (mean) | accuracy: 0.44 -> 0.58 | Improved |
| add learnable scale and bias to x^2 (no normalization) (ablation) | x^2 kernel · MQAR seq len 2048 (mean) | accuracy: 0.44 -> 0.60 | Improved |
| add scale-only affine to x^2 (ablation) | x^2 kernel · MQAR seq len 256 (mean) | accuracy: 0.54 -> 0.51 | Hurt |
| replace Based with ReBased in language modeling | Based · Pile | perplexity (all tokens): 12.99 -> 12.90 | Improved |
| use ReBased instead of attention | ReBased · Pile | perplexity: 12.90 vs attention 11.98 | Hurt |
| replace Based with ReBased in 1-shot LM Evaluation Harness | Based · LM Evaluation Harness | macro accuracy: 41.3 -> 42.1 | Improved |
| replace Based with ReBased on Hellaswag and Arc-C | Based · Hellaswag, Arc-C 1-shot | accuracy: Hellaswag 30.8 -> 30.7; Arc-C 22.9 -> 21.5 | Hurt |
| replace Based with ReBased on SuperGLUE RTE | Based · SuperGLUE RTE 1-shot | score: 47.6 -> 53.1 | Improved |
| replace Based with ReBased in attention-matrix analysis | Based · MQAR IoU | IoU: 0.157 -> 0.173 | Improved |
Open problems in training dynamics of in-context learning
Do the training-dynamics results on in-context learning hold for deep softmax transformers on real data?
- Experiments are on small synthetic tasks, not real LLMs. · 20 papers state it
- Proofs cover only one-layer, linear or otherwise simplified attention. · 16 papers state it
- Theory assumes idealized data such as orthonormal features. · 9 papers state it
Closest papers by meaning
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.90)
- On the Power of Convolution-Augmented Transformer (AAAI 2025 · similarity 0.89)
- Transformers are Minimax Optimal Nonparametric In-Context Learners (NeurIPS 2024 · similarity 0.88)
- Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete Functions (ICLR 2024 · similarity 0.88)
- Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers (NeurIPS 2025 · similarity 0.88)
- Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context Learning (NeurIPS 2024 · similarity 0.88)
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.