Conceptio › Archive › arXiv CS
arXiv CS open access

NE-R1: Enhancing Named Entity Recognition Model via Reinforcement Learning

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
artificial-intelligenceknowledge-representationreasoning
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

NE-R1: Enhancing Named Entity Recognition Model via Reinforcement Learning Meixuan Chen1 * ‡ , Hehan Li2 * , Ruizhi Zhao3 , Xin Lu2 , Peizhi Xu2 , Liwei Qian2 , Meifang Li2 , Shuanglong Li2 , Hanmeng Liu2 , Xin Pei2 , Yanbiao Ma4,5,6† 1

arXiv:2609.02366v1 [cs.CL] 2 Sep 2026

Shenzhen Graduate School, Peking University 2 Baidu, Inc., Beijing, China 3 Shenzhen University, Shenzhen, China 4 Gaoling School of Artificial Intelligence, Renmin University of China, Beijing, China 5 Beijing Key Laboratory of Research on Large Models and Intelligent Governance 6 Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE chenmeixuan26@stu.pku.edu.cn

2410145008@mails.szu.edu.cn

ybma1998@ruc.edu.cn

{lihehan,luxin06,xupeizhi,qianliwei,limeifang,lishuanglong,liuhanmeng}@baidu.com (a) Always-on Retrieval NER

Abstract Ner Schema

Named Entity Recognition (NER) has achieved substantial progress since the advent of large language models (LLMs). Nevertheless, the recognition of long-tail and domain-specific entities remains challenging due to the deficiency in parametric knowledge. Retrievalaugmented generation (RAG) offers a promising remedy by injecting external knowledge, but it also introduces noise and unnecessary cost when dealing with familiar cases. In this paper, we propose NE-R1, a novel framework for adaptive retrieval-augmented NER. We design a “retrieval-on-demand” mechanism for NER. Then we integrate it into models by a two-stage training method: (1) multi-task instruction tuning initialization; (2) end-to-end RL optimization with CoT. To achieve reasonable selection between parameterized and external knowledge, we design a multi-dimensional reward considering both accuracy and retrieval benefit. NE-R1 achieves state-of-the-art performance on various benchmarks, with average improvements of 2.52 F1 points in in-domain evaluation and 1.18 F1 points in zero-shot crossdomain evaluation.

1

Introduction

Named Entity Recognition (NER) is a fundamental task in Natural Language Processing (NLP), aiming to identify entity spans and their types (Lample, 2016; Ma, 2016). In recent years, large language models (LLMs) have catalyzed the rapid advancement of Generative NER (GenNER) (Seow, 2025; Wang, 2023; Zhou, 2024), which reformulates NER ‡

* Equal contribution.

†

Corresponding author. Work done during an internship at Baidu, Inc.

retrieval

Apple's products are popular.

<info> Apple is a type of fruit...</info>

Answer : {FRUIT: Apple} LLM

retrieval introduces noise

(b) NE-R1: Adaptive Retrieval Ner Schema Apple's products are popular.

think LLM

Ner Schema Dr.Smith studies BRCA1.

think LLM

No retrieval knowledge sufficient

retrieval

<info> BRCA1 is a gene... </info>

Answer : {BRAND:Apple}

Answer :

{GENE: BRCA1}

Figure 1: Motivation and overview of NE-R1’s adaptive retrieval mechanism. (a) Always-on retrieval indiscriminately introduces redundant noise and degrades performance for familiar entities. (b) NE-R1 adaptively triggers retrieval only when genuinely necessary.

as a conditional generation problem, and achieved remarkable progress in this area. However, GenNER still suffers from the parametric knowledge deficiency of LLMs (Lu, 2022; Guo, 2025). This leads to hallucinations or omissions when encountering long-tail, domainspecific unfamiliar entities or ambiguous situations (Kang, 2025). To address this limitation, RetrievalAugmented Generation (RAG) (Gao, 2023; Fan, 2024) has been introduced to inject external knowledge into NER models (Tan, 2023; Zhenwei, 2024), and further augmentation has been explored through retrieving similar examples (Li, 2024). Despite the benefits brought by retrieval augmentation, existing methods predominantly adopt a “full retrieval” strategy—triggering retrieval indiscriminately regardless of input complexity. This paradigm engenders two critical issues: (1) Noise Introduction, where mandatory retrieval for fa-

miliar cases may inject irrelevant information that interferes with model decisions, as illustrated in Figure 1(a). (2) Unnecessary Latency Overhead, where retrieval for high-frequency entities is often redundant. Our experiments on the MIT-Movie dataset reveal that full retrieval incurs a 4.85× increase in inference latency compared to no retrieval, yet yields negligible performance gains. Consequently, it becomes paramount to realize an adaptive “retrieve-on-demand” mechanism and seamlessly integrate it into NER models. In this paper, we propose NE-R1, a novel framework for adaptive retrieval-augmented NER. As shown in Figure 1(b), NE-R1 intelligently determines when to trigger retrieval based on input complexity. Inspired by the recent breakthroughs of DeepSeek-R1 (Guo, 2025) in reasoning tasks, we design a two-stage training procedure. The first stage is capability initialization through multi-task instruction tuning, which endows the model with three foundational capabilities: parametric inference, retrieval triggering, and evidence fusion; the second stage is end-to-end RL training, incorporating an explicit Chain-of-Thought mechanism and a multi-dimensional reward that comprehensively estimates prediction correctness and retrieval benefit to jointly enhance overall performance. Extensive experiments show that NE-R1 outperforms the evaluated baselines, improving the average in-domain F1 score by 2.52 points over the strongest overall baseline, including a 3.30-point gain on GENIA. In zero-shot cross-domain evaluation, NE-R1 improves performance in four of the five CrossNER domains and achieves the best fivedomain average, exceeding the strongest baseline by 1.18 F1 points. On MIT-Movie, NE-R1 also reduces inference latency by approximately 55% compared with the always-retrieve baseline while achieving a higher F1 score. Our contributions are summarized as follows: • We propose NE-R1, a novel framework that brings a “retrieve-on-demand” mechanism to NER, allowing models to retrieve only when their own knowledge falls short. • We design a two-stage training method that first injects foundational capabilities via multi-task instruction tuning, then performs end-to-end RL optimization with Chain-of-Thought reasoning and a multi-dimensional reward. • NE-R1 surpasses existing methods on both in-

domain and zero-shot cross-domain evaluations, demonstrating an favorable balance of performance, efficiency, and generalization.

2

Related Work

LLM-based NER. Recent LLM-based NER work primarily follows two main paradigms. The first is In-Context Learning (Dong, 2024), which directly invokes LLMs through prompts. Works in this direction focus on instruction optimization (Liu, 2023; Wang, 2025; Gonen, 2023), providing domain knowledge (Tong, 2025; Cocchieri, 2025; Huang, 2025), or introducing reflection mechanisms (Ashok, 2023; Xie, 2023). ICL example selection (Xie, 2024; Chen, 2025) is also explored. The second paradigm fine-tunes pretrained LLMs with supervised training. Representative works employ unified instruction templates (Lu, 2022), incorporate Chain-of-Thought (Huang, 2026), or decompose NER into subtasks (Guo, 2025; Lu, 2024). For domain adaptation, methods leverage data augmentation (Huang, 2025; Bogdanov, 2024), inject guiding knowledge (Yang, 2025; Sainz, 2024), or denoise pseudo-labels (Ding, 2024). Retrieval-Augmented Generation. RAG integrates external information to supplement knowledge and reduce hallucination (Zhao, 2026; Peng, 2025; Ram, 2023). Recent advances optimize retrieval methods (Yan, 2024; Gao, 2023; Jeong, 2024), perform document refinement (Trivedi, 2023; Liu, 2026), or design multi-round mechanisms (Shao, 2023). However, most RAG systems rely on static retrieval strategies that may not adapt to diverse query types. Reinforcement Learning for LLMs. Reinforcement learning has been applied to LLMs(Ouyang, 2022), though early methods face tremendous training challenges (Schulman, 2017). Alternative approaches maximize reward by solving a classification problem(Rafailov, 2023) or optimize through advantage normalization (Hu, 2025). RL has been extended to machine translation (He, 2025; Feng, 2025), text-to-SQL (Unknown, 2025), and question-answering (Song, 2025; Zheng, 2025).

3

Methodology

