Papers › Auto Seg-Loss: Searching Metric Surrogates for Semantic Segmentation

Auto Seg-Loss: Searching Metric Surrogates for Semantic Segmentation

15 Oct 2020ICLR 2021 1arXiv:2010.07930archive 2025-07-28

Hao Li, Chenxin Tao, Xizhou Zhu, Xiaogang Wang, Gao Huang, Jifeng Dai

Designing proper loss functions is essential in training deep networks. Especially in the field of semantic segmentation, various evaluation metrics have been proposed for diverse scenarios. Despite the success of the widely adopted cross-entropy loss and its variants, the mis-alignment between the loss functions and evaluation metrics degrades the network performance. Meanwhile, manually designing loss functions for each specific metric requires expertise and significant manpower. In this paper, we propose to automate the design of metric-specific loss functions by searching differentiable surrogate losses for each metric. We substitute the non-differentiable operations in the metrics with parameterized functions, and conduct parameter search to optimize the shape of loss surfaces. Two constraints are introduced to regularize the search space and make the search efficient. Extensive experiments on PASCAL VOC and Cityscapes demonstrate that the searched surrogate losses outperform the manually designed loss functions consistently. The searched losses can generalize well to other datasets and networks. Code shall be released.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2010.07930")

Code

Syntology Ran 6 of 9 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 6 ran with no contract checked.

By repository: community (archive-listed): 9 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

fundamentalvision/Auto-Seg-Loss mentioned on GitHubpytorchApache-2.0 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

9 samples harvested; 6 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

6ran
3unverified

Licence: 0 of the 9 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 fundamentalvision/Auto-Seg-Loss. “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.

flatten_binary_logits fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/lovasz_loss.py community (archive-listed) ran Apache-2.0 (permissive) · 6467b6d3f3fca80f · report
flatten_probs fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/lovasz_loss.py community (archive-listed) ran Apache-2.0 (permissive) · e028f43bbba9e8c0 · report
forward_FWIoU fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/auto_seg_loss.py community (archive-listed) ran Apache-2.0 (permissive) · cca418ad92c39b3c · report
forward_mIoU fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/auto_seg_loss.py community (archive-listed) ran Apache-2.0 (permissive) · 4c08ad2c74b46974 · report
lovasz_grad fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/lovasz_loss.py community (archive-listed) ran Apache-2.0 (permissive) · 87e40f2872a4cfa5 · report
map_to_one_hot fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/auto_seg_loss.py community (archive-listed) ran Apache-2.0 (permissive) · 098b6c18149bbccf · report
binary_cross_entropy fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/cross_entropy_loss.py community (archive-listed) unverified Apache-2.0 (permissive) · c2c6075384f7da61 · report
cross_entropy fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/cross_entropy_loss.py community (archive-listed) unverified Apache-2.0 (permissive) · 505a1e5bfde0143b · report
mask_cross_entropy fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/cross_entropy_loss.py community (archive-listed) unverified Apache-2.0 (permissive) · 9dd6cc0f7220b833 · report

Tasks

Semantic Segmentation

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