mlsanityData to 7 Oct 2026

Efficient Autoregressive Inference for Transformer Probabilistic Models

arXiv 2510.09477 ↗First posted 10 Oct 2025stat.ML cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

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× faster joint sampling and density evaluation, and up to 7× lower memory usage.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 61 of its 78 references that are in the map. First posted on arXiv 10 Oct 2025.

Builds on

61 of 78 references.

References · 61

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  5. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  6. 2022Flow Matching for Generative Modelingcited by 5,426
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  8. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  9. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  10. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  11. 2016Variational Inference: A Review for Statisticianscited by 1,466
  12. 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
38 more
  1. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  2. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
  3. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 712
  4. 2017Masked Autoregressive Flow for Density Estimationcited by 680
  5. 2024Autoregressive Image Generation without Vector Quantizationcited by 644
  6. 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 643
  7. 2016Improving Variational Inference with Inverse Autoregressive Flowcited by 636
  8. 2024Simplified and Generalized Masked Diffusion for Discrete Datacited by 606
  9. 2018Conditional Neural Processescited by 421
  10. 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 404
  11. 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelscited by 385
  12. 2021Transformers Can Do Bayesian Inferencecited by 338
  13. 2018Neural Processescited by 307
  14. 2015MADE: Masked Autoencoder for Distribution Estimationcited by 306
  15. 2025TabICL: A Tabular Foundation Model for In-Context Learning on Large Datacited by 267
  16. 2021Autoregressive Diffusion Modelscited by 208
  17. 2018Neural Autoregressive Flowscited by 207
  18. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  19. 2024HART: Efficient Visual Generation with Hybrid Autoregressive Transformercited by 128
  20. 2022Transformer Neural Processes: Uncertainty-Aware Meta Learning Via Sequence Modelingcited by 126
  21. 2025The Diffusion Dualitycited by 124
  22. 2018Janossy Pooling: Learning Deep Permutation-Invariant Functions for Variable-Size Inputscited by 96
  23. 2016Neural Autoregressive Distribution Estimationcited by 94
  24. 2020Meta-Learning Stationary Stochastic Process Prediction with Convolutional Neural Processescited by 74
  25. 2024All-in-one simulation-based inferencecited by 71
  26. 2023PFNs4BO: In-Context Learning for Bayesian Optimizationcited by 70
  27. 2013A Deep and Tractable Density Estimatorcited by 67
  28. 2019Block Neural Autoregressive Flowcited by 62
  29. 2022Neural Diffusion Processescited by 50
  30. 2021The Gaussian Neural Processcited by 34
  31. 2023Autoregressive Conditional Neural Processescited by 32
  32. 2025Can Transformers Learn Full Bayesian Inference in Context?cited by 30
  33. 2022Latent Bottlenecked Attentive Neural Processescited by 26
  34. 2022Practical Conditional Neural Processes Via Tractable Dependent Predictionscited by 25
  35. 2020Variational Bayesian Monte Carlo with Noisy Likelihoodscited by 23
  36. 2024Amortized Probabilistic Conditioning for Optimization, Simulation and Inferencecited by 22
  37. 2018Variational Bayesian Monte Carlocited by 20
  38. 2023Sensitivity-Aware Amortized Bayesian Inferencecited by 20

50 most cited of 61 All 61 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.