[Paper Review] A Novel Approach to Finding Near-Cliques: The Triangle-Densest Subgraph Problem
This paper introduces the Triangle-Densest Subgraph (TDS) problem, a novel polynomial-time approach to finding near-cliques in large graphs by maximizing average triangle density. Unlike the standard Densest Subgraph problem, which favors high-degree but low-clique-density subgraphs, TDS effectively identifies near-cliques—especially in cases where the DS problem fails—via exact and approximation algorithms, including a 1/3-approximation and a MapReduce implementation.
Many graph mining applications rely on detecting subgraphs which are near-cliques. There exists a dichotomy between the results in the existing work related to this problem: on the one hand the densest subgraph problem (DSP) which maximizes the average degree over all subgraphs is solvable in polynomial time but for many networks fails to find subgraphs which are near-cliques. On the other hand, formulations that are geared towards finding near-cliques are NP-hard and frequently inapproximable due to connections with the Maximum Clique problem. In this work, we propose a formulation which combines the best of both worlds: it is solvable in polynomial time and finds near-cliques when the DSP fails. Surprisingly, our formulation is a simple variation of the DSP. Specifically, we define the triangle densest subgraph problem (TDSP): given $G(V,E)$, find a subset of vertices $S^*$ such that $τ(S^*)=\max_{S \subseteq V} \frac{t(S)}{|S|}$, where $t(S)$ is the number of triangles induced by the set $S$. We provide various exact and approximation algorithms which the solve the TDSP efficiently. Furthermore, we show how our algorithms adapt to the more general problem of maximizing the $k$-clique average density. Finally, we provide empirical evidence that the TDSP should be used whenever the output of the DSP fails to output a near-clique.
Motivation & Objective
- Address the limitation of the Densest Subgraph (DS) problem in failing to detect near-cliques despite being solvable in polynomial time.
- Overcome the intractability of clique-based formulations by introducing a new, tractable objective function based on triangle density.
- Develop efficient algorithms that outperform DS in identifying near-clique structures in real-world networks.
- Generalize the approach to maximize average k-clique density for constant k, extending applicability to higher-order dense subgraphs.
- Provide a constrained variant of the TDS problem that incorporates user-defined query sets, useful for targeted subgraph discovery.
Proposed method
- Define the Triangle-Densest Subgraph (TDS) problem as maximizing the ratio of induced triangles to vertex count: $ \tau(S) = \frac{t(S)}{|S|} $, where $ t(S) $ is the number of triangles in subgraph $ S $.
- Propose three exact algorithms, with the most efficient based on maximum flow computation, specifically designed for the TDS problem and not generalizable from existing DS solvers.
- Introduce a $ \frac{1}{3} $-approximation algorithm that runs faster than exact methods, using a greedy vertex addition strategy based on triangle contribution.
- Design a MapReduce-compatible $ \frac{1}{3+3\epsilon} $-approximation algorithm requiring $ O(\log n / \epsilon) $ rounds, leveraging efficient triangle counting primitives.
- Generalize the framework to maximize average $ k $-clique density for constant $ k $, extending the method beyond triangles.
- Integrate a constrained version of TDS where a query set $ Q $ is fixed, and the algorithm builds a dense subgraph around $ Q $ by adding vertices that maximize triangle density.
Experimental results
Research questions
- RQ1Can a polynomial-time objective be designed that reliably detects near-cliques where the Densest Subgraph problem fails?
- RQ2How does the triangle-densest subgraph formulation compare to the standard densest subgraph in real-world networks with community structures?
- RQ3What is the approximation quality and scalability of algorithms for the TDS problem, especially in distributed environments like MapReduce?
- RQ4Can the TDS formulation be generalized to detect dense subgraphs based on higher-order cliques (e.g., $ K_4 $) while maintaining tractability?
- RQ5How effective is the constrained TDS variant in identifying cohesive subgraphs centered on specific query nodes, such as political figures or researchers?
Key findings
- The TDS problem successfully identifies near-cliques in cases where the DS problem fails, such as in a graph composed of a triangle and a large complete bipartite clique, where TDS selects the triangle.
- On the US Senate roll-call vote network (100 senators), the $ \frac{1}{3} $-approximation algorithm recovered a 47-vertex subgraph with 100% Republican affiliation, capturing the dominant party cluster.
- In the DBLP co-authorship network, the algorithm recovered a 44-vertex subgraph of Italian computer scientists, forming a dense triangle-rich group, with the output subgraph being disconnected from the query set.
- The TDS problem consistently outperforms the DS problem in detecting cohesive, clique-like communities, as shown by the top-7 triangle-densest subgraphs in DBLP having higher clique-like structure than the top-7 DS outputs.
- Preliminary results show that while increasing $ k $ from 3 to 4 (i.e., $ K_4 $-density) yields gains, the improvement from DS to TDS is significantly larger, indicating TDS's unique value.
- The MapReduce implementation achieves $ \frac{1}{3+3\epsilon} $-approximation in $ O(\log n / \epsilon) $ rounds, demonstrating scalability for large-scale graphs using efficient triangle counting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.