Global-Attn-GateNER: Unified entity recognition based on global attention and dynamic gateway
Abstract
Unified modeling poses a significant challenge for Named Entity Recognition (NER), for which efficiently capturing semantic and feature fusion remains critical. The W2 NER framework, based on word-word relationship classification, offers a unified approach to NER through two-dimensional word grid modeling. However, this framework suffers from insufficient context awareness and rigid feature interactions. To overcome these limitations, this study proposes a phased enhancement strategy consisting of several steps:(1) a global self attention mechanism strengthens boundary semantic representations; (2) then, a restructured hierarchical perturbation strategy mitigates over-regularization in the dual-affine module; and (3) a dynamically gated fusion network achieves adaptive aggregation of structured features and contextual representations at the word-pair granularity. Extensive experiments across eight benchmark datasets, which cover flat, overlapping, and discontinuous NER (four Chinese and four English datasets), demonstrate this proposed model’s state-of-the-art performance, thereby propelling unified NER to new frontiers.