Exploiting Text and Network Context for Geolocation of Social Media Users

Afshin Rahimi, Duy Vu, Trevor Cohn, Timothy Baldwin

Introduction

Where in the world are you? For most social media users, the answer is "unlisted." While geolocation is vital for disaster response, local news, and targeted recommendations, only a tiny fraction of users share their GPS coordinates. This research explores how to fill that gap by looking at both what users say and who they talk to.

Problem Statement

Automatically geolocating users is a "missing data" problem. Most users don't geotag their posts, and profile metadata is often empty or misleading. Historically, researchers took two separate paths: text-based analysis of "location-indicative" words and network-based analysis using "location homophily." However, text models can be noisy, and network models fail for "disconnected" users who don't interact with anyone whose location is already known.

Methodology

The authors proposed a three-pronged approach:

  1. Text-based Classification (LR): Using Logistic Regression with $l_1$ regularization. Geolocation is treated as a classification problem by dividing the map into regions using a k-d tree.
  2. Network-based Label Propagation (LP): Building a graph where nodes are users and edges are "@-mentions," then spreading known locations through the network.
  3. The Hybrid Method (LP-LR): This core innovation uses the text-based model to provide an initial "best guess" for every user, which the network model then refines iteratively.

Datasets

The study evaluated three major Twitter corpora: GEOTEXT, TWITTER-US, and TWITTER-WORLD. These datasets vary significantly in scale and connectivity, presenting different challenges for geolocation models.

Dataset statistics including user mentions and percentage of disconnected test users.

Key Insights

  • Mentions as Textual Gold: Including "@-mentions" as features in the text model significantly boosted performance.
  • The Power of Hybridization: The hybrid model solves the "disconnected user" problem. If a user has no social ties, the model keeps the text-based prediction; otherwise, network context corrects text-based errors.
  • Normalization Matters: Using $l_2$ normalization on text features reduced errors by about 20%, highlighting sensitivity to variations in tweet volume.

Key Results

The hybrid approach (LP-LR) dominated the benchmarks, particularly on US-based datasets where it significantly reduced median error distances.

Geolocation performance comparison across GEOTEXT, TWITTER-US, and TWITTER-WORLD datasets.

On GEOTEXT, the hybrid model achieved a median error of 151.2 km, a massive improvement over the previous best of 298 km. On TWITTER-US, it reached 157.1 km, outperforming previous methods that hovered around 190-260 km. Interestingly, on the global dataset (TWITTER-WORLD), the text-based model performed best with a median error of just 19.9 km, likely due to the dataset being pre-discretized by city.

Limitations and Future Work

The authors noted that current models rely on discrete discretization (k-d trees or cities) and suggested exploring continuous regression for exact coordinates. Additionally, handling non-local interactions (e.g., global social ties) and scaling these hybrid models to the entire global Twitter graph remain significant engineering challenges.

Summary updated

BibTeX
@inproceedings{rahimi2015exploiting,
  author = {Afshin Rahimi and Duy Vu and Trevor Cohn and Timothy Baldwin},
  title = {{Exploiting Text and Network Context for Geolocation of Social Media Users}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/n15-1153},
}
Figure