Abstract
Geolocation—the task of identifying the geographic origin of social media content—is a vital component in disaster response and regional linguistic research. This paper introduces a multi-task learning (MTL) approach that combines classification and regression objectives to improve geolocation accuracy. By utilizing an attention-based convolutional neural network (MTL-Att-CNN), the model predicts both discrete region labels and continuous coordinates. Our results on the TWITTER-US and TWITTER-WORLD benchmarks demonstrate that this multi-task framework, particularly when paired with granular location labels, achieves state-of-the-art performance.
Introduction
The majority of social media posts lack explicit geotags, necessitating automated geolocation methods. Historically, researchers have approached this as either a classification task (assigning posts to predefined regions) or a regression task (predicting exact coordinates). Classification is often easier to learn but lacks precision, while regression is more natural but suffers from non-Euclidean distance complexities and high sensitivity to numerical errors.
This research addresses the gap by proposing a model that treats these tasks as complementary. We hypothesize that the precision of regression can serve as an auxiliary signal to enhance the robustness of classification, especially when using high-granularity labels.
Methodology
Model Architecture
The proposed MTL-Att-CNN utilizes a dual-channel convolutional neural network. Each channel employs different window sizes (4 and 8) to capture local word patterns and broader phrases. An attention mechanism is integrated to prioritize "location-indicative" terms, allowing the model to distinguish between generic words and those tied to specific locales.
The network terminates in two independent heads:
- Classification Head: A Softmax layer predicts a discrete geographic label.
- Regression Head: A fully-connected layer predicts continuous latitude and longitude.
To balance the training process, coordinates are normalized to a 0–1 scale, preventing the regression loss from dominating the classification loss.
Datasets and Labeling
The model was evaluated on two standard benchmarks: TWITTER-US (~450k instances) and TWITTER-WORLD (~1.4M instances). Two labeling schemes were compared:
- k-d trees: A standard density-based map partitioning.
- Point2City (P2C): A granular method clustering tweets around actual towns (population > 15,000), resulting in significantly more labels than k-d trees.
Results and Discussion
The experimental results indicate that the multi-task approach significantly improves geolocation performance, particularly when high-granularity labels are used.
State-of-the-Art Performance
On the TWITTER-WORLD dataset, the MTL-Att-CNN achieved state-of-the-art results with an accuracy of 36.07% and a median distance error of 195.54 km. Similarly, on TWITTER-US with P2C labels, the MTL model outperformed its single-task (STL) counterpart, reaching 31.36% accuracy.
The Role of Granularity and Attention
A key finding is that the benefits of MTL are highly dependent on label granularity. While broad k-d tree boxes showed minimal improvement from the regression task, the granular P2C labels allowed the regression signal to effectively guide the classification process. Furthermore, ablation studies highlighted the importance of the attention mechanism, which contributed a nearly 10-percentage-point increase in performance by identifying geographically salient vocabulary.
Conclusion
This study demonstrates that combining classification and regression through multi-task learning provides a superior framework for tweet geolocation. The effectiveness of this approach is contingent upon the use of granular labeling schemes that correlate well with geographic coordinates. Future work may explore non-Euclidean distance metrics and the integration of user metadata to further refine prediction accuracy.
Summary updated