Lune

NeurIPS2020Top-tier venue

Efficient Marginalization of Discrete and Structured Latent Variables via Sparsity

Gonçalo M. Correia, Vlad Niculae, Wilker Aziz, André F. T. Martins

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Evidential Softmax for Sparse Multimodal Distributions in Deep Generative Models cites Evidential Sparsification of Multimodal Latent Spaces in Conditional Variational Autoencoders
  • Exploring Social Posterior Collapse in Variational Autoencoder for Interaction Modeling cites Evidential Sparsification of Multimodal Latent Spaces in Conditional Variational Autoencoders
  • Storchastic: A Framework for General Stochastic Automatic Differentiation cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
  • Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions cites Differentiation of Blackbox Combinatorial Solvers
  • Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions cites Estimating Gradients for Discrete Random Variables by Sampling without Replacement
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. Implicit MLE: Backpropagating Through Discrete Exponential Family DistributionsMathias Niepert, Pasquale Minervini, Luca FranceschiNeurIPS 2021 · 121 citations
  2. Exploring Social Posterior Collapse in Variational Autoencoder for Interaction ModelingChen Tang, Wei Zhan, Masayoshi TomizukaNeurIPS 2021 · 26 citations
  3. Evidential Sparsification of Multimodal Latent Spaces in Conditional Variational AutoencodersMasha Itkina, Boris Ivanovic, Ransalu Senanayake, Mykel J. Kochenderfer et al.NeurIPS 2020 · 21 citations
  4. Storchastic: A Framework for General Stochastic Automatic DifferentiationEmile van Krieken, Jakub M. Tomczak, Annette ten TeijeNeurIPS 2021 · 19 citations
  5. Evidential Softmax for Sparse Multimodal Distributions in Deep Generative ModelsPhil Chen, Masha Itkina, Ransalu Senanayake, Mykel J. KochenderferNeurIPS 2021 · 9 citations

Builds on2

  1. Differentiation of Blackbox Combinatorial SolversMarin Vlastelica Pogancic, Anselm Paulus, Vít Musil, Georg Martius et al.ICLR 2020 · 341 citations
  2. Estimating Gradients for Discrete Random Variables by Sampling without ReplacementWouter Kool, Herke van Hoof, Max WellingICLR 2020 · 59 citations

Related papers

  1. Sparse Communication via Mixed DistributionsAntónio Farinhas, Wilker Aziz, Vlad Niculae, André F. T. MartinsICLR 2022 · 3 citations
  2. Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial SpacesKirill Struminsky, Artyom Gadetsky, Denis Rakitin, Danil Karpushkin et al.NeurIPS 2021 · 11 citations
  3. Gradient Estimation with Stochastic Softmax TricksMax B. Paulus, Dami Choi, Daniel Tarlow, Andreas Krause et al.NeurIPS 2020 · 104 citations
  4. SIMPLE: A Gradient Estimator for k-Subset SamplingKareem Ahmed, Zhe Zeng, Mathias Niepert, Guy Van den BroeckICLR 2023 · 2 citations
  5. Training Discrete Deep Generative Models via Gapped Straight-Through EstimatorTing-Han Fan, Ta-Chung Chi, Alexander I. Rudnicky, Peter J. RamadgeICML 2022 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines