paper-with-me

홈 › Papers

Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces

2021-10-28 · NeurIPS 2021 12 · Kirill Struminsky, Artyom Gadetsky, Denis Rakitin, Danil Karpushkin, Dmitry Vetrov

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.

📄 PDF Abstract BibTeX arXiv:2110.15072

Code (1)

RakitinDen/pytorch-recursive-gumbel-max-trick 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Recursive Speculative Decoding: Accelerating LLM Inference via Sampling Without Replacement

2024-02-21 · Wonseok Jeon, Mukul Gagrani, Raghavv Goel, Junyoung Park 외

Speculative decoding is an inference-acceleration method for large language models (LLMs) where a small language model generates a draft-token sequence which is further verified by the target LLM in parallel. Recent work…

Language ModellingSmall Language Model

Lost Relatives of the Gumbel Trick

2017-06-13 · ICML 2017 8 · Matej Balog, Nilesh Tripuraneni, Zoubin Ghahramani, Adrian Weller

The Gumbel trick is a method to sample from a discrete probability distribution, or to estimate its normalizing partition function. The method relies on repeatedly applying a random perturbation to the distribution in a …

A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learning

2021-10-04 · Iris A. M. Huijben, Wouter Kool, Max B. Paulus, Ruud J. G. van Sloun

The Gumbel-max trick is a method to draw a sample from a categorical distribution, given by its unnormalized (log-)probabilities. Over the past years, the machine learning community has proposed several extensions of thi…

BIG-bench Machine Learning

Fast Gumbel-Max Sketch and its Applications

2023-02-10 · Yuanming Zhang, Pinghui Wang, Yiyan Qi, Kuankuan Cheng 외

The well-known Gumbel-Max Trick for sampling elements from a categorical distribution (or more generally a non-negative vector) and its variants have been widely used in areas such as machine learning and information ret…

Information RetrievalRetrieval

Fast Generating A Large Number of Gumbel-Max Variables

2020-02-02 · Yiyan Qi, Pinghui Wang, Yuanming Zhang, Junzhou Zhao 외

The well-known Gumbel-Max Trick for sampling elements from a categorical distribution (or more generally a nonnegative vector) and its variants have been widely used in areas such as machine learning and information retr…

Graph EmbeddingInformation RetrievalRetrieval