Skip to content
DraconiticResearch
Search Sources API
178,970 studies31 sourcesUpdated 44 min ago
PreprintCC BY 4.0arXiv

Nonparametric In-Context Learning under Growing Geometric Complexity: Minimax Optimality and Local Geometry-Adaptivity of Transformers

Abstract

Transformers have become a central architecture for in-context learning (ICL), particularly through their state-of-the-art performance in large language models. This success motivates understanding how transformers exploit task-relevant structure in geometrically heterogeneous data. However, existing nonparametric ICL theory has largely focused on Euclidean domains or single-manifold models. To address this gap, we study the prediction problem under unknown local geometry, modeled by sample size-dependent mixtures of manifolds with heterogeneous dimensions, smoothness, and sampling masses. Under local separation and small-perturbation conditions, we establish a minimax lower bound capturing the aggregate difficulty of the components and construct an oracle tangent local-polynomial estimator with a matching upper bound. This estimator is connected to a structure-informed, two-stage softmax transformer with a geometric preconditioner and chartwise reduced local-polynomial solvers. The transformer achieves negligible approximation error relative to the minimax rate with logarithmic depth and polynomial size. Finally, we derive an in-context generalization bound for near empirical risk minimizers over this class. Together, these results identify conditions under which the resulting predictor exploits local geometry and attains the aggregate minimax rate.

Related

  1. On the minimax-rate optimality of approximate Bayesian computation in nonparametric problems
    Hien Duy Nguyen
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  2. Finite-sample nonparametric mean tests: Leave-one-out duality and asymptotic optimality
    Yifan Zhu, John C. Duchi
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  3. Adaptivity, Anchoring, and the Exact Oracle Complexity of Stochastic Fixed-Point Iterations
    Yekini Shehu
    arXivPreprintCC BY 4.0Full textOptimisation & controlarXiv
  4. Isometry Groups of Right Invariant Metrics in Geometric Quantum Complexity
    Xiaobo Liu, Lei Zheng
    arXivPreprintarXiv licenceFull textGeometry & topologyQuantum physics & quantum informationarXiv
  5. Geometric Complexity Theory and Graph Isomorphism
    Joshua A. Grochow, Jacob Urisman
    arXivPreprintarXiv licenceFull textAlgebra & number theoryCombinatorics & discrete mathematicsarXiv
BibTeX
@misc{seo2026nonparametric,
  title = {{Nonparametric In-Context Learning under Growing Geometric Complexity: Minimax Optimality and Local Geometry-Adaptivity of Transformers}},
  author = {Jaehee Seo and Jisu Kim},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.31458},
  eprint = {2609.31458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.31458},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Nonparametric In-Context Learning under Growing Geometric Complexity: Minimax Optimality and Local Geometry-Adaptivity of Transformers
AU  - Jaehee Seo
AU  - Jisu Kim
PY  - 2026
DA  - 2026/09/25
PB  - arXiv
DO  - 10.48550/arxiv.2609.31458
UR  - https://arxiv.org/abs/2609.31458
AB  - Transformers have become a central architecture for in-context learning (ICL), particularly through their state-of-the-art performance in large language models. This success motivates understanding how transformers exploit task-relevant structure in geometrically heterogeneous data. However, existing nonparametric ICL theory has largely focused on Euclidean domains or single-manifold models. To address this gap, we study the prediction problem under unknown local geometry, modeled by sample size-dependent mixtures of manifolds with heterogeneous dimensions, smoothness, and sampling masses. Under local separation and small-perturbation conditions, we establish a minimax lower bound capturing the aggregate difficulty of the components and construct an oracle tangent local-polynomial estimator with a matching upper bound. This estimator is connected to a structure-informed, two-stage softmax transformer with a geometric preconditioner and chartwise reduced local-polynomial solvers. The transformer achieves negligible approximation error relative to the minimax rate with logarithmic depth and polynomial size. Finally, we derive an in-context generalization bound for near empirical risk minimizers over this class. Together, these results identify conditions under which the resulting predictor exploits local geometry and attains the aggregate minimax rate.
ER  -