Lune

ICML2021Top-tier venue

Straight to the Gradient: Learning to Use Novel Tokens for Neural Text Generation

Xiang Lin, Simeng Han, Shafiq R. Joty

Abstract

Advanced large-scale neural language models have led to significant success in many language generation tasks. However, the most commonly used training objective, Maximum Likelihood Estimation (MLE), has been shown problematic, where the trained model prefers using dull and repetitive phrases. In this work, we introduce ScaleGrad, a modification straight to the gradient of the loss function, to remedy the degeneration issue of the standard MLE objective. By directly maneuvering the gradient information, ScaleGrad makes the model learn to use novel tokens. Empirical results show the effectiveness of our method not only in open-ended generation, but also in directed generation tasks. With the simplicity in architecture, our method can serve as a general training objective that is applicable to most of the neural text generation tasks.

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.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Neural Text Generation With Unlikelihood Training cites The Curious Case of Neural Text Degeneration
  • The Curious Case of Neural Text Degeneration cites Neural Text Generation With Unlikelihood Training
  • From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformers cites Neural Text Generation With Unlikelihood Training
  • From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformers cites Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation
  • From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformers cites Language Models are Few-Shot Learners
  • From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformers cites The Curious Case of Neural Text Degeneration
  • Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation cites ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-training
  • Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation cites Neural Text Generation With Unlikelihood Training
  • Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation cites Language Models are Few-Shot Learners
  • Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation cites The Curious Case of Neural Text Degeneration
  • Understanding In-Context Learning from Repetitions cites Neural Text Generation With Unlikelihood Training
  • Understanding In-Context Learning from Repetitions cites Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation
  • Understanding In-Context Learning from Repetitions cites Language Models are Few-Shot Learners
  • Understanding In-Context Learning from Repetitions cites The Curious Case of Neural Text Degeneration
  • Language Models are Few-Shot Learners cites The Curious Case of Neural Text Degeneration
  • Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective cites Neural Text Generation With Unlikelihood Training
  • Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective cites Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation
  • Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective cites The Curious Case of Neural Text Degeneration
  • SummaReranker: A Multi-Task Mixture-of-Experts Re-ranking Framework for Abstractive Summarization cites BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
  • SummaReranker: A Multi-Task Mixture-of-Experts Re-ranking Framework for Abstractive Summarization cites The Curious Case of Neural Text Degeneration
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text GenerationJin Xu, Xiaojiang Liu, Jianhao Yan, Deng Cai et al.NeurIPS 2022 · 135 citations
  2. SummaReranker: A Multi-Task Mixture-of-Experts Re-ranking Framework for Abstractive SummarizationMathieu Ravaut, Shafiq R. Joty, Nancy F. ChenACL 2022 · 116 citations
  3. Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data PerspectiveHuayang Li, Tian Lan, Zihao Fu, Deng Cai et al.NeurIPS 2023 · 54 citations
  4. From Self-Attention to Markov Models: Unveiling the Dynamics of Generative TransformersMuhammed Emrullah Ildiz, Yixiao Huang, Yingcong Li, Ankit Singh Rawat et al.ICML 2024 · 45 citations
  5. Understanding In-Context Learning from RepetitionsJianhao Yan, Jin Xu, Chiyu Song, Chenming Wu et al.ICLR 2024 · 34 citations

Builds on6

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  3. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
  4. Neural Text Generation With Unlikelihood TrainingSean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan et al.ICLR 2020 · 683 citations
  5. ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-trainingWeizhen Qi, Yu Yan, Yeyun Gong, Dayiheng Liu et al.EMNLP Findings 2020 · 385 citations

Related papers

  1. Rare Tokens Degenerate All Tokens: Improving Neural Text Generation via Adaptive Gradient Gating for Rare Token EmbeddingsSangwon Yu, Jongyoon Song, Heeseung Kim, Seongmin Lee et al.ACL 2022 · 42 citations
  2. Beyond MLE: Convex Learning for Text GenerationChenze Shao, Zhengrui Ma, Min Zhang, Yang FengNeurIPS 2023 · 5 citations
  3. A Contrastive Framework for Neural Text GenerationYixuan Su, Tian Lan, Yan Wang, Dani Yogatama et al.NeurIPS 2022 · 349 citations
  4. On the Generalization of SFT: A Reinforcement Learning Perspective with Reward RectificationYongliang Wu, Yizhou Zhou, Ziheng Zhou, Yingzhe Peng et al.ICLR 2026 · 130 citations
  5. F2-Softmax: Diversifying Neural Text Generation via Frequency Factorized SoftmaxByung-Ju Choi, Jimin Hong, David Keetae Park, Sang Wan LeeEMNLP 2020 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines