{"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/okay-let-s-do-this-modeling-event-coreference","title":"Okay, Let's Do This! Modeling Event Coreference with Generated Rationales and Knowledge Distillation","arxiv_id":"2404.03196","date":"2024-04-04","proceeding":null,"authors":["Abhijnan Nath","Shadi Manafi","Avyakta Chelle","Nikhil Krishnaswamy"],"abstract":"In NLP, Event Coreference Resolution (ECR) is the task of connecting event clusters that refer to the same underlying real-life event, usually via neural systems. In this work, we investigate using abductive free-text rationales (FTRs) generated by modern autoregressive LLMs as distant supervision of smaller student models for cross-document coreference (CDCR) of events. We implement novel rationale-oriented event clustering and knowledge distillation methods for event coreference scoring that leverage enriched information from the FTRs for improved CDCR without additional annotation or expensive document clustering. Our model using coreference specific knowledge distillation achieves SOTA B3 F1 on the ECB+ and GVC corpora and we establish a new baseline on the AIDA Phase 1 corpus. Our code can be found at https://github.com/csu-signal/llama_cdcr","url_abs":"https://arxiv.org/abs/2404.03196v1","url_pdf":"https://arxiv.org/pdf/2404.03196v1.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":"okay-let-s-do-this-modeling-event-coreference","repo_url":"https://github.com/csu-signal/llama_cdcr","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"clustering","task_name":"Clustering"},{"task_slug":"coreference-resolution","task_name":"Coreference Resolution"},{"task_slug":"event-coreference-resolution","task_name":"Event Coreference Resolution"},{"task_slug":"knowledge-distillation","task_name":"Knowledge Distillation"},{"task_slug":"coreference-resolution-1","task_name":"coreference-resolution"}],"methods":[{"method_slug":"knowledge-distillation","method_name":"Knowledge Distillation"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.03196","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.03196"}},"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/csu-signal/llama_cdcr","reach":{"status":"ok"}}],"summary":{"ran":6,"ran_draft_wrong":1,"unverified":5},"by_repo_kind":{"official":{"samples":12,"ran":7,"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":12,"samples":[{"code_sha256_prefix":"507f475feb734647","entry":"compute_intermediate_size","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"convert_llama_weights_to_hf.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/convert_llama_weights_to_hf.py","link_basis":"harvester_set","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":"507f475feb734647"}},{"code_sha256_prefix":"8f45290d7435bbb0","entry":"create_im_generated_maps","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"generate_inner_monologue_maps.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/generate_inner_monologue_maps.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":"8f45290d7435bbb0"}},{"code_sha256_prefix":"4e8c1e44d6a0b686","entry":"forward_ab","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"helper.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/helper.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":"4e8c1e44d6a0b686"}},{"code_sha256_prefix":"5ec62e7def9dcea2","entry":"get_arg_attention_mask","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"helper.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/helper.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":"5ec62e7def9dcea2"}},{"code_sha256_prefix":"04e720a4525bef2f","entry":"get_cluster_maps","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"cluster_analysis.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/cluster_analysis.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":"04e720a4525bef2f"}},{"code_sha256_prefix":"53eadd648e32a9ea","entry":"load_lemma_dataset","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"helper.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/helper.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":"53eadd648e32a9ea"}},{"code_sha256_prefix":"c5bcf01d18bba63d","entry":"read_json","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"convert_llama_weights_to_hf.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/convert_llama_weights_to_hf.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c5bcf01d18bba63d"}},{"code_sha256_prefix":"f46a4f2c56fb2625","entry":"create_system_user_prompts","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"generate_inner_monologue_maps.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/generate_inner_monologue_maps.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":"f46a4f2c56fb2625"}},{"code_sha256_prefix":"73cf5f4310f98273","entry":"get_cluster_size_error","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"cluster_analysis.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/cluster_analysis.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":"73cf5f4310f98273"}},{"code_sha256_prefix":"d56d3c547ea0bf3c","entry":"get_inner_monologue_samples","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"generate_inner_monologue_maps.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/generate_inner_monologue_maps.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":"d56d3c547ea0bf3c"}},{"code_sha256_prefix":"0e7bf1603e345cd4","entry":"main","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"cluster_analysis.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/cluster_analysis.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":"0e7bf1603e345cd4"}},{"code_sha256_prefix":"4b597d1b6e00be58","entry":"write_model","repo":"csu-signal/llama_cdcr","repo_kind":"official","path":"convert_llama_weights_to_hf.py","file_url":"https://github.com/csu-signal/llama_cdcr/blob/HEAD/convert_llama_weights_to_hf.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":"4b597d1b6e00be58"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}