Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Chain-of-Knowledge: Grounding Large Language Models via Dynamic Knowledge Adapting over Heterogeneous Sources

About

We present chain-of-knowledge (CoK), a novel framework that augments large language models (LLMs) by dynamically incorporating grounding information from heterogeneous sources. It results in more factual rationales and reduced hallucination in generation. Specifically, CoK consists of three stages: reasoning preparation, dynamic knowledge adapting, and answer consolidation. Given a knowledge-intensive question, CoK first prepares several preliminary rationales and answers while identifying the relevant knowledge domains. If there is no majority consensus among the answers from samples, CoK corrects the rationales step by step by adapting knowledge from the identified domains. These corrected rationales can plausibly serve as a better foundation for the final answer consolidation. Unlike prior studies that primarily use unstructured data, CoK also leverages structured knowledge sources such as Wikidata and tables that provide more reliable factual information. To access both unstructured and structured knowledge sources in the dynamic knowledge adapting stage, we propose an adaptive query generator that allows the generation of queries for various types of query languages, including SPARQL, SQL, and natural sentences. Moreover, to minimize error propagation between rationales, CoK corrects the rationales progressively using preceding corrected rationales to generate and correct subsequent rationales. Extensive experiments show that CoK consistently improves the performance of LLMs on knowledge-intensive tasks across different domains.

Xingxuan Li, Ruochen Zhao, Yew Ken Chia, Bosheng Ding, Shafiq Joty, Soujanya Poria, Lidong Bing• 2023

Related benchmarks

TaskDatasetResultRank
Question AnsweringTAT-QA
EM26.6
11
Question AnsweringBLENDQA
F1 Score38.6
10
Question AnsweringCOMPLEXTR
F1 Score40
10
IntersectionBioMedHop
MCQ Accuracy65.8
9
Overall PerformanceBioMedHop
Overall Average Score42.1
9
Path CountingBioMedHop
CountEx21.2
9
Path ReasoningBioMedHop
MCQ Accuracy55.4
9
Entity PairBioMedHop
MCQ Accuracy65.4
9
Entity Pair ReasoningBioMedHop
Semantic Answer Correctness47
7
Intersection ReasoningBioMedHop
Semantic Answer Correctness44
7
Showing 10 of 12 rows

Other info

Follow for update