SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2003.08040 · 2020

Differential Treatment for Stuff and Things: A Simple Unsupervised Domain Adaptation Method for Semantic Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2003.08040.json · badge: /api/ran/2003.08040.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
SHI-Labs/Unsupervised-Domain-Adaptation-with-Differential-Treatment canonical (classifier label)
classifier basis: census
2 ran · 0 no recorded run
FunctionStatusWhere it lives
colorize_mask Ran
ran, honoured the contract we drafted
SHI-Labs/Unsupervised-Domain-Adaptation-with-Differential-Treatment/SSL.py
pointer only (licence: NONE); the stored copy get_code serves, from lym29/DASeg, is pointer only (licence: NONE) · get_code("21ac171a17099011")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SHI-Labs/Unsupervised-Domain-Adaptation-with-Differential-Treatment 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.

lr_poly Ran
ran, honoured the contract we drafted
SHI-Labs/Unsupervised-Domain-Adaptation-with-Differential-Treatment/train_sim.py
pointer only (licence: NONE); the stored copy get_code serves, from lym29/DASeg, is pointer only (licence: NONE) · get_code("b3b7c1c716f4ca66")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SHI-Labs/Unsupervised-Domain-Adaptation-with-Differential-Treatment 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.

Also present in other papers' code

Of 2 samples lifted from this paper's linked repositories, 2 carry a function identity and 0 do not. Of the 2 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 2 later) and 0 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
lr_poly 21 other papers
11 dated earlier, 1 the same month, 9 later
1612.02646 (2016-12)
Learning Video Object Segmentation from Static Images
1702.01105 (2017-02)
Joint 2D-3D-Semantic Data for Indoor Scene Understanding
1703.01780 (2017-03)
Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results
and 18 more not named here
colorize_mask 15 other papers
7 dated earlier, 2 the same month, 6 later
1702.01105 (2017-02)
Joint 2D-3D-Semantic Data for Indoor Scene Understanding
1704.08509 (2017-04)
No More Discrimination: Cross City Adaptation of Road Scene Segmenters
1802.10349 (2018-02)
Learning to Adapt Structured Output Space for Semantic Segmentation
and 12 more not named here

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-22.

Repositories linked to this paper

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

Abstract

We consider the problem of unsupervised domain adaptation for semantic segmentation by easing the domain shift between the source domain (synthetic data) and the target domain (real data) in this work. State-of-the-art approaches prove that performing semantic-level alignment is helpful in tackling the domain shift issue. Based on the observation that stuff categories usually share similar appearances across images of different domains while things (i.e. object instances) have much larger differences, we propose to improve the semantic-level alignment with different strategies for stuff regions and for things: 1) for the stuff categories, we generate feature representation for each class and conduct the alignment operation from the target domain to the source domain; 2) for the thing categories, we generate feature representation for each individual instance and encourage the instance in the target domain to align with the most similar one in the source domain. In this way, the individual differences within thing categories will also be considered to alleviate over-alignment. In addition to our proposed method, we further reveal the reason why the current adversarial loss is often unstable in minimizing the distribution discrepancy and show that our method can help ease this issue by minimizing the most similar stuff and instance features between the source and the target domains. We conduct extensive experiments in two unsupervised domain adaptation tasks, i.e. GTA5 to Cityscapes and SYNTHIA to Cityscapes, and achieve the new state-of-the-art segmentation accuracy.

For agents

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

get_harvested_code_for_paper("2003.08040")
get_code_for_paper("2003.08040")
have("2003.08040")

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

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

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

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

Connect an agent — have() is free.