Rethinking Rotated Object Detection with Gaussian Wasserstein Distance Loss

Xue Yang, Junchi Yan, Qi Ming, Wentao Wang, Xiaopeng Zhang +1 more
1/28/2021
676 citations
cs.CVcs.AI

Official code: open-mmlab/mmrotate (2,183 stars, Python, Apache-2.0, PyTorch, last commit 2024-09-28). 1 more implementation below.

Abstract

Boundary discontinuity and its inconsistency to the final detection metric have been the bottleneck for rotating detection regression loss design. In this paper, we propose a novel regression loss based on Gaussian Wasserstein distance as a fundamental approach to solve the problem.

Show full abstract

Specifically, the rotated bounding box is converted to a 2-D Gaussian distribution, which enables to approximate the indifferentiable rotational IoU induced loss by the Gaussian Wasserstein distance (GWD) which can be learned efficiently by gradient back-propagation. GWD can still be informative for learning even there is no overlapping between two rotating bounding boxes which is often the case for small object detection. Thanks to its three unique properties, GWD can also elegantly solve the boundary discontinuity and square-like problem regardless how the bounding box is defined. Experiments on five datasets using different detectors show the effectiveness of our approach. Codes are available at https://github.com/yangxue0827/RotationDetection and https://github.com/open-mmlab/mmrotate.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
open-mmlab/mmrotateOfficial2,183PythonApache-2.02024-09-28
yangxue0827/RotationDetectionOfficial1,118PythonApache-2.02024-11-07
PyTorchApache-2.0

OpenMMLab Rotated Object Detection Toolbox and Benchmark

2,183641Python, DockerfileFeb 17, 20222 years agoApache-2.0
detectionopenmmlabpytorchrotated-object
Apache-2.0

This is a tensorflow-based rotation detection benchmark, also called AlphaRotate.

1,118179Python, CythonOct 26, 20202 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2021rethinking,
  title  = {Rethinking Rotated Object Detection with Gaussian Wasserstein Distance Loss},
  author = {Xue Yang and Junchi Yan and Qi Ming and Wentao Wang and Xiaopeng Zhang and Qi Tian},
  year   = {2021},
  eprint = {2101.11952},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.11952}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.11952.svg)](https://codeofpaper.com/paper/2101.11952)

Discussion