Abstract
Arbitrary-oriented object detection faces a significant challenge known as "representation ambiguity," where a single physical bounding box can be mathematically described in multiple ways. Standard loss functions, being representation-fixed, penalize physically accurate predictions that differ in numerical representation from the ground truth, leading to unstable training. This paper introduces Representation Invariance Loss (RIL) to address this. By treating multiple valid descriptions as equivalent local minima and employing the Hungarian algorithm for optimal matching, RIL improves model convergence and accuracy across various benchmarks without adding inference overhead.
Introduction: The Representation Ambiguity Problem
In oriented object detection, objects are typically represented using Oriented Bounding Boxes (OBB) (center, width, height, angle) or Quadrilateral Bounding Boxes (QBB) (four corner coordinates). However, these representations are not unique. For a QBB, there are 24 possible permutations of the same four vertices. For an OBB, a box at -30° is physically identical to one at -120° if the width and height are swapped.
Standard loss functions like Smooth L1 are "representation-fixed," requiring a strict one-to-one numerical match. If a model predicts a physically perfect box but starts its vertex list from a different corner than the ground truth, the loss function triggers a massive penalty. This "loss jump" confuses the network, making training unstable and hindering performance.
Proposed Method: Representation Invariance Loss (RIL)
The core idea of RIL is to shift the optimization target from matching a specific numerical sequence to matching the physical shape.
QBB as Point Assignment
Instead of a fixed sequence, RIL treats the four corners as an unordered set. It utilizes the Hungarian matching algorithm to dynamically find the optimal one-to-one mapping between predicted and ground-truth vertices during training. This makes the loss "sequence-free."
OBB as Local Minima Matching
For OBB, RIL treats equivalent mathematical descriptions as multiple local minima. The loss function adaptively selects the representation closest to the current prediction, smoothing the optimization landscape.
Normalized Rotation Loss
To balance the contributions of geometric variables (x, y, w, h, $\theta$), the authors introduced a normalized loss comprising:
- Angle Loss ($L_\theta$): Approximates angular deviation using area projections.
- Center Loss ($L_c$): Normalizes center distance by the box's scale.
- Shape Loss ($L_s$): Evaluates shape similarity via horizontal IoU, independent of rotation.
Experimental Results
The authors implemented these concepts into two detectors, RIDet-O and RIDet-Q, and evaluated them on five major benchmarks including HRSC2016, DOTA, and ICDAR2015.
- State-of-the-Art Performance: RIDet-O achieved 89.63% mAP on HRSC2016. On the large-scale DOTA dataset, integrating RIL into $S^2A$-Net reached 77.62% mAP.
- Generalization: Adding RIL to baseline models like RetinaNet consistently improved mAP by 1.4% to 2.3% on the HRSC2016 dataset.
- Efficiency: Since RIL is only applied during training, it provides these accuracy gains with zero inference overhead.
Conclusion
By embracing representation ambiguity rather than attempting to eliminate it through rigid definitions, Representation Invariance Loss provides a more natural and effective optimization target for oriented object detection. This approach aligns the training objective with the actual goal of high Intersection over Union (IoU), leading to faster convergence and superior detection accuracy across diverse datasets.
Summary updated