{"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/coarse-to-fine-dual-encoders-are-better-frame","title":"Coarse-to-Fine Dual Encoders are Better Frame Identification Learners","arxiv_id":"2310.13316","date":"2023-10-20","proceeding":null,"authors":["Kaikai An","Ce Zheng","Bofei Gao","Haozhe Zhao","Baobao Chang"],"abstract":"Frame identification aims to find semantic frames associated with target words in a sentence. Recent researches measure the similarity or matching score between targets and candidate frames by modeling frame definitions. However, they either lack sufficient representation learning of the definitions or face challenges in efficiently selecting the most suitable frame from over 1000 candidate frames. Moreover, commonly used lexicon filtering ($lf$) to obtain candidate frames for the target may ignore out-of-vocabulary targets and cause inadequate frame modeling. In this paper, we propose CoFFTEA, a $\\underline{Co}$arse-to-$\\underline{F}$ine $\\underline{F}$rame and $\\underline{T}$arget $\\underline{E}$ncoders $\\underline{A}$rchitecture. With contrastive learning and dual encoders, CoFFTEA efficiently and effectively models the alignment between frames and targets. By employing a coarse-to-fine curriculum learning procedure, CoFFTEA gradually learns to differentiate frames with varying degrees of similarity. Experimental results demonstrate that CoFFTEA outperforms previous models by 0.93 overall scores and 1.53 R@1 without $lf$. Further analysis suggests that CoFFTEA can better model the relationships between frame and frame, as well as target and target. The code for our approach is available at https://github.com/pkunlp-icler/COFFTEA.","url_abs":"https://arxiv.org/abs/2310.13316v1","url_pdf":"https://arxiv.org/pdf/2310.13316v1.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":"coarse-to-fine-dual-encoders-are-better-frame","repo_url":"https://github.com/pkunlp-icler/cofftea","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"contrastive-learning","task_name":"Contrastive Learning"},{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"sentence","task_name":"Sentence"}],"methods":[{"method_slug":"contrastive-learning","method_name":"Contrastive Learning"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2310.13316","atlas_url":"https://app.syntology.ai/?focus=2310.13316","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.13316"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/pkunlp-icler/cofftea","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":3,"unverified":3},"by_repo_kind":{"official":{"samples":6,"ran":3,"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":"8e4154f686a8e164","entry":"convert_examples_to_features_lexical_filter","repo":"pkunlp-icler/cofftea","repo_kind":"official","path":"code/utils.py","file_url":"https://github.com/pkunlp-icler/cofftea/blob/HEAD/code/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8e4154f686a8e164"}},{"code_sha256_prefix":"f508b8a818727772","entry":"convert_examples_to_features_wo_lexical_filter","repo":"pkunlp-icler/cofftea","repo_kind":"official","path":"code/utils.py","file_url":"https://github.com/pkunlp-icler/cofftea/blob/HEAD/code/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f508b8a818727772"}},{"code_sha256_prefix":"545dc475ede917ea","entry":"convert_frame_examples_to_features","repo":"pkunlp-icler/cofftea","repo_kind":"official","path":"code/utils.py","file_url":"https://github.com/pkunlp-icler/cofftea/blob/HEAD/code/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"545dc475ede917ea"}},{"code_sha256_prefix":"3de6c82bab9412ea","entry":"load_and_cache_examples","repo":"pkunlp-icler/cofftea","repo_kind":"official","path":"code/dataset.py","file_url":"https://github.com/pkunlp-icler/cofftea/blob/HEAD/code/dataset.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":"3de6c82bab9412ea"}},{"code_sha256_prefix":"01e4ca023ed397b7","entry":"load_feature_lexical_filter","repo":"pkunlp-icler/cofftea","repo_kind":"official","path":"code/dataset.py","file_url":"https://github.com/pkunlp-icler/cofftea/blob/HEAD/code/dataset.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":"01e4ca023ed397b7"}},{"code_sha256_prefix":"0a546b305d274996","entry":"select_field","repo":"pkunlp-icler/cofftea","repo_kind":"official","path":"code/dataset.py","file_url":"https://github.com/pkunlp-icler/cofftea/blob/HEAD/code/dataset.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":"0a546b305d274996"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}