Abstract
Predicting the geographic origin of Twitter users is a significant challenge due to the sparsity of GPS data and the prevalence of rare, location-indicative terms. This paper presents a novel approach that leverages external knowledge bases to contextualize entities within tweets. By employing a multi-channel graph embedding technique with shared weights and attention mechanisms, the proposed model effectively handles out-of-vocabulary terms and sparse user data, outperforming traditional text-based and graph-based baselines.
Introduction
Social media geolocation is vital for applications ranging from real-time disaster response to localized advertising. However, with less than 1% of tweets containing GPS coordinates, researchers must rely on textual content. A major hurdle in text-based geolocation is the "long tail" of geographic indicators: while terms like "New York" or "subway" are common, specific local landmarks, niche regional restaurants, or minor local politicians appear rarely. These "out-of-vocabulary" (OOV) terms often lead to poor performance in standard machine learning classifiers because they lack sufficient training examples to assign meaningful weights.
Methodology
The proposed system addresses this by linking tweet entities to a large-scale knowledge base (KB), specifically Yago3, which contains over 12 million edges and 4.2 million unique entities. The pipeline consists of three primary stages:
- Named Entity Linking (NEL): The system identifies entities in tweets and maps them to specific KB nodes using the AIDA linker. For example, a mention of "Miami" is linked to its corresponding geographic node in Yago3.
- Multi-Channel Entity Encoding: This is the core innovation. Inspired by Relational Graph Convolutional Networks (R-GCNs), the model represents entities through multiple "channels" based on KB relations (e.g.,
isLocatedIn,bornIn). Unlike standard R-GCNs, this model shares weights across relations to maintain a compact representation and uses a weighted sum (attention) to prioritize geographically relevant relations. - Geolocation Prediction: The resulting entity embeddings are merged with standard Bag-of-Words (BoW) features and processed through a feed-forward neural network to classify users into one of 32 geographic regions across the contiguous United States.
Key Insights
The fundamental advantage of this approach is its ability to use external knowledge as a bridge for rare terms. Even if a specific entity has never appeared in the training set, its link in the KB to a known location allows the model to make an informed prediction. The authors found that while specialized geographic relations (like isLocatedIn) are most useful, general relations still provide subtle, valuable clues. Additionally, by sharing weights across relations, the model remains more efficient and easier to train than a full R-GCN while achieving superior performance on this specific task.
Results and Discussion
Evaluated on the GeoText benchmark, the proposed method showed clear improvements over purely text-based models. The model achieved an Acc@161 of 44% (placing 44% of users within 161km of their actual location) and a median error of 325km, significantly outperforming the R-GCN baseline (449km) and the text-only MLP (380km).
A key finding is the model's robustness in data-sparse scenarios. As shown in the performance breakdown, the knowledge-based approach maintains lower median errors even for users with very few tweets, where traditional BoW models typically struggle to generalize.
Limitations and Future Work
While effective, the study was limited to the contiguous United States. Expanding to a global scale would require handling multilingual entity linking. Furthermore, the model currently relies on text and KB metadata; the authors suggest that incorporating social network information (user-mention graphs) could provide a powerful complementary signal. Finally, performance remains dependent on the quality of the initial entity linking, suggesting that improvements in NEL could further refine geolocation accuracy.
Summary updated