Pith. sign in

REVIEW 4 major objections 5 minor 26 references

Bigger Is Safer: Provable Robustness in In-Context Learning Scales with Capacity

T0 review · 4 major / 5 minor · reviewed 2026-08-02 · deepseek-v4-flash

Pith's one-line read A worst-case bound shows in-context learning's safe adversarial radius grows with the square root of model capacity.

desk verdict Interesting framing, but the capacity-scaling claim is unsupported and the manuscript is incomplete. read the letter →

arxiv 2602.17743 v2 pith:HHJHSUSY submitted 2026-02-19 cs.LG stat.ML

classification cs.LGstat.ML
keywords in-contextlearningdistributionallyrobustoptimizationWassersteinadversarialrobustnesslinearself-attentionTransformersscalinglawsmeta-learningridgeregressionequivalencecapacity-robustnesstrade-off
verification ladder T0 review T1 audit T2 compute T3 formal

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The reading

This paper sets out to prove that in-context learning can be made robust to adversarial task-distribution shifts, and that the robustness budget is governed by model capacity. For an optimally pretrained linear self-attention Transformer on Gaussian linear-regression tasks, it derives a worst-case meta-risk bound: nominal risk plus a linear penalty in shift radius ρ scaled by √(d/m), plus a quadratic penalty scaled by 1/√N. The corollaries are concrete scaling laws: the maximum safe perturbation radius scales as √m, and maintaining performance under adversarial shift requires extra in-context examples proportional to ρ². A sympathetic reader should care because these are testable predictions that formalize the intuition that larger models are safer under distribution shift, with diminishing returns and a sample-complexity tax.

What carries the argument

The machinery has three parts: (1) Lemma 4.1, which identifies the optimal linear Transformer's forward pass with ridge regression on the in-context examples, β̂ = (X^T X + λ_N I)^{-1} X^T y; (2) Lemma 4.3, a Lipschitz bound on this predictor as a function of the true task parameter β, controlled by the singular values of X and regularization λ_N; and (3) the dual formulation of Wasserstein DRO, which converts the worst-case risk into a nominal risk plus terms controlled by the loss's Lipschitz and sub-Gaussian constants. The capacity-robustness link is carried by the asserted bound E[K²]^{1/2} = O(√(d/m)), attributed to multi-head attention dispersing gradient information across m subspaces

What would settle it

Train a single-layer linear self-attention Transformer on the paper's Gaussian regression tasks with fixed total width but varying number of heads m, and measure the worst-case meta-risk R_ρ(θ*) for several ρ. Also compute the empirical Lipschitz constant of G_{D_N,x_test}(β). If the m-dependence is absent when total width is held fixed, or if the Lipschitz constant does not decay as 1/√m, the theorem's capacity term is not supported by the architecture.

Watch

Extended reading notes

Core claim

The paper's central claim is Theorem 4.4: for a single-layer, multi-head linear self-attention Transformer pretrained to optimality on Gaussian linear regression, the worst-case meta-risk over a Wasserstein-2 adversarial ball of radius ρ is bounded by L_Q0(θ*) + C1 ρ sqrt(d/m) + C2 ρ²/sqrt(N) + O(1/N), with constants independent of ρ, m, and N. From this bound it concludes that the largest shift a model can tolerate grows like sqrt(m), where m is the attention head dimension, and that keeping worst-case risk at a fixed level requires roughly ρ² additional in-context examples. The nominal risk itself is the standard ridge-regression error, so the entire capacity effect must enter through the

Load-bearing premise

The load-bearing assumption is that the loss's Lipschitz constant satisfies E[K²]^{1/2} = O(√(d/m)) due to multi-head attention dispersing gradients; this is asserted in the proof, not derived, and the paper's own ridge-regression predictor is independent of m — if this scaling is false, ρ_max ∝ √m collapses.

Editorial extensions

If this is right

  • Safe perturbation radius scales as ρ_max ∝ √m: doubling the attention head dimension quadruples the tolerable shift, so scaling helps robustness with diminishing returns.
  • Adversarial ICL carries a sample tax: keeping worst-case risk at the nominal level requires Nρ - N0 ∝ ρ² extra in-context examples.
  • Stronger implicit regularization (larger λ_N) shrinks the robustness constants C1 and C2, trading peak nominal accuracy for a flatter degradation curve.
  • Given an anticipated shift ρ, the bound gives a principled way to select model capacity or add examples before deployment.
  • If the bound holds, post-hoc alignment methods cannot expand the robustness radius beyond what capacity m determines; robustness must be built in at pretraining.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • Since the ridge-regression predictor derived in Lemma 4.1 contains no m, the entire √m scaling rests on the Lipschitz bound in Step 2; if that bound cannot be derived from the architecture, the capacity law collapses even though the quadratic-in-ρ sample-complexity term may survive.
  • A direct test of the mechanism would measure the empirical Lipschitz constant of trained linear attention as the number of heads varies at fixed total width; the 1/√m prediction is specific enough to distinguish head-dispersion from total-parameter effects.
  • The same Wasserstein-DRO dual could be applied to nonlinear predictors whose Lipschitz constants are known empirically, turning Theorem 4.4's form into a general robustness audit for any ICL model.
  • If the capacity-robustness relation transfers to deep softmax attention, it would mean robustness improvements require architectural change, not just better fine-tuning; the paper conjectures depth may amplify effective capacity.
Share X Bluesky LinkedIn Reddit HN

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, and a circularity audit.

Referee Report

4 major / 5 minor

Summary. The manuscript proposes a distributionally robust meta-learning framework for in-context learning (ICL) with linear self-attention Transformers under Wasserstein-2 adversarial distribution shifts. The central theoretical claim is a non-asymptotic worst-case meta-risk bound (Theorem 4.4) of the form R_ρ(θ*) ≤ L_Q0(θ*) + C1 ρ sqrt(d/m) + C2 ρ²/sqrt(N) + O(1/N), from which the authors derive ρ_max ∝ sqrt(m) (Corollary 4.5) and N_ρ - N_0 ∝ ρ² (Corollary 4.6). The main proof route is to show that an optimally pretrained linear Transformer implements ridge regression (Lemma 4.1), then invoke a Lipschitz property of the predictor (Lemma 4.3) and a Wasserstein DRO dual formulation. The paper also reports synthetic experiments that fit the predicted scaling laws and a small text-classification probe.

Significance. The question of how ICL behaves under adversarial distribution shifts is timely, and the paper's setup—linear attention, Gaussian tasks, Wasserstein uncertainty—is a reasonable tractable starting point. The ridge-regression equivalence for linear Transformers is a useful and standard ingredient, and the synthetic experimental protocol is clearly described. However, the paper's headline contribution is the capacity-dependent scaling ρ_max ∝ sqrt(m), and this claim rests entirely on an unproved Lipschitz estimate that is not a consequence of the model equations derived in the paper. The proof gaps are load-bearing, and the abstract promises real-model experiments that are absent from the full text. The result, as it stands, is not established.