In this section, we present the NE-R1 framework. As shown in Figure 2, it comprises two key components: (1) Multi-Task Capability Initialization

Stage 1: Multi-Task Capability Initialization K-sampling

Parametric Reasoning

Pass-rate-based Selection Easy

<search> Hard

Retrieval Triggered datasets

Qwen model

Example Input: Dr. Strangelove is rated higher than Barry Lyndon.

Fusion Reasoning

Multi-Task Joint Fine-Tuning

Easy …

language model

Multi-task datasets

Consistency Count

Initialized policy model

Stage 2: End-to-end RL Optimization

Reward Calculation

<answer>

<think> emm...Dr. Strangelove seems to be a person. No external search is needed. I can answer directly. </think>

PERSON: Dr.Strangelove.

</answer>

Format

More Trajectories....

Training data

Initialized policy model

<think>...external search is needed. </think>

<search>

Dr. Strangelove

</search>

Search Engine

<info>.. is a film in 1970... </info>

GRPO Update

Accuracy <answer> ..is TITLE. </answer>

Retrieval

Figure 2: Overview of the NE-R1 framework. The pipeline consists of two main stages: (1) Multi-Task Capability Initialization, where we construct three instruction tuning tasks via pass-rate-based data selection to equip the model with foundational capabilities for parametric inference, retrieval triggering, and fusion inference; and (2) End-to-End RL Optimization, which employs Group Relative Policy Optimization (GRPO) to fine-tune the model, leveraging Chain-of-Thought (CoT) guided reasoning and a multi-dimensional reward mechanism to achieve adaptive retrieval and precise entity extraction.

(MTCI), which equips the model with capabilities in parametric inference, retrieval triggering, and evidence-fusion inference via multi-task instruction tuning (Section 3.1); and (2) End-toEnd RL Optimization, which designs a Chainof-Thought (CoT)-guided reasoning paradigm and a multi-dimensional reward, and employs Group Relative Policy Optimization (GRPO) for end-toend optimization (Section 3.2). 3.1

Multi-Task Capability Initialization

We aim to enable adaptive retrieval decisions for NER. However, uninitialized models cannot generate effective queries or integrate retrieved results, making direct reinforcement learning inefficient and unstable. We therefore apply multi-task instruction tuning to inject three foundational capabilities into Qwen2.5-7B, using supervised data distilled from a stronger teacher model, Qwen2.5-32B. Task Design and Data Construction. We design three complementary instruction tuning tasks: parametric inference (Tparam ), retrieval triggering (Ttrigger ), and fusion inference (Trag ). To construct high-quality training data that balances signal quality with sufficient exploration potential, we employ a pass-rate-based data selec-

tion mechanism. For each training sample, we use Qwen2.5-32B to generate K=10 candidate responses and apply task-specific selection criteria. • Parametric Inference (Tparam ) trains the model to extract entities using only the input context and its internal parametric knowledge. The target sequence contains an <answer> block with the predicted entities. For each training sample x, we estimate the non-retrieval pass rate as K

1 X cparam (x) = I(ŷparam,k = y ∗ ), K

(1)

k=1

where ŷparam,k is the k-th sampled output, y ∗ is the gold entity annotation, and I(·) is the indicator function. Samples with reliable parametric predictions are retained: Dparam = {x | cparam (x) ≥ τparam }.

(2)

• Retrieval Triggering (Ttrigger ) trains the model to decide whether external knowledge is needed and, when necessary, to generate a rewritten search query. The supervised target contains a <think> fragment followed by a <search> block. The <think> fragment describes the source of uncertainty (e.g., entity ambiguity, rare mentions, or insufficient contextual evidence), while the <search>

Instruction: Extract named

Instruction: Decide whether retrieval is needed; if yes, generate a query in <search> tags. Input: "Show me movies starring Cruise."

entities directly from the sentence using only context and internal knowledge. Input: “ I want to watch Inception directed by Christopher Nolan”

<think> "Cruise" may refer

<think> The entities are

<think> The retrieved evidence

to actor Tom Cruise or a common noun; context alone is insufficient to determine the entity type.</think>

explicit, so no retrieval is needed. </think>

<output>{"TITLE": ["Inception"],

identifies Tom Cruise as an actor. Therefore, "Cruise" in the query refers to an actor. </think>

<output> {"ACTOR" :["Cruise"]} </output>

<search> Cruise actor </search>

"DIRECTOR": ["Christopher Nolan"] }</output>

(a) Parametric Inference

Instruction: Given the sentence and retrieved evidence in <info>, return the final NER annotations. Input: "Show me movies starring Cruise."<info>Tom Cruise is an American actor...</info>

(b) Retrieval Triggering

(c) Fusion Inference

Figure 3: Illustration of the three supervised tasks in Multi-Task Capability Initialization (MTCI). (a) Parametric Inference performs NER directly from the input context and the model’s parametric knowledge. (b) Retrieval Triggering determines whether external retrieval is necessary and, if needed, generates a query in <search> tags. (c) Fusion Inference integrates retrieved evidence to produce the final NER output while preserving spans from the original input.

block contains an entity-centric rewritten query rather than the original sentence. Since no gold query exists for this task, we evaluate trigger quality indirectly via the downstream fusion pass rate (defined below) and retain trajectories whose retrieved evidence enables reliable fusion. • Fusion Inference (Trag ) trains the model to produce the final NER prediction after retrieved evidence is inserted via <information> tags. Given a query generated by Ttrigger , the retriever returns evidence, and the teacher samples K fusion outputs per training sample. We compute the retrievalaugmented pass rate as K

1 X I(ŷrag,k = y ∗ ), crag (x) = K

L=−

X

λtype

(x,y)∈T

|y| X

log Pθ (yt | y<t , x), (5)

t=1

where λtype denotes the task-specific balancing weight, x is the input context, y is the corresponding target output sequence, and |y| is its length.

(3) 3.2

k=1

where ŷrag,k is the k-th sampled fusion output. The fusion dataset is selected by Drag = {x | crag (x) ≥ τrag }.

knowledge; Ttrigger generates retrieval queries; and Trag performs inference conditioned on retrieved information. The task-specific prompts are provided in Appendix A.4. We jointly optimize over this mixed distribution by minimizing the weighted negative loglikelihood loss:

(4)

Here, τparam , τrag , and τtrigger are task-specific selection thresholds. Beyond data filtering, the pass rates cparam and crag also partition training samples into easy and hard groups, which are used to define the retrieval-benefit reward in Section 3.2. Multi-Task Joint Fine-Tuning. As illustrated in Figure 3, we perform multi-task joint finetuning on the filtered samples to acquire the three capabilities. We consolidate the tasks into T = {Tparam , Ttrigger , Trag } with distinct supervision: Tparam generates answers using internal

End-to-end RL Optimization

MTCI equips the model with the abilities to reason, search, and fuse evidence, but it does not directly optimize the global trade-off between NER accuracy and retrieval cost. We therefore further optimize the initialized policy with rule-based rewards under a unified trajectory-level objective. CoT-Guided Adaptive Retrieval. To enable dynamic selection between parametric and retrievalaugmented reasoning, we design a Chain-ofThought (CoT) guided paradigm that formalizes NER as a "reasoning-then-action" branching process. Given input x, the generation process is: y=

