Skip to main content
QUICK REVIEW

[Paper Review] Kaleido: An Efficient Out-of-core Graph Mining System on A Single Machine

Cheng Zhao, Zhibin Zhang|arXiv (Cornell University)|May 23, 2019
Graph Theory and AlgorithmsComputer Science33 references5 citations
TL;DR

Kaleido is a single-machine, out-of-core graph mining system that treats disk as an extension of memory to efficiently handle large-scale intermediate data in graph mining. It uses a tensor-based intermediate data structure and a lightweight eigenvalue-based isomorphism checking algorithm for subgraphs with fewer than 9 vertices, achieving 12.3× and 40.0× speedup over Arabesque and RStream, respectively.

ABSTRACT

Graph mining is one of the most important categories of graph algorithms. However, exploring the subgraphs of an input graph produces a huge amount of intermediate data. The 'think like a vertex' programming paradigm, pioneered by Pregel, cannot readily formulate mining problems, which is designed to produce graph computation problems like PageRank. Existing mining systems like Arabesque and RStream need large amounts of computing and memory resources. In this paper, we present Kaleido, an efficient single machine, out-of-core graph mining system which treats disks as an extension of memory. Kaleido treats intermediate data in graph mining tasks as a tensor and adopts a succinct data structure for the intermediate data. Kaleido utilizes the eigenvalue of the adjacency matrix of a subgraph to efficiently solve the subgraph isomorphism problems with an acceptable constraint that the vertex number of a subgraph is less than 9. Kaleido implements half-memory-half-disk storage for storing large intermediate data, which treats the disk as an extension of the memory. Comparing with two state-of-the-art mining systems, Arabesque and RStream, Kaleido outperforms them by a GeoMean 12.3$ imes$ and 40.0$ imes$ respectively.

Motivation & Objective

  • Address the challenge of managing massive intermediate data (embeddings) generated during graph mining on a single machine.
  • Overcome the inefficiency of existing systems like Arabesque and RStream, which suffer from high I/O and memory overhead during isomorphism checking and data processing.
  • Enable scalable, high-performance graph mining by treating disk as an extension of memory and using a compact tensor-based data structure.
  • Develop a fast, low-memory isomorphism checking method tailored for small subgraphs (≤9 vertices), avoiding expensive canonical labeling.
  • Provide a simple, user-friendly API for non-experts to express graph mining workloads using a subgraph-centric model.

Proposed method

  • Represents intermediate embeddings in graph mining as tensors to enable compact, efficient storage and processing.
  • Implements half-memory, half-disk storage management, dynamically offloading data to disk when main memory is exhausted.
  • Uses eigenvalue-based isomorphism checking for subgraphs with ≤9 vertices, avoiding costly canonical labeling and reducing memory usage.
  • Applies a subgraph-centric programming model (similar to TLE) to express mining workloads in a declarative, user-friendly way.
  • Optimizes edge-induced and vertex-induced exploration by minimizing redundant I/O and join operations common in systems like RStream.
  • Integrates a lightweight, high-performance isomorphism checker that leverages spectral graph theory for fast comparison of small subgraphs.

Experimental results

Research questions

  • RQ1How can intermediate data in graph mining be stored and processed efficiently on a single machine with limited main memory?
  • RQ2Can eigenvalue-based isomorphism checking outperform canonical labeling for small subgraphs in graph mining workloads?
  • RQ3What is the performance impact of using disk as an extension of memory in out-of-core graph mining systems?
  • RQ4How does a tensor-based intermediate data structure compare to traditional array-based or prefix-tree-based representations in terms of I/O and memory efficiency?
  • RQ5To what extent can a subgraph-centric programming model simplify the implementation of complex graph mining algorithms without sacrificing performance?

Key findings

  • Kaleido achieves a geometric mean speedup of 12.3× over Arabesque and 40.0× over RStream in graph mining workloads.
  • The eigenvalue-based isomorphism checker in Kaleido reduces memory consumption and avoids the expensive memory allocation/deallocation cycles typical in canonical labeling tools like Bliss.
  • By treating disk as an extension of memory, Kaleido efficiently manages intermediate data volumes up to 13.5 billion embeddings (e.g., in 4-embedding mining on the Patent graph).
  • The system's half-memory, half-disk storage strategy enables transparent scalability, reducing I/O overhead compared to systems relying on repeated joins.
  • Kaleido's intermediate data structure is more compact than Arabesque’s prefix-tree-like arrays, reducing storage and access costs.
  • The isomorphism checking algorithm in Kaleido is faster and more memory-efficient than state-of-the-art libraries like Nauty and Bliss, especially for small graphs with ≤9 vertices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.