Abstract
With the development of science and technology, network scales of various fields have increased in an amazing growth. Networks in the fields of biology, economics and society contain rich hidden information of human beings in the form of connectivity structures. Network analysis is generally modeled as network partition and community detection problems. In this paper, we construct a community property-based triangle motif clustering scheme (COMICS), containing a series of high efficient graph partition procedures and triangle motif-based clustering techniques. In COMICS, four network cutting conditions are considered based on the network connectivity. We first divide the large-scale networks into many dense subgraphs under the cutting conditions before leveraging triangle motifs to refine and specify the partition results. To demonstrate the superiority of our method, we implement the experiments on three large-scale networks, including two co-authorship networks, i.e., American physical Society (APS) and Microsoft Academic Graph (MAG), and two social networks, i.e., Facebook and gemsec-Deezer networks. We then use two clustering metrics: compactness and separation, to illustrate the accuracy and runtime of clustering results. A case study is further carried on APS and MAG data sets, in which we construct a connection between network structures and statistical data with triangle motifs. Results show that our method outperforms others in both runtime and accuracy, and the triangle motif structures can bridge network structures and statistical data in the academic collaboration area.
Introduction
As digital networks in biology, economics, and social sciences explode in size, traditional community detection algorithms face significant scalability challenges. Standard approaches often treat individual nodes as the primary unit of analysis. However, this node-centric view can be computationally expensive and may overlook "higher-order" structures that define real-world communities.
In social or academic circles, a single connection between two individuals is often less stable than a "ternary closure"—a triangle where three individuals all know each other. While existing algorithms like Min-Cut or gSpan attempt to identify communities, they often struggle to balance computational speed with the preservation of these meaningful structural patterns. The COMICS framework addresses this by using triangle motifs as the fundamental building blocks for community detection.
Methodology
The COMICS (Community property-based triangle motif clustering scheme) framework operates in three primary phases:
- Graph Partitioning: To handle large-scale networks, COMICS first applies four specific "cutting conditions" based on network connectivity. This "divide and conquer" strategy breaks the massive graph into smaller, dense subgraphs, significantly reducing the search space for subsequent analysis.
- Modularity Refinement: The algorithm iteratively merges these subgraphs to optimize a modularity score ($Q$). This step ensures that the resulting partitions exhibit strong internal connectivity and weak external links.
- Triangle Motif-based Clustering: Within each refined subgraph, COMICS performs spectral clustering using the complete triangle motif as the elementary unit. By constructing a "Motif Laplacian" matrix and analyzing its eigenvectors, the algorithm identifies stable clusters based on motif conductance.
The time complexity of this approach is $O(rn^3)$, where $r$ is the number of subgraphs and $n$ is the number of nodes. This makes COMICS far more scalable than standard global spectral methods.
Experimental Setup
The researchers evaluated COMICS against four large-scale real-world datasets:
- Academic Co-authorship: Data from the American Physical Society (APS) and the Microsoft Academic Graph (MAG), representing millions of collaboration instances.
- Social Networks: Eight categories of Facebook page-link networks (e.g., Politicians, TV Shows, Athletes) and the gemsec-Deezer user network.
Performance was measured using two primary metrics: compactness (internal cluster density) and separation (distinctness between clusters).
Results and Discussion
COMICS demonstrated significant improvements in both speed and accuracy compared to traditional methods:
- Scalability: On academic networks exceeding 30,000 nodes, COMICS outperformed K-means and traditional co-authorship algorithms. For the largest MAG datasets (200k nodes), COMICS completed processing in approximately 14.68 hours, whereas other methods often failed to finish within 5 days.
- Clustering Quality: COMICS consistently achieved superior compactness and separation scores, producing clusters that were more internally dense and better isolated from the rest of the network.
- Bridging Structure and Statistics: A case study on APS and MAG data introduced new metrics: Teamwork of Collaborator Variance (TCV), Teamwork of Paper Variance (TPV), and Motif Variances of Scholars (MSV). The findings revealed that the number of triangle motifs in a research team is directly proportional to its stability and productivity.
Conclusion
COMICS highlights the importance of triangle motifs as the "social glue" of stable communities. By pre-partitioning graphs into dense sub-units, the framework allows for sophisticated motif analysis without global computational overhead. Future work may extend this model to handle directed or weighted edges and adapt the static model for dynamic, streaming network data.
Summary updated