{"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/ensemble-based-unsupervised-discontinuous","title":"Tree-Averaging Algorithms for Ensemble-Based Unsupervised Discontinuous Constituency Parsing","arxiv_id":"2403.00143","date":"2024-02-29","proceeding":null,"authors":["Behzad Shayegh","Yuqiao Wen","Lili Mou"],"abstract":"We address unsupervised discontinuous constituency parsing, where we observe a high variance in the performance of the only previous model in the literature. We propose to build an ensemble of different runs of the existing discontinuous parser by averaging the predicted trees, to stabilize and boost performance. To begin with, we provide comprehensive computational complexity analysis (in terms of P and NP-complete) for tree averaging under different setups of binarity and continuity. We then develop an efficient exact algorithm to tackle the task, which runs in a reasonable time for all samples in our experiments. Results on three datasets show our method outperforms all baselines in all metrics; we also provide in-depth analyses of our approach.","url_abs":"https://arxiv.org/abs/2403.00143v2","url_pdf":"https://arxiv.org/pdf/2403.00143v2.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":"ensemble-based-unsupervised-discontinuous","repo_url":"https://github.com/manga-uofa/taa4eudcp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"all","task_name":"All"},{"task_slug":"constituency-parsing","task_name":"Constituency Parsing"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.00143","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.00143"}},"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/manga-uofa/taa4eudcp","reach":{"status":"ok"}}],"summary":{"ran":8,"unverified":2},"by_repo_kind":{"official":{"samples":10,"ran":8,"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":"f7f21a76ca5ccd42","entry":"constituent_range","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"library/DP4F.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/library/DP4F.py","link_basis":"first_harvest_node","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":"f7f21a76ca5ccd42"}},{"code_sha256_prefix":"4425720c75251932","entry":"cut_constituent","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"library/DP4F.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/library/DP4F.py","link_basis":"first_harvest_node","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":"4425720c75251932"}},{"code_sha256_prefix":"772cc2a861384aa4","entry":"f_beta","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"library/utils.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/library/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"772cc2a861384aa4"}},{"code_sha256_prefix":"db95df75402e63d5","entry":"is_guaranteed","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"library/average_tree.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/library/average_tree.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"db95df75402e63d5"}},{"code_sha256_prefix":"9234f56543bcaf25","entry":"isin","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"casestudies/to_discobracket.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/casestudies/to_discobracket.py","link_basis":"first_harvest_node","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":"9234f56543bcaf25"}},{"code_sha256_prefix":"a5e9a374f73e118d","entry":"total_count","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"library/utils.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/library/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a5e9a374f73e118d"}},{"code_sha256_prefix":"e37a3fbeb17042a9","entry":"trivial_count","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"library/utils.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/library/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e37a3fbeb17042a9"}},{"code_sha256_prefix":"7f203b154d75f83a","entry":"words_count_in_constituent","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"library/DP4F.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/library/DP4F.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7f203b154d75f83a"}},{"code_sha256_prefix":"d5d8c191e5962909","entry":"NCS_test","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"evaluate.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/evaluate.py","link_basis":"first_harvest_node","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":"d5d8c191e5962909"}},{"code_sha256_prefix":"9fd50d705e41cb0a","entry":"read_individuals","repo":"manga-uofa/taa4eudcp","repo_kind":"official","path":"individuals/utils.py","file_url":"https://github.com/manga-uofa/taa4eudcp/blob/HEAD/individuals/utils.py","link_basis":"first_harvest_node","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":"9fd50d705e41cb0a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}