- Rating
- 4
- Clarity
- 4
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper distinguish and defined two types of ICL: ICL1, where training and test samples are from the same distribution, and ICL2, where model can learn the function across distribution shifts. In controlled polynomial regression task, the paper identified the phenomenon that model acna achieve perfect in-distribution performance while show failure mode in coefficient-scale and label-scale shifts. Furthermore, they analyzes two architectural mechanisms. First, removing final normalization to rule out the effect of the boundary cannot restore scale-equivariant behavior. Second, they argues that query attention might concentrate on a small subset of prompt tokens and limits the generalization performance.
Strengths and weaknesses
Strengths:
- The distinction between ICL1 and ICL2 is clear and valuable, which poses an important research question why strong in-distribution performance does not necessarily translate to a distribution-independent performance.
- The polynomial regression experimental setup is controlled and meaningful.
- The paper goes beyond the identification of the failure phenomenon. The analysis of boundary values, final normalization and attention concentration provides useful insight.
Weaknesses:
- Only synthetic regression toy examples are demonstrated in the whole paper. Real world experiments can certainly strengthen the claim.
- The final normalization part only show the boundedness of readout, however, it does not fully show why or when model prediction saturate near the boundary. Some analysis about how does the final prediction converge to the bound might be interesting.
- The paper shows that attention can become concentrated under distribution shift, but it is not clear and rigorous that the attention concentration is the reason that directly causes the failure mode of ICL2.
Questions
- Do you consider to use normalized mean squeare error (NMSE)? Since in the case of coefficient-scale or label-scale shift, the target itselft becomes larger, which can further lead to a larger MSE. From my point of view, normalizing the MSE would help distinguish if that is the case.
- The paper retrains models without final normalization. As an additional diagnostic, I am quite curious what happens if the final normalization layer is removed or rescaled only at test time? This would help determine whether the trained model contains a useful internal regression representation but beeing distorted by the final normalization, or whether the model fails to learn ICL2.
Limitations
- The main limitation of the paper is that the empirical evidence is restricted to synthetic polynomial regression tasks. Although it is well motivated, it remains unclear how directly the conclusions transfer to more realistic ICL tasks.
- Another concern is that the attention-bottleneck explanation. Although it is plausible and supported by attention concentration observations, it is not fully established as a causal mechanism. Stronger causal interventions would further strengthen this part of the paper.
Paper formatting concerns
None
Final justification
Most of my questions have been answered. The concerns I raised as limitations are not fully solved. Therefore, I will maintain my rating of 4.
We thank the reviewer for their thoughtful and helpful comments and questions. They will help us improve the final version. We address each below.
Re "Question 1". We thank the reviewer for this pertinent experiment. The results are in the table below.
The cliff persists under NMSE: it rises monotonically from ≈2×10⁻⁵ at σ=1 to 0.66 at σ=10. Since NMSE removes the effect of the target growing, this confirms the degradation is not an artifact of larger targets inflating the raw MSE, the model's error grows to a large fraction of the target variance under shift, whereas a scale-equivariant estimator such as least squares maintains NMSE ≈ 0 across all σ. The failure is therefore relative to the signal, not a scale-of-target effect. We will add the NMSE results in the paper.
Re "Question 2". We thank the reviewer for this diagnostic. Our paper already reports the rescaling variant on the trained model (Table 3, post-hoc γ scaling), where enlarging the readout bound does not restore scale-equivariant behavior. The removal-at-test-time variant was not in the paper, so we ran it: at inference we replace the final LayerNorm with the identity, so the decoder reads the un-normalized residual stream directly, with no retraining (degree 1, coefficient axis).
The result speaks directly to the two hypotheses the reviewer poses. Removing the final normalization at test time does not reveal a useful internal regression representation, it destroys the prediction at every scale, and most severely in-distribution (σ=1: 9×10⁻⁶ → 434), where the model is otherwise near-perfect. This is what one expects if the model does not hold a correct internal rule that the norm is merely distorting: the decoder is trained to read a normalized representation, so the raw residual stream lies far outside its input range and decoding it yields large, uninformative outputs. If the model had learned a reliable internal regressor that was simply being suppressed by the readout constraint, removing that constraint should have revealed it and reduced the error. Instead, it destroys even the model’s in-distribution competence.
Re "Causal intervention on attention". We have strengthened this from a single attention map to a quantified, causally-probed mechanism, following the interventions suggested by the reviewer Yvoo. We ran the causal checks proposed, and describe each below with the supporting results.
Measuring whether effective context size tracks the shift (across seeds and scales). For each sigma we compute effective context size (ECS) at the query token, the participation ratio of its attention weights, where a low value means the query aggregates only a few context tokens. As the query leaves the training range, ECS falls monotonically (4 → 1.8 as σ grows), showing that the context available to the query token shrinks precisely as the shift increases.
Quantifying the concentration mechanism. We measure the query–key logit gap, the margin between the largest attention score and the runner-up, as a function of the shift magnitude. As the query moves further out of distribution, the gap grows monotonically and sharply (gap = 31, 119, 217, 387, 531, 706, 895, 1031, 1245 for σ = 1…9), so the attention distribution concentrates more severely the larger the distribution shift. This shows the concentration is not an incidental correlate but a systematic consequence of distribution shift, tracking its magnitude directly.
Forcibly smoothing attention at test time (causal intervention). We temperature-scale the query–key scores at inference (T = 1 recovers the trained model), which flattens the attention distribution. Smoothing perturbs the prediction error, confirming that attention weighting lies in the causal path of the failure rather than being a passive correlate.
We will revise Section 6 to present it as such and add these measurements.
Re "Only synthetic regression; real-world experiments would strengthen the claim". Thank you for this suggestion. We already acknowledge that in the limitations section. As suggested by the reviewer Yvoo, we added a more application-aligned tabular-regression experiment based on a TabPFN-style. At every training step, a newly sampled random neural network defines a regression task over 10-dimensional inputs, and the transformer must infer the corresponding nonlinear function from tabular input--output examples provided in context. Relative to the polynomial experiments, this setting introduces vector-valued inputs, nonlinear targets, and a neural-network task prior.
The same failure appears. The model performs well in distribution but degrades sharply under distribution shift: NMSE=0.77 under target-scale shift and NMSE =0.93 under feature-support shift. Thus, the observed cliff is not restricted to scalar polynomial regression. The same readout-side mechanism is also present. From the trained model parameters, our theorem gives the model-dependent prediction bound y^≤∣∣w∣∣ R + |b| = 16.3. As the query magnitude is increased along each feature direction, the predictions remain confined to a bounded range and converge to direction- and sign-dependent boundary values. For example, along the first feature axis, the predictions approach approximately +4.40 and -4.42, whereas the magnitude of the true target grows to approximately 1.8×106. The theoretical bound is therefore respected, and the boundary-value behavior observed for polynomial functions also occurs in this higher-dimensional, nonlinear tabular setting.
We will add this experiment to the revised paper and narrow our claims accordingly.
Re "Final normalization shows boundedness but not why/when predictions saturate". We thank the reviewer for raising this question, and we address both why and when predictions saturate.
Why. Boundedness alone guarantees only that predictions cannot grow arbitrarily; it does not imply convergence to a particular boundary value. The additional mechanism is attention concentration followed by final normalization. Although Lemma 3 characterizes the asymptotic regime, this mechanism does not require extremely large inputs. Let zj denote the logits and zj0=maxjzj. Suppose that zj0−zj≥δ for all $ j\neq j_0.$ Then the softmax weights satisfy αj0≥1+(n−1)e−δ1 and $ \alpha_j\leq e^{-\delta} $ for all $ j\neq j_0.$
Thus, once the largest query-key logit exceeds the others by a moderate gap (3 or 4), the non-maximal tokens are exponentially suppressed and the attention update becomes dominated by a single token. This concentration can therefore arise soon after the query leaves the training distribution; it does not require the input magnitude to become asymptotically large.
As the same component increasingly dominates the residual representation, its direction stabilizes while its magnitude grows. Final normalization removes this magnitude, causing the representation read by the decoder to approach a fixed point. Since the decoder is continuous, the prediction consequently approaches a fixed boundary value.
Our experiments confirm this finite-scale onset: the query-key logit gaps grow sharply under distribution shift, and the cliff begins as soon as the inputs enter an unfamiliar region, including intervals adjacent to the training support. Thus, Lemma 3 characterizes the limiting behavior, while the softmax-gap bound explains why the same mechanism can become effective immediately outside the training distribution.
Experiment: extracting the boundaries. On the standard degree-1 model, we hold the in-context examples in-distribution and sweep only the query input from within the training range out to large magnitude (∣x∣ up to 104), recording the prediction. To test whether the limit is a property of the model rather than of the task, we repeat this over 40 different target functions and over different in-context example sets. The prediction converges to two asymmetric constants, B−=−0.484 and B+=+0.449, with a spread of at most 0.008 across functions and 6×10−4 across contexts, i.e. the same two values regardless of the function or the in-context examples. We further verify that these values are determined by the model's own converged internal state rather than fit to the output curve. Because the boundary is a property of the model, it need not match the in-distribution output range: for f(x)=x the model predicts accurately within the training range yet saturates to B+ far outside it.
Experiment: onset. Sweeping the query inward from the training range and comparing the prediction to the true function, saturation begins as the query leaves [−1,1]: for f(x)=x the prediction tracks the function through ∣x∣=1 and departs from it immediately beyond.
We will add a short proposition and these measurements to the revision.