[Paper Review] Improved Natural Language Generation via Loss Truncation
This paper proposes loss truncation, a robust training method that improves natural language generation by adaptively removing high-log-loss examples during training to optimize for distinguishability, leading to more faithful and factually accurate text generation. It outperforms standard log loss baselines in both distinguishability and factual accuracy on summarization tasks.
Neural language models are usually trained to match the distributional properties of a large-scale corpus by minimizing the log loss. While straightforward to optimize, this approach forces the model to reproduce all variations in the dataset, including noisy and invalid references (e.g., misannotation and hallucinated facts). Worse, the commonly used log loss is overly sensitive to such phenomena and even a small fraction of noisy data can degrade performance. In this work, we show that the distinguishability of the models and reference serves as a principled and robust alternative for handling invalid references. To optimize distinguishability, we propose loss truncation, which adaptively removes high loss examples during training. We show this is as easy to optimize as log loss and tightly bounds distinguishability under noise. Empirically, we demonstrate that loss truncation outperforms existing baselines on distinguishability on a summarization task, and show that samples generated by the loss truncation model have factual accuracy ratings that exceed those of baselines and match human references.
Motivation & Objective
- To address the brittleness of standard log loss training in neural language models when faced with noisy or invalid references in training data.
- To develop a scalable, efficient alternative to log loss that improves model robustness and generation quality.
- To optimize for distinguishability between model-generated and human reference text, ensuring higher-quality outputs.
- To demonstrate that loss truncation enables better factual consistency in summarization without relying on task-specific loss modifications.
Proposed method
- Loss truncation modifies standard log loss by adaptively removing examples with high log loss during training, effectively filtering out noisy or invalid references.
- The method uses a truncation threshold that dynamically adjusts based on the distribution of log loss values across the training batch.
- It provides an upper bound on distinguishability, ensuring that the model's output becomes increasingly indistinguishable from human references.
- A sequence-level rejection sampling scheme is introduced to further improve output quality by restricting generation to high-probability sequences.
- The approach is compatible with standard decoding strategies (e.g., beam search, top-k, top-p) and can be combined with existing decoders.
- The method is computationally efficient and scalable, making it suitable for large-scale language modeling.
Experimental results
Research questions
- RQ1Can a modified training objective improve the robustness of neural language models to noisy and invalid references in training data?
- RQ2Does optimizing for distinguishability—rather than log loss—lead to higher-quality, more faithful text generation?
- RQ3Can a simple, scalable modification to log loss achieve performance comparable to principled distinguishability optimization?
- RQ4Does loss truncation improve factual accuracy in abstractive summarization compared to standard log loss baselines?
Key findings
- Loss truncation significantly outperforms standard log loss baselines (including beam search, top-k, top-p, and full sampling) on the HUSE score, a metric for distinguishability.
- The model trained with loss truncation achieves factual accuracy in summarization that exceeds all baselines and matches human reference quality.
- Rejection sampling with loss truncation further improves output quality, surpassing even beam search in factual consistency.
- The method is robust to noisy references and reduces the impact of hallucinated or misannotated training examples.
- Loss truncation provides a practical, scalable alternative to GAN-based distinguishability optimization, which is difficult to train in text generation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.