major comments (4)
  1. [Theorem 4.4, §4.2 Step 2; Lemma 4.1; Appendix A.1] The only place model capacity m enters the bound is the asserted Lipschitz estimate E[K²]^{1/2}=O(sqrt(d/m)) in Step 2 of the proof, repeated as Eq. (5) in Appendix A.1. No derivation is supplied. Lemma 4.1 (and Appendix A.2) show that for the optimally pretrained model the prediction is exactly ridge regression: ŷ = x_test^T (X^T X + λ_N I)^{-1} X^T y, which contains no m. Lemma 4.3 bounds the Jacobian of this predictor by ≈ ||x_test||/(1+λ_N/N), also without m. For the squared loss ℓ(β)=(G(β)-x_test^T β)², the gradient norm is controlled by these m-free quantities. Moreover, ℓ is quadratic and hence not globally Lipschitz; the 'random Lipschitz' framework is never formalized. The claimed 'multi-head attention disperses gradient information across m subspaces' mechanism is not a consequence of the architecture under the paper's own equivalence result. Since Corollary 4.5 (ρ_max ∝ sqrt(m
  2. [Appendix A.1, Steps 2–3] The treatment of the 'variability term' ψ(η) is also a sketch. Equations (4)–(7) assert a sub-Gaussian bound and the variance decomposition σ² ≈ d/m + 1/N without proof. The claimed ρ²/sqrt(N) term is said to follow from optimizing η, but no calculation is shown. Corollary 4.6 (N_ρ - N_0 ∝ ρ²) therefore also lacks support, even independently of the m-dependence. The manuscript needs an actual derivation or a precise statement of the sub-Gaussian constants.
  3. [Abstract; Section 5; Appendix B] The abstract claims 'experiments on 21 real pretrained models (0.1B–7B parameters, 5 families)' providing qualitative evidence, but the full text contains no such experiments. Section 5 reports only synthetic tasks; Appendix B.1.2 describes a small BERT-base classification probe with a trained linear attention head, not 21 models. This is a significant mismatch between the claimed empirical support and what is actually presented. The real-model results either need to be included or the abstract must be corrected.
  4. [Section 5.2; Appendix B.3.2, Table 1] The synthetic experiments in Section 5.2 fit ρ_max against sqrt(m) and report high R², but these test the corollary, not the mechanism. If Lemma 4.1 were exact, the optimally trained predictor would be m-independent, so any observed m-dependence must come from optimization or approximation effects that the theory does not model. The manuscript does not report diagnostics (e.g., how close the trained model is to the ridge predictor, or the effect of training steps). In addition, Table 1 and Section B.3.2 contain only '?' placeholders, yet Section C refers to 'our additional experiments' on head-count distribution. As presented, these are missing data, not evidence.
minor comments (5)
  1. [§3.2] The paper defines the p-th order Wasserstein distance W_p but uses only W_2 in the analysis. Specify p=2 from the start to avoid ambiguity.
  2. [Lemma 4.3] The step from singular value concentration to the bound (3) is abbreviated: the O(sqrt(N d)) fluctuations are dropped without stating the required high-probability event. Please state the concentration argument explicitly.
  3. [Theorem 4.4] The constants C1(θ*) and C2(θ*) are called 'explicit,' but no closed-form expressions are provided. This is a presentation issue, but the wording is misleading.
  4. [Appendix B.1.1] The notation for m is inconsistent: the experiments use four attention heads and say 'total head dimension m,' while Theorem 4.4 defines m as the dimension of each attention head. Clarify the relationship between head count, per-head dimension, and total dimension.
  5. [Section 6] The 'proof-of-concept text classification experiment' is mentioned in the discussion but no results are reported; Appendix B.1.2 describes the setup only. Add results or remove the mention.

Circularity Check

1 steps flagged · score 7.0 of 10

The headline capacity-scaling result ρ_max ∝ √m is not derived from the model's equations; it is inserted as an asserted Lipschitz bound E[K²]^{1/2}=O(√(d/m)) and then re-extracted in Corollary 4.5, so the derivation reduces to its own input.

  1. self definitional [Section 4.2, Proof of Theorem 4.4, Step 2; Appendix A.1, Eq. (5); Corollary 4.5, Eq. (5)]
    "Combining the bound L_N from Lemma 4.3 with the norm concentration of Gaussian x_test, we can deduce that ℓ(β) itself is a (random) Lipschitz function, whose Lipschitz constant K satisfies E[K^2]^{1/2}=O(sqrt(d/m)). The factor 1/√m arises from the attention mechanism: multi-head attention disperses gradient information across m subspaces, effectively reducing sensitivity in any single direction."

    This is the only place m enters the proof. Lemma 4.1 and Appendix A.2 give the optimal predictor as ridge regression, ŷ = x_test^T(X^T X + λ_N I)^{-1}X^T y, an expression with no m in it; Lemma 4.3 bounds the Jacobian by O(1/(1+λ_N/N)), also with no m. The assertion E[K²]^{1/2}=O(√(d/m)) therefore already contains the claimed capacity scaling. Corollary 4.5 then solves Theorem 4.4's bound for ρ at a fixed risk increment ε; setting C1·ρ·√(d/m)=ε gives ρ_max ∝ √m. The central result is thus the assumed Lipschitz bound restated as a prediction, not a consequence of the architecture.

