Stochastic Beams and Where To Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacement

The well-known Gumbel-Max trick for sampling from a categorical distribution can be extended to sample $k$ elements without replacement. We show how to implicitly apply this 'Gumbel-Top-$k$' trick on a factorized distribution over sequences, allowing to draw exact samples without replacement using a Stochastic Beam Search. Even for exponentially large domains, the number of model evaluations grows only linear in $k$ and the maximum sampled sequence length. The algorithm creates a theoretical connection between sampling and (deterministic) beam search and can be used as a principled intermediate alternative. In a translation task, the proposed method compares favourably against alternatives to obtain diverse yet good quality translations. We show that sequences sampled without replacement can be used to construct low-variance estimators for expected sentence-level BLEU score and model entropy.

Individual ChoiceBehaviorIndividual Choice BehaviorBleu: a Method forAutomatic Evaluation of…Bleu: a Method for Automatic Evaluation of Machine TranslationRandomized OptimumModels for Structured…Randomized Optimum Models for Structured PredictionSpeech Recognition withDeep Recurrent Neural…Speech Recognition with Deep Recurrent Neural NetworksA* SamplingA* SamplingPointer NetworksPointer NetworksShow and Tell: A NeuralImage Caption GeneratorShow and Tell: A Neural Image Caption GeneratorThe ConcreteDistribution: A…The Concrete Distribution: A Continuous Relaxation of Discrete Random VariablesCategoricalReparameterization with…Categorical Reparameterization with Gumbel-SoftmaxAutomaticdifferentiation in…Automatic differentiation in PyTorchUnderstandingBack-Translation at…Understanding Back-Translation at Scalefairseq: A Fast,Extensible Toolkit for…fairseq: A Fast, Extensible Toolkit for Sequence ModelingUnsupervised DataAugmentation for…Unsupervised Data Augmentation for Consistency TrainingParaphrase Generationwith Latent Bag of WordsParaphrase Generation with Latent Bag of WordsDirect Policy Gradients:Direct Optimization of…Direct Policy Gradients: Direct Optimization of Policies in Discrete Action SpacesDifferentiable Top-kOperator with Optimal…Differentiable Top-k Operator with Optimal TransportLearning Sampling andModel-Based Signal…Learning Sampling and Model-Based Signal Recovery for Compressed Sensing MRILatent TemplateInduction with…Latent Template Induction with Gumbel-CRFsComputer-Generated Musicfor Tabletop…Computer-Generated Music for Tabletop Role-Playing GamesVX2TEXT: End-to-EndLearning of Video-Based…VX2TEXT: End-to-End Learning of Video-Based Text Generation From Multimodal InputsMulti-Decoder AttentionModel with Embedding…Multi-Decoder Attention Model with Embedding Glimpse for Solving Vehicle Routing ProblemsDynamic ProbabilisticPruning: A General…Dynamic Probabilistic Pruning: A General Framework for Hardware-Constrained Pruning at Different GranularitiesDifferentiable GraphModule (DGM) for Graph…Differentiable Graph Module (DGM) for Graph Convolutional NetworksIlluminating proteinspace with a…Illuminating protein space with a programmable generative modelStochastic Beams andWhere To Find Them: The…Stochastic Beams and Where To Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacement過去の参考文献中心の論文この論文を引用する論文古い新しい

ノードをクリックするとフォーカスを固定、空白をクリックすると本論文に戻ります。ホバーで一時的にプレビューできます。各ノードのページはタイトルから開けます。