An optimization algorithm for maximum quasi-clique problem based on information feedback model

Shuhong Liu, Jincheng Zhou, Dan Wang, Zaijun Zhang, Mingjie LeiPeerJ Comput. Sci 2024

TL;DR

This paper introduces two novel algorithms, NF1 and NR1, for the maximum quasi-clique problem, a challenging task in graph theory with applications in various fields. By incorporating an "information feedback model" that leverages historical data and vertex properties, these algorithms demonstrate improved performance over existing methods, particularly in dense graph instances.

What Problem Does This Paper Address?

The paper tackles the Maximum Quasi-Clique Problem (MQCP). In graph theory, a "clique" is a group of nodes where every pair is directly connected. However, real-world networks often have "quasi-cliques" where connections might be indirect but still represent a cohesive group. The MQCP aims to find the largest such quasi-clique in a graph. While the standard Maximum Clique Problem (MCP) is NP-hard, the MQCP is a relaxation that is more applicable to real-world scenarios like social networks and bioinformatics. Existing algorithms for MQCP often struggle with large-scale problems or don't fully utilize historical information from previous search iterations, potentially leading to suboptimal solutions or convergence to local optima.

Methods

The core contribution of this paper is the development of two new algorithms, NF1 and NR1, which are variants of the NuQClq algorithm. These algorithms enhance the search process by introducing an information feedback model. This model:

  • Leverages Historical Data: It considers information from previous iterations (specifically, the last three) to guide the current search. This includes tracking vertex scores (scoreHistory) and the size of historical quasi-cliques (populationHistory).
  • Calculates Fitness with Weighted Information: Instead of relying solely on current vertex properties, the algorithms calculate a weighted fitness score that incorporates both current and historical information. This is achieved through two specific models:
  • F1 Model: Uses the current vertex's historical data.
  • R1 Model: Randomly selects another vertex to incorporate its historical data, promoting diversity.
  • Strategic Vertex Addition/Deletion: Based on the calculated information feedback score, the algorithms strategically add or remove vertices to improve the current quasi-clique. If the current set is a valid quasi-clique, vertices are added based on the highest feedback score. If not, vertices are added based on the highest feedback score, and removed based on the lowest feedback score to escape local optima.
  • Secondary Scoring Function: Builds upon NuQClq's secondary scoring function, which uses "cumulative saturation" to differentiate vertices with identical main scores, thus avoiding local optima.

Datasets

The paper evaluates the proposed algorithms on a variety of datasets:

  • Dense Instances: A collection of dense graphs, including instances from DIMACS benchmarks (e.g., Brock400_2, C1000.9, C2000.9), gen200_p0.9_44, gen400_p0.9_55, gen400_p0.9_65, hamming10-4, frb50-23-1 to frb50-23-5, frb53-24-1 to frb53-24-5, frb59-26-1 to frb59-26-5, and p-hat1000-1 to p-hat1500-2.
  • Sparse Instances: A collection of sparse graphs, including bio-WormNet, CSphd, delaunay_n10, EX2, G44, 145bit, ia-email-univ, ia-fb-message, inf-euroroad, soc-hamsterster, soc-FourSquare, American75, Auburn71, Baylor93, Berkeley13, and Brandeis99.

No new benchmarks were introduced; existing ones were used for evaluation.

Key Insights and Ideas

  • Historical Data is Crucial for Dense Graphs: The algorithms' reliance on historical vertex information (scoreHistory and populationHistory) significantly benefits performance in dense graphs. This is because dense graphs have rich connectivity, providing more meaningful historical context for each vertex.
  • Information Feedback Model Enhances Search Diversity: By incorporating data from previous iterations, the information feedback model helps the algorithms explore the solution space more effectively and avoid getting stuck in local optima, especially when compared to algorithms that only consider current states.
  • Trade-off in Sparse Graphs: While NF1 and NR1 perform comparably to NuQClq in sparse graphs, they don't show the same dramatic improvements seen in dense graphs. This suggests that the rich connectivity of dense graphs is a key factor for the success of this information feedback approach.
  • Iteration Count Matters: The number of iterations significantly impacts the performance of the NF1 and NR1 variants. The paper found that a higher iteration count (e.g., 4,000) generally yields superior results compared to lower counts.

Key Results

  • Dense Graphs: NF1 and NR1 demonstrated superior or comparable results to NuQClq in most dense instances. NF1 was effective in 48 out of 50 instances. NR1 also performed well, with both variants achieving comparable or better results than NuQClq at a high density threshold (γ = 0.999).
  • Sparse Graphs: NF1 and NR1 were capable of identifying large quasi-cliques in sparse graphs, achieving results comparable to NuQClq. However, the improvements were less pronounced than in dense graphs.
  • Search Time: While the proposed algorithms sometimes exhibited a slightly higher average search time compared to NuQClq, all results remained well within the maximum search time limit of 1000 seconds, indicating practicality.

Limitations and Future Work

  • Effectiveness in Sparse Graphs: The paper acknowledges that the proposed algorithms are most effective in very dense situations and that larger quasi-cliques could not be obtained in sparse graphs. This limits the effectiveness of the approach in such scenarios.
  • Further Optimization: The authors suggest that future work should focus on further optimizing the algorithm to reduce search time.
  • More Instances and Density Thresholds: Testing with more instances and a wider range of density thresholds is also recommended for future research.
  • Understanding Sparse Graph Behavior: Investigating why the algorithms are less effective in sparse graphs and exploring ways to improve performance in these scenarios would be valuable.

Summary updated

BibTeX
@article{liu2024optimization,
  author = {Shuhong Liu and Jincheng Zhou and Dan Wang and Zaijun Zhang and Mingjie Lei},
  title = {{An optimization algorithm for maximum quasi-clique problem based on information feedback model}},
  journal = {PeerJ Comput. Sci.},
  year = {2024},
  doi = {10.7717/peerj-cs.2173},
}
Figure