mlsanityData to 14 Oct 2026

Continuum Transformers Perform In-Context Learning by Operator Gradient Descent

arXiv 2505.17838 ↗First posted 23 May 2025stat.ML cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Transformers robustly exhibit the ability to perform in-context learning, whereby their predictive accuracy on a task can increase not by parameter updates but merely with the placement of training samples in their context windows. Recent works have shown that transformers achieve this by implementing gradient descent in their forward passes. Such results, however, are restricted to standard transformer architectures, which handle finite-dimensional inputs. In the space of PDE surrogate modeling, a generalization of transformers to handle infinite-dimensional function inputs, known as "continuum transformers," has been proposed and similarly observed to exhibit in-context learning. Despite impressive empirical performance, such in-context learning has yet to be theoretically characterized. We herein demonstrate that continuum transformers perform in-context operator learning by performing gradient descent in an operator RKHS. We demonstrate this using novel proof strategies that leverage a generalized representer theorem for Hilbert spaces and gradient flows over the space of functionals of a Hilbert space. We additionally show the operator learned in context is the Bayes Optimal Predictor in the infinite depth limit of the transformer. We then provide empirical validations of this optimality result and demonstrate that the parameters under which such gradient descent is performed are recovered through the continuum transformer training.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 36 of its 48 references that are in the map. First posted on arXiv 23 May 2025.

Builds on

36 of 48 references.

References · 36

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,908
  4. 2019DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operatorscited by 2,018
  5. 2020Neural Operator: Graph Kernel Network for Partial Differential Equationscited by 734
  6. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  7. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  8. 2021Learning the solution operator of parametric partial differential equations with physics-informed DeepOnetscited by 540
  9. 2024Large Language Models: A Surveycited by 525
  10. 2021Neural Operator: Learning Maps Between Function Spacescited by 414
  11. 2020Multipole Graph Neural Operator for Parametric Partial Differential Equationscited by 349
  12. 2021Choose a Transformer: Fourier or Galerkincited by 343
24 more
  1. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
  2. 2020Model Reduction and Neural Networks for Parametric PDEscited by 258
  3. 2023Spherical Fourier Neural Operators: Learning Stable Dynamics on the Spherecited by 233
  4. 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
  5. 2023In-Context Operator Learning with Data Prompts for Differential Equation Problemscited by 101
  6. 2024Operator Learning: Algorithms and Analysiscited by 85
  7. 2023A Mathematical Guide to Operator Learningcited by 76
  8. 2022Learning Deep Implicit Fourier Neural Operators (IFNOs) with Applications to Heterogeneous Material Modelingcited by 65
  9. 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
  10. 2015Operator-valued Kernels for Learning from Functional Response Datacited by 60
  11. 2024Towards a Foundation Model for Partial Differential Equations: Multi-Operator Learning and Extrapolationcited by 46
  12. 2024Continuum Attention for Neural Operatorscited by 40
  13. 2021Mosaic Flows: A Transferable Deep Learning Framework for Solving PDEs on Unseen Domainscited by 37
  14. 2024PROSE-FD: A Multimodal PDE Foundation Model for Learning Multiple Operators for Forecasting Fluid Dynamicscited by 34
  15. 2024PDE Generalization of In-Context Operator Networks: A Study on 1D Scalar Nonlinear Conservation Lawscited by 31
  16. 2023Rethinking materials simulations: Blending direct numerical simulations with neural operatorscited by 25
  17. 2024VICON: Vision In-Context Operator Networks for Multi-Physics Fluid Dynamics Predictioncited by 25
  18. 2024Peridynamic Neural Operators: A Data-Driven Nonlocal Constitutive Model for Complex Material Responsescited by 18
  19. 2025Operator Learning: A Statistical Perspectivecited by 17
  20. 2023Neural Spectral Methods: Self-supervised learning in the spectral domaincited by 14
  21. 2024MODNO: Multi Operator Learning With Distributed Neural Operatorscited by 14
  22. 2024LeMON: Learning to Learn Multi-Operator Networkscited by 14
  23. 2024Spectral-Refiner: Accurate Fine-Tuning of Spatiotemporal Fourier Neural Operator for Turbulent Flowscited by 11
  24. 2025Solving Optimal Execution Problems via In-Context Operator Networkscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.