Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Feng, Shangbin, Shi, Weijia, Bai, Yuyang, Balachandran, Vidhisha, He, Tianxing, Tsvetkov, Yulia
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909145609797632
author Feng, Shangbin
Shi, Weijia
Bai, Yuyang
Balachandran, Vidhisha
He, Tianxing
Tsvetkov, Yulia
author_facet Feng, Shangbin
Shi, Weijia
Bai, Yuyang
Balachandran, Vidhisha
He, Tianxing
Tsvetkov, Yulia
contents By design, large language models (LLMs) are static general-purpose models, expensive to retrain or update frequently. As they are increasingly adopted for knowledge-intensive tasks, it becomes evident that these design choices lead to failures to generate factual, relevant, and up-to-date knowledge. To this end, we propose Knowledge Card, a modular framework to plug in new factual and relevant knowledge into general-purpose LLMs. We first introduce knowledge cards -- specialized language models trained on corpora from specific domains and sources. Knowledge cards serve as parametric repositories that are selected at inference time to generate background knowledge for the base LLM. We then propose three content selectors to dynamically select and retain information in documents generated by knowledge cards, specifically controlling for relevance, brevity, and factuality of outputs. Finally, we propose two complementary integration approaches to augment the base LLM with the (relevant, factual) knowledge curated from the specialized LMs. Through extensive experiments, we demonstrate that Knowledge Card achieves state-of-the-art performance on six benchmark datasets. Ultimately, Knowledge Card framework enables dynamic synthesis and updates of knowledge from diverse domains. Its modularity will ensure that relevant knowledge can be continuously updated through the collective efforts of the research community.
format Preprint
id arxiv_https___arxiv_org_abs_2305_09955
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Models
Feng, Shangbin
Shi, Weijia
Bai, Yuyang
Balachandran, Vidhisha
He, Tianxing
Tsvetkov, Yulia
Computation and Language
By design, large language models (LLMs) are static general-purpose models, expensive to retrain or update frequently. As they are increasingly adopted for knowledge-intensive tasks, it becomes evident that these design choices lead to failures to generate factual, relevant, and up-to-date knowledge. To this end, we propose Knowledge Card, a modular framework to plug in new factual and relevant knowledge into general-purpose LLMs. We first introduce knowledge cards -- specialized language models trained on corpora from specific domains and sources. Knowledge cards serve as parametric repositories that are selected at inference time to generate background knowledge for the base LLM. We then propose three content selectors to dynamically select and retain information in documents generated by knowledge cards, specifically controlling for relevance, brevity, and factuality of outputs. Finally, we propose two complementary integration approaches to augment the base LLM with the (relevant, factual) knowledge curated from the specialized LMs. Through extensive experiments, we demonstrate that Knowledge Card achieves state-of-the-art performance on six benchmark datasets. Ultimately, Knowledge Card framework enables dynamic synthesis and updates of knowledge from diverse domains. Its modularity will ensure that relevant knowledge can be continuously updated through the collective efforts of the research community.
title Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Models
topic Computation and Language
url https://arxiv.org/abs/2305.09955