Sign inGet started
Paper · arXiv

When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers

Transformers perform computations through many successive attention and feedforward blocks, allowing them to learn complex correlations between a large collection of coupled variables. When does stacking successive attention-feedforward computations over many layers provide a computational advantage over a single transformer block? We address this question by examining in-context learning in generalized linear attention transformers. We first introduce a general theory of distributed inference in such transformers, subject to constraints on communication and depth. We show that such systems can exploit internal representations (`function vectors') to infer a latent context variable at inc...

AuthorsRavin Raj, Gautam Reddy
Primary categorycs.LG
Published15 June 2026
Last updated at source27 September 2026
cs.LGcs.AIphysics.app-phq-bio.NC
Embed this entry
<iframe src="https://silytics.si/embed/item/fd15ba9c-08ca-466d-a60a-365af9937cb7" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.