AI and the World's Hard Problems · Theoretical computer science · arXiv · 2026-11-25
Transformers with Signatures: Towards Universal In-Context Learning in Path Space

This paper builds an in-context learning framework for path space using path signature features. It shows that a causal softmax transformer with two attention heads per layer can emulate in-context Lasso and derives finite-sample prediction error bounds under sparse signature approximation and moment conditions. Across sparse recovery, path regression, execution-cost prediction and financial payoff tasks, the signature-based transformers match or outperform vanilla transformers with substantially fewer trainable parameters.