HASKI: Hallucination-Aware Agentic Self-Adaptive Knowledge Injection via Reinforcement Learning in Large Language Models
Date
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
Large Language Models have demonstrated strong capabilities in reasoning and natural language generation, but remain prone to factual inaccuracies, particularly in knowledge-intensive tasks. While retrieval-augmented generation (RAG) improves factual grounding by incorporating external knowledge, existing approaches typically rely on sequential pipelines that introduce additional latency. Moreover, prior work largely focuses on what knowledge to retrieve, while overlooking the importance of when to integrate it during the reasoning process.
This thesis propose an interactive knowledge injection framework that enables dynamic and timely integration of external knowledge into LLM reasoning. The proposed approach decouples retrieval from generation and executes both processes in parallel, allowing knowledge to be incorporated without blocking inference. To determine optimal injection timing, this thesis formulate knowledge integration as a sequential decision-making problem and introduce an Injection Policy Model (IPM), trained using reinforcement learning, to adaptively decide when external knowledge should be injected.
Experimental results show that naive knowledge injection can disrupt reasoning and underperform compared to retrieval-before-generation baselines. In contrast, learned injection policy significantly improves answer accuracy by avoiding poorly timed interventions. Furthermore, the parallel design maintains runtime comparable to standard chain-of-thought generation and outperforms sequential retrieval methods in latency, particularly under high retrieval cost scenarios.
Overall, our results demonstrate that both knowledge quality and injection timing are critical for effective integration. The proposed framework achieves a favorable balance between accuracy and efficiency, making it well-suited for real-time and knowledge-intensive applications.