English

The CRINGE Loss: Learning what language not to model

Computation and Language 2022-11-14 v1 Artificial Intelligence

Abstract

Standard language model training employs gold human documents or human-human interaction data, and treats all training data as positive examples. Growing evidence shows that even with very large amounts of positive training data, issues remain that can be alleviated with relatively small amounts of negative data -- examples of what the model should not do. In this work, we propose a novel procedure to train with such data called the CRINGE loss (ContRastive Iterative Negative GEneration). We show the effectiveness of this approach across three different experiments on the tasks of safe generation, contradiction avoidance, and open-domain dialogue. Our models outperform multiple strong baselines and are conceptually simple, easy to train and implement.

Keywords

Cite

@article{arxiv.2211.05826,
  title  = {The CRINGE Loss: Learning what language not to model},
  author = {Leonard Adolphs and Tianyu Gao and Jing Xu and Kurt Shuster and Sainbayar Sukhbaatar and Jason Weston},
  journal= {arXiv preprint arXiv:2211.05826},
  year   = {2022}
}
R2 v1 2026-06-28T05:37:53.500Z