Introduction
Location inference is a critical task for social media analytics, enabling applications ranging from disaster response to targeted marketing. Despite its importance, explicit location data is sparse; for instance, only a small fraction of Twitter users provide geo-tagged information. Existing methods typically rely on either textual content or social network structures in isolation. Content-based approaches often struggle with the informal nature of social media language, while network-based methods overlook the rich semantic information available in user posts. This paper presents a unified probabilistic framework, the Semi-Supervised Factor Graph Model (SSFGM), designed to integrate these disparate data sources for robust location prediction.
Methodology: The SSFGM Framework
The core of the proposed approach is the Semi-Supervised Factor Graph Model (SSFGM), which represents the dependencies between user locations and their associated features. The model incorporates two primary types of factors:
- Attribute Factors: These capture the relationship between a user's local features (e.g., profile language, keywords) and their location. To model complex, non-linear patterns, the authors utilize a two-layer neural network to extract "deep features" from the raw attributes.
- Correlation Factors: These model the social dependencies between users, leveraging the principle of homophily—the tendency of individuals to interact with others in close geographic proximity.
To address the computational challenges of large-scale social networks, the researchers introduced the Two-Chain Sampling (TCS) algorithm. Traditional inference methods like Loopy Belief Propagation are often too slow for million-node graphs. TCS utilizes a contrastive divergence-inspired approach, maintaining two parallel Markov chains to efficiently update model parameters, achieving a significant speedup over conventional methods.
Experimental Evaluation
The model was evaluated on three massive, real-world datasets:
- Twitter (World): 1.5 million users across 159 countries, using "mentions" (@) to define network edges.
- Twitter (USA): 329,000 users across 50 states and D.C., focusing on granular regional inference.
- Weibo: 1.07 million users in China across 34 provinces, utilizing reciprocal following relationships.
Results and Discussion
The SSFGM consistently outperformed baseline models, including SVMs and Graph Convolutional Networks (GCNs). A key finding was the synergy between content and network features. While content is highly informative for international location inference, network ties become increasingly important for distinguishing between regions within the same country.
The efficiency of the TCS algorithm was a major highlight, providing a 100x speedup compared to standard propagation techniques. This allows the model to process million-node networks in under two hours. Furthermore, the model demonstrated high robustness in semi-supervised settings, maintaining strong performance even when only 10% of the training data was labeled.
Conclusion
The SSFGM framework offers a scalable and accurate solution for location inference by effectively combining textual and structural information. Future work may involve extending the model to capture temporal dynamics, such as user mobility, and exploring more advanced neural architectures for the deep factor components.
Summary updated