Sparse Continuous Distributions and Fenchel Young Losses
Exponential families are widely used in machine learning; they include 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, there has been recent works on sparse alternatives to softmax (e.g. sparsemax, a entmax, and fusedmax) and corresponding losses, which have varying support. This paper expands that line of work in several directions: first, it extends O regularized prediction maps and Fenchel Young losses to arbitrary domains (possibly countably infinite or continuous) For linearly parametrized families, we show that minimization of FenchelYoung losses is equivalent to moment matching of the statistics, generalizing a fundamental property of exponential families. When O is a Tsallis negentropy with parameter a, we obtain "deformed exponential families," which include a entmax and sparsemax (a 2) as particular cases. For quadratic energy functions in continuous domains, the resulting densities are b 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 O 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 a {1, 4/3, 3/2, 2} Using them, 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. 1 ar X iv :2 10 8. 01 98 8v 1 cs .L G 4 A ug 2 02 1 Sparse Continuous Distributions and Fenchel Young Losses
ArXiv