[Paper Review] Phase-Shifting Coder: Predicting Accurate Orientation in Oriented Object Detection
This paper proposes the Phase-Shifting Coder (PSC) and its dual-frequency variant (PSCD), a differentiable angle coding method that maps orientation angles into periodic phases to resolve boundary discontinuity and square-like problems in oriented object detection. PSC achieves state-of-the-art performance, outperforming CSL and KLD by up to 2.59 pp in mAP75 on DOTA and generalizing well across datasets without hyperparameter tuning.
With the vigorous development of computer vision, oriented object detection has gradually been featured. In this paper, a novel differentiable angle coder named phase-shifting coder (PSC) is proposed to accurately predict the orientation of objects, along with a dual-frequency version (PSCD). By mapping the rotational periodicity of different cycles into the phase of different frequencies, we provide a unified framework for various periodic fuzzy problems caused by rotational symmetry in oriented object detection. Upon such a framework, common problems in oriented object detection such as boundary discontinuity and square-like problems are elegantly solved in a unified form. Visual analysis and experiments on three datasets prove the effectiveness and the potentiality of our approach. When facing scenarios requiring high-quality bounding boxes, the proposed methods are expected to give a competitive performance. The codes are publicly available at https://github.com/open-mmlab/mmrotate.
Motivation & Objective
- To address boundary discontinuity and square-like problems in oriented object detection caused by angular periodicity.
- To unify rotational symmetry issues (180° and 90°) under a single framework inspired by optical phase-shifting techniques.
- To develop a differentiable, end-to-end trainable angle coder that improves regression accuracy in deep learning-based detectors.
- To evaluate the method on diverse datasets, including DOTA, HRSC, and OCDPCB, under consistent training conditions.
- To demonstrate generalization capability without dataset-specific hyperparameter tuning.
Proposed method
- PSC encodes orientation angles into periodic phases using a single frequency, leveraging the phase’s continuity to resolve boundary discontinuity at ±π/2.
- PSCD extends PSC by using two frequencies (low and high) to resolve phase ambiguity, solving the square-like problem via phase unwrapping.
- The phase is computed as φ = (θ + π) / (2π) × N, where N is the number of phase bins, mapping the [−π, π] range to [0, N).
- The network predicts phase values directly, and the angle is decoded by inverting the phase mapping, enabling differentiable training.
- The dual-frequency approach combines low-frequency and high-frequency phases to uniquely determine the true angle, even under 90° rotational symmetry.
- The method is integrated into standard detectors like RetinaNet, FCOS, and YOLOv5, with minimal computational overhead.
Experimental results
Research questions
- RQ1Can phase-shifting coding effectively resolve boundary discontinuity in oriented object detection?
- RQ2Can a dual-frequency phase-shifting approach eliminate the square-like problem caused by 90° rotational symmetry?
- RQ3Does the proposed PSC method generalize across datasets without requiring dataset-specific hyperparameter tuning?
- RQ4How does PSC compare to existing angle-coding methods like CSL and KLD in terms of mAP and inference efficiency?
- RQ5What is the impact of the dual-frequency extension (PSCD) on performance across different datasets and model architectures?
Key findings
- On the DOTA dataset, PSCD outperforms CSL by 1.15 pp in mAP50 and 2.59 pp in mAP75, demonstrating significant accuracy gains.
- PSCD achieves 2.36 pp higher mAP75 than KLD on DOTA, indicating superior performance for high-IoU detection.
- On the OCDPCB dataset, PSC outperforms KLD by 9.83 pp in mAP75 without any hyperparameter tuning, showing strong generalization.
- PSC and PSCD show minimal inference time overhead, with PSC adding only 0.2 ms and PSCD 0.5 ms to RetinaNet (R-50) on 1024×1024 images.
- The dual-frequency strategy improves mAP75 by 3.94 pp on YOLOv5s and 3.60 pp on YOLOv5m on DOTA, but degrades performance on HRSC and OCDPCB, indicating context-dependent benefits.
- PSC and PSCD require no dataset-specific hyperparameter tuning, enabling plug-and-play deployment in new scenarios with consistent performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.