ETT-CKGE: Efficient Task-Driven Tokens for Continual Knowledge Graph Embedding

Lijing Zhu, Qizhen Lan, Qing Tian, Wenbo Sun, Li Yang, Lu Xia, Yixin Xie, Xi Xiao, Tiehang Duan, Cui Tao, Shuteng Niu · DOI

Abstract

Knowledge Graphs (KGs) are dynamic entities that require continual updates to incorporate new facts without losing prior knowledge. Current Continual Knowledge Graph Embedding (CKGE) methods rely on computationally expensive graph traversals and manual heuristics to preserve important information. We introduce ETT-CKGE, a novel framework that replaces graph-based search with learnable, task-driven tokens. By leveraging GPU-optimized tensor operations, ETT-CKGE reduces training time by up to 96% and memory usage by up to 2GB while achieving superior predictive accuracy.

Introduction: The Challenge of Evolving Knowledge

Knowledge Graphs are structured representations of real-world facts, but they are rarely static. As new entities and relations emerge, models must undergo Continual Knowledge Graph Embedding (CKGE) to integrate new data. However, existing methods face two primary hurdles:

  1. Suboptimal Heuristics: They often rely on human-designed rules (e.g., node frequency or centrality) to determine which parts of the graph are "important." These rules may not align with the actual predictive task.
  2. Computational Bottlenecks: Calculating importance scores typically requires explicit graph traversals, which are slow, memory-intensive, and fail to scale to large-scale KGs.

Methodology: Task-Driven Tokens

ETT-CKGE shifts the focus from manual graph-based heuristics to learnable attention mechanisms. Instead of walking the graph, the model uses a set of learnable vectors—task-driven tokens—that interact with entity and relation embeddings via matrix multiplication to generate a "soft importance mask."

The two-stage architecture of ETT-CKGE, featuring token learning and knowledge transfer.

The framework operates in two distinct stages:

  • Stage I (Token Learning): Tokens are trained to capture salient structural patterns from the previous snapshot. A diversity-promoting regularization term ensures that tokens focus on distinct graph regions.
  • Stage II (Knowledge Transfer): The model aligns old and new embeddings using these tokens. By applying an "aligned mask," the model performs targeted knowledge distillation, preserving critical information while accommodating new knowledge.

This design allows the model to maintain a constant computational footprint for importance estimation, regardless of graph size, by utilizing efficient tensor operations.

Key Results and Insights

ETT-CKGE demonstrates that the model itself is the best judge of information importance. By letting the loss function guide importance masks, the model preserves features essential for link prediction rather than just high-degree nodes.

Performance (MRR) vs. Training Time and Memory Usage across different CKGE methods.
  • Efficiency: ETT-CKGE achieved a 50% to 96% reduction in training time compared to state-of-the-art models like IncDE and FMR.
  • Memory Footprint: Peak memory usage was reduced by 150MB to 2GB, significantly improving viability for industrial-scale applications.
  • Accuracy: Despite the speedups, performance improved. ETT-CKGE consistently outperformed baselines in Mean Reciprocal Rank (MRR), showing gains of 7.2% to 13% over the second-fastest model, FastKGE.
  • Scalability: The number of updated parameters remained stable (approx. 2,000) across snapshots, avoiding the "model bloat" common in parameter-isolation methods.

Conclusion and Future Directions

ETT-CKGE represents a significant step forward in making CKGE both efficient and effective. By replacing graph traversals with task-driven tokens, the model achieves a rare combination of high performance and low resource consumption. Future research will explore integrating Large Language Models (LLMs) to handle graph sparsity and extending this token-based approach to multi-modal data and broader graph reasoning tasks.

Summary updated

BibTeX
@misc{zhu2025ett,
  author = {Lijing Zhu and Qizhen Lan and Qing Tian and Wenbo Sun and Li Yang and Lu Xia and Yixin Xie and Xi Xiao and Tiehang Duan and Cui Tao and Shuteng Niu},
  title = {{ETT-CKGE: Efficient Task-Driven Tokens for Continual Knowledge Graph Embedding}},
  year = {2025},
  eprint = {2506.08158},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.08158},
}
Figure