An Exact Algorithm with New Upper Bounds for the Maximum k-Defective Clique Problem in Massive Sparse Graphs

Jian Gao, Zhenghang Xu, Ruizhi Li, Minghao YinAAAI 2022

Introduction

In network analysis, identifying cohesive subgroups is a fundamental task. While the concept of a clique—a subset of nodes where every pair is connected—is mathematically elegant, it is often too restrictive for real-world biological or social networks where data may be missing or noisy. The Maximum $k$-Defective Clique Problem (MDCP) addresses this by allowing a group to be missing up to $k$ edges while still being considered a cohesive unit. However, finding the largest such group is an NP-complete problem that becomes computationally prohibitive as the error tolerance $k$ or the graph size increases. Existing algorithms often hit a "complexity wall" when $k$ exceeds 5, particularly in massive sparse graphs.

The KDBB Algorithm

To overcome these limitations, this paper introduces KDBB, a branch-and-bound algorithm specifically optimized for massive sparse graphs. KDBB's efficiency is driven by three primary innovations:

  1. Dual Reduction Rules: Unlike traditional methods that focus solely on vertex removal, KDBB employs five new reduction rules to prune both vertices and edges. By identifying edges that cannot be part of a maximum $k$-defective clique, the algorithm significantly simplifies the search space before the main search begins.
  2. New Upper Bounds ($UB_{G,k}$): The authors derived two new mathematical upper bounds to estimate the maximum size of a $k$-defective clique containing specific vertices. These bounds allow the algorithm to prune branches of the search tree that cannot possibly yield a better solution than the current best.
  3. Candidate-based Pruning (candibound): This technique sorts candidate vertices based on their contribution to "missing edges," allowing for much earlier pruning than standard coloring-based bounds. This method was shown to be approximately 7.6x faster on average than older bounding techniques.

Experimental Evaluation

The algorithm was evaluated using massive sparse graphs from Facebook social networks, the Network Data Repository, and DIMACS10/SNAP benchmarks.

Scalability and Runtime

A key finding is KDBB's ability to maintain stable runtimes as the error tolerance $k$ increases. While state-of-the-art algorithms like MADEC+ and RDS see performance plummet beyond $k=5$, KDBB successfully processes instances with $k$ as high as 30.

Runtime comparison of KDBB against state-of-the-art algorithms on four massive sparse graphs as k increases.

Instance Coverage

KDBB demonstrates superior coverage across diverse datasets. For example, in the Facebook dataset with $k=10$, KDBB solved 109 out of 114 instances, whereas the next best enhanced algorithm solved only 9. The table below illustrates the comparative performance in terms of instances solved across a benchmark suite, highlighting KDBB's robustness as the problem complexity grows.

Comparison of the number of instances solved by KDBB and competing algorithms across different values of k.

Conclusion

KDBB represents a significant advancement in solving the Maximum $k$-Defective Clique Problem in massive sparse graphs. By combining edge-based reduction with novel upper bounds, it effectively breaks the $k=5$ barrier that limited previous exact solvers. While the algorithm excels at finding the single largest group, future work may involve extending these techniques to the enumeration of all maximal $k$-defective cliques and adapting the algorithm for denser graph structures where reduction rules may be less effective.

Summary updated

BibTeX
@inproceedings{gao2022exact,
  author = {Jian Gao and Zhenghang Xu and Ruizhi Li and Minghao Yin},
  title = {{An Exact Algorithm with New Upper Bounds for the Maximum k-Defective Clique Problem in Massive Sparse Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i9.21257},
}
Figure