scimeatlas

Research map / Optimization / Implicit bias and generalization

Logarithmic Depth Suffices for In-Context Gradient Descent

Yingze Li, Dong Wang, Xianglong Liu, Qingyun Zou, Chunnan Wang, Zhiyu Liang, Hongzhi Wang

NeurIPS 2026Optimization › Implicit bias and generalizationapproach: In-context learning as gradient descentopen problems in this approach

Harbin Institute of Technology · National University of Singapore

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

In one sentence

Shows theoretically that linear self-attention Transformers can emulate many steps of gradient descent for in-context learning at logarithmic depth, rather than one layer per update.

AI-extracted summary. Written by AI from the paper's abstract only. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Problem

Prior work shows an L-layer Transformer can emulate L gradient-descent updates in context, leaving open whether depth is merely a step counter for in-context learning.

Approach

In linear self-attention, each layer compounds the algebraic capacity built by previous layers, so depth can yield exponentially more effective gradient-descent steps than layer count, with logarithmic depth sufficing.

Key results

Surprising findings

  • Depth is not merely a step counter: logarithmic depth suffices to emulate many gradient-descent updates in linear self-attention.

Limitations

  • Analysis limited to linear self-attention as stated in the abstract.

Open problems this paper states

Open problems in in-context learning as gradient descent

Do in-context gradient descent results for linear attention carry over to softmax and deeper transformers?

All 5 open problems and what was already tried →

Experimental setup

Builds on: in-context gradient descent emulation by Transformers

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