Abstract
Geocoding, or toponym resolution, is the task of assigning geographical coordinates to place names mentioned in text. A significant challenge in this field is ambiguity—many place names refer to multiple locations worldwide. This paper introduces MapVec, a sparse vector representation that encodes geographic metadata such as population and location into a standardized format. We also present CamCoder, a neural architecture that integrates MapVec with traditional lexical features. Our results demonstrate that incorporating geographic priors allows models to surpass the "lexical ceiling" of language-only systems, achieving state-of-the-art performance across several diverse datasets.
Introduction
In Natural Language Processing, determining whether "Melbourne" refers to the city in Australia or Florida often depends on surrounding context. Traditional geocoders rely heavily on lexical features—the words near a location mention. While effective, this approach is limited by a "semantic ceiling." Geography possesses its own inherent logic: locations mentioned in a single document often cluster spatially, and larger populations are statistically more likely to be referenced.
Previous systems utilized these geographic insights as hard-coded heuristics. This work proposes a standardized method to feed raw geographic "prior knowledge" directly into a deep learning model, treating geography as a first-class citizen alongside linguistics.
Methods: MapVec and CamCoder
The core innovation of this research is the combination of a novel geographic representation with a multi-input neural network.
MapVec: The Geographic Input
To represent the "geographic footprint" of a document, the authors developed MapVec. The world is divided into a 180x360 grid (1°x1° tiles). For every location mentioned in a text, candidate probabilities are calculated based on population and plotted onto this grid. The grid is then flattened into a sparse vector of approximately 23,000 dimensions (excluding water tiles). This vector provides a language-independent spatial signal to the model.
CamCoder Architecture
CamCoder is a robust neural network designed to process four distinct data streams: Context Words, Location Mentions, the Target Entity, and the MapVec geographic distribution.
The model employs Convolutional Neural Networks (CNNs) for text features and a Multi-Layer Perceptron (MLP) for MapVec. These representations are concatenated to predict the correct tile on the global map.
Evaluation and Results
The system was evaluated on three benchmarks: LGL (local news), WikToR (highly ambiguous Wikipedia entries), and GeoVirus (a new dataset focused on disease outbreaks). CamCoder achieved state-of-the-art (SOTA) results across all metrics, including Mean Error and Accuracy@161km.
On the WikToR dataset, which is specifically designed to challenge models with high ambiguity, CamCoder significantly outperformed traditional rule-based and statistical geocoders, improving accuracy by a substantial margin over the previous best systems.
Discussion and Conclusion
The success of CamCoder highlights several key insights. MapVec allows models to learn "topological semantics," focusing on spatial relationships between candidates rather than just word associations. Furthermore, MapVec alone can outperform standard population-based baselines, indicating that the spatial distribution of context locations is a powerful disambiguation signal. Finally, increasing the context window to 400 words was found to be highly beneficial for resolving difficult toponyms.
While the system is dependent on the quality of initial Named Entity Recognition and the 1° resolution may be too coarse for intra-city geocoding, CamCoder provides a powerful blueprint for augmenting linguistic models with geographic intelligence.
Summary updated