CQVPR: Landmark-aware Contextual Queries for Visual Place Recognition
Dongyue Li, Daisuke Deguchi, Hiroshi Murase
TL;DR
CQVPR addresses the challenge of visual place recognition in urban environments by integrating high-level contextual information with pixel-level features. It introduces learnable contextual queries that produce context-aware heatmaps, enabling more discriminative global and local descriptors via a Transformer-based cross-attention mechanism. A dedicated contextual query matching loss aligns representations across images from the same place, while remaining robust to different places; the approach yields state-of-the-art performance on Pitts30k, MSLS-val, Pitts250k, and SPED, with notable gains in challenging AmsterTime and SVOX settings. Overall, CQVPR bridges the gap between pixel-level and segment-level methods, improving landmark disambiguation by jointly leveraging landmarks and their surrounding context for robust VPR in real-world scenarios.
Abstract
Visual Place Recognition (VPR) aims to estimate the location of the given query image within a database of geo-tagged images. To identify the exact location in an image, detecting landmarks is crucial. However, in some scenarios, such as urban environments, there are numerous landmarks, such as various modern buildings, and the landmarks in different cities often exhibit high visual similarity. Therefore, it is essential not only to leverage the landmarks but also to consider the contextual information surrounding them, such as whether there are trees, roads, or other features around the landmarks. We propose the Contextual Query VPR (CQVPR), which integrates contextual information with detailed pixel-level visual features. By leveraging a set of learnable contextual queries, our method automatically learns the high-level contexts with respect to landmarks and their surrounding areas. Heatmaps depicting regions that each query attends to serve as context-aware features, offering cues that could enhance the understanding of each scene. We further propose a query matching loss to supervise the extraction process of contextual queries. Extensive experiments on several datasets demonstrate that the proposed method outperforms other state-of-the-art methods, especially in challenging scenarios.
