Adaptive Mean Estimation by In-Context Learning: A Gradient-Flow Analysis
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:34 UTC · b5c7f85e1326 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "UhsN7VL96W"- }- ],- "title": "Adaptive Mean Estimation by In-Context Learning: A Gradient-Flow Analysis",- "authors": [],- "abstract": "Prior Fitted Networks (PFNs) such as TabPFN~\\citep{zhang2025tabpfnonemodel} now rival established statistical procedures across prediction and estimation tasks.\nA natural explanation is that PFNs have the property of \\emph{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.\nPrior work does not give a conclusive explanation, how gradient-based pretraining learns an adaptive estimator.\nWe study how such adaptivity is learned in a controlled location-estimation problem.\nEach 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}$.\nWe also provide the example of a symmetric Gaussian mixture, for which a rate of $\\sigma^2_n/n$ can be attained.\nOn scalar inputs, softmax attention computes the derivative of the empirical cumulant-generating function.\nA single primitive therefore both supplies features that distinguish the families and forms estimators interpolating between the sample mean and the mid-range.\nBuilding on this, we combine attention experts through either a softmax mixture of experts or a gated linear unit (GLU), and analyze stagewise gradient flow.\nWith $\\widetilde{\\Omega}(n^{1+\\epsilon})$ pretraining tasks, the learned estimator is asymptotically efficient on Gaussian tasks, within a factor $n^{\\epsilon}$ of the minimax rate on uniform tasks, and order-optimal on mixtures in a shrinking-variance regime.\nThese guarantees extend to new locations and longer contexts.\nA risk decomposition separates expert error, routing error and normalization error, which clarifies the architectural contrast.\nSoftmax 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.\nEnd-to-end experiments recover the predicted specialization.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "f0e50229-87a9-47db-a36b-67b726a11354"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Adaptive Mean Estimation by In-Context Learning: A Gradient-Flow Analysis",+ "authors": [],+ "abstract": "Prior Fitted Networks (PFNs) such as TabPFN~\\citep{zhang2025tabpfnonemodel} now rival established statistical procedures across prediction and estimation tasks.\nA natural explanation is that PFNs have the property of \\emph{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.\nPrior work does not give a conclusive explanation, how gradient-based pretraining learns an adaptive estimator.\nWe study how such adaptivity is learned in a controlled location-estimation problem.\nEach 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}$.\nWe also provide the example of a symmetric Gaussian mixture, for which a rate of $\\sigma^2_n/n$ can be attained.\nOn scalar inputs, softmax attention computes the derivative of the empirical cumulant-generating function.\nA single primitive therefore both supplies features that distinguish the families and forms estimators interpolating between the sample mean and the mid-range.\nBuilding on this, we combine attention experts through either a softmax mixture of experts or a gated linear unit (GLU), and analyze stagewise gradient flow.\nWith $\\widetilde{\\Omega}(n^{1+\\epsilon})$ pretraining tasks, the learned estimator is asymptotically efficient on Gaussian tasks, within a factor $n^{\\epsilon}$ of the minimax rate on uniform tasks, and order-optimal on mixtures in a shrinking-variance regime.\nThese guarantees extend to new locations and longer contexts.\nA risk decomposition separates expert error, routing error and normalization error, which clarifies the architectural contrast.\nSoftmax 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.\nEnd-to-end experiments recover the predicted specialization.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}