Chain of Knowledge: A Framework for Grounding Large Language Models with Structured Knowledge Bases

Lidong Bing,Ruochen Zhao,Shafiq R. Joty,Xingxuan Li,Yew Ken Chia,Soujanya Poria,Bosheng Ding
DOI: https://doi.org/10.48550/arXiv.2305.13269
Abstract:We introduce Chain of Knowledge (CoK), a framework that augments large language models with structured knowledge bases to improve factual correctness and reduce hallucination. Compared to previous works which only retrieve unstructured texts, CoK leverages structured knowledge bases which support complex queries and offer more direct factual statements. To assist large language models to effectively query knowledge bases, we propose a query generator model with contrastive instruction-tuning. As the query generator is separate from the frozen large language model, our framework is modular and thus easily adapted to various knowledge sources and models. Experiments show that our framework significantly enhances the factual correctness of large language models on knowledge-intensive tasks. Our code is available at https://github.com/DAMO-NLP-SG/chain-of-knowledge.
Computer Science
What problem does this paper attempt to address?