Abstract
Geolocating social media users is critical for applications ranging from emergency response to targeted advertising. This paper presents the Nested Chinese Restaurant Franchise (nCRF), a generative model that learns hierarchical structures for geographic locations and topical content. By modeling geography as a tree rather than a flat grid and allowing for personalized user subtrees, the proposed approach reduces location uncertainty by 40% compared to previous state-of-the-art methods, achieving an average error of 298km on standard benchmarks.
Introduction
Determining the geographic origin of social media posts is a high-stakes challenge. Existing geolocation models often suffer from two primary limitations: rigid representations and a failure to account for user heterogeneity. Flat grids or simple clustering methods ignore the natural hierarchy of geography—where regional language patterns often nest within broader national or continental trends. Furthermore, while global topics exist, individual users exhibit highly specific "home" locations and personal interests. This research bridges these gaps by automatically discovering hierarchical relationships between places and language while accounting for individual user behavior.
Methods: The Nested Chinese Restaurant Franchise
The core innovation is the Nested Chinese Restaurant Franchise (nCRF), which integrates two Bayesian nonparametric concepts: the Nested Chinese Restaurant Process (nCRP) for hierarchical tree structures and the Chinese Restaurant Franchise (CRF) for sharing global topics across user groups.
Generative Process
The model generates tweets through a multi-step process:
- Path Selection: Users select a path down the global tree, moving from broad regions to specific locales.
- Location Generation: Coordinates are drawn from a Hierarchical Multivariate Gaussian model, where variance decreases at deeper levels of the tree, reflecting higher precision.
- Content Generation: Words are sampled from a mixture of global topics and cascaded location-specific language models.
This structure allows the model to learn that specific entities (e.g., "The Giants") belong to different regional contexts (San Francisco vs. New York) based on the hierarchy. Inference is performed using a collapsed direct-assignment Gibbs sampler and a Tree Structure Kalman Filter.
Key Results and Evaluation
The model was evaluated on two datasets: a large-scale Twitter stream (DS1) with 573,203 tweets and the standard GeoText benchmark (DS2).
As shown in the results, the nCRF model achieved a significant accuracy boost. On the DS2 benchmark, it reached an average error of 298km, a substantial improvement over previous benchmarks like Hong (2012) at 373km and Eisenstein (2010) at 494km. Qualitatively, the model successfully discovered human-understandable hierarchies, separating regions like Indonesia, the USA, and the UK based solely on textual and coordinate data.
Discussion and Conclusion
The nCRF demonstrates that modeling geography as a tree and allowing for personalized subtrees significantly improves geolocation accuracy. By jointly optimizing for location and text, the model uses linguistic cues to refine geographic estimates and vice versa. While the computational cost of inference remains a challenge for real-time global streams, the 40% reduction in location uncertainty represents a major step forward in social media analytics. Future work may explore temporal dynamics to account for user travel and evolving local topics.
Summary updated