Papers › MSeg: A Composite Dataset for Multi-domain Semantic Segmentation

MSeg: A Composite Dataset for Multi-domain Semantic Segmentation

27 Dec 2021CVPR 2020 6arXiv:2112.13762archive 2025-07-28

John Lambert, Zhuang Liu, Ozan Sener, James Hays, Vladlen Koltun

We present MSeg, a composite dataset that unifies semantic segmentation datasets from different domains. A naive merge of the constituent datasets yields poor performance due to inconsistent taxonomies and annotation practices. We reconcile the taxonomies and bring the pixel-level annotations into alignment by relabeling more than 220,000 object masks in more than 80,000 images, requiring more than 1.34 years of collective annotator effort. The resulting composite dataset enables training a single semantic segmentation model that functions effectively across domains and generalizes to datasets that were not seen during training. We adopt zero-shot cross-dataset transfer as a benchmark to systematically evaluate a model's robustness and show that MSeg training yields substantially more robust models in comparison to training on individual datasets or naive mixing of datasets without the presented contributions. A model trained on MSeg ranks first on the WildDash-v1 leaderboard for robust semantic segmentation, with no exposure to WildDash data during training. We evaluate our models in the 2020 Robust Vision Challenge (RVC) as an extreme generalization experiment. MSeg training sets include only three of the seven datasets in the RVC; more importantly, the evaluation taxonomy of RVC is different and more detailed. Surprisingly, our model shows competitive performance and ranks second. To evaluate how close we are to the grand aim of robust, efficient, and complete scene understanding, we go beyond semantic segmentation by training instance segmentation and panoptic segmentation models using our dataset. Moreover, we also evaluate various engineering design decisions and metrics, including resolution and computational efficiency. Although our models are far from this grand aim, our comprehensive evaluation is crucial for progress. We share all the models and code with the community.

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

Code

Syntology Ran 4 of 16 code samples harvested from 2 repositories linked to this paper; 12 have no recorded run. Of those that ran: 4 ran · our draft was wrong.

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

mseg-dataset/mseg-semantic officialmentioned in papermentioned on GitHubpytorchMIT report
mseg-dataset/mseg-api mentioned on GitHub 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

16 samples harvested; 4 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.

4ran · our draft was wrong
12unverified

Licence: 3 of the 16 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

conv3x3 mseg-dataset/mseg-semantic/mseg_semantic/model/resnet.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
conv3x3 mseg-dataset/mseg-semantic/mseg_semantic/model/seg_hrnet.py official repository unverified MIT (permissive) · 1934d9a8c4ffcd55 · report
convert_label_to_pred_taxonomy mseg-dataset/mseg-semantic/mseg_semantic/tool/relabeled_eval_utils.py official repository unverified MIT (permissive) · 2f5a2c01a9a77336 · report
determine_max_possible_base_size mseg-dataset/mseg-semantic/mseg_semantic/tool/universal_demo_batched.py official repository unverified MIT (permissive) · 41d449ba30de8f98 · report
eval_rel_model_pred_on_unrel_data mseg-dataset/mseg-semantic/mseg_semantic/tool/relabeled_eval_utils.py official repository unverified MIT (permissive) · 40602ff1d1820790 · report
exclusion mseg-dataset/mseg-semantic/mseg_semantic/utils/avg_meter.py official repository unverified MIT (permissive) · 82fc6d977d54d3df · report
get_px_accuracy mseg-dataset/mseg-semantic/mseg_semantic/tool/relabeled_eval_utils.py official repository unverified MIT (permissive) · a4e6c6b440fcad66 · report
imread_rgb mseg-dataset/mseg-semantic/mseg_semantic/tool/inference_task.py official repository unverified MIT (permissive) · 1101e190c222d8ec · report
pad_to_crop_sz mseg-dataset/mseg-semantic/mseg_semantic/tool/inference_task.py official repository unverified MIT (permissive) · fd92a32f74219b0a · report
pad_to_crop_sz_batched mseg-dataset/mseg-semantic/mseg_semantic/tool/batched_inference_task.py official repository unverified MIT (permissive) · d58d1438c5b1c419 · report
resize_by_scaled_short_side mseg-dataset/mseg-semantic/mseg_semantic/tool/inference_task.py official repository unverified MIT (permissive) · 6ace685db42a1fe2 · report
resnet18 mseg-dataset/mseg-semantic/mseg_semantic/model/resnet.py official repository unverified MIT (permissive) · 0bde1125893e0d96 · report
resnet34 mseg-dataset/mseg-semantic/mseg_semantic/model/resnet.py official repository unverified MIT (permissive) · ac842f97bea3acce · report
parse_entry mseg-dataset/mseg-api/mseg/taxonomy/taxonomy_converter.py community (archive-listed) ran · our draft was wrong fingerprinted licence not identified · pointer only · 90a3231eeed46b30 · report
parse_test_entry mseg-dataset/mseg-api/mseg/taxonomy/taxonomy_converter.py community (archive-listed) ran · our draft was wrong fingerprinted licence not identified · pointer only · 1dbbfb8d6f7cad26 · report
parse_uentry mseg-dataset/mseg-api/mseg/taxonomy/taxonomy_converter.py community (archive-listed) ran · our draft was wrong fingerprinted licence not identified · pointer only · 5dcde850240a1d55 · report

Tasks

Computational EfficiencyInstance SegmentationPanoptic SegmentationScene UnderstandingSegmentationSemantic Segmentation

Datasets

Introduced by this paper, per the archive.

MSeg

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Semantic Segmentation ScanNetV2 MSeg1080_RVC Mean IoU 48.5% #8 of 12 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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