{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/mic-masked-image-consistency-for-context","title":"MIC: Masked Image Consistency for Context-Enhanced Domain Adaptation","arxiv_id":"2212.01322","date":"2022-12-02","proceeding":"CVPR 2023 1","authors":["Lukas Hoyer","Dengxin Dai","Haoran Wang","Luc van Gool"],"abstract":"In unsupervised domain adaptation (UDA), a model trained on source data (e.g. synthetic) is adapted to target data (e.g. real-world) without access to target annotation. Most previous UDA methods struggle with classes that have a similar visual appearance on the target domain as no ground truth is available to learn the slight appearance differences. To address this problem, we propose a Masked Image Consistency (MIC) module to enhance UDA by learning spatial context relations of the target domain as additional clues for robust visual recognition. MIC enforces the consistency between predictions of masked target images, where random patches are withheld, and pseudo-labels that are generated based on the complete image by an exponential moving average teacher. To minimize the consistency loss, the network has to learn to infer the predictions of the masked regions from their context. Due to its simple and universal concept, MIC can be integrated into various UDA methods across different visual recognition tasks such as image classification, semantic segmentation, and object detection. MIC significantly improves the state-of-the-art performance across the different recognition tasks for synthetic-to-real, day-to-nighttime, and clear-to-adverse-weather UDA. For instance, MIC achieves an unprecedented UDA performance of 75.9 mIoU and 92.8% on GTA-to-Cityscapes and VisDA-2017, respectively, which corresponds to an improvement of +2.1 and +3.0 percent points over the previous state of the art. The implementation is available at https://github.com/lhoyer/MIC.","url_abs":"https://arxiv.org/abs/2212.01322v2","url_pdf":"https://arxiv.org/pdf/2212.01322v2.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":"mic-masked-image-consistency-for-context","repo_url":"https://github.com/lhoyer/mic","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"image-to-image-translation","task_name":"Image-to-Image Translation"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"synthetic-to-real-translation","task_name":"Synthetic-to-Real Translation"},{"task_slug":"unsupervised-domain-adaptation","task_name":"Unsupervised Domain Adaptation"},{"task_slug":"image-classification","task_name":"image-classification"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/domain-adaptation-on-cityscapes-to-acdc","task":"Domain Adaptation","dataset":"Cityscapes to ACDC","model":"MIC","rank_in_archive_order":6,"of":16,"metrics":{"mIoU":"70.4"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-gta5-to-cityscapes","task":"Domain Adaptation","dataset":"GTA5 to Cityscapes","model":"MIC","rank_in_archive_order":4,"of":28,"metrics":{"mIoU":"75.9"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-office-home","task":"Domain Adaptation","dataset":"Office-Home","model":"MIC","rank_in_archive_order":6,"of":29,"metrics":{"Accuracy":"86.2"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-synthia-to-cityscapes","task":"Domain Adaptation","dataset":"SYNTHIA-to-Cityscapes","model":"MIC","rank_in_archive_order":5,"of":33,"metrics":{"mIoU":"67.3"},"uses_additional_data":false},{"leaderboard":"/sota/domain-adaptation-on-visda2017","task":"Domain Adaptation","dataset":"VisDA2017","model":"MIC","rank_in_archive_order":3,"of":28,"metrics":{"Accuracy":"92.8"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-cityscapes-to","task":"Image-to-Image Translation","dataset":"Cityscapes-to-Foggy Cityscapes","model":"MIC","rank_in_archive_order":1,"of":6,"metrics":{"mAP":"47.6"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-gtav-to","task":"Image-to-Image Translation","dataset":"GTAV-to-Cityscapes Labels","model":"MIC","rank_in_archive_order":1,"of":22,"metrics":{"mIoU":"75.9"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-synthia-to","task":"Image-to-Image Translation","dataset":"SYNTHIA-to-Cityscapes","model":"MIC","rank_in_archive_order":2,"of":28,"metrics":{"mIoU (13 classes)":"74.0"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-segmentation-on-dark-zurich","task":"Semantic Segmentation","dataset":"Dark Zurich","model":"MIC","rank_in_archive_order":3,"of":14,"metrics":{"mIoU":"60.2"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-segmentation-on-gtav-to-cityscapes-1","task":"Semantic Segmentation","dataset":"GTAV-to-Cityscapes Labels","model":"MIC","rank_in_archive_order":1,"of":12,"metrics":{"mIoU":"75.9"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-segmentation-on-synthia-to","task":"Semantic Segmentation","dataset":"SYNTHIA-to-Cityscapes","model":"MIC","rank_in_archive_order":2,"of":7,"metrics":{"Mean IoU":"67.3"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-to-real-translation-on-gtav-to","task":"Synthetic-to-Real Translation","dataset":"GTAV-to-Cityscapes Labels","model":"HRDA+MIC","rank_in_archive_order":2,"of":73,"metrics":{"mIoU":"75.9"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-to-real-translation-on-synthia-to-1","task":"Synthetic-to-Real Translation","dataset":"SYNTHIA-to-Cityscapes","model":"MIC","rank_in_archive_order":3,"of":38,"metrics":{"MIoU (13 classes)":"74.0","MIoU (16 classes)":"67.3"},"uses_additional_data":false},{"leaderboard":"/sota/unsupervised-domain-adaptation-on-cityscapes-1","task":"Unsupervised Domain Adaptation","dataset":"Cityscapes to Foggy Cityscapes","model":"MIC","rank_in_archive_order":5,"of":22,"metrics":{"mAP@0.5":"47.6"},"uses_additional_data":false},{"leaderboard":"/sota/unsupervised-domain-adaptation-on-gtav-to","task":"Unsupervised Domain Adaptation","dataset":"GTAV-to-Cityscapes Labels","model":"MIC","rank_in_archive_order":1,"of":20,"metrics":{"mIoU":"75.9"},"uses_additional_data":false},{"leaderboard":"/sota/unsupervised-domain-adaptation-on-synthia-to","task":"Unsupervised Domain Adaptation","dataset":"SYNTHIA-to-Cityscapes","model":"MIC","rank_in_archive_order":4,"of":23,"metrics":{"mIoU":"67.3","mIoU (13 classes)":"74.0"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2212.01322","atlas_url":"https://app.syntology.ai/?focus=2212.01322","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"2212.01322"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2212.01322\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2212.01322"},"call":"get_concepts_for_paper(arxiv_id=\"2212.01322\")"}],"by_repo":[{"repo":"lhoyer/mic","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"6281a1ae395d22b35fe98c9591cc3a96d5a76024e271e50cfd1bab5c33446784","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}