( πθ (y | x, c),

a(c) = direct

πθ (y | x, c, R(q)), a(c) = search

(6)

where c denotes the CoT reasoning fragment, a(c) is the decision action, q is the retrieval query, and R(q) denotes retrieved knowledge. This comprises two steps: • Introspective Planning. The model generates a <think> fragment c to analyze entity ambiguity, domain knowledge needs, and context sufficiency. With insufficient internal knowledge, it generates a <search> tag with a rewrite search query q; otherwise, it proceeds directly to answer generation. • Evidence Fusion. When <search> is triggered, search engine R provides top-k documents R(q). The model fuses input x with R(q) then generates entity predictions y in the <answer> block. Multi-Dimensional Reward. We define a reward function that jointly encourages valid trajectories, accurate entity extraction, and selective retrieval. • Format Reward rfmt ensures that generated trajectories are parsable and verifiable:

RL Algorithm. We optimize the policy using Group Relative Policy Optimization (GRPO). Unlike actor–critic methods, GRPO estimates advantages from a group of sampled trajectories and requires no separate critic network. Since retrieval evidence is externally injected rather than generated by the policy, we follow R1-Searcher++ (Song, 2025) and mask environmental observation tokens when computing policy gradients: ( 1, yt ∈ Agen , Mt = (11) 0, yt ∈ Oenv , where Agen denotes model-generated tokens and Oenv denotes externally retrieved evidence. The masked GRPO objective is  X  G 1 J(θ) = E Li (θ) − βDKL , G

(12)

i=1

|yi |

rfmt (y) = (ωc + ωe ) I[F(y)] − ωe ,

1 X Mt min(ρi,t Âi , ρ̄i,t Âi ), (13) Li (θ) = |yi |

(7)

t=1

where F(y) checks whether tags such as <search> and <answer> are complete and properly paired, and ωc , ωe > 0 are the reward and penalty weights, respectively. • Accuracy Reward racc uses the entity-level Micro-F1 between the prediction y and the gold annotation y ∗ :

where ρ̄i,t = clip(ρi,t , 1 − ϵ, 1 + ϵ), G is the number of sampled trajectories, ρi,t is the importance sampling ratio, Âi is the group-relative advantage, and β is the KL penalty coefficient.

4

Experiments

In this section, we systematically evaluate the proracc (y, y ) = Micro-F1(y, y ). (8) posed NE-R1 framework to address the following research questions: • Retrieval Benefit Reward rbnf encourages re- • RQ1: Does NE-R1 outperform existing models trieval on hard instances while discouraging unon NER benchmarks? necessary or harmful retrieval on easy instances: • RQ2: Does NE-R1 generalize cross-domain in  zero-shot? corr , r  +whard  acc > τ ∧ x ∈ Xhard ,  • RQ3: What is the contribution of each NE-R1  +wcorr , r > τ ∧ x ∈ X , acc easy easy component? rbnf (x, y) = (9) err , r  −whard acc ≤ τ ∧ x ∈ Xhard ,   • RQ4: Does NE-R1 learn effective adaptive re −werr , r ≤ τ ∧ x ∈ X . acc easy easy trieval behavior? ∗

∗

corr > w corr and w err < w err , so that We set whard easy easy hard successful retrieval is rewarded more on hard instances while erroneous retrieval is penalized more on easy instances. The subsets Xhard and Xeasy are determined from the MTCI pass rates. The final reward is

R = α racc + γ rbnf + λ rfmt ,

(10)

where α, γ, and λ control the weights of accuracy, retrieval benefit, and format validity, respectively.

4.1

Setup

Datasets and Metrics. We evaluate our model on standard benchmarks for both in-domain and cross-domain scenarios. For in-domain evaluation, we use OntoNotes 5.0 (Weischedel, 2013), MITMovie (Liu, 2013), MIT-Restaurant (Liu, 2013), and GENIA (Kim, 2003), covering general, shorttext, and specialized domains. For cross-domain evaluation (RQ2), following the standard protocol (Nandi, 2024), models are trained on CoNLL-03

Category Model

MIT-Movie MIT-Rest. OntoNotes

GENIA

Avg.

GPT-4o Llama-3.3-70B Few-shot Qwen3-32B LLMs DeepSeek-R1-MoE GPT-5

61.49 60.76 52.14 63.93 61.23

59.90 53.62 56.47 64.87 66.53

64.29 59.98 46.71 67.81 72.28

44.63 41.91 39.99 53.81 51.22

57.58 54.07 48.83 62.61 62.81

InstructUIE (Wang, 2023) GLiNER-L (Zaratiana, 2024) NER B 2 NER (Yang, 2025) baselines ReasoningNER (Huang, 2026) UniNER-7B (Zhou, 2024)

89.58 87.90 90.78 89.60 90.17

82.59 83.60 83.71 81.40 82.35

88.64 89.80 84.31 89.10 89.91

75.71 78.40 76.43 78.30 77.54

84.13 84.93 83.81 84.60 85.00

Retrieval Standard SFT (No Search) baselines RAG (Always Search)

85.24 85.56

80.68 81.72

83.47 84.38

75.92 77.23

80.83 82.22

87.94 91.05 +0.27

83.46 85.44 +1.73

NE-R1 variants

NE-R1 (MTCI only) NE-R1 (full)

85.12 77.77 83.57 91.89 +1.98 81.70 +3.30 87.52 +2.52

Table 1: In-domain NER results. We report Micro-F1. Bold marks the best result in each column, underlining marks the strongest prior baseline, and the highlighted NE-R1 row additionally reports gains over the strongest prior result.

and evaluated zero-shot on the five CrossNER domains. All results are evaluated using strict entitylevel Micro-F1. Detailed dataset statistics are provided in Appendix A.1.

Baselines. We benchmark NE-R1 against general-purpose LLMs (GPT-4o, GPT-5, Llama3-70B, Qwen3-32B, DeepSeek-R1) and domainspecific NER models (InstructUIE, UniNER, GLiNER, B 2 NER, ReasoningNER) for in-domain evaluation. For cross-domain evaluation, we follow (Nandi, 2024) and adopt their baselines including transfer-based, prompting-based, and retrieval-augmented approaches.

Implementation Details. We use Qwen-2.5-7B as the backbone pre-trained language model, Qwen2.5-32B generates training contents for MTCI. All experiments are conducted on 8×NVIDIA A800 GPUs. In MTCI phase, we set learning rate to 1e-5 and batch size to 16. In RL phase, we set the rollout size to 5 and the learning rate to 1e-6. We employ a low-variance KL penalty (coefficient 1e-3) and a clip coefficient of 0.2. We use multi-source web search engines as external knowledge acquisition channels. For more detailed implementation details, refer to the appendix A.2.

4.2

Main Results (In-Domain Evaluation)

We first evaluate NE-R1 under the standard supervised setting. We compare the model against comparable (7B) and larger (70B+) baselines across four datasets characterized by diverse domain distributions and knowledge dependencies. As shown in Table 1, NE-R1 achieves superior performance on all benchmarks, consistently outperforming both equal-sized and larger models. Specifically, On MIT-Movie and MIT-Restaurant, it leads among 7B models with 91.05 and 85.44 F1 score, on the general-domain OntoNotes 5.0, it attains 91.89 F1 score, surpassing InstructUIE and UniNER-7B by over 2.0 points. On the terminology-dense GENIA, it achieves 81.70 F1 score, a significant 3 point improvement over GLiNER. These results demonstrate the effectiveness of adaptive retrieval across the four evaluated in-domain NER benchmarks. 4.3

Cross-Domain Evaluation

To address RQ2, we train NE-R1 on CoNLL-03 and evaluate it zero-shot on the five CrossNER domains (Table 2). Compared with IF-WRANER, NE-R1 improves Politics, Natural Science, Literature, and AI by 1.55, 0.52, 0.78, and 4.97 F1 points, respectively, but performs 1.92 points lower on Music. It nevertheless achieves the best five-domain average of 78.15, outperforming IF-WRANER by

Model

Politics

Natural Science

Music

Literature

AI

Avg.

BiLSTM-CRF (Lample, 2016) Coach (Liu, 2020) CROSS-DOMAIN LM (Jia, 2019) FLAIR (Akbik, 2019) BARTNER (Liu, 2021) LIGHTNER (Chen, 2022) LST-NER (Zheng, 2022) LANER (Hu, 2022) CP-NER (Chen, 2023)

56.60 61.50 68.44 69.54 69.90 72.78 73.25 74.06 74.25

49.97 52.09 64.31 64.71 65.14 66.74 70.07 71.83 75.82

44.79 51.66 63.56 65.60 65.35 72.28 76.83 78.78 79.10

43.03 48.35 59.59 61.35 58.93 65.17 70.76 71.11 72.17

43.56 45.15 53.70 52.48 53.00 35.82 63.28 65.79 67.95

47.59 51.75 61.92 62.73 62.46 62.56 70.84 72.31 73.86

GPT-NER (Wang, 2025) PromptNER (GPT-3.5) (Ashok, 2023) PromptNER (GPT-4) (Ashok, 2023)

74.71 71.74 78.61

70.77 64.83 72.59

78.30 77.78 84.26

62.18 64.15 74.44

66.07 59.35 64.83

70.41 67.57 74.95

RAG + GPT-4 (sentence embeddings) RAG + GPT-4 (word embeddings) IF-WRANER (Nandi, 2024)

78.20 78.63 79.80

73.52 73.95 75.31

83.61 84.25 85.43

71.32 74.68 75.52

66.91 68.19 68.81

74.71 75.94 76.97

81.35 +1.55

75.83 +0.52

NE-R1 (ours)

83.51 -1.92 76.30 +0.78 73.78 +4.97 78.15 +1.18

Table 2: Zero-shot cross-domain NER results on CrossNER. We report Micro-F1. Bold marks the best result in each column, underlining marks the strongest prior baseline, and the highlighted NE-R1 row reports gains over IF-WRANER, the strongest overall baseline in average F1.

Variant

Movie Res. Onto. Gen.

Avg.

Base model w/o RL w/o MTCI w/o Ttrigger &Trag w/o CoT w/o rbnf NE-R1 (full)

51.50 87.94 71.92 84.77 89.84 88.71 91.05

48.06 83.57 70.49 80.73 86.16 84.61 87.52

56.53 83.46 67.84 80.06 84.73 83.68 85.44

44.24 85.12 74.63 82.76 89.37 86.64 91.89

39.96 77.77 67.58 75.34 80.71 79.39 81.70

Table 3: Ablation study on different datasets. All results are micro-F1 score. Movie, Res., Onto., and Gen. denote MIT Movie, MIT Restaurant, OntoNotes, and GENIA datasets, respectively. “w/o” denotes removing a specific component from our full NE-R1 model.

1.18 F1 points. The largest gain on AI suggests that retrieval is particularly useful for specialized and evolving technical entities. In contrast, the smaller gains on Natural Science and Literature and the decrease on Music indicate that retrieval is less effective for errors involving local context, entity boundaries, aliases, or dataset-specific label distinctions, and may introduce noise for ambiguous entity names. Overall, the benefit of adaptive retrieval varies across domains.

4.4

Ablation Studies

To dissect the efficacy of NE-R1 (RQ3), we performed ablations on training stages, initialization tasks, and core components (Table 3). Training Stage Ablation. w/o MTCI removes the Multi-Task Capability Initialization stage; w/o end-to-end RL removes the RL Optimization stage. Removing MTCI prevents effective query generation and knowledge integration, while removing end-to-end RL causes notable performance drops, confirming both stages are essential. Initialization Task Ablation. w/o Ttrigger and Trag excludes Retrieval Triggering and Fusion Inference from initialization tasks. This causes a 6.8 point drop in F1 score (87.52→80.73), demonstrating that joint training on query generation and information fusion is crucial. Reasoning and Reward Ablation. w/o CoT removes Chain-of-Thought reasoning; w/o rbnf removes Retrieval Benefit Reward. Ablating rbnf proves more detrimental than removing CoT, indicating the benefit-aware reward is central to balancing retrieval costs. 4.5

Analysis of Adaptive Search Behavior

To address RQ4, we analyze the retrieval behavior of NE-R1 from three perspectives: domain-level re-

Rec.

Search Rate

F1

Standard SFT

92.01 91.77 91.89

86.04 84.86 85.44

91.74

90.38 91.05

Score / Rate (%) Score / Rate (%)

80

52.18

40 24.60

30.83

14.25

20

86

5 4

MIT-Restaurant

OntoNotes 5.0

GENIA

MIT-Movie

(a) Domain-wise performance and search behavior of NE-R1.

85.24

3

85.56 2.19x

84 82 80

6

4.85x

88

60

0

Latency

NE-R1

91.05

90

81.90 81.50 81.70

Micro-F1

100

Standard RAG

92

Relative Latency (x) Relative Latency (x)

Prec. 105

2

1.00x

Standard SFT Standard RAG

1 0

NE-R1

(b) Efficiency comparison on MIT-Movie.

Figure 4: Analysis of NE-R1’s adaptive retrieval behavior. (a) NE-R1 calibrates retrieval frequency based on domain knowledge density. (b) NE-R1 achieves the best trade-off between accuracy and inference cost on MIT-Movie.

Training Steps

Training Steps

(a) Reward vs. Search Rate (Easy Samples)

(b) Reward vs. Search Rate (Hard Samples)

Search Rate (%)

Average Reward

Search Rate (%)

Avg. Rewad Search Rate Search Rate (%)

Average Reward

Average Reward

Avg. Rewad Search Rate

Figure 5: Reward and search rate dynamics under different sample difficulties. Note that the blue line represents Average Reward and the red line represents Search Rate.

trieval frequency, the efficiency–performance tradeoff, and training dynamics. Together, these analyses examine whether retrieval decisions vary with knowledge demand rather than following a fixed always-retrieve or never-retrieve policy. Search Behavior Divergence. Figure 4(a) compares retrieval rates across domains with different knowledge requirements. The retrieval rate is 14.25% on OntoNotes 5.0, where many entities can be recognized from local context and parametric knowledge. It increases to 24.60% on MIT-Restaurant and 30.83% on MIT-Movie, whose short queries often contain ambiguous names with limited contextual information. On GENIA, the rate reaches 52.18%, reflecting the greater need for external knowledge when recognizing specialized biomedical terminology. This variation suggests that NE-R1 adjusts its retrieval frequency to the knowledge demands of different domains instead of applying a uniform retrieval policy.

Speed–Quality Trade-off. We compare NE-R1 with Standard SFT and Standard RAG (alwaysretrieve) on MIT-Movie, as shown in Figure 4(b). Standard SFT achieves 85.24 Micro-F1 with a relative latency of 1.00×, whereas Standard RAG achieves only a modest improvement to 85.56 Micro-F1 while increasing latency to 4.85×. In comparison, NE-R1 achieves the highest Micro-F1 score of 91.05 with a relative latency of 2.19×, corresponding to an approximately 55% reduction in inference latency relative to Standard RAG. These results show that adaptive retrieval avoids part of the overhead of indiscriminate retrieval while obtaining more useful external evidence. Reward Evolution. Figure 5 illustrates the evolution of average reward and retrieval rate for easy and hard samples. For easy samples (Figure 5a), the retrieval rate decreases while the reward remains high, indicating that the model increasingly relies on parametric knowledge and avoids unnec-

essary retrieval. For hard samples (Figure 5b), the retrieval rate increases as training progresses, allocating more retrieval to inputs for which external evidence is more likely to be useful. The opposing trends show that training does not simply encourage a globally higher or lower retrieval rate. Instead, they support that NE-R1 learns a difficulty-aware retrieval strategy conditioned on the expected utility of external evidence. 4.6

Retrieval Leakage Audit

NE-R1 does not directly retrieve test answers or benchmark annotations. The model generates entity-centric queries around uncertain mentions only when external knowledge is needed, rather than submitting complete test sentences to search engines. The retrieved content provides entityrelated background knowledge for semantic disambiguation, while predicted entity spans and types remain constrained by the original input and the predefined label set. We conduct an exhaustive leakage audit across all four in-domain benchmarks: MIT-Movie, MITRestaurant, OntoNotes 5.0, and GENIA. Their test sets contain 1,953, 1,521, 8,262, and 1,854 instances, respectively, covering 13,590 test instances in total. For every instance that triggers retrieval, we manually inspect the generated query and all of its top-3 retrieved snippets. The exhaustive audit covers 3,120 retrieval-triggered instances and 9,360 query–snippet pairs in total. We examine whether the retrieved content contains annotation-related terms, BIO tags or other structured NER outputs, gold entity lists, complete test sentences, or links to benchmark pages and annotation files. We find no cases in which retrieval causes test-answer leakage.

5

Conclusion

In this paper, we introduced NE-R1, an adaptive retrieval-augmented framework for NER that implements a “retrieval-on-demand” mechanism. NE-R1 first acquires parametric inference, retrieval triggering, and evidence-fusion capabilities through multi-task instruction tuning, and then jointly optimizes NER predictions and retrieval decisions through end-to-end reinforcement learning. This design allows the model to rely on parametric knowledge for familiar inputs and retrieve external evidence for knowledge-intensive or ambiguous entities.

Across the four evaluated in-domain benchmarks, NE-R1 improves the average F1 score by 2.52 points over the strongest overall baseline. In zero-shot transfer from CoNLL-03 to CrossNER, it improves performance in four of the five domains and achieves the best five-domain average, exceeding the strongest baseline by 1.18 F1 points. Behavioral analysis further shows that retrieval varies across domains and sample difficulties, while on MIT-Movie, NE-R1 reduces inference latency by approximately 55% relative to always-retrieve RAG. Overall, these results demonstrate that NER1 consistently outperforms existing generative and retrieval-augmented NER methods with higher efficiency, while generalizing robustly to unseen entity types.

Limitations First, NE-R1 relies on live, multi-source Web search. The retrieved content and its ranking may change over time because of API updates, indexing changes, and regional variation. Consequently, exact reproduction with live search services cannot be guaranteed, even under the same retrieval configuration. Second, our empirical conclusions are limited to the evaluated English NER benchmarks and the current multi-source Web-search setting. The experiments do not establish that NE-R1 generalizes to other languages, domains, or retrieval backends. Moreover, heterogeneous search engines may return multilingual, conflicting, or uneven-quality evidence, and we do not separately quantify the effects of these factors. Finally, the current framework supports only single-turn retrieval. While iterative retrieval may provide additional evidence for obscure or highly ambiguous entities, it may also introduce additional latency, noise, and error propagation. The main results follow the standard strict entity-level MicroF1 evaluation protocol. Because repeated-run results or test predictions are unavailable for many comparison systems, we cannot conduct a uniform run-level variance or paired significance analysis across all baselines.

References Akbik, A., Bergmann, T., Blythe, D., Rasul, K., Schweter, S., and Vollgraf, R.. 2019. FLAIR: An easy-to-use framework for state-of-the-art NLP. In Proceedings of the 2019 conference of the North

American chapter of the association for computational linguistics (demonstrations), pages 54–59. Ashok, D. and Lipton, Z.. 2023. Promptner: Prompting for named entity recognition. arXiv preprint arXiv:2305.15444. Bogdanov, S., Constantin, A., Bernard, T., Crabbé, B., and Bernard, E.. 2024. Nuner: Entity recognition encoder pre-training via llm-annotated data. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 11829– 11841. Chen, Xiang; Li, Lei; Deng, Shumin; Tan, Chuanqi; Xu, Changliang; Huang, Fei, et al.. 2022. LightNER: A lightweight tuning paradigm for low-resource NER via pluggable prompting. In Proceedings of the 29th international conference on computational linguistics, pages 2374–2387. Chen, Xiang; Li, Lei; Qiao, Shuofei; Zhang, Ningyu; Tan, Chuanqi; Jiang, Yong, et al.. 2023. One model for all domains: collaborative domain-prefix tuning for cross-domain NER. In Proceedings of the ThirtySecond International Joint Conference on Artificial Intelligence, pages 5030–5038. Chen, Z., Shi, L., Wu, W., Zhou, Q., and Zhang, Y.. 2025. ALLabel: Three-stage Active Learning for LLM-based Entity Recognition using Demonstration Retrieval. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 25173–25187. Cocchieri, A., Galindo, M., Frisoni, G., Moro, G., Sartori, C., and Tagliavini, G.. 2025. ZeroNER: Fueling Zero-Shot Named Entity Recognition via Entity Type Descriptions. In Findings of the Association for Computational Linguistics: ACL 2025, pages 15594– 15616. Ding, Z., Wei, W., Qu, X., and Chen, D.. 2024. Improving pseudo labels with global-local denoising framework for cross-lingual named entity recognition. arXiv preprint arXiv:2406.01213. Dong, Qingxiu; Li, Lei; Dai, Damai; Zheng, Ce; Ma, Jingyuan; Li, Rui, et al.. 2024. A Survey on Incontext Learning. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 1107–1128. Fan, Wenqi; Ding, Yujuan; Ning, Liangbo; Wang, Shijie; Li, Hengyun; Yin, Dawei, et al.. 2024. A survey on rag meeting llms: Towards retrieval-augmented large language models. In Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining, pages 6491–6501. Feng, Zhaopeng; Cao, Shaosheng; Ren, Jiahan; Su, Jiayuan; Chen, Ruizhe; Zhang, Yan, et al.. 2025. Mt-r1-zero: Advancing llm-based machine translation via r1-zero-like reinforcement learning. arXiv preprint arXiv:2504.10160.

Gao, L., Ma, X., Lin, J., and Callan, J.. 2023. Precise zero-shot dense retrieval without relevance labels. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1762–1777. Gao, Yunfan; Xiong, Yun; Gao, Xinyu; Jia, Kangxiang; Pan, Jinliu; Bi, Yuxi, et al.. 2023. RetrievalAugmented Generation for Large Language Models: A Survey. arXiv preprint arXiv:2312.10997. Gonen, H., Iyer, S., Blevins, T., Smith, N., and Zettlemoyer, L.. 2023. Demystifying prompts in language models via perplexity estimation. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 10136–10148. Guo, Q., Dong, Y., Tian, L., Kang, Z., Zhang, Y., and Wang, S.. 2025. BANER: Boundary-aware LLMs for few-shot named entity recognition. In Proceedings of the 31st International Conference on Computational Linguistics, pages 10375–10389. Guo, Daya; Yang, Dejian; Zhang, Haowei; Song, Junxiao; Wang, Peiyi; Zhu, Qihao, et al.. 2025. DeepSeekR1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645:633–638. He, Minggui; Liu, Yilun; Tao, Shimin; Luo, Yuanchang; Zeng, Hongyong; Su, Chang, et al.. 2025. R1-T1: Fully Incentivizing Translation Capability in LLMs via Reasoning Learning. Hu, J., Zhao, H., Guo, D., Wan, X., and Chang, T.. 2022. A label-aware autoregressive framework for cross-domain NER. In Findings of the Association for Computational Linguistics: NAACL 2022, pages 2222–2232. Hu, J.. 2025. Reinforce++: A simple and efficient approach for aligning large language models. arXiv e-prints. Huang, L., Liu, H., Gao, Q., Yu, J., Liu, G., and Chen, X.. 2025. Adversity-aware few-shot named entity recognition via augmentation learning. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 24132–24140. Huang, S., Xu, B., Yu, Y., Li, C., and Lin, X.. 2025. Guidener: Annotation guidelines are better than examples for in-context named entity recognition. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 24159–24166. Huang, H., Chen, Y., Huang, R., Lin, C., and Qin, Y.. 2026. A reasoning paradigm for named entity recognition. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 31140–31148. Jeong, S., Baek, J., Cho, S., Hwang, S., and Park, J.. 2024. Adaptive-RAG: Learning to Adapt RetrievalAugmented Large Language Models through Question Complexity. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 7036–7050.

Jia, C., Liang, X., and Zhang, Y.. 2019. Cross-domain NER using cross-domain language modeling. In Proceedings of the 57th annual meeting of the association for computational linguistics, pages 2464–2474. Kang, K., Wallace, E., Tomlin, C., Kumar, A., and Levine, S.. 2025. Unfamiliar finetuning examples control how language models hallucinate. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 3600–3612. Kim, J., Ohta, T., Tateisi, Y., and Tsujii, J.. 2003. GENIA corpus—a semantically annotated corpus for bio-textmining. Bioinformatics, 19:i180–i182. Lample, G., Ballesteros, M., Subramanian, S., Kawakami, K., and Dyer, C.. 2016. Neural architectures for named entity recognition. In Proceedings of the 2016 conference of the North American chapter of the association for computational linguistics: human language technologies, pages 260–270. Li, Y., Deng, S., Shen, D., Tian, S., and Long, S.. 2024. WkNER: Enhancing named entity recognition with word segmentation constraints and kNN retrieval. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 17651–17663. Liu, J., Pasupat, P., Cyphers, S., and Glass, J.. 2013. Asgard: A portable architecture for multilingual dialogue systems. In 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, pages 8386–8390.

association for computational linguistics (volume 1: long papers), pages 5755–5772. Lu, J., Yang, Z., Wang, Y., Liu, X., Mac Namee, B., and Huang, C.. 2024. PaDeLLM-NER: parallel decoding in large language models for named entity recognition. Advances in neural information processing systems, 37:117853–117880. Ma, X. and Hovy, E.H.. 2016. End-to-end sequence labeling via bi-directional lstm-cnns-crf. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1064–1074. Nandi, S. and Agrawal, N.. 2024. Improving few-shot cross-domain named entity recognition by instruction tuning a word-embedding based retrieval augmented large language model. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, pages 686–696. Ouyang, Long; Wu, Jeffrey; Jiang, Xu; Almeida, Diogo; Wainwright, Carroll; Mishkin, Pamela, et al.. 2022. Training Language Models to Follow Instructions with Human Feedback. In Advances in Neural Information Processing Systems, pages 27730–27744. Peng, Boci; Zhu, Yun; Liu, Yongchao; Bo, Xiaohe; Shi, Haizhou; Hong, Chuntao, et al.. 2025. Graph retrieval-augmented generation: A survey. ACM Transactions on Information Systems, 44:1–52. Unknown. 2025. Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQL.

Liu, Z., Winata, G., Xu, P., and Fung, P.. 2020. Coach: A coarse-to-fine approach for cross-domain slot filling. In Proceedings of the 58th annual meeting of the association for computational linguistics, pages 19–25.

Rafailov, R., Sharma, A., Mitchell, E., Manning, C., Ermon, S., and Finn, C.. 2023. Direct preference optimization: Your language model is secretly a reward model. Advances in neural information processing systems, 36:53728–53741.

Liu, Zihan; Xu, Yan; Yu, Tiezheng; Dai, Wenliang; Ji, Ziwei; Cahyawijaya, Samuel, et al.. 2021. Crossner: Evaluating cross-domain named entity recognition. In Proceedings of the AAAI conference on artificial intelligence, pages 13452–13460.

Ram, Ori; Levine, Yoav; Dalmedigos, Itay; Muhlgay, Dor; Shashua, Amnon; Leyton-Brown, Kevin, et al.. 2023. In-context retrieval-augmented language models. Transactions of the Association for Computational Linguistics, 11:1316–1331.

Liu, P., Yuan, W., Fu, J., Jiang, Z., Hayashi, H., and Neubig, G.. 2023. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM computing surveys, 55:1– 35. Liu, S., Shang, Y., and Zhang, X.. 2026. Truthfulrag: Resolving factual-level conflicts in retrievalaugmented generation with knowledge graphs. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 32168–32176. Lu, Yaojie; Liu, Qing; Dai, Dai; Xiao, Xinyan; Lin, Hongyu; Han, Xianpei, et al.. 2022. Unified structure generation for universal information extraction. In Proceedings of the 60th annual meeting of the

Sainz, O., García-Ferrero, I., Agerri, R., Lacalle, O., Rigau, G., and Agirre, E.. 2024. Gollie: Annotation guidelines improve zero-shot information-extraction. In International Conference on Learning Representations, pages 47083–47107. Sang, E. and De Meulder, F.. 2003. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the seventh conference on Natural language learning at HLT-NAACL 2003, pages 142–147. Schulman, J., Wolski, F., Dhariwal, P., Radford, A., and Klimov, O.. 2017. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347.

Seow, W., Chaturvedi, I., Hogarth, A., Mao, R., and Cambria, E.. 2025. A review of named entity recognition: from learning methods to modelling paradigms and tasks. Artificial Intelligence Review, 58:315. Shao, Z., Gong, Y., Shen, Y., Huang, M., Duan, N., and Chen, W.. 2023. Enhancing retrievalaugmented large language models with iterative retrieval-generation synergy. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 9248–9274. Song, Huatong; Jiang, Jinhao; Tian, Wenqing; Chen, Zhipeng; Wu, Yuhuan; Zhao, Jiahao, et al.. 2025. R1searcher++: Incentivizing the dynamic knowledge acquisition of llms via reinforcement learning. arXiv preprint arXiv:2505.17005. Tan, Zeqi; Huang, Shen; Jia, Zixia; Cai, Jiong; Li, Yinghui; Lu, Weiming, et al.. 2023. DAMO-NLP at SemEval-2023 Task 2: A Unified RetrievalAugmented System for Multilingual Named Entity Recognition. In Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval2023), pages 2014–2028. Tong, Z., Ding, Z., and Wei, W.. 2025. Evoprompt: Evolving prompts for enhanced zero-shot named entity recognition with large language models. In Proceedings of the 31st international conference on computational linguistics, pages 5136–5153. Trivedi, H., Balasubramanian, N., Khot, T., and Sabharwal, A.. 2023. Interleaving retrieval with chain-ofthought reasoning for knowledge-intensive multi-step questions. In Proceedings of the 61st annual meeting of the association for computational linguistics (volume 1: long papers), pages 10014–10037. Wang, Xiao; Zhou, Weikang; Zu, Can; Xia, Han; Chen, Tianze; Zhang, Yuansen, et al.. 2023. InstructUIE: Multi-task Instruction Tuning for Unified Information Extraction. Wang, Shuhe; Sun, Xiaofei; Li, Xiaoya; Ouyang, Rongbin; Wu, Fei; Zhang, Tianwei, et al.. 2025. Gpt-ner: Named entity recognition via large language models. In Findings of the association for computational linguistics: NAACL 2025, pages 4257–4275. Wang, Z., Chen, H., Xu, G., and Ren, M.. 2025. A novel large-language-model-driven framework for named entity recognition. Information Processing & Management, 62:104054. Weischedel, Ralph; Palmer, Martha; Marcus, Mitchell; Hovy, Eduard; Pradhan, Sameer; Ramshaw, Lance, et al.. 2013. OntoNotes Release 5.0 LDC2013T19. Web Download. Philadelphia: Linguistic Data Consortium. Xie, T., Li, Q., Zhang, J., Zhang, Y., Liu, Z., and Wang, H.. 2023. Empirical study of zero-shot NER with ChatGPT. In Proceedings of the 2023 conference on empirical methods in natural language processing, pages 7935–7956.

Xie, T., Li, Q., Zhang, Y., Liu, Z., and Wang, H.. 2024. Self-improving for zero-shot named entity recognition with large language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers), pages 583–593. Yan, S., Gu, J., Zhu, Y., and Ling, Z.. 2024. Corrective Retrieval Augmented Generation. arXiv preprint arXiv:2401.15884. Yang, Yuming; Zhao, Wantong; Huang, Caishuang; Ye, Junjie; Wang, Xiao; Zheng, Huiyuan, et al.. 2025. Beyond Boundaries: Learning a Universal Entity Taxonomy across Datasets and Languages for Open Named Entity Recognition. In Proceedings of the 31st International Conference on Computational Linguistics, pages 10902–10923. Zaratiana, U., Tomeh, N., Holat, P., and Charnois, T.. 2024. GLiNER: Generalist model for named entity recognition using bidirectional transformer. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 5364–5376. Zhao, Penghao; Zhang, Hailin; Yu, Qinhan; Wang, Zhengren; Geng, Yunteng; Fu, Fangcheng, et al.. 2026. Retrieval-augmented generation for aigenerated content: A survey. Data Science and Engineering. Zheng, J., Chen, H., and Ma, Q.. 2022. Cross-domain named entity recognition via graph matching. In Findings of the Association for Computational Linguistics: ACL 2022, pages 2670–2680. Zheng, Yuxiang; Fu, Dayuan; Hu, Xiangkun; Cai, Xiaojie; Ye, Lyumanshan; Lu, Pengrui, et al.. 2025. Deepresearcher: Scaling deep research via reinforcement learning in real-world environments. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 414–431. Zhenwei, DAI; Luo, Chen; Li, Zhen; Tang, Xianfeng; Lu, Hanqing; Goutam, Rahul, et al.. 2024. RA-NER: Retrieval augmented NER for knowledge intensive named entity recognition. In The Second Tiny Papers Track at ICLR 2024. Zhou, W., Zhang, S., Gu, Y., Chen, M., and Poon, H.. 2024. Universalner: Targeted distillation from large language models for open named entity recognition. In International conference on learning representations, pages 12276–12294.

