Cleora: A Simple, Strong and Scalable Graph Embedding Scheme

Barbara Rychalska, Piotr Bąbel, Konrad Gołuchowski, Andrzej Michałowski, Jacek Dąbrowski
2/3/2021
20 citations
cs.LGcs.AI

Official code: BaseModelAI/cleora (547 stars, Jupyter Notebook, last commit 2026-04-02).

Abstract

The area of graph embeddings is currently dominated by contrastive learning methods, which demand formulation of an explicit objective function and sampling of positive and negative examples. This creates a conceptual and computational overhead.

Show full abstract

Simple, classic unsupervised approaches like Multidimensional Scaling (MSD) or the Laplacian eigenmap skip the necessity of tedious objective optimization, directly exploiting data geometry. Unfortunately, their reliance on very costly operations such as matrix eigendecomposition make them unable to scale to large graphs that are common in today's digital world. In this paper we present Cleora: an algorithm which gets the best of two worlds, being both unsupervised and highly scalable. We show that high quality embeddings can be produced without the popular step-wise learning framework with example sampling. An intuitive learning objective of our algorithm is that a node should be similar to its neighbors, without explicitly pushing disconnected nodes apart. The objective is achieved by iterative weighted averaging of node neigbors' embeddings, followed by normalization across dimensions. Thanks to the averaging operation the algorithm makes rapid strides across the embedding space and usually reaches optimal embeddings in just a few iterations. Cleora runs faster than other state-of-the-art CPU algorithms and produces embeddings of competitive quality as measured on downstream tasks: link prediction and node classification. We show that Cleora learns a data abstraction that is similar to contrastive methods, yet at much lower computational cost. We open-source Cleora under the MIT license allowing commercial use under https://github.com/Synerise/cleora.

View on arXivView PDF

Code Implementations(1)

BaseModelAI/cleoraOfficial100%

Cleora AI is a general-purpose open-source model for efficient, scalable learning of stable and inductive entity embeddings for heterogeneous relational data. Created by Synerise.com team.

54758Jupyter Notebook, PythonNov 5, 20208 months agoNOASSERTION
aicleora-embeddingsdatasetsdeepwalkembeddings+8 more

Similar Papers

Cite this paper

@article{rychalska2021cleora,
  title  = {Cleora: A Simple, Strong and Scalable Graph Embedding Scheme},
  author = {Barbara Rychalska and Piotr Bąbel and Konrad Gołuchowski and Andrzej Michałowski and Jacek Dąbrowski},
  year   = {2021},
  eprint = {2102.02302},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.02302}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.02302.svg)](https://codeofpaper.com/paper/2102.02302)

Discussion