English

Simplified Algorithms for Order-Based Core Maintenance

Databases 2022-01-19 v1 Data Structures and Algorithms

Abstract

Graph analytics attract much attention from both research and industry communities. Due to the linear time complexity, the kk-core decomposition is widely used in many real-world applications such as biology, social networks, community detection, ecology, and information spreading. In many such applications, the data graphs continuously change over time. The changes correspond to edge insertion and removal. Instead of recomputing the kk-core, which is time-consuming, we study how to maintain the kk-core efficiently. That is, when inserting or deleting an edge, we need to identify the affected vertices by searching for more vertices. The state-of-the-art order-based method maintains an order, the so-called kk-order, among all vertices, which can significantly reduce the searching space. However, this order-based method is complicated for understanding and implementation, and its correctness is not formally discussed. In this work, we propose a simplified order-based approach by introducing the classical Order Data Structure to maintain the kk-order, which significantly improves the worst-case time complexity for both edge insertion and removal algorithms. Also, our simplified method is intuitive to understand and implement; it is easy to argue the correctness formally. Additionally, we discuss a simplified batch insertion approach. The experiments evaluate our simplified method over 12 real and synthetic graphs with billions of vertices. Compared with the existing method, our simplified approach achieves high speedups up to 7.7x and 9.7x for edge insertion and removal, respectively.

Keywords

Cite

@article{arxiv.2201.07103,
  title  = {Simplified Algorithms for Order-Based Core Maintenance},
  author = {Bin Guo and Emil Sekerinski},
  journal= {arXiv preprint arXiv:2201.07103},
  year   = {2022}
}

Comments

12 pages, 7 figures, submited to VLDB