Papers › Single-Stage Semantic Segmentation from Image Labels

Single-Stage Semantic Segmentation from Image Labels

16 May 2020CVPR 2020 6arXiv:2005.08104archive 2025-07-28

Nikita Araslanov, Stefan Roth

Recent years have seen a rapid growth in new approaches improving the accuracy of semantic segmentation in a weakly supervised setting, i.e. with only image-level labels available for training. However, this has come at the cost of increased model complexity and sophisticated multi-stage training procedures. This is in contrast to earlier work that used only a single stage - training one segmentation network on image labels - which was abandoned due to inferior segmentation accuracy. In this work, we first define three desirable properties of a weakly supervised method: local consistency, semantic fidelity, and completeness. Using these properties as guidelines, we then develop a segmentation-based network model and a self-supervised training scheme to train for semantic masks from image-level annotations in a single stage. We show that despite its simplicity, our method achieves results that are competitive with significantly more complex pipelines, substantially outperforming earlier single-stage methods.

PaperPDFConference PDFCodeCode 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="2005.08104")

Code

Syntology Ran 2 of 14 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran with no contract checked.

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

visinf/1-stage-wseg officialmentioned in papermentioned 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

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

1ran · our draft was wrong
1ran
12unverified

Licence: 0 of the 14 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 visinf/1-stage-wseg. “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.

focal_loss visinf/1-stage-wseg/models/stage_net.py official repository ran fingerprinted Apache-2.0 (permissive) · cb29cf6c7fa94676 · report
uint82bin visinf/1-stage-wseg/datasets/utils.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 098a8251265f82c2 · report
HWC_to_CHW visinf/1-stage-wseg/infer_val.py official repository unverified Apache-2.0 (permissive) · caa2fbfb63938959 · report
check_dir visinf/1-stage-wseg/infer_val.py official repository unverified Apache-2.0 (permissive) · 8dfa52371250ce04 · report
colormap visinf/1-stage-wseg/datasets/utils.py official repository unverified Apache-2.0 (permissive) · 37a9c056056a4094 · report
evaluate_one visinf/1-stage-wseg/eval_seg.py official repository unverified Apache-2.0 (permissive) · 604b797b42d81e92 · report
format_num visinf/1-stage-wseg/eval_seg.py official repository unverified Apache-2.0 (permissive) · 1beb55428d57139f · report
get_arguments visinf/1-stage-wseg/opts.py official repository unverified Apache-2.0 (permissive) · 1f3ecbd451a206b3 · report
get_stats visinf/1-stage-wseg/eval_seg.py official repository unverified Apache-2.0 (permissive) · 22701581e8753c53 · report
labelcolormap visinf/1-stage-wseg/datasets/utils.py official repository unverified Apache-2.0 (permissive) · 715dbed9d6f81d7e · report
load_img_name_list visinf/1-stage-wseg/datasets/pascal_voc_ms.py official repository unverified Apache-2.0 (permissive) · 23abe215338a760a · report
load_label_name_list visinf/1-stage-wseg/datasets/pascal_voc_ms.py official repository unverified Apache-2.0 (permissive) · 61bac1c6c6d0cc6a · report
pseudo_gtmask visinf/1-stage-wseg/models/stage_net.py official repository unverified Apache-2.0 (permissive) · 271e6fd3ac178f47 · report
rescale_as visinf/1-stage-wseg/models/stage_net.py official repository unverified Apache-2.0 (permissive) · 0307a9dfc593e531 · report

Tasks

SegmentationSemantic 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