- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper develops a theoretical framework for test-time training (TTT) in nonlinear in-context learning. It studies Gaussian single-index tasks whose task directions lie in a shared low-dimensional subspace, while the nonlinear link function varies across tasks. The proposed method first learns the shared subspace during pretraining and then performs three stages of test-time adaptation: self-distilled weak recovery of the task direction, supervised strong recovery, and estimation of the task-specific link function using a random-feature MLP. The main theoretical claim is that the test-time sample complexity depends primarily on the intrinsic subspace dimension and the general exponent of the link function, rather than directly on the ambient dimension . Synthetic experiments with a small GPT-2 model provide qualitative evidence that TTT improves prediction as context length increases.
Strengths and weaknesses
The paper addresses a relevant and technically difficult problem: extending theoretical understanding of TTT beyond linear regression. The decomposition into subspace learning, weak recovery, strong recovery, and link-function estimation is conceptually useful. The paper is also reasonably well organized, and the distinction among degree, information exponent, and general exponent helps explain the claimed advantage.
However, I have two main concerns about mathematical correctness. First, the prediction-risk statement in Theorem 1.1 appears incorrect. Section 2.1 assumes
and defines the risk using absolute loss. Therefore, the irreducible risk is
not . Nevertheless, Theorem 1.1 claims convergence of the risk to . Moreover, Theorem 1.1 claims an absolute deviation bound . This requires control of , whereas the proof of Lemma F. 3 only establishes the one-sided inequality . Consequently, the argument currently supports an upper risk bound, but not the stated absolute deviation bound. The theorem may be repairable by centering the result at , but the current main statement is not justified.
Second, the recovery analysis does not clearly handle the sign ambiguity of the task direction. Algorithm 1 uses a symmetric random initialization, so the initial correlation with may be positive or negative. However, Lemma D. 3 and the strong-recovery analysis assume positive alignment and aim to recover , rather than . Since a single-index model is identifiable only up to
the result should likely be formulated in terms of , with the final MLP learning the correspondingly reflected link function.
The theoretical scope also needs clearer qualification. The claims about fixed , arbitrarily small error, and near-optimal sample complexity are difficult to reconcile with the polynomial-in- assumptions and asymptotic high-probability statements. In addition, the test-time complexity excludes the synthetic queries used in the weak-recovery stage, while the near-optimality claim is not supported by a lower bound under the same pretrained-information and query-access model.
The experimental adaptation procedure differs substantially from Algorithm 1: the theory analyzes a three-stage sequential procedure with distinct objectives and parameter updates, whereas the experiment jointly fine-tunes LoRA modules in the attention and feedforward layers. As the authors acknowledge, the theoretical risk guarantee does not currently cover the experimental training procedure.
Questions
- How is the sign ambiguity in task-direction recovery resolved?
Algorithm 1 uses symmetric initialization, while Lemma D. 3 and Lemmas E.1-E. 3 require positive alignment with . Is the intended guarantee
If so, please revise the recovery lemmas and show that the final MLP can learn either or . A rigorous sign-invariant analysis would address this concern.
- As a theoretical paper, can the authors clarify the precise asymptotic and resource model?
Please state explicit conditions on for achieving a target error , and clarify whether is covered. Please also distinguish labeled test samples, synthetic teacher queries, testtime gradient steps, and pretraining complexity. The "nearly optimal" claim should either be supported by a lower bound under the same access model or weakened accordingly.
Limitations
yes
Paper formatting concerns
no
Final justification
The rebuttal resolved several of my main concerns. The authors clarified the discrete noise model, which restores the correct irreducible-risk baseline and addresses the apparent gap between the one-sided risk bound and the main theorem. They also clarified that the regime is excluded and agreed to weaken the near-optimality language to a comparison with existing SQ and CSQ bounds.
The revised sign-invariant argument substantially addresses the direction-recovery issue, although the current statement contains a minor sign inconsistency that should be corrected consistently across Appendix F.
The main remaining limitation is the gap between the staged algorithm analyzed in the theory and the joint LoRA fine-tuning procedure used in the experiments. The paper should therefore narrow its claims and present the experiments as qualitative support rather than direct validation of the theorem.
Overall, the core theoretical contribution now appears essentially sound and conceptually valuable, while the remaining issues concern proof presentation, scope, and empirical alignment. I therefore recommend a borderline accept rather than a full accept.
Thank you for your constructive feedback. We address your concerns as follows.
1. Clarification on Irreducible Risk
We apologize for the typo in the text. The intended model uses discrete noise ζ∼Unif(−τ,τ), under which the irreducible Bayes-optimal risk for absolute error is strictly E[∣ζ∣]=τ. Therefore, our existing proofs remain entirely intact without requiring loss-centering modifications. We will fix this typo in the camera-ready version.
2. Resolution of Sign Ambiguity (Question 1)
You are entirely correct, and we appreciate this insightful point. To properly account for cases where the initial alignment ⟨β,u(0)⟩ is negative, the recovery guarantees in Appendices D and E should be formulated in terms of the absolute value ∣⟨β,u⟩∣. We will update the statements accordingly in the final revision. However, we emphasize that the theoretical guarantees for link-function learning in Appendix F hold without any changes. The key reason lies in the fixed random initialization of the MLP layer:
・In Algorithm 1, vj is drawn from Unif(−1,1) and fixed.
・When u≈−β, the predictor evaluates σ(vj⟨u,x⟩+bj)≈σ(−vj⟨β,x⟩+bj).
・Defining v~j=−vj, the term becomes σ(v~j⟨β,x⟩+bj). Because vj∈−1,1 is symmetric, v~j follows the exact same distribution as vj.
Thus, sign inversion of u does not alter the underlying data-generating or feature-distribution steps in Appendix F. The network simply fits the reflected link function σ(−z). We will incorporate a detailed discussion on this sign-invariance in the final version.
3. Asymptotic Bounds, Resource Model, and "Near-Optimality" Claim (Question 2)
To achieve a target prediction risk bound of RfTF−τ≤ϵ, the explicit parameter scaling requirements are structured as follows:
Assumptions in Theorem 1.1: Npt,Tpt,N1,N2,N3,N4,Nnew,m=O(poly(d)) and there exists a constant αr>0 such that r=Ω(dαr).
Labeled Test Contexts: N3=Ω~(ϵ2r1.5) (Stage II strong recovery) and N4=Ω~(ϵ−2) (Stage III MLP fitting).
Unlabeled Synthetic Queries: Nnew=Ω~(rge(σ∗)+2) (Stage I weak recovery).
Test-Time Gradient Steps: N3 steps (Stage II online SGD).
Network Width: m=Ω~(ϵ−2).
Summary of Resource Complexities:
Pretraining Complexity: Npt,Tpt=Ω~(r2dQ+2).
Labeled Sample Complexity: Ntest=N1+N2+N3+N4=Ω~(rge(σ∗)+2+ϵ2r1.5) labeled pairs.
Query / Compute Complexity: Stage I additionally utilizes Nnew unlabeled synthetic queries and performs N3 test-time gradient updates.
Among these metrics, labeled sample complexity is the primary focus of our theoretical guarantees.
Note that we assume r=Ω(dαr) for some αr>0 in Theorem 1.1.
Justification for the "Near-Optimality" Claim: Regarding the near-optimality claim, it is crucial to clarify that pretraining only identifies the fixed r-dimensional subspace Sr. It provides no information about the task-specific feature direction β, which is drawn uniformly from the support Sr at test time. Consequently, even if an algorithm directly uses the outputs of the pretrained model as signals, the fundamental CSQ and SQ lower bounds for estimating β within this r-dimensional subspace remain rΘ(ie(σ∗)) and rΘ(ge(σ∗)), respectively. Because our labeled sample complexity breaks the CSQ lower bound and matches the SQ lower bound exponent rΘ(ge(σ∗)), our "near-optimality" claim is theoretically well-justified.
4. Discrepancy Between Theory and Numerical Experiments
We appreciate the reviewer pointing out the distinction between our theoretical staged procedure and the practical end-to-end experiments. However, rather than limiting the scope of our work, we believe this gap highlights both the rigor of our theory and its practical relevance. While self-distillation and staged updates in Algorithm 1 are theoretical tools required to establish rigorous proof guarantees and improved rates, our empirical results confirm that link-function adaptation occurs naturally in practical architectures (such as GPT-2) even without these explicit theoretical constraints. This demonstrates that TTT robustly adapts to varying link functions in practice without requiring a manually tailored update algorithm.
We are happy to discuss any remaining questions and concerns during the discussion period.