Size-invariance Matters: Rethinking Metrics and Losses for Imbalanced Multi-object Salient Object Detection
Feiran Li, Qianqian Xu, Shilong Bao, Zhiyong Yang, Runmin Cong, Xiaochun Cao, Qingming Huang
TL;DR
This work reveals that standard salient object detection metrics are biased toward larger objects in images with multiple salient targets due to size-weighted contributions. It introduces a size-invariant evaluation protocol and per-object metrics (\(\mathsf{SI\text{-}MAE}, \mathsf{SI\text{-}F}, \mathsf{SI\text{-}AUC}\)) by partitioning images into foreground frames and a background frame, effectively removing the weight \(P_{X_i}\). It also proposes a generic size-invariant optimization objective \(\mathcal{L}_{\mathsf{SI}}(f)=\sum_{k=1}^K \ell(f_k^{fore}) + \alpha \ell(f_{K+1}^{back})\) and provides a generalization bound showing favorable scaling with sample size \(N\) and image size \(K=H\times W\). Empirically, SI-SOD yields consistent improvements across benchmarks (MSOD, DUTS-TE) for multiple backbones, notably enhancing small-object and multi-object detection while maintaining competitive traditional metrics; code is available at the authors' GitHub repository.
Abstract
This paper explores the size-invariance of evaluation metrics in Salient Object Detection (SOD), especially when multiple targets of diverse sizes co-exist in the same image. We observe that current metrics are size-sensitive, where larger objects are focused, and smaller ones tend to be ignored. We argue that the evaluation should be size-invariant because bias based on size is unjustified without additional semantic information. In pursuit of this, we propose a generic approach that evaluates each salient object separately and then combines the results, effectively alleviating the imbalance. We further develop an optimization framework tailored to this goal, achieving considerable improvements in detecting objects of different sizes. Theoretically, we provide evidence supporting the validity of our new metrics and present the generalization analysis of SOD. Extensive experiments demonstrate the effectiveness of our method. The code is available at https://github.com/Ferry-Li/SI-SOD.
