Reproduce “Neural Text Generation with Unlikelihood Training” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Sean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan, Kyunghyun Cho, Jason Weston

Researchers from New York University and Facebook AI Research introduced unlikelihood training to mitigate neural text degeneration, enabling models to generate less repetitive and more diverse text even with deterministic decoding. This training approach achieved up to a 97% reduction in 4-gram repetitions and was significantly preferred by human evaluators over existing decoding methods.

Key insights

  • The maximum likelihood objective itself is a fundamental cause of neural text degeneration, not merely a problem of decoding strategies.
  • By modifying the training objective to explicitly disfavor repetitive or common tokens, models can learn more robust internal probability distributions.
  • Unlikelihood training allows for high-quality text generation using standard, deterministic decoding methods (greedy or beam search), making it a fundamental fix rather than a post-hoc adjustment.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.