Gaussian Combined Distance: A Generic Metric for Object Detection

Ziqian Guan, Xieyi Fu, Pengjun Huang, Hengyuan Zhang, Hubin Du +3 more
10/31/2025
cs.CV

Official code: MArKkwanGuan/mmdet-GCD (8 stars, Apache-2.0, last commit 2025-03-08).

Abstract

In object detection, a well-defined similarity metric can significantly enhance model performance. Currently, the IoU-based similarity metric is the most commonly preferred choice for detectors. However, detectors using IoU as a similarity metric often perform poorly when detecting small objects because of their sensitivity to minor positional deviations. To address this issue, recent studies have proposed the Wasserstein Distance as an alternative to IoU for measuring the similarity of Gaussian-distributed bounding boxes. However, we have observed that the Wasserstein Distance lacks scale invariance, which negatively impacts the model's generalization capability. Additionally, when used as a loss function, its independent optimization of the center attributes leads to slow model convergence and unsatisfactory detection precision. To address these challenges, we introduce the Gaussian Combined Distance (GCD). Through analytical examination of GCD and its gradient, we demonstrate that GCD not only possesses scale invariance but also facilitates joint optimization, which enhances model localization performance. Extensive experiments on the AI-TOD-v2 dataset for tiny object detection show that GCD, as a bounding box regression loss function and label assignment metric, achieves state-of-the-art performance across various detectors. We further validated the generalizability of GCD on the MS-COCO-2017 and Visdrone-2019 datasets, where it outperforms the Wasserstein Distance across diverse scales of datasets. Code is available at https://github.com/MArKkwanGuan/mmdet-GCD.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official code for " Gaussian Combined Distance: A Generic Metric for Object Detection"

80Shell, PythonFeb 11, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{guan2025gaussian,
  title  = {Gaussian Combined Distance: A Generic Metric for Object Detection},
  author = {Ziqian Guan and Xieyi Fu and Pengjun Huang and Hengyuan Zhang and Hubin Du and Yongtao Liu and Yinglin Wang and Qang Ma},
  year   = {2025},
  eprint = {2510.27649},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.27649v1}
}

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/2510.27649.svg)](https://codeofpaper.com/paper/2510.27649)

Discussion