RUBIK
CVPR 2025

RUBIK
A Structured Benchmark for Image Matching across Geometric Challenges

Thibaut Loiseau1  ·  Guillaume Bourmaud2

1LIGM, Ecole des Ponts, Univ. Gustave Eiffel, CNRS    2Laboratoire IMS, Univ. de Bordeaux

Abstract

Camera pose estimation is crucial for many computer vision applications, yet existing benchmarks offer limited insight into method limitations across different geometric challenges. We introduce RUBIK, a novel benchmark that systematically evaluates image matching methods across well-defined geometric difficulty levels. Using three complementary criteria—overlap, scale ratio, and viewpoint angle—we organize 16.5K image pairs from nuScenes into 33 difficulty levels. Our comprehensive evaluation of 14 methods reveals that while recent detector-free approaches achieve the best performance (>47% success rate), they come with significant computational overhead compared to detector-based methods (150–600ms vs. 40–70ms). Even the best performing method succeeds on only 54.8% of the pairs, highlighting substantial room for improvement, particularly in challenging scenarios combining low overlap, large scale differences, and extreme viewpoint changes.

RUBIK teaser: examples of image pairs across three difficulty criteria

RUBIK benchmark overview. Image pairs spanning three difficulty criteria: scene overlap, scale ratio, and viewpoint angle difference. The benchmark contains 16.5K image pairs across 33 difficulty levels and is used for comprehensive benchmarking of 14 methods.

At a Glance

16.5K
Image Pairs
33
Difficulty Levels
14
Methods Evaluated

Approach

RUBIK is built on images from nuScenes, a large-scale autonomous driving dataset. We carefully lift the original 3-DoF ground-plane poses to full 6-DoF using COLMAP, then generate dense co-visibility maps for each image pair by warping metric depth maps (UniDepth) and surface normals (Depth Anything V2) across views. These maps allow us to compute three complementary geometric criteria for each pair:

ω
Overlap
Co-visible pixel ratio
δ
Scale Ratio
Camera distance ratio
θ
Viewpoint Angle
Line-of-sight angle

Each criterion is quantized into bins, forming a 3D grid of difficulty levels. We populate each valid cell with 500 image pairs, yielding 33 levels and 16.5K pairs spanning the full spectrum of geometric challenges.

3D grid organization of RUBIK benchmark

3D grid organization. Each axis represents one geometric criterion (overlap, scale ratio, viewpoint angle). While the binning strategy theoretically creates 80 combinations, only 33 are physically realizable—for instance, high overlap with small scale ratio rarely produces large viewpoint angles.

RUBIK co-visibility map estimation pipeline

Dense co-visibility map estimation. Using normal and depth maps along with relative camera poses, we warp depth maps between views and apply geometric consistency checks to classify pixels as co-visible, occluded, or outside the field of view.

Benchmark Results

We evaluate 14 image matching methods using a standardized pipeline: image matching with default parameters, essential matrix estimation via MAGSAC++, and scale recovery using monocular depth. A pose is successful when rotation error < 5° and translation error < 2m.

Method Avg. Rank ↓ Success (%) Time (ms)
Detector-based methods
ALIKED + LightGlue5.336.845
DISK + LightGlue5.435.969
SuperPoint + LightGlue6.135.743
SIFT + LightGlue7.333.1194
DeDoDe v28.630.4282
XFeat + LighterGlue9.030.143
XFeat*12.515.182
XFeat13.114.254
Detector-free methods
DUSt3R2.454.8257
MASt3R2.553.6173
RoMa2.747.3614
ELoFTR9.526.6124
ASpanFormer9.824.8108
LoFTR10.824.9185

Key Findings

Citation

@inproceedings{loiseau2025rubik,
  title={RUBIK: A structured benchmark for image matching across geometric challenges},
  author={Loiseau, Thibaut and Bourmaud, Guillaume},
  booktitle={Proceedings of the Computer Vision and Pattern Recognition Conference},
  pages={27070--27080},
  year={2025}
}

Acknowledgments

This project has received funding from the Bosch Research Foundation (Bosch Forschungsstiftung), and was granted access to the HPC resources of IDRIS under the allocation 2024-AD011014905R1 made by GENCI.