Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Graphs are Implicit Reward Models: Path-Derived Signals Enable Compositional Reasoning

Yuval Kansal, Niraj K. Jha|arXiv (Cornell University)|Jan 21, 2026
Advanced Graph Neural NetworksComputer Science0 citations
TL;DR

The paper proposes a KG-grounded post-training pipeline (SFT + RL) that uses path-derived rewards from a knowledge graph to enable compositional multi-hop reasoning, achieving strong generalization to 4-5 hop medical queries and outperforming larger models.

ABSTRACT

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/.

Motivation & Objective

  • Ground models in axiomatic domain facts using knowledge graphs (KGs) as scalable, verifiable supervision.
  • Enable compositional, multi-hop reasoning by rewarding path-aligned reasoning traces.
  • Demonstrate that short-hops training transfers to longer-hops during RL with KG-derived rewards.
  • Assess robustness to adversarial perturbations and real-world medical categories (ICD-10).
  • Show that a smaller, KG-grounded model can surpass larger frontier models on complex tasks.

Proposed method

  • Base Model → SFT (LoRA) → RL (GRPO) training pipeline.
  • KG-derived reward signals that combine final-answer correctness with path alignment to the KG path.
  • Path coverage reward: coverage(r, P) = |T(r) ∩ T(P)| / |T(P)| with a minimum-hit constraint.
  • Total reward: R_total(y) = R_bin(â, a*) + R_path(r, P); R_bin rewards final correctness, R_path enforces alignment with KG paths.
  • Reward ablations to choose effective signals; best performance from combining path alignment with binary correctness (and negative sampling for exploration).
  • Evaluation in the medical domain using the UMLS-based biomedical KG and ICD-Bench test set.
Figure 1: Compositional Reasoning: A sample 3-hop query that requires systematic traversal of axiomatic triples to make a grounded, multi-step clinical deduction.
Figure 1: Compositional Reasoning: A sample 3-hop query that requires systematic traversal of axiomatic triples to make a grounded, multi-step clinical deduction.

Experimental results

Research questions

  • RQ1Can KG-derived path signals provide scalable, verifiable supervision that promotes compositional reasoning in LLMs?
  • RQ2Does grounding reasoning in axiomatic KG paths enable generalization from 1-3 hops to 4-5 hops in medical QA?
  • RQ3Is a KG-grounded RL signal robust to adversarial perturbations and domain category variability (ICD-10)?

Key findings

  • SFT+RL with KG-derived rewards enables strong generalization to unseen 4-5 hop questions compared with SFT alone (e.g., 7.5% and 11.1% gains on 4-hop and 5-hop tasks, respectively).
  • The KG-aligned reward acts as a compositional bridge, allowing 14B models to outperform larger frontier models on hardest tasks.
  • The approach exhibits robustness to option shuffling, with small performance drops comparable to or smaller than frontier models under perturbations.
  • Training on 1-3 hop paths suffices for longer-hops reasoning, demonstrating compositional generalization rather than memorization of training data.
  • The 14B model trained with SFT+RL achieves high performance across ICD-10 categories, including challenging areas like Blood/Immune and Circulatory system diseases.
  • Compared to a 32B domain-expert model, the 14B KG-grounded model closes the recall-reasoning gap and, on higher-difficulty tasks, shows notable improvements (e.g., +9.36% on level-5 tasks in majority-voting evaluation).
Figure 2: SFT+RL pipeline overview: Schematic of the pipeline from SFT to KG-grounded RL. While SFT enables domain-specific grounding, the path-derived reward signal during RL provides the process supervision necessary for compositional reasoning.
Figure 2: SFT+RL pipeline overview: Schematic of the pipeline from SFT to KG-grounded RL. While SFT enables domain-specific grounding, the path-derived reward signal during RL provides the process supervision necessary for compositional reasoning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.