Toward a Theoretical Understanding of Transformer Attention: Bayesian Estimation and Predictive Sufficiency

Fouad B. Chedid
11/23/2026
cs.LG
transformer-attentionbayesian

No confident code implementation found for this paper.

Abstract

This paper develops a theoretical account of Transformer attention by organizing existing probabilistic and information-theoretic results. It identifies the assumptions under which attention computes a posterior mean and the additional conditions required for accurate next-token prediction.

Show full abstract

Posterior-mean optimality under squared-error loss does not by itself establish predictive sufficiency; even a sufficient representation requires a prediction head that uses its information correctly. An excess-log-loss decomposition makes this distinction precise by separating representation information loss from prediction-head error. The analysis clarifies the conditions required for predictive guarantees. Determining when these conditions hold in trained models, and how architectural or training choices can support them, could guide the development of AI systems that preserve and use predictive information more effectively.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chedid2026toward,
  title  = {Toward a Theoretical Understanding of Transformer Attention: Bayesian Estimation and Predictive Sufficiency},
  author = {Fouad B. Chedid},
  year   = {2026},
  eprint = {2611.30349},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.30349v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.30349.svg)](https://codeofpaper.com/paper/2611.30349)

Discussion