{"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/solving-traffic4cast-competition-with-u-net","title":"Solving Traffic4Cast Competition with U-Net and Temporal Domain Adaptation","arxiv_id":"2111.03421","date":"2021-11-05","proceeding":null,"authors":["Vsevolod Konyakhin","Nina Lukashina","Aleksei Shpilman"],"abstract":"In this technical report, we present our solution to the Traffic4Cast 2021 Core Challenge, in which participants were asked to develop algorithms for predicting a traffic state 60 minutes ahead, based on the information from the previous hour, in 4 different cities. In contrast to the previously held competitions, this year's challenge focuses on the temporal domain shift in traffic due to the COVID-19 pandemic. Following the past success of U-Net, we utilize it for predicting future traffic maps. Additionally, we explore the usage of pre-trained encoders such as DenseNet and EfficientNet and employ multiple domain adaptation techniques to fight the domain shift. Our solution has ranked third in the final competition. The code is available at https://github.com/jbr-ai-labs/traffic4cast-2021.","url_abs":"https://arxiv.org/abs/2111.03421v1","url_pdf":"https://arxiv.org/pdf/2111.03421v1.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":"solving-traffic4cast-competition-with-u-net","repo_url":"https://github.com/jbr-ai-labs/traffic4cast-2021","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"}],"methods":[{"method_slug":"1x1-convolution","method_name":"1x1 Convolution"},{"method_slug":"average-pooling","method_name":"Average Pooling"},{"method_slug":"batch-normalization","method_name":"Batch Normalization"},{"method_slug":"concatenated-skip-connection","method_name":"Concatenated Skip Connection"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"dense-block","method_name":"Dense Block"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"depthwise-convolution","method_name":"Depthwise Convolution"},{"method_slug":"depthwise-separable-convolution","method_name":"Depthwise Separable Convolution"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"global-average-pooling","method_name":"Global Average Pooling"},{"method_slug":"inverted-residual-block","method_name":"Inverted Residual Block"},{"method_slug":"kaiming-initialization","method_name":"Kaiming Initialization"},{"method_slug":"max-pooling","method_name":"Max Pooling"},{"method_slug":"pointwise-convolution","method_name":"Pointwise Convolution"},{"method_slug":"rmsprop","method_name":"RMSProp"},{"method_slug":"relu","method_name":"ReLU"},{"method_slug":"sigmoid-activation","method_name":"Sigmoid Activation"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"squeeze-and-excitation-block","method_name":"Squeeze-and-Excitation Block"},{"method_slug":"u-net","method_name":"U-Net"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2111.03421","atlas_url":"https://app.syntology.ai/?focus=2111.03421","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2111.03421"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":"deterministic:regex_extraction","url":"https://github.com/jbr-ai-labs/traffic4cast-2021","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":5},"by_repo_kind":{"official":{"samples":5,"ran":5,"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":"4c976e35e1b00b6a","entry":"compute_mse","repo":"jbr-ai-labs/traffic4cast-2021","repo_kind":"official","path":"traffic4cast/competition/scorecomp/scorecomp.py","file_url":"https://github.com/jbr-ai-labs/traffic4cast-2021/blob/HEAD/traffic4cast/competition/scorecomp/scorecomp.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4c976e35e1b00b6a"}},{"code_sha256_prefix":"9ddfadbf0a7f04a0","entry":"create_static_mask","repo":"jbr-ai-labs/traffic4cast-2021","repo_kind":"official","path":"traffic4cast/competition/scorecomp/scorecomp.py","file_url":"https://github.com/jbr-ai-labs/traffic4cast-2021/blob/HEAD/traffic4cast/competition/scorecomp/scorecomp.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9ddfadbf0a7f04a0"}},{"code_sha256_prefix":"f06459608952714e","entry":"generate_date_range","repo":"jbr-ai-labs/traffic4cast-2021","repo_kind":"official","path":"traffic4cast/util/data_range.py","file_url":"https://github.com/jbr-ai-labs/traffic4cast-2021/blob/HEAD/traffic4cast/util/data_range.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f06459608952714e"}},{"code_sha256_prefix":"3c1aff131aeba511","entry":"load_h5_file","repo":"jbr-ai-labs/traffic4cast-2021","repo_kind":"official","path":"traffic4cast/competition/scorecomp/scorecomp.py","file_url":"https://github.com/jbr-ai-labs/traffic4cast-2021/blob/HEAD/traffic4cast/competition/scorecomp/scorecomp.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3c1aff131aeba511"}},{"code_sha256_prefix":"70936ffab701283a","entry":"weekday_parser","repo":"jbr-ai-labs/traffic4cast-2021","repo_kind":"official","path":"traffic4cast/util/data_range.py","file_url":"https://github.com/jbr-ai-labs/traffic4cast-2021/blob/HEAD/traffic4cast/util/data_range.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"70936ffab701283a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}