atlas

Research map / Large language models / Retrieval and knowledge

Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigation

ICLR 2024 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 47 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Studies self-contradictions in instruction-tuned LM open-domain generation and proposes a prompting-only pipeline (trigger, detect, iteratively mitigate) that works on black-box models without retrieval.

Problem

Instruction-tuned LMs produce hallucinations in the form of self-contradictory sentence pairs within the same context; there is no black-box method to detect and mitigate these without external retrieval or many samples.

Approach

Self-contradiction reveals non-factuality because two contradicting sentences cannot both be correct; the framework triggers contradictions by generating a second sentence under a constrained context (entity, prefix, partial relation triple), detects them with chain-of-thought prompting, and iteratively revises sentences locally to remove the conflicting information.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the proposed context-constrained trigger prompt instead of Continue, Rephrase, or Q&A (ablation)ChatGPT sentence-pair generation on MainTestSet · MainTestSet (ChatGPT-generated text)Self-contradictions triggered: 5.1%, 0.2%, and 10.3% -> 17.7%Helped
Use the proposed context-constrained trigger prompt instead of Continue, Rephrase, or Q&A (ablation)ChatGPT sentence-pair generation on MainTestSet · MainTestSet (ChatGPT-generated text)Detection precision: 76.8%, 33.3%, and 81.9% -> 84.2%Helped
Use two-turn chain-of-thought detection instead of Directly ask or Step-by-step (ablation)ChatGPT detector · MainTestSetDetection F1: 73.1%, 67.4% -> 83.7%Helped
Use multi-path reasoning instead of the proposed detection prompt (ablation)ChatGPT detector · MainTestSetDetection F1: 83.7% -> 82.0%Hurt
Iterate mitigation and remove remaining predicted-contradictory sentences at the end, rather than naively dropping all at the beginning (ablation)ChatGPT mitigation · MainTestSet (ChatGPT-generated text)Informative facts retained: 89.4% -> 100.8%Helped
Iterate mitigation and remove remaining predicted-contradictory sentences at the end, rather than naively dropping all at the beginning (ablation)ChatGPT mitigation · MainTestSet (ChatGPT-generated text)Perplexity increased: 0.72 -> 0.44Helped
Use GPT-4 rather than ChatGPT as the analyzer modelDetector for ChatGPT-generated sentence pairs · MainTestSetDetection F1: 83.7% -> 86.5%Helped
Use Llama2-70B-Chat rather than ChatGPT as the analyzer modelDetector for ChatGPT-generated sentence pairs · MainTestSetDetection F1: 83.7% -> 61.9%Hurt
Use Vicuna-13B rather than ChatGPT as the analyzer modelDetector for ChatGPT-generated sentence pairs · MainTestSetDetection F1: 83.7% -> 39.3%Hurt
Use retrieval augmentation for question answering instead of vanilla generationChatGPT question answering with ChatProtect detection · PopQASelf-contradictions predicted: 18.2% -> 12.7%; 83.2% -> 83.8% precisionMixed
Vary aLM detection temperature from 0 to 1 (ablation)ChatGPT detector · MainTestSetDetection F1: 84.0%, 83.9%, 83.6%, 81.8%, 83.7%No clear effect
Vary gLM text-generation temperature from 0 to 1 (ablation)ChatGPT trigger and detector · MainTestSetDetection precision: 84.1%, 81.3%, 79.2%, 83.3%, 83.4%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: WikiBio PopQA

Benchmarks: MainTestSet 2ndTestSet PopQA

Metrics: precision recall F1 self-contradictions removed informative facts retained perplexity increase

Baselines: SelfCheckGPT (unigram, BERTScore, MQAG) Directly ask Step-by-step reasoning Multi-path reasoning Continue Rephrase Q&A Naively drop

Builds on: chain-of-thought prompting CompactIE SelfCheckGPT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy