mlsanityData to 7 Oct 2026

Yes, we CANN: Constrained Approximate Nearest Neighbors for local feature-based visual localization

arXiv 2306.09012 ↗First posted 15 Jun 2023cs.CVcited by 4

Not on the map. Why?

Abstract (arXiv)

Large-scale visual localization systems continue to rely on 3D point clouds built from image collections using structure-from-motion. While the 3D points in these models are represented using local image features, directly matching a query image's local features against the point cloud is challenging due to the scale of the nearest-neighbor search problem. Many recent approaches to visual localization have thus proposed a hybrid method, where first a global (per image) embedding is used to retrieve a small subset of database images, and local features of the query are matched only against those. It seems to have become common belief that global embeddings are critical for said image-retrieval in visual localization, despite the significant downside of having to compute two feature types for each query image. In this paper, we take a step back from this assumption and propose Constrained Approximate Nearest Neighbors (CANN), a joint solution of k-nearest-neighbors across both the geometry and appearance space using only local features. We first derive the theoretical foundation for k-nearest-neighbor retrieval across multiple metrics and then showcase how CANN improves visual localization. Our experiments on public localization benchmarks demonstrate that our method significantly outperforms both state-of-the-art global feature-based retrieval and approaches using local feature aggregation schemes. Moreover, it is an order of magnitude faster in both index and query time than feature aggregation schemes for these datasets. Code: urlhttps://github.com/google-research/google-research/tree/master/cann

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 22 of its 53 references that are in the map. First posted on arXiv 15 Jun 2023.

Builds on

22 of 53 references.

References · 22

  1. 2015NetVLAD: CNN architecture for weakly supervised place recognitioncited by 935
  2. 2018From Coarse to Fine: Robust Hierarchical Localization at Large Scalecited by 556
  3. 2017Fine-tuning CNN Image Retrieval with No Human Annotationcited by 497
  4. 2016Large-Scale Image Retrieval with Attentive Deep Local Featurescited by 238
  5. 2020Image Matching across Wide Baselines: From Paper to Practicecited by 224
  6. 2019R2D2: Repeatable and Reliable Detector and Descriptorcited by 206
  7. 2021Back to the Feature: Learning Robust Camera Localization from Pixels to Posecited by 199
  8. 2019Learning with Average Precision: Training Image Retrieval with a Listwise Losscited by 184
  9. 2022Deep Visual Geo-localization Benchmarkcited by 83
  10. 2020Learning and aggregating deep local descriptors for instance-level recognitioncited by 54
  11. 2021DOLG: Single-Stage Image Retrieval with Deep Orthogonal Fusion of Local and Global Featurescited by 54
  12. 2022Correlation Verification for Image Retrievalcited by 47
10 more
  1. 2019Large-scale, real-time visual-inertial localization revisitedcited by 45
  2. 2020SOLAR: Second-Order Loss and Attention for Image Retrievalcited by 45
  3. 2020Benchmarking Image Retrieval for Visual Localizationcited by 42
  4. 2018Detect-to-Retrieve: Efficient Regional Aggregation for Image Searchcited by 39
  5. 2019Local Features and Visual Words Emerge in Activationscited by 36
  6. 2022Learning Super-Features for Image Retrievalcited by 35
  7. 2018Leveraging Deep Visual Descriptors for Hierarchical Efficient Localizationcited by 29
  8. 2022Investigating the Role of Image Retrieval for Visual Localization -- An exhaustive benchmarkcited by 27
  9. 2021Efficient Large Scale Inlier Voting for Geometric Vision Problemscited by 2
  10. 2020Further Results on Colored Range Searchingcited by 1

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 2.

4 papers.