Research map / Large language models / Language, safety and interpretability
Improved Natural Language Generation via Loss Truncation
Daniel Kang, Tatsunori B. Hashimoto
Stanford University
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
8improved
2no clear effect
3hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| train with loss truncation instead of log loss (sample from full distribution) | LSTM seq2seq with attention · Gigaword | HUSE: 0.55 -> 0.58 | Improved |
| train with loss truncation instead of log loss | LSTM seq2seq · Gigaword | HUSE-Q: 0.58 -> 0.70 | Improved |
| train with loss truncation instead of log loss | LSTM seq2seq · Gigaword | HUSE-D: 0.98 -> 0.88 | Hurt |
| add sequence-level rejection sampling (alpha=0.1) to loss truncation | loss truncation · Gigaword | HUSE-Q: 0.70 -> 0.92 | Improved |
| add sequence-level rejection sampling (alpha=0.1) to loss truncation | loss truncation · Gigaword | HUSE: 0.58 -> 0.04 | Hurt |
| loss truncation with rejection sampling vs beam search on factuality | loss truncation · Gigaword | factuality rating: 3.51 -> 3.79 | Improved |
| loss truncation vs entropy-matched top-k/top-p on ROUGE-L | loss truncation · Gigaword | ROUGE-L: 22.8 -> 23.2 | Improved |
| loss truncation vs baseline on E2E | LSTM model · E2E NLG | BLEU: 0.64 -> 0.72 | Improved |
| vary the fraction c of dropped examples (0.6 to 0.9) (ablation) | loss truncation · Gigaword | ROUGE-L: 23.2 (c=0.6) -> 24.9 (c=0.8) | Improved |
| vary the fraction c of dropped examples (0.5 to 0.9) (ablation) | loss truncation · E2E NLG | BLEU: 0.69 (c=0.5) -> 0.72 (c=0.9) | No clear effect |
| add top-p=0.1 or top-k=2 decoding to loss-truncated model (ablation) | loss truncation · Gigaword | ROUGE-L: top-p 0.9 35.1 -> top-p 0.1 40.9 | Improved |
| use beam search on log-loss model instead of truncation + top-p=0.1 | log loss · Gigaword | ROUGE-L: 41.4 vs 40.9 | No clear effect |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Truncation Sampling as Language Model Desmoothing (EMNLP 2022 · similarity 0.89)
- Closing the Curious Case of Neural Text Degeneration (ICLR 2024 · similarity 0.89)
- Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Models (ICLR 2024 · similarity 0.88)
- Contrastive Error Attribution for Finetuned Language Models (ACL 2023 · similarity 0.87)
- Fewer Truncations Improve Language Modeling (ICML 2024 · similarity 0.87)
- On the Entropy Calibration of Language Models (NeurIPS 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.