Skip to main content
QUICK REVIEW

[Paper Review] AlphaRotate: A Rotation Detection Benchmark using TensorFlow

Xue Yang, Yue Zhou|arXiv (Cornell University)|Nov 12, 2021
Time Series Analysis and ForecastingComputer Science31 references5 citations
TL;DR

AlphaRotate is a TensorFlow-based open-source benchmark for rotation detection, supporting over 18 state-of-the-art models across aerial, text, and face detection tasks. It enables scalable training and evaluation with modular design, comprehensive testing, and high code coverage, achieving SOTA mAP scores up to 50.90 on DOTA v2.0 under the KLD loss with OpenCV box definition.

ABSTRACT

AlphaRotate is an open-source Tensorflow benchmark for performing scalable rotation detection on various datasets. It currently provides more than 18 popular rotation detection models under a single, well-documented API designed for use by both practitioners and researchers. AlphaRotate regards high performance, robustness, sustainability and scalability as the core concept of design, and all models are covered by unit testing, continuous integration, code coverage, maintainability checks, and visual monitoring and analysis. AlphaRotate can be installed from PyPI and is released under the Apache-2.0 License. Source code is available at https://github.com/yangxue0827/RotationDetection.

Motivation & Objective

  • To address the lack of a unified, scalable, and maintainable benchmark for rotation detection in TensorFlow.
  • To provide a modular, well-documented framework that supports both industrial deployment and academic research.
  • To enable fair and comprehensive evaluation of rotation detection models across diverse datasets like DOTA, scene text, and face detection.
  • To improve code sustainability through unit testing, continuous integration, code coverage, and visual monitoring.
  • To support multi-GPU training, data augmentation, and advanced techniques like stochastic weight averaging for performance boost.

Proposed method

  • AlphaRotate implements a modular architecture separating backbone, neck, head, and loss components for flexible model composition.
  • It uses TensorFlow's tfrecord format for efficient data loading and supports multi-GPU training and multi-process inference.
  • The framework integrates state-of-the-art rotation detection methods, including anchor-based, anchor-free, and hybrid models like RSDet, R3Det, and KLD.
  • It supports three box definitions: OpenCV (θ ∈ [−90°, 0°)), Long Edge (θ ∈ [−90°, 90°)), and quadrilateral (four-point) boxes.
  • The benchmark includes automated testing with over 92% line coverage, continuous integration, and visual monitoring for model reliability.
  • It provides Docker images, detailed tutorials, and configuration files under configs/ for easy deployment and customization.

Experimental results

Research questions

  • RQ1How can a scalable, production-ready rotation detection benchmark be built in TensorFlow, given the dominance of PyTorch-based frameworks?
  • RQ2What level of performance and code maintainability can be achieved with a modular, well-tested, and extensible framework for rotation detection?
  • RQ3How does the integration of advanced loss functions (e.g., KLD, GWD) affect mAP across different datasets and box definitions?
  • RQ4To what extent can AlphaRotate support diverse datasets like DOTA, scene text, and face detection with consistent evaluation protocols?
  • RQ5Can a TensorFlow-based benchmark achieve SOTA performance comparable to PyTorch-based counterparts while ensuring industrial deployment efficiency?

Key findings

  • AlphaRotate achieves a mAP 50:95 score of 50.90 on DOTA v2.0 using the KLD loss with OpenCV box definition, outperforming other models in the benchmark.
  • The KLD-based model reaches 71.73 mAP 50 on DOTA v1.0, demonstrating strong generalization across rotation detection tasks.
  • With the FPN backbone and R2-CNN neck, AlphaRotate achieves 66.45 mAP 50:95 on DOTA v1.0, showing high performance with standard components.
  • The framework supports multi-GPU training and multi-process inference, enabling efficient scaling for large-scale datasets.
  • All models are covered by unit testing, continuous integration, and visual monitoring, ensuring high code maintainability and reliability.
  • The benchmark includes 18+ state-of-the-art models and supports training and evaluation on nearly ten datasets, including aerial, text, and face detection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.