ZippyPoint: Fast Interest Point Detection, Description, and Matching through Mixed Precision Discretization

Menelaos Kanakis, Simon Maurer, Matteo Spallanzani, Ajad Chhatkuli, Luc Van Gool

Introduction

Deep learning has revolutionized computer vision, but state-of-the-art algorithms like SuperPoint often demand significant computational resources, making them impractical for edge devices like drones, mobile robots, or AR glasses. ZippyPoint addresses this "compute tax" by bridging the gap between high-performance deep learning and efficient handcrafted binary features.

The Challenge: Speed vs. Robustness

Visual localization relies on identifying and describing "interest points" (like corners or blobs). Traditionally, developers faced a difficult trade-off:

  1. Handcrafted Binary Features (e.g., ORB, BRISK): These are extremely fast and memory-efficient but often fail in challenging conditions like low light or significant viewpoint changes.
  2. Deep Learning Features (e.g., SuperPoint, KP2D): These are highly robust and accurate but require powerful GPUs and use "floating-point" descriptors that are slow to match and memory-intensive.

ZippyPoint aims to provide the robustness of deep learning at the speed of binary features, specifically targeting resource-constrained hardware.

Methodology: Mixed-Precision and Binary Normalization

The researchers optimized the KP2D architecture through two primary innovations designed to shrink the computational footprint without sacrificing accuracy.

Mixed-Precision (MP) Quantization

ZippyPoint employs a "layer partitioning and traversal strategy" to determine the optimal bit-depth for each part of the network. While the sensitive "entry" (first convolutional layer) and "exit" (final heads) layers perform best at Int8 (8-bit) precision, many intermediate layers are binarized to 1-bit precision. This mixed-precision approach significantly reduces the computational load.

Architecture and mixed-precision strategy

Binary Normalization (Bin.Norm)

Standard deep descriptors use $L_2$ normalization, which is incompatible with binary vectors. Simple sign functions often lead to "mode collapse," where descriptors become indistinguishable. To solve this, the authors introduced Bin.Norm, a layer that constrains binary descriptors to have a constant number of "on" bits. This sparsity constraint makes the descriptors much more distinctive and stable during training.

Experimental Results

Evaluated on industry-standard benchmarks like HPatches and Aachen Day-Night, ZippyPoint demonstrates "best of both worlds" performance:

  • Inference Speed: It runs at 47.2 FPS on an Apple M1 CPU, a ~13x improvement over the baseline KP2D model.
  • Matching Efficiency: Descriptor matching is 14x to 16x faster than full-precision counterparts due to efficient bitwise XOR operations.
  • Storage Efficiency: 3D maps built with ZippyPoint are 32x smaller than those using SuperPoint, enabling city-scale map storage on mobile devices.
  • Robustness: In the Aachen Night dataset, ZippyPoint achieved a 42.9% higher localization accuracy than ORB, proving that quantized deep features remain superior to handcrafted ones in difficult lighting.
Performance comparison across speed, accuracy, and map size

Conclusion

ZippyPoint proves that quantized deep features can achieve high-end performance on resource-constrained hardware. By combining clever mixed-precision quantization with novel normalization techniques, it enables sophisticated computer vision on the edge without sacrificing speed or accuracy. Future work aims to close the remaining performance gap between quantized and full-precision models in extreme night conditions.

Summary updated

BibTeX
@inproceedings{kanakis2022zippypoint,
  author = {Menelaos Kanakis and Simon Maurer and Matteo Spallanzani and Ajad Chhatkuli and Luc Van Gool},
  title = {{ZippyPoint: Fast Interest Point Detection, Description, and Matching through Mixed Precision Discretization}},
  booktitle = {Workshops @ CVPR},
  year = {2022},
}
Figure