Alternative set-theoretical algorithms for efficient computations of cliques in Vietoris-Rips complexes
Danillo Barros de Souza, Jonatas Teodomiro, Fernando A. N. Santos, Mathieu Desroches, Serafim Rodrigues
TL;DR
The paper tackles the NP-hard problem of identifying cliques in dense networks and Vietoris-Rips complexes by diagnosing bottlenecks in classic algorithms and introducing two set-theoretical, dynamic-neighborhood strategies. The proposed methods—Evolving Neighbourhood Boundary and Evolving Multi-Layer Node-Neighbourhood—rely on discretized set operations and real-time neighborhood maintenance to efficiently extend cliques to higher dimensions. Extensive benchmarks against NetworkX and Gudhi across complete graphs, point-cloud-derived VR complexes, and unweighted real networks demonstrate superior memory efficiency and faster runtimes, enabling scalable computation of higher-order structures. These results have practical implications for topological data analysis tasks and related geometric-inference applications in neuroscience, biology, and network science, where efficient higher-order clique computation is essential.
Abstract
Identifying cliques in dense networks remains a formidable challenge, even with significant advances in computational power and methodologies. To tackle this, numerous algorithms have been developed to optimize time and memory usage, implemented across diverse programming languages. Yet, the inherent NP-completeness of the problem continues to hinder performance on large-scale networks, often resulting in memory leaks and slow computations. In the present study, we critically evaluate classic algorithms to pinpoint computational bottlenecks and introduce novel set-theoretical approaches tailored for network clique computation. Our proposed algorithms are rigorously implemented and benchmarked against existing Python-based solutions, demonstrating superior performance. These findings underscore the potential of set-theoretical techniques to drive substantial performance gains in network analysis.
