Efficient Autoregressive Inference for Transformer Probabilistic Models
Department of Computer Science, Aalto University, Finland(芬兰阿尔托大学计算机科学系);ELLIS Institute Finland(芬兰ELLIS研究所);Department of Computer Science, University of Helsinki, Finland(芬兰赫尔辛基大学计算机科学系);Verda;Department of Computer Science, University of Manchester, UK(英国曼彻斯特大学计算机科学系)
Conor Hassan, Nasrulloh Loka, Cen-You Li, Daolang Huang, Paul E. Chang, Yang Yang, Francesco Silvestrin, Samuel Kaski, Luigi Acerbi
备注:
Accepted at ICLR 2026. Camera-ready version. 39 pages, 20 figures
Set-based transformer models for amortized probabilistic inference and meta-learning, such as neural processes, prior-fitted networks, and tabular foundation models, excel at single-pass marginal prediction. However, many applications require joint distributions over multiple predictions. Purely autoregressive architectures generate these efficiently but sacrifice flexible set-conditioning. Obtaining joint distributions from set-based models requires re-encoding the entire context at each autoregressive step, which scales poorly. We introduce a causal autoregressive buffer that combines the strengths of both paradigms. The model encodes the context once and caches it; a lightweight causal buffer captures dependencies among generated targets, with each new prediction attending to both the cached context and all previously predicted targets added to the buffer. This enables efficient batched autoregressive sampling and joint predictive density evaluation. Training integrates set-based and autoregressive modes through masked attention at minimal overhead. Across synthetic functions, EEG time series, a Bayesian model comparison task, and tabular regression, our method closely matches the performance of full context re-encoding while delivering up to $20\times$ faster joint sampling and density evaluation, and up to $7\times$ lower memory usage.
On Mesa-Optimization in Autoregressively Trained Transformers: Emergence and Capability
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);RIKEN AIP(理化学研究所人工智能项目);School of Software, Shandong University(山东大学软件学院);Dept. of Comp. Sci. & Tech., BNRist Center, THU-Bosch ML Center, Tsinghua University(清华大学计算机科学与技术系、BNRist中心、THU-Bosch机器学习中心)
Probabilistic Reduced-Dimensional Vector Autoregressive Modeling with Oblique Projections
Hong Kong Institute for Data Science, City University of Hong Kong, Hong Kong(香港数据科学研究所,香港城市大学,香港);The Institute of Data Science, Lingnan University, Hong Kong(数据科学研究所,岭南大学,香港)