Papers › Size-invariance Matters: Rethinking Metrics and Losses for Imbalanced Multi-object...

Size-invariance Matters: Rethinking Metrics and Losses for Imbalanced Multi-object Salient Object Detection

16 May 2024arXiv:2405.09782archive 2025-07-28

Feiran Li, Qianqian Xu, Shilong Bao, Zhiyong Yang, Runmin Cong, Xiaochun Cao, Qingming Huang

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.09782")

Code

Syntology Ran 14 of 15 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 14 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ferry-li/si-sod officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 14 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14ran
1unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ferry-li/si-sod. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BCELoss ferry-li/si-sod/src/loss/original_loss.py official repository ran no licence file found · pointer only · f664996300027356 · report
KthBit ferry-li/si-sod/src/criterions/metrics.py official repository ran fingerprinted no licence file found · pointer only · 7563a493ba77e17d · report
MAELoss ferry-li/si-sod/src/loss/original_loss.py official repository ran fingerprinted no licence file found · pointer only · f65ef5d34d5c1601 · report
MSELoss ferry-li/si-sod/src/loss/original_loss.py official repository ran fingerprinted no licence file found · pointer only · 4c56493a9d63022a · report
binarize ferry-li/si-sod/src/datasets/utils.py official repository ran no licence file found · pointer only · c339b6b7b22e541d · report
binary ferry-li/si-sod/src/datasets/generate_weight.py official repository ran fingerprinted no licence file found · pointer only · 82f310b528b45b8b · report
compute_weight ferry-li/si-sod/src/datasets/generate_weight.py official repository ran fingerprinted no licence file found · pointer only · 9b5a678f5829b353 · report
create_colormap ferry-li/si-sod/src/datasets/utils.py official repository ran no licence file found · pointer only · 622b01679f26c546 · report
find_connection ferry-li/si-sod/src/datasets/generate_weight.py official repository ran no licence file found · pointer only · 90f3c7829b370a44 · report
find_num_bin ferry-li/si-sod/src/criterions/metrics.py official repository ran fingerprinted no licence file found · pointer only · e5bc37f50fba1ec9 · report
get_dataloader ferry-li/si-sod/src/datasets/base_data.py official repository ran no licence file found · pointer only · b2c0d807b159bd5b · report
get_optimizer ferry-li/si-sod/src/optimizer/optimizer.py official repository ran no licence file found · pointer only · 870194b136c02194 · report
get_time ferry-li/si-sod/src/utils/logger.py official repository ran no licence file found · pointer only · cbb9d7563e2ebd55 · report
mask_split_bit ferry-li/si-sod/src/criterions/metrics.py official repository ran no licence file found · pointer only · c81a16454136cfcb · report
apply_colormap ferry-li/si-sod/src/datasets/utils.py official repository unverified no licence file found · pointer only · 3650c7025df9740e · report

Tasks

ObjectObject DetectionSalient Object Detectionobject-detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections