- Rating
- 5
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper introduces the feature-selection formulation from prior work, to be applied to the linear regression model setting in ICL. By studying the proportional limit regime, the authors convert the problem into a gaussian equivalent problem. They identify the impact of task diversity and scale which affect whether benign overfitting happens. They also provide some Transformer experiments to verify benign overfitting happens.
Strengths and weaknesses
Strengths: The writing is clear and easy to understand.
Weakness:
- Line 81~82 and Line 87~88 seem repetitive, where feature-selection formulation is repeated twice. Related work should appear in the main paper instead of appendix.
- The Transformer experiments seem to be pretty limited. Figure 11~15 and Figure 5 only shows its relationship with embedding dimension, but not with task diversity too. It might be helpful to look at this papers for additional experiments, although they are on markov chains, to investigate the threshold of various factors in transformer experiments [1].
- It is unclear about the connection between section 3.3 and 4 and section 3.3 still remains hard to parse, it would be great if authors can comment on how model scale and task diversity appear in the two theorems.
- It would be great if the authors can explicitly write more technical innovations of this work from prior work, i.e. how the feature selection mechanism interacts with the techniques in Lu et al. . Line 538~542 seems to mention a bit but it would be better to make it more explicit.
[1] Competition Dynamics Shape Algorithmic Phases of In-Context Learning. Park et al. ICLR 2025.
Questions
Questions:
- Can you explain in more detail about the difference between p and d? In line 103 you mentioned that vanilla formulation of prior work corresponds to p = d. In equation (3), you mentioned p/d -> rho. Do you mean p <= d and is a fixed propotion of d (since it takes subsets of original features).
- Why p appears before the lim, in both theorem 1 and 2?
- In Section Line 232~242, can you establish a clearer and more precise criteria about the transition of in-context benign overfitting, to harmful overfitting? Does it have any relationship with T/d’s limit too?
- Line 243~266 seem to be operating in the overparametrized regime, while it holds in standard neural network training, it does seem to be the case in language modelling, for example, scaling law might imply that we should train smaller models for much larger amount of data, can authors comment on this? It would be great if the threshold (ρ > √ν) can be drawn in Figure 4.
Limitations
Yes, it would be better to provide more thorough Transformer experiments to strengthen the paper. I am willing to raise score if the questions regarding experiments and readability of the theoretrical result are resolved.
Paper formatting concerns
No
Final justification
The rebuttal has effectively resolved my concerns.
Thank you for the positive endorsement of our work and constructive feedback. We answer specific questions below.
Q1: Difference between p and d.
Yes. Here, d is the ambient dimension of the features x, while p≤d is the subset of features selected by the model. Under the proportional scaling in Eq. (3), p grows with d while p/d→ρ, with ρ∈(0,1]. Similarly, N,T,M grow with d according to the ratios ν,τ,μ, respectively.
Q2: Meaning of plim.
The notation plim denotes the limit in probability; the “p” in plim is unrelated to the model-size variable p. Under the joint scaling in Eq. (3), as d→∞, the ID and OOD risks converge in probability to the deterministic limits stated in Theorems 1 and 2. Thank you for asking, we will define the operator to avoid confusion.
Q3: Benign and harmful overfitting.
Lines 232–242 compare two different ways of increasing overparameterization. In Fig. 2, we fix the number of training sequences ν=N/d, task diversity μ=M/d, and context length τ=T/d and vary the explicit model-scale parameter ρ=p/d. Beyond the interpolation threshold, both ID and OOD risks decrease. In Fig. 3, we instead fix ρ=1 and vary 1/ν=d2/N (similar to Lu et al. 2025). This changes the sample-to-dimension ratio rather than independently scaling model capacity, and in the isotropic setting shown, OOD risk decreases while ID risk increases.
Thus, the post-interpolation behavior of the two risks is the key quantity: in-context benign overfitting occurs when increasing scale improves ID performance without degrading OOD performance, whereas harmful overfitting or a retrieval–learning tradeoff occurs when ID risk increases while OOD risk decreases or vice-versa. The exact transition is determined implicitly by the risk expressions in Theorems 1 and 2 as a function of ρ,ν,μ,τ,σn2; we do not currently derive a simple universal closed-form threshold.
The context-length ratio T/d also affects this transition. In both theorems, it enters through c=τ1+σn2, and therefore changes both ID and OOD risks. Larger τ provides more demonstrations to infer the underlying task in the sequence, although deriving a separate closed-form transition threshold in τ is beyond the current result.
We will clarify these in reference to Lines 232-242.
Q4: Fig. 4 and scaling laws.
Figure 4 is not restricted to the overparameterized regime. For every fixed task diversity μ, moving vertically by increasing ρ crosses from the underparameterized regime ρ2<ν to the overparameterized regime ρ2>ν. The bright yellow high-loss band corresponds to the interpolation peak near ρ=ν. We will explicitly draw this ρ=(ν) line to make this more clear.
The discussion in Lines 262–266 specifically considers fixed overparameterized models and the effect of varying task diversity: higher task diversity improves OOD generalization but worsens ID performance. This is connected to the task diversity thresholds studied in previous ICL literature (Raventos et al., 2023, Park et al., 2025).
Finally, compute-optimal language-model scaling concerns a different comparison: under a fixed compute budget, one may trade off a larger model trained on less data against a smaller model trained on more data. Our analysis instead characterizes the ID and OOD risks of the limiting solution achieved by gradient descent training: least-squares solution in the underparameterized regime and the minimum-norm interpolator in the overparameterized regime. We hold the data parameters (ν,μ,τ) fixed while varying model scale ρ, and do not impose a fixed compute constraint. Thus, our results isolate the statistical effect of model scale rather than identifying a compute-optimal allocation between model size and training data. Studying such an allocation would require jointly varying model size ρ, the amount and length of pretraining data through ν and τ, and the optimization budget under an explicit compute constraint. While this is an interesting direction that we will mention in the future work section, it is beyond the scope of the current work.
W2: Transformer experiments on task diversity.
Thank you for the valuable suggestion. Figure 4 already studies this interaction where we plot the ID and OOD risks obtained in Theorems 1 and 2, capturing both the effect of model scale ρ studied here and the task-diversity thresholds in μ observed in prior work, including Park et al. 2025. We have additionally run corresponding transformer experiments varying both embedding dimension and task diversity, and observe the same qualitative behavior as in Fig. 4. We will include these results in the camera-ready version.
W3: Connections between Sec. 3.3 and Sec. 4.
We welcome your feedback on the presentation. The formulas in Section 3.3 capture explicit dependencies on all the principal problem parameters: model scale ρ, task diversity μ, context length τ, number of pretraining sequences ν, and noise level σn2. Model scale enters directly through ρ and the overparameterization ratio ρ2/, while task diversity enters through the Marchenko–Pastur ratio used in the empirical task covariance matrix γ=ρ/μ.
Because these dependencies are coupled through the Stieltjes transform and the fixed-point quantities (Eq. 8), we only briefly discuss the most interpretable one in the paragraph following Theorems 1 and 2. For example, in the underparameterized regime,κ∞→∞ as ν/ρ2→1+, causing both ID and OOD risks to diverge. On the overparameterized side, as ν/ρ2→1−, the fixed-point quantities a and βˉ∗ become singular, again yielding divergence of both risks at the interpolation threshold.
In order to clearly see the dependencies on model scale and task diversity, in Section 4, we plot the exact ID and OOD loss predictions given by Theorems 1 and 2. Figure 2 varies model scale ρ while fixing the other parameters, Figure 3 varies ν with ρ=1, and Figure 4 jointly varies model scale ρ and task diversity μ.
We will add a small paragraph immediately after Theorem 2 summarizing how the problem parameters ρ,μ,ν,τ, and σn2 enter the risk formulas, and short roadmap at the beginning of Section 4 explaining that Figs. 2-4 evaluate these formulas along the ρ-, ν-, and joint (ρ,μ)-directions, respectively.
W4: Technical innovations relative to Lu et al. 2025.
Thank you for the question. The technical differences from Lu et al., 2025 are twofold. First, we introduce and analyze a new feature-selection model for ICL. Lu et al., 2025 consider the full-feature setting p=d, whereas our model restricts the learner to a random subset S of p visible coordinates. This does not merely introduce an additional parameter ρ(p/d): it changes the regression-feature dimension to p2, places the interpolation threshold at p2=N (equivalently, ρ2=ν), and replaces the full empirical task covariance by
M1∑i=1Mwi[S]wi[S]⊤,
whose limiting spectrum depends jointly on model scale and task diversity through p/M→ρ/μ. Consequently, the risks for the model using feature selection cannot be obtained by simply replacing d with p in the formulas of Lu et al., 2025.
Second, we use different technical machinery to analyze this new model. We first compute the relevant first- and second-order moments of the selected features and query labels, and construct a Gaussian linear problem matching the feature covariance, feature-label cross-covariance, and label second moments. We then apply the CGMT to characterize the least-squares and minimum-norm estimators of this Gaussian equivalent problem and derive the corresponding ID and OOD risks (as discussed in the proof sketch in Section 5).
Gaussian equivalence and CGMT are flexible and well-established tools in modern high-dimensional statistics and learning theory. In contrast, Lu et al., 2025 directly analyze their full-feature ridge formulation through an extended-resolvent random-matrix calculation. We will make both technical innovations: i) the introduction and analysis of the feature-selection model, ii) and the use of this distinct analytical route more explicit in the camera-ready version.
W1: Related work.
Thank you for the suggestion. We will fix the repetition between Lines 81-82 and 87-88 and move the related-work discussion into the main body in the camera-ready version, where the page limit allows an additional page.