P-ICL: Point In-Context Learning for Named Entity Recognition with Large Language Models

Guochao Jiang, Zepeng Ding, Yuchen Shi, Deqing Yang
5/8/2024
cs.CL

No official code found. Best implementation: jiangguochaoGG/P-ICL (7 stars, last commit 2024-04-15).

Abstract

In recent years, the rise of large language models (LLMs) has made it possible to directly achieve named entity recognition (NER) without any demonstration samples or only using a few samples through in-context learning (ICL). However, standard ICL only helps LLMs understand task instructions, format and input-label mapping, but neglects the particularity of the NER task itself. In this paper, we propose a new prompting framework P-ICL to better achieve NER with LLMs, in which some point entities are leveraged as the auxiliary information to recognize each entity type. With such significant information, the LLM can achieve entity classification more precisely. To obtain optimal point entities for prompting LLMs, we also proposed a point entity selection method based on K-Means clustering. Our extensive experiments on some representative NER benchmarks verify the effectiveness of our proposed strategies in P-ICL and point entity selection.

View on arXivView PDF

Code Implementations(1)

70PythonApr 14, 20242 years ago

Cite this paper

@article{jiang2024picl,
  title  = {P-ICL: Point In-Context Learning for Named Entity Recognition with Large Language Models},
  author = {Guochao Jiang and Zepeng Ding and Yuchen Shi and Deqing Yang},
  year   = {2024},
  eprint = {2405.04960},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.04960v2}
}

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

Discussion