AI Paper Atlas

Research map / Optimization / Implicit bias and generalization

Transformers Learn In-Context by Gradient Descent

ICML 2023 · Optimization › Implicit bias and generalization · approach: In-context learning as gradient descent · 88 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's title only (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
Train a single linear self-attention layer on linear regression tasksLinear self-attention Transformer · Linear regressionprediction lossNo clear effect
Stack self-attention layers to perform iterative curvature correctionDeep linear self-attention Transformer · Linear regressionprediction lossHelped
Add an MLP before self-attention to learn on deep representationsTransformer · Sine-wave regressionprediction lossHelped
Use a single softmax self-attention head instead of linear self-attention (ablation)Single-layer self-attention Transformer · Linear regressionprediction lossHurt
Increase softmax self-attention from one head to two heads (ablation)Softmax self-attention Transformer · Linear regressionprediction lossHelped
Use two softmax heads instead of one to approximate the gradient-descent update (ablation)Softmax self-attention Transformer · Linear regressionalignment with gradient descentHelped
Add LayerNorm before self-attention (ablation)Self-attention Transformer · Linear regressionprediction lossHurt
Use alternating input and target tokens rather than concatenated input-target tokens (ablation)Two-layer self-attention Transformer · Linear regressionprediction lossMixed
Use linear self-attention in the first layer for alternating input and target tokens (ablation)Two-layer self-attention Transformer · Linear regressiontraining successHurt
Repeat a trained single-layer update without dampening (ablation)Single linear self-attention layer and gradient descent · Linear regression, repeated updatesprediction lossHurt
Apply dampening with λ = 0.75 to repeated updates (ablation)Single linear self-attention layer and gradient descent · Linear regression, repeated updatesprediction lossHelped

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