Papers › Fusing Heterogeneous Factors with Triaffine Mechanism for Nested Named Entity Recognition

Fusing Heterogeneous Factors with Triaffine Mechanism for Nested Named Entity Recognition

14 Oct 2021Findings (ACL) 2022 5arXiv:2110.07480archive 2025-07-28

Zheng Yuan, Chuanqi Tan, Songfang Huang, Fei Huang

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₁ scores on nested NER datasets GENIA and KBP2017, and shows comparable results on ACE2004 and ACE2005.

PaperPDFConference PDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

GanjinZero/Triaffine-nested-ner officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

ClassificationNERNamed Entity RecognitionNamed Entity Recognition (NER)Nested Named Entity Recognitionnamed-entity-recognition

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Nested Named Entity Recognition ACE 2004 Triaffine + ALBERT F1 88.56 #3 of 24 Archive leaderboard report
Nested Named Entity Recognition ACE 2004 Triaffine + BioBERT F1 87.40 #12 of 24 Archive leaderboard report
Nested Named Entity Recognition ACE 2005 Triaffine + ALBERT F1 88.83 #2 of 25 Archive leaderboard report
Nested Named Entity Recognition ACE 2005 Triaffine + BERT F1 86.82 #7 of 25 Archive leaderboard report
Nested Named Entity Recognition GENIA Triaffine + BioBERT F1 81.23 #5 of 26 Archive leaderboard report
Nested Named Entity Recognition TAC-KBP 2017 Triaffine + ALBERT F1 87.27 #1 of 3 Archive leaderboard report
Nested Named Entity Recognition TAC-KBP 2017 Triaffine + BERT F1 85.05 #2 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections