CLUDE: An Efficient Algorithm for LU Decomposition Over a Sequence of Evolving Graphs

Chenghui Ren, Luyi Mo, Ben Kao, Reynold Cheng, David W. Cheung

Introduction

In modern data science, many critical graph-based metrics—such as PageRank, Personalized PageRank (PPR), and Random Walk with Restart (RWR)—rely on solving large-scale linear systems of the form $Ax = b$. However, real-world graphs like social networks, web links, and citation indices are rarely static. They evolve continuously, with edges and nodes appearing or disappearing over time. CLUDE (Cluster-based LU DEcomposition) is a novel algorithm designed to efficiently solve these linear systems across a sequence of evolving graph snapshots, achieving significant speedups over traditional methods.

The Challenge of Evolving Graphs

To solve linear systems efficiently, researchers typically employ LU decomposition, which factors a matrix $A$ into lower ($L$) and upper ($U$) triangular matrices. While effective for static graphs, applying LU decomposition to a sequence of evolving graphs introduces two primary bottlenecks:

  1. Ordering Quality Degradation: To maintain sparsity in $L$ and $U$ matrices and avoid "fill-ins" (unnecessary non-zero entries), matrix rows and columns must be reordered. An ordering optimized for an initial snapshot quickly loses its effectiveness as the graph structure changes, leading to a "fill-in explosion."
  2. Structural Bookkeeping Overhead: Sparse matrices are often stored in dynamic, linked-list-like structures. Research indicates that in standard incremental updates, approximately 70% of execution time is consumed by the "bookkeeping" required to restructure these data structures rather than the actual numerical computation.
Fluctuation of PageRank scores across 1,000 graph snapshots, highlighting the need for frequent re-computation.

As shown in the figure above, graph metrics can fluctuate significantly over time, requiring frequent updates to maintain accuracy.

The CLUDE Methodology

CLUDE addresses these challenges by shifting from a purely incremental approach to a cluster-based strategy. The algorithm introduces three key innovations:

$\alpha$-Clustering

Instead of treating the graph sequence as a continuous chain, CLUDE partitions snapshots into clusters based on "Matrix Edit Similarity." Matrices within a cluster are structurally similar enough to share a common computational strategy.

Universal Ordering and USSP

For each cluster, CLUDE calculates a "Universal Ordering" based on the union of all sparsity patterns within that group ($A_\cup$). This ensures that the ordering remains high-quality for every matrix in the cluster. Furthermore, CLUDE pre-calculates a Universal Symbolic Sparsity Pattern (USSP)—a superset of all possible non-zero entries that could appear in the $L$ and $U$ matrices for any member of the cluster.

Evolution of graph structure across snapshots #196, #197, and #247, illustrating the incremental changes that CLUDE clusters.

Static Data Structures

By leveraging the USSP, CLUDE constructs a static adjacency list structure. Because this structure is guaranteed to accommodate all possible fill-ins for the entire cluster, the algorithm eliminates the need for dynamic memory resizing or pointer manipulation during updates. Numerical values are simply updated in place, bypassing the 70% "bookkeeping" bottleneck.

Experimental Results

The researchers evaluated CLUDE using real-world datasets (Wikipedia hyperlinks and DBLP co-authorship) and synthetic scale-free graphs. The results demonstrate the algorithm's robustness and efficiency:

  • Speed: CLUDE consistently achieves a 10x to 20x speedup compared to recomputing from scratch and significantly outperforms standard incremental algorithms.
  • Sparsity: By using universal ordering, CLUDE maintains superior matrix sparsity. In the Wiki dataset, it reduced the number of "extra" fill-ins by a factor of 15 compared to traditional incremental methods.
  • Stability: The algorithm remains stable across various similarity thresholds ($\alpha$), reducing the need for extensive parameter tuning.

Conclusion

CLUDE represents a significant advancement in processing evolving graphs. By trading a small amount of memory (storing potential zeros in the USSP) for massive gains in execution speed, it enables real-time analysis of large-scale, shifting networks. Future work may extend this cluster-based approach to other complex analytical tasks beyond linear systems.

Summary updated

BibTeX
@inproceedings{ren2014clude,
  author = {Chenghui Ren and Luyi Mo and Ben Kao and Reynold Cheng and David W. Cheung},
  title = {{CLUDE: An Efficient Algorithm for LU Decomposition Over a Sequence of Evolving Graphs}},
  booktitle = {EDBT},
  year = {2014},
  doi = {10.5441/002/edbt.2014.30},
}
Figure