{"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/decomposed-meta-learning-for-few-shot-named","title":"Decomposed Meta-Learning for Few-Shot Named Entity Recognition","arxiv_id":"2204.05751","date":"2022-04-12","proceeding":"Findings (ACL) 2022 5","authors":["Tingting Ma","Huiqiang Jiang","Qianhui Wu","Tiejun Zhao","Chin-Yew Lin"],"abstract":"Few-shot named entity recognition (NER) systems aim at recognizing novel-class named entities based on only a few labeled examples. In this paper, we present a decomposed meta-learning approach which addresses the problem of few-shot NER by sequentially tackling few-shot span detection and few-shot entity typing using meta-learning. In particular, we take the few-shot span detection as a sequence labeling problem and train the span detector by introducing the model-agnostic meta-learning (MAML) algorithm to find a good model parameter initialization that could fast adapt to new entity classes. For few-shot entity typing, we propose MAML-ProtoNet, i.e., MAML-enhanced prototypical networks to find a good embedding space that can better distinguish text span representations from different entity classes. Extensive experiments on various benchmarks show that our approach achieves superior performance over prior methods.","url_abs":"https://arxiv.org/abs/2204.05751v2","url_pdf":"https://arxiv.org/pdf/2204.05751v2.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":"decomposed-meta-learning-for-few-shot-named","repo_url":"https://github.com/microsoft/vert-papers","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"entity-typing","task_name":"Entity Typing"},{"task_slug":"few-shot-ner","task_name":"Few-shot NER"},{"task_slug":"meta-learning","task_name":"Meta-Learning"},{"task_slug":"named-entity-recognition-1","task_name":"Named Entity Recognition"},{"task_slug":"named-entity-recognition-ner","task_name":"Named Entity Recognition (NER)"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/few-shot-ner-on-few-nerd-inter","task":"Few-shot NER","dataset":"Few-NERD (INTER)","model":"DecomposedMetaNER","rank_in_archive_order":6,"of":13,"metrics":{"10 way 1~2 shot":"58.65±0.43","10 way 5~10 shot":"68.11±0.05","5 way 1~2 shot":"64.75±0.35","5 way 5~10 shot":"71.49±0.47"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-ner-on-few-nerd-intra","task":"Few-shot NER","dataset":"Few-NERD (INTRA)","model":"DecomposedMetaNER","rank_in_archive_order":7,"of":13,"metrics":{"10 way 1~2 shot":"42.84±0.46","10 way 5~10 shot":"57.31±0.25","5 way 1~2 shot":"49.48±0.85","5 way 5~10 shot":"62.92±0.57"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.05751","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.05751"}},"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/microsoft/vert-papers","reach":null}],"summary":{"ran":2,"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"official":{"samples":5,"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":"292da879de71f451","entry":"LinearCRF","repo":"microsoft/vert-papers","repo_kind":"official","path":"papers/DecomposedMetaSL/model/joint_model.py","file_url":"https://github.com/microsoft/vert-papers/blob/HEAD/papers/DecomposedMetaSL/model/joint_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"292da879de71f451"}},{"code_sha256_prefix":"76f3f1f4704f841d","entry":"MaxLoss","repo":"microsoft/vert-papers","repo_kind":"official","path":"papers/DecomposedMetaSL/model/joint_model.py","file_url":"https://github.com/microsoft/vert-papers/blob/HEAD/papers/DecomposedMetaSL/model/joint_model.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":"76f3f1f4704f841d"}},{"code_sha256_prefix":"2b9f711565f0a0f5","entry":"convert_bio2spans","repo":"microsoft/vert-papers","repo_kind":"official","path":"papers/DecomposedMetaSL/model/joint_model.py","file_url":"https://github.com/microsoft/vert-papers/blob/HEAD/papers/DecomposedMetaSL/model/joint_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2b9f711565f0a0f5"}},{"code_sha256_prefix":"539d381a77a39276","entry":"FewShotSpanModel","repo":"microsoft/vert-papers","repo_kind":"official","path":"papers/DecomposedMetaSL/model/joint_model.py","file_url":"https://github.com/microsoft/vert-papers/blob/HEAD/papers/DecomposedMetaSL/model/joint_model.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":"539d381a77a39276"}},{"code_sha256_prefix":"3ada8f03e3ed466b","entry":"SelectedJointModel","repo":"microsoft/vert-papers","repo_kind":"official","path":"papers/DecomposedMetaSL/model/joint_model.py","file_url":"https://github.com/microsoft/vert-papers/blob/HEAD/papers/DecomposedMetaSL/model/joint_model.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":"3ada8f03e3ed466b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}