SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.09782 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

14 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 6 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 6 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.09782.json · badge: /api/ran/2405.09782.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ferry-li/si-sod canonical (classifier label)
classifier basis: census
14 ran · 1 no recorded run
FunctionStatusWhere it lives
BCELoss Ran
ran on a synthesized input
ferry-li/si-sod/src/loss/original_loss.py
pointer only (licence: NONE) · get_code("f664996300027356")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

KthBit Ran
ran; our contract draft was wrong, not the code
ferry-li/si-sod/src/criterions/metrics.py
pointer only (licence: NONE) · get_code("7563a493ba77e17d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MAELoss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ferry-li/si-sod/src/loss/original_loss.py
pointer only (licence: NONE) · get_code("f65ef5d34d5c1601")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MSELoss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ferry-li/si-sod/src/loss/original_loss.py
pointer only (licence: NONE) · get_code("4c56493a9d63022a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

binarize Ran
ran, honoured the contract we drafted
ferry-li/si-sod/src/datasets/utils.py
pointer only (licence: NONE) · get_code("c339b6b7b22e541d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

binary Ran
ran, honoured the contract we drafted
ferry-li/si-sod/src/datasets/generate_weight.py
pointer only (licence: NONE) · get_code("82f310b528b45b8b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_weight Ran
ran, honoured the contract we drafted
ferry-li/si-sod/src/datasets/generate_weight.py
pointer only (licence: NONE) · get_code("9b5a678f5829b353")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_colormap Ran
ran, honoured the contract we drafted
ferry-li/si-sod/src/datasets/utils.py
pointer only (licence: NONE) · get_code("622b01679f26c546")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_connection Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ferry-li/si-sod/src/datasets/generate_weight.py
pointer only (licence: NONE) · get_code("90f3c7829b370a44")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_num_bin Ran
ran, honoured the contract we drafted
ferry-li/si-sod/src/criterions/metrics.py
pointer only (licence: NONE) · get_code("e5bc37f50fba1ec9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_dataloader Ran
ran on a synthesized input
ferry-li/si-sod/src/datasets/base_data.py
pointer only (licence: NONE) · get_code("b2c0d807b159bd5b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_optimizer Ran
ran; our contract draft was wrong, not the code
ferry-li/si-sod/src/optimizer/optimizer.py
pointer only (licence: NONE) · get_code("870194b136c02194")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_time Ran
ran, honoured the contract we drafted
ferry-li/si-sod/src/utils/logger.py
pointer only (licence: NONE); the stored copy get_code serves, from xyw-medical-research/HADSB, is pointer only (licence: NONE) · get_code("cbb9d7563e2ebd55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mask_split_bit Ran
ran; our contract draft was wrong, not the code
ferry-li/si-sod/src/criterions/metrics.py
pointer only (licence: NONE) · get_code("c81a16454136cfcb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

apply_colormap Not yet run
unverified (harvested, no recorded run)
ferry-li/si-sod/src/datasets/utils.py
pointer only (licence: NONE) · get_code("3650c7025df9740e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ferry-li/si-sod when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_time 3 other papers
1 dated earlier, 1 the same month, 1 later
2403.06069 (2024-03)
Implicit Image-to-Image Schrodinger Bridge for Image Restoration
2405.15885 (2024-05)
Diffusion Bridge Implicit Models
2607.07401 (2026-07)
Heterogeneity-Adaptive Diffusion Schrödinger Bridge for PET-Guided Whole-Body MRI Translation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.09782")
get_code_for_paper("2405.09782")
have("2405.09782")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.09782.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.09782.svg)](https://syntology.ai/paper/2405.09782)

Connect an agent — have() is free.