TL;DR
Large Language Models (LLMs) often fail to use the knowledge they actually possess to answer questions correctly—a glitch known as the "known&incorrect" phenomenon. This paper introduces KALE (Knowledge-Aware LEarning), a post-training framework that uses knowledge graphs to synthesize multi-hop reasoning paths and aligns the model's internal probability distributions using KL divergence. This allows LLMs to implicitly reason and accurately manipulate knowledge during inference without any added computational overhead or external lookups.
What Problem Does This Paper Address?
Standard Supervised Fine-Tuning (SFT) trains LLMs on explicit input-output pairs, which often causes them to memorize superficial mappings rather than flexibly manipulate knowledge. Consequently, models suffer from the known&incorrect phenomenon: an LLM can explicitly state a fact when directly asked ("Is the true color of the sun white? Yes"), but fails to apply that exact knowledge when answering a related multiple-choice question, mistakenly choosing "Yellow" due to surface-level associations.
This issue stems from two main limitations: a lack of high-quality training data containing explicit reasoning rationales, and the model's inability to dynamically retrieve and connect its own internalized facts during inference when explicit rationales are absent.
Methods
KALE addresses these limitations through a two-stage post-training framework:
- Knowledge-Induced (KI) Data Synthesis: To generate high-quality reasoning rationales, KALE extracts multi-hop reasoning paths from an external Knowledge Graph (Wikidata) connecting entities in the question to entities in the answer. To avoid the massive computational cost of standard Breadth-First Search (BFS) on giant KGs, the authors design an efficient multi-path $A^*$ search algorithm that uses anchor nodes to bound the remaining path cost, reducing extraction time from over a week to under 4 hours. These paths are then fed into a teacher LLM (GPT-4o) to generate natural language rationales.
- Knowledge-Aware (KA) Fine-Tuning: Instead of training the model to explicitly output these rationales (which would slow down inference at test time), KALE minimizes the Kullback-Leibler (KL) divergence between the output distribution of the model with the rationale provided in the prompt and the model without the rationale. This forces the model to align its rationale-free predictions with its rationale-guided ones, effectively "internalizing" the reasoning path.
Datasets
The authors evaluate KALE across eight popular benchmarks spanning three core capabilities:
- Logical Reasoning: AbsR, Commonsense, and Big Bench Hard (BBH).
- Reading Comprehension: RACE-H and RACE-M.
- Natural Language Understanding: MMLU, ARC-Challenge (ARC-c), and ARC-Easy (ARC-e).
Additionally, they evaluate the framework on multilingual medical benchmarks (including MedQA, IgakuQA, and RuMedDaNet) to demonstrate its versatility in highly specialized, knowledge-intensive domains.
Key Insights and Ideas
- It’s a Routing Problem, Not a Knowledge Deficit: The "known&incorrect" analysis proves that models frequently possess the raw facts but lack the internal routing mechanism to connect those facts to a complex query.
- Implicit Alignment over Explicit Generation: Forcing a model to output a Chain-of-Thought (CoT) at inference time increases latency. Aligning probability distributions via KL divergence allows the model to think "implicitly," achieving CoT-level accuracy at vanilla inference speeds.
- Knowledge Graphs as Rationale Anchors: KGs provide the exact structural constraints needed to keep LLM-generated rationales factually grounded, preventing the hallucination loops common in self-taught reasoners.
Key Results
- Significant Accuracy Gains: KALE consistently outperforms vanilla SFT and retrieval-augmented baselines across six different open-source LLMs (ranging from 7B to 32B parameters). It achieved a maximum accuracy boost of 11.72% on the AbsR benchmark using Qwen2.5-32B, with an average improvement of 4.18% across all tasks.
- Slashed Error Rates: KALE drastically mitigates the "known&incorrect" issue. For instance, under vanilla SFT, Qwen2.5-32B exhibited a 27.5% known&incorrect rate, which KALE reduced to just 1.1%.
- Zero Inference Overhead: Because the alignment happens at the distribution level during training, KALE introduces no extra tokens or external lookups at test time, maintaining identical inference speeds to vanilla models.
Limitations and Future Work
- Structured Data Dependence: KALE currently requires structured Q&A pairs to initiate entity extraction and the subsequent KG search.
- Hard-Matching Constraints: The multi-path $A^*$ algorithm relies on exact string/entity matching on the KG, which could miss semantic synonyms. Integrating vectorized embeddings for soft-matching is a noted future direction.
- KG Availability: The framework depends heavily on comprehensive KGs like Wikidata. In highly specialized domains where KGs are sparse, its applicability might be limited unless paired with automatic KG construction methods.
Summary updated