- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper presents a theoretical analysis of in-context learning (ICL) in Transformers, focusing on their ability to adapt to task difficulty and maintain robustness under distribution shift. The authors establish that pretrained Transformers can achieve optimal convergence rates for regression tasks with varying smoothness levels and effective dimensions, uniformly over test distributions within a chi-squared divergence ball. The paper connects ICL to Bayesian posterior contraction theory, showing that Transformers can learn the posterior regression function and achieve rates matching the optimal Bayes risk. The paper provides both a risk decomposition framework and rigorous theoretical guarantees for nonparametric regression and multi-index models.
Strengths and weaknesses
Strengthes
-
Unlike prior work assuming identical training and test distributions, this framework accounts for varying task difficulties and distribution shifts, making the analysis more aligned with practical ICL scenarios.
-
By characterizing Transformers as approximators of posterior regression functions rather than oracle functions, the paper provides a coherent statistical perspective that explains both adaptivity and robustness.
-
The simulation results support the theoretical findings, showing the predicted relationship between error and task difficulty.
Weaknesses
-
The proof establishes the existence of sufficiently large Transformers for any desired accuracy but does not specify how model width and depth should scale with the error tolerance, limiting practical design guidance.
-
The result that sufficient pretraining data can make the excess risk arbitrarily small is asymptotic and non-quantitative. The required sample size is not characterized in terms of target accuracy or model dimensions, leaving open questions about sample efficiency.
Questions
-
Why was chi-squared divergence chosen over alternatives like KL or total variation? Would results degrade with a weaker divergence?
-
You choose -divergence balls. In practice, distribution shifts can be more severe (e.g., different domains). Can you framework handle these, or are fundamentally new ideas needed?
-
The prior is a mixture over different smoothness levels. Does the posterior automatically select the correct ? What happens if lies outside the prior support?
-
Your Transformer architecture uses non-causal attention. Practical LLMs use causal attention. Would the universal approximation results hold with causal attention?
Limitations
The core contributions are valuable, but the paper would benefit from a more candid discussion of assumption limitations and a clearer link between theory and practical implications for real-world Transformers.
Paper formatting concerns
NA
Final justification
I appreciate the authors' responses to my comments. The theoretical foundations of Transformers remain an emerging area of research, and while this paper does not definitively demonstrate the theoretical superiority of Transformers, it contributes meaningful insights into in-context learning. The work should be of interest to the NeurIPS community, and I will retain my score.
Meta-review
Initial Meta-Review
For the paper to be accepted, I would like the rebuttal to focus on the following prioritized points:
Final Meta-Review
The most important reason for the decision is that this paper establishes an appropriate notion of optimality for ICL under a test distribution and provides a more appropriate form of optimality guarantee for pretrained Transformers than minimax lower bounds. The authors well responded to the concerns raised by the reviewers, particularly as described below: