Abstract
Historical maps contain a wealth of geographic information, yet extracting this data remains a significant challenge due to the complex, curved, and highly rotated nature of cartographic text. We present PaLeTTe, an end-to-end text spotting framework that utilizes a Hyper-Local Deformable Transformer. By shifting from global reference points to a strategy that samples features directly around individual characters and boundary points, PaLeTTe achieves state-of-the-art performance on historical map benchmarks. The system has been successfully deployed to process over 60,000 maps in the David Rumsey Historical Map Collection.
Introduction
Text spotting—the simultaneous detection and recognition of text—is essential for digitizing and searching historical map archives. However, standard models designed for "scene text" (e.g., street signs) often fail on maps. Map text frequently follows geographic features, resulting in extreme curvature and rotation. Traditional "coarse" sampling methods, which rely on a single central reference point for an entire word, struggle to capture features for long or winding text instances where the center may be far from the actual characters.
The PaLeTTe Framework
The core innovation of PaLeTTe is the Hyper-Local Deformable Transformer. Unlike previous architectures, PaLeTTe predicts and iteratively refines reference points for every sub-component of a text instance, including boundary points and character centers.
Hyper-Local Sampling and Embeddings
Instead of a global view, the model employs a hyper-local sampling strategy. It extracts image features from the immediate neighborhood of each target point. This ensures that the transformer attends to the most relevant pixels for every part of a word, regardless of its length or shape.
To maintain spatial awareness, the model uses Hyper-Local Positional Embeddings. These embeddings learn the relative spatial relationships between points, allowing the model to understand the "flow" of curved text.
Character Center Prediction
A dedicated module predicts character centers based on boundary information. Because real-world datasets often lack character-level annotations, we utilize an Iterative Weakly Supervised Training approach. The model is first trained on synthetic data with full labels and then "self-corrects" its character center predictions on real-world data during fine-tuning.
Datasets and Benchmarks
To support this research, we introduced two new resources:
- SynthMap+: A synthetic generator that uses real historical map textures and the QGIS label placement API to create realistic training data.
- Rumsey-309: A diverse benchmark consisting of 309 manually annotated patches from 54 different maps in the David Rumsey collection.
Results
PaLeTTe demonstrates significant improvements over previous state-of-the-art models like TESTR and DeepSolo. On the Rumsey-309 benchmark, it achieved a 5.8% F-score gain. The "hyper-local" advantage is most pronounced for long words (over 10 characters), where the model showed an 8% improvement in recall on the Grinnell-UMass-31 dataset.
The practical utility of PaLeTTe is evidenced by its large-scale deployment. It has generated over 100 million text labels across 60,000 maps, powering the search functionality for one of the world's largest digital map collections.
Conclusion and Future Work
PaLeTTe addresses the unique geometric challenges of historical map text through hyper-local feature extraction. Future research will focus on expanding multilingual capabilities to support non-Latin scripts and developing methods for "phrase grouping" to automatically associate individual words into complete geographic entities.
Summary updated