arXiv Machine Learning

What does a Bayes-filtered transformer believe? A predictive Monte Carlo approach

arXiv:2607. 17060v1 Announce Type: new Abstract: A Bayes-filtered transformer (BFT) is a transformer trained on sequences that are generated in two steps: first a latent task is drawn from a prior, then observations are drawn conditional on that task.

arXiv Machine Learning
Jun 24

LLMs are Bayesian, In Expectation, Not in Realization

arXiv:2507. 11768v3 Announce Type: replace-cross Abstract: Bayesian accounts of in-context learning face a direct objection: exact posterior predictives for exchangeable data are invariant to task-preserving order, yet transformers change next-token probabilities when the same examples are serialized differently.

By Leon Chlon, Fatima Sheaib, Zein Khamis, Maggie Chlon, Mahdi El Zein, MarcAntonio M. Awada
arXiv Machine Learning
Oct 22

Is In-Context Reinforcement Learning A Posterior Sampler? An Empirical Study

The paper investigates whether in-context reinforcement learning (ICRL), particularly the Decision-Pretrained Transformer (DPT) and its variants, functions as a Bayesian posterior sampler in practice. By establishing two necessary conditions—sufficient-statistic invariance and the martingale property—and designing statistical hypothesis tests, the authors evaluate ICRL models across Gaussian, Bernoulli, and linear bandit settings. The results consistently violate both conditions, indicating that ICRL may not behave as a Bayesian posterior sampler in real-world scenarios, while the tests offer a systematic framework for assessing Bayesian behavior in ICRL.

By Weiqin Chen, Xinlong Du, Gesualdo Scutari, Harsha Honnappa
arXiv Machine Learning
Oct 9

Marformer: A Transformer for Predicting Missing Data Distributions

The Marformer is a Transformer model designed to predict conditional marginal distributions of missing variables given observed data, enabling computation of Bayes risk and Value of Information. It learns a hidden-vector representation for each variable’s distribution and refines these through attention, similar to BERT’s masked language modeling but for probabilistic inference. Evaluations on synthetic Bayesian networks, discretized Gaussians, structured annotation data, and a real annotation dataset show that the Marformer matches or surpasses classical missing-data methods while being faster and not requiring explicit joint distribution modeling.

By Prabhav Singh, Xiheng Tom Wang, Haojun Shi, Jason Eisner
arXiv Machine Learning
Oct 7

ProximalFM: Amortized Proximal Causal Inference under Hidden Confounding

ProximalFM is a transformer‑based model that uses prior‑data fitted networks (PFNs) to perform Bayesian proximal causal inference under hidden confounding. By training on synthetic data generated from structural causal models with oracle counterfactuals, it amortizes the Bayesian operator inversion into a single forward pass, producing posterior estimates of the conditional average treatment effect (CATE). The approach consistently outperforms prior methods across various proximal regimes, especially when latent confounding is strong and proxy variables are weakly informative, and it requires no dataset‑specific tuning.

By Christophe Muller, Ayub Kharel, Alex Luedtke, Chan Park, Eric Tchetgen Tchetgen, Juan L. Gamella, Rahul Krishnan, Ricardo Silva, Jakob Zeitler