A

Appendix

A.1

Dataset Statistics

Table 4 presents the detailed statistics of the datasets used in our experiments, including the number of sentences in train/dev/test splits, the number of entity types, the average token length, and the average number of entities per sentence. In-Domain Datasets. We utilize a diverse set of benchmarks to assess generalizability across different data distributions: • Standard & General Domain: CoNLL-03 (Sang, 2003) and Ontonotes 5.0 (Weischedel, 2013) represent standard news and general text domains. Ontonotes 5.0 is the largest dataset in our evaluation, containing over 59k training samples with 18 fine-grained entity types. • Specialized Domain: GENIA (Kim, 2003) focuses on the biomedical domain. As shown in Table 4, it exhibits a high density of entities (Avg. entities = 3.5), reflecting the knowledgeintensive nature of scientific texts. • Short-Text Domain: MIT-Movie and MITRestaurant (Liu, 2013) consist of informal user queries. These datasets have significantly shorter sentence lengths (Avg. tokens ≈ 9–11) compared to standard news corpora, posing challenges for context-dependent entity recognition. Cross-Domain Datasets. For the cross-domain evaluation scenarios (trained on CoNLL-03), we employ the CrossNER benchmark (Liu, 2021). This dataset encompasses five distinct domains: AI, Literature, Music, Politics, and Science. While our main experiment primarily follows a zero-shot setting, Table 4 lists the standard data splits provided by the benchmark, which are typically used for low-resource or few-shot adaptation studies. A.2

