Theoretically Achieving Continuous Representation of Oriented Bounding Boxes

Zi-Kai Xiao, Guo-Ye Yang, Xue Yang, Tai-Jiang Mu, Junchi Yan, Shi-Min HuCVPR 2024 · DOI

TL;DR

This paper introduces Continuous Oriented Bounding Box (COBB), a novel representation that theoretically guarantees continuous regression for oriented objects, addressing a long-standing discontinuity issue in object detection. COBB significantly improves detection accuracy, especially for high-precision tasks, by eliminating decoding ambiguities and incompleteness.

What Problem Does This Paper Address?

Oriented Object Detection (OOD) is crucial for scenarios where objects have arbitrary orientations, like remote sensing or text detection. However, existing methods for representing Oriented Bounding Boxes (OBBs) suffer from "discontinuity." This means that small changes in an object's orientation or aspect ratio can lead to large, abrupt changes in its encoded representation. This discontinuity makes it difficult for models to learn effectively, leading to issues like Decoding Incompleteness (DI) and Decoding Ambiguity (DA). Prior work has only partially addressed these issues, often introducing new problems. This paper aims to provide a complete, theoretically sound solution to OBB representation discontinuity.

Methods

The core contribution is the Continuous Oriented Bounding Box (COBB) representation. Instead of relying on traditional angle-based representations, COBB uses a combination of:

  • Outer Horizontal Bounding Box (HBB): (xc, yc, w, h) – standard parameters for a regular bounding box.
  • Sliding Ratio (rs): A novel parameter derived from the aspect ratio of the OBB relative to its outer HBB. This ratio is designed to change continuously with OBB transformations.
  • Four IoU Scores: These scores represent the Intersection over Union (IoU) between the target OBB and four potential OBBs that share the same HBB and sliding ratio. These scores help disambiguate similar representations.

COBB's key innovation lies in its theoretical guarantee of continuity for both encoding (how an OBB is represented) and decoding (how a representation is converted back to an OBB). The paper also introduces formal metrics to assess this continuity and a modularized benchmark framework (JDet) for fair comparisons.

Datasets

The paper uses the following datasets for evaluation:

  • DOTA-v1.0 and DOTA-v1.5: Large-scale datasets for remote sensing object detection.
  • DIOR: Another remote sensing object detection dataset.
  • HRSC2016: A ship detection dataset.
  • FAIR1M-1.0 and FAIR1M-2.0: Datasets for fine-grained object detection in aerial images.

The authors also developed a modularized benchmark using Jittor's detection toolbox (JDet) to ensure fair comparisons across different OOD methods.

Key Insights and Ideas

  • Discontinuity is the Root Cause: The paper convincingly argues that the fundamental problem in OBB representation is discontinuity, leading to both encoding and decoding issues.
  • Beyond Angle: COBB moves away from direct angle regression, which is prone to periodicity issues, by introducing the sliding ratio rs and IoU scores for disambiguation.
  • Theoretical Guarantee: The paper doesn't just propose a new method; it rigorously proves its theoretical continuity, a significant step towards robust OBB representation.
  • IoU Scores for Disambiguation: Using IoU scores to differentiate between potential OBBs with the same HBB and sliding ratio is an elegant way to handle ambiguity.
  • JDet Benchmark: The creation of a standardized, modular benchmark is crucial for reproducible and fair evaluation in the OOD field.

Key Results

  • Improved Accuracy: COBB consistently outperforms baseline detectors. For example, when integrated with Faster R-CNN on the DOTA dataset, it achieved a 3.95% improvement in mAP75 and 1.21% improvement in mAP50 on average.
  • High-Precision Performance: The method shows particular strength in high-precision metrics like mAP75, indicating its effectiveness in accurately localizing objects.
  • Handles Aspect Ratio and Rotation: COBB effectively addresses both rotation and aspect ratio discontinuities, a feat not achieved by prior methods.
  • Robustness: Experiments show COBB is more robust to slight perturbations in predictions compared to methods like KLD, especially for square-like objects.
  • Efficiency: COBB is designed to be a "plugin" and can be readily integrated into existing detectors without significant architectural changes.

Limitations and Future Work

  • Limitations: The paper notes that while COBB improves most OOD models, the variation of rs and IoU scores during OBB rotation might limit its impact on rotation-equivariant detectors (like ReDet).
  • Future Work: The authors suggest that COBB's effectiveness in enhancing most OOD models by eliminating discontinuity is a promising direction. Further exploration of its impact on specific detector architectures and potentially extending its application to other related tasks could be future avenues.

Summary updated

BibTeX
@misc{xiao2024theoretically,
  author = {Zi-Kai Xiao and Guo-Ye Yang and Xue Yang and Tai-Jiang Mu and Junchi Yan and Shi-Min Hu},
  title = {{Theoretically Achieving Continuous Representation of Oriented Bounding Boxes}},
  year = {2024},
  eprint = {2402.18975},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.18975},
}
Figure