Speeding‐Up Graph Algorithms via Clique Partitioning

Read full text
Authors: Akshar Shravan Chavan, Sanaz Rabinia, Daniel Grosu, Marco Brocanelli
Cited by: 0

Abstract

ABSTRACT Reducing the running time of graph algorithms is vital for tackling real‐world problems such as shortest paths and matching in large‐scale graphs, where path information plays a crucial role. To address this critical challenge, this paper introduces a graph restructuring algorithm that identifies bipartite cliques and replaces them with tripartite graphs. This restructuring leads to fewer edges while preserving complete graph path information, enabling the direct application of algorithms like matching and all‐pairs shortest paths to achieve significant runtime reductions, especially for large, dense graphs. The running time of the proposed algorithm for a graph , with and is , which is better than , the running time of the best existing algorithm for speeding‐up other graph algorithms (the Feder–Motwani ( FM ) algorithm), where . Both the FM algorithm and the proposed algorithm are originally formulated for bipartite graphs, but can also be applied to general directed or undirected graphs. Our extensive experimental analysis demonstrates that the proposed algorithm achieves up to 21.26% higher reduction in the number of edges and runs up to faster than the FM algorithm. On large synthetic graphs with up to 1.05 billion edges, it attains a reduction in the number of edges of up to 74.36%. On real‐world graphs, it achieves a reduction in the number of edges by up to 46.8%. Furthermore, when used as a preprocessing step, our approach yields up to a speedup for the matching algorithms on large synthetic graphs, and up to a speedup for the All‐Pairs Shortest Path algorithms on real‐world graphs, when compared to using the given graph as input.

Fields of Study & Subjects

Graph Theory and Algorithms Distributed and Parallel Computing Systems Interconnection Networks and Systems

Publication details

Journal / source
Networks
Volume
88
Issue
1
Pages
85–98
Publication date
13 April 2026
Language
EN