Eliciting Zero-Shot Named Entity Recognition in Large Language Models via Instruction Semantic Elaboration

Kaiyin Zhou, Song Zhiyi, Xiangling Fu, Chenwei Yan, Xinxin You, Shaohui Liu, Ji Wu, Xien LiuNeurIPS 2026

TL;DR

Large Language Models (LLMs) often stumble at zero-shot Named Entity Recognition (NER), not because they lack the knowledge, but because generic prompts fail to draw clear conceptual boundaries in the model's latent space. Inspired by how humans learn complex concepts, the authors introduce Instruction Semantic Elaboration (ISE)—an annotation-free framework that automatically rewrites prompts by contrasting confusing terms, breaking down subtypes, and adding examples. Without a single human-labeled training sample, ISE boosts extraction accuracy by over 11% F1 across specialized domains.

What Problem Does This Paper Address?

Named Entity Recognition (NER)—spotting specific concepts like proteins, genes, or movie titles in raw text—is foundational to information extraction. While fine-tuning LLMs on massive labeled datasets works well, we often want zero-shot NER: handing an LLM a new task on the fly without expensive human annotations.

Surprisingly, off-the-shelf LLMs struggle here due to extreme prompt sensitivity. In an LLM's internal representation, related concepts (like a gene vs. the protein it encodes) cluster tightly together. Handing the model a textbook definition of a "protein" leaves the semantic boundaries blurry, causing extraction errors. Existing automated prompt-tuning methods try to fix this, but usually from a single angle (like just swapping out examples), leaving a lot of the LLM's latent capability untapped.

Figure 1: Illustration of instruction impact in activating LLMs’ latent NER capabilities. In the latent space, related concepts cluster together. Left: Generic instruction with ambiguous boundaries fail to elicit NER capabilities. Right: Detailed instruction with clear boundaries elicit NER capabilities.

Methods

Cognitive science tells us humans don't master nuanced concepts from dictionary definitions alone; we use semantic elaboration—comparing similar ideas, breaking them into parts, and looking at examples. ISE mimics this using three LLM-based "experts" to optimize instructions over an unlabeled text corpus:

  • Contrast Expert: Sharpens boundaries by explicitly distinguishing the target entity from confusable concepts.
  • Decomposition Expert: Broadens coverage by breaking high-level tags into fine-grained subtypes.
  • Instantiation Expert: Grounds abstract rules with concrete text examples.

Because there are no gold-standard labels to grade these prompts, the authors devise a co-evolutionary algorithm inspired by Expectation-Maximization (EM):

  1. E-Step (Consensus Pseudo-Labeling): All three experts (plus a Fusion Expert combining their prompts) extract entities from unlabeled text. Majority voting creates a set of reliable "pseudo-labels."
  2. M-Step (Error-Driven Evolution): Each expert compares its predictions against the pseudo-labels to rewrite its own prompt. False positives trigger the Contrast Expert to tighten boundaries; false negatives prompt the Decomposition Expert to add missing subtypes; both error types help the Instantiation Expert pick better examples.

To keep unconstrained self-updating from spiraling into gibberish ("semantic drift"), a Relaxed Monotonicity Constraint (RMC) acts as a guardrail: a new prompt is only accepted if its pseudo-label F1 score doesn't drop by more than a small margin ($\delta$). At test time, the final evolved prompts are concatenated into one unified instruction for fast, single-pass inference.

Figure 2: Overview of the ISE framework. Left: Learning phase based on a co-evolutionary algorithm. Right: Inference phase powered by the multi-expert instructions generated post-evolution.

Datasets

No new datasets were introduced. Following a zero-shot transductive setup (learning solely from unlabeled test text), the authors evaluate on 200-sample subsets of four existing benchmarks:

  • Domain-specific: GENIA (biomedical) and AI (artificial intelligence).
  • Ambiguous real-world: Restaurant and Movie reviews.

Key Insights and Ideas

  • Controlled exploration beats strict greediness: If you force prompts to strictly improve at every step ($\delta = 0$), optimization gets trapped in local optima. Allowing a slight temporary dip ($\delta \in [0.2, 0.4]$) lets the model explore better phrasing without suffering semantic collapse.
  • Bad starting prompts don't matter: Whether initialized with bare entity names, LLM-generated summaries, or official human guidelines—which initially vary by up to 17 F1 points on GENIA—ISE's co-evolution converges to nearly the exact same high performance.
  • Errors are repetitive, making optimization data-efficient: Using just 20%–30% of the unlabeled corpus captures almost all the gains of using 100%, because an LLM tends to make the same systematic conceptual mistakes repeatedly.

Key Results

Tested across Qwen2.5-32B, Gemma3-27B, and GPT-3.5-turbo:

  • Quantitative: ISE achieves average F1 scores of 63.40% (Qwen2.5), 60.18% (Gemma3), and 65.63% (GPT-3.5). Overall, it beats standard label-description prompts by 11.12 F1 points and outperforms the strongest self-improving baseline (EvoPrompt) by 6.92 F1 points. It also easily clears specialized non-LLM zero-shot models like GLiNER-large (44.13% average F1).
  • Qualitative: On GENIA, initial prompts falsely tagged "antisense oligonucleotide" as a protein and missed antibody components. Post-evolution, explicit DNA-vs-protein contrast rules and richer protein subtype lists fixed both boundary and recall errors.

Limitations and Future Work

  • Parametric knowledge ceiling: Prompt optimization can only unlock what the LLM already knows. Ultra-niche domains may still require external Retrieval-Augmented Generation (RAG).
  • Optimization overhead: Running four experts iteratively over a corpus consumes extra tokens and adds latency during the learning phase (though final test inference remains a single pass).
  • Imperfect drift protection: RMC is a soft guardrail. If a base LLM harbors massive systematic biases in a specialized domain, consensus pseudo-labels will reflect that bias, and semantic drift can still creep in.

Summary updated

Abstract

Large language models (LLMs) have achieved notable success in information extraction, yet their zero-shot named entity recognition (NER) performance remains unsatisfactory. We argue that this limitation stems not from intrinsic defects within the models, but rather from the failure of existing instruction paradigms to effectively elicit their latent capabilities. Drawing inspiration from cognitive science, we propose an instruction optimization framework termed Instruction Semantic Elaboration (ISE), which effectively elicits models' latent NER capabilities by mimicking the semantic elaboration process—specifically by contrasting related concepts, decomposing constituent elements, and illustrating with concrete examples. We evaluate ISE under a zero-shot setting across four domain-specific datasets, where it achieves an 11.12\% F1 improvement over initial instructions and outperforms strong baselines by 6.92\%. Furthermore, the framework generalizes well across model architectures and parameter scales, while remaining robust to the quality of initial instructions. This study offers a novel perspective on activating NER capabilities in LLMs, facilitating their efficient and stable deployment in real-world scenarios. Code is available at https://github.com/THUMLP/ISE.
BibTeX
@inproceedings{zhou2026eliciting,
  author = {Kaiyin Zhou and Song Zhiyi and Xiangling Fu and Chenwei Yan and Xinxin You and Shaohui Liu and Ji Wu and Xien Liu},
  title = {{Eliciting Zero-Shot Named Entity Recognition in Large Language Models via Instruction Semantic Elaboration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nTbfA3r6QL},
}
Figure