[论文解读] Knowledge Graphs are Implicit Reward Models: Path-Derived Signals Enable Compositional Reasoning
论文提出一个基于知识图谱(KG)支撑的后训练流程(SFT + RL),利用来自知识图谱的路径派生奖励实现成组式多步推理,对4-5跳的医疗问答具有强泛化能力,并在较大模型上实现超越。
Large language models have achieved near-expert performance in structured reasoning domains like mathematics and programming, yet their ability to perform compositional multi-hop reasoning in specialized scientific fields remains limited. We propose a bottom-up learning paradigm in which models are grounded in axiomatic domain facts and compose them to solve complex, unseen tasks. To this end, we present a post-training pipeline, based on a combination of supervised fine-tuning and reinforcement learning (RL), in which knowledge graphs act as implicit reward models. By deriving novel reward signals from knowledge graph paths, we provide verifiable, scalable, and grounded supervision that encourages models to compose intermediate axioms rather than optimize only final answers during RL. We validate this approach in the medical domain, training a 14B model on short-hop reasoning paths (1-3 hops) and evaluating its zero-shot generalization to complex multi-hop queries (4-5 hops). Our experiments show that path-derived rewards act as a "compositional bridge", enabling our model to significantly outperform much larger models and frontier systems like GPT-5.2 and Gemini 3 Pro, on the most difficult reasoning tasks. Furthermore, we demonstrate the robustness of our approach to adversarial perturbations against option-shuffling stress tests. This work suggests that grounding the reasoning process in structured knowledge is a scalable and efficient path toward intelligent reasoning. Our code is publicly available at: https://github.com/jha-lab/kg-implicit-reward-compositional-rl/.
研究动机与目标
- 使用知识图谱将模型置于公理化领域事实之中,作为可扩展、可验证的监督。
- 通过奖励路径对齐的推理轨迹,启用成组式、多跳推理。
- 证明短跳训练可以通过KG派生奖励在强化学习中向更长跳跃转移。
- 评估对对抗性扰动和真实世界的医学类别(ICD-10)的鲁棒性。
- 显示较小的、KG支撑模型在复杂任务上可超越更大型的前沿模型。
提出的方法
- 基线模型 → SFT(LoRA) → RL(GRPO)训练流程。
- KG派生的奖励信号,结合最终答案的正确性与对齐KG路径的路径对齐。
- 路径覆盖奖励:coverage(r, P) = |T(r) ∩ T(P)| / |T(P)|,并设定最小命中约束。
- 总奖励:R_total(y) = R_bin(â, a*) + R_path(r, P);R_bin 评估最终正确性,R_path 强制路径与KG路径的一致性。
- 进行奖励消融以选择有效信号;结合路径对齐与二元正确性(并为探索使用负采样)可获得最佳性能。
- 在医疗领域使用基于UMLS的生物医学KG和ICD-Bench测试集进行评估。

实验结果
研究问题
- RQ1KG派生的路径信号能否提供可扩展、可验证的监督以促进LLM的成组推理?
- RQ2将推理锚定在公理化KG路径是否能让医学问答从1-3跳推广到4-5跳?
- RQ3KG支撑的RL信号对对抗扰动和领域类别变异(ICD-10)是否鲁棒?
主要发现
- 与仅SFT相比,采用KG派生奖励的SFT+RL在未见4-5跳问题上表现出强泛化能力(例如4跳任务提升约7.5%,5跳任务提升约11.1%)。
- KG对齐的奖励充当成组式桥梁,使14B模型在最难任务上超越了更大型号的前沿模型。
- 该方法对选项打乱具有鲁棒性,在扰动下的小幅性能下降与前沿模型相当或更小。
- 在1-3跳路径上进行训练即可实现对更长跳跃的推理,展示的是成组化泛化而非对训练数据的记忆。
- 用SFT+RL训练的14B模型在ICD-10类别上表现出高水平的性能,包括血液/免疫、循环系统疾病等具挑战性的领域。
- 相比32B领域专家模型,14B的KG支撑模型缩小了召回与推理之间的差距,在难度较高的任务中显示显著提升(例如多数投票评估中的5级任务提高约9.36%)。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。