A Cooperative Multi-Agent Framework for Zero-Shot Named Entity Recognition

Zihan Wang, Ziqi Zhao, Yougang Lyu, Zhumin Chen, Maarten de Rijke +1 more
2/25/2025
cs.IRcs.CL

No official code found. Best implementation: WZH-NLP/WWW25-CMAS (10 stars, last commit 2025-05-14).

Abstract

Zero-shot named entity recognition (NER) aims to develop entity recognition systems from unannotated text corpora. This task presents substantial challenges due to minimal human intervention. Recent work has adapted large language models (LLMs) for zero-shot NER by crafting specialized prompt templates. It advances model self-learning abilities by incorporating self-annotated demonstrations. However, two important challenges persist: (i) Correlations between contexts surrounding entities are overlooked, leading to wrong type predictions or entity omissions. (ii) The indiscriminate use of task demonstrations, retrieved through shallow similarity-based strategies, severely misleads LLMs during inference. In this paper, we introduce the cooperative multi-agent system (CMAS), a novel framework for zero-shot NER that uses the collective intelligence of multiple agents to address the challenges outlined above. CMAS has four main agents: (i) a self-annotator, (ii) a type-related feature (TRF) extractor, (iii) a demonstration discriminator, and (iv) an overall predictor. To explicitly capture correlations between contexts surrounding entities, CMAS reformulates NER into two subtasks: recognizing named entities and identifying entity type-related features within the target sentence. To enable controllable utilization of demonstrations, a demonstration discriminator is established to incorporate the self-reflection mechanism, automatically evaluating helpfulness scores for the target sentence. Experimental results show that CMAS significantly improves zero-shot NER performance across six benchmarks, including both domain-specific and general-domain scenarios. Furthermore, CMAS demonstrates its effectiveness in few-shot settings and with various LLM backbones.

View on arXivView PDF

Code Implementations(1)

WZH-NLP/WWW25-CMASCommunity100%
102Shell, PythonOct 13, 20241 years ago

Similar Papers

Cite this paper

@article{wang2025cooperative,
  title  = {A Cooperative Multi-Agent Framework for Zero-Shot Named Entity Recognition},
  author = {Zihan Wang and Ziqi Zhao and Yougang Lyu and Zhumin Chen and Maarten de Rijke and Zhaochun Ren},
  year   = {2025},
  eprint = {2502.18702},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.18702v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.18702.svg)](https://codeofpaper.com/paper/2502.18702)

Discussion