Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces
Kirill Struminsky, Artyom Gadetsky, Denis Rakitin, Danil Karpushkin, Dmitry P. Vetrov
Abstract
Structured latent variables allow incorporating meaningful prior knowledge into deep learning models. However, learning with such variables remains challenging because of their discrete nature. Nowadays, the standard learning approach is to define a latent variable as a perturbed algorithm output and to use a differentiable surrogate for training. In general, the surrogate puts additional constraints on the model and inevitably leads to biased gradients. To alleviate these shortcomings, we extend the Gumbel-Max trick to define distributions over structured domains. We avoid the differentiable surrogates by leveraging the score function estimators for optimization. In particular, we highlight a family of recursive algorithms with a common feature we call stochastic invariant. The feature allows us to construct reliable gradient estimates and control variates without additional constraints on the model. In our experiments, we consider various structured latent variable models and achieve results competitive with relaxation-based counterparts.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- Unsupervised Learning for Combinatorial Optimization with Principled Objective RelaxationHaoyu Wang, Nan Wu, Hang Yang, Cong Hao et al.NeurIPS 2022 · 54 citations
- GeoPhy: Differentiable Phylogenetic Inference via Geometric Gradients of Tree TopologiesTakahiro Mimori, Michiaki HamadaNeurIPS 2023 · 17 citations
- Differentiable Clustering with Perturbed Spanning ForestsLawrence Stewart, Francis R. Bach, Felipe Llinares-López, Quentin BerthetNeurIPS 2023 · 16 citations
- Noise-Resilient Symbolic Regression with Dynamic Gating Reinforcement LearningChenglu Sun, Shuo Shen, Wenzhi Tao, Deyi Xue et al.AAAI 2025 · 5 citations
- Latent Optimal Paths by Gumbel Propagation for Variational Bayesian Dynamic ProgrammingXinlei Niu, Christian Walder, Jing Zhang, Charles Patrick MartinICML 2024
Builds on8
- Gradient Estimation with Stochastic Softmax TricksMax B. Paulus, Dami Choi, Daniel Tarlow, Andreas Krause et al.NeurIPS 2020 · 104 citations
- VarGrad: A Low-Variance Gradient Estimator for Variational InferenceLorenz Richter, Ayman Boustati, Nikolas Nüsken, Francisco J. R. Ruiz et al.NeurIPS 2020 · 90 citations
- Rao-Blackwellizing the Straight-Through Gumbel-Softmax Gradient EstimatorMax B. Paulus, Chris J. Maddison, Andreas KrauseICLR 2021 · 48 citations
- Discovering Non-monotonic Autoregressive Orderings with Variational InferenceXuanlin Li, Brandon Trabucco, Dong Huk Park, Michael Luo et al.ICLR 2021 · 17 citations
- Latent Template Induction with Gumbel-CRFsYao Fu, Chuanqi Tan, Bin Bi, Mosha Chen et al.NeurIPS 2020 · 15 citations
Related papers
- Efficient Marginalization of Discrete and Structured Latent Variables via SparsityGonçalo M. Correia, Vlad Niculae, Wilker Aziz, André F. T. MartinsNeurIPS 2020 · 25 citations
- Low-Variance Black-Box Gradient Estimates for the Plackett-Luce DistributionArtyom Gadetsky, Kirill Struminsky, Christopher Robinson, Novi Quadrianto et al.AAAI 2020 · 11 citations
- Learning Permutation from Structure Without SupervisionRan Eisenberg, Ofir LindenbaumICML 2026
- Learning Generalized Gumbel-max Causal MechanismsGuy Lorberbom, Daniel D. Johnson, Chris J. Maddison, Daniel Tarlow et al.NeurIPS 2021 · 25 citations
- Cold Analysis of Rao-Blackwellized Straight-Through Gumbel-Softmax Gradient EstimatorAlexander ShekhovtsovICML 2023 · 2 citations
