Red Teaming Language Models for Processing Contradictory Dialogues

Xiaofei Wen, Bangzheng Li, Tenghao Huang, Muhao Chen
5/16/2024
cs.CLcs.AI

No official code found. Best implementation: luka-group/contraDialog (7 stars, last commit 2024-10-31).

Abstract

Most language models currently available are prone to self-contradiction during dialogues. To mitigate this issue, this study explores a novel contradictory dialogue processing task that aims to detect and modify contradictory statements in a conversation. This task is inspired by research on context faithfulness and dialogue comprehension, which have demonstrated that the detection and understanding of contradictions often necessitate detailed explanations. We develop a dataset comprising contradictory dialogues, in which one side of the conversation contradicts itself. Each dialogue is accompanied by an explanatory label that highlights the location and details of the contradiction. With this dataset, we present a Red Teaming framework for contradictory dialogue processing. The framework detects and attempts to explain the dialogue, then modifies the existing contradictory content using the explanation. Our experiments demonstrate that the framework improves the ability to detect contradictory dialogues and provides valid explanations. Additionally, it showcases distinct capabilities for modifying such dialogues. Our study highlights the importance of the logical inconsistency problem in conversational AI.

View on arXivView PDF

Code Implementations(1)

This repository is the official implementation of "Red Teaming Language Models for Processing Contradictory Dialogues"

70Shell, PythonSep 25, 20241 years ago

Cite this paper

@article{wen2024teaming,
  title  = {Red Teaming Language Models for Processing Contradictory Dialogues},
  author = {Xiaofei Wen and Bangzheng Li and Tenghao Huang and Muhao Chen},
  year   = {2024},
  eprint = {2405.10128},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.10128v3}
}

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/2405.10128.svg)](https://codeofpaper.com/paper/2405.10128)

Discussion