mlsanityData to 14 Oct 2026

N-gram Is Back: Residual Learning of Neural Text Generation with n-gram Language Model

arXiv 2210.14431 ↗First posted 26 Oct 2022cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

N-gram language models (LM) have been largely superseded by neural LMs as the latter exhibits better performance. However, we find that n-gram models can achieve satisfactory performance on a large proportion of testing cases, indicating they have already captured abundant knowledge of the language with relatively low computational cost. With this observation, we propose to learn a neural LM that fits the residual between an n-gram LM and the real-data distribution. The combination of n-gram and neural LMs not only allows the neural part to focus on the deeper understanding of language but also provides a flexible way to customize an LM by switching the underlying n-gram model without changing the neural model. Experimental results on three typical language tasks (i.e., language modeling, machine translation, and summarization) demonstrate that our approach attains additional performance gains over popular standalone neural models consistently. We also show that our approach allows for effective domain adaptation by simply switching to a domain-specific n-gram model, without any extra training. Our code is released at https://github.com/ghrua/NgramRes.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 36 of its 54 references that are in the map. First posted on arXiv 26 Oct 2022.

Builds on

36 of 54 references.

References · 36

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  5. 2016Pointer Sentinel Mixture Modelscited by 3,096
  6. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  7. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  8. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
  9. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
  10. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  11. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
  12. 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
24 more
  1. 2016Language Modeling with Gated Convolutional Networkscited by 702
  2. 2019Unified Language Model Pre-training for Natural Language Understanding and Generationcited by 670
  3. 2019Text Summarization with Pretrained Encoderscited by 556
  4. 2019Neural Text Generation with Unlikelihood Trainingcited by 503
  5. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  6. 2022A Contrastive Framework for Neural Text Generationcited by 225
  7. 2020ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-trainingcited by 222
  8. 2020UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Trainingcited by 204
  9. 2020Unsupervised Domain Clusters in Pretrained Language Modelscited by 160
  10. 2022A Survey on Retrieval-Augmented Text Generationcited by 158
  11. 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 94
  12. 2016Improving Neural Language Models with a Continuous Cachecited by 82
  13. 2020RealFormer: Transformer Likes Residual Attentioncited by 62
  14. 2021Neural Machine Translation with Monolingual Translation Memorycited by 61
  15. 2016Neural Paraphrase Generation with Stacked Residual LSTM Networkscited by 52
  16. 2020PALM: Pre-training an Autoencoding&Autoregressive Language Model for Context-conditioned Generationcited by 42
  17. 2020ERNIE-GEN: An Enhanced Multi-Flow Pre-training and Fine-tuning Framework for Natural Language Generationcited by 40
  18. 2019Federated Learning of N-gram Language Modelscited by 33
  19. 2018An Analysis of Neural Language Modeling at Multiple Scalescited by 31
  20. 2021Mask Attention Networks: Rethinking and Strengthen Transformercited by 28
  21. 2021Language Modeling, Lexical Translation, Reordering: The Training Process of NMT through the Lens of Classical SMTcited by 21
  22. 2017Deep Recurrent Generative Decoder for Abstractive Text Summarizationcited by 19
  23. 2018Fast Parametric Learning with Activation Memorizationcited by 9
  24. 2017Self-Attentive Residual Decoder for Neural Machine Translationcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 0; 2024: 0; 2025: 1; 2026: 1.

3 papers.