Structural Entropy Guided Agent for Detecting and Repairing Knowledge Deficiencies in LLMs
Yifan Wei, Xiaoyan Yu, Tengfei Pan, Angsheng Li, Li Du
TL;DR
SENATOR tackles knowledge deficiencies in domain-specific LLMs by coupling Structure Entropy with a knowledge-graph–driven MCTS to identify uncertain knowledge paths. It then synthesizes targeted QA data along these paths to perform supervised fine-tuning, achieving notable gains on medical benchmarks for Llama-3-8B and Qwen2-7B with relatively small synthetic datasets. The approach demonstrates expanded coverage beyond pretraining data and exhibits model- and domain-specific deficiency patterns, suggesting synthetic, deficiency-targeted data as an efficient fuel for continual LLM improvement. This work highlights practical impact for high-stakes domains by improving factual accuracy while outlining avenues for data quality, KG dependency, and scaling considerations.
Abstract
Large language models (LLMs) have achieved unprecedented performance by leveraging vast pretraining corpora, yet their performance remains suboptimal in knowledge-intensive domains such as medicine and scientific research, where high factual precision is required. While synthetic data provides a promising avenue for augmenting domain knowledge, existing methods frequently generate redundant samples that do not align with the model's true knowledge gaps. To overcome this limitation, we propose a novel Structural Entropy-guided Knowledge Navigator (SENATOR) framework that addresses the intrinsic knowledge deficiencies of LLMs. Our approach employs the Structure Entropy (SE) metric to quantify uncertainty along knowledge graph paths and leverages Monte Carlo Tree Search (MCTS) to selectively explore regions where the model lacks domain-specific knowledge. Guided by these insights, the framework generates targeted synthetic data for supervised fine-tuning, enabling continuous self-improvement. Experimental results on LLaMA-3 and Qwen2 across multiple domain-specific benchmarks show that SENATOR effectively detects and repairs knowledge deficiencies, achieving notable performance improvements. The code and data for our methods and experiments are available at https://github.com/weiyifan1023/senator.
