Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Distillation for Temporal Knowledge Graph Reasoning with Large Language Models

Xing Wang, Wei Song|arXiv (Cornell University)|Jan 1, 2026
Advanced Graph Neural NetworksComputer Science0 citations
TL;DR

The paper introduces a distillation framework that uses large language models as teachers to transfer temporal reasoning for temporal knowledge graphs to lightweight student models, achieving better performance with smaller models across benchmark datasets.

ABSTRACT

Reasoning over temporal knowledge graphs (TKGs) is fundamental to improving the efficiency and reliability of intelligent decision-making systems and has become a key technological foundation for future artificial intelligence applications. Despite recent progress, existing TKG reasoning models typically rely on large parameter sizes and intensive computation, leading to high hardware costs and energy consumption. These constraints hinder their deployment on resource-constrained, low-power, and distributed platforms that require real-time inference. Moreover, most existing model compression and distillation techniques are designed for static knowledge graphs and fail to adequately capture the temporal dependencies inherent in TKGs, often resulting in degraded reasoning performance. To address these challenges, we propose a distillation framework specifically tailored for temporal knowledge graph reasoning. Our approach leverages large language models as teacher models to guide the distillation process, enabling effective transfer of both structural and temporal reasoning capabilities to lightweight student models. By integrating large-scale public knowledge with task-specific temporal information, the proposed framework enhances the student model's ability to model temporal dynamics while maintaining a compact and efficient architecture. Extensive experiments on multiple publicly available benchmark datasets demonstrate that our method consistently outperforms strong baselines, achieving a favorable trade-off between reasoning accuracy, computational efficiency, and practical deployability.

Motivation & Objective

  • Motivate efficient temporal knowledge graph (TKG) reasoning on resource-constrained devices.
  • Propose a two-stage distillation framework leveraging both traditional teachers and large language models (LLMs) to guide a lightweight student model.
  • Incorporate temporal dynamics and public knowledge via LLM-aware distillation to improve accuracy and deployability.

Proposed method

  • Use a teacher-student distillation setup where the teacher is a high-capacity TKG model and a large language model serves as a secondary teacher.
  • Train with a two-stage distillation: first align student with the traditional teacher, then align with the LLM predictions.
  • Loss functions include: L1 distillation between teacher and student (encoder-decoder alignment), L2 robust distillation between LLM and student via Huber loss, and L3 supervised loss against ground-truth labels; overall Ltotal = L1 + alpha*L2 + LLM-based L3 (beta factor included).
  • LLMs encode entity-relation semantics; prediction scores integrate LLM embeddings into a softmax-based scoring, and supervised loss uses MSE against soft targets from LLM-driven scores.
  • Experiments on YAGO11k and WIKIdata12k with backbone models TTransE and TADistMult; compare against BKD, FitNet, and RKD baselines; assess with MRR, MR, and Hits@k.
(a) Traditional knowledge distillation method
(a) Traditional knowledge distillation method

Experimental results

Research questions

  • RQ1Can large language models improve distillation-based temporal reasoning for lightweight TKGs?
  • RQ2How does incorporating LLM-based guidance affect performance vs. traditional distillation baselines on standard TKG benchmarks?
  • RQ3What is the trade-off between model size, computation, and reasoning accuracy when using LLM-guided distillation for TKGs?

Key findings

  • The proposed distillation method consistently outperforms traditional distillation baselines (BKD, FitNet, RKD) on both datasets.
  • For TTransE, improvements over BKD include gains of 0.5% in MRR, 15.4% in MR, 3.1% in Hits@1, 0.8% in Hits@3, and 6.1% in Hits@10 on YAGO; and improvements in MRR, Hits@1, Hits@3, Hits@10 on WIKI.
  • For TADistMult, the method yields average improvements of 2.77% (YAGO) and 3.28% (WIKI) across metrics; achieves best Hits@1 and Hits@3.
  • The approach attains the best performance on Hits@1 and Hits@3, indicating superior high-rank accuracy for temporal link prediction.
  • Ablation shows that incorporating LLM-based knowledge distillation provides robust gains over BKD, validating the value of LLM guidance in transferring temporal reasoning to lightweight models.
  • In some settings, RKD exhibits fluctuations and the authors suggest longer training can mitigate instability.
(b) Large language model based distillation method
(b) Large language model based distillation method

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.