NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Kernel Node Embeddings

Abdulkadir Çelikkanat, Fragkiskos D. MalliarosGlobalSIP 2019

Abstract

Learning representations of nodes in a low dimensional space is a crucial task with many interesting applications in network analysis, including link prediction and node classification. Two popular approaches for this problem include matrix factorization and random walk-based models. In this paper, we aim to bring together the best of both worlds, towards learning latent node representations. In particular, we propose a weighted matrix factorization model which encodes random walk-based information about the nodes of the graph. The main benefit of this formulation is that it allows to utilize kernel functions on the computation of the embeddings. We perform an empirical evaluation on real-world networks, showing that the proposed model outperforms baseline node embedding algorithms in two downstream machine learning tasks.

Introduction

In graph machine learning, node embedding transforms nodes into low-dimensional vectors such that structural similarities are preserved in the latent space. Traditionally, two paradigms have dominated: Matrix Factorization (MF) and Random Walk-based models (e.g., DeepWalk, node2vec). While MF offers a rigorous optimization framework, it often relies on linear assumptions. Conversely, random walk methods excel at capturing local structural context but can lack a formal global objective.

This paper introduces KernelNE, a framework that addresses this gap by integrating non-linear kernel functions into a matrix factorization framework to better capture the stochastic similarities discovered by random walks.

Methodology

KernelNE formulates node embedding as a weighted matrix factorization problem. The target matrix is constructed from random walk statistics, ensuring the embeddings capture local graph topology.

The Kernel Trick in Graph Embeddings

The core innovation is the replacement of the standard linear dot product with universal kernels. By mapping nodes into a high-dimensional feature space, KernelNE can model complex, non-linear relationships. The authors specifically evaluate:

  • Gaussian (GAUSS) Kernel: Measures similarity based on Euclidean distance.
  • Schoenberg (SCH) Kernel: A distance-based kernel often applied in collaborative filtering.

Optimization

To ensure scalability, the model is optimized using Stochastic Gradient Descent (SGD) with negative sampling. This approach allows the model to efficiently learn by distinguishing observed node pairs from random noise, making it applicable to large-scale networks.

Experimental Setup

The performance of KernelNE was evaluated across seven diverse real-world datasets, including citation networks, social networks, and peer-to-peer systems.

Summary of the real-world network datasets used for evaluation.

These datasets provide a comprehensive benchmark for assessing how well embeddings capture various social and structural properties.

Results and Discussion

KernelNE was tested on two primary tasks: node classification and link prediction.

Node Classification

The model consistently outperformed popular baselines. Notably, on the CiteSeer dataset, the Schoenberg kernel (SCH) achieved a 7% improvement over the strongest baseline. The performance gain was particularly pronounced in low-label regimes (e.g., 2% training ratio), highlighting the robustness of the learned representations.

Impact of Kernel Parameters

The quality of embeddings is influenced by the choice of kernel-specific parameters. As shown in the figure below, the Micro-F1 scores vary significantly with different values of $\sigma^2$ (for Gaussian) and $\alpha$ (for Schoenberg), emphasizing the importance of hyperparameter tuning.

Sensitivity of Micro-F1 scores to kernel parameters $\sigma^2$ (Gaussian) and $\alpha$ (Schoenberg) across various training set ratios.

In link prediction tasks, KernelNE achieved superior Area Under Curve (AUC) scores. For instance, on the Gnutella network, KernelNE reached an AUC of 0.766, significantly outperforming node2vec's 0.498.

Conclusion

KernelNE demonstrates that incorporating non-linearity through kernels significantly enhances the expressive power of node embeddings. While the model introduces some parameter sensitivity—requiring tuning of $\sigma$ or $\alpha$—its ability to outperform linear baselines, especially with limited training data, makes it a powerful tool for network analysis. Future work may explore Multiple Kernel Learning (MKL) to automatically combine various kernels for even richer representations.

Reference: Çelikkanat, A., & Malliaros, F. D. (2019). Kernel Node Embeddings. arXiv:1909.03416v2 [cs.SI].

Summary updated

BibTeX
@misc{celikkanat2019kernel,
  author = {Abdulkadir Çelikkanat and Fragkiskos D. Malliaros},
  title = {{Kernel Node Embeddings}},
  year = {2019},
  eprint = {1909.03416},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.03416},
}
Figure