arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.01988cs.LGcs.AIstat.ML
收藏

稀疏连续分布与Fenchel-Young损失

Sparse Continuous Distributions and Fenchel-Young Losses

Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(高等技术学院);Unbabel;Instituto de Sistemas e Robótica(系统与机器人研究所);Google Research(谷歌研究院);University of Amsterdam(阿姆斯特丹大学)

André F. T. Martins, Marcos Treviso, António Farinhas, Pedro M. Q. Aguiar, Mário A. T. Figueiredo, Mathieu Blondel, Vlad Niculae

摘要:

指数族广泛用于机器学习中,包括连续和离散域中的许多分布(例如,高斯分布、狄利克雷分布、泊松分布和分类分布(通过softmax变换)。每个家庭的分配都有固定的支持。相比之下,对于有限域,最近关于softmax的稀疏替代方案的工作(例如,sparsemax、$α$ -entmax和fusedmax)已经导致了具有不同支持的分布。本文开发了稀疏替代连续分布,基于几个技术贡献:首先,我们定义了$Ω$ -正则化预测映射和Fenchel-Young损失的任意域(可能是可数无限或连续)。对于线性参数化的家庭,我们表明,Fenchel-Young损失的最小化相当于矩匹配的统计量,推广指数家庭的基本属性。当$Ω$是Tsallis负熵且参数为$α$时,我们得到"变形指数族“,其中包括$α$-entmax和sparsemax($α=2$)作为特例.对于二次能量函数,所得到的密度是$β$ -高斯分布,这是椭圆分布的一个实例,包含高斯、双权、三权和Epanechnikov密度的特殊情况,为此我们推导出方差、Tsallis熵和Fenchel-Young损失的封闭形式表达式。当$Ω$是全变分或Sobolev正则化子时,我们得到了fusedmax的连续形式.最后,我们引入连续域注意力机制,推导出有效的梯度反向传播算法$α\in \{1, 4/3, 3/2, 2\}$。使用这些算法,我们证明了我们的稀疏连续分布的注意力为基础的音频分类和视觉问答,表明他们可以参加的时间间隔和紧凑的地区。

英文摘要:

Exponential families are widely used in machine learning, including many distributions in continuous and discrete domains (e.g., Gaussian, Dirichlet, Poisson, and categorical distributions via the softmax transformation). Distributions in each of these families have fixed support. In contrast, for finite domains, recent work on sparse alternatives to softmax (e.g., sparsemax, $α$-entmax, and fusedmax), has led to distributions with varying support. This paper develops sparse alternatives to continuous distributions, based on several technical contributions: First, we define $Ω$-regularized prediction maps and Fenchel-Young losses for arbitrary domains (possibly countably infinite or continuous). For linearly parametrized families, we show that minimization of Fenchel-Young losses is equivalent to moment matching of the statistics, generalizing a fundamental property of exponential families. When $Ω$ is a Tsallis negentropy with parameter $α$, we obtain ``deformed exponential families,'' which include $α$-entmax and sparsemax ($α=2$) as particular cases. For quadratic energy functions, the resulting densities are $β$-Gaussians, an instance of elliptical distributions that contain as particular cases the Gaussian, biweight, triweight, and Epanechnikov densities, and for which we derive closed-form expressions for the variance, Tsallis entropy, and Fenchel-Young loss. When $Ω$ is a total variation or Sobolev regularizer, we obtain a continuous version of the fusedmax. Finally, we introduce continuous-domain attention mechanisms, deriving efficient gradient backpropagation algorithms for $α\in \{1, 4/3, 3/2, 2\}$. Using these algorithms, we demonstrate our sparse continuous distributions for attention-based audio classification and visual question answering, showing that they allow attending to time intervals and compact regions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