[Paper Review] Community Detection Algorithm Evaluation using Size and Hashtags
This paper proposes a clique-based community detection algorithm (CAA) and evaluates community detection algorithms using community size, coverage, modularity, triangle participation ratio (TPR), and hashtag-based user interest. CAA and InfoMap outperform other algorithms by generating more meaningful communities (size 4–150) with strong thematic coherence, while existing methods often produce overly small or large, incoherent communities.
Understanding community structure in social media is critical due to its broad applications such as friend recommendations, link predictions and collaborative filtering. However, there is no widely accepted definition of community in literature. Existing work use structure related metrics such as modularity and function related metrics such as ground truth to measure the performance of community detection algorithms, while ignoring an important metric, size of the community. [1] suggests that the size of community with strong ties in social media should be limited to 150. As we discovered in this paper, the majority of the communities obtained by many popular community detection algorithms are either very small or very large. Too small communities don't have practical value and too large communities contain weak connections therefore not stable. In this paper, we compare various community detection algorithms considering the following metrics: size of the communities, coverage of the communities, extended modularity, triangle participation ratio, and user interest in the same community. We also propose a simple clique based algorithm for community detection as a baseline for the comparison. Experimental results show that both our proposed algorithm and the well-accepted disjoint algorithm InfoMap perform well in all the metrics.
Motivation & Objective
- To address the overlooked metric of community size in evaluating community detection algorithms.
- To identify and measure the practicality of communities by focusing on size constraints (4–150 users), based on cognitive and social limits.
- To evaluate algorithms not only by structural metrics but also by thematic coherence through user hashtag analysis.
- To propose a novel clique-based algorithm (CAA) that generates overlapping, high-quality communities suitable for social media.
- To demonstrate that optimizing for modularity alone is insufficient without considering community size and thematic consistency.
Proposed method
- Proposes the Clique Augmentation Algorithm (CAA), which starts from maximal cliques and grows communities using a growing threshold and overlapping threshold.
- Uses a growing threshold to control community size and overlapping threshold to manage inter-community overlap.
- Applies five evaluation metrics: community size distribution, coverage (percentage of users in desirable size range), extended modularity, triangle participation ratio (TPR), and hashtag similarity for user interest.
- Collects top 10 hashtags per user and manually labels themes to assess community coherence.
- Evaluates five algorithms—InfoMap, Eigenvector, Fast Greedy, Multilevel, and CAA—on a Twitter network of 318,233 users from 2013.
- Uses TPR to measure internal cohesion, where higher values indicate stronger triangle clustering within communities.
Experimental results
Research questions
- RQ1How do existing community detection algorithms perform in terms of community size distribution, and do they produce communities of practical size (4–150 users)?
- RQ2To what extent do detected communities reflect shared user interests, as measured by hashtag similarity?
- RQ3Can a simple clique-based algorithm (CAA) outperform established algorithms in generating meaningful, cohesive, and appropriately sized communities?
- RQ4How does community size affect the stability and thematic coherence of detected communities?
- RQ5Can modularity optimization be significantly improved by incorporating size constraints during the algorithmic process?
Key findings
- InfoMap assigned 62% of users to communities of size 4–150, indicating strong coverage of desirable community sizes.
- The Eigenvector algorithm produced communities where 93% were of size 1–3, resulting in less than 7% of users assigned to meaningful communities.
- CAA achieved a 41% coverage rate for desirable-sized communities, outperforming Fast Greedy, Multilevel, and Eigenvector in this metric.
- CAA achieved the highest Triangle Participation Ratio (TPR) among all algorithms, indicating superior internal cohesion.
- Communities detected by CAA showed the strongest hashtag similarity, with 10 out of 50 sampled communities classified as 'good' communities with a shared theme.
- Large communities (150–300 users) from InfoMap lacked thematic coherence, as hashtags like #wcw and #tbt were common but not theme-specific.
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.