Introduction
In the era of location-based social networks (LBSNs) such as Foursquare and WeChat, user check-in data—our "digital breadcrumbs"—provide a rich source of information about human behavior. A critical challenge in this domain is Social Relationship Link Inference: determining whether two users share a social bond based solely on their movement patterns. Traditional methods often rely on hand-crafted features or unsupervised graph random walks, which struggle to capture the complex spatiotemporal nature of human movement.
To address these limitations, researchers have developed SLiGCN (Social Relationship Link Inference based on GCN), an end-to-end deep learning framework. By combining Recurrent Neural Networks (RNNs) to model individual movement and Graph Convolutional Networks (GCNs) to incorporate social context, SLiGCN achieves a significant performance boost over existing baselines, improving accuracy by approximately 10% without requiring manual feature engineering.
Methodology
The SLiGCN framework is composed of three integrated modules designed to process both sequential trajectory data and structural social data.
- Check-in Trajectory Feature Extraction: Raw check-in data, consisting of location IDs and timestamps, are converted into embeddings. A Gated Recurrent Unit (GRU) processes these sequences to capture the chronological patterns and "rhythm" of a user's movements, such as workday versus weekend routines.
- Graph Convolutional Network (GCN) Module: This module addresses the sparsity of social graphs. In addition to known social ties, the authors introduce co-occurrence edges—links between users who appear at the same location within a specific time window. The GCN then fuses a user’s individual movement features with those of their neighbors, capturing the collective influence of a social circle.
- Social Relation Link Inference: The final module takes the refined embeddings of a user pair, computes their difference, and utilizes a fully connected neural network with a softmax layer to predict the probability of a social link.
Datasets and Data Analysis
The model was evaluated on three real-world LBSN datasets: Brightkite (Tokyo), Gowalla (New York), and Foursquare (New York). To ensure the data reflected stable social environments, the researchers filtered out "tourists" (users with less than 10% of check-ins in the target city).
Analysis of these datasets revealed that "Friends" and "One-degree Related Friends" exhibit significantly higher rates of common arrivals and co-occurrences compared to "Strangers." This observation justifies the inclusion of co-occurrence edges in the GCN module to enrich the structural information available to the model, particularly in sparse social networks.
Key Results and Insights
SLiGCN consistently outperformed traditional baselines like DeepWalk and Metapath2vec, achieving an AUC (Area Under the Curve) of 0.74 to 0.85.
Key findings include:
- The Power of Co-occurrence: Adding edges for physical co-presence significantly mitigates the "sparsity problem" common in social graphs, providing the GCN with richer structural information.
- Optimal Time Windows: Through experimentation, a 1-hour window for co-occurrence was found to be the "sweet spot," balancing the capture of meaningful interactions against the introduction of random noise from strangers.
- Graph Density Impact: Performance was highest on the Brightkite dataset, which featured the densest social graph (7.95 links per user), highlighting the GCN's ability to leverage structural connectivity.
Conclusion
SLiGCN demonstrates that an end-to-end supervised approach combining GRUs and GCNs can effectively infer social relationships from sparse check-in data. While the model shows promise, future work is needed to address computational overhead at scale and to further refine performance on extremely sparse graphs. Additionally, the ability to infer private social links from location data underscores the need for robust privacy-preserving mechanisms in future LBSN applications.
Summary updated