mlsanityData to 24 Nov 2026

Transformers with Signatures: Towards Universal In-Context Learning in Path Space

arXiv 2611.31439 ↗Submitted 23 Nov 2026Announced 25 Nov 2026cs.LG math.OC stat.MLcited by 0

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) enables transformers to adapt to new tasks from demonstrations without updating their parameters. However, theoretical guarantees for transformers remain limited in general, and elusive in particular when target responses depend nonlinearly on the evolution of observed paths. We establish an ICL framework for path space, using path signature features. Building on the universal linear approximation property of signatures, we construct explicitly a causal softmax transformer with two attention heads per layer that emulates in-context Lasso. Under sparse signature approximation and suitable moment and concentration conditions, we establish finite-sample prediction error bounds. Our analysis goes beyond the IID data setting in the existing ICL theory, allowing dependence among demonstrations and the query. Experiments on in-context sparse recovery, nonlinear path regression, execution-cost prediction, and financial payoff inference demonstrate robustness to changes in observation grids and adaptation to unseen market environments. Across these prediction tasks, transformers with signatures match or outperform vanilla transformer baselines with substantially fewer trainable parameters, highlighting the effectiveness and efficiency of signature-based ICL.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 25 of its 64 references that are in the map. Submitted 23 Nov 2026, announced 25 Nov 2026.

Builds on

25 of 64 references.

References · 25

  1. 2017Attention Is All You Needcited by 62,125
  2. 2020Language Models are Few-Shot Learnerscited by 33,113
  3. 2022Transformers learn in-context by gradient descentcited by 763
  4. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 754
  5. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 729
  6. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 313
  7. 2016A Primer on the Signature Method in Machine Learningcited by 117
  8. 2019Deep Signature Transformscited by 79
  9. 2018Signature moments to characterize laws of stochastic processescited by 58
  10. 2013Regularized estimation in sparse high-dimensional time series modelscited by 44
  11. 2024Transformers are Minimax Optimal Nonparametric In-Context Learnerscited by 43
  12. 2022Signature Methods in Machine Learningcited by 37
13 more
  1. 2025Transformers Meet In-Context Learning: A Universal Approximation Theorycited by 12
  2. 2025Rough kernel hedgingcited by 11
  3. 2025Universal Approximation with Softmax Attentioncited by 11
  4. 2021Generalization bounds for nonparametric regression with β-mixing samplescited by 6
  5. 2023On Consistency of Signature Using Lassocited by 6
  6. 2023Signature Trading: A Path-Dependent Extension of the Mean-Variance Framework with Exogenous Signalscited by 6
  7. 2025Solving Optimal Execution Problems via In-Context Operator Networkscited by 6
  8. 2026Universal approximation with signatures of non-geometric rough pathscited by 5
  9. 2024Transportation Marketplace Rate Forecast Using Signature Transformcited by 2
  10. 2017High-dimensional Linear Regression for Dependent Data with Applications to Nowcastingcited by 1
  11. 2026Signature Approach for Contextual Bandits with Nonlinear and Path-dependent Rewards: Regret Bound and Statistical Inferencecited by 1
  12. 2026How Fast Do Signatures Learn? Statistical Theory and Applications for Path Regressioncited by 1
  13. 2026Tradable Ito Signatures: A Model-Free, Interpretable Framework for Dynamic Hedgingcited by 1

Built on by

Not cited yet.