TL;DR
G-Rep introduces a unified Gaussian representation for oriented object detection, bridging the gap between different formats like bounding boxes and point sets. By converting these representations into Gaussian distributions and using statistical distance metrics for both training and label assignment, the authors resolve persistent issues like boundary discontinuity and point-ordering ambiguity, achieving state-of-the-art results on aerial and scene text datasets.
What Problem Does This Paper Address?
Detecting objects with arbitrary orientations (like ships in a harbor or text on a tilted sign) is significantly more complex than standard horizontal detection. Researchers typically use one of three representations:
- Oriented Bounding Boxes (OBB): Simple but suffers from "boundary discontinuity" (where a tiny angle change causes a massive jump in loss) and the "square-like problem."
- Quadrilateral Bounding Boxes (QBB): Defined by four corners, but sensitive to the order in which those corners are defined (representation ambiguity).
- PointSets: Flexible sets of points that can wrap around an object, but highly sensitive to "isolated points"—a single outlier can drastically lower the Intersection over Union (IoU) score.
While specific fixes exist for each representation, there hasn't been a unified framework that solves these intrinsic flaws across the board.
Methods
The core innovation is G-Rep, which maps any of the above representations into a 2D Gaussian distribution.
- Unified Conversion: For PointSets and QBBs, the authors use Maximum Likelihood Estimation (MLE) to calculate the mean ($\mu$) and covariance matrix ($\Sigma$) of the points. For OBBs, they use a direct matrix transformation. This allows the model to treat all object types as probability distributions.
- Statistical Distance Metrics: Instead of relying on standard IoU or Smooth $L_1$ losses, G-Rep employs statistical distances between the predicted and ground-truth Gaussians. They explore three metrics: Kullback–Leibler Divergence (KLD), Bhattacharyya Distance (BD), and Wasserstein Distance (WD).
- Metric Alignment: A common pitfall in detection is using one metric (like IoU) to select positive samples (label assignment) and another (like $L_1$) for the regression loss. G-Rep aligns these by using the same Gaussian distance metrics for both tasks.
- Dynamic Label Assignment: They propose PATSS, a strategy that combines the strengths of ATSS (Adaptive Training Sample Selection) and PAA (Probabilistic Anchor Assignment) to dynamically select the best training samples based on Gaussian similarity.
Datasets
The authors evaluated G-Rep on four widely used public benchmarks:
- DOTA: A large-scale dataset for aerial object detection with 15 categories.
- HRSC2016: A dataset specifically for ship detection in satellite imagery.
- UCAS-AOD: A dataset containing cars and airplanes in aerial scenes.
- ICDAR2015: A standard benchmark for oriented scene text detection.
Key Insights and Ideas
- Breaking the OBB Limitation: Previous Gaussian-based methods were restricted to OBBs. By applying MLE to PointSets, G-Rep proves that Gaussian modeling is a universal tool for oriented detection.
- Robustness to Outliers: Because the Gaussian distribution models the overall distribution of points, it is naturally resistant to the "isolated point" problem that plagues standard PointSet methods. One stray point won't significantly shift the mean or covariance of the entire set.
- Solving Discontinuity: Because the Gaussian representation is based on the covariance matrix, it inherently handles the periodicity of angles and the swapping of width/height at boundaries, making the regression process much smoother for the neural network.
Key Results
G-Rep demonstrated significant performance boosts across all tested datasets:
- DOTA: Achieved 80.16% mAP using a Swin-Transformer backbone, outperforming a wide array of existing one-stage and two-stage detectors.
- Elongated Objects: The method showed massive improvements for narrow, long objects. For example, on the DOTA dataset, it improved the detection of helicopters (HC) by 17.70% mAP compared to the PointSet baseline.
- Efficiency: Despite the added complexity of MLE and statistical distances, G-Rep maintains a competitive inference speed of 19.3 fps, only slightly slower than the 24.0 fps of the baseline RepPoints model.
Limitations and Future Work
The authors note a few key limitations:
- Output Format: While the internal representation is Gaussian, the final output is still converted back to an OBB for standard evaluation. This conversion can introduce slight inaccuracies.
- Square-like Objects: For objects that are nearly square, the resulting Gaussian is isotropic (circular). In these cases, predicting a specific angle becomes mathematically unstable, which can lead to inaccurate orientation for perfectly square objects.
- Regularity vs. Irregularity: While G-Rep excels at irregular shapes via PointSets, the authors admit that for very regular, square-like objects, a standard OBB representation might still be slightly more accurate.
Summary updated