ACM Transactions on Architecture and Code Optimization

Efficient Learned Hierarchical Storage for Dynamic Graphs

Pengpeng Qiao, Zhiwei Zhang, Xinzhou Wang, Zhetao Li, Xiaochun Cao, Yang Cao

Key points

From the paper's conclusion
  • We also discuss the expected complexity of major operations, incorporate fine-grained concurrency control for parallel execution, and extend the framework to hypergraph storage through a two-instance design.

Abstract

Various real-world applications rely on in-memory dynamic graphs that must efficiently handle frequent updates while supporting low-latency analytics on evolving structures. However, achieving both requirements in dynamic graph systems is challenging due to the inherent trade-off between update efficiency and traversal locality, especially under skewed vertex degree distributions with a few high-degree vertices and many low-degree vertices. This motivates the design of graph indexing schemes optimized for in-memory graph management on modern multi-core CPUs. Recently, learned indexes, due to their ability to model and adapt to data distributions, present a promising direction for addressing this challenge. Yet, their potential in dynamic graph storage remains unexplored. In this paper, we present LHGstore , a L earned H ierarchical G raph storage framework for efficient graph updates and graph analytics on in-memory dynamic graphs. Specifically, LHGstore organizes graph data through a two-level indexing architecture that decouples vertex access from edge access, enabling efficient lookup while preserving locality for traversal. To further adapt to skewed degree distributions, LHGstore adopts a degree-aware storage strategy: low-degree vertices are stored in lightweight array-based layouts to minimize traversal overhead, whereas high-degree vertices are managed by learned edge-level indexes to reduce update cost. We also discuss the expected complexity of major operations, incorporate fine-grained concurrency control for parallel execution, and extend the framework to hypergraph storage through a two-instance design. Extensive experiments on synthetic and real-world datasets demonstrate that LHGstore consistently outperforms representative in-memory graph systems in transactional throughput and graph analytics performance, while also generalizing effectively to hypergraph workloads.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Efficient Learned Hierarchical Storage for Dynamic Graphs — Science Skim