Counterfactual Debating with Preset Stances for Hallucination Elimination of LLMs

Yi Fang, Moxin Li, Wenjie Wang, Hui Lin, Fuli Feng
6/17/2024
cs.CL

No official code found. Best implementation: Peter-Fy/CFMAD (1 star, last commit 2025-02-09).

Abstract

Large Language Models (LLMs) excel in various natural language processing tasks but struggle with hallucination issues. Existing solutions have considered utilizing LLMs' inherent reasoning abilities to alleviate hallucination, such as self-correction and diverse sampling methods. However, these methods often overtrust LLMs' initial answers due to inherent biases. The key to alleviating this issue lies in overriding LLMs' inherent biases for answer inspection. To this end, we propose a CounterFactual Multi-Agent Debate (CFMAD) framework. CFMAD presets the stances of LLMs to override their inherent biases by compelling LLMs to generate justifications for a predetermined answer's correctness. The LLMs with different predetermined stances are engaged with a skeptical critic for counterfactual debate on the rationality of generated justifications. Finally, the debate process is evaluated by a third-party judge to determine the final answer. Extensive experiments on four datasets of three tasks demonstrate the superiority of CFMAD over existing methods.

View on arXivView PDF

Code Implementations(1)

Peter-Fy/CFMADCommunity100%

[COLING 2025] Official implementation of paper "Counterfactual Debating with Preset Stances for Hallucination Elimination of LLMs"

11PythonDec 15, 20241 years ago

Cite this paper

@article{fang2024counterfactual,
  title  = {Counterfactual Debating with Preset Stances for Hallucination Elimination of LLMs},
  author = {Yi Fang and Moxin Li and Wenjie Wang and Hui Lin and Fuli Feng},
  year   = {2024},
  eprint = {2406.11514},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.11514v2}
}

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

Discussion