Unleashing the Power of Decoders: Temporal Knowledge Graph Extrapolation with Householder Transformation

Fuqiang Yang, Yue Zhang, Xuechen Zhao, Shengnan PangSymmetry 2024

TL;DR

This paper introduces HTKGE, a novel encoder-decoder framework for predicting future events in temporal knowledge graphs (TKGs). It addresses the underappreciated role of the decoder in TKG extrapolation by employing a unique adaptive decoder that leverages Householder transformations to dynamically process temporal information, leading to improved prediction accuracy.

What Problem Does This Paper Address?

Temporal Knowledge Graphs (TKGs) are powerful tools for representing dynamic information, capturing how relationships between entities evolve over time. However, predicting future events (extrapolation) in these graphs is a significant challenge. Most existing methods focus heavily on the "encoder" part of the model, which learns representations of the TKG. This paper argues that the "decoder," responsible for making predictions based on these representations, is often overlooked and can be a bottleneck. The authors aim to improve TKG extrapolation by developing a more sophisticated decoder that can better interpret and utilize the temporal information learned by the encoder.

Methods

The core of the proposed method, HTKGE, is its novel encoder-decoder architecture.

  • Encoder: The encoder is designed to capture both local temporal dependencies and global historical patterns. It uses:
  • Recurrent Evolutionary Embedding: Updates entity and relation representations over time using graph convolutional operations.
  • Temporal Dependency Modeling: Employs a gated recurrent unit (GRU) to maintain historical memory and capture sequential graph states.
  • Global Historical Pattern Integration: Aggregates entity embeddings across all timestamps to capture long-term trends.
  • Local-Global Interaction: Fuses local and global patterns with a weighting mechanism.
  • Decoder: This is where the main innovation lies. The decoder uses Householder transformations to integrate relation and time embeddings.
  • Householder Transformation for Embedding Integration: A Householder matrix is constructed based on relation and time embeddings. This matrix is then applied to the relation embedding to create a transformed embedding that captures temporal context.
  • Dynamic Filter Generation: The transformed relation embeddings are reshaped into 2D filters. These filters are "adaptive" because they are tailored to specific relations.
  • Adaptive Convolution Operation: These dynamic filters are convolved with the encoder's output (entity embeddings) to generate feature maps. This allows the model to extract relation-specific features sensitive to temporal dynamics.
  • Scoring for Prediction: A final scoring function predicts the likelihood of a fact.

Datasets

The paper evaluates HTKGE on four widely used benchmark datasets for TKG extrapolation:

  • GDELT: A large-scale dataset with 15-minute time granularity.
  • ICEWS14*: Derived from the Integrated Crisis Early Warning System (ICEWS), focusing on events in 2014.
  • WIKI: A dataset where time granularity was adjusted to year-level.
  • ICEWS05-15: Also from ICEWS, covering a decade from 2005 to 2015.

The datasets were chronologically split into training, validation, and testing sets to ensure a realistic extrapolation scenario.

Key Insights and Ideas

  • The Decoder Matters: The paper strongly emphasizes that the decoder's role in TKG extrapolation is as crucial as the encoder's, and improvements here can significantly boost performance.
  • Householder Transformations for Temporal Context: Using Householder transformations to create adaptive filters allows the decoder to dynamically adapt to the temporal context and relation-specific characteristics, leading to more nuanced predictions.
  • Balancing Local and Global Information: The encoder's ability to integrate both immediate temporal dependencies and long-term historical patterns is key to providing a comprehensive representation for the decoder.
  • Robustness Across Datasets: HTKGE demonstrates consistent performance across diverse datasets, suggesting its generalizability.

Key Results

HTKGE achieves state-of-the-art (SOTA) performance on three out of the four benchmark datasets (GDELT, ICEWS14*, and WIKI) for the link prediction task, as measured by MRR and H@1, H@3, H@10 metrics. For example, it outperforms the previous SOTA method RPC by significant margins across these datasets (e.g., 6.7% on GDELT for MRR). While it doesn't achieve SOTA on ICEWS05-15, it still shows strong competitive results. Ablation studies confirm the importance of both temporal dependency modeling and global historical patterns in the encoder, as well as the critical role of the Householder transformation in the decoder.

Limitations and Future Work

  • Data Quality and Sparsity: The model's performance is sensitive to the quality of input data, especially in sparse TKGs.
  • Parameter Tuning: The quality of parameter training is paramount. The authors acknowledge that the model might be inadvertently tuned to specific dataset properties.
  • Scalability: The authors plan to address scalability for managing large TKGs in future work.
  • Data Augmentation: They intend to explore data augmentation techniques to combat data sparsity.
  • Decoder Interpretability: Future work will focus on improving the decoder's interpretability and optimizing its parameters.
  • Causal Relationships: The authors aim to explore causal relationships between events for better predictive capabilities.

Summary updated

BibTeX
@article{yang2024unleashing,
  author = {Fuqiang Yang and Yue Zhang and Xuechen Zhao and Shengnan Pang},
  title = {{Unleashing the Power of Decoders: Temporal Knowledge Graph Extrapolation with Householder Transformation}},
  journal = {Symmetry},
  year = {2024},
  doi = {10.3390/sym16091166},
}
Figure