Signature Features Enable Universal In-Context Learning in Path Space
ORIGINAL / Transformers with Signatures: Towards Universal In-Context Learning in Path Space
The study builds an in-context learning framework for transformers in path space using path signature features, capturing nonlinear dependence of target responses on the evolution of observed paths while providing finite-sample prediction error bounds; it is useful because it extends ICL theory beyond IID data to dependent demonstrations and queries and explicitly links attention structure to in-context Lasso.
01 ABSTRACT
The paper proposes a path-signature-based theoretical framework for in-context learning by transformers in path space. The authors explicitly construct a causal softmax transformer with two attention heads per layer that emulates in-context Lasso, and derive finite-sample prediction error bounds under sparse signature approximation plus moment and concentration conditions. Experiments cover sparse recovery, nonlinear path regression, execution-cost prediction, and financial payoff inference, with conclusions confined to the paper's model and data assumptions.
02 KEY FINDINGS
- An explicit two-head-per-layer attention construction lets the transformer perform Lasso-style sparse estimation in context.
- The analysis relaxes the IID assumption, allowing dependence between demonstrations and the query.
- Finite-sample prediction error bounds are derived under sparse signature approximation and moment/concentration conditions.
AI GENERATED SUMMARY / DISCOVERED BY ARXIV CS.LG