Improving Few-Shot Inductive Learning on Temporal Knowledge Graphs Using Confidence-Augmented Reinforcement Learning

Zifeng Ding, Jingpei Wu, Zongyue Li, Yunpu Ma, Volker Tresp

TL;DR

FITCARL is a new reinforcement learning (RL) framework designed to predict missing links for brand-new entities in Temporal Knowledge Graphs (TKGs) using only a handful of examples. By combining a time-aware Transformer with a novel "confidence learner" and concept-based regularization, it achieves state-of-the-art performance while providing human-readable reasoning paths for its predictions.

What Problem Does This Paper Address?

Knowledge Graphs (KGs) are great at storing facts, but the world is dynamic. Temporal Knowledge Graphs (TKGs) add a time dimension to these facts (e.g., "Entity A" joined "Organization B" in 2024).

The specific challenge here is Few-Shot Out-of-Graph (OOG) Link Prediction. Most models assume they’ve seen all entities during training. In reality, new entities emerge constantly (new politicians, new companies). These "newcomers" often have very little data associated with them—perhaps only one or three observed facts (the "few-shot" setting). Existing methods struggle to represent these entities accurately or reason about their future interactions because they lack a deep history to draw from.

Methods

The authors propose FITCARL, which treats link prediction as a navigation problem. An RL agent "walks" through the graph, starting from a new entity, to find the most likely answer to a query.

Key components include:

  • Time-Aware Transformer: To understand a new entity, the model looks at its few-shot neighbors. It uses a Transformer with a specialized temporal positional encoding to capture when these interactions happened, creating a robust initial representation for the unseen entity.
  • Confidence-Augmented Policy: In few-shot settings, the agent's search history is often "noisy" because there's so little data. FITCARL introduces a Confidence Learner (inspired by the TuckER model) that calculates how sensible a move is, independent of the search history. This acts as a filter to keep the agent on the right track.
  • Concept Regularizer: The model exploits "concepts" (high-level categories like Military or Government) provided in knowledge bases. It uses a parameter-free regularizer to ensure the agent's choices align with the typical conceptual distributions found in the broader background graph.
  • Reinforcement Learning: The agent receives rewards based on how close it gets to the ground-truth entity, optimizing its search policy over time.

Datasets

The model was evaluated on three benchmark datasets derived from the Integrated Crisis Early Warning System (ICEWS), which tracks political events:

  1. ICEWS14-OOG (Facts from 2014)
  2. ICEWS18-OOG (Facts from 2018)
  3. ICEWS0515-OOG (Facts from 2005 to 2015)

These datasets are specifically partitioned to test "out-of-graph" performance, where the test entities are entirely absent from the training set.

Key Insights and Ideas

  • History isn't everything: In few-shot learning, the "history" of an entity is too short to be the sole guide. The Confidence Learner is an "aha moment" here—it provides a second opinion that helps the model ignore irrelevant paths that might otherwise look attractive due to data scarcity.
  • Ontology as a Prior: By using entity concepts, the model doesn't just learn specific links; it learns the logic of the graph (e.g., "Diplomatic relations usually happen between Government entities").
  • Explainability: Because it uses RL to walk the graph, the model doesn't just give an answer; it provides a path. For example, it might explain a prediction by showing a chain of "enemy of my enemy is my friend" relations.

Key Results

FITCARL significantly outperformed previous state-of-the-art (SOTA) models like FILT and GEN across all metrics (MRR and Hits@1/3/10).

  • On ICEWS14-OOG (3-shot), FITCARL achieved an MRR of 0.481, compared to FILT's 0.321—a massive relative improvement.
  • The model showed remarkable robustness over time, maintaining high performance even as the "query time" moved further away from the initial observed facts.
  • Ablation studies proved that the Time-aware Transformer and Confidence Learner were the most critical components for success.

Limitations and Future Work

  • Computational Cost: RL-based graph traversal can be more computationally expensive than simple embedding-based lookups, especially on very dense graphs.
  • Concept Dependency: The model relies on the availability of entity concepts. If a TKG lacks this ontological metadata, the Concept Regularizer cannot be used.
  • Forecasting vs. Completion: This paper focuses on TKG completion (filling in gaps at any time). The authors suggest that extending this RL approach to TKG forecasting (predicting the future based only on the past) is a promising but distinct future direction.

Summary updated

BibTeX
@inproceedings{ding2023improving,
  author = {Zifeng Ding and Jingpei Wu and Zongyue Li and Yunpu Ma and Volker Tresp},
  title = {{Improving Few-Shot Inductive Learning on Temporal Knowledge Graphs Using Confidence-Augmented Reinforcement Learning}},
  booktitle = {ECML/PKDD},
  year = {2023},
  url = {https://openreview.net/forum?id=STgRnESibp3},
}

Loading related content...

Figure