arXiv(opens in a new tab)cs.CVSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.04369

AdaptVPR: Route-Aware Hard Positive Generation for Robust Visual Place Recognition

Shunpeng Chen, Jingyi Zhang, Changwei Wang, Shengpeng Xu, Yukun Song, Xingtian Pei, Jinzhou Lin, Li Guo, Shibiao Xu

Shunpeng Chen*, Jingyi Zhang*, Changwei Wang, Shengpeng Xu, Yukun Song, Xingtian Pei, Jinzhou Lin, Li Guo, and Shibiao Xu†

Abstract—Visual Place Recognition (VPR) localizes a query image by retrieving database images of the same or nearby place, yet its robustness is often degraded by domain shifts arising from illumination, weather, seasonal changes, and dynamic occlusions. One contributing factor is the limited appearance diversity of the same place in existing training data. To address this issue, we propose AdaptVPR, a route-aware generative augmentation framework that constructs same-place hard positives for robust VPR training. AdaptVPR first uses a vision language model to parse scene attributes and estimate editing feasibility, while a rule-based scheduler determines the generation route according to editability scores and risk constraints. The generation process is decomposed into three complementary routes: the Global Appearance Route introduces global scene changes in weather, illumination, and time of day; the Local Occlusion Route inserts plausible dynamic occluders; and the Dual Route combines both types of perturbations to produce more challenging appearance shifts. Each generated candidate is evaluated using a VPR-oriented verification scheme based on geometric consistency and appearance diversity, reducing the risk of structural drift while ensuring sufficient appearance variation. Global candidates are generated once and rejected if verification fails, while Local Occlusion and Dual candidates use verification feedback for limited prompt refinement and regeneration. Using this framework, we construct AdaptCities, containing 160K verified synthetic same-place hard positives. Experiments across multiple VPR baselines and vision foundation backbones show consistent gains on standard benchmarks and substantial improvements under challenging domain shifts, with R@1 gains of up to 9.2%. The source code and data resources are publicly available at https://github.com/chenshunpeng/AdaptVPR.

Index Terms—Visual Place Recognition, Hard Positive Generation, Diffusion Models, Domain Shift, Data Augmentation

I. INTRODUCTION

Visual Place Recognition (VPR) is a fundamental component of long term visual localization [1]–[3], autonomous driving [4]–[6], and mobile robot navigation [7], [8]. Given a query image, a VPR system retrieves database images captured at the same or nearby locations, thereby formulating localization as a large scale image retrieval problem. Over the past decade, VPR has evolved from handcrafted local features and aggregation based representations [9]–[12] to deep global descriptors [13]–[18], classification based geo-localization [19]–[22], and more

recently, representation learning built upon vision foundation models [23]–[27]. Despite these advances, robust place recognition under open world domain shifts remains challenging. Images of the same place may undergo changes caused by illumination, weather, season, traffic, and dynamic occlusions. Such variations can alter visual appearance more strongly than the underlying place identity itself, making it difficult for retrieval models to learn representations that remain stable beyond the training distribution.

A natural way to improve such robustness is to expose VPR models to more diverse observations of the same place during training. However, collecting real revisits that cover combinations of weather, illumination, seasonal conditions, and dynamic foreground changes is expensive and difficult to scale. Conventional image augmentations, such as color jittering, cropping, blurring, and random erasing, provide useful low level perturbations but cannot faithfully reproduce complex domain shifts such as rainy nights, snowy roads, strong reflections, dynamic traffic, or structured foreground occlusions. Generative augmentation therefore provides an appealing alternative. Early image translation approaches, including CycleGAN and ToDayGAN [28], [29], have been used to transfer appearance across adverse conditions, while recent VPR studies further explore nighttime translation and synthetic street view generation [30], [31]. The emergence of diffusion models further expands this space by enabling flexible text and condition controlled editing [32]–[35].

However, generative augmentation for VPR faces a requirement that differs fundamentally from generic image synthesis. A useful generated image should differ sufficiently from its source to provide an informative hard positive, while preserving the spatial structures that define the physical place. Optimizing only for realism, text alignment, or editability does not guarantee this property. A visually plausible rainy street or a realistic vehicle insertion may still modify building facades, road topology, lane markings, window layouts, or scene boundaries, thereby changing cues that are critical for place recognition [31], [36]. Similarly, diffusion models conditioned on layouts, boxes, edges, or depth provide stronger spatial control but are not explicitly designed to preserve place identity [34], [37]–[39]. If structurally corrupted images are treated as positives during metric learning, they may act as false positives and introduce undesirable supervision into the learned embedding space. As illustrated in Fig. 1, generic editing strategies may therefore produce realistic images that are nevertheless unsuitable for VPR training. The challenge is consequently not to generate more images, but to generate valid same-place hard positives that introduce meaningful

