English

KARLA: Knowledge-base Augmented Retrieval for Language Models

Artificial Intelligence 2026-06-25 v1 Computation and Language

Abstract

We propose a new method that allows an LLM to automatically pull in factual knowledge from a knowledge base during token generation. This means that (1)~factual knowledge in the LLM output can be updated without retraining the LLM, (2)~facts in the LLM output can be traced to the knowledge base for transparency and explainability, and (3)~smaller models can achieve the same factual accuracy as larger models. Our core idea is to train the model to produce special tokens that trigger a query to the knowledge base. Our experiments show that our method improves factual grounding in both short and long-form generation, and allows factual revisions to take effect through KB edits rather than parameter updates.

Cite

@article{arxiv.2606.26807,
  title  = {KARLA: Knowledge-base Augmented Retrieval for Language Models},
  author = {Francois Crespin and Fabian M. Suchanek and Nils Holzenberger},
  journal= {arXiv preprint arXiv:2606.26807},
  year   = {2026}
}