Chain Of Verification: Definition and Examples
Prompting technique where the model is asked to generate an initial response, then produce verification questions about that response, answer them independently, and finally revise its original answer accordingly.
Full definition
Chain of Verification (CoVe) is a structured method designed to reduce hallucinations in language models. The principle is simple yet powerful: rather than blindly trusting an initial response, the model is guided through a systematic self-verification process in multiple steps.
The process unfolds in four phases. First, the model generates an initial response (baseline response). Next, it formulates verification questions targeting the factual claims contained in its response. Then, it answers each of these questions independently, without being influenced by its initial response. Finally, it compares the results of this verification with its original answer and produces a revised version, correcting any detected inconsistencies.
This approach leverages an important empirical finding: language models are often more reliable when answering short, targeted questions than when generating long, complex responses. By breaking down verification into micro-questions, the risk of factual errors and hallucinations is significantly reduced.
Introduced by researchers at Meta AI in 2023, Chain of Verification belongs to the family of chain-of-thought reasoning techniques but distinguishes itself by its specific focus on factual reliability rather than logical reasoning. It is particularly useful in contexts where information accuracy is critical.
Etymology
The term combines "Chain", evoking the sequence of linked steps, and "Verification", highlighting the goal of self-checking. The concept was formalized by Dhuliawala et al. in their research paper at Meta AI in 2023, drawing inspiration from chain-of-thought prompting methods while orienting them towards reducing hallucinations.
Concrete examples
Verifying historical facts in a long response
Step 1: List the 5 major events of the French Revolution with their dates.
Step 2: For each event and date mentioned, formulate a verification question.
Step 3: Answer each verification question independently.
Step 4: Compare your verifications with your initial answer and correct any errors.
Making a technical research more reliable
Answer this question: What are the differences between REST and GraphQL?
Now, identify 4 verifiable claims in your answer and formulate a question for each. Answer these questions separately, then revise your initial answer if necessary.
Writing an article with built-in verification
Write a paragraph about the benefits of intermittent fasting. Then, list each health claim you made, verify each individually, and rewrite the paragraph by removing or correcting any questionable claim.
Practical usage
To apply Chain of Verification, structure your prompt into four distinct blocks: generation, creation of verification questions, independent answers, and final revision. The key step is to ensure that verifications are performed in isolation to avoid confirmation bias. This technique is especially recommended for any factual content intended for publication or sharing.
Related concepts
FAQ
What is the difference between Chain of Verification and Chain of Thought?
Does Chain of Verification completely eliminate hallucinations?
Does this technique work with all language models?
See also
How to use this prompt
- Copy the prompt with the button above.
- Paste it into ChatGPT, Claude or your favorite AI assistant.
- Replace the bracketed variables with your details, then refine the result.
About Prompt Guide
Prompt Guide is a free library of 2500+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.
More definitions
Chatbot: Definition and Examples
A chatbot is a computer program capable of simulating a conversation with a human user, typically through a text-based interface. It can be
Chinchilla Optimal: Definition and Examples
Training principle for large language models stating that model size and training data quantity should scale proportionally
ChromaDB: Definition and Examples
ChromaDB is an open source vector database designed to store, index, and search embeddings, making it easy to build AI applications
Claude 3: Definition and Examples
Claude 3 is a family of language models developed by Anthropic, launched in March 2024, comprising three variants (Haiku, Sonnet, and Opus) offering different
Code Completion: Definition and Examples
Code completion is an AI-powered feature that automatically suggests code as the developer types, predicting lines, functions
Code Generation: Definition and Examples
Code generation enables producing source code from natural language instructions. Discover how ChatGPT, Claude, and Copilot write code.
Get new prompts every week
Join our newsletter.