We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Artificial Intelligence & Machine Learning/A novel prompting method for few-shot NER via LLMs
PeriodicalsArtificial Intelligence & Machine Learning

A novel prompting method for few-shot NER via LLMs

Checking your access to this record.

Abstract & Overview

In various natural language processing tasks, significant strides have been made by Large Language Models (LLMs). Researchers leverage prompt method to conduct LLMs in accomplishing specific tasks under few-shot conditions. However, the prevalent use of LLMs’ prompt methods mainly focuses on guiding generative tasks, and employing existing prompts may result in poor performance in Named Entity Recognition (NER) tasks. To tackle this challenge, we propose a novel prompting method for few-shot NER. By enhancing existing prompt methods, we devise a standardized prompts tailored for the utilization of LLMs in NER tasks. Specifically, we structure the prompts into three components: task definition, few-shot demonstration, and output format. The task definition conducts LLMs in performing NER tasks, few-shot demonstration assists LLMs in understanding NER task objectives through specific output demonstration, and output format restricts LLMs’ output to prevent the generation of unnecessary results. The content of these components has been specifically tailored for NER tasks. Moreover, for the few-shot demonstration within the prompts, we propose a selection strategy that utilizes feedback from LLMs’ outputs to identify more suitable few-shot demonstration as prompts. Additionally, to enhance entity recognition performance, we enrich the prompts by summarizing error examples from the output process of LLMs and integrating them as additional prompts.

Cite this record

Qi Cheng, Liqiong Chen, ZhiXing Hu, Juan Tang, Qiang Xu, Binbin Ning (2024). A novel prompting method for few-shot NER via LLMs. Natural Language Processing Journal, 8, 100099–100099. https://doi.org/10.1016/j.nlp.2024.100099

Copy in another style

Cheng, Q., Chen, L., Hu, Z., Tang, J., Xu, Q., & Ning, B. (2024). A novel prompting method for few-shot NER via LLMs. Natural Language Processing Journal, 8, 100099–100099. https://doi.org/10.1016/j.nlp.2024.100099
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.