Implementation Details

Hyperparameters. In Table 5, we present detailed values of hyperparameters used in our study, categorized into the Multi-Task Capability Initialization (MTCI) phase and the Reinforcement Learning (RL) phase. All experiments were conducted on 8 NVIDIA A800 GPUs using Qwen-2.57B as the backbone model.

In the SFT phase, we utilized the AdamW optimizer with a learning rate of 1e-5 and a cosine learning rate scheduler. The training was conducted for 5 epochs with a warmup ratio of 0.1. We set the per-device batch size to 16 with gradient accumulation steps set to 1, and enabled bfloat16 precision to optimize memory usage. In the RL phase, the model was further optimized using Group Relative Policy Optimization (GRPO), without introducing a critic network. We lowered the learning rate to 1e-6 with a constant scheduler and a 1% warmup phase. The training spanned 500 steps with a data collection batch size of 512, and GRPO policy updates were performed on mini-batches of size 256. The clipping ratio was set to 0.2, and we incorporated a KL divergence penalty with a coefficient of 0.001, utilizing a low-variance estimator (low_var_kl). Regarding model configuration, we limited the maximum prompt length to 4096 tokens and the response length to 500 tokens, supporting up to 2 interaction turns. During the rollout phase, we set the sampling temperature to 0.95 and generated 5 candidate responses per prompt (N=5). For retrievalaugmented generation, the top-3 relevant documents were retrieved. Some implementation frameworks retain generic policy-optimization parameter names such as mini-batch or clip-ratio settings; in our experiments, the actual advantage estimator is GRPO. Search Engines. In the implementation of the retrieval module, we utilize multi-source web search engines (as shown in the table 6) as the external knowledge acquisition channels, and dynamically incorporate the retrieval results into the reasoning process of the model through a unified search interface. A.3

