SNAP-KG: Streaming Node Assignment via Projection for Knowledge Graph Entity Integration

Jui-Chien Lin, Mohammad Mohammadi Amiri, Oshani SeneviratnearXiv 2026

TL;DR

SNAP-KG introduces an inductive, multi-view graph clustering framework that integrates streaming entities into Knowledge Graphs (KGs) at lightning speed. By distilling a complex GNN-Transformer pipeline into a lightweight MLP projector, it maps new, edge-less entities directly into a relational embedding space using only their raw features. This achieves millisecond-level inference and up to a 97% reduction in candidate search space for downstream tasks without requiring model retraining or graph access.

What Problem Does This Paper Address?

Knowledge Graphs are dynamic, continuously expanding as new real-world entities emerge. When a new entity arrives from an upstream data source, it arrives as a raw feature vector (e.g., text descriptions or attributes) with zero graph connectivity—no edges, no neighbors, and no structural context.

To perform downstream tasks like Entity Resolution (detecting duplicate nodes) or Link Prediction (predicting missing edges), a naive search across the entire graph scales at $O(N)$, which is computationally prohibitive for large KGs. Graph clustering can partition the graph into $K$ communities to scope down the search space to $O(N/K)$. However, existing multi-view graph clustering methods are transductive: they assume a fixed graph structure during training and require full, expensive model retraining to embed any newly arriving nodes. SNAP-KG tackles this latency bottleneck to make continuous, real-time streaming entity ingestion practical.

Fig. 1. SNAP-KG addresses the streaming entity integration sub-problem within Phase 2 (Knowledge Refinement) of the KG construction pipeline. A newly arriving entity carries only raw node features and no graph connectivity. SNAP-KG assigns it to an existing cluster via an inductive projector fϕ without retraining, enabling down- stream entity resolution (ER) and link prediction (LP) to be scoped within the assigned cluster and reducing the candidate search space.

Methods

The authors propose a framework that separates graph-heavy relational learning (offline) from streaming inference (online) using a GNN-to-MLP knowledge distillation paradigm:

  1. Adaptive Graph Preprocessing: Real-world KGs contain noisy edges. SNAP-KG filters neighborhoods by calculating the cosine similarity of node features, discarding weakly related connections before training begins.
  2. Multi-View GNN & Transformer Fusion: For the base graph, relation-specific GNNs generate embeddings for each distinct relation type (view). A Transformer encoder then fuses these view-specific embeddings into a unified, cluster-separable representation space optimized via contrastive learning.
  3. Projector Network Distillation: This is the core innovation. A lightweight Multi-Layer Perceptron (MLP) projector network ($f_\phi$) is trained to map raw node features directly to the unified GNN-Transformer embedding space, minimizing the squared L2 reconstruction loss.
  4. Inductive Streaming Inference: When a new entity arrives, it completely bypasses the GNNs and the existing graph. The MLP projector maps its raw features directly into the pre-computed cluster space in a single feed-forward pass, allowing immediate cluster assignment.
Fig. 2. Overview of SNAP-KG framework. The projector network is trained to simulate the combined functionality of the view-specific GNNs and multi-view encoder, enabling efficient embedding generation for streaming nodes. For clarity, only two views are shown.

Datasets

The framework was evaluated on five standard multi-view graph benchmarks:

  • ACM, DBLP, IMDB (academic and movie citation networks)
  • YELP (business utility network)
  • MAG (Microsoft Academic Graph subset with 113,919 nodes)

To evaluate production-scale capability, they utilized OGB-WikiKG2, a massive dataset containing 2.5M entities and 535 relation types, preprocessed down to 2.4 million nodes across its 8 highest-frequency relation views. Cross-dataset generalization was also validated using a real-world DBLP-ACM transfer learning setup.

Key Insights and Ideas

  • Graph-Free Inference via Distillation: The primary "aha" moment is that graph structure is not strictly required at inference time to place a node into a graph-informed community. An MLP can learn to approximate complex multi-view relational topology from raw features alone if guided by a strong GNN-Transformer teacher.
  • Asymmetric Scoping Utility: The authors observed that cluster-based scoping impacts downstream tasks differently. Entity Resolution (ER) benefits cleanly because duplicates share nearly identical features and co-locate within the same cluster. Link Prediction (LP), however, connects distinct but structurally related nodes, making it more susceptible to cluster boundary exclusions.
  • Multi-View Fusion is Essential: Ablation studies demonstrated that single-view variants (training on only one relation type) perform significantly worse than the full multi-view model, proving that combining distinct relation types yields far more discriminative community structures.

Key Results

  • Orders-of-Magnitude Speedup: On the MAG dataset, retraining-based baselines required over 65 seconds per batch to integrate new nodes. SNAP-KG's projector completed the same assignments in mere milliseconds, eliminating the streaming latency bottleneck entirely.
  • Preserved Clustering Quality: Despite operating without graph access at inference, SNAP-KG's inductive projector closely matched or slightly exceeded the clustering accuracy (ACC) and F1 scores of the retrained upper-bound models.
  • Drastic Candidate Search Reduction: Restricting downstream tasks to intra-cluster candidates achieved a 62–75% candidate reduction on the five benchmarks and a staggering 97% reduction on the 2.4M-node OGB-WikiKG2 dataset, all while maintaining high entity resolution accuracy.

Limitations and Future Work

  • Boundary Edge Loss: For Link Prediction, scoping restricts candidate pairs to the same cluster. This means true edges that cross cluster boundaries (e.g., 19.8% of positive edges in MAG) are inherently excluded from evaluation.
  • Static Representations: While cluster centroids can be cheaply refreshed online, the underlying MLP projector weights remain fixed post-training. If the global semantic distribution of the incoming data stream shifts drastically, the model will eventually require full offline retraining.
  • Future Work: The authors plan to explore composing SNAP-KG's graph-aware cluster centroids with Approximate Nearest Neighbor (ANN) indices based on Inverted File Index (IVF) structures to enable sub-linear retrieval at an even larger production scale.

Summary updated

Abstract

Knowledge graph (KG) construction pipelines must continuously integrate newly arriving entities into a growing graph. Unlike inserting triples between existing nodes, a newly arriving entity has no graph connectivity: it emerges from the acquisition phase as a raw feature vector and must be assigned to a semantic community before entity resolution and link prediction can operate over a tractable candidate set. Existing multi-view graph clustering methods exploit multiple relation types as structural views, but are transductive: they assume a fixed graph and cannot assign unseen entities without retraining. We propose SNAP-KG (Streaming Node Assignment via Projection for Knowledge Graph Entity Integration), a framework supporting graph-structural multi-view relational clustering and inductive inference for streaming entities. SNAP-KG trains a projector to map a new entity directly to the learned embedding space using only raw features, enabling immediate cluster assignment without graph access or model retraining. Experiments on five benchmark multi-view graph datasets and a production-scale KG of 2.4 million nodes demonstrate multiple orders-of-magnitude inference speedups over retraining-based approaches and competitive clustering quality. As a candidate scoping mechanism for downstream tasks, SNAP-KG achieves 62-75% candidate search reduction on the five benchmark datasets and 97% on OGB-WikiKG2 for entity resolution and link prediction.
BibTeX
@misc{lin2026snap,
  author = {Jui-Chien Lin and Mohammad Mohammadi Amiri and Oshani Seneviratne},
  title = {{SNAP-KG: Streaming Node Assignment via Projection for Knowledge Graph Entity Integration}},
  year = {2026},
  eprint = {2608.25149},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.25149},
}
Figure