GT-Loc: Unifying When and Where in Images Through a Joint Embedding Space

David G. Shatwell, Ishan R. Dave, Sirnam Swetha, Mubarak Shah
7/1/2025
17 citations

No official code found. Best implementation: dshatwell23/gtloc (7 stars, last commit 2026-01-12).

Abstract

Timestamp prediction aims to determine when an image was captured using only visual information, supporting applications such as metadata correction, retrieval, and digital forensics. In outdoor scenarios, hourly estimates rely on cues like brightness, hue, and shadow positioning, while seasonal changes and weather inform date estimation.

Show full abstract

However, these visual cues significantly depend on geographic context, closely linking timestamp prediction to geo-localization. To address this interdependence, we introduce GT-Loc, a novel retrieval-based method that jointly predicts the capture time (hour and month) and geo-location (GPS coordinates) of an image. Our approach employs separate encoders for images, time, and location, aligning their embeddings within a shared high-dimensional feature space. Recognizing the cyclical nature of time, instead of conventional contrastive learning with hard positives and negatives, we propose a temporal metric-learning objective providing soft targets by modeling pairwise time differences over a cyclical toroidal surface. We present new benchmarks demonstrating that our joint optimization surpasses previous time prediction methods, even those using the ground-truth geo-location as an input during inference. Additionally, our approach achieves competitive results on standard geo-localization tasks, and the unified embedding space facilitates compositional and text-based image retrieval.

View on arXivView PDF

Code Implementations(1)

dshatwell23/gtlocCommunity67%

[ICCV 2025 Oral] GT-Loc: Unifying When and Where in Images Through a Joint Embedding Space

72Jan 11, 202610 months agoNOASSERTION

Similar Papers

Cite this paper

@article{shatwell2025gtloc,
  title  = {GT-Loc: Unifying When and Where in Images Through a Joint Embedding Space},
  author = {David G. Shatwell and Ishan R. Dave and Sirnam Swetha and Mubarak Shah},
  year   = {2025},
  eprint = {2507.10473},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2507.10473},
  journal = {IEEE International Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.10473.svg)](https://codeofpaper.com/paper/2507.10473)

Discussion