Infusing Knowledge into Large Language Models with Contextual Prompts

Kinshuk Vasisht, Balaji Ganesan, Vikas Kumar, Vasudha Bhatnagar
3/3/2024
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Knowledge infusion is a promising method for enhancing Large Language Models for domain-specific NLP tasks rather than pre-training models over large data from scratch. These augmented LLMs typically depend on additional pre-training or knowledge prompts from an existing knowledge graph, which is impractical in many applications. In contrast, knowledge infusion directly from relevant documents is more generalisable and alleviates the need for structured knowledge graphs while also being useful for entities that are usually not found in any knowledge graph. With this motivation, we propose a simple yet generalisable approach for knowledge infusion by generating prompts from the context in the input text. Our experiments show the effectiveness of our approach which we evaluate by probing the fine-tuned LLMs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vasisht2024infusing,
  title  = {Infusing Knowledge into Large Language Models with Contextual Prompts},
  author = {Kinshuk Vasisht and Balaji Ganesan and Vikas Kumar and Vasudha Bhatnagar},
  year   = {2024},
  eprint = {2403.01481},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.01481v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.01481.svg)](https://codeofpaper.com/paper/2403.01481)

Discussion