Supplementary Experiments and Analyses

Matched-rate random trigger baseline. To further isolate the effect of the learned retrieval policy, we compare NE-R1 with random retrieval policies under different fixed search rates. As shown in Table 7, random triggering improves over naive retrieval decisions in some settings, but remains consistently inferior to the adaptive policy of NER1. This confirms that NE-R1 does not merely benefit from using a certain retrieval budget; instead, its learned trigger policy better identifies when external evidence is needed.

Dataset

# train

# dev

# test

# types

Avg. tokens

Avg. entities

Ontonotes(Weischedel, 2013) GENIA(Kim, 2003) MIT-Movie(Liu, 2013) MIT-Restaurant(Liu, 2013) CoNLL-03(Sang, 2003)

59924 15023 6816 7660 14041

8528 1669 1000 1000 3250

8262 1854 1953 1521 3453

18 5 12 8 3

18 43 11 9 25

0.9 3.5 2.0 1.7 1.9

CrossNER AI(Liu, 2021) CrossNER Literature(Liu, 2021) CrossNER Music(Liu, 2021) CrossNER Politics(Liu, 2021) CrossNER Science(Liu, 2021)

100 100 100 199 200

350 400 380 540 450

431 416 465 650 543

13 11 12 8 16

52 54 57 61 54

