RADAR: Reasoning as Discrimination with Aligned Representations for LLM-based Knowledge Graph Reasoning
Organizations: Shanghai Jiao Tong University, Shanghai, China
Abstract
Knowledge graph reasoning (KGR) infers missing facts, with recent advances increasingly harnessing the semantic priors and reasoning abilities of Large Language Models (LLMs). However, prevailing generative paradigms are prone to memorizing surface-level co-occurrences rather than learning genuine relational semantics, limiting out-of-distribution generalization. To address this, we propose RADAR, which reformulates KGR from generative pattern matching to discriminative relational reasoning. We recast KGR as discriminative entity selection, where reinforcement learning enforces relative entity separability beyond token-likelihood imitation. Leveraging this separability, inference operates directly in representation space, ensuring consistency with the discriminative optimization and bypassing generation-induced hallucinations. Across four benchmarks, RADAR achieves 5-6% relative gains on link prediction and triple classification over strong LLM baselines, while increasing task-relevant mutual information in intermediate representations by 62.9%, indicating more robust and transferable relational reasoning.
Figures & tables
| Paradigm | Model | FB15K-237 | FB15K-237N | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MRR | H@1 | H@3 | H@10 | MRR | H@1 | H@3 | H@10 | ||
| Embedding -based | TransE | 0.279 | 0.198 | 0.376 | 0.441 | 0.255 | 0.152 | 0.301 | 0.459 |
| DistMult | 0.281 | 0.199 | 0.301 | 0.446 | 0.209 | 0.143 | 0.234 | 0.330 | |
| ComplEx | 0.278 | 0.194 | 0.297 | 0.450 | 0.249 | 0.180 | 0.276 | 0.380 | |
| RotatE | 0.338 | 0.241 | 0.375 | 0.533 | 0.279 | 0.177 | 0.320 | 0.481 | |
| ConvE | 0.312 | 0.225 | 0.341 | 0.497 | 0.273 | 0.192 | 0.305 | 0.429 | |
| Paradigm | Model | WN18RR | FB15K-237N | UMLS |
|---|---|---|---|---|
| Embedding -based | TransE | 88.4 | 69.7 | 84.5 |
| DistMult | 85.1 | 58.7 | 86.4 | |
| ComplEx | 84.1 | 65.7 | 87.1 | |
| RotatE | 88.2 | 68.5 | 87.7 | |
| Language Model -based | KG-BERT | 91.6 | 56.0 | 77.3 |
| LLAMA-ICL | 50.2 | 59.2 | 55.5 |
| Answer Cardinality | Negative Hardness | |||
|---|---|---|---|---|
| (Fixing Negatives: Tier 2) | (Fixing Cardinality: Variable) | |||
| Setting | Accuracy | Setting | Accuracy | |
| Single-answer | 79.9 | Tier 1 (Easy) | 80.2 | |
| Variable-answer | 81.6 | Tier 2 (Medium) | 81.6 | |
| Tier 3 (Hard) | 81.0 | |||
| Method | WN18RR | 15K-237N | UMLS |
|---|---|---|---|
| Serial-SFT-Generation | 0.921 | 0.748 | 0.858 |
| Serial-SFT-Extraction | 0.925 | 0.753 | 0.861 |
| Discriminative-SFT-Extraction | 0.945 | 0.793 | 0.898 |
| Discriminative-Full-Extraction | 0.953 | 0.816 | 0.917 |
| Method | MRR | H@1 | H@3 | H@10 |
|---|---|---|---|---|
| LLaMA-7B Touvron et al. (2023) | ||||
| Serial-SFT-Extraction | 0.365 | 0.229 | 0.438 | 0.584 |
| Discriminative-Full-Extraction | 0.415 | 0.301 | 0.476 | 0.633 |
| Pythia-6.9B Biderman et al. (2023) | ||||
| Serial-SFT-Extraction | 0.353 | 0.259 | 0.401 | 0.616 |
| Discriminative-Full-Extraction | 0.384 | 0.267 | 0.437 | 0.635 |
| Subjects | w/o Training | w/ Training |
|---|---|---|
| Clinical | 0.340 | 0.455 |
| College Medicine | 0.341 | 0.397 |
| High School Biology | 0.313 | 0.439 |
| High School Chemistry | 0.271 | 0.355 |
| Medical Genetics | 0.290 | 0.490 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | # Train | # Valid | # Test | ||
|---|---|---|---|---|---|
| FB15K-237 | 14,541 | 237 | 272,115 | 17,535 | 20,466 |
| FB15K-237N | 13,104 | 93 | 87,282 | 7,041 | 8,226 |
| WN18RR | 40,943 | 11 | 86,835 | 6,068 | 6,268 |
| UMLS | 135 | 46 | 5,216 | 1,304 | 1,322 |
| Parameter | MRR |
|---|---|
| 15 | 0.415 |
| 20 | 0.402 |
| 25 | 0.393 |
| Parameter | Accuracy |
|---|---|
| 3 | 0.892 |
| 4 | 0.898 |
| 5 | 0.887 |
| 6 | 0.893 |
Graph Reasoning
Graph reasoning uses relationships among entities to solve multi-step inference, prediction, planning, and question-answering tasks.
See all 62 papers