Attention: Marginal Probability is All You Need?

Ryan Singh, Christopher L. Buckley
4/7/2023
cs.LGcs.AIcs.NE

No confident code implementation found for this paper.

Abstract

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.

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{singh2023attention,
  title  = {Attention: Marginal Probability is All You Need?},
  author = {Ryan Singh and Christopher L. Buckley},
  year   = {2023},
  eprint = {2304.04556},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.04556v1}
}

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/2304.04556.svg)](https://codeofpaper.com/paper/2304.04556)

Discussion