mlsanityData to 7 Oct 2026

Adaptive Mean Estimation by In-Context Learning: A Gradient-Flow Analysis

arXiv 2610.07804 ↗First posted 6 Oct 2026cs.LG stat.MLcited by 0

Not on the map. Why?

Abstract (arXiv)

Prior Fitted Networks (PFNs) such as TabPFN now rival established statistical procedures across prediction and estimation tasks. A natural explanation is that PFNs have the property of statistical adaptivity, that is, they perform nearly as well as a method tailored to the true data-generating model for a heterogeneous set of models, while not being told which model the data comes from. We study how such adaptivity is learned in a controlled location-estimation problem. Each task is an unlabeled sample whose family is hidden: Gaussian data call for averaging, with error of order n-1, whereas uniform data are best estimated from their extremes, at the faster rate n-2. We also provide the example of a symmetric Gaussian mixture, for which a rate of σ2n/n can be attained. On scalar inputs, softmax attention computes the derivative of the empirical cumulant-generating function. A single primitive therefore both supplies features that distinguish the families and forms estimators interpolating between the sample mean and the mid-range. We combine attention experts through either a softmax mixture of experts or a gated linear unit (GLU), and analyze stagewise gradient flow. With widetildeOmega(n1+ε) pretraining tasks, the learned estimator is asymptotically efficient on Gaussian tasks, within a factor nε of the minimax rate on uniform tasks, and order-optimal on mixtures in a shrinking-variance regime. These guarantees extend to new locations and longer contexts. A risk decomposition separates expert error, routing error and normalization error, which clarifies the architectural contrast. Softmax gating enforces normalization and exact translation equivariance, whereas the GLU must learn it: its dynamics separate into fast bias removal followed by slow expert selection. End-to-end experiments recover the predicted specialization.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). First posted on arXiv 6 Oct 2026.

Builds on

No reference list yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025End-To-End Learning of Gaussian Mixture Priors for Diffusion Sampler
  2. 2025Dendrograms of Mixing Measures for Softmax-Gated Gaussian Mixture of Experts: Consistency Without Model Sweeps
  3. 2022Diffusion models as plug-and-play priors
  4. 2022Back to the Source: Diffusion-Driven Test-Time Adaptation
  5. 2026Filtering Beats Fine Tuning: A Bayesian Kalman View of In Context Learning in LLMs
  6. 2026Context-Adaptive Inference: A Unified Statistical and Foundation-Model View
  7. 2019Convergence Rates for Gaussian Mixtures of Experts
  8. 2026Geometry-Aware Attention Guidance for Diffusion Models via Modern Hopfield Dynamics