A Contrastive Framework for Neural Text Generation
Su, Yixuan, Lan, Tian, Wang, Yan, Yogatama, Dani, Kong, Lingpeng, Collier, Nigel
–arXiv.org Artificial Intelligence
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 the 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.
arXiv.org Artificial Intelligence
Sep-26-2022
- Country:
- South America > Peru (0.04)
- Oceania > Australia
- Victoria > Melbourne (0.04)
- Queensland > Brisbane (0.04)
- North America
- Mexico (0.14)
- Central America (0.14)
- Dominican Republic (0.04)
- Puerto Rico (0.04)
- United States
- New York (0.04)
- Michigan (0.04)
- California
- Los Angeles County > Long Beach (0.14)
- San Diego County > San Diego (0.04)
- Canada
- Quebec > Montreal (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Europe
- Austria (0.04)
- Germany > Berlin (0.04)
- North Sea (0.04)
- France (0.04)
- Isle of Man (0.04)
- Italy > Tuscany
- Florence (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- United Kingdom
- Scotland > Aberdeenshire (0.04)
- England
- Isle of Wight (0.04)
- Cornwall > Isles of Scilly (0.04)
- Cambridgeshire > Cambridge (0.04)
- Atlantic Ocean
- North Atlantic Ocean > North Sea (0.04)
- Gulf of Mexico (0.04)
- Asia
- Taiwan > Taiwan Province
- Taipei (0.04)
- China
- Hong Kong (0.04)
- Henan Province > Zhengzhou (0.04)
- Taiwan > Taiwan Province
- Africa > Ethiopia
- Addis Ababa > Addis Ababa (0.04)
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Technology: