{"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/time-does-tell-self-supervised-time-tuning-of","title":"Time Does Tell: Self-Supervised Time-Tuning of Dense Image Representations","arxiv_id":"2308.11796","date":"2023-08-22","proceeding":"ICCV 2023 1","authors":["Mohammadreza Salehi","Efstratios Gavves","Cees G. M. Snoek","Yuki M. Asano"],"abstract":"Spatially dense self-supervised learning is a rapidly growing problem domain with promising applications for unsupervised segmentation and pretraining for dense downstream tasks. Despite the abundance of temporal data in the form of videos, this information-rich source has been largely overlooked. Our paper aims to address this gap by proposing a novel approach that incorporates temporal consistency in dense self-supervised learning. While methods designed solely for images face difficulties in achieving even the same performance on videos, our method improves not only the representation quality for videos-but also images. Our approach, which we call time-tuning, starts from image-pretrained models and fine-tunes them with a novel self-supervised temporal-alignment clustering loss on unlabeled videos. This effectively facilitates the transfer of high-level information from videos to image representations. Time-tuning improves the state-of-the-art by 8-10% for unsupervised semantic segmentation on videos and matches it for images. We believe this method paves the way for further self-supervised scaling by leveraging the abundant availability of videos. The implementation can be found here : https://github.com/SMSD75/Timetuning","url_abs":"https://arxiv.org/abs/2308.11796v1","url_pdf":"https://arxiv.org/pdf/2308.11796v1.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":"time-does-tell-self-supervised-time-tuning-of","repo_url":"https://github.com/smsd75/timetuning","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"unsupervised-semantic-segmentation","task_name":"Unsupervised Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2308.11796","atlas_url":"https://app.syntology.ai/?focus=2308.11796","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2308.11796"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/smsd75/timetuning","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/SMSD75/Timetuning","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran":13,"ran_draft_wrong":2,"ran_honours":2,"ran_fixture":2,"unverified":12},"by_repo_kind":{"official":{"samples":31,"ran":19,"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":31,"samples":[{"code_sha256_prefix":"4a84019b30b6193a","entry":"bfscore","repo":"smsd75/timetuning","repo_kind":"official","path":"bfscore.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/bfscore.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"4a84019b30b6193a"}},{"code_sha256_prefix":"18c24ad4e75b0f50","entry":"bfscore_old","repo":"smsd75/timetuning","repo_kind":"official","path":"bfscore.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/bfscore.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"18c24ad4e75b0f50"}},{"code_sha256_prefix":"a51ebb5e1ba6cf37","entry":"build_grid","repo":"smsd75/timetuning","repo_kind":"official","path":"motion_grouping_model.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/motion_grouping_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a51ebb5e1ba6cf37"}},{"code_sha256_prefix":"9ce4ded7a45c7696","entry":"bytescale","repo":"smsd75/timetuning","repo_kind":"official","path":"data_loader.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/data_loader.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9ce4ded7a45c7696"}},{"code_sha256_prefix":"0801a428f3bdc324","entry":"calc_precision_recall","repo":"smsd75/timetuning","repo_kind":"official","path":"bfscore.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/bfscore.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"0801a428f3bdc324"}},{"code_sha256_prefix":"600ff2c45e0de056","entry":"conv3x3","repo":"smsd75/timetuning","repo_kind":"official","path":"models.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/models.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"600ff2c45e0de056"}},{"code_sha256_prefix":"c9ae5a71b1d0c65b","entry":"cosine_scheduler","repo":"SMSD75/Timetuning","repo_kind":"official","path":"time_tuning.py","file_url":"https://github.com/SMSD75/Timetuning/blob/HEAD/time_tuning.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c9ae5a71b1d0c65b"}},{"code_sha256_prefix":"55120f2026b56aa2","entry":"drop_path","repo":"smsd75/timetuning","repo_kind":"official","path":"dino_vision_transformer.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/dino_vision_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"55120f2026b56aa2"}},{"code_sha256_prefix":"f3515400ca858018","entry":"get_backbone_prefix","repo":"smsd75/timetuning","repo_kind":"official","path":"leopart.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/leopart.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"f3515400ca858018"}},{"code_sha256_prefix":"1fcff522c84b8218","entry":"get_cluster_precs","repo":"smsd75/timetuning","repo_kind":"official","path":"cluster_based_foreground_extraction.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/cluster_based_foreground_extraction.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1fcff522c84b8218"}},{"code_sha256_prefix":"eadb9ed8de52fbc3","entry":"pascal_loader","repo":"smsd75/timetuning","repo_kind":"official","path":"leoloader.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/leoloader.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"eadb9ed8de52fbc3"}},{"code_sha256_prefix":"c5e773980206e3b9","entry":"process_attentions","repo":"smsd75/timetuning","repo_kind":"official","path":"models.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c5e773980206e3b9"}},{"code_sha256_prefix":"0f2078cd88b80d55","entry":"process_data_group","repo":"smsd75/timetuning","repo_kind":"official","path":"cluster_based_foreground_extraction.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/cluster_based_foreground_extraction.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"0f2078cd88b80d55"}},{"code_sha256_prefix":"73c9e564019bb977","entry":"resnet18","repo":"smsd75/timetuning","repo_kind":"official","path":"dul_model.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/dul_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"73c9e564019bb977"}},{"code_sha256_prefix":"3926c0ffeda503f2","entry":"restrict_neighborhood","repo":"SMSD75/Timetuning","repo_kind":"official","path":"time_tuning.py","file_url":"https://github.com/SMSD75/Timetuning/blob/HEAD/time_tuning.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3926c0ffeda503f2"}},{"code_sha256_prefix":"0988ed5686f818dc","entry":"sinkhorn","repo":"SMSD75/Timetuning","repo_kind":"official","path":"time_tuning.py","file_url":"https://github.com/SMSD75/Timetuning/blob/HEAD/time_tuning.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"0988ed5686f818dc"}},{"code_sha256_prefix":"809d6dcd10040198","entry":"spatial_broadcast","repo":"smsd75/timetuning","repo_kind":"official","path":"motion_grouping_model.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/motion_grouping_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"809d6dcd10040198"}},{"code_sha256_prefix":"b41bb10cde271a7a","entry":"spatial_flatten","repo":"smsd75/timetuning","repo_kind":"official","path":"motion_grouping_model.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/motion_grouping_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b41bb10cde271a7a"}},{"code_sha256_prefix":"915b71e73a54fc97","entry":"trunc_normal_","repo":"smsd75/timetuning","repo_kind":"official","path":"dino_vision_transformer.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/dino_vision_transformer.py","link_basis":"harvester_set","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":"915b71e73a54fc97"}},{"code_sha256_prefix":"9c431c2d7bfe2136","entry":"TimeT","repo":"SMSD75/Timetuning","repo_kind":"official","path":"time_tuning.py","file_url":"https://github.com/SMSD75/Timetuning/blob/HEAD/time_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9c431c2d7bfe2136"}},{"code_sha256_prefix":"f5583623193bd8de","entry":"apply_attention_mask","repo":"SMSD75/Timetuning","repo_kind":"official","path":"time_tuning.py","file_url":"https://github.com/SMSD75/Timetuning/blob/HEAD/time_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"f5583623193bd8de"}},{"code_sha256_prefix":"d9fbecd67616025b","entry":"apply_attention_mask","repo":"smsd75/timetuning","repo_kind":"official","path":"models.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d9fbecd67616025b"}},{"code_sha256_prefix":"fa502f356ddd4143","entry":"fromimage","repo":"smsd75/timetuning","repo_kind":"official","path":"data_loader.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/data_loader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"fa502f356ddd4143"}},{"code_sha256_prefix":"cfe56dffb50d3027","entry":"get_backbone_weights","repo":"smsd75/timetuning","repo_kind":"official","path":"leopart.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/leopart.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"cfe56dffb50d3027"}},{"code_sha256_prefix":"0baae3130bc88bd1","entry":"get_model","repo":"smsd75/timetuning","repo_kind":"official","path":"dul_model.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/dul_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"0baae3130bc88bd1"}},{"code_sha256_prefix":"36829267cbd7ac1d","entry":"imread","repo":"smsd75/timetuning","repo_kind":"official","path":"data_loader.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/data_loader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"36829267cbd7ac1d"}},{"code_sha256_prefix":"223126a5c6dbb46b","entry":"label_propagation","repo":"SMSD75/Timetuning","repo_kind":"official","path":"time_tuning.py","file_url":"https://github.com/SMSD75/Timetuning/blob/HEAD/time_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"223126a5c6dbb46b"}},{"code_sha256_prefix":"aa968da11d21be27","entry":"process_attentions","repo":"SMSD75/Timetuning","repo_kind":"official","path":"time_tuning.py","file_url":"https://github.com/SMSD75/Timetuning/blob/HEAD/time_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"aa968da11d21be27"}},{"code_sha256_prefix":"76f07e9dda6b90e9","entry":"propagate_labels","repo":"SMSD75/Timetuning","repo_kind":"official","path":"time_tuning.py","file_url":"https://github.com/SMSD75/Timetuning/blob/HEAD/time_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"76f07e9dda6b90e9"}},{"code_sha256_prefix":"9b1a2f0da7f00fee","entry":"proto_clustering","repo":"smsd75/timetuning","repo_kind":"official","path":"clustering.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/clustering.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9b1a2f0da7f00fee"}},{"code_sha256_prefix":"0a55ce5c7c8fd9fd","entry":"vit_tiny","repo":"smsd75/timetuning","repo_kind":"official","path":"dino_vision_transformer.py","file_url":"https://github.com/smsd75/timetuning/blob/HEAD/dino_vision_transformer.py","link_basis":"harvester_set","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":"0a55ce5c7c8fd9fd"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}