full rationale

The paper's central theoretical contribution is the capacity-dependent robustness bound and its corollary ρ_max ∝ √m. That dependence is introduced in a single asserted step: the Lipschitz constant of the loss is said to satisfy E[K²]^{1/2}=O(√(d/m)) because 'multi-head attention disperses gradient information across m subspaces.' No derivation is supplied, and the paper's own equivalence result (Lemma 4.1) and its own Jacobian bound (Lemma 4.3, Appendix A.3) are manifestly independent of m. Consequently, Corollary 4.5 does not follow from the model equations; it follows from the assumption that was inserted to produce it. This is a genuine case of a claimed first-principles prediction reducing, by construction, to its own input. I do not count the sample-complexity corollary N_ρ−N_0 ∝ ρ² as a separate circular step: it is more naturally a correctness/inconsistency issue, since Theorem 4.4's linear C1ρ term is independent of N and would prevent the adversarial risk from being reduced to the nominal risk by adding examples, yet Corollary 4.6 ignores that term. That is a mathematical flaw, not a definitional circularity. Nor is there a self-citation chain: the key cited equivalences [6] and [20] are external prior work, not the present authors' own theorems. The experimental sections are also incomplete (Table 1 and Section B.3.2 are placeholders with '?'), which further weakens the empirical support, but missing evidence is not the same as circular reasoning. Overall, the paper does not show the advertised capacity scaling from the model; it builds the scaling into the proof as an unproved assertion and then presents it as a theorem and as an empirically confirmed prediction. That makes the central claim circular in the sense that the conclusion is equivalent to the assumption used to obtain it.

Assumptions & free parameters 3 free parameters · 5 assumptions · 0 invented entities

The main unsupported entry is the asserted Lipschitz bound carrying the √(d/m) factor; it is the only place where model capacity enters the bound, yet it is not connected to Lemma 4.1's equations.

free parameters (3)
  • C1, C2 constants in Theorem 4.4 = not computed
    Stated as explicit constants that 'absorb all the technical factors' (Appendix A.1 Step 4) but never specified; the bound is non-explicit without them, and they carry the asserted √(d/m) dependence.
  • λ_N = σ²/σβ² = 0.1 in synthetic experiments
    Set by hand in experiments (σ²=0.1, σβ²=1.0, Section B.1.1); it controls the ridge regularization and the Lipschitz bound, so the central results depend on this chosen ratio.
  • tolerable risk increment ϵ = 0.5 in Experiment 2
    Chosen by hand for ρmax measurement; affects the reported √m fit.
