English

Kernel Deformed Exponential Families for Sparse Continuous Attention

Machine Learning 2021-11-16 v2 Machine Learning

Abstract

Attention mechanisms take an expectation of a data representation with respect to probability weights. This creates summary statistics that focus on important features. Recently, (Martins et al. 2020, 2021) proposed continuous attention mechanisms, focusing on unimodal attention densities from the exponential and deformed exponential families: the latter has sparse support. (Farinhas et al. 2021) extended this to use Gaussian mixture attention densities, which are a flexible class with dense support. In this paper, we extend this to two general flexible classes: kernel exponential families and our new sparse counterpart kernel deformed exponential families. Theoretically, we show new existence results for both kernel exponential and deformed exponential families, and that the deformed case has similar approximation capabilities to kernel exponential families. Experiments show that kernel deformed exponential families can attend to multiple compact regions of the data domain.

Keywords

Cite

@article{arxiv.2111.01222,
  title  = {Kernel Deformed Exponential Families for Sparse Continuous Attention},
  author = {Alexander Moreno and Supriya Nagesh and Zhenke Wu and Walter Dempsey and James M. Rehg},
  journal= {arXiv preprint arXiv:2111.01222},
  year   = {2021}
}
R2 v1 2026-06-24T07:21:41.628Z