mlsanityData to 7 Oct 2026

Don't Take It Literally: An Edit-Invariant Sequence Loss for Text Generation

arXiv 2106.15078 ↗First posted 29 Jun 2021cs.CL cs.AIcited by 17

Not on the map. Why?

Abstract (arXiv)

Neural text generation models are typically trained by maximizing log-likelihood with the sequence cross entropy (CE) loss, which encourages an exact token-by-token match between a target sequence with a generated sequence. Such training objective is sub-optimal when the target sequence is not perfect, e.g., when the target sequence is corrupted with noises, or when only weak sequence supervision is available. To address the challenge, we propose a novel Edit-Invariant Sequence Loss (EISL), which computes the matching loss of a target n-gram with all n-grams in the generated sequence. EISL is designed to be robust to various noises and edits in the target sequences. Moreover, the EISL computation is essentially an approximate convolution operation with target n-grams as kernels, which is easy to implement and efficient to compute with existing libraries. To demonstrate the effectiveness of EISL, we conduct experiments on a wide range of tasks, including machine translation with noisy target sequences, unsupervised text style transfer with only weak training signals, and non-autoregressive generation with non-predefined generation order. Experimental results show our method significantly outperforms the common CE loss and other strong baselines on all the tasks. EISL has a simple API that can be used as a drop-in replacement of the CE loss: https://github.com/guangyliu/EISL.

Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 46 of its 70 references that are in the map. First posted on arXiv 29 Jun 2021.

Builds on

46 of 70 references.

References · 46

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  3. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  4. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  5. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  6. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  7. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  8. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  9. 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,196
  10. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
  11. 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
  12. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
34 more
  1. 2015Sequence Level Training with Recurrent Neural Networkscited by 568
  2. 2016Self-critical Sequence Training for Image Captioningcited by 544
  3. 2019Symmetric Cross Entropy for Robust Learning with Noisy Labelscited by 499
  4. 2017Non-Autoregressive Neural Machine Translationcited by 457
  5. 2016Deep Reinforcement Learning for Dialogue Generationcited by 286
  6. 2017Toward Controlled Generation of Textcited by 271
  7. 2016Multi30K: Multilingual English-German Image Descriptionscited by 250
  8. 2017Style Transfer from Non-Parallel Text by Cross-Alignmentcited by 246
  9. 2019Levenshtein Transformercited by 197
  10. 2018Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinementcited by 194
  11. 2018Delete, Retrieve, Generate: A Simple Approach to Sentiment and Style Transfercited by 191
  12. 2020Deep Learning for Text Style Transfer: A Surveycited by 161
  13. 2018Style Transfer Through Back-Translationcited by 124
  14. 2015Minimum Risk Training for Neural Machine Translationcited by 114
  15. 2016Improved Image Captioning via Policy Gradient optimization of SPIDErcited by 112
  16. 2019Measuring Compositionality in Representation Learningcited by 84
  17. 2019Style Transformer: Unpaired Text Style Transfer without Disentangled Latent Representationcited by 84
  18. 2019Beyond BLEU: Training Neural Machine Translation with Semantic Similaritycited by 84
  19. 2020Improved Natural Language Generation via Loss Truncationcited by 75
  20. 2018A Study of Reinforcement Learning for Neural Machine Translationcited by 74
  21. 2020A Probabilistic Formulation of Unsupervised Text Style Transfercited by 70
  22. 2020Aligned Cross Entropy for Non-Autoregressive Machine Translationcited by 65
  23. 2019Fast Structured Decoding for Sequence Modelscited by 59
  24. 2019Non-Autoregressive Machine Translation with Auxiliary Regularizationcited by 52
  25. 2019Learning Data Manipulation for Augmentation and Weightingcited by 44
  26. 2019Minimizing the Bag-of-Ngrams Difference for Non-Autoregressive Neural Machine Translationcited by 40
  27. 2019Hint-Based Training for Non-Autoregressive Machine Translationcited by 28
  28. 2020Summarizing Text on Any Aspects: A Knowledge-Informed Weakly-Supervised Approachcited by 23
  29. 2021Sequence-Level Training for Non-Autoregressive Neural Machine Translationcited by 18
  30. 2018Structured Content Preservation for Unsupervised Text Style Transfercited by 10
  31. 2018Greedy Search with Probabilistic N-gram Matching for Neural Machine Translationcited by 9
  32. 2017Differentiable lower bound for expected BLEU scorecited by 6
  33. 2019Educating Text Autoencoders: Latent Representation Guidance via Denoisingcited by 3
  34. 2019Transfer Reward Learning for Policy Gradient-Based Text Generationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 5; 2023: 4; 2024: 5; 2025: 2; 2026: 1.

17 papers.

Sort:

By area: