Make LLM reasoning cite short knowledge triples and verify them to reduce hallucination

June 10, 20236 min

Overview

Decision SnapshotReady For Pilot

The method is a practical prompt-level change: add triples, verify with KBs and re-inject. It improves accuracy modestly but needs KB access and extra API calls.

Citations4

Evidence Strength0.80

Confidence0.80

Risk Signals9

Trust Signals

Findings with numeric evidence: 3/3

Findings with evidence refs: 3/3

Results with explicit delta: 3/3

Reproducibility

Status: Code + data available

Open source: Partial

At A Glance

Cost impact: 30%

Production readiness: 60%

Novelty: 55%

Authors

Jianing Wang, Qiushi Sun, Xiang Li, Ming Gao

Links

Abstract / PDF / Code / Data

Why It Matters For Business

CoK makes LLM outputs more checkable and reduces hallucination by forcing explicit evidence and automated verification, which improves trust for QA and decision tasks using LLM APIs.

Who Should Care

Summary TLDR

The paper introduces Chain-of-Knowledge (CoK) prompting: in-context examples that pair short structured evidence triples (subject, relation, object) with explanation hints to steer language models toward explicit, verifiable reasoning. They add F2-Verification, which scores factuality (match to knowledge bases) and faithfulness (consistency between triples and explanations) and a small rethinking loop that injects corrected triples when scores fall below a threshold. Across commonsense, factual, symbolic and arithmetic QA benchmarks, CoK improves accuracy versus standard Chain-of-Thought (CoT) and combining CoK with self-consistency and F2-Verification gives further gains. Code and prompts/K

Problem Statement

Chain-of-Thought prompts make LLMs show step-by-step rationales but those rationales often hallucinate or are unfaithful. The paper asks: can we force models to produce explicit, checkable knowledge pieces and then verify and correct them to make final answers more factual and faithful?

Main Contribution

Chain-of-Knowledge (CoK) prompting: in-context exemplars that include evidence triples plus explanation hints to prompt explicit, structured evidence.

F2-Verification: a two-part verifier that scores factuality (triple vs KB) and faithfulness (explanation vs triples) to rate reasoning chains.

Key Findings

CoK improves reasoning accuracy over CoT on commonsense benchmarks.

NumbersCSQA +2.8pp (76.579.3) gpt-3.5-turbo (Table 1)

Practical UseAdd structured evidence triples to few-shot prompts to get a few percentage points better accuracy on commonsense QA.

Evidence RefTable 1

F2-Verification plus CoK further boosts accuracy and can approach fine-tuning levels on some tasks.

NumbersCoK+F2-V near fine-tuned score on StrategyQA/ARC-c (Table 1)

Practical UseRun a post-generation verification step that matches triples to KBs and checks explanation-triple consistency to reduce hallucinated answers.

Evidence RefTable 1

Results

MetricValueBaselineDeltaSplit / DatasetEvidenceEvidence Ref
Accuracy79.3%Manual CoT 76.5%+2.8ppCSQA validation/test (as Table 1)Table 1 reports CoK+SC+F2-V 79.3 vs Manual CoT 76.5Table 1
Accuracy66.6%Manual CoT 62.6%+4.0ppStrategyQA (open-domain setting)Table 1 reports CoK+SC+F2-V 66.6 vs Manual CoT 62.6Table 1

What To Try In 7 Days

Add a short evidence-triples section to your few-shot prompts (subject, relation, object).

Attach a simple verifier: exact KB lookup plus a similarity check (SimCSE) between explanation and triples.

Run 1–3 rethinking passes: if verification fails, inject corrected triples from KB and regenerate answers.

Reproducibility

Code AvailableYes
Data AvailableYes
Open Source StatusPartial
LicenseUnknown

Data URLs

CommonsenseQA, StrategyQA, OpenBookQA, ARC-c, BoolQ, GSM8K, SVAMP, AQuA, MultiArith, Last Letter, Coin Flip (public datasets listed in paper)KBs: Wiktionary, ConceptNet, Wikidata5M, ATOMIC, GLUCOSE, ASER, CausalBank

Risks & Boundaries

Limitations

Dependence on external KB coverage—missing facts limit verification.

Extra API calls and KB lookups increase latency and cost compared to vanilla CoT.

When Not To Use

Low-latency or low-cost settings where extra KB lookups and re-prompts are unacceptable.

Tasks with no useful external KB (some math/formula tasks where KBs don't apply).

Failure Modes

Over-injection: injecting irrelevant KB triples when threshold is too low can reduce accuracy (~2% observed).

Incorrect KB entries or misaligned KB schema can mislead verification and correction.

Core Entities

Models

gpt-3.5-turbotext-davinci-002gpt-4

Metrics

Accuracy

Datasets

CSQAStrategyQAOpenBookQAARC-cBoolQSports (BIG-Bench)GSM8KSVAMPAQuAMultiArithLast Letter ConcatenationCoin Flip

Benchmarks

commonsense reasoningfactual reasoningsymbolic reasoningarithmetic reasoning