Community Detection from Location-Tagged Networks

Zhi Liu, Yan Huang

Introduction

Traditional community detection algorithms often prioritize social topology over physical location, leading to clusters that are geographically dispersed. This research addresses this gap by integrating geographic coordinates directly into the detection process, aiming to identify communities that are both socially cohesive and geographically compact.

Problem Statement

In network science, community detection identifies groups of nodes with dense internal connections. While modularity optimization is a standard approach, it typically ignores the spatial dimension. In reality, geography significantly influences social ties; individuals are more likely to connect with those in close proximity. Neglecting this factor results in "communities" that lack practical utility for localized applications like urban planning, regional marketing, or local event organization.

Methodology

The proposed approach enhances traditional modularity-based clustering through several key components:

Network Locality Diagnostic

To determine if a network is sufficiently influenced by geography to warrant this approach, the authors utilize the Total Variation Distance (TVD). This metric compares the distance distribution of connected pairs against random pairs. A TVD threshold (typically > 0.25) identifies networks where geography is a primary driver of connectivity.

CDF of distances showing TVD for network locality diagnostic.

Connection Locality and Node Similarity

A "Connection Locality" weight ($L_{vw}$) is defined using an exponential decay function based on physical distance. Additionally, a structural similarity measure ($S_{vw}$) based on common neighbors ensures that clusters represent shared social circles rather than just physical proximity. Empirical data from Twitter and Gowalla confirms that higher node similarity strongly correlates with shorter geographic distances.

Average geographic distance vs. node similarity for Gowalla and Twitter datasets.

Modified Modularity ($Q^s$)

The core innovation is a modified modularity equation, $Q^s$, which rewards internal edges that are both geographically close and structurally similar. A greedy hierarchical clustering strategy is employed to maximize $Q^s$ gains during community merging, effectively filtering out "weak" long-distance connections that can obscure true community structures.

Datasets and Experimental Results

The method was validated using synthetic data, Twitter profile locations (~148,000 users), and Gowalla check-in data (~99,000 users).

  • Twitter: The proposed method reduced the average geographic span of communities by nearly 50% compared to traditional modularity methods while maintaining high social cohesion.
  • Gowalla: For this highly local network, the method actually increased internal density (tightness) compared to standard methods. This suggests that for location-dependent networks, ignoring geography leads to less accurate social detection.
  • Scalability: By utilizing optimized data structures like balanced binary trees, the algorithm processed a 20,000-node network in approximately 30 seconds, demonstrating its viability for large-scale real-world applications.

Conclusion and Future Work

Geography is a fundamental structural property of social networks. By treating it as a primary filter rather than an afterthought, researchers can identify more meaningful, localized communities. Future work will focus on optimizing parameters like the decay constant ($\sigma$) for different network scales and developing even lower-cost versions of the algorithm for billion-node graphs.

Summary updated

BibTeX
@inproceedings{liu2014community,
  author = {Zhi Liu and Yan Huang},
  title = {{Community Detection from Location-Tagged Networks}},
  booktitle = {SIGSPATIAL/GIS},
  year = {2014},
  doi = {10.1145/2666310.2666496},
}
Figure