assumptions (5)
  • standard math Linear self-attention Transformers trained on linear regression tasks implement ridge regression with λ_N=σ²/σβ² (Lemma 4.1, from [6],[20]).
    Cited as a known result from prior work and used as the foundation for the predictor G and the whole bound.
  • domain assumption Task parameters follow Gaussian distributions: P=N(0,σβ²Id), Q0=N(β*,Σ0) with Σ0 commuting with Id.
    Section 3.4 assumes Gaussian task distributions to obtain closed-form Wasserstein distances and sub-Gaussian concentration; the paper itself notes this is a restriction.
  • standard math Wasserstein DRO dual bound Rρ ≤ E_Q0[ℓ] + ηρ + ψ(η) (Section 4.2 Step 1, citing [11]).
    Taken from the cited DRO literature; the proof relies on this dual representation to convert the supremum over distributions into a tractable bound.
  • ad hoc to paper The loss ℓ(β) is Lipschitz with E[K²]^{1/2}=O(√(d/m)), where the 1/√m factor is attributed to multi-head attention dispersing gradient information across m subspaces.
    No derivation is provided for the 1/√m factor, and the ridge-regression predictor in Lemma 4.1 does not contain m. This is the load-bearing assumption that produces the central capacity scaling.
  • standard math Singular values of Gaussian design matrices concentrate: σ_min(X^TX)≈N−O(√(Nd)), σ_max(X^TX)≈N+O(√(Nd)) (Lemma A.1).
    Standard random matrix theory used to bound the Lipschitz constant and the nominal risk.

how reviews work

0 comments
Cite this review

Pith. "Pith review of Bigger Is Safer: Provable Robustness in In-Context Learning Scales with Capacity." pith.science (2026). https://pith.science/paper/HHJHSUSY

