[Paper Review] Efficient Core Maintenance in Large Dynamic Graphs
This paper proposes an efficient algorithm to maintain k-core numbers in large dynamic graphs after edge insertions or deletions. By identifying only a small subset of nodes whose core numbers may change—using a coloring and recoloring strategy—the method achieves sublinear complexity independent of graph size, outperforming full recomputation by over 100× in experiments.
The $k$-core decomposition in a graph is a fundamental problem for social network analysis. The problem of $k$-core decomposition is to calculate the core number for every node in a graph. Previous studies mainly focus on $k$-core decomposition in a static graph. There exists a linear time algorithm for $k$-core decomposition in a static graph. However, in many real-world applications such as online social networks and the Internet, the graph typically evolves over time. Under such applications, a key issue is to maintain the core number of nodes given the graph changes over time. A simple implementation is to perform the linear time algorithm to recompute the core number for every node after the graph is updated. Such simple implementation is expensive when the graph is very large. In this paper, we propose a new efficient algorithm to maintain the core number for every node in a dynamic graph. Our main result is that only certain nodes need to update their core number given the graph is changed by inserting/deleting an edge. We devise an efficient algorithm to identify and recompute the core number of such nodes. The complexity of our algorithm is independent of the graph size. In addition, to further accelerate the algorithm, we develop two pruning strategies by exploiting the lower and upper bounds of the core number. Finally, we conduct extensive experiments over both real-world and synthetic datasets, and the results demonstrate the efficiency of the proposed algorithm.
Motivation & Objective
- Address the challenge of efficiently maintaining k-core numbers in large-scale dynamic graphs where edges are frequently inserted or deleted.
- Overcome the inefficiency of recomputing k-core decomposition from scratch after each update, which is prohibitively expensive for large graphs.
- Identify the minimal set of nodes whose core numbers are affected by a single edge update, reducing computational overhead.
- Develop a scalable algorithm with time complexity independent of graph size, depending only on the number of affected nodes.
- Introduce pruning strategies to further accelerate the update process in practice.
Proposed method
- Propose a novel notion of induced core subgraph $ G_u $, defined as the set of nodes reachable from $ u $ that share the same core number as $ u $, to localize potential updates.
- Use a three-stage algorithm: (1) coloring to identify candidate nodes whose core numbers may change, (2) recoloring to determine which of these nodes definitely require update, and (3) linear-time recomputation on the identified nodes.
- Apply a coloring algorithm that propagates from the endpoints of the updated edge, marking nodes reachable with core number equal to the minimum of the two endpoints’ core numbers.
- Introduce two pruning techniques: X-pruning and Y-pruning, which exploit lower and upper bounds on core numbers to reduce the number of nodes processed.
- Leverage the structural property that only nodes in $ G_u $, $ G_v $, or $ G_{u igcup v} $ can be affected by an edge update between $ u $ and $ v $, enabling precise scope limitation.
- Use a linear-time k-core decomposition algorithm as the final update step, applied only to the minimal set of affected nodes.
Experimental results
Research questions
- RQ1Which nodes in a dynamic graph are actually affected by an edge insertion or deletion, and how can we identify them efficiently without scanning the entire graph?
- RQ2Can we maintain k-core numbers in dynamic graphs with time complexity independent of the graph size?
- RQ3What pruning strategies can be applied to reduce the number of candidate nodes for core number updates?
- RQ4How does the proposed algorithm compare in performance to full recomputation using the standard linear-time k-core algorithm?
- RQ5To what extent does the algorithm scale on real-world and synthetic large-scale dynamic graphs?
Key findings
- The proposed algorithm is over 100 times faster than recomputing the k-core decomposition from scratch after each edge update.
- The time complexity of the algorithm depends only on the number of affected nodes, not on the total size of the graph, enabling sublinear performance.
- The coloring and recoloring phases effectively identify the minimal set of nodes requiring core number updates, reducing unnecessary computation.
- The X-pruning and Y-pruning strategies significantly reduce the number of nodes processed, accelerating the algorithm in practice.
- Extensive experiments on 15 real-world and 5 large synthetic datasets confirm the algorithm’s high efficiency and scalability in dynamic graph settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.