{"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/implicit-location-caption-alignment-via","title":"Implicit Location-Caption Alignment via Complementary Masking for Weakly-Supervised Dense Video Captioning","arxiv_id":"2412.12791","date":"2024-12-17","proceeding":null,"authors":["Shiping Ge","Qiang Chen","Zhiwei Jiang","Yafeng Yin","Liu Qin","Ziyao Chen","Qing Gu"],"abstract":"Weakly-Supervised Dense Video Captioning (WSDVC) aims to localize and describe all events of interest in a video without requiring annotations of event boundaries. This setting poses a great challenge in accurately locating the temporal location of event, as the relevant supervision is unavailable. Existing methods rely on explicit alignment constraints between event locations and captions, which involve complex event proposal procedures during both training and inference. To tackle this problem, we propose a novel implicit location-caption alignment paradigm by complementary masking, which simplifies the complex event proposal and localization process while maintaining effectiveness. Specifically, our model comprises two components: a dual-mode video captioning module and a mask generation module. The dual-mode video captioning module captures global event information and generates descriptive captions, while the mask generation module generates differentiable positive and negative masks for localizing the events. These masks enable the implicit alignment of event locations and captions by ensuring that captions generated from positively and negatively masked videos are complementary, thereby forming a complete video description. In this way, even under weak supervision, the event location and event caption can be aligned implicitly. Extensive experiments on the public datasets demonstrate that our method outperforms existing weakly-supervised methods and achieves competitive results compared to fully-supervised methods.","url_abs":"https://arxiv.org/abs/2412.12791v2","url_pdf":"https://arxiv.org/pdf/2412.12791v2.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":"implicit-location-caption-alignment-via","repo_url":"https://github.com/ShipingGe/ILCACM","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"dense-video-captioning","task_name":"Dense Video Captioning"},{"task_slug":"descriptive","task_name":"Descriptive"},{"task_slug":"video-captioning","task_name":"Video Captioning"},{"task_slug":"video-description","task_name":"Video Description"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2412.12791","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.12791"}},"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/ShipingGe/ILCACM","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":12},"by_repo_kind":{"official":{"samples":12,"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":"2b95e75e05ea5abf","entry":"all_gather","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/util/dist.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/util/dist.py","link_basis":"first_harvest_node","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":"2b95e75e05ea5abf"}},{"code_sha256_prefix":"0ec9fc2025c16f65","entry":"all_gather_with_grad","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/util/dist.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/util/dist.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":"0ec9fc2025c16f65"}},{"code_sha256_prefix":"d3a2efceb5304d00","entry":"collate_fn","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/util/dataloader.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/util/dataloader.py","link_basis":"first_harvest_node","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":"d3a2efceb5304d00"}},{"code_sha256_prefix":"4f25251c868cedb9","entry":"eval_soda","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/dvc_eval/eval_soda.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/dvc_eval/eval_soda.py","link_basis":"first_harvest_node","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":"4f25251c868cedb9"}},{"code_sha256_prefix":"02cf5c2eb41e68fa","entry":"eval_tool","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/dvc_eval/eval_soda.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/dvc_eval/eval_soda.py","link_basis":"first_harvest_node","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":"02cf5c2eb41e68fa"}},{"code_sha256_prefix":"602593121cc1851f","entry":"get_train_loader","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/util/dataloader.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/util/dataloader.py","link_basis":"first_harvest_node","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":"602593121cc1851f"}},{"code_sha256_prefix":"3040bc1bea082137","entry":"get_val_loader","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/util/dataloader.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/util/dataloader.py","link_basis":"first_harvest_node","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":"3040bc1bea082137"}},{"code_sha256_prefix":"4b6ebfb6c53af660","entry":"parse_para","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/dvc_eval/eval_pc.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/dvc_eval/eval_pc.py","link_basis":"first_harvest_node","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":"4b6ebfb6c53af660"}},{"code_sha256_prefix":"36a9ad5fe7008b51","entry":"parse_sent","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/dvc_eval/eval_pc.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/dvc_eval/eval_pc.py","link_basis":"first_harvest_node","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":"36a9ad5fe7008b51"}},{"code_sha256_prefix":"cfb0aa2342a41918","entry":"random_string","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/dvc_eval/eval_dvc.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/dvc_eval/eval_dvc.py","link_basis":"first_harvest_node","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":"cfb0aa2342a41918"}},{"code_sha256_prefix":"a38ed1aa8d59134e","entry":"reduce_dict","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/util/dist.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/util/dist.py","link_basis":"first_harvest_node","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":"a38ed1aa8d59134e"}},{"code_sha256_prefix":"a45f62024eb3d2c5","entry":"remove_nonascii","repo":"ShipingGe/ILCACM","repo_kind":"official","path":"src/dvc_eval/eval_dvc.py","file_url":"https://github.com/ShipingGe/ILCACM/blob/HEAD/src/dvc_eval/eval_dvc.py","link_basis":"first_harvest_node","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":"a45f62024eb3d2c5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}