{"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/depth-aware-test-time-training-for-zero-shot","title":"Depth-aware Test-Time Training for Zero-shot Video Object Segmentation","arxiv_id":"2403.04258","date":"2024-03-07","proceeding":"CVPR 2024 1","authors":["Weihuang Liu","Xi Shen","Haolun Li","Xiuli Bi","Bo Liu","Chi-Man Pun","Xiaodong Cun"],"abstract":"Zero-shot Video Object Segmentation (ZSVOS) aims at segmenting the primary moving object without any human annotations. Mainstream solutions mainly focus on learning a single model on large-scale video datasets, which struggle to generalize to unseen videos. In this work, we introduce a test-time training (TTT) strategy to address the problem. Our key insight is to enforce the model to predict consistent depth during the TTT process. In detail, we first train a single network to perform both segmentation and depth prediction tasks. This can be effectively learned with our specifically designed depth modulation layer. Then, for the TTT process, the model is updated by predicting consistent depth maps for the same frame under different data augmentations. In addition, we explore different TTT weight updating strategies. Our empirical results suggest that the momentum-based weight initialization and looping-based training scheme lead to more stable improvements. Experiments show that the proposed method achieves clear improvements on ZSVOS. Our proposed video TTT strategy provides significant superiority over state-of-the-art TTT methods. Our code is available at: https://nifangbaage.github.io/DATTT.","url_abs":"https://arxiv.org/abs/2403.04258v1","url_pdf":"https://arxiv.org/pdf/2403.04258v1.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":"depth-aware-test-time-training-for-zero-shot","repo_url":"https://github.com/NiFangBaAGe/DATTT","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"depth-estimation","task_name":"Depth Estimation"},{"task_slug":"depth-prediction","task_name":"Depth Prediction"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"video-object-segmentation","task_name":"Video Object Segmentation"},{"task_slug":"video-semantic-segmentation","task_name":"Video Semantic Segmentation"},{"task_slug":null,"task_name":"Zero-Shot Video Object Segmentation"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.04258","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.04258"}},"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/NiFangBaAGe/DATTT","reach":null}],"summary":{"ran_honours":2,"ran":1,"unverified":1},"by_repo_kind":{"official":{"samples":4,"ran":3,"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":4,"samples":[{"code_sha256_prefix":"a5b98cbac686f397","entry":"binary_loader","repo":"NiFangBaAGe/DATTT","repo_kind":"official","path":"ttt_demo.py","file_url":"https://github.com/NiFangBaAGe/DATTT/blob/HEAD/ttt_demo.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a5b98cbac686f397"}},{"code_sha256_prefix":"765a5428259c6e53","entry":"rgb_loader","repo":"NiFangBaAGe/DATTT","repo_kind":"official","path":"ttt_demo.py","file_url":"https://github.com/NiFangBaAGe/DATTT/blob/HEAD/ttt_demo.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"765a5428259c6e53"}},{"code_sha256_prefix":"0f038d0259e9a6eb","entry":"ttt_loss","repo":"NiFangBaAGe/DATTT","repo_kind":"official","path":"ttt_demo.py","file_url":"https://github.com/NiFangBaAGe/DATTT/blob/HEAD/ttt_demo.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":"0f038d0259e9a6eb"}},{"code_sha256_prefix":"65628b7aaf6eb95d","entry":"videottt_ttt_n","repo":"NiFangBaAGe/DATTT","repo_kind":"official","path":"ttt_demo.py","file_url":"https://github.com/NiFangBaAGe/DATTT/blob/HEAD/ttt_demo.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":"65628b7aaf6eb95d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}