{"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/iterative-frame-level-representation-learning","title":"Iterative Contrast-Classify For Semi-supervised Temporal Action Segmentation","arxiv_id":"2112.01402","date":"2021-12-02","proceeding":null,"authors":["Dipika Singhania","Rahul Rahaman","Angela Yao"],"abstract":"Temporal action segmentation classifies the action of each frame in (long) video sequences. Due to the high cost of frame-wise labeling, we propose the first semi-supervised method for temporal action segmentation. Our method hinges on unsupervised representation learning, which, for temporal action segmentation, poses unique challenges. Actions in untrimmed videos vary in length and have unknown labels and start/end times. Ordering of actions across videos may also vary. We propose a novel way to learn frame-wise representations from temporal convolutional networks (TCNs) by clustering input features with added time-proximity condition and multi-resolution similarity. By merging representation learning with conventional supervised learning, we develop an \"Iterative-Contrast-Classify (ICC)\" semi-supervised learning scheme. With more labelled data, ICC progressively improves in performance; ICC semi-supervised learning, with 40% labelled videos, performs similar to fully-supervised counterparts. Our ICC improves MoF by {+1.8, +5.6, +2.5}% on Breakfast, 50Salads and GTEA respectively for 100% labelled videos.","url_abs":"https://arxiv.org/abs/2112.01402v2","url_pdf":"https://arxiv.org/pdf/2112.01402v2.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":"iterative-frame-level-representation-learning","repo_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"action-segmentation","task_name":"Action Segmentation"},{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semi-supervised-video-classification","task_name":"Semi-Supervised Video Classification"},{"task_slug":"temporal-action-segmentation","task_name":"Temporal Action Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2112.01402","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2112.01402"}},"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/dipika-singhania/ICC-Semi-Supervised-TAS","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":10},"by_repo_kind":{"official":{"samples":10,"ran":0,"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":"c53d1309e077e09e","entry":"collate_fn_override","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"dataset.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/dataset.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c53d1309e077e09e"}},{"code_sha256_prefix":"98ba624747e6d414","entry":"edit_score","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"utils.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"98ba624747e6d414"}},{"code_sha256_prefix":"089a3b6d819448d5","entry":"get_label_idcsv","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"runcodes/iterative_semi_supervised.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/runcodes/iterative_semi_supervised.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"089a3b6d819448d5"}},{"code_sha256_prefix":"fe10754a3f583f73","entry":"get_labels_start_end_time","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"utils.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fe10754a3f583f73"}},{"code_sha256_prefix":"5a733c7e56b8c454","entry":"get_out_dir","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"runcodes/iterative_semi_supervised.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/runcodes/iterative_semi_supervised.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5a733c7e56b8c454"}},{"code_sha256_prefix":"49f29c676ac31517","entry":"levenstein","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"utils.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"49f29c676ac31517"}},{"code_sha256_prefix":"7f72150e0811ffbc","entry":"load_avgbest_model","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"runcodes/main_full_supervised.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/runcodes/main_full_supervised.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7f72150e0811ffbc"}},{"code_sha256_prefix":"025506a3255d4022","entry":"load_best_model","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"runcodes/iterative_semi_supervised.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/runcodes/iterative_semi_supervised.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"025506a3255d4022"}},{"code_sha256_prefix":"963b1594c6c815db","entry":"load_best_model","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"runcodes/iterative_semi_supervised_eval.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/runcodes/iterative_semi_supervised_eval.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"963b1594c6c815db"}},{"code_sha256_prefix":"39c15c7608aa76e8","entry":"load_best_model","repo":"dipika-singhania/ICC-Semi-Supervised-TAS","repo_kind":"official","path":"runcodes/main_full_supervised.py","file_url":"https://github.com/dipika-singhania/ICC-Semi-Supervised-TAS/blob/HEAD/runcodes/main_full_supervised.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"39c15c7608aa76e8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}