{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/unsupervised-model-adaptation-for-continual","title":"Unsupervised Model Adaptation for Continual Semantic Segmentation","arxiv_id":"2009.12518","date":"2020-09-26","proceeding":null,"authors":["Serban Stan","Mohammad Rostami"],"abstract":"We develop an algorithm for adapting a semantic segmentation model that is trained using a labeled source domain to generalize well in an unlabeled target domain. A similar problem has been studied extensively in the unsupervised domain adaptation (UDA) literature, but existing UDA algorithms require access to both the source domain labeled data and the target domain unlabeled data for training a domain agnostic semantic segmentation model. Relaxing this constraint enables a user to adapt pretrained models to generalize in a target domain, without requiring access to source data. To this end, we learn a prototypical distribution for the source domain in an intermediate embedding space. This distribution encodes the abstract knowledge that is learned from the source domain. We then use this distribution for aligning the target domain distribution with the source domain distribution in the embedding space. We provide theoretical analysis and explain conditions under which our algorithm is effective. Experiments on benchmark adaptation task demonstrate our method achieves competitive performance even compared with joint UDA approaches.","url_abs":"https://arxiv.org/abs/2009.12518v2","url_pdf":"https://arxiv.org/pdf/2009.12518v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"unsupervised-model-adaptation-for-continual","repo_url":"https://github.com/serbanstan/mas3-continual","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"continual-semantic-segmentation","task_name":"Continual Semantic Segmentation"},{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"unsupervised-domain-adaptation","task_name":"Unsupervised Domain Adaptation"},{"task_slug":"model","task_name":"model"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2009.12518","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2009.12518"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/serbanstan/mas3-continual","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":13},"by_repo_kind":{"listed":{"samples":13,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"a82af9c8599a81fc","entry":"classifier_layers","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"networks.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/networks.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a82af9c8599a81fc"}},{"code_sha256_prefix":"7628a94d3f5f0657","entry":"deeplabv3","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"deeplabv3.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/deeplabv3.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7628a94d3f5f0657"}},{"code_sha256_prefix":"d2ba47eff84665bb","entry":"generateTheta","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"wasserstein_utils.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/wasserstein_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d2ba47eff84665bb"}},{"code_sha256_prefix":"f6d33fc599184192","entry":"masked_ce_loss","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"losses.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/losses.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f6d33fc599184192"}},{"code_sha256_prefix":"5faf05c7c0b22842","entry":"oneDWassersteinV3","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"wasserstein_utils.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/wasserstein_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5faf05c7c0b22842"}},{"code_sha256_prefix":"84cfa97fdf27f99f","entry":"read_and_reshape","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"io_utils.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/io_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"84cfa97fdf27f99f"}},{"code_sha256_prefix":"6a057502641c5c29","entry":"read_image","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"io_utils.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/io_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6a057502641c5c29"}},{"code_sha256_prefix":"1ea07d8dc81db6f5","entry":"read_label","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"io_utils.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/io_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1ea07d8dc81db6f5"}},{"code_sha256_prefix":"1db978be2886dc6a","entry":"resnet101_backbone","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"deeplabv3.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/deeplabv3.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1db978be2886dc6a"}},{"code_sha256_prefix":"6be678cec69c4ef0","entry":"sWasserstein_hd","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"wasserstein_utils.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/wasserstein_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6be678cec69c4ef0"}},{"code_sha256_prefix":"e32752b51633335e","entry":"sample_from_gaussians","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e32752b51633335e"}},{"code_sha256_prefix":"e5659ffc183ebcf6","entry":"vgg16_backbone","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"deeplabv3.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/deeplabv3.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e5659ffc183ebcf6"}},{"code_sha256_prefix":"e21bd1a46c993988","entry":"weighted_ce_loss","repo":"serbanstan/mas3-continual","repo_kind":"listed","path":"losses.py","file_url":"https://github.com/serbanstan/mas3-continual/blob/HEAD/losses.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e21bd1a46c993988"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}