arXiv Machine Learning

Elicitation without Backpropagation: Steering Model Behavior by Optimizing the Latent Posterior

arXiv:2607. 18804v1 Announce Type: new Abstract: In the \emph{latent posterior model} of transformer behavior, the next-token distribution arises from a posterior over latent predictive models conditioned on the context, mixed to generate continuations.

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 AI
Oct 31

Emergence of the transformer architecture as the score of entropic laws of random measures

The paper demonstrates that the transformer architecture naturally arises as the score of last‑token laws in a statistical model of language where sentences are treated as empirical measures of tokens. By applying the maximum‑entropy principle to a prior that assumes no inherent sentence structure, the authors derive a statistic capturing token interactions via Luce’s choice axiom, leading to the softmax choice rule and attention mechanisms. The resulting framework explains key transformer components—query‑key and value matrices as Lagrange multipliers, causal masking, multi‑head attention, and residual blocks—as consequences of entropic optimization.

By Giacomo Greco
arXiv Machine Learning
Oct 23

Parameter Learning in Active Inference via Variational Message Passing

The paper extends active inference to incorporate learning of observation and transition parameters by assigning each factor its own Dirichlet prior, thereby preserving information‑gain corrections that vanish under standard mean‑field factorization. This approach yields a closed‑form objective whose stationary point is solved by sum‑product message passing with augmented factor functions. Experiments on two grid POMDPs demonstrate that the resulting planner reliably learns the model and reaches the goal in every episode, outperforming planners that lack this learning capability.

By Benedikt Waldeck
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
arXiv AI
Nov 14

Thompson Sampling using Prior-fitted Diffusion Transformers

The paper introduces prior‑fitted diffusion transformers that perform Thompson sampling in‑context for continuous global optimization. These models are pre‑trained using a prior‑fitted network paradigm and employ practical non‑Gaussian priors, such as those over unimodal functions, to capture characteristics beyond Gaussian processes. Experiments on global optimization benchmarks show that these transformers achieve better performance than traditional Gaussian‑process pipelines while following scaling laws similar to other transformer modalities.

By Sihwa Park, Jingsen Zhu, Vinamr Jain, Sheng-Yen Chou, Alexander Terenin