{"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/task-driven-exploration-decoupling-and-inter","title":"Task-Driven Exploration: Decoupling and Inter-Task Feedback for Joint Moment Retrieval and Highlight Detection","arxiv_id":"2404.09263","date":"2024-04-14","proceeding":"CVPR 2024 1","authors":["Jin Yang","Ping Wei","Huan Li","Ziyang Ren"],"abstract":"Video moment retrieval and highlight detection are two highly valuable tasks in video understanding, but until recently they have been jointly studied. Although existing studies have made impressive advancement recently, they predominantly follow the data-driven bottom-up paradigm. Such paradigm overlooks task-specific and inter-task effects, resulting in poor model performance. In this paper, we propose a novel task-driven top-down framework TaskWeave for joint moment retrieval and highlight detection. The framework introduces a task-decoupled unit to capture task-specific and common representations. To investigate the interplay between the two tasks, we propose an inter-task feedback mechanism, which transforms the results of one task as guiding masks to assist the other task. Different from existing methods, we present a task-dependent joint loss function to optimize the model. Comprehensive experiments and in-depth ablation studies on QVHighlights, TVSum, and Charades-STA datasets corroborate the effectiveness and flexibility of the proposed framework. Codes are available at https://github.com/EdenGabriel/TaskWeave.","url_abs":"https://arxiv.org/abs/2404.09263v1","url_pdf":"https://arxiv.org/pdf/2404.09263v1.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":"task-driven-exploration-decoupling-and-inter","repo_url":"https://github.com/edengabriel/taskweave","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[{"task_slug":"highlight-detection","task_name":"Highlight Detection"},{"task_slug":"moment-retrieval","task_name":"Moment Retrieval"},{"task_slug":"retrieval","task_name":"Retrieval"},{"task_slug":"video-understanding","task_name":"Video Understanding"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.09263","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.09263"}},"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/EdenGabriel/TaskWeave","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran":3,"ran_draft_wrong":1,"ran_honours":1,"ran_violates":1,"unverified":4},"by_repo_kind":{"official":{"samples":10,"ran":6,"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":10,"samples":[{"code_sha256_prefix":"d6ca656c20df137a","entry":"build_position_encoding","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/position_encoding.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/position_encoding.py","link_basis":"harvester_set","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":"d6ca656c20df137a"}},{"code_sha256_prefix":"6897880b6ce14c94","entry":"inverse_sigmoid","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/model.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/model.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6897880b6ce14c94"}},{"code_sha256_prefix":"1c17153fb5488283","entry":"mask_logits","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/text_encoder.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/text_encoder.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1c17153fb5488283"}},{"code_sha256_prefix":"fbfeec7963c6a061","entry":"prepare_batch_inputs","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/start_end_dataset.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/start_end_dataset.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":"fbfeec7963c6a061"}},{"code_sha256_prefix":"1c76f7707e1343b4","entry":"prepare_batch_inputs_audio","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/start_end_dataset_audio.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/start_end_dataset_audio.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":"1c76f7707e1343b4"}},{"code_sha256_prefix":"b7639c2e8b83837b","entry":"span_cxw_to_xx","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/span_utils.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/span_utils.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b7639c2e8b83837b"}},{"code_sha256_prefix":"081c8abd57d082fd","entry":"accuracy","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/misc.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/misc.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":"081c8abd57d082fd"}},{"code_sha256_prefix":"a82091666b9db8cf","entry":"multi_head_attention_forward","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/attention.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/attention.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":"a82091666b9db8cf"}},{"code_sha256_prefix":"7114f025044af9b4","entry":"span_xx_to_cxw","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/span_utils.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/span_utils.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":"7114f025044af9b4"}},{"code_sha256_prefix":"e4ae5582a2533cdb","entry":"temporal_iou","repo":"EdenGabriel/TaskWeave","repo_kind":"official","path":"taskweave/span_utils.py","file_url":"https://github.com/EdenGabriel/TaskWeave/blob/HEAD/taskweave/span_utils.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":"e4ae5582a2533cdb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}