SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.07930 · 2020

Auto Seg-Loss: Searching Metric Surrogates for Semantic Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
fundamentalvision/Auto-Seg-Loss pwc_unofficial 6 of 9
FunctionStatusWhere it lives
flatten_binary_logits Ran fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/lovasz_loss.py
code served (permissive licence) · get_code("6467b6d3f3fca80f")
flatten_probs Ran fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/lovasz_loss.py
code served (permissive licence) · get_code("e028f43bbba9e8c0")
forward_FWIoU Ran fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/auto_seg_loss.py
code served (permissive licence) · get_code("cca418ad92c39b3c")
forward_mIoU Ran fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/auto_seg_loss.py
code served (permissive licence) · get_code("4c08ad2c74b46974")
lovasz_grad Ran fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/lovasz_loss.py
code served (permissive licence) · get_code("87e40f2872a4cfa5")
map_to_one_hot Ran fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/auto_seg_loss.py
code served (permissive licence) · get_code("098b6c18149bbccf")
binary_cross_entropy Not yet run fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/cross_entropy_loss.py
code served (permissive licence) · get_code("c2c6075384f7da61")
cross_entropy Not yet run fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/cross_entropy_loss.py
code served (permissive licence) · get_code("505a1e5bfde0143b")
mask_cross_entropy Not yet run fundamentalvision/Auto-Seg-Loss/mmseg/models/losses/cross_entropy_loss.py
code served (permissive licence) · get_code("9dd6cc0f7220b833")

Repositories linked to this paper

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

Abstract

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.

For agents

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

get_harvested_code_for_paper("2010.07930")
get_code_for_paper("2010.07930")
have("2010.07930")

Connect an agent — have() is free.