SIMPLE: A Gradient Estimator for k-Subset Sampling
Kareem Ahmed, Zhe Zeng, Mathias Niepert, Guy Van den Broeck
Abstract
-subset sampling is ubiquitous in machine learning, enabling regularization and interpretability through sparsity. The challenge lies in rendering -subset sampling amenable to end-to-end learning. This has typically involved relaxing the reparameterized samples to allow for backpropagation, with the risk of introducing high bias and high variance. In this work, we fall back to discrete -subset sampling on the forward pass. This is coupled with using the gradient with respect to the exact marginals, computed efficiently, as a proxy for the true gradient. We show that our gradient estimator, SIMPLE, exhibits lower bias and variance compared to state-of-the-art estimators, including the straight-through Gumbel estimator when . Empirical results show improved performance on learning to explain and sparse linear regression. We provide an algorithm for computing the exact ELBO for the -subset distribution, obtaining significantly lower loss compared to SOTA.
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.
17 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Learning with Differentiable Pertubed Optimizers cites Fast Differentiable Sorting and Ranking
- Scaling Tractable Probabilistic Circuits: A Systems Perspective cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Probabilistically Rewired Message-Passing Neural Networks cites Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions
- A Unified Approach to Count-Based Weakly Supervised Learning cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Semantic Probabilistic Layers for Neuro-Symbolic Learning cites Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions
- A Pseudo-Semantic Loss for Autoregressive Models with Logical Constraints cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Probabilistic Graph Rewiring via Virtual Nodes cites Probabilistically Rewired Message-Passing Neural Networks
- Probabilistic Graph Rewiring via Virtual Nodes cites Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions
- Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions cites Learning with Differentiable Pertubed Optimizers
Cited by top-tier papers17
- Scaling Tractable Probabilistic Circuits: A Systems PerspectiveAnji Liu, Kareem Ahmed, Guy Van den BroeckICML 2024 · 26 citations
- Probabilistically Rewired Message-Passing Neural NetworksChendi Qian, Andrei Manolache, Kareem Ahmed, Zhe Zeng et al.ICLR 2024 · 26 citations
- A Pseudo-Semantic Loss for Autoregressive Models with Logical ConstraintsKareem Ahmed, Kai-Wei Chang, Guy Van den BroeckNeurIPS 2023 · 26 citations
- Probabilistic Graph Rewiring via Virtual NodesChendi Qian, Andrei Manolache, Christopher Morris, Mathias NiepertNeurIPS 2024 · 24 citations
- A Unified Approach to Count-Based Weakly Supervised LearningVinay Shukla, Zhe Zeng, Kareem Ahmed, Guy Van den BroeckNeurIPS 2023 · 14 citations
Builds on12
- Fast Differentiable Sorting and RankingMathieu Blondel, Olivier Teboul, Quentin Berthet, Josip DjolongaICML 2020 · 285 citations
- Learning with Differentiable Pertubed OptimizersQuentin Berthet, Mathieu Blondel, Olivier Teboul, Marco Cuturi et al.NeurIPS 2020 · 181 citations
- Semantic Probabilistic Layers for Neuro-Symbolic LearningKareem Ahmed, Stefano Teso, Kai-Wei Chang, Guy Van den Broeck et al.NeurIPS 2022 · 133 citations
- Differentiable Top-k with Optimal TransportYujia Xie, Hanjun Dai, Minshuo Chen, Bo Dai et al.NeurIPS 2020 · 124 citations
- Implicit MLE: Backpropagating Through Discrete Exponential Family DistributionsMathias Niepert, Pasquale Minervini, Luca FranceschiNeurIPS 2021 · 121 citations
Related papers
- Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient EstimatorMax B. Paulus, Chris J. Maddison, Andreas KrauseICLR 2021 · 48 citations
- Cold Analysis of Rao-Blackwellized Straight-Through Gumbel-Softmax Gradient EstimatorAlexander ShekhovtsovICML 2023 · 2 citations
- SFESS: Score Function Estimators for k-Subset SamplingKlas Wijk, Ricardo Vinuesa, Hossein AzizpourICLR 2025
- Efficient Marginalization of Discrete and Structured Latent Variables via SparsityGonçalo M. Correia, Vlad Niculae, Wilker Aziz, André F. T. MartinsNeurIPS 2020 · 25 citations
- Training Discrete Deep Generative Models via Gapped Straight-Through EstimatorTing-Han Fan, Ta-Chung Chi, Alexander I. Rudnicky, Peter J. RamadgeICML 2022 · 9 citations
