Nonparametric In-Context Learning under Growing Geometric Complexity: Minimax Optimality and Local Geometry-Adaptivity of Transformers
Jaehee Seo, Jisu Kim
NeurIPS 2026
TL;DR. We establish sharp minimax rates for nonparametric in-context learning on growing mixtures of heterogeneous manifolds and show that structure-informed transformers can attain these rates by exploiting local geometry, with sufficient pretraining.
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 intrinsic geometry of real-world data. However, existing nonparametric ICL theory has largely focused on simplified settings, such as Euclidean domains or single manifold models, failing to fully explain its phenomenal empirical success in complex tasks. To address this gap, we study the prediction problem under unknown heterogeneous geometry, modeled by sample size-dependent mixtures of manifolds with heterogeneous dimensions, smoothness, and sampling masses. Under the growing geometric complexity model, 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 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 (ERM) over this class. Together, these results identify conditions under which the resulting predictor exploits local geometry and attains minimax rate.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper theoretically establishes the in-context learning ability of a transformer model in a nonlinear regression setting. This is valuable because it goes beyond the simpler models considered in prior work. The paper is currently borderline and could benefit from clarification during the response phase. While all of the reviewers’ comments merit a careful response, I would particularly highlight the following questions: How substantial is the technical innovation relative to the prior work of Shen? What steps can the authors take to improve the clarity and readability of the paper? Can the authors state more explicitly how the theoretical guarantees depend on the problem parameters, rather than hiding these dependencies in unspecified constants?
Post rebuttal: The authors provided extensive, thoughtful remarks during the rebuttal phase, and two reviewers raised their score.
Final justification
The paper advances our understanding of the in-context learning ability of transformer models in a meaningful way. All reviewers are supportive of acceptance, with two increasing their ratings post-rebuttal.
Read meta-review
Meta-review
This paper theoretically establishes the in-context learning ability of a transformer model in a nonlinear regression setting. This is valuable because it goes beyond the simpler models considered in prior work. The paper is currently borderline and could benefit from clarification during the response phase. While all of the reviewers’ comments merit a careful response, I would particularly highlight the following questions: How substantial is the technical innovation relative to the prior work of Shen? What steps can the authors take to improve the clarity and readability of the paper? Can the authors state more explicitly how the theoretical guarantees depend on the problem parameters, rather than hiding these dependencies in unspecified constants?
Post rebuttal: The authors provided extensive, thoughtful remarks during the rebuttal phase, and two reviewers raised their score.
Final justification
The paper advances our understanding of the in-context learning ability of transformer models in a meaningful way. All reviewers are supportive of acceptance, with two increasing their ratings post-rebuttal.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper theoretically studies in-context learning under the setting of mixture of manifolds with different local geometry. The theoretical results include a minimax lower bound of learning on this class, and an oracle tangent local estimator that can match the order of the minimax lower bound. Furthermore, this paper demonstrates that a linear Transformer is expressive enough to impelement the oracle tangent local estimator, and provides learnability result for linear Transformer.
Strengths and weaknesses
Strengths:
This paper provides novel theoretical analysis of in-context learning under a mixture of manifolds setting. The minimax lower bound demonstrate the difficulty of this task, while the oralce estimator provides a possible mechanism of in-context learning.
Weaknesses:
- In Algorithm 1, is given as as input, then the algorithm should calculate all tangent loss and take the minimum one. It is unclear that how to obtain , what the size of w.r.t. problem size, and if this will face some "curse of dimensionality".
- Theorem 2 demonstrates the oracle minimax upper bound. While the order in Theorem 2 matches that in Theorem 1, it remains unclear how the hidden constant will depend on oracle components in Section 3.3 and Algorithm 1, for instance, .
Questions
Please refer to weaknesses part.
- Could the authors further clarify how to obtain , and what the size of w.r.t. problem size?
- Regarding Theorems 1 and 2, could the authors further demonstrate how the hidden constants will depend on the problem and proposed algorithm?
- In the Transformer class definfed for in-context learning in Section 3.5 ( between lines 292-293), the context length is bounded by , instead of the length of prompt plus the length of response , which is the standard in-context learning setup. Since is the context length of Transformer defined in Section 3.4, for resutls in Section 3.5, what is the output of the Transformer? Will the output contains some "intermediate" results in Section 3.4, e.g., the collection of chartwise reduced regression data (between lines 240-241)?
- This paper selects linear Transformer as the architecture. Can the results regarding linear Transformers be extended to standard softmax-based Transformers?
Limitations
Yes.
Final justification
The rebuttal phase have addressed my main concerns so I increased my score to 4.
Formatting concerns
No formatting concerns noticed.
4 comments
Rebuttal
We sincerely thank the reviewer for the constructive questions. The submission left several aspects of the construction insufficiently explicit. We clarify each point below.
Weakness 1 and Q1.
The set is a pre-specified deterministic grid. It is not estimated from the prompt or supplied as additional test-time information. To make its dependence clearer, we will denote it by in the revision, since its resolution is selected as a function of .
For fixed intrinsic dimension and geometric order , let be the set of rank- orthogonal projectors and let be the bounded set of symmetric multilinear maps of order . The candidate parameter space is
An element represents a local offset, a candidate tangent projector, and higher-order local graph coefficients. Using the metric
we choose as an -net of . It can be constructed by taking finite nets of the offset, projector, and tensor factors and forming their Cartesian product. Standard covering bounds give
where
Thus, the grid has polynomial cardinality in when , , and are fixed. In the transformer construction, the prescribed grid points and the coefficients used to evaluate their losses are encoded in the fixed model weights.
The higher-order tensor factors are required because the regression estimator uses a polynomial of degree
in intrinsic coordinates. The local geometry is fitted through order
so that tangent-estimation error does not dominate the higher-order regression remainder.
Its polynomial exponent may grow rapidly with and , so we do not claim that the grid is a computationally efficient manifold estimator when these parameters grow. Its purpose is to provide an explicit minimax optimal comparator for the constructive transformer analysis. The ambient-dimensional enumeration is confined to the geometric module; after preconditioning, the regression module uses an intrinsic polynomial dictionary of size
independent of ambient dimension .
In the revision, we will add the metric-net definition, cardinality bound, encoding convention, and computational scope immediately before Algorithm 1. The full covering argument will be provided in the appendix.
Weakness 2 and Q2.
We agree that the original statements did not clearly specify how the hidden constants depend on the problem and algorithmic parameters. The answer differs between Theorem 1 and Theorem 2.
For Theorem 1, the constant depends only on the fixed parameters defining the statistical model class. These include the ambient and maximal intrinsic dimensions, the permitted smoothness and regularities, support and density bounds, the response-noise bound, and the fixed margins in the assumptions. It is independent of Algorithm 1, the tangent grid, and the transformer construction.
The constant is uniform over , , , , and all component parameters satisfying the assumptions. Their heterogeneous effects appear explicitly through
Thus, for example, small component masses and large intrinsic dimensions affect the stated rate rather than an unspecified -dependent constant.
For Theorem 2, the upper bound constant may additionally depend on the fixed design choices of the oracle estimator. These include the kernel and cutoff functions, localization and truncation constants, and the fixed exponents and margins used to select the -dependent grid resolution and near-minimizer rule. It remains independent of , , , , and the component containing the query.
The growing number of tangent candidates is not hidden in this constant. For fixed structural dimensions,
The estimator compares these candidates using the observations near the query. The candidate-set complexity enters the finite-sample tangent analysis through , which is for fixed structural dimensions.
This term is tracked explicitly in the tangent-estimation analysis. The grid resolution and near-minimizer tolerance separately control the discretization and stability errors, and are chosen so that these errors remain below the component-specific regression rate.
The grid also has a distinct computational effect. In Theorem 2, it contributes to finite-sample, discretization, and stability errors. In Theorem 3, evaluating polynomially many candidates contributes to the FFN width, while reducing their losses requires only logarithmic depth. Its computational cost is therefore reflected in the transformer size rather than hidden in the oracle upper-bound constant.
We will add separate “depends on / uniform over” statements after Theorem 1 and Theorem 2 and briefly distinguish the statistical and computational roles of the grid. The complete constant bookkeeping will remain in the appendix.
Q3.
Thank you for pointing out this ambiguity. The quantity counts token rows after the fixed embedding map, rather than the number of scalar objects appearing in the mathematical notation for the prompt. In our tokenization, each demonstration pair is stored in a single sample token, with and occupying different feature coordinates. The sequence therefore contains sample tokens, one query token for , and workspace tokens:
The response is not part of the test-time input; it is the unknown target and is used only in the meta-training loss .
The transformer produces internal token states, while the end-to-end predictor returns a single scalar:
The transformer internally produces a matrix of token states, but the fixed readout extracts a single prediction from reserved coordinates of the final query token. The tangent estimate, chart coordinates, and chartwise regression data denoted by are internal hidden states passed from the geometric module to the regression module; they are neither additional prompt inputs nor external outputs of .
In the revision, we will state this packed-token convention explicitly, define as a scalar-valued predictor class, and add a token-layout diagram distinguishing sample, query, and workspace tokens from the final scalar readout.
Q4.
The answer is partially yes. The normalization inherent in standard softmax attention is compatible with the reduced regression module, but the present proof does not yet establish a full end-to-end theorem for a standard unmasked softmax transformer.
Suppose that the geometric module has already produced the intended local weights and intrinsic polynomial features . The regression module forms
and returns , where is the Moore-Penrose pseudoinverse. Standard softmax attention uses weights
If the logits realize the intended positive weights, so that , then , where . The resulting Gram matrix and response vector are therefore
Since
for every , the fitted local-polynomial coefficient and the resulting prediction are unchanged. Thus, once the intended local weights are available, the normalization performed by standard softmax attention is not an obstruction for the reduced regression solve.
This module-level observation does not yet give a full softmax-transformer extension. The oracle localization weights are compactly supported and may be exactly zero, whereas an unmasked softmax head assigns strictly positive weight to every token. Exact realization would therefore require an appropriate mask, while an approximate realization would require controlling the leakage from points outside the intended neighborhood.
This issue is particularly important in the geometric preconditioner, which must identify the relevant component, compare tangent candidates, stabilize the estimated projector, and construct valid coordinate charts. In the mixture setting, small softmax weights assigned to observations from other components can perturb these operations. A full end-to-end extension therefore requires uniform leakage bounds and a stability analysis for the tangent and chart selection steps.
Accordingly, the current formal theorem remains restricted to linear attention. We will state the regression-module normalization invariance as a remark, while clearly identifying the full geometric softmax extension as an open technical step.
Apologies for the formatting issue in our response to Q3. The display equation immediately following the sentence
“The transformer produces internal token states, while the end-to-end predictor returns a single scalar:”
did not render correctly. The intended expression is
This is only a formatting correction; the substance of our response is unchanged.
Thanks for the rebuttal. I think my major concerns have been addressed. Therefore, I will increase my score.
We sincerely thank the reviewer for the thoughtful and constructive feedback. The comments helped us identify several aspects of the presentation and technical discussion that required further clarification, and we believe that addressing them will substantially improve the paper.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Most of the existing literature in ICL focus on simplified geometric settings such as Euclidean domain and single-manifold models. This paper studies ICL for nonparametric regression under the mixture of manifold assumption to capture more heterogeneous geometry. More specifically, they construct a two-stage linear-attention transformer consisting of a geometric preconditioner and all-chart reduced local-polynomial solvers to establish the minimax regression rate as well as in-context generalization error.
Strengths and weaknesses
Strength:
- The mixture of manifold is sample-size-dependent, and the parameters such as number of components, proportion, reach, input noise level, may all depend on the sample size, makes it closer to the regimes in which transformers are often applied.
- Under the mixture of manifold model, they characterize how the ICL regression rate is determined by local intrinsic dimension, smoothness, component separation, and effective sample size. Both minimax upper bound and lower bound are established.
- They explicitly established the connection between the oracle tangent local-polynomial estimator and the transformer architecture.
- Algorithm for computing the local tangent local-polynomial is provided, makes the theory computational tractable.
Weakness:
- The transformer considered in this setup is with linear-attention, not the softmax-attention. Also, no layer-normalization is considered which makes it slightly deviate from practice.
- The depth and width of the transformer constructed in Theorem 3 can be made explicit in terms of the achieved error.
- It will be a big plus if at least some synthetic experiments can be done to support the claims made in the paper.
Questions
See weakness.
Limitations
yes.
Final justification
The authors have supplemented their paper with additional explanations regarding the network parameters in their theorem, as well as simulations supporting their theoretical results. I am therefore happy to maintain my current evaluation of a borderline accept.
Formatting concerns
None.
3 comments
Rebuttal
We sincerely thank the reviewer for these concrete and helpful suggestions. They concern the practical scope of the architecture, the dependence of model complexity on the target accuracy, and the empirical visibility of the theoretical phenomena. We address each point below.
Q1.
Our current end-to-end theorem does not yet cover a standard softmax transformer with layer normalization. It is stated for bounded linear attention because the constructive proof uses unnormalized aggregation as a transparent primitive for copying, averaging, and manipulating the sufficient statistics required by the oracle estimator.
There is nevertheless an exact compatibility result for the reduced regression module. Suppose the geometric module has already produced the local weights and intrinsic polynomial features . The regression module forms
and returns , where is the Moore-Penrose generalized inverse of . If the weights are normalized as
then the corresponding statistics satisfy
for the same . Since
the fitted local-polynomial coefficient and the resulting prediction are unchanged. Thus, conditional on realizing the same oracle-compatible local weights, softmax normalization is not an obstruction for the regression solve.
The remaining difficulty lies in the geometric preconditioner. Our proof uses compact localization to identify the relevant component, compare tangent candidates, stabilize the estimated projector, and construct local coordinate charts. Standard unmasked softmax assigns positive mass to all tokens, including observations outside the intended neighborhood and potentially from other components. A full softmax theorem would therefore require uniform control of this cross-component leakage and a stability analysis showing that the perturbed weights do not change the tangent estimate or the active charts. The scale-invariance argument for the regression module alone does not resolve this geometric issue.
Layer normalization presents a separate difficulty. It applies data-dependent centering and rescaling across the feature coordinates of each token and can alter the numerical registers used by both the geometric and regression modules. Our current proof does not establish an invariant encoding or stability result for this operation.
We agree with the reviewer that there is a certain discrepancy between our current theoretical setup and realistic architectural modeling. To address it, we will make a concise clarification regarding the scope in the main text. We will briefly explain the rationale for focusing on linear attention without layer normalization for the formal end-to-end theorem, and explicitly state the following distinction: the reduced regression solve is exactly invariant to common positive normalization, whereas extending the complete geometry-first construction to standard softmax attention and layer normalization requires additional geometric stability analysis. The detailed discussion on what normalized softmax can achieve and where the theoretical difficulties lie will be deferred to the appendix, while keeping modifications to the main text minimal. Furthermore, the exact normalization-invariance statement, along with new synthetic experiments employing normalized softmax attention, will also be added to the appendix. For further details regarding the experiments, we kindly refer the reviewer to our response to Q3.
Q2.
The depth and width can be stated explicitly in terms of the target oracle-approximation error. Here, is the number of transformer blocks, is the hidden width of the feed-forward sublayers, and bounds the absolute values of the trainable parameters.
Suppose that the target squared approximation error is of order . One admissible choice in our construction is
and
The constants have the following roles. accounts for the fixed sequence of geometric, regression, routing, and readout stages. controls the polynomial number of selector and tangent-grid candidates. bounds the polynomial magnitudes of intermediate numerical quantities, while controls the amplification of approximation errors through successive modules. and the nondecreasing polynomial come from the ReLU constructions used for multiplication, polynomial evaluation, reciprocal and spectral maps, and the reduced regression map.
Equivalently, the bounds can be summarized as
where and the coefficients of the nondecreasing polynomial may depend on the fixed structural and construction parameters. These include , , the smoothness bounds, fixed manifold-regularity, support, density, noise, and output bounds, the kernel and cutoff functions, the grid-resolution exponents, and the fixed module design. They are independent of , , the particular distribution , the regression function , and the particular component sequence satisfying the assumptions.
The number of attention heads and the token embedding dimension are also independent of and . Increasing only increases the depth constant, the FFN width exponent, and the parameter-magnitude bound.
The logarithmic depth has two sources. First, the construction must approximate numerical operations on polynomially bounded domains with inverse-polynomial accuracy. Standard constructive ReLU approximations require depth logarithmic in the domain radius and the inverse accuracy. Since the domain radius and required inverse accuracy are powers of , this contributes depth.
Second, the geometric module evaluates polynomially many selector and tangent-grid candidates. These candidates are evaluated in parallel, which contributes to the FFN width, while their losses are aggregated through balanced comparison trees. If there are at most candidates, this requires additional depth.
Therefore, logarithmic depth is sufficient for the inverse-polynomial-accuracy arithmetic and the reduction over polynomially many candidates. We do not claim that logarithmic depth is necessary for every possible transformer implementation.
The original submission established logarithmic depth and polynomial size for each fixed , but absorbed the dependence on the target accuracy into unspecified constants. Motivated by the reviewer's question, we re-examined the module-wise construction and made this dependence explicit. We will state the compact accuracy-complexity relation after Theorem 3, clearly list the parameters on which its constants depend, and provide the full derivation in the appendix. We will similarly clarify the dependence of the generalization guarantee on the number of meta-training prompts and the optimization tolerance.
Q3. Thank you for this suggestion. We completed a controlled experiment targeting the dependence on the number of meta-training prompts, , in our meta-generalization result.
We fix the test problem at , , and manifold components with and balanced dimension mass. Other data parameters are fixed. We vary the available budget ; within each attention family, the architecture and optimizer are fixed, while maximum updates scale with .
We compare normalized linear attention, normalized softmax attention, and an Oracle local-polynomial estimator. Both learned models use width 64, depth 4, and 4 heads. The oracle local-polynomial estimator knows the geometry and dimension and selects bandwidth by CV on separate tuning prompts.
| Method | Quantity | |||
|---|---|---|---|---|
| Linear attention | MSE () | 2.568 [2.382, 2.759] | 1.561 [1.450, 1.680] | 1.538 [1.430, 1.650] |
| Softmax attention | MSE () | 2.409 [2.240, 2.588] | 1.649 [1.536, 1.768] | 1.487 [1.383, 1.594] |
| Local-polynomial | MSE () | 1.738 [1.607, 1.877] | 1.738 [1.607, 1.877] | 1.738 [1.607, 1.877] |
Relative to , paired risk reductions at are 39.2% [35.0%, 43.3%] (linear) and 31.6% [28.5%, 34.7%] (softmax); at they are 40.1% [36.3%, 43.8%] and 38.3% [35.1%, 41.5%]. At the two larger values, model/Oracle ratios are 0.855-0.948. Because Oracle-CV is asymptotically minimax optimal but serves here only as a finite-sample benchmark—not as a lower bound over all estimators—risk ratios below one indicate performance comparable to this benchmark, rather than evidence of outperforming a minimax optimality.
A remarkable point is that both models improve with the available budget while their ranking changes with , giving no uniform winner. Since maximum updates also scale with , this is budget-dependent evidence consistent with, not an isolated verification of, the statistical -term. It does not verify the asymptotic -rate or a softmax theorem.
Full details and context/mixture studies (if needed) will be added to the appendix.
I appreciate the authors’ detailed explanations, it addresses some of my concerns. I’m happy to keep my current evaluation as a borderline accept paper.
We appreciate the reviewer’s constructive comments. We believe that the revisions made in response to these comments have strengthened the clarity and overall quality.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The main subject of the paper is the In Context Learning (ICL) problem from a manifold point of view. The idea is to consider the ICL problem as a regression of a function defined on some manifold. In the paper, the manifold can have a complex structure, including parts of different dimensions. The generalization of Zhaiming Shen's [25, 26] results for such a complex manifold is the main contribution.
Strengths and weaknesses
The paper is the generalization of Zhaiming Shen's [25, 26] results for the case of complex manifolds. This looks like a strong result, unfortunately there is a lack of clarity. This manifold approach to the ICL problem is quite narrow, but the author doesn't provide a good introduction. I had to invest a great deal of effort just to find the problem statement and the paper's contribution to this theory. Check the questions section for more details. In my opinion, the paper requires a rework of the Introduction section and some Clarification of the main contribution.
Questions
-
Is there any evidence that the input data has such a complex manifold structure? The author provides an example of a picture manifold, but typically, a transformer includes an embedding layer before the main blocks. Do we believe that such embeddings don't use the whole latent space and have a concentration around some complex manifold?
-
What was the main challenge in generalization to the more complex manifolds from the mathematical point of view? Is the proof straightforward, or do you have to deal with some additional issues?
Limitations
yes
Final justification
I would like to thank the authors for their detailed response and for addressing all of my questions and concerns. I hope that the review process will help further improve the paper and make its presentation clearer and more accessible to readers.
In light of the authors’ clarifications, I am now willing to recommend the paper for publication and will raise my overall rating to Accept.
Formatting concerns
N/A
1 comment
Rebuttal
We thank the reviewer for the constructive comments. We agree that the original presentation did not make the central problem, motivation, and technical contributions sufficiently clear. We address these points below.
Weakness.
We agree that the Introduction requires revision for clarity and readability. The main issue is not merely that several explanations were missing, but that the narrative order made the statistical problem and the role of the main results difficult to identify. The current opening begins with broad background on transformers and ICL, while the precise prediction problem, the meaning of the oracle, and the connection among the main theorems become clear only later. We will therefore rewrite the Introduction around a problem-first structure.
The opening paragraph will state the nonparametric ICL problem more clearly. The transformer observes in-context noisy samples and must predict on a new task without task-specific parameter updates. This will be followed immediately by the three questions answered in the paper: what the minimax rate is, which statistical procedure attains it, and whether that procedure can be realized and learned by a transformer.
The next part will explain the model in nontechnical terms before presenting the formal assumptions. In particular, it will clarify that different local regions may have different intrinsic dimensions, smoothness levels, masses, and effective sample sizes, and that “growing geometric complexity” means that the number of components, reach, separation, and tubular-noise scales may vary with .
A separate comparison paragraph will explain precisely what changes relative to other works, especially the prior work of Shen. We will point out that the distinction is not simply single manifold vs. manifold mixture. The growing heterogeneous setting requires a new mixture-weighted minimax benchmark, a higher-order tangent local-polynomial comparator under noisy coordinates, and a geometry-first transformer implementation rather than only local-constant kernel averaging. The Introduction will briefly preview the associated technical issues—joint heterogeneous lower-bound construction, control of geometry-induced regression error, projector stabilization, and the all-chart realization—while leaving their detailed analysis to the main results.
The Introduction will close with a theorem-level roadmap. Theorem 1 identifies the aggregate minimax lower bound; Theorem 2 constructs a matching optimal estimator; Theorem 3 shows that a transformer can approximate that comparator; and the generalization theorem establishes when it can be learned from meta-training prompts. We will explicitly describe the oracle comparator approximated by the transformer, so that its role is clear before its construction is introduced.
Q1.
Thank you for raising this important empirical question, which directly concerns the motivation for our geometric model. A growing literature studies the intrinsic geometry of high-dimensional data and learned representations, including representations after embedding and within transformer blocks. The evidence suggests that such representations need not fill the ambient hidden space uniformly: their local intrinsic dimension can be substantially smaller than the ambient dimension and can vary across regions, layers, and training stages. This motivates the two main geometric ingredients of our model: locally low-dimensional structure and heterogeneous local geometry.
At the data level, Pope et al., in The Intrinsic Dimension of Images and Its Impact on Learning (ICLR 2021), report intrinsic dimensions substantially below the ambient pixel dimension. Brown et al., in Verifying the Union of Manifolds Hypothesis for Image Data (ICLR 2023), further provide evidence for a union-of-manifolds description with nonconstant local intrinsic dimension. More directly for transformer representations, Valeriani et al., in The Geometry of Hidden Representations of Large Transformer Models (NeurIPS 2023), and Razzhigaev et al., in The Shape of Learning: Anisotropy and Intrinsic Dimensions in Transformer-Based Models (Findings of EACL 2024), report layer- and training-dependent variation in intrinsic dimension. Lee et al., in Shared Global and Local Geometry of Language Model Embeddings (COLM 2025), further find low, token-dependent local intrinsic dimensions and semantically coherent neighborhoods in language-model embeddings.
Our manifold-mixture model translates these empirical observations into a nonparametric in-context regression framework. We interpret as a post-embedding representation entering the main transformer blocks. Different local regions are represented by components with potentially different intrinsic dimensions, sampling masses, regression smoothness levels, and effective sample sizes. This provides a tractable model for the heterogeneous local geometry reported in the empirical literature and leads directly to the component-dependent statistical difficulty studied in the paper. The learned feature map producing is conceptually distinct from the fixed tokenization map used in our constructive theorem.
Tubular noise represents the accompanying near-manifold viewpoint: observations need not lie exactly on an idealized latent manifold, but may concentrate around it. Related approximate-manifold formulations appear in Jiao et al., in Deep Nonparametric Regression on Approximate Manifolds: Nonasymptotic Error Bounds with Polynomial Prefactors (Annals of Statistics, 2023), and in the noisy-manifold transformer analysis of Shen et al. (2025).
We also clarify that the picture in the paper was intended only as a schematic aid for understanding the theoretical assumptions. In particular, it illustrates the number of components, inter-component separation, reach through local curvature, and tubular perturbations; it was not intended to assert that a particular image dataset or learned representation has exactly the depicted shape. Because this purpose was not sufficiently clear, we will revise the caption and surrounding discussion accordingly.
More broadly, we agree that the original submission did not clearly explain the evidence-to-model connection. Thus, we will summarize the empirical findings on local intrinsic dimension and post-embedding geometry, explain how they motivate the manifold-mixture and tubular-noise model, and distinguish the learned representation map from our fixed tokenization interface. It will also emphasize the originality of the resulting theoretical connection: although prior work studies regression under low or locally defined intrinsic dimension, to the best of our knowledge it does not develop an aggregate minimax and transformer-realization theory for nonparametric ICL under growing, component-dependent local geometry.
Q2.
The proof is not a component-wise repetition of a single-manifold argument. The growing heterogeneous setting changes four parts of the theory: the admissible geometric regime, the minimax lower bound construction, the optimal estimator, and the transformer algorithm.
First, the geometry must be calibrated to the statistical resolution. Because reach, separation, tubular noise, component masses, and may vary with , we first identify the following sufficient regime, up to fixed margins:
together with an effective sample condition. These ensure that local charts remain identifiable, components do not mix within the relevant neighborhoods, tubular noise does not dominate the target accuracy, and finally, minimax optimality is achievable.
Second, the aggregate minimax lower bound cannot be obtained by adding separate single-component bounds. Such bounds may use different least-favorable alternatives and do not establish that one mixture experiment is simultaneously hard on all components. Instead, we construct a heterogeneous Assouad family that perturbs every component at its own -dependent resolution. A single application of Assouad's method then yields
Assouad's lemma itself is classical; the nontrivial step is constructing one mixture-wide family in which all components are simultaneously perturbed at their heterogeneous statistical resolutions.
Third, the matching upper bound requires a new comparator. Shen et al. (2025) study noisy single-manifold approximation and generalization, while Shen et al. (2026) develop kernel-based ICL on a fixed homogeneous manifold. When , fixed local-constant averaging does not generally exploit the full smoothness. We therefore use local-polynomial regression of degree in intrinsic coordinates. Since these coordinates and the query tangent are latent, we first fit the geometry through order and control the resulting coordinate error below the higher-order regression remainder.
Finally, a different transformer construction is needed. The geometric module first recovers stable chartwise intrinsic coordinates and removes redundant normal directions; the regression module then forms polynomial features and solves the reduced weighted least-squares problem. An all-chart construction is additionally needed because a tangent projector does not admit a globally continuous frame selector.
We will slightly revise the discussion around Theorems 1-3 so that these results are presented as connected arguments: Theorem 1 identifies the minimax optimal rate, Theorem 2 constructs a matching statistical procedure, and Theorem 3 shows how a transformer implements that procedure under growing heterogeneous geometry.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We sincerely thank the Area Chair for the careful meta-review and for highlighting the issues that are particularly important for improving the paper. We have addressed these points in our reviewer-specific rebuttals. For ease of reference, we indicate below where each issue is addressed and summarize the corresponding revisions we will make.
1. Technical innovation relative to prior work by Shen.
This point is addressed most directly in our response to Reviewer Bztq, particularly in our response to Q2 and in our discussion of the stated weakness. As explained there, our contribution goes beyond a component-wise extension from a single manifold to a manifold mixture. The growing heterogeneous setting requires:
(i) a mixture-wide Assouad construction that simultaneously perturbs all components at their component-specific statistical resolutions and yields the aggregate minimax lower bound;
(ii) joint calibration of reach, separation, tubular noise, component masses, and effective sample sizes to these heterogeneous resolutions;
(iii) a higher-order tangent local-polynomial comparator under noisy coordinates, rather than only local-constant kernel averaging; and
(iv) an all-chart, geometry-first transformer realization, required in part because a tangent projector does not admit a globally continuous frame selector. We will make these distinctions from Shen et al. explicit both in a dedicated comparison paragraph in the Introduction and in the discussion surrounding Theorems 1–3.
2. Clarity and readability.
Our response to the weakness identified by Reviewer Bztq provides a concrete revision plan for the Introduction. We will reorganize it around a problem-first narrative, explain the statistical model in nontechnical terms before presenting the formal assumptions, introduce the oracle comparator earlier, add a focused comparison with prior work, and conclude with a theorem-level roadmap. In addition, our responses to Reviewer aFa1’s Q1 and Q3 clarify the construction and cardinality of the finite tangent grid, the packed-token convention, the roles of workspace tokens and internal chartwise quantities, and the fact that the end-to-end predictor returns a single scalar. We will incorporate the grid-related explanations immediately before Algorithm 1, add the tokenization and scalar-readout explanations in Section 3.5, and include a token-layout diagram.
3. Explicit dependence on problem parameters.
This issue is addressed in our response to Reviewer aFa1’s Q2, where we separately identify the parameters on which the constants in Theorems 1 and 2 may depend and the quantities over which the bounds are uniform. In particular, the heterogeneous statistical dependence on the component masses πk, intrinsic dimensions dk, and smoothness levels αk is displayed explicitly through the aggregate rate, with the growing number of components Kn reflected through the componentwise summation.
Other sample-size-dependent geometric parameters play a different role. The reach scale τ0,n, inter-component separation scale δ0,n, and tubular-noise scales σk,n enter explicitly through the feasible-regime conditions ensuring local identifiability, separation at the relevant statistical resolutions, and negligible covariate-noise effects. They therefore determine when the stated minimax rate is attainable, rather than appearing in the leading rate itself.
The multiplicative constants may additionally depend on fixed structural and model parameters, including the ambient and maximal intrinsic dimensions, the permitted smoothness and manifold-regularity bounds, support and density bounds, and the response-noise bound. For Theorem 2, they may also depend on fixed estimator-design choices such as the kernel, cutoff, localization and truncation constants, grid-resolution exponents, and near-minimizer tolerance. We will make these distinct roles explicit in the main text by separately listing the parameters appearing in the rate, those entering the feasible-regime conditions, and those entering only through the constants.
Our response to Reviewer Bj7u’s Q2 further provides an accuracy–complexity relation for the construction underlying Theorem 3, including logarithmic depth, polynomial FFN width, and polynomial parameter magnitudes, together with their dependence on the target oracle-approximation exponent A0. We also explain how the generalization guarantee depends on the number of meta-training prompts Γ and the optimization tolerance ϵopt,Γ. We will add “depends on / uniform over” statements after the relevant main theorems and provide the detailed bookkeeping in the appendix.
We again thank the Area Chair for the opportunity to clarify these issues. We are confident that the thoughtful feedback from the reviewers and the Area Chair has substantially improved, and will continue to improve, the overall quality of the paper.