Efficient Marginalization of Discrete and Structured Latent Variables via Sparsity

arXiv:2007.01919 First posted 2020-07-03 v3 Accepted for spotlight presentation at NeurIPS 2020
Cite this paper ×
BibTeX
@misc{correia2020efficient,
  title = {Efficient Marginalization of Discrete and Structured Latent Variables via Sparsity},
  author = {Gonçalo M. Correia and Vlad Niculae and Wilker Aziz and André F. T. Martins},
  year = {2020},
  eprint = {2007.01919},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  url = {https://arxiv.org/abs/2007.01919}
}
APA 7
Correia, G. M., Niculae, V., Aziz, W., & Martins, A. F. T. (2020). Efficient Marginalization of Discrete and Structured Latent Variables via Sparsity [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2007.01919
GB/T 7714
CORREIA GM, NICULAE V, AZIZ W, et al. Efficient Marginalization of Discrete and Structured Latent Variables via Sparsity[EB/OL]. (2020-07-03)[2026-11-30]. https://arxiv.org/abs/2007.01919.

Abstract

Training neural network models with discrete (categorical or structured) latent variables can be computationally challenging, due to the need for marginalization over large or combinatorial sets. To circumvent this issue, one typically resorts to sampling-based approximations of the true marginal, requiring noisy gradient estimators (e.g., score function estimator) or continuous relaxations with lower-variance reparameterized gradients (e.g., Gumbel-Softmax). In this paper, we propose a new training strategy which replaces these estimators by an exact yet efficient marginalization. To achieve this, we parameterize discrete distributions over latent assignments using differentiable sparse mappings: sparsemax and its structured counterparts. In effect, the support of these distributions is greatly reduced, which enables efficient marginalization. We report successful results in three tasks covering a range of latent variable modeling applications: a semisupervised deep generative model, a latent communication game, and a generative model with a bit-vector latent representation. In all cases, we obtain good performance while still achieving the practicality of sampling-based approximations.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!