scimeatlas

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

ACL 2024Architectures and efficiency › Attention and transformersapproach: Training dynamics of in-context learningopen problems in this approach20 citations (OpenAlex)

Higher School of Economics · Tinkoff · Moscow Institute of Physics and Technology · Innopolis University

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

13measured effects
8improved
5hurt

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
replace Based kernel with learnable normalized quadratic kernel (ReBased)Based · MQAR seq len 2048 (mean)accuracy: 0.51 -> 0.61Improved
replace Based kernel with ReBasedBased · MQAR seq len 256 (mean)accuracy: 0.58 -> 0.63Improved
replace the Taylor kernel with plain x^2 (ablation)Based · MQAR seq len 2048 (mean)accuracy: 0.51 -> 0.44Hurt
add normalization before squaring (ablation)x^2 kernel · MQAR seq len 2048 (mean)accuracy: 0.44 -> 0.58Improved
add learnable scale and bias to x^2 (no normalization) (ablation)x^2 kernel · MQAR seq len 2048 (mean)accuracy: 0.44 -> 0.60Improved
add scale-only affine to x^2 (ablation)x^2 kernel · MQAR seq len 256 (mean)accuracy: 0.54 -> 0.51Hurt
replace Based with ReBased in language modelingBased · Pileperplexity (all tokens): 12.99 -> 12.90Improved
use ReBased instead of attentionReBased · Pileperplexity: 12.90 vs attention 11.98Hurt
replace Based with ReBased in 1-shot LM Evaluation HarnessBased · LM Evaluation Harnessmacro accuracy: 41.3 -> 42.1Improved
replace Based with ReBased on Hellaswag and Arc-CBased · Hellaswag, Arc-C 1-shotaccuracy: Hellaswag 30.8 -> 30.7; Arc-C 22.9 -> 21.5Hurt
replace Based with ReBased on SuperGLUE RTEBased · SuperGLUE RTE 1-shotscore: 47.6 -> 53.1Improved
replace Based with ReBased in attention-matrix analysisBased · MQAR IoUIoU: 0.157 -> 0.173Improved

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?

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