- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies in-context learning for noisy AR(1) processes where each prompt is generated with a different autoregressive coefficient, so the second-order moments vary across prompts. The main result shows that, under a specific attention parametrization, a two-layer model with one linear attention head and a nonlinear MLP can realize the OLS-style AR(1) next-step predictor $ (c_N/v_N)x_N $, where $ c_N $ and $ v_N $ are empirical covariance and variance statistics computed from the prompt. The paper proves convergence of the trained outer MLP weights to an approximation of this estimator, gives polynomial/MLP approximation bounds, discusses a multidimensional VAR(1) extension, and provides synthetic experiments supporting the fixed-attention construction and some non-fixed-attention training behavior.
Strengths and weaknesses
The main strength is that the paper targets a relevant gap in the ICL theory literature: moving beyond i.i.d. regression and first-moment/count-based estimators to an autoregressive setting where the useful in-context statistic is genuinely second-order. The construction is intuitive: the attention layer aggregates $ v_N=\frac{1}{N-1}\sum_i x_i^2 $, $ c_N=\frac{1}{N-1}\sum_i x_ix_{i+1} $, and $ x_N $, while the MLP approximates the nonlinear map $ (v_N,c_N,x_N)\mapsto(c_N/v_N)x_N $. This gives a concrete mechanism by which a simple transformer-like architecture can implement an AR(1) estimator using prompt-level covariance information.
The result is technically interesting, but the scope is narrower than suggested in the paper. The main theorem assumes the attention layer is already parametrized to compute the required sufficient statistics, and gradient descent is only applied to the outer MLP weights. So the theoretical result is closer to "given a hand-designed attention statistic extractor, a random-feature MLP can approximate the OLS AR(1) predictor" than to "a transformer trained by gradient descent learns the estimator." The paper does include an experiment where some attention weights are trained, but this is empirical only and uses a small selected subset of the attention parameters, not a theoretical joint training result.
I also have a concern about one proof step in the approximation bound. In Lemma F.4, the paper bounds the prediction error by writing the term involving $ (\alpha-\hat{\alpha}_N)^2x_N^2 $ as a product of expectations, using the statement that for sufficiently large $ N $, $ \hat{\alpha}_N $ and $ x_N $ are "essentially independent." This is not obvious because $ \hat{\alpha}_N $ is computed from the same trajectory and includes terms involving $ x_N $. Since this step feeds into the main bound, I think it needs either a precise mixing/covariance argument or a revised bound that does not require this independence approximation.
The multidimensional extension is also underdeveloped relative to how it is presented. The formal proof is only for (d=1), while the VAR(1) case is mostly a sketch. More importantly, the text says that because $ A\sim N(0,\omega^2/d I_d) $, the matrix (A) is symmetric and almost surely positive definite. That statement seems incorrect as written: an iid Gaussian matrix is not symmetric, and even a symmetric Gaussian matrix is not almost surely positive definite. Since the matrix inverse approximation argument depends on spectral/numerical range properties, this part needs to be corrected or clearly marked as only an informal conjectural direction.
The experiments are useful sanity checks, especially the plot showing that the learned MLP surface matches the target function. However, they mostly confirm the theorem's designed setting: fixed attention, large MLP width, synthetic AR data, and last-token prediction only. The non-fixed attention experiment is too limited to support a strong claim about learned attention dynamics. I would not treat the experiments as a major weakness for a theory paper, but they do not close the gap between the hand-constructed mechanism and learned transformer behavior.
I find this submission interesting and potentially useful for the theory of ICL, but I see the main result as somewhat overstated and one part of the proof as insufficiently justified.
Questions
- Can the authors give a rigorous justification for the step in Lemma F.4 where $ \hat{\alpha}_N $ and $ x_N $ are treated as essentially independent? Since $ \hat{\alpha}_N $ is computed from the same AR trajectory and includes terms up to $ x_N $, this seems like a nontrivial dependence issue. A mixing-based covariance bound or a direct bound on $ E[(\hat{\alpha}_N-\alpha)^2x_N^2] $ would address my main technical concern.
- Can the authors more clearly separate the fixed-attention theorem from the learned-attention claim? The theorem uses the attention parametrization in Lemma 4.6 and only trains $ \gamma $, while the discussion sometimes reads as if the transformer learns the full mechanism by gradient descent.
- In the VAR(1) discussion, how exactly is (A) sampled? The current statement that Gaussian (A) is symmetric and almost surely positive definite appears wrong as written. If the intended assumption is symmetric positive definite (A), please state the distribution precisely. If not, the matrix inverse approximation argument needs a different justification.
- For the non-fixed attention experiment, can the authors report whether the trained model actually recovers statistics equivalent to (v_N,c_N,x_N), up to symmetries, rather than only matching the final prediction surface? A diagnostic comparing attention outputs to these sufficient statistics would make the experimental evidence stronger.
Limitations
The authors mention the main limitation that the theory uses fixed attention and does not analyze joint convergence of the attention head and MLP. That is the right limitation to state. I think the limitations should also explicitly mention that the formal theory is only for scalar AR(1), that the multidimensional VAR extension is not proved, and that the current embedding/attention parametrization is hand-designed to compute the required statistics.
Paper formatting concerns
No formatting concerns noticed.
Final justification
The rebuttal resolved most of my concerns. The authors separated the fixed-attention theorem from the learned-attention experiments, corrected the VAR(1) discussion, and agreed to state the scope and limitations more explicitly. The paper's main contribution remains technically interesting: it gives a concrete mechanism for implementing a second-order moment-based AR(1) estimator in context.
My concern about Lemma F.4 is not resolved since the response relies on the standard "essential independence" assumption rather than providing a direct covariance or mixing bound. However, this does not outweigh the overall contribution especially given the paper's theoretical scope and the authors' clarifications. I therefore increased my score from 4 to 5.
Meta-review
The reviewers appreciate the paper's extension of in-context learning theory from first-moment statistics to autoregressive processes with heterogeneous second-order moments, and find the theoretical analysis technically interesting. However, several important concerns remain regarding the interpretation and scope of the results. In particular, the rebuttal should especially clarify (1) how the proposed formulation relates to the standard notion of in-context learning, including the role of demonstrations, prompting, and adaptation through context rather than gradient-based training, (2) the extent to which the theoretical results rely on the hand-designed attention parameterization and simplified AR(1) setting, and whether the resulting claims should be interpreted as learning the estimator or approximating a fixed statistic extractor, and (3) the scope of the claimed generality, including the interpretation of ``heterogeneous second-order moments,'' the status of the multidimensional VAR extension, and the connection between the theoretical analysis and practical transformer behavior. This paper seem be to borderline due to mixed recommendations.