SR-KI: Scalable and Real-Time Knowledge Integration into LLMs via Supervised Attention
9 Nov · Bohan Yu, Wei Huang, Kang Liu · arXiv:2511.06446
This paper proposes SR-KI, a novel approach for integrating real-time and large-scale structured knowledge bases (KBs) into large language models (LLMs). SR-KI begins by encoding KBs into key-value pairs using a pretrained encoder, and injects them into LLMs' KV cache. Building on this representation, we employ a two-stage training paradigm: first locating a dedicated retrieval layer within the LLM, and then…