Multi-layer Cross-Attention is Provably Optimal for Multi-modal In-context Learning

Nicholas Barnfield, Subhabrata Sen, Pragya Sur · 2026

Read Multi-layer Cross-Attention is Provably Optimal for Multi-modal In-context Learning by Nicholas Barnfield, Subhabrata Sen, Pragya Sur (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-04872.txt.

Description

Nicholas Barnfield, Subhabrata Sen, and Pragya Sur prove that depth matters for multimodal in-context learning in a 2026 theory paper. In-context learning lets a model pick up a task from examples in its prompt. Existing theory covers only single-modality data, leaving multimodal learning poorly understood.

The authors model multimodal data with a latent factor structure, where hidden factors generate the observations. Their first result is negative: single-layer linear self-attention cannot recover the best possible predictor uniformly across tasks. They then introduce a linearized cross-attention mechanism and study many layers with long context. That mechanism is provably optimal, matching the Bayesian ideal when trained by gradient flow. The results establish concrete benefits of cross-attention and depth.

Catalog record

CREATORNicholas Barnfield, Subhabrata Sen, Pragya Sur
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE105 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2602-04872

Browse the full library · About the Tower of Babel