@misc{pith2026260217743,
  author       = {Pith},
  title        = {Pith review of: Bigger Is Safer: Provable Robustness in In-Context Learning Scales with Capacity},
  year         = {2026},
  howpublished = {\url{https://pith.science/paper/HHJHSUSY}},
  note         = {Machine review of arXiv:2602.17743}
}
abstract

In-context learning (ICL) allows large language models to adapt to new tasks from a few examples without updating their parameters. Existing theories explain ICL by assuming the test task distribution matches pretraining -- an assumption that breaks down under adversarial distribution shifts. We introduce a distributionally robust meta-learning framework that provides worst-case guarantees for ICL under Wasserstein-based distribution shifts. Focusing on linear self-attention Transformers, we derive a non-asymptotic bound connecting adversarial perturbation strength ($\rho$), model capacity ($m$), and the number of in-context examples ($N$). The analysis reveals that the maximum safe perturbation radius scales as $\rho_{\max} \propto \sqrt{m}$, while maintaining performance under adversarial shift requires additional in-context examples with $N_\rho - N_0 \propto \rho^2$. Experiments on synthetic tasks confirm these scaling laws, and experiments on 21 real pretrained models (0.1B--7B parameters, 5 families) provide qualitative evidence consistent with the theory's predictions, while revealing that ICL capability is a prerequisite for robustness. These findings advance the theoretical understanding of ICL under adversarial conditions and formalize the sense in which larger models are safer under distributional shift.

Figures

Figures reproduced from arXiv: 2602.17743 by the authors.

Figure 1
Figure 1. Conceptual illustration of an adversarial distribution shift within the Wasserstein ball [PITH_FULL_IMAGE:figures/full_fig_p003_1.png] view at source ↗
Figure 2
Figure 2. Schematic visualization of the worst-case meta-risk upper bound as a function of adversarial radius [PITH_FULL_IMAGE:figures/full_fig_p006_2.png] view at source ↗
Figure 3
Figure 3. Empirical validation of theoretical predictions. [PITH_FULL_IMAGE:figures/full_fig_p009_3.png] view at source ↗

Discussion (0). Sign in to comment.

Reference graph

Works this paper leans on

26 extracted references · 8 linked inside Pith

  1. [10]

    Provable test-time adaptivity and distributional robustness of in-context learning.arXiv preprint arXiv:2510.23254, 2025

    Tianyi Ma, Tengyao Wang, and Richard Samworth. Provable test-time adaptivity and distributional robustness of in-context learning.arXiv preprint arXiv:2510.23254, 2025

  2. [1]

    Language models are few-shot learners.Advances in neural information processing systems, 33:1877–1901, 2020

    Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Nee- lakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners.Advances in neural information processing systems, 33:1877–1901, 2020

  3. [2]

    Rethinking the role of demonstrations: What makes in-context learning work?arXiv preprint arXiv:2202.12837, 2022

    Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. Rethinking the role of demonstrations: What makes in-context learning work?arXiv preprint arXiv:2202.12837, 2022

  4. [3]

    An explanation of in-context learning as implicit bayesian inference.arXiv preprint arXiv:2111.02080, 2021

    Sang Michael Xie, Aditi Raghunathan, Percy Liang, and Tengyu Ma. An explanation of in-context learning as implicit bayesian inference.arXiv preprint arXiv:2111.02080, 2021

  5. [4]

    In-context learning is provably bayesian inference: A generalization theory for meta-learning.arXiv preprint arXiv:2510.10981, 2025

    Tomoya Wakayama and Taiji Suzuki. In-context learning is provably bayesian inference: A generalization theory for meta-learning.arXiv preprint arXiv:2510.10981, 2025

  6. [5]

    Transformers learn in-context by gradient descent

    Johannes V on Oswald, Eyvind Niklasson, Ettore Randazzo, Jo˜ao Sacramento, Alexander Mordvintsev, Andrey Zhmoginov, and Max Vladymyrov. Transformers learn in-context by gradient descent. InInternational Conference on Machine Learning, pages 35151–35174. PMLR, 2023

  7. [6]

    Transformers learn to implement preconditioned gradient descent for in-context learning.Advances in Neural Information Processing Systems, 36:45614–45650, 2023

    Kwangjun Ahn, Xiang Cheng, Hadi Daneshmand, and Suvrit Sra. Transformers learn to implement preconditioned gradient descent for in-context learning.Advances in Neural Information Processing Systems, 36:45614–45650, 2023

  8. [7]

    Jailbreak attacks and defenses against large language models: A survey.arXiv preprint arXiv:2407.04295, 2024

    Sibo Yi, Yule Liu, Zhen Sun, Tianshuo Cong, Xinlei He, Jiaxing Song, Ke Xu, and Qi Li. Jailbreak attacks and defenses against large language models: A survey.arXiv preprint arXiv:2407.04295, 2024

Show all 26 references
  1. [8]

    Jailbroken: How does llm safety training fail?Advances in Neural Information Processing Systems, 36:80079–80110, 2023

    Alexander Wei, Nika Haghtalab, and Jacob Steinhardt. Jailbroken: How does llm safety training fail?Advances in Neural Information Processing Systems, 36:80079–80110, 2023

  2. [9]

    Universal and transferable adversarial attacks on aligned language models.arXiv preprint arXiv:2307.15043, 2023

    Andy Zou, Zifan Wang, J Zico Kolter, and Matt Fredrikson. Universal and transferable adversarial attacks on aligned language models.arXiv preprint arXiv:2307.15043, 2023

  3. [11]

    Certifying some distributional robustness with principled adversarial training.arXiv preprint arXiv:1710.10571, 2017

    Aman Sinha, Hongseok Namkoong, Riccardo V olpi, and John Duchi. Certifying some distributional robustness with principled adversarial training.arXiv preprint arXiv:1710.10571, 2017

  4. [12]

    A distributionally robust perspective on uncertainty quantification and chance constrained programming.Mathematical Programming, 151(1):35–62, 2015

    Grani A Hanasusanto, Vladimir Roitch, Daniel Kuhn, and Wolfram Wiesemann. A distributionally robust perspective on uncertainty quantification and chance constrained programming.Mathematical Programming, 151(1):35–62, 2015

  5. [13]

    What can transformers learn in-context? a case study of simple function classes.Advances in neural information processing systems, 35:30583–30598, 2022

    Shivam Garg, Dimitris Tsipras, Percy S Liang, and Gregory Valiant. What can transformers learn in-context? a case study of simple function classes.Advances in neural information processing systems, 35:30583–30598, 2022

  6. [14]

    Transformers as statisticians: Provable in-context learning with in-context algorithm selection.Advances in neural information processing systems, 36:57125–57211, 2023

    Yu Bai, Fan Chen, Huan Wang, Caiming Xiong, and Song Mei. Transformers as statisticians: Provable in-context learning with in-context algorithm selection.Advances in neural information processing systems, 36:57125–57211, 2023

  7. [15]

    Transformers as algorithms: Generalization and stability in in-context learning

    Yingcong Li, Muhammed Emrullah Ildiz, Dimitris Papailiopoulos, and Samet Oymak. Transformers as algorithms: Generalization and stability in in-context learning. InInternational conference on machine learning, pages 19565–19594. PMLR, 2023

  8. [16]

    Pretraining task diversity and the emergence of non-bayesian in-context learning for regression.Advances in neural information processing systems, 36:14228– 14246, 2023

    Allan Ravent´os, Mansheej Paul, Feng Chen, and Surya Ganguli. Pretraining task diversity and the emergence of non-bayesian in-context learning for regression.Advances in neural information processing systems, 36:14228– 14246, 2023

  9. [17]

    Piecewise linear regression via a difference of convex functions

    Ali Siahkamari, Aditya Gangrade, Brian Kulis, and Venkatesh Saligrama. Piecewise linear regression via a difference of convex functions. InInternational conference on machine learning, pages 8895–8904. PMLR, 2020

  10. [18]

    Finite-sample analysis of m-estimators using self-concordance.Electronic Journal of Statistics, 15:326–391, 2021

    Dmitrii M Ostrovskii and Francis Bach. Finite-sample analysis of m-estimators using self-concordance.Electronic Journal of Statistics, 15:326–391, 2021

  11. [19]

    What learning algorithm is in-context learning? investigations with linear models.arXiv preprint arXiv:2211.15661, 2022

    Ekin Aky¨urek, Dale Schuurmans, Jacob Andreas, Tengyu Ma, and Denny Zhou. What learning algorithm is in-context learning? investigations with linear models.arXiv preprint arXiv:2211.15661, 2022

  12. [20]

    Trained transformers learn linear models in-context.arXiv preprint arXiv:2306.09927, 2023

    Ruiqi Zhang, Spencer Frei, and Peter Bartlett. Trained transformers learn linear models in-context.arXiv preprint arXiv:2306.09927, 2023

  13. [21]

    Wasserstein distributionally robust optimization: Theory and applications in machine learning

    Daniel Kuhn, Peyman Mohajerin Esfahani, Viet Anh Nguyen, and Soroosh Shafieezadeh-Abadeh. Wasserstein distributionally robust optimization: Theory and applications in machine learning. InOperations research & management science in the age of analytics, pages 130–166. Informs, ...

  14. [22]

    The normal performance without attack (L Q0)

  15. [23]

    A penalty that growslinearlywith attack strengthρ, scaled by p d/m

  16. [24]

    Larger models (bigger m) are smoother, making them less sensitive to shifts

    A penalty that growsquadraticallywithρ, scaled by1/ √ N Formally: Rρ(θ∗)≤ LQ0 (θ∗) +C 1 ·ρ· r d m +C 2 · ρ2 √ N +small terms.(3) Proof intuition:The key idea is that distribution shifts cause prediction errors, and these errors can be bounded by how ”smooth” the predictor is (...

  17. [25]

    Lipschitzness of the loss (depends on model architecture, not task distribution)

  18. [26]

    The p d/mand1/ √ Nscaling laws remain unchanged

    Sub-Gaussian concentration (many distributions beyond Gaussian satisfy this) If tasks come from a sub-Gaussian distribution (e.g., bounded, uniform, or any ”reasonable” distribution), the same bounds hold with slightly different constants. The p d/mand1/ √ Nscaling laws remain...

Pith tools

Reviewed August 2, 2026 · model on record in the stance chip above.