mlsanityData to 7 Oct 2026

Momentum Decoding: Open-ended Text Generation As Graph Exploration

arXiv 2212.02175 ↗First posted 5 Dec 2022cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Open-ended text generation with autoregressive language models (LMs) is one of the core tasks in natural language processing. However, maximization-based decoding methods (e.g., greedy/beam search) often lead to the degeneration problem, i.e., the generated text is unnatural and contains undesirable repetitions. Existing solutions to this problem either introduce randomness prone to incoherence or require a look-ahead mechanism that demands extra computational overhead. In this study, we formulate open-ended text generation from a new perspective, i.e., we view it as an exploration process within a directed graph. Thereby, we understand the phenomenon of degeneration as circular loops within the directed graph. Based on our formulation, we propose a novel decoding method -- textitmomentum decoding -- which encourages the LM to textitgreedily explore new nodes outside the current graph. Meanwhile, it also allows the LM to return to the existing nodes with a momentum downgraded by a pre-defined resistance function. We extensively test our approach on three benchmarks from different domains through automatic and human evaluations. The results show that momentum decoding performs comparably with the current state of the art while enjoying notably improved inference speed and computation FLOPs. Furthermore, we conduct a detailed analysis to reveal the merits and inner workings of our approach. Our codes and other related resources are publicly available at https://github.com/gmftbyGMFTBY/MomentumDecoding.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 20 of its 23 references that are in the map. First posted on arXiv 5 Dec 2022.

Builds on

20 of 23 references.

References · 20

  1. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  2. 2016Pointer Sentinel Mixture Modelscited by 2,992
  3. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  4. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  5. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  6. 2018Hierarchical Neural Story Generationcited by 1,182
  7. 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
  8. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  9. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  10. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  11. 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
  12. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
8 more
  1. 2022A Contrastive Framework for Neural Text Generationcited by 224
  2. 2021Multi-Task Pre-Training for Plug-and-Play Task-Oriented Dialogue Systemcited by 139
  3. 2019Bridging the Gap between Training and Inference for Neural Machine Translationcited by 123
  4. 2022Language Models Can See: Plugging Visual Controls in Text Generationcited by 89
  5. 2022Contrastive Search Is What You Need For Neural Text Generationcited by 58
  6. 2020Dialogue Response Selection with Hierarchical Curriculum Learningcited by 27
  7. 2020Prototype-to-Style: Dialogue Generation with Style-Aware Editing on Retrieval Memorycited by 22
  8. 2022An Empirical Study On Contrastive Search And Contrastive Decoding For Open-ended Text Generationcited by 14

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 2; 2024: 1.

4 papers.