Shunpeng Chen, Jingyi Zhang, Shengpeng Xu, Yukun Song, Xingtian Pei, Jinzhou Lin, Li Guo, and Shibiao Xu are with the School of Artificial Intelligence, Beijing University of Posts and Telecommunications.

Changwei Wang is with the Key Laboratory of Computing Power Network and Information Security, Ministry of Education, Shandong Computer Science Center, Qilu University of Technology.

*Shunpeng Chen and Jingyi Zhang contributed equally to this work (e-mail: {shunpengchen, jingyizhang18}@bupt.edu.cn).

†Corresponding author: Shibiao Xu (e-mail: shibiaoxu@bupt.edu.cn).

Figure

Fig. 1. VPR-oriented hard positive generation. Given the same reference image and seed instruction, generic editing methods may introduce structure drift, identity drift, or uncontrolled object insertion. AdaptVPR decomposes generation into the Global Appearance Route, Local Occlusion Route, and Dual Route, and uses VPR-oriented verification to retain visually diverse yet geometrically consistent same-place positives. For the Local Occlusion Route and Dual Route, verification feedback further guides prompt refinement through a reflective generation loop.

Figure

Fig. 2. R@1 gains from AdaptVPR across representative VPR methods.

appearance changes while limiting place identity drift.

Many existing generative augmentation pipelines largely follow a feed-forward process in which candidates are generated and subsequently selected or filtered [30], [31], [40]–[42]. This passive generation paradigm leaves two important issues insufficiently addressed. First, different forms of domain shift require different editing behaviors. Weather, illumination, and time of day should affect the scene globally while preserving its spatial layout, whereas vehicles, pedestrians, and other dynamic occluders should modify localized regions without rewriting the background geometry. Handling these factors through a single static generation strategy can lead to insufficient appearance change, excessive structural modification, or implausible object insertion. Second, existing pipelines typically do not exploit failure-specific verification feedback to iteratively correct unsuccessful candidates. For localized or compound edits, however, verification signals can indicate whether the current generation is too conservative, too aggressive, or geometrically inconsistent. This observation motivates a generation process that combines scene dependent editing strategies with VPR specific feedback before a synthetic image is admitted into the training set.

Based on these observations, we argue that robustness under domain shift can be improved by explicitly expanding the

same-place appearance distribution. The same geographical place should be observed under substantially different visual conditions while remaining close in the learned descriptor space. Following this perspective, we propose AdaptVPR, a route-aware generative augmentation framework for constructing same-place hard positives. AdaptVPR first uses a vision language model to parse scene attributes and estimate the feasibility of different edits. A rule-based scheduler then determines the executable generation route according to editability scores and risk constraints. The generation process is decomposed into three complementary routes. The Global Appearance Route introduces global variations in weather, illumination, and time of day. The Local Occlusion Route inserts plausible dynamic occluders while preserving the global scene. The Dual Route combines both types of perturbations to construct more challenging compound shifts. This decoupling allows the generation strategy to better match the physical characteristics of different visual changes instead of forcing all samples through a single editing process.

To reduce the risk of introducing harmful positives, each generated candidate is evaluated using a geometry and diversity verification scheme designed for VPR. Geometric consistency is estimated from local feature correspondences and robust geometric fitting, providing a proxy signal for structural preservation. Appearance diversity evaluates whether the intended visual change is sufficiently informative. The verification policy is adapted to the characteristics of each generation route. AdaptVPR further employs selective reflection. The Global Appearance Route performs a single generation followed by verification and direct rejection if the candidate is invalid. In contrast, candidates from the Local Occlusion Route and Dual Route can use verification feedback to refine their prompts and regenerate within a limited reflection budget.

Using AdaptVPR, we construct AdaptCities from GSV-

Cities [43] 1^{1}, containing 160K verified synthetic same-place hard positives covering global appearance changes, local occlusions, and their combinations. AdaptVPR operates entirely at the training data level and can be integrated into different VPR models as a general augmentation strategy. As shown in Fig. 2, AdaptVPR consistently improves multiple representative VPR methods across ten benchmark datasets, with particularly pronounced gains under challenging domain shifts.

Our contributions are summarized as follows:

  • We formulate generative augmentation for VPR as the construction of same-place hard positives, emphasizing the need to expand the diversity of same-place appearances while controlling identity drift under domain shift.

  • We propose AdaptVPR, a route-aware generative augmentation framework that combines VLM based scene understanding, rule-based route scheduling, and three complementary generation routes for global appearance changes, local occlusions, and compound domain shifts.

  • We introduce a route-specific geometry and diversity verification scheme together with selective reflection, where verification feedback is used to refine Local and Dual generations while invalid Global candidates are rejected.

  • We construct AdaptCities with 160K verified synthetic same-place hard positives and demonstrate the generality of AdaptVPR across VPR baselines and vision foundation backbones, yielding consistent retrieval gains and strong robustness improvements under domain shifts.

References (86)