PromptNER: Prompt Locating and Typing for Named Entity Recognition
Yongliang ShenZeqi TanShuhui WuWenqi ZhangRongsheng ZhangYadong XiWeiming LuYueting Zhuang
Proposes a single-round prompt learning framework for named entity recognition that unifies entity locating and typing via dual-slot templates and bipartite graph matching, avoiding span enumeration while boosting cross-domain few-shot performance by 7.7%.
Named entity recognition is a critical natural language processing capability used to identify and categorize key information, such as people, places, and organizations, within unstructured text. While modern prompt-based learning methods have improved data efficiency, existing solutions suffer from significant practical drawbacks. Current approaches either evaluate candidate text spans or search across specific entity types, requiring multiple computational passes and rigid prompt engineering. These multi-round processes result in high latency, substantial computational costs, and severe performance degradation when applied to low-resource or cross-domain settings.
The article evaluates a unified framework called PromptNER, which aims to execute both entity locating and entity typing in a single, parallel inference pass without enumerating spans or types. The approach introduces a dual-slot multi-prompt template featuring dedicated position and type slots. To train the system without predefined prompt assignments, the authors implement an extended bipartite matching mechanism that dynamically pairs prompts to target entities in a one-to-many relationship. The framework was evaluated across standard flat and nested datasets (CoNLL03, ACE04, ACE05) and low-resource domain transfer benchmarks (MIT Movie, MIT Restaurant, ATIS) using pre-trained language model backbones and warm-up training on Wikipedia anchor text.
The experimental findings show substantial improvements in both efficiency and accuracy. In cross-domain few-shot evaluations, PromptNER outperformed previous state-of-the-art models by an average of 7.7% in F1-score, with performance gains reaching 13% to 14% in extreme 10-shot target scenarios. On standard nested entity benchmarks, the model established new state-of-the-art results (88.72% on ACE04 and 88.26% on ACE05) while remaining highly competitive on standard flat text benchmarks. Furthermore, the single-round parallel architecture achieved dramatic operational efficiency gains, running over 48 times faster than previous span-based template methods and roughly two times faster than generative and reading-comprehension architectures.
These results demonstrate that entity boundaries and categories can be decoupled and resolved simultaneously, allowing models to transfer structural knowledge across disparate domains effectively. For decision-makers and technical leaders, this approach significantly reduces inference latency and cloud computing expenses while lowering the cost and data requirements needed to deploy information extraction tools in specialized domains.
Organizations seeking to deploy high-throughput or low-data entity extraction should consider adopting unified single-pass prompt architectures and utilizing weakly supervised warm-up strategies. However, stakeholders must account for key technical boundaries: the current architecture cannot extract discontinuous entity fragments, requires Wikipedia-based warm-up steps to learn structural boundary detection, and enforces a fixed upper bound on the maximum number of entities detectable per input text sentence.
- Paper: Template-free Prompt Tuning for Few-shot NER, Ruotian Ma et al. (2022). This few-shot NER approach exposes the span-by-span computational bottleneck in earlier prompt methods that PromptNER’s unified, parallel locating-and-typing design addresses.
- Paper: GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer, Urchade Zaratiana et al. (2024). GLiNER advances prompt-based NER toward compact, open-ended extraction across entity types, extending the unified locating-and-typing perspective to generalist zero-shot use.
