Abstract
Small-scale Large Language Models (LLMs) often struggle with commonsense reasoning due to hallucinations or difficulty accessing latent knowledge. We present GuideKG, a framework that enhances the reasoning capabilities of models under 10B parameters. GuideKG utilizes a specialized "Know-Filter" to identify high-utility internal knowledge fragments and a sentence-level fusion mechanism to construct optimal reasoning contexts. Our approach allows smaller models to outperform significantly larger baselines on complex benchmarks like CommonsenseQA without requiring human-annotated data.
Introduction
While massive models like GPT-4 demonstrate robust commonsense reasoning, smaller LLMs (e.g., 7B parameters) frequently fail to retrieve or correctly apply internal knowledge. Common strategies such as Chain-of-Thought (CoT) can propagate factual errors, and Retrieval-Augmented Generation (RAG) is limited by the scope of external databases. GuideKG addresses these limitations by eliciting and filtering a model's own latent knowledge, bridging the gap between what a model "knows" and how it reasons.
Methodology
The GuideKG framework consists of three primary components designed to extract the most useful information from a model's internal parameters.
Automatic Utility Annotation
Instead of relying on human labels, GuideKG uses the LLM to generate multiple knowledge candidates. Each fragment is assigned a "utility score" based on its contribution to reaching the correct answer. This identifies "lucky" samples—high-quality information generated occasionally despite a high overall error rate.
The Know-Filter
A compact auxiliary model (based on MonoT5) acts as a gatekeeper. It is trained using a Utility-Weighted Classification Loss (UWC loss), which aligns the filter's selection criteria with the primary model's actual confidence levels. This ensures that only the most relevant and accurate knowledge fragments are passed forward.
Sentence-Level Fusion Generation (SLFG)
To maintain precise control, GuideKG operates at the sentence level rather than the paragraph level. The Know-Filter selects the best individual sentences, which are then fused to form a "guided context." This iterative process prevents the model from drifting off-track during complex reasoning tasks.
Experimental Results
We evaluated GuideKG on four benchmarks: CommonsenseQA (CSQA), StrategyQA (SQA), CommonsenseQA2 (CSQA2), and ARC-Challenge.
Performance Gains
GuideKG consistently outperformed standard baselines. On CSQA, using a Vicuna-7B model, GuideKG achieved 70.8% accuracy, compared to 62.2% for standard Self-Consistency (SC). The framework also scaled effectively to Vicuna-13B, reaching 72.9% accuracy.
Ablation Studies
Ablation tests confirmed that both the Know-Filter and the UWC loss are critical. Removing these components led to a sharp decline in performance, highlighting the necessity of guided selection over raw knowledge elicitation.
Discussion and Conclusion
GuideKG demonstrates that small LLMs possess significant latent knowledge that can be unlocked through intelligent filtering and fusion. While the iterative nature of the framework increases computational cost compared to greedy inference, the performance gains justify the overhead for complex reasoning tasks. Future work will focus on optimizing decoding latency and improving the filter's generalization across diverse domains such as advanced science.
Summary updated