Skip to main content
QUICK REVIEW

[Paper Review] They Know Where You Live!

Kazem Jahanbakhsh, Valerie King|arXiv (Cornell University)|Feb 16, 2012
Human Mobility and Location-Based AnalysisSocial Sciences6 references7 citations
TL;DR

This paper proposes a method to predict a user's hometown by clustering their geotagged Flickr photos using Kruskal’s algorithm, leveraging the insight that people take more photos near their hometowns. The approach achieves 70% accuracy in predicting hometowns within a low error distance, outperforming purely visual methods by incorporating social and mobility patterns.

ABSTRACT

In this paper, we demonstrate the possibility of predicting people's hometowns by using their geotagged photos posted on Flickr website. We employ Kruskal's algorithm to cluster photos taken by a user and predict the user's hometown. Our results prove that using social profiles of photographers allows researchers to predict the locations of their taken photos with higher accuracies. This in return can improve the previous methods which were purely based on visual features of photos \cite{Hays:im2gps}.

Motivation & Objective

  • To investigate whether social media geotagged photo data can improve the accuracy of predicting a user’s hometown compared to visual-only methods.
  • To model human mobility patterns using geotagged photos from Flickr, focusing on the spatial distribution of photo locations relative to users’ reported hometowns.
  • To develop and evaluate a clustering-based algorithm that identifies the most likely hometown by detecting the densest geographic cluster of a user’s photos.
  • To validate the effectiveness of social profile data (e.g., friends’ hometowns and geotagged photos) in enhancing location prediction accuracy.

Proposed method

  • Collected geotagged photos and hometown information from 31 Flickr users and their friends using the Flickr API.
  • Applied Kruskal’s algorithm to cluster geotagged photos based on geographic proximity, forming spatial clusters of photo locations.
  • Identified the hometown by selecting the cluster with the highest density (most photos) and computing its centroid as the predicted hometown.
  • Used the reported hometowns of users as ground truth to evaluate prediction accuracy via distance error distribution.
  • Modeled the distribution of photo distances from hometowns and found a power-law relationship with exponent b = -2.38, consistent with human mobility models.
  • Evaluated performance by computing the probability distribution of prediction error distances across the 31 users.

Experimental results

Research questions

  • RQ1Can geotagged photos from social media platforms like Flickr be used to accurately predict a user’s hometown?
  • RQ2How does the spatial distribution of geotagged photos relate to a user’s actual hometown, and does it follow a predictable mobility pattern?
  • RQ3To what extent does incorporating social network data (e.g., friends’ locations and photo distributions) improve hometown prediction over visual-only methods?
  • RQ4Does the densest cluster of geotagged photos reliably indicate the user’s hometown, and how accurate is this approach in practice?

Key findings

  • The distribution of photo distances from users’ hometowns follows a power-law with exponent b = -2.38, indicating higher photo density near the hometown, consistent with human mobility models.
  • The proposed clustering-based hometown prediction method achieved 70% accuracy in predicting the correct hometown within a low error distance.
  • The method significantly outperforms purely visual feature-based approaches by incorporating social and mobility context from geotagged photo data.
  • Even with wide geographic distributions—such as photos taken across three continents—our algorithm successfully identified the hometown with high reliability.
  • The use of social profiles (e.g., friends’ hometowns and geotagged photos) enhances the prediction model by providing contextual mobility patterns.
  • The results confirm that social media data can serve as a robust proxy for human mobility, enabling accurate location inference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.