5.3 5.4 6.5 6.5 5.4

Table 4: Dataset statistics. Hyperparameter MTCI Phase Learning Rate LR Scheduler Warmup Ratio Num Epochs Per-Device Batch Size Gradient Accumulation RL Phase Optimizer Learning Rate Warmup Ratio Total Steps Data Collection Batch Size Clip Ratio KL Coefficient KL Type Rollout & Generation Max Prompt Length Max Response Length Max Turns Temperature Rollout Samples (N ) Retriever Top-k

Value 1e-5 Cosine 0.1 5 16 1 AdamW 1e-6 0.01 500 512 0.2 0.001 low_var_kl 4096 500 2 0.95 5 3

Table 5: Detailed hyperparameter configuration for both MTCI and RL phases. Search Engine

URL

Baidu Search Google Search Bing Search Wikipedia

https://www.baidu.com https://www.google.com https://www.bing.com https://www.wikipedia.org

Table 6: Search engines used in the retrieval module. All search engines are accessed through a unified retrieval interface.

Discussion on retrieval leakage risk. A potential concern for retrieval-augmented evaluation on public NER benchmarks is that a search engine may return benchmark annotations or otherwise create an “open-book” setting. NE-R1 mitigates

this risk in three ways. First, the emitted query is not the original test sentence; it is an entity-centric rewritten query produced inside the <search> tag, such as a request for background information about an ambiguous mention. Second, the retrieved content is inserted as natural-language evidence through <information> tags and does not provide BIO labels or dataset-specific NER annotations. Third, the always-retrieve baseline does not dominate NE-R1, suggesting that merely increasing retrieval exposure is insufficient; the benefit comes from deciding when the external evidence is useful. The zero-shot cross-domain evaluation further supports that the model relies on transferable retrieval and reasoning behavior rather than memorizing benchmark-specific labels. A.4

MIT-Movie Prompt Templates

This section presents the prompt templates used in our MTCI and evaluation pipelines, using MITMovie as a representative example. The same prompting scheme is applied to other datasets by adapting the task description and entity label set accordingly. Specifically, the task prompts for parametric inference, retrieval triggering, and fusion inference, together with the evaluation-time adaptive retrieval prompt, are shown in figures 6, 7, 8, and 9, respectively. Parametric inference prompt. This prompt initializes direct NER extraction without retrieval. The examples emphasize preserving the original span text and returning a compact JSON annotation. Retrieval triggering prompt. This prompt teaches the model to separate clear cases from am-

Method NE-R1 + Random NE-R1 + Random NE-R1 + Random NE-R1 (Adaptive)

Search Rate

MIT-Movie

MIT-Rest.

OntoNotes

GENIA

Avg.

20% 35% 50% 14–52%

88.73 89.61 88.12 91.05

84.51 84.19 83.44 85.44

88.76 87.83 86.71 91.89

78.94 79.87 80.63 81.70

85.24 85.38 84.73 87.52

Table 7: Comparison between random retrieval triggering and NE-R1’s adaptive retrieval policy. Random triggering uses fixed retrieval rates, while NE-R1 adaptively adjusts its search rate across datasets according to input difficulty and domain knowledge requirements. All results are Micro-F1 scores.

MIT-Movie Task 1: Parametric Inference (Tparam ) You are a senior NER expert. Please extract entity spans from the given query. Entity Categories: ACTOR: real-world actors’ names; CHARACTER: movie characters; DIRECTOR: film directors’ names; GENRE: movie genres, such as action, comedy, horror, mystery, and 3D; PLOT: storyline phrases, such as vampires, ghosts, war, or explosions; RATING: age-rating labels; RATINGS_AVERAGE: scores, star ratings, or recommendation levels; REVIEW: subjective review terms; SONG: song titles; TITLE: official movie titles; TRAILER: trailer or preview mentions; YEAR: years or time expressions related to movies. Output Rules: (1) Extract entity spans according to context and keep the original surface text. (2) Return a JSON string whose keys are entity categories and whose values are span lists. (3) Omit empty categories. Examples: Query: on what film did brandon lee last seen Output: {"ACTOR": ["brandon lee"]} Query: where did george clooney film the ides of march Output: {"ACTOR": ["george clooney"], "TITLE": ["the ides of march"]} Query: is there a mystery movie featuring a f silver Output: {"GENRE": ["mystery"], "DIRECTOR": ["a f silver"]} Query: list the sandlot movies Output: {"TITLE": ["sandlot"]} Start: Query: what movie has the shortest trailer Output:

Figure 6: MIT-Movie prompt for the parametric inference task. This task trains the model to perform NER directly without external retrieval.

biguous or knowledge-intensive ones, producing a search query only when external evidence is likely to help. Fusion inference prompt. This prompt trains evidence-aware extraction. It explicitly instructs the model to use retrieved snippets for disambiguation while keeping final entity spans grounded in the original query. Evaluation prompt. The evaluation prompt unifies the direct and retrieval-augmented paths. The model may search when necessary, but the final answer must always be a valid JSON annotation inside the answer tag. A.5

Case Study

Successful adaptive retrieval behavior. Figure 10 visualizes the inference paths of NE-R1 across varying sample difficulties, demonstrating its capability for uncertainty-driven on-demand retrieval. In the ambiguous Case 1, the span "Crash" is polysemous (common noun vs. movie title). Recognizing that context alone is insufficient, the model flags uncertainty and triggers retrieval to re-

solve the ambiguity, correctly identifying it as a Title. Conversely, in the confident Case 2 ("Steven Spielberg"), the model detects a clear intent pattern and performs direct prediction without retrieval overhead. This comparison indicates that retrieval decisions are driven by introspective judgment rather than heuristics: the model seeks external knowledge only when internal evidence is lacking, bypassing retrieval for simple cases to balance efficiency and accuracy. This validates that NE-R1 has effectively learned an intuitive "retrieval-ondemand" strategy. The corresponding visualized trajectories are shown in Figure 10. False-positive and false-negative retrieval cases. Beyond successful examples, we also inspect failure modes of the learned retrieval policy. Figure 11 reports one false-positive retrieval case, where the model retrieves despite sufficient local evidence, and one false-negative case, where the model fails to retrieve for an ambiguous or knowledge-intensive mention. These cases clarify the remaining limitations of on-demand retrieval.

MIT-Movie Task 2: Retrieval Triggering (Ttrigger ) You are a senior NER expert. Determine whether search is necessary before MIT-Movie NER. Search Rules: (1) Search when the context cannot determine whether a span belongs to an entity category. (2) Search when a mention is ambiguous, e.g., it may refer to an actor, director, character, common noun, or movie title. (3) Do not search when the intent and entity type are clear from context. Examples: Query: matrix Thought: “matrix” may be a movie title; search can verify it. Search Query: matrix movie Query: 3d Thought: In the movie domain, “3d” clearly refers to a genre or format; no search is needed. Search Query: Query: what is brave about Thought: “Brave” may be a movie title; search can verify it. Search Query: Brave movie Query: did ray liotta direct any films Thought: The mention is clearly a person name; no search is needed for NER. Search Query: Output Format: <think>...</think>; <thought>...</thought>; <search_q>...</search_q>. Start: Query: what movies star bruce willis Thought:

Figure 7: MIT-Movie prompt for the retrieval triggering task. This task initializes the model to reason about retrieval necessity and generate search queries.

MIT-Movie Task 3: Fusion Inference (Trag ) You are a senior NER expert. Please extract entity spans from the given MIT-Movie query. Search results are provided as external evidence; use them to resolve ambiguous names, long-tail movie titles, actors, directors, characters, and other knowledge-intensive mentions. Do not copy irrelevant evidence into the answer. Entity Categories: ACTOR: real-world actors’ names; CHARACTER: movie characters; DIRECTOR: film directors’ names; GENRE: movie genres; PLOT: storyline phrases; RATING: age-rating labels; RATINGS_AVERAGE: scores, star ratings, or recommendation levels; REVIEW: subjective review terms; SONG: song titles; TITLE: official movie titles; TRAILER: trailer or preview mentions; YEAR: years or time expressions related to movies. Output Rules: (1) Extract spans from the original query and keep their original surface form. (2) Return a JSON string whose keys are entity categories and whose values are span lists. (3) Omit empty categories. (4) Use retrieved evidence only to determine the entity type; the final span must come from the query rather than the retrieved snippets. Retrieved Evidence: WebSearch(key="Harold Ramis actor Bill Murray actor"): 1. Harold Ramis is a director, actor, and writer. Representative works include Groundhog Day. 2. Bill Murray is an actor and comedian. Representative works include Groundhog Day and Ghostbusters. 3. Groundhog Day cast information lists Harold Ramis and Bill Murray. Start Annotating: Query: find me all of the movies that starred harold ramis and bill murray Output: {"ACTOR": ["harold ramis", "bill murray"]}

Figure 8: MIT-Movie prompt for the fusion inference task. Retrieved evidence is provided to help the model resolve ambiguous or knowledge-intensive mentions before producing the final NER output.

MIT-Movie Evaluation Prompt with Adaptive Retrieval You are a senior NER expert. Please extract entity spans from the given MIT-Movie query. You may either answer directly or call a search engine when external knowledge is needed. Entity Categories: ACTOR: real-world actors’ names; CHARACTER: characters in movies; DIRECTOR: film directors’ names; GENRE: movie genres, such as action, comedy, horror, and 3D; PLOT: phrases describing the storyline, such as vampires, ghosts, love at first sight, war, or explosions; RATING: age-rating labels, e.g., pg 13 or nc 17; RATINGS_AVERAGE: scores, star ratings, or recommendation levels; REVIEW: subjective review terms; SONG: song titles; TITLE: official movie titles; TRAILER: trailer or preview mentions; YEAR: years or time expressions related to movies. Extraction Rules: (1) Extract spans based on query context and keep the original text. (2) Return a JSON string whose keys are entity categories and whose values are span lists. (3) Omit empty categories. (4) If search is used, use retrieved information only as evidence for disambiguation; do not output entities that do not appear in the query. Search Rules: Call search when the context cannot determine whether a span belongs to one of the entity categories, or when a mention is ambiguous, such as a name that may refer to an actor, director, character, common noun, or movie title. Do not search if the query semantics are already clear. Output Format: Need to search: <search>search query</search> <information>search info...</information> <answer>final answer</answer>. No need to search: <answer>final answer</answer>. The final answer must be valid JSON inside the answer tag. Start Annotating: Query: {user_input}

Figure 9: MIT-Movie evaluation prompt with adaptive retrieval. The model either triggers search and fuses retrieved information, or directly returns the final NER answer.

Case 1: Ambiguity Resolution (Hard Sample) Input : “I am looking for information about Crash.” Model Inference: • <think> : The span “Crash” is ambiguous. It can refer to a common noun (accident) or a movie title... the type (TITLE vs non-entity) is unclear. Context alone is insufficient.</think> [Decision:SEARCH] • <search>Crash movie information</search> • <information>Search results show that “Crash” is a well-known movie title, including: Crash (1996), directed by David Cronenberg Output : <answer>(Crash, TITLE)</answer> Case 2 : Confident Prediction (Easy Sample) Input : “find movies directed by steven spielberg” Model Inference: • <think> : The query follows a standard movie search intent pattern. “steven spielberg” matches a director name commonly annotated in the dataset.</think> [Decision:DIRECT] Output : <answer>(steven spielberg, DIRECT)</answer>

Figure 10: Different handling strategies for simple samples and difficult samples in NE-R1

False Positive Retrieval: unnecessary search on an easy instance Input: “find action movies with a lot of explosions” Model trajectory: <think> The query mentions “explosions”, which might refer to specific movie titles. External information may help identify relevant titles. </think> [Decision: SEARCH] <search>explosion action movies</search> Retrieved information: “Top action movies featuring explosions: Die Hard, Speed, Mission Impossible...” Prediction: {"Genre": ["action"], "Plot": ["explosions"]} Ground truth: {"Genre": ["action"], "Plot": ["explosions"]} Analysis: The retrieved results introduce many concrete movie titles, but the input only requires recognizing the genre and plot description. Retrieval is therefore redundant and may introduce noise, although it does not change the final prediction in this case. False Negative Retrieval: missed search on a hard instance Input: “I want to watch something like primer ” Model trajectory: <think> The word “primer” could refer to a common noun, such as a basic guide. The context is insufficient to confirm it as a movie title. </think> [Decision: DIRECT] Prediction: misses the title entity “primer”. Ground truth: {"Title": ["primer"]} Analysis: “Primer” is a long-tail entity referring to a 2004 low-budget independent science-fiction film. Since the model’s parametric knowledge is insufficient to confidently identify it as a movie title, retrieval should have been triggered. The missed search leads to an entity-type recognition error.

Figure 11: Representative false-positive and false-negative retrieval cases on MIT-Movie. The false-positive case shows redundant retrieval on an easy query, while the false-negative case shows a missed retrieval opportunity for a long-tail movie title.

Related documents

Record · ID 632891 · SHA-256 cebc6b18d1825de9
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive