- Rating
- 4
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 3
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.
Paper formatting concerns
No formatting concerns noticed.
Final justification
The rebuttal phase have addressed my main concerns so I increased my score to 4.
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 Qdx,sx,m 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 Qd,s,n in the revision, since its resolution is selected as a function of n.
For fixed intrinsic dimension d and geometric order s, let Pd be the set of rank-d orthogonal projectors and let Tℓ be the bounded set of symmetric multilinear maps of order ℓ. The candidate parameter space is
Θd,s=BRD(0,1)×Pd×ℓ=2∏sTℓ.An element q=(a,Π,T2,…,Ts) represents a local offset, a candidate tangent projector, and higher-order local graph coefficients. Using the metric
dΘ(q,q′)=∥a−a′∥2+∥Π−Π′∥F+ℓ=2∑s∥Tℓ−Tℓ′∥op.we choose Qd,s,n as an n−1-net of Θd,s. It can be constructed by taking finite nets of the offset, projector, and tensor factors and forming their Cartesian product. Standard covering bounds give
∣Qd,s,n∣≤CD,d,s,LMnmΘ(d,s,D),where
mΘ(d,s,D)=D+d(D−d)+Dℓ=2∑s(ℓD+ℓ−1).Thus, the grid has polynomial cardinality in n when D, dmax, and smax 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
px=⌈αx⌉−1in intrinsic coordinates. The local geometry is fitted through order
sx=⌈αx⌉so that tangent-estimation error does not dominate the higher-order regression remainder.
Its polynomial exponent may grow rapidly with D and sx, 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
(pxdx+px),independent of ambient dimension D.
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 n, Kn, P, f, and all component parameters satisfying the assumptions. Their heterogeneous effects appear explicitly through
Rn=k=1∑Knπk(nπk)−2αk+dk2αk.Thus, for example, small component masses and large intrinsic dimensions affect the stated rate rather than an unspecified n-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 n-dependent grid resolution and near-minimizer rule. It remains independent of n, Kn, P, f, and the component containing the query.
The growing number of tangent candidates is not hidden in this constant. For fixed structural dimensions,
∣Qd,s,n∣≤CnmΘ(d,s,D).The estimator compares these candidates using the observations near the query. The candidate-set complexity enters the finite-sample tangent analysis through log∣Qd,s,n∣, which is O(logn) 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 Nnend 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 (Xi,Yi) is stored in a single sample token, with Xi and Yi occupying different feature coordinates. The sequence therefore contains n sample tokens, one query token for Xn+1, and qtan,max workspace tokens:
Nnend=n+1+qtan,max.The response Yn+1 is not part of the test-time input; it is the unknown target and is used only in the meta-training loss {Yn+1−g(s)}2.
The transformer produces internal token states, while the end-to-end predictor returns a single scalar:
fθ,nTF(s)=Readn(TFθ(Embn(s)))∈[−LF,LF].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 TFngeo(sX) are internal hidden states passed from the geometric module to the regression module; they are neither additional prompt inputs nor external outputs of Gnend.
In the revision, we will state this packed-token convention explicitly, define Gnend 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 Wi and intrinsic polynomial features ϕi. The regression module forms
G=i∑Wiϕiϕi⊤,b=i∑WiϕiYi,and returns G†b, where G† is the Moore-Penrose pseudoinverse. Standard softmax attention uses weights
ai=∑jexp(ℓj)exp(ℓi).If the logits realize the intended positive weights, so that exp(ℓi)=Wi, then ai=Wi/Z, where Z=∑jWj. The resulting Gram matrix and response vector are therefore
G=Z1G,b=Z1b.Since
(cG)†(cb)=G†bfor every c>0, 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.