{"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/video-aided-unsupervised-grammar-induction","title":"Video-aided Unsupervised Grammar Induction","arxiv_id":"2104.04369","date":"2021-04-09","proceeding":"NAACL 2021 4","authors":["Songyang Zhang","Linfeng Song","Lifeng Jin","Kun Xu","Dong Yu","Jiebo Luo"],"abstract":"We investigate video-aided grammar induction, which learns a constituency parser from both unlabeled text and its corresponding video. Existing methods of multi-modal grammar induction focus on learning syntactic grammars from text-image pairs, with promising results showing that the information from static images is useful in induction. However, videos provide even richer information, including not only static objects but also actions and state changes useful for inducing verb phrases. In this paper, we explore rich features (e.g. action, object, scene, audio, face, OCR and speech) from videos, taking the recent Compound PCFG model as the baseline. We further propose a Multi-Modal Compound PCFG model (MMC-PCFG) to effectively aggregate these rich features from different modalities. Our proposed MMC-PCFG is trained end-to-end and outperforms each individual modality and previous state-of-the-art systems on three benchmarks, i.e. DiDeMo, YouCook2 and MSRVTT, confirming the effectiveness of leveraging video information for unsupervised grammar induction.","url_abs":"https://arxiv.org/abs/2104.04369v2","url_pdf":"https://arxiv.org/pdf/2104.04369v2.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":"video-aided-unsupervised-grammar-induction","repo_url":"https://github.com/Sy-Zhang/MMC-PCFG","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"optical-character-recognition","task_name":"Optical Character Recognition (OCR)"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2104.04369","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.04369"}},"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/Sy-Zhang/MMC-PCFG","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"official":{"samples":6,"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":"ea9874d5c6513212","entry":"build_position_encoding","repo":"Sy-Zhang/MMC-PCFG","repo_kind":"official","path":"lib/model/vpcfg/position_encoding.py","file_url":"https://github.com/Sy-Zhang/MMC-PCFG/blob/HEAD/lib/model/vpcfg/position_encoding.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":"ea9874d5c6513212"}},{"code_sha256_prefix":"302ec916d91b12a8","entry":"build_transformer","repo":"Sy-Zhang/MMC-PCFG","repo_kind":"official","path":"lib/model/vpcfg/transformer.py","file_url":"https://github.com/Sy-Zhang/MMC-PCFG/blob/HEAD/lib/model/vpcfg/transformer.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":"302ec916d91b12a8"}},{"code_sha256_prefix":"96781da47e35c7a0","entry":"create_logger","repo":"Sy-Zhang/MMC-PCFG","repo_kind":"official","path":"lib/core/utils.py","file_url":"https://github.com/Sy-Zhang/MMC-PCFG/blob/HEAD/lib/core/utils.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":"96781da47e35c7a0"}},{"code_sha256_prefix":"50da18e5b27669e6","entry":"extract_parse","repo":"Sy-Zhang/MMC-PCFG","repo_kind":"official","path":"lib/model/vpcfg/utils.py","file_url":"https://github.com/Sy-Zhang/MMC-PCFG/blob/HEAD/lib/model/vpcfg/utils.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":"50da18e5b27669e6"}},{"code_sha256_prefix":"b314016627dd28ea","entry":"extract_parses","repo":"Sy-Zhang/MMC-PCFG","repo_kind":"official","path":"lib/model/vpcfg/utils.py","file_url":"https://github.com/Sy-Zhang/MMC-PCFG/blob/HEAD/lib/model/vpcfg/utils.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":"b314016627dd28ea"}},{"code_sha256_prefix":"107edbd92e8c5dc7","entry":"get_random_tree","repo":"Sy-Zhang/MMC-PCFG","repo_kind":"official","path":"lib/model/vpcfg/utils.py","file_url":"https://github.com/Sy-Zhang/MMC-PCFG/blob/HEAD/lib/model/vpcfg/utils.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":"107edbd92e8c5dc7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}