paper-with-me

홈 › Papers

Attention: Marginal Probability is All You Need?

2023-04-07 · Ryan Singh, Christopher L. Buckley

Attention mechanisms are a central property of cognitive systems allowing them to selectively deploy cognitive resources in a flexible manner. Attention has been long studied in the neurosciences and there are numerous phenomenological models that try to capture its core properties. Recently attentional mechanisms have become a dominating architectural choice of machine learning and are the central innovation of Transformers. The dominant intuition and formalism underlying their development has drawn on ideas of keys and queries in database management systems. In this work, we propose an alternative Bayesian foundation for attentional mechanisms and show how this unifies different attentional architectures in machine learning. This formulation allows to to identify commonality across different attention ML architectures as well as suggest a bridge to those developed in neuroscience. We hope this work will guide more sophisticated intuitions into the key properties of attention architectures and suggest new ones.

📄 PDF Abstract BibTeX arXiv:2304.04556

Code (0)

등록된 구현이 없습니다.

Tasks

AllManagement

Similar Papers 제목 키워드 기반

Dynamic Pruning of Factor Graphs for Maximum Marginal Prediction

2012-12-01 · NeurIPS 2012 12 · Christoph H. Lampert

We study the problem of maximum marginal prediction (MMP) in probabilistic graphical models, a task that occurs, for example, as the Bayes optimal decision rule under a Hamming loss. MMP is typically performed as a two-s…

Image InpaintingMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONPrediction

Language Model Uncertainty Quantification with Attention Chain

2025-03-24 · Yinghao Li, Rushi Qiang, Lama Moukheiber, Chao Zhang

Accurately quantifying a large language model's (LLM) predictive uncertainty is crucial for judging the reliability of its answers. While most existing research focuses on short, directly answerable questions with closed…

Computational EfficiencyLanguage ModelingLanguage Modellingmodel+2

Bounds on marginal probability distributions

2008-12-01 · NeurIPS 2008 12 · Joris M. Mooij, Hilbert J. Kappen

We propose a novel bound on single-variable marginal probability distributions in factor graphs with discrete variables. The bound is obtained by propagating bounds (convex sets of probability distributions) over a subtr…

Medical Diagnosis

Disentangled Interleaving Variational Encoding

2025-01-15 · Noelle Y. L. Wong, Eng Yeow Cheu, Zhonglin Chiam, Dipti Srinivasan

Conflicting objectives present a considerable challenge in interleaving multi-task learning, necessitating the need for meticulous design and balance to ensure effective learning of a representative latent data space acr…

DisentanglementMulti-Task Learning

Variational Algorithms for Marginal MAP

2013-02-26 · Qiang Liu, Alexander Ihler

The marginal maximum a posteriori probability (MAP) estimation problem, which calculates the mode of the marginal posterior distribution of a subset of variables with the remaining variables marginalized, is an important…