SSAM: a span spatial attention model for recognizing named entities

Mapping a sentence into a two-dimensional (2D) representation can flatten nested semantic structures and build multi-granular span dependencies in named entity recognition. Existing approaches to recognizing named entities often classify each entity span independently, which ignores the spatial structures between neighboring spans. To address this issue, we propose a Span Spatial Attention Model (SSAM) that consists of a token encoder, a span generation module, and a 2D spatial attention network. The SSAM employs a two-channel span generation strategy to capture multi-granular features. Unlike traditional attention implemented on a sequential sentence representation, spatial attention is applied to a 2D sentence representation, enabling the model to learn the spatial structures of the sentence. This allows the SSAM to adaptively encode important features and suppress non-essential information in the 2D sentence representation. Experimental results on the GENIA, ACE2005, and ACE2004 datasets demonstrate that our proposed model achieves state-of-the-art performance, with F1-scores of 81.82%, 89.04%, and 89.24%, respectively. The code is available at https://github.com/Gzuwkj/SpatialAttentionForNer .

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-03-25
DOI
https://doi.org/10.1038/s41598-025-87722-0
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SSAM: a span spatial attention model for recognizing named entities

Kunjian Wen, Yongbin Qin, Yanping Chen, Kai Wang
Scientific Reports
Topic Modeling
article

SSAM: a span spatial attention model for recognizing named entities

Kunjian Wen, Yongbin Qin, Yanping Chen, Kai Wang
article en

Abstract

Mapping a sentence into a two-dimensional (2D) representation can flatten nested semantic structures and build multi-granular span dependencies in named entity recognition. Existing approaches to recognizing named entities often classify each entity span independently, which ignores the spatial structures between neighboring spans. To address this issue, we propose a Span Spatial Attention Model (SSAM) that consists of a token encoder, a span generation module, and a 2D spatial attention network. The SSAM employs a two-channel span generation strategy to capture multi-granular features. Unlike traditional attention implemented on a sequential sentence representation, spatial attention is applied to a 2D sentence representation, enabling the model to learn the spatial structures of the sentence. This allows the SSAM to adaptively encode important features and suppress non-essential information in the 2D sentence representation. Experimental results on the GENIA, ACE2005, and ACE2004 datasets demonstrate that our proposed model achieves state-of-the-art performance, with F1-scores of 81.82%, 89.04%, and 89.24%, respectively. The code is available at https://github.com/Gzuwkj/SpatialAttentionForNer .

Scientific ReportsVol. 15(1)
Guizhou University (CN)
National Natural Science Foundation of China, National Key Research and Development Program of China
Reduced inequalities
Openalex Percentile: Top 98%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

SSAM: a span spatial attention model for recognizing named entities — Kunjian Wen, Yongbin Qin, et al. · Scientific Reports (2025) | TGRS Research Map | TGRS