BOLD - Binary online learned descriptor for efficient image matching

Vassileios Balntas, Lilian Tang, Krystian MikolajczykCVPR 2015

Abstract

In this paper we propose a novel approach to generate a binary descriptor optimized for each image patch independently. The approach is inspired by the linear discriminant embedding that simultaneously increases inter and decreases intra class distances. A set of discriminative and uncorrelated binary tests is established from all possible tests in an offline training process. The patch adapted descriptors are then efficiently built online from a subset of tests which lead to lower intra class distances thus a more robust descriptor. A patch descriptor consists of two binary strings where one represents the results of the tests and the other indicates the subset of the patch-related robust tests that are used for calculating a masked Hamming distance. Our experiments on three different benchmarks demonstrate improvements in matching performance, and illustrate that per-patch optimization outperforms global optimization.

Introduction

In computer vision, image matching is a foundational task for applications such as 3D reconstruction and object tracking. Traditionally, researchers have faced a trade-off between accuracy and speed. Hand-crafted gradient descriptors like SIFT are highly robust but computationally expensive. Conversely, binary descriptors like BRIEF or ORB are extremely fast but often lack robustness because they rely on a fixed, "one-size-fits-all" set of binary intensity tests for every patch.

BOLD (Binary Online Learned Descriptor) addresses this gap by moving optimization from the training phase to the runtime phase. Instead of a globally optimized set of tests, BOLD creates a "bespoke" descriptor for every single image patch on the fly, selecting only the most stable binary tests for that specific patch's unique texture.

Methods

The BOLD pipeline consists of two main stages: global offline selection and local online adaptation.

Global Offline Selection

Before runtime, a "master set" of discriminative binary tests is established. Using a large dataset of diverse patches, the system identifies pairs of pixels whose relative intensity varies significantly across different objects (high inter-class variance) but are not redundant (uncorrelated). This results in a pool of high-quality candidate tests (e.g., 512 tests).

Local Online Adaptation

When a new image patch is detected, BOLD identifies which tests from the master set are "stable" for that specific patch. It simulates how the patch would look under slight affine transformations (rotations or tilts). To maintain efficiency, BOLD transforms the coordinates of the binary tests using a pre-computed lookup table rather than warping the image itself.

Overview of the BOLD descriptor pipeline showing the creation of synthesized views and the resulting descriptor.

Tests with zero variance across these synthetic views are selected. The final descriptor consists of two parts: a bitstring of test results and a binary mask indicating which bits were stable. To compare two patches, a Masked Hamming Distance is used, counting differences only in bits where both patches agreed the tests were stable.

Key Results and Insights

Per-Patch vs. Global Optimization

The core innovation of BOLD is that local optimization is significantly more powerful than global optimization. By selecting a subset of tests specifically for one patch, the descriptor becomes far more discriminative.

Comparison of Hamming distance distributions for global vs. per-patch optimization on the Yosemite dataset.

As shown in the distributions above, per-patch optimization significantly reduces the intersection between positive and negative pair distributions. Quantitatively, this local optimization reduced the matching error from 13.97% to 9.75% compared to global optimization on the Yosemite benchmark.

Performance Benchmarks

  • Accuracy: BOLD significantly outperformed other binary descriptors like ORB and BRIEF, matching the performance of SIFT on the Brown dataset.
  • Speed: BOLD remains remarkably efficient. Extraction takes roughly 10.5 $\mu s$ per patch. While slightly slower than BRIEF (2.7 $\mu s$), it is nearly 40x faster than SIFT (417 $\mu s$) while offering comparable robustness.
  • Tracking: In tracking-by-detection experiments, BOLD-style adaptation improved average recall from 0.17 to 0.29.

Conclusion

BOLD demonstrates that online, per-patch optimization can bridge the gap between the speed of binary descriptors and the accuracy of complex gradient-based methods. While it requires twice the memory of standard binary descriptors to store the stability mask, the gains in matching robustness are substantial. Future work may involve applying this online selection logic to more complex features, such as quantized gradients, to further enhance accuracy.

Summary updated

BibTeX
@inproceedings{balntas2015bold,
  author = {Vassileios Balntas and Lilian Tang and Krystian Mikolajczyk},
  title = {{BOLD - Binary online learned descriptor for efficient image matching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=SkZPcT-uWB},
}
Figure