Why Direct Vision-Language Spotting Struggles at Map OCR (and How Specialized Tools Help)
Based on: ArabGeoText: Tool-Augmented Vision-Language Models for Arabic Geospatial Text Spotting — Yakoub Bazi, Sarah Alsaleh, Mohamad M. Al Rahhal, Mohamed A. Mekhtiche, Mansour Zuair
Take a 1024x1024 raster map tile from Riyadh, feed it into a four-billion-parameter multimodal vision-language model (Qwen3.5-4B), and ask it a straightforward question: locate and transcribe every street name, district label, and landmark visible in the image.
The result is rough—even after task-specific adaptation. Across ArabGeoText's held-out Riyadh OSM tiles, the direct model detects only 34.6% of annotated text instances and finishes with an end-to-end H-mean of just 12.8%. Swap in the lighter Qwen3.5-0.8B under the same direct-spotting approach, and that H-mean falls to 2.2%.
These results expose a difficult task: recovering the geometry and content of many small labels in one generated response. They do not establish a general failure of visual reasoning, but they show a substantial gap between direct full-tile spotting and a pipeline that separates localization from recognition.
In ArabGeoText: Tool-Augmented Vision-Language Models for Arabic Geospatial Text Spotting, a research team from King Saud University—Yakoub Bazi, Sarah Alsaleh, Mohamad M. Al Rahhal, Mohamed A. Mekhtiche, and Mansour Zuair—introduced a benchmark for this underexplored setting. Their experiments compare direct VLM spotting with a specialized localization tool followed by a VLM reader.
More importantly, they demonstrated a substantial improvement: pairing YOLO26 localization with crop rectification and a LoRA-adapted reader raised end-to-end H-mean from 12.8% to 74.4% on the Riyadh OSM test set.
Here is a breakdown of what makes map text difficult, what ArabGeoText teaches us about geospatial recognition, and what these results suggest for OCR pipeline design.

Why map text challenges OCR
Map labels have a different spatial organization from conventional document text. They follow geographic features, appear at different orientations, and compete for space with symbols, linework, and neighboring labels.
Geospatial text spotting must recover both where those labels are and what they say. Reading a supplied text crop is only one part of that job.
First, orientation varies widely. In the Riyadh training data compiled for ArabGeoText, 86.2% of text labels are inclined more than 15 degrees from horizontal. The benchmark uses polygons to delineate oriented and curved labels, rather than representing every instance with a horizontal rectangle.
Second, scale is tiny. In the paper's Jeddah test set, the median label height is only 15.4 pixels, and 13.4% of text instances measure under 12 pixels tall. The paper identifies small characters as a difficulty, although it does not isolate the contribution of visual tokenization or image resolution to the models' errors.
Third, the background changes. OSM renderings contain cartographic symbols and linework. In the RS+OSM composites, the same labels appear against the textures and structures of the underlying satellite imagery. That gives the benchmark two visual conditions for the same text.
Finally, Arabic adds recognition challenges through connected letterforms and characters distinguished by dots. At small text sizes, those distinctions can be difficult to resolve. The paper treats these as reasons to study Arabic geospatial text spotting, rather than providing a separate measurement of how much each feature contributes to recognition errors.
The ArabGeoText benchmark: Paired views and urban shifts
To study these challenges, the authors created ArabGeoText, covering 970 geographic locations in Riyadh and Jeddah, Saudi Arabia.
Each location provides two distinct 1024x1024 views at zoom level 18:
- A standard OpenStreetMap (OSM) rendering.
- A remote sensing composite (RS+OSM), created by overlaying the OSM rendering onto Esri World Imagery optical satellite imagery at a map opacity of 0.63.
This paired design is a useful methodological choice. The overlay keeps geographic labels visible while retaining details of the underlying imagery. Crucially, label content and pixel geometry are identical between the two views. Researchers can therefore compare performance across backgrounds while holding label content and placement fixed.
The dataset contains 1,940 images and 17,875 manually annotated text instances per view type—35,750 annotated instances across both views. Annotators drew polygons and supplied transcriptions using Label Studio, without automatic detection proposals or annotations derived from vector records. Only visible text instances fully contained within a tile were annotated; clipped text was excluded.
The geographic split is structured to test two distinct conditions. Riyadh supplies 500 training locations and 108 validation locations, followed by two test partitions:
- In-city generalization (Test-I): 109 held-out locations from Riyadh. In this partition, 43.2% of label instances have transcriptions also found in training.
- City-disjoint transfer (Test-II): 253 locations from Jeddah, a city completely excluded from benchmark training.
Each location belongs to a single partition, and its paired views remain together.
The Jeddah partition introduces several shifts at once. In Test-II, 85.0% of label instances and 93.6% of distinct transcriptions are absent from the benchmark training set. Latin-script labels account for 24.3% of instances, compared with 8.3% in the Riyadh training partition. Median label height is about 16% lower—15.4 pixels versus 18.4 pixels—and fewer labels are rotated more than 15 degrees: 46.5% versus 86.2%.
Evaluating on Jeddah therefore tests transfer across changes in vocabulary, script composition, text size, and orientation. It does not isolate memorization from those other differences, nor establish whether the labels appeared in the VLM's pretraining data.
The battle of two architectures: Direct generation vs. tool augmentation
The authors compared two architectural approaches across both test partitions and image views.
1. Direct End-to-End VLM Spotting
In this configuration, the whole 1024x1024 tile is fed directly into Qwen3.5-4B with an instruction to locate and transcribe its text. The model is trained to output a single serialized response containing polygon coordinates on a normalized [0, 1000] integer grid and transcriptions for every instance.
To adapt the model, the authors applied low-rank adaptation (LoRA) with rank $r=64$ and scaling parameter $\alpha=128$ to the language decoder, while keeping the vision encoder and multimodal projector frozen. Training used an 8,192-token sequence limit and ran for five epochs, with the checkpoint selected by lowest validation loss.
At inference, the model uses greedy decoding. Its generated response is parsed into text polygons and their associated transcriptions.
2. Tool-Augmented VLM Spotting
This approach divides localization and recognition between separate components:
- Localization tool (YOLO26): An instance-segmentation variant of YOLO26 is trained on the combined OSM and RS+OSM training images. It processes 1024x1024 tiles and predicts text-region masks, discarding predictions with confidence below 0.25. It does not transcribe text.
- Crop rectification: Each predicted mask is enclosed by its minimum-area oriented rectangle. The quadrilateral is expanded by an amount equal to 12% of its short side, rectified with a projective transform, and upscaled using bicubic interpolation while preserving aspect ratio, with a minimum height of 48 pixels and minimum width of 192 pixels.
- VLM reader (Qwen3.5-4B): Each prepared crop is processed independently with a fixed recognition instruction. The resulting transcription is paired with the original detector polygon.
The authors evaluated this reader in two modes:
- Zero-shot recognition: Using pretrained Qwen3.5-4B without task-specific reader adaptation. The localization tool is still trained on the benchmark.
- Adapted recognition: Fine-tuning the reader on 20,494 rectified training crops using LoRA ($r=64$, $\alpha=128$) for five epochs, computing loss only on transcription tokens.
The adapted reader trains on crops extracted from annotated regions and receives crops from YOLO26 predictions at inference. Both reader variants share the same detector and crop preparation.
What the benchmarks revealed
The evaluation tracked text detection, recognition on geometry-matched pairs, and end-to-end spotting. Predicted and reference polygons were matched one-to-one at polygon Intersection-over-Union $\ge 0.5$. Matching first maximized the number of eligible pairs, then used total IoU to break ties.
Detection was measured with precision, recall, and their harmonic mean, or H-mean. Recognition used exact-match accuracy, Character Error Rate (CER), Word Error Rate (WER), and one minus normalized edit distance (1-NED), after normalization for letter case and spacing.
One qualification matters throughout: recognition scores cover only matched instances. Methods with different detections can therefore receive recognition scores on different subsets of labels. The zero-shot and adapted tool variants share detections, making their reader comparison more direct.
1. Direct VLM spotting struggles with dense detection
On Test-I (Riyadh), direct Qwen3.5-4B managed a detection H-mean of only 34.5% on OSM tiles and 34.2% on RS+OSM composites. Its recall was 34.6% and 32.2%, respectively, meaning it missed roughly two-thirds of reference labels.
YOLO26, by contrast, achieved an 88.2% detection H-mean on OSM and 88.4% on RS+OSM, with recall reaching 92.6% on the composites.
To check whether generating transcriptions alongside coordinates contributed to the gap, the authors ran an ablation: a detection-only VLM trained to predict polygons. Removing transcription helped, raising detection H-mean to 45.1% on OSM and 50.1% on RS+OSM. But that still trailed YOLO26 by roughly 38 to 43 percentage points.
Joint transcription therefore appears to contribute to the localization difficulty, but it does not fully explain the gap. The experiment does not establish an inherent inability of autoregressive models to localize map text.
2. Background changes have little effect on YOLO26 detection here
One striking finding from Table III is how similar YOLO26's detection scores were across the paired views. On Test-I, detection H-mean was 88.2% on OSM tiles and 88.4% on satellite composites. On Test-II (Jeddah), it was 2.1 points higher on composites: 78.6%, compared with 76.5% on OSM.
These results show that the composite background did not reduce detection H-mean in this setup. They do not establish why. The detector was trained on both view types, and the benchmark uses a fixed overlay opacity of 0.63; other rendering conditions were not tested.
3. Tool augmentation dominates end-to-end spotting
When localization and transcription are evaluated together using end-to-end H-mean (Table IV), the tool-augmented approaches lead in every setting:
- Test-I (Riyadh, OSM): Direct VLM scored 12.8%. The tool pipeline with a zero-shot reader scored 61.7%; with an adapted reader, it reached 74.4%.
- Test-I (Riyadh, RS+OSM): Direct VLM scored 12.2%. The zero-shot tool pipeline scored 58.5%; the adapted pipeline reached 72.9%.
- Test-II (Jeddah, OSM): Direct VLM scored 22.3%. The zero-shot tool pipeline scored 51.9%; the adapted pipeline reached 57.3%.
- Test-II (Jeddah, RS+OSM): Direct VLM scored 14.7%. The zero-shot tool pipeline scored 51.6%; the adapted pipeline reached 57.0%.
The adapted tool pipeline outperformed direct generation by 35.0 to 61.6 percentage points across these four configurations.
4. Crop adaptation more than halves character error rates
Holding YOLO26 detections constant allowed the authors to isolate the effect of adapting the reader.
On Test-I OSM tiles, evaluating the same 2,181 matched text instances:
- Zero-shot Qwen3.5-4B achieved 69.9% exact-match accuracy, a CER of 10.6%, and a WER of 19.0%.
- Adapted Qwen3.5-4B reached 84.3% exact-match accuracy, reduced CER to 4.6%, and dropped WER to 10.2%.
Adaptation improved all four reported recognition metrics in every setting. CER fell by more than half across all four view-and-city combinations. On Jeddah OSM, for example, it dropped from 18.9% to 9.0%, despite most label transcriptions being absent from the benchmark training set.
The end-to-end gains from reader adaptation were smaller in Jeddah: 5.4 percentage points for each view, compared with 12.7 points on Riyadh OSM and 14.4 points on Riyadh RS+OSM.
5. The small-model surprise: An adapted 0.8B reader beats a zero-shot 4B reader on Test-I
In Section V-D, the authors replaced Qwen3.5-4B with Qwen3.5-0.8B to evaluate model scale.
As a direct end-to-end spotter, the 0.8B model delivered an end-to-end H-mean of only 1.9% to 2.4%.
With YOLO26 localization and crop-level adaptation, its results improved substantially:
- On Test-I OSM, adapted Qwen3.5-0.8B reached 76.6% exact-match accuracy and a 5.3% CER, outperforming the zero-shot Qwen3.5-4B reader on both measures: 69.9% exact match and 10.6% CER.
- In end-to-end spotting, the adapted 0.8B pipeline achieved 67.6% H-mean on Test-I OSM and 64.2% on RS+OSM, also exceeding the corresponding zero-shot 4B pipeline scores.
That advantage did not extend to every setting or metric. In Jeddah, the adapted 0.8B pipeline's end-to-end H-means—51.3% on OSM and 49.6% on RS+OSM—were slightly below the zero-shot 4B pipeline's 51.9% and 51.6%.
Adaptation narrowed the gap between model sizes, but the adapted 4B pipeline remained ahead of the adapted 0.8B pipeline in all four end-to-end comparisons.

Why it matters: What OCR and document-AI teams should take away
ArabGeoText offers concrete evidence for pipeline design in this map-text setting. Its implications for other document types are useful hypotheses to test, rather than results established by the benchmark.
1. Test specialized localization alongside direct generation
The appeal of a single model is easy to understand: give it an image and receive locations and transcriptions in one response.
ArabGeoText shows why that approach deserves a strong modular baseline. Here, a specialized detector recovered far more reference labels than the direct VLM, even when transcription was removed from the VLM's task. Supplying localized crops then allowed the reader to process each detected instance separately.
For teams handling similarly small, rotated, densely arranged text, this is a reason to compare architectures on their own data. It is not proof that direct generation must fail on every dense document or with every model.
2. Treat crop preparation as part of the recognition pipeline
The authors' crop preparation is explicit: fit an oriented rectangle, expand it by an amount based on the short side, apply a projective transform, and upscale while preserving aspect ratio.
That procedure is shared between the zero-shot and adapted readers, and between annotated training regions and predicted inference regions. It gives the reader a consistent form of input.
The paper does not report an ablation that removes rectification or upscaling, so their independent accuracy contribution cannot be measured from these results. Nor does interpolation recover visual detail that was absent from the original tile. The supported finding is that the complete localization, crop-preparation, and recognition pipeline works substantially better than the tested direct-spotting approach.
3. Consider smaller, adapted readers when latency matters
The model-size comparison provides a measurable trade-off. On one NVIDIA RTX A6000, replacing the 4B reader with the 0.8B reader reduced average recognition time per crop from 87.4 milliseconds to 49.5 milliseconds. Total pipeline time fell from about 1.70 seconds to 1.00 second per tile, a 1.7× speed-up.
The smaller adapted reader also outperformed the larger zero-shot reader on Test-I, showing that task-specific adaptation can matter more than parameter count in that comparison.
However, the adapted 4B reader retained higher end-to-end scores in every setting. The paper does not report cloud costs, peak memory use, smaller-hardware benchmarks, or a timing comparison against direct full-tile spotting.
4. Evaluate transfer with more than vocabulary overlap
The drop between Riyadh and Jeddah is an important deployment consideration. With YOLO26 and the adapted 4B reader, OSM end-to-end H-mean fell from 74.4% in Riyadh to 57.3% in Jeddah.
Several things changed together: vocabulary overlap, text size, script composition, orientation, and label density. Detection performance also declined. The paper does not isolate how much of the overall drop comes from unfamiliar names or any other individual factor.
A useful lesson is to evaluate new cities separately and inspect both localization and recognition. Vocabulary overlap helps describe the shift, but it cannot by itself explain the errors or predict their size in another deployment.
Honest limitations and the latency bottleneck
The paper makes a strong case for tool-augmented spotting within its evaluated settings. It also leaves practical questions open.
First, inference time is dominated by the VLM reader. Table VII reports these average timings over the test sets on one NVIDIA RTX A6000 GPU:
- YOLO26 localization: 40.5 ms, about 2.4% of total time
- Crop rectification: 42.0 ms, about 2.5%
- VLM recognition (Qwen3.5-4B): 1,619.0 ms, about 95.1%
- Total pipeline time: 1,701.5 ms per tile
Localization and rectification together take 82.5 milliseconds. Recognition accounts for nearly all the remaining time. With Qwen3.5-0.8B, recognition falls to 917.7 milliseconds and total time to 1,000.3 milliseconds.
Those measurements identify recognition as the main target for efficiency improvements. They do not establish the pipeline's throughput under batching, its behavior under concurrent requests, or whether it meets a particular application's latency requirements.
Second, tile boundaries receive special treatment. Text clipped by a boundary is not annotated. During evaluation, unmatched predictions whose polygons touch the boundary are excluded after matching; matched predictions are still scored, including those touching the boundary.
The reported metrics therefore do not evaluate recovery of clipped labels as a separate task. Applications that need complete names across tile edges would need additional evaluation beyond this protocol.
Third, geographic coverage is limited to two Saudi cities, with training and validation drawn from Riyadh alone. Jeddah provides a meaningful city-disjoint test, but broader geographic generalization remains untested. The authors identify additional cities and adaptation with fewer labeled examples as future directions.
Finally, the paper states that the dataset and code will be made publicly available. That is a release commitment, rather than confirmation in the paper that the resources are already available.
What the study establishes
ArabGeoText delivers a concrete result: in the tested configurations, direct full-tile Qwen3.5 spotting struggles to recover map labels, while specialized localization followed by crop-level VLM recognition performs substantially better.
Reader adaptation adds further gains on the same detected regions. A smaller adapted reader offers a measured speed–accuracy trade-off, although the paper does not establish that the tool pipeline is faster than direct spotting or requires smaller hardware.
For developers working with dense, rotated map text, the study makes modular tool augmentation a strong approach to evaluate. It demonstrates a substantial advantage over the direct baselines tested here, while leaving broader claims about other documents, models, and deployment conditions open.