{"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/swiftnet-real-time-video-object-segmentation","title":"SwiftNet: Real-time Video Object Segmentation","arxiv_id":"2102.04604","date":"2021-02-09","proceeding":"CVPR 2021 1","authors":["Haochen Wang","XiaoLong Jiang","Haibing Ren","Yao Hu","Song Bai"],"abstract":"In this work we present SwiftNet for real-time semisupervised video object segmentation (one-shot VOS), which reports 77.8% J &F and 70 FPS on DAVIS 2017 validation dataset, leading all present solutions in overall accuracy and speed performance. We achieve this by elaborately compressing spatiotemporal redundancy in matching-based VOS via Pixel-Adaptive Memory (PAM). Temporally, PAM adaptively triggers memory updates on frames where objects display noteworthy inter-frame variations. Spatially, PAM selectively performs memory update and match on dynamic pixels while ignoring the static ones, significantly reducing redundant computations wasted on segmentation-irrelevant pixels. To promote efficient reference encoding, light-aggregation encoder is also introduced in SwiftNet deploying reversed sub-pixel. We hope SwiftNet could set a strong and efficient baseline for real-time VOS and facilitate its application in mobile vision. The source code of SwiftNet can be found at https://github.com/haochenheheda/SwiftNet.","url_abs":"https://arxiv.org/abs/2102.04604v2","url_pdf":"https://arxiv.org/pdf/2102.04604v2.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":"swiftnet-real-time-video-object-segmentation","repo_url":"https://github.com/haochenheheda/SwiftNet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"object","task_name":"Object"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"semi-supervised-video-object-segmentation","task_name":"Semi-Supervised Video Object Segmentation"},{"task_slug":"video-object-segmentation","task_name":"Video Object Segmentation"},{"task_slug":"video-semantic-segmentation","task_name":"Video Semantic Segmentation"}],"methods":[{"method_slug":"vos","method_name":"VOS"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2102.04604","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2102.04604"}},"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":"deterministic:regex_extraction","url":"https://github.com/haochenheheda/SwiftNet","reach":null}],"summary":{"ran":7,"ran_fixture":1,"unverified":3},"by_repo_kind":{"official":{"samples":11,"ran":8,"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":11,"samples":[{"code_sha256_prefix":"f191e946a4d33203","entry":"ASPP","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f191e946a4d33203"}},{"code_sha256_prefix":"eb870999b91f7029","entry":"Decoder","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"eb870999b91f7029"}},{"code_sha256_prefix":"1496244811dbf03c","entry":"Encoder","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1496244811dbf03c"}},{"code_sha256_prefix":"1cef40bb551da5c5","entry":"KeyValue","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1cef40bb551da5c5"}},{"code_sha256_prefix":"7a2451763dfa3a42","entry":"Refine","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7a2451763dfa3a42"}},{"code_sha256_prefix":"936396a9ce77c0e9","entry":"ResBlock","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"936396a9ce77c0e9"}},{"code_sha256_prefix":"fe90660bd6d7efbf","entry":"_ASPPModule","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fe90660bd6d7efbf"}},{"code_sha256_prefix":"7e3fe519af1f7c56","entry":"pixelshuffle_invert","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7e3fe519af1f7c56"}},{"code_sha256_prefix":"ee56ae3f584533c3","entry":"LAE","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ee56ae3f584533c3"}},{"code_sha256_prefix":"a9fffc481b0aad9c","entry":"Memory","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a9fffc481b0aad9c"}},{"code_sha256_prefix":"6b685fe45f121c58","entry":"SwiftNet","repo":"haochenheheda/SwiftNet","repo_kind":"official","path":"swiftnet.py","file_url":"https://github.com/haochenheheda/SwiftNet/blob/HEAD/swiftnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6b685fe45f121c58"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}