paper-with-me

Papers

A Simple Contrastive Learning Objective for Alleviating Neural Text Degeneration

2022-05-05 · Shaojie Jiang, Ruqing Zhang, Svitlana Vakulenko, Maarten de Rijke

The cross-entropy objective has proved to be an all-purpose training objective for autoregressive language models (LMs). However, without considering the penalization of problematic tokens, LMs trained using cross-entropy exhibit text degeneration. To address this, unlikelihood training has been proposed to reduce the probability of unlikely tokens predicted by LMs. But unlikelihood does not consider the relationship between the label tokens and unlikely token candidates, thus showing marginal improvements in degeneration. We propose a new contrastive token learning objective that inherits the advantages of cross-entropy and unlikelihood training and avoids their limitations. The key idea is to teach a LM to generate high probabilities for label tokens and low probabilities of negative candidates. Comprehensive experiments on language modeling and open-domain dialogue generation tasks show that the proposed contrastive token objective yields much less repetitive texts, with a higher generation quality than baseline approaches, achieving the new state-of-the-art performance on text degeneration.

📄 PDF Abstract BibTeX arXiv:2205.02517

Code (1)

shaojiejiang/ct-loss 공식 구현 pytorch

Tasks

Contrastive LearningDialogue GenerationLanguage ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generation

2023-10-13 · Chenxu Yang, Zheng Lin, Lanrui Wang, Chong Tian 외

Knowledge-grounded dialogue generation aims to mitigate the issue of text degeneration by incorporating external knowledge to supplement the context. However, the model often fails to internalize this information into re…

Contrastive LearningDialogue Generation

PLReMix: Combating Noisy Labels with Pseudo-Label Relaxed Contrastive Representation Learning

2024-02-27 · Xiaoyu Liu, Beitong Zhou, Zuogong Yue, Cheng Cheng

Recently, the usage of Contrastive Representation Learning (CRL) as a pre-training technique improves the performance of learning with noisy labels (LNL) methods. However, instead of pre-training, when trivially combinin…

Learning with noisy labelsPseudo LabelRepresentation Learning

A Contrastive Framework for Neural Text Generation

2022-02-13 · Yixuan Su, Tian Lan, Yan Wang, Dani Yogatama 외

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…

DiversityText Generation

Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective

2023-09-21 · NeurIPS 2023 11

There are a number of diverging hypotheses about the neural text degeneration problem, i.e., generating repetitive and dull loops, which makes this problem both interesting and confusing. In this work, we aim to advance …

The Curious Case of Neural Text Degeneration

2019-04-22 · ICLR 2020 1 · Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes 외

Despite considerable advancements with deep neural language models, the enigma of neural text degeneration persists when these models are tested as text generators. The counter-intuitive empirical observation is that eve…

DiversityLanguage ModelingLanguage Modelling