Zoey ShuECCV 2026

Lost in the Tail: Addressing Geographic Imbalance in Urban Visual Place Recognition

Zhiyao Shu1, Jiacheng Yang2, Yang Lu2, Waishan Qiu3, Chuan Li4, Da Chen5

1 George Mason University, USA  ·  2 Xiamen University, China  ·  3 University of Hong Kong, China  ·  4 Lambda, USA  ·  5 University of Bath, UK

European Conference on Computer Vision (ECCV), 2026

PaperCode — release soonVideo

Abstract

Urban-scale Visual Place Recognition (VPR) aims to identify the geographic location of a query image by matching it against a geo-tagged database. While recent methods achieve impressive performance, they overlook a serious long-tailed problem hidden in urban-scale datasets, which biases the model toward locations with abundant images and ignores less-visited areas — causing models to systematically favor frequently photographed locations while failing in sparsely covered ones. We systematically characterize this imbalance and propose Distribution-Aware Place Recognition (DAPR), a model-agnostic plug-in framework that rebalances gradient contributions across head and tail classes. Within classification-retrieval pipelines, DAPR further applies a multi-scale distance search that computes per-class distributional compactness, providing complementary gains at the retrieval stage. On the large-scale SF-XL benchmark, our framework outperforms the previous classification-retrieval baseline by 18.3% on test set v1 and 6.7% on test set v2, with consistent improvements across representative VPR methods on SF-XL, MSLS, and Pitts30k.

The long-tail problem in VPR

Visual Place Recognition (VPR) locates a query image by matching it against a geo-tagged database, either via global-descriptor similarity search or by framing the map as discrete classification cells — with mixed pipelines (e.g. D&C) combining both for efficiency. Yet these methods ignore a severe long-tailed distribution in urban datasets: because image density tracks traffic and photographer frequency rather than visual richness, distinctive residential streets and low-traffic corridors stay sparsely covered. Ranking SF-XL classes by image count into head (top 30%), middle (40%), and tail (bottom 30%) exposes a ~300:1 imbalance — head classes hold 3,000+ images while tail classes have as few as 12. Per-class Recall@1 falls sharply toward the tail: the classes hardest to recognize receive the least supervision.

Geographic classes ranked by sample count with intra-class feature diversity and per-class Recall@1

Geographic classes ranked by sample count (head / medium / tail). As samples drop toward the tail, intra-class feature diversity widens while per-class Recall@1 falls sharply.

Head, middle, and tail geographic classes across San Francisco

Head, middle, and tail classes across San Francisco (SF-XL). Frequently photographed corridors dominate major roads, while residential and peripheral areas fall into the sparse tail.

DAPR — two plug-in modules

Model-agnostic: DAPR drops into existing VPR pipelines without architectural changes.

Training

Low-visit Bias Loss

Rebalances gradient contributions across head and tail classes so the model stops over-fitting frequently photographed locations and learns the under-sampled ones. A drop-in replacement that needs no change to the backbone.

Retrieval

Characteristic Function Distance

A multi-scale distance search that adapts similarity to each class's distributional compactness, giving complementary gains at the retrieval stage of classification-retrieval pipelines.

DAPR framework: DINO-v2 backbone with Low-visit Bias loss and multi-scale distance mixed-pipeline search

The DAPR framework. A DINO-v2 backbone is trained with the Low-visit Bias loss across retrieval and classification heads; at inference, a multi-scale distance mixed-pipeline search re-ranks candidates with characteristic functions to return the top-K images.

Experiment results

On the large-scale SF-XL benchmark, DAPR-M reaches the best accuracy at a fraction of the retrieval cost, while the Low-visit Bias loss lifts strong VPR methods as a drop-in plug-in. SALAD* and BoQ* denote retraining with the LB loss.

Table 1Main comparison on SF-XL, test v1 / v2
MethodBackboneInfer. TimeR@1 v1R@1 v2
Classification
D&CEfficientNet12 ms61.079.1
DAPR‑CDINOv286.491.1
Retrieval
SALADDINOv24805 ms87.693.5
SALAD*DINOv24823 ms88.094.5
BoQDINOv221333 ms83.792.8
BoQ*DINOv221047 ms88.893.7
Mixed pipeline
D&C + CosPlaceEfficientNet30 ms71.487.6
DAPR‑MDINOv274 ms89.794.3

Representative rows from the paper’s 20-method comparison. DAPR-M (DINOv2) reaches 89.7 / 94.3 R@1 at 74 ms per query, over 60× faster than full-database retrieval.

Generalization & tail-class gains

The LB loss is method-agnostic. Dropped into CosPlace, SALAD, and BoQ, it generalizes beyond San Francisco to global cities, Pittsburgh, and extreme seasonal change, with the largest gains on tail classes.

Table 3Generalization across cities and seasons · R@1
MethodBackboneMSLSPitts30kNordland
CosPlaceResNet10181.786.741.1
CosPlace*ResNet10182.289.444.6
SALADDINOv291.992.376.0
SALAD*DINOv292.692.776.6
BoQDINOv291.292.681.3
BoQ*DINOv293.792.983.7

Each method retrained with the LB loss (*) improves on every benchmark. Gains are sharpest under seasonal shift on Nordland: CosPlace +3.5 and BoQ +2.4 R@1.

Table 4Tail-class R@1 on small-scale benchmarks
MethodMSLS R@1Pitts30k R@1
SALAD86.4990.56
SALAD*87.39+0.9091.19+0.63
BoQ89.6489.19
BoQ*91.44+1.8092.56+3.37

Recall on the sparse tail classes, the locations existing models miss most. The gains here exceed the overall improvement, with BoQ* up +3.37 R@1 on Pitts30k.

Recall gains of DAPR over D&C across head, middle, and tail classes at R@1 and R@5Characteristic Function Distance versus L2 retrieval across R@1, R@5, R@10 for SF-XL test v1 and v2

DAPR lifts every group, but most at the sparse tail: +7.35% R@5 on tail versus +1.72% on head.

The Characteristic Function Distance lifts recall at every cutoff on both SF-XL test sets, with no extra training.

Conclusion

We identify and address a long-tail problem baked into urban VPR, where geographic classes follow a roughly 300:1 image imbalance and existing models systematically fail on the under-sampled tail. DAPR answers it with two plug-and-play modules: a Low-visit Bias loss that rebalances gradient contributions during training, and a Characteristic Function Distance that adapts the retrieval metric to each class’s distribution. Across SF-XL, MSLS, Pitts30k, and Nordland, DAPR drops into existing VPR pipelines and holds across backbones, lifting the sparse tail with no architectural changes. A natural next step is the feature-level long tail, where class difficulty is set by intra-class feature coherence rather than raw sample count.

BibTeX

@inproceedings{shu2026lost,
  author    = {Zhiyao Shu and Jiacheng Yang and Yang Lu and Waishan Qiu and Chuan Li and Da Chen},
  title     = {Lost in the Tail: Addressing Geographic Imbalance in Urban Visual Place Recognition},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2026}
}
← back to Zoey Shu