A Contrastive Framework for Neural Text Generation

By Yixuan Su, Tian Lan, Yan Wang, Dani Yogatama, Lingpeng Kong, Nigel Collier. Neural Information Processing Systems, 2022

334 citations recorded by the source corpus.

Text generation is of great importance to many natural language processing applications. However, maximization-based decoding methods (e.g. beam search) of neural language models often lead to degenerate solutions -- the generated text is unnatural and contains undesirable repetitions. Existing approaches introduce stochasticity via sampling or modify training objectives to decrease probabilities of certain tokens (e.g., unlikelihood training). However, they often lead to solutions that lack coherence. In this work, we show that an underlying reason for model degeneration is the anisotropic distribution of token representations. We present a contrastive solution: (i) SimCTG, a contrastive training objective to calibrate the model's representation space, and (ii) a decoding method -- contrastive search -- to encourage diversity while maintaining coherence in the generated text. Extensive experiments and analyses on three benchmarks from two languages demonstrate that our proposed approach significantly outperforms current state-of-the-art text generation methods as evaluated by both human and automatic metrics.

Subfields: Artificial Intelligence

View Paper: https://www.semanticscholar.org/paper/c1ffa773f29e567e13b00495767f8c42e2bb44b2

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yejin Choi
  2. Luke S. Zettlemoyer
  3. Noah A. Smith
  4. Mohit Bansal
  5. Percy Liang
  6. Hannaneh Hajishirzi
  7. Jianfeng Gao
  8. Graham Neubig

Citations in the corpus