Empirical Study of Zero-Shot NER with ChatGPT

Tingyu Xie, Qi Li, Jian Zhang, Yan Zhang, Zuozhu Liu +1 more
10/16/2023
cs.CL

No official code found. Best implementation: Emma1066/Zero-Shot-NER-with-ChatGPT (43 stars, last commit 2023-10-18).

Abstract

Large language models (LLMs) exhibited powerful capability in various natural language processing tasks. This work focuses on exploring LLM performance on zero-shot information extraction, with a focus on the ChatGPT and named entity recognition (NER) task. Inspired by the remarkable reasoning capability of LLM on symbolic and arithmetic reasoning, we adapt the prevalent reasoning methods to NER and propose reasoning strategies tailored for NER. First, we explore a decomposed question-answering paradigm by breaking down the NER task into simpler subproblems by labels. Second, we propose syntactic augmentation to stimulate the model's intermediate thinking in two ways: syntactic prompting, which encourages the model to analyze the syntactic structure itself, and tool augmentation, which provides the model with the syntactic information generated by a parsing tool. Besides, we adapt self-consistency to NER by proposing a two-stage majority voting strategy, which first votes for the most consistent mentions, then the most consistent types. The proposed methods achieve remarkable improvements for zero-shot NER across seven benchmarks, including Chinese and English datasets, and on both domain-specific and general-domain scenarios. In addition, we present a comprehensive analysis of the error types with suggestions for optimization directions. We also verify the effectiveness of the proposed methods on the few-shot setting and other LLMs.

View on arXivView PDF

Code Implementations(1)

This is the github repository for the paper at EMNLP 2023: Empirical Study of Zero-Shot NER with ChatGPT.

436Shell, PythonOct 14, 20233 years ago

Similar Papers

Cite this paper

@article{xie2023empirical,
  title  = {Empirical Study of Zero-Shot NER with ChatGPT},
  author = {Tingyu Xie and Qi Li and Jian Zhang and Yan Zhang and Zuozhu Liu and Hongwei Wang},
  year   = {2023},
  eprint = {2310.10035},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.10035v1}
}

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/2310.10035.svg)](https://codeofpaper.com/paper/2310.10035)

Discussion