atlas

Research map / Architectures and efficiency / Attention and transformers

BoQ: A Place is Worth a Bag of Learnable Queries

CVPR 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient image transformers · 42 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Bag-of-Queries (BoQ), a transformer aggregation head with learnable global queries that cross-attend to backbone features for one-stage visual place recognition, outperforming SOTA global methods and two-stage reranking methods.

Problem

Visual place recognition needs compact, robust global descriptors under viewpoint, seasonal, and illumination changes; Transformer-based VPR has relied on reranking and self-attention-derived queries, with weaker one-stage global retrieval than CNN methods.

Approach

Replace input-dependent queries with a fixed bag of learnable global queries that self-attend among themselves and then cross-attend to local features from the backbone, with outputs from multiple BoQ blocks concatenated and projected into an L2-normalized descriptor.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase the number of learnable queries from 8 to 64 per BoQ block (ablation)BoQ · MSLS-valRecall@1: 88.1 -> 91.3Helped
Increase the number of learnable queries from 8 to 64 per BoQ block (ablation)BoQ · AmsterTimeRecall@1: 44.3 -> 52.0Helped
Use 4 BoQ blocks instead of 1 (ablation)BoQ with ResNet-18 · MSLSRecall@1: 87.1 -> 88.1Helped
Increase BoQ blocks from 4 to 8 (ablation)BoQ with ResNet-18 · MSLSRecall@1: 88.1 -> 87.2Hurt
Replace ResNet-50 with ResNet-101 backbone (ablation)BoQ · MSLS-valRecall@1: 91.4 -> 90.5Hurt
Replace ResNet-50 with ResNet-101 backbone (ablation)BoQ · Nordland*Recall@1: 74.4 -> 71.9Hurt
Add self-attention between the learned queries (ablation)BoQ with ResNet-18 · NordlandRecall@1: 56.4 -> 65.9Helped
Add self-attention between the learned queries (ablation)BoQ with ResNet-18 · MSLS-valRecall@1: 87.1 -> 88.4Helped
Use BoQ instead of MixVPRVisual place recognition retrieval · Nordland*Recall@1: 58.4 -> 74.4Helped
Use BoQ instead of EigenPlacesVisual place recognition retrieval · MSLS-valRecall@1: 89.2 -> 91.4Helped
Use BoQ instead of EigenPlacesVisual place recognition retrieval · Pitts30kRecall@1: 92.5 -> 92.4Hurt
Use BoQ instead of MixVPRVisual place recognition retrieval · SVOX NightRecall@1: 64.4 -> 85.2Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSV-Cities

Benchmarks: MSLS-val Pitts250k-test Pitts30k-test AmsterTime Eynsham Nordland SPED St Lucia SVOX

Metrics: Recall@1 Recall@5 Recall@10

Baselines: AVG GeM NetVLAD SPE-NetVLAD Gated NetVLAD Conv-AP CosPlace MixVPR EigenPlaces Patch-NetVLAD TransVPR R2Former

Builds on: NetVLAD MixVPR DETR Multi-Similarity loss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy