Skip to main content
QUICK REVIEW

[Paper Review] Learning to Sample and Aggregate: Few-shot Reasoning over Temporal Knowledge Graphs

Ruijie Wang, Zheng Li|arXiv (Cornell University)|Oct 16, 2022
Advanced Graph Neural NetworksComputer Science22 citations
TL;DR

The paper introduces MetaTKGR, a meta-learning framework for few-shot temporal knowledge graph reasoning that predicts future facts for newly emerging entities by dynamically sampling and aggregating temporal neighbors with a temporal adaptation regularizer grounded in PAC-Bayes theory.

ABSTRACT

In this paper, we investigate a realistic but underexplored problem, called few-shot temporal knowledge graph reasoning, that aims to predict future facts for newly emerging entities based on extremely limited observations in evolving graphs. It offers practical value in applications that need to derive instant new knowledge about new entities in temporal knowledge graphs (TKGs) with minimal supervision. The challenges mainly come from the few-shot and time shift properties of new entities. First, the limited observations associated with them are insufficient for training a model from scratch. Second, the potentially dynamic distributions from the initially observable facts to the future facts ask for explicitly modeling the evolving characteristics of new entities. We correspondingly propose a novel Meta Temporal Knowledge Graph Reasoning (MetaTKGR) framework. Unlike prior work that relies on rigid neighborhood aggregation schemes to enhance low-data entity representation, MetaTKGR dynamically adjusts the strategies of sampling and aggregating neighbors from recent facts for new entities, through temporally supervised signals on future facts as instant feedback. Besides, such a meta temporal reasoning procedure goes beyond existing meta-learning paradigms on static knowledge graphs that fail to handle temporal adaptation with large entity variance. We further provide a theoretical analysis and propose a temporal adaptation regularizer to stabilize the meta temporal reasoning over time. Empirically, extensive experiments on three real-world TKGs demonstrate the superiority of MetaTKGR over state-of-the-art baselines by a large margin.

Motivation & Objective

  • Address the realistic problem of few-shot temporal knowledge graph reasoning for newly emerging entities.
  • Develop a framework that learns how to sample and aggregate temporal neighbors adaptively.
  • Stabilize temporal adaptation with a PAC-Bayes based regularizer to improve generalization over time.

Proposed method

  • Introduce a temporal encoder that samples up to b multi-hop temporal neighbors within a recent time window and aggregates them with time-aware attention (Equations 3-4).
  • Formulate few-shot temporal KG reasoning as a bi-level meta-learning problem (inner fine-tuning on support, outer meta-optimization on query).
  • Apply a translation-based score s(e, r, e', t) for prediction (Equation 2).
  • Train with MAML-style inner/outer updates (Equations 6-9) and use negative sampling with a hinge loss (Equation 5).
  • Incorporate a temporal adaptation regularizer based on PAC-Bayes (Equations 7-9) to enforce stability across time.

Experimental results

Research questions

  • RQ1How can we effectively reason about future facts for newly emerged entities with only a few observed links in evolving temporal knowledge graphs?
  • RQ2Can a meta-temporal framework learn sampling and aggregation strategies that adapt to time-evolving distributions of new entities?
  • RQ3Does a PAC-Bayes inspired temporal adaptation regularizer improve cross-time generalization for few-shot temporal KG reasoning?

Key findings

  • MetaTKGR achieves up to 11.4% relative improvement over strong baselines on three real-world TKGs in 3-shot settings.
  • Across YAGO, WIKI, and ICEWS18, MetaTKGR consistently outperforms static/temporal KG baselines and other few-shot methods.
  • Temporal encoding with sampled neighbors and time-aware attention better handles multi-relational graphs in low-data regimes than baselines like MetaDyGNN.
  • The temporal adaptation regularizer improves generalization over time, reducing overfitting to specific intervals.

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.