Learning 1-Bit Tiny Object Detector with Discriminative Feature Refinement

Sheng Xu, Mingze Wang, Yanjing Li, Mingbao Lin, Baochang Zhang, David Doermann, Xiao SunICML 2024

TL;DR

1-bit (binary) object detectors offer massive efficiency gains but typically fail when objects are only a few pixels wide. This paper introduces DFR-Det, a training method that uses an Information Bottleneck-inspired decoder and foreground masking to "sharpen" binary features, allowing 1-bit detectors to nearly match the accuracy of full-precision models on tiny object tasks with zero extra cost during inference.

The "Tiny Object" Tax in 1-Bit Detectors

Deep Neural Networks (DNNs) are computationally expensive, making them hard to deploy on edge devices like drones or mobile phones. 1-bit detectors (Binary Neural Networks) solve this by compressing 32-bit floating-point weights and activations into single bits, leading to ~15x speedups and ~5x memory savings.

However, there is a significant "tiny object" tax. While 1-bit detectors perform well on standard objects, their performance collapses on Tiny Object Detection (TOD) tasks where objects might be only 8–12 pixels wide (e.g., vehicles in high-altitude satellite imagery).

Performance gap between real-valued and 1-bit detectors across datasets.

The authors identify the culprit: binary convolutions are too "noisy" to distinguish a tiny foreground object from a cluttered background. High-level features lose the discriminative detail needed to separate small targets from their surroundings.

Comparison of feature maps showing the noisy, less discriminative representations in standard 1-bit detectors.

Discriminative Feature Refinement (DFR-Det)

To address this, the authors propose DFR-Det, which focuses on improving the quality of features during the training phase without adding inference overhead.

  1. Information Bottleneck (IB) Objective: The training goal is reformulated using the IB principle. The network is optimized to retain the maximum amount of "useful" information about the foreground while discarding "useless" background noise.
  2. The DFR Decoder: During training, a lightweight decoder is attached to the "neck" of the detector. This decoder attempts to reconstruct the original image from the 1-bit features.
  3. Foreground-Aware Masking: Instead of reconstructing the entire image, ground-truth labels are used to create a binary mask. The loss function is split:
  4. Foreground Reconstruction: Forces the 1-bit features to be descriptive enough to rebuild the tiny objects.
  5. Background Suppression: Forces the network to ignore background clutter, which otherwise consumes the limited capacity of binary features.
  6. Zero Inference Overhead: Crucially, the decoder and extra loss functions are only used during training. Once trained, the decoder is discarded, leaving a lightning-fast 1-bit detector with no extra parameters.

Key Results and Insights

The researchers evaluated DFR-Det on three challenging benchmarks for tiny objects: AI-TOD (average object size of 12.8 pixels), DOTA-v2.0, and TinyPerson.

  • Closing the Gap: The performance gap between 1-bit and real-valued detectors is usually 4–5% on tiny objects. DFR-Det shrinks this gap significantly. On the AI-TOD dataset, DFR-Det improved the Average Precision (AP) of a 1-bit FCOS detector from 10.1% to 12.8%.
  • Near-Parity with 32-bit: The 12.8% AP achieved by the 1-bit model is remarkably close to the 13.5% AP of its full-precision (32-bit) counterpart.
  • Efficiency: The model maintains the massive efficiency of BNNs, achieving a 13.79x computation acceleration and 4.94x storage saving compared to standard real-valued detectors.
  • Versatility: The method successfully generalizes across different detector architectures, including Faster R-CNN, RetinaNet, and FCOS.

Limitations and Future Work

While inference is "free," the training process is more complex due to the additional decoder and the need for ground-truth masks to calculate the refinement loss. Furthermore, in extremely cluttered environments, the capacity of 1-bit convolutions may still reach a hard limit. Future directions include exploring more sophisticated decoder architectures or adaptive masking—where the network learns what to ignore without explicit ground truth—to further push the boundaries of 1-bit TOD.

Summary updated

BibTeX
@inproceedings{xu2024learning,
  author = {Sheng Xu and Mingze Wang and Yanjing Li and Mingbao Lin and Baochang Zhang and David Doermann and Xiao Sun},
  title = {{Learning 1-Bit Tiny Object Detector with Discriminative Feature Refinement}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=PlM30j9i80},
}
Figure