[Paper Review] VicunaNER: Zero/Few-shot Named Entity Recognition using Vicuna
VicunaNER is a zero- and few-shot Named Entity Recognition framework built on the open-source LLM Vicuna, using a two-phase multi-turn dialogue approach: Recognition identifies entities in the first phase, and Re-Recognition recovers missed entities in a second phase. It achieves state-of-the-art performance on 10 zero-shot datasets and Few-NERD in few-shot settings, outperforming even ChatGPT-based methods while avoiding data leakage and non-reproducibility issues inherent in API-based LLMs.
Large Language Models (LLMs, e.g., ChatGPT) have shown impressive zero- and few-shot capabilities in Named Entity Recognition (NER). However, these models can only be accessed via online APIs, which may cause data leak and non-reproducible problems. In this paper, we propose VicunaNER, a zero/few-shot NER framework based on the newly released open-source LLM -- Vicuna. VicunaNER is a two-phase framework, where each phase leverages multi-turn dialogues with Vicuna to recognize entities from texts. We name the second phase as Re-Recognition, which recognizes those entities not recognized in the first phase (a.k.a. Recognition). Moreover, we set entity correctness check dialogues in each phase to filter out wrong entities. We evaluate VicunaNER's zero-shot capacity on 10 datasets crossing 5 domains and few-shot capacity on Few-NERD. Experimental results demonstrate that VicunaNER achieves superior performance in both shot settings. Additionally, we conduct comprehensive investigations on Vicuna from multiple perspectives.
Motivation & Objective
- To address data leakage and non-reproducibility issues in API-based LLMs like ChatGPT for NER.
- To develop a zero- and few-shot NER framework that leverages open-source LLMs without relying on proprietary APIs.
- To improve entity recognition performance by introducing a two-phase dialogue mechanism that recovers missed entities.
- To investigate the limitations of Vicuna in factual accuracy and entity boundary/type correctness.
- To provide a reproducible, locally deployable alternative to existing LLM-based NER systems.
Proposed method
- The framework uses a two-phase multi-turn dialogue system with Vicuna, where each phase performs entity recognition and correctness validation.
- In the Recognition phase, Vicuna is prompted to extract entities from text using entity type descriptions, followed by correctness checks via separate dialogues.
- In the Re-Recognition phase, Vicuna is prompted to identify entities missed in the first phase, using previously recognized entities as context to guide recovery.
- Correctness checks are applied in both phases to filter out false positives, such as incorrect entity types or non-entity spans.
- Entity lists from both phases are merged after removing duplicates to produce the final NER output.
- The system is designed to be locally deployable, avoiding reliance on proprietary LLM APIs and ensuring data privacy and reproducibility.

Experimental results
Research questions
- RQ1Can a locally deployable, open-source LLM like Vicuna achieve competitive zero- and few-shot NER performance without relying on proprietary APIs?
- RQ2Does a two-phase dialogue framework with Re-Recognition significantly improve entity recovery compared to a single-phase approach?
- RQ3How does Vicuna’s factual inconsistency affect NER performance, and can multi-turn correctness checks mitigate these errors?
- RQ4Is the performance of VicunaNER superior to existing LLM-based NER frameworks like ChatIE, especially in zero-shot settings?
- RQ5What is the optimal number of Re-Recognition phases, and does adding more phases yield meaningful performance gains?
Key findings
- VicunaNER outperforms the ChatGPT-based ChatIE on xxx out of xxx zero-shot datasets, despite Vicuna being less powerful than ChatGPT.
- In the few-shot setting on Few-NERD, VicunaNER consistently surpasses both LLM-based frameworks and prototypical network baselines.
- The Re-Recognition phase significantly improves recall by recovering numerous entities missed in the initial Recognition phase.
- Multi-turn correctness checks effectively filter out entity type errors and false positives, improving precision without sacrificing recall.
- Adding more than one Re-Recognition phase yields only marginal performance gains while substantially increasing inference time.
- The framework enables fully reproducible, on-premise NER with no risk of data leakage, unlike API-based LLMs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.