Skip to content

Peter-Fy/CFMAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CFMAD

The implementation of our paper "Counterfactual Debating with Preset Stances for Hallucination Elimination of LLMs" (COLING 2025).

Introduction

  • We propose to preset various stances for LLMs, overriding their inherent biases and beliefs to address the overconfidence issue of LLMs.
  • We propose a CFMAD framework, which instructs LLMs to generate abduction with preset stances and then conduct counterfactual debate to eliminate incorrect answers.

Dataset

This repository uses data from the Hover, BoolQ, CosmosQA and CommenseQA datasets.

Setup

Obtain an OpenAI API key and save it to the environment variable OPENAI_API_KEY.

Citation

@inproceedings{cfmad,
  author       = {Yi Fang and
                  Moxin Li and
                  Wenjie Wang and
                  Lin Hui and
                  Fuli Feng},
  title        = {Counterfactual Debating with Preset Stances for Hallucination Elimination
                  of LLMs},
  booktitle    = {{COLING}},
  pages        = {10554--10568},
  publisher    = {Association for Computational Linguistics},
  year         = {2025}
}

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages