Skip to main content
QUICK REVIEW

[Paper Review] Spatial Language Representation with Multi-Level Geocoding

Sayali Kulkarni, Shailee Jain|arXiv (Cornell University)|Aug 21, 2020
Geographic Information Systems StudiesSocial Sciences39 references12 citations
TL;DR

This paper proposes Multi-Level Geocoding (MLG), a neural model that maps textual toponyms to geographic coordinates using a hierarchical S2 space-filling curve representation. By jointly optimizing predictions across multiple S2 levels (L5–L7), MLG achieves state-of-the-art performance in toponym resolution without relying on gazetteer metadata, demonstrating strong generalization across global and local distributions, especially in low-resource settings.

ABSTRACT

We present a multi-level geocoding model (MLG) that learns to associate texts to geographic locations. The Earth's surface is represented using space-filling curves that decompose the sphere into a hierarchy of similarly sized, non-overlapping cells. MLG balances generalization and accuracy by combining losses across multiple levels and predicting cells at each level simultaneously. Without using any dataset-specific tuning, we show that MLG obtains state-of-the-art results for toponym resolution on three English datasets. Furthermore, it obtains large gains without any knowledge base metadata, demonstrating that it can effectively learn the connection between text spans and coordinates - and thus can be extended to toponymns not present in knowledge bases.

Motivation & Objective

  • To develop a neural geocoding model that maps text spans to geographic coordinates without relying on external knowledge bases or gazetteer metadata.
  • To improve generalization and accuracy in toponym resolution by jointly predicting location cells across multiple hierarchical levels of the S2 spatial grid.
  • To enable geocoding of non-standard or out-of-vocabulary toponyms by learning direct text-to-coordinate representations.
  • To evaluate the model across diverse textual domains, including social media and historical texts, where metadata may be absent.
  • To demonstrate that multi-level prediction balances generalization and precision better than single-level approaches.

Proposed method

  • The Earth’s surface is discretized using S2 geometry, a hierarchical space-filling curve that divides the sphere into non-overlapping, similarly sized cells across multiple levels (L4 to L8).
  • MLG jointly predicts S2 cell IDs at multiple levels (e.g., L5, L6, L7) using a single neural model, with a multi-level loss function that balances generalization and accuracy.
  • Textual context is encoded via a neural network (e.g., BERT-like encoder), and the model predicts class probabilities across all selected S2 levels simultaneously.
  • The model is trained end-to-end using cross-entropy loss across multiple levels, enabling transfer of knowledge from coarse to fine-grained cells.
  • No external gazetteer features or metadata are used during inference, relying solely on learned text-to-location representations.
  • The hierarchical structure of S2 allows for natural modeling of spatial containment and proximity, improving localization in sparse regions.

Experimental results

Research questions

  • RQ1Can a neural model learn to map textual toponyms directly to geographic coordinates without relying on external gazetteers or metadata?
  • RQ2How does multi-level prediction across S2 cell hierarchies improve generalization and accuracy in geocoding compared to single-level approaches?
  • RQ3To what extent can the model resolve toponyms in low-resource or out-of-vocabulary settings where no gazetteer entry exists?
  • RQ4How does context influence the model’s ability to disambiguate between similarly named locations (e.g., Arlington, Lincoln)?
  • RQ5Does the model generalize better across diverse textual domains, such as social media and historical texts, when metadata is absent?

Key findings

  • MLG achieves state-of-the-art performance on three English toponym resolution datasets without any dataset-specific tuning or gazetteer metadata.
  • When gazetteer metadata is removed, MLG still outperforms strong baselines by a margin of 9% on average, demonstrating robust generalization.
  • The model performs best when using levels L5 to L7, achieving the optimal trade-off between generalization and precision, with L8 offering minimal gain over L7.
  • Ablation studies show that masking all toponyms in context degrades performance significantly, but context alone (without the target toponym) still enables reasonable localization, indicating contextual reasoning capability.
  • Qualitative examples confirm that context effectively shifts predictions toward correct geographic regions, even for ambiguous names like 'Arlington' and 'Lincoln', without bias toward the most populous location.
  • The model generalizes well across domains, including global (GeoVirus) and U.S.-focused (LGL) datasets, indicating strong cross-domain transferability.

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.