Abstract
The Maximum Quasi-Clique Problem (MQCP) is a fundamental challenge in graph theory with wide-ranging applications in social network analysis, bioinformatics, and finance. This paper introduces NuQClq, a high-performance local search algorithm that addresses the limitations of existing heuristics, specifically sub-optimal tie-breaking and search cycling. By employing a novel Cumulative Saturation Heuristic and a Bounded Configuration Checking (BoundedCC) mechanism, NuQClq achieves significant improvements in solution quality and computational efficiency across hundreds of benchmark instances.
Introduction
In graph theory, a clique represents a perfectly connected subgraph. However, real-world data is often noisy, making the Maximum Clique Problem (MCP) too restrictive. The Maximum Quasi-Clique Problem (MQCP) relaxes this by seeking the largest subset of vertices with an edge density of at least $\gamma$ ($0 < \gamma \le 1$). As an NP-hard problem, MQCP requires efficient heuristic approaches for large-scale graphs. Existing local search methods often suffer from stagnation due to frequent ties in vertex selection and repetitive cycling through the same search space.
Methodology
NuQClq introduces two primary innovations to enhance the local search process:
1. Cumulative Saturation Heuristic
Standard algorithms often select vertices based on their current degree relative to the candidate set ($d_S(v)$). However, ties are frequent—occurring in nearly 15% of cases in benchmark tests. NuQClq introduces "Cumulative Saturation" ($\Gamma(v)$) as a secondary scoring function. This metric tracks the historical potential of a vertex, prioritizing those that have consistently remained near the quasi-clique boundary. This informed tie-breaking reduces random selection probability from 60.7% to 7.2%.
2. Bounded Configuration Checking (BoundedCC)
To prevent the algorithm from revisiting previous states (cycling), Configuration Checking (CC) forbids re-adding a vertex until its neighborhood changes. NuQClq utilizes BoundedCC, which imposes an upper limit on the forbidding threshold. Unlike dynamic CC variants where thresholds can grow indefinitely—potentially locking out high-quality vertices in dense graphs—BoundedCC resets the threshold upon reaching the limit, promoting search diversity and helping the algorithm escape local optima.
Experimental Evaluation
The performance of NuQClq was evaluated on 289 instances, including 187 classic DIMACS/BHOSLIB benchmarks and 102 sparse real-world networks from the SNAP collection. NuQClq was compared against three state-of-the-art algorithms: BRKGA-LSQClique, TSQC, and OBMA.
Key Results
Solution Quality
NuQClq consistently found better or equal solutions compared to its competitors. On classic benchmarks, it outperformed BRKGA-LSQClique in 84 instances. The algorithm's robustness was further confirmed through automated parameter tuning using the irace tool, showing stable performance across various settings.
Computational Efficiency
NuQClq demonstrates a significant speed advantage. On classic benchmarks, it achieved speedups of up to 15.99x over BRKGA-LSQClique and 5.92x over TSQC. In sparse real-world instances, it was up to 33.9x faster than OBMA.
Conclusion
NuQClq represents a significant advancement in solving the Maximum Quasi-Clique Problem. By leveraging historical search data for tie-breaking and implementing a bounded cycle-prevention mechanism, the algorithm provides a robust and efficient solution for identifying dense subgraphs in complex networks. Future work will explore the application of these heuristics to related graph problems such as the Maximum $k$-Plex and $k$-Club problems.
Summary updated