{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/fusing-heterogeneous-factors-with-triaffine","title":"Fusing Heterogeneous Factors with Triaffine Mechanism for Nested Named Entity Recognition","arxiv_id":"2110.07480","date":"2021-10-14","proceeding":"Findings (ACL) 2022 5","authors":["Zheng Yuan","Chuanqi Tan","Songfang Huang","Fei Huang"],"abstract":"Nested entities are observed in many domains due to their compositionality, which cannot be easily recognized by the widely-used sequence labeling framework. A natural solution is to treat the task as a span classification problem. To learn better span representation and increase classification performance, it is crucial to effectively integrate heterogeneous factors including inside tokens, boundaries, labels, and related spans which could be contributing to nested entities recognition. To fuse these heterogeneous factors, we propose a novel triaffine mechanism including triaffine attention and scoring. Triaffine attention uses boundaries and labels as queries and uses inside tokens and related spans as keys and values for span representations. Triaffine scoring interacts with boundaries and span representations for classification. Experiments show that our proposed method outperforms previous span-based methods, achieves the state-of-the-art $F_1$ scores on nested NER datasets GENIA and KBP2017, and shows comparable results on ACE2004 and ACE2005.","url_abs":"https://arxiv.org/abs/2110.07480v3","url_pdf":"https://arxiv.org/pdf/2110.07480v3.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":"fusing-heterogeneous-factors-with-triaffine","repo_url":"https://github.com/GanjinZero/Triaffine-nested-ner","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"classification-1","task_name":"Classification"},{"task_slug":"cg","task_name":"NER"},{"task_slug":"named-entity-recognition-1","task_name":"Named Entity Recognition"},{"task_slug":"named-entity-recognition-ner","task_name":"Named Entity Recognition (NER)"},{"task_slug":"nested-named-entity-recognition","task_name":"Nested Named Entity Recognition"},{"task_slug":"named-entity-recognition","task_name":"named-entity-recognition"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/nested-named-entity-recognition-on-ace-2004","task":"Nested Named Entity Recognition","dataset":"ACE 2004","model":"Triaffine + ALBERT","rank_in_archive_order":3,"of":24,"metrics":{"F1":"88.56"},"uses_additional_data":false},{"leaderboard":"/sota/nested-named-entity-recognition-on-ace-2004","task":"Nested Named Entity Recognition","dataset":"ACE 2004","model":"Triaffine + BioBERT","rank_in_archive_order":12,"of":24,"metrics":{"F1":"87.40"},"uses_additional_data":false},{"leaderboard":"/sota/nested-named-entity-recognition-on-ace-2005","task":"Nested Named Entity Recognition","dataset":"ACE 2005","model":"Triaffine + ALBERT","rank_in_archive_order":2,"of":25,"metrics":{"F1":"88.83"},"uses_additional_data":false},{"leaderboard":"/sota/nested-named-entity-recognition-on-ace-2005","task":"Nested Named Entity Recognition","dataset":"ACE 2005","model":"Triaffine + BERT","rank_in_archive_order":7,"of":25,"metrics":{"F1":"86.82"},"uses_additional_data":false},{"leaderboard":"/sota/nested-named-entity-recognition-on-genia","task":"Nested Named Entity Recognition","dataset":"GENIA","model":"Triaffine + BioBERT","rank_in_archive_order":5,"of":26,"metrics":{"F1":"81.23"},"uses_additional_data":false},{"leaderboard":"/sota/nested-named-entity-recognition-on-tac-kbp","task":"Nested Named Entity Recognition","dataset":"TAC-KBP 2017","model":"Triaffine + ALBERT","rank_in_archive_order":1,"of":3,"metrics":{"F1":"87.27"},"uses_additional_data":false},{"leaderboard":"/sota/nested-named-entity-recognition-on-tac-kbp","task":"Nested Named Entity Recognition","dataset":"TAC-KBP 2017","model":"Triaffine + BERT","rank_in_archive_order":2,"of":3,"metrics":{"F1":"85.05"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2110.07480","atlas_url":"https://app.syntology.ai/?focus=2110.07480","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"2110.07480"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2110.07480\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2110.07480"},"call":"get_concepts_for_paper(arxiv_id=\"2110.07480\")"}],"by_repo":[{"repo":"GanjinZero/Triaffine-nested-ner","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"14fe8a3935398b895c678db18e1af83fb9eddd46fe333c44e50063d6b2930ca6","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}