paper-with-me

홈 › Papers

Transformer Architectures as Complete Bayes Processes: A Formal Proof in the Measure-Theoretic Kernel Framework

2026-06-29 · Haobo Yang arxiv

We present a complete formal proof that transformer architectures, when their internal update mechanisms satisfy a Bayes joint-distribution condition, implement exact Bayesian posterior inference. Working within the measure-theoretic kernel framework, we define a hierarchy of abstractions -- from the core Bayesian transformer, through semantic transformers with explicit update kernels, to full transformer blocks with QKV/attention/residual/MLP pipelines, and finally multilayer stacks -- and prove at each level that the Bayes joint semantics implies the update kernel equals the posterior almost everywhere. For the block-level architecture, we derive the explicit Bayes formula through Radon-Nikodym differentiation and prove its normalization. We additionally prove that the softmax attention mechanism induces a valid probability distribution over keys, establishing the bridge between the abstract kernel framework and concrete attention implementations. The framework makes no architectural assumptions beyond the Markov kernel structure and exposes explicit conditions under which a transformer block is provably Bayesian. In essence, when this joint distribution condition is satisfied, the forward computation of a Transformer is formally equivalent to a rigorous Bayesian posterior update.

📄 PDF Abstract BibTeX arXiv:2606.30440

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

End-to-End Meta-Bayesian Optimisation with Transformer Neural Processes

2023-05-25 · NeurIPS 2023 11 · Alexandre Maraval, Matthieu Zimmer, Antoine Grosnit, Haitham Bou Ammar

Meta-Bayesian optimisation (meta-BO) aims to improve the sample efficiency of Bayesian optimisation by leveraging data from related tasks. While previous methods successfully meta-learn either a surrogate model or an acq…

Bayesian OptimisationInductive BiasReinforcement Learning (RL)valid

Bayesian Layers: A Module for Neural Network Uncertainty

2018-12-10 · NeurIPS 2019 12 · Dustin Tran, Michael W. Dusenberry, Mark van der Wilk, Danijar Hafner

We describe Bayesian Layers, a module designed for fast experimentation with neural network uncertainty. It extends neural network libraries with drop-in replacements for common layers. This enables composition via a uni…

Gaussian ProcessesMachine TranslationProbabilistic ProgrammingTranslation

Unified field theoretical approach to deep and recurrent neuronal networks

2021-12-10 · Kai Segadlo, Bastian Epping, Alexander van Meegen, David Dahmen 외

Understanding capabilities and limitations of different network architectures is of fundamental importance to machine learning. Bayesian inference on Gaussian processes has proven to be a viable approach for studying rec…

Bayesian InferenceGaussian Processes

Reasoning Systems as Structured Processes: Foundations, Failures, and Formal Criteria

2025-08-03 · Saleh Nikooroo, Thomas Engel arxiv

This paper outlines a general formal framework for reasoning systems, intended to support future analysis of inference architectures across domains. We model reasoning systems as structured tuples comprising phenomena, e…

Robustness Guarantees for Bayesian Inference with Gaussian Processes

2018-09-17 · Luca Cardelli, Marta Kwiatkowska, Luca Laurenti, Andrea Patane

Bayesian inference and Gaussian processes are widely used in applications ranging from robotics and control to biological systems. Many of these applications are safety-critical and require a characterization of the unce…

Bayesian InferenceGaussian Processes