预训练 Transformer 单次前向传播即可实现半参数有效推断
Can pretrained Transformers deliver semiparametrically efficient inference?
统计推断也能像 in-context learning 一样做了:预训练一次 Transformer,因果推断、部分线性回归、生存分析都能在一次前向传播里出估计加置信区间,单数据集只要约 0.02 秒,还不用手推影响函数。做统计 ML 或因果推断的人值得看看这套理论保证。
一篇 arXiv 论文(编号 2611.27666)提出,单个预训练 Transformer 可以在一次前向传播中完成一族估计对象的高效估计与有效推断,无需针对每个估计量推导有效影响函数,也无需逐样本重复估计冗余函数。模型在模拟数据上预训练,以真实参数作为唯一标签,学习目标估计量的后验均值与协方差,从而输出估计值和 Wald 型置信区域。理论上,作者证明当预训练先验为缓慢增长的局部平坦先验时,后验均值对每个查询估计量都具有有效性,且即使在分布偏移下覆盖率的渐近误差趋于精确。
论文还指出,当数据生成分布固定(即经典频率派推断场景)时,这一保证对预训练的要求显著更高。实验覆盖因果推断、部分线性回归和生存分析三类任务,预训练模型通常取得最低估计误差,覆盖率接近名义水平,每个数据集的计算成本仅约 0.02 秒。相比需要逐估计量手工修正影响函数的传统半参数方法,这一范式把推断成本转移到了预训练阶段,对统计机器学习和因果推断领域的研究者有直接参考价值。
Can pretrained Transformers deliver semiparametrically efficient inference?
Semiparametric models provide a broad framework for statistical inference, yet efficient estimation typically relies on influence function correction tailored to each estimand and on nuisance estimation repeated for every sample. We show that a single pretrained Transformer can deliver efficient estimation and valid inference for a family of estimands in one forward pass, without deriving efficient influence functions or estimating nuisance functions. Pretrained on simulated data with the true parameter as the only label, the Transformer learns the posterior mean and covariance of the queried estimand and hence returns an estimate and a Wald-type confidence region. Theoretically, we prove that, for locally flat pretraining priors of slowly growing complexity, the posterior mean is efficient for every queried estimand. The Transformer inherits this efficiency with asymptotically exact coverage, in probability over evaluation populations and queries, even under distribution shift. We also reveal that the guarantee places much higher demands on pretraining when the data-generating distribution is fixed, as in classical frequentist inference. Experiments on causal inference, partial linear regression, and survival analysis show that the pretrained model generally achieves the lowest estimation error among competing methods, with nearly nominal coverage, at a computational cost of only about 0.02 seconds per dataset.
本条情报归属 AITOP「论文」核心追踪栏目。涉及核心实体与技术议题包括:Transformer、半参数推断、因果推断、统计机器学习,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Han Yan, Jin Zhu, Chengchun Shi, Tengyao Wang),经 AITOP 多维评分管线结构化提炼。