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

Chenxu Yang, Zheng Lin, Lanrui Wang, Chong Tian, Liang Pang +4 more
10/13/2023
cs.CL

No confident code implementation found for this paper.

Abstract

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 responses in a human-like manner. Instead, it simply inserts segments of the provided knowledge into generic responses. As a result, the generated responses tend to be tedious, incoherent, and in lack of interactivity which means the degeneration problem is still unsolved. In this work, we first find that such copying-style degeneration is primarily due to the weak likelihood objective, which allows the model to "cheat" the objective by merely duplicating knowledge segments in a superficial pattern matching based on overlap. To overcome this challenge, we then propose a Multi-level Adaptive Contrastive Learning (MACL) framework that dynamically samples negative examples and subsequently penalizes degeneration behaviors at both the token-level and sequence-level. Extensive experiments on the WoW dataset demonstrate the effectiveness of our approach across various pre-trained models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2023multilevel,
  title  = {Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generation},
  author = {Chenxu Yang and Zheng Lin and Lanrui Wang and Chong Tian and Liang Pang and Jiangnan Li and Qirong Ho and Yanan Cao and Weiping Wang},
  year   = {2023},
  eprint = {2310.08943},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.08943v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.08943.svg)](https://codeofpaper.com/paper/2310.08943)

Discussion