Reproduce “Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Niels Mündler, Jingxuan He, Slobodan Jenko, Martin Vechev

Researchers at ETH Zurich developed a prompting-based framework to evaluate, detect, and mitigate self-contradictory hallucinations in large language models. The method demonstrates that LLMs like GPT-4 and ChatGPT can be prompted to effectively identify and remove internal inconsistencies from their own outputs, significantly improving factual consistency while preserving text quality.

Key insights

  • Self-contradictions represent a distinct and common type of hallucination in LLMs, often occurring within outputs that cannot be verified by external knowledge sources.
  • Modern LLMs possess sufficient logical reasoning capabilities to detect and mitigate their own internal contradictions through carefully crafted prompting, without requiring external tools.
  • Addressing self-contradictions provides a crucial internal consistency check that complements retrieval-augmented generation (RAG) systems, which primarily rely on external knowledge.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.