FsPONER: Few-shot Prompt Optimization for Named Entity Recognition in Domain-specific Scenarios
Yongjian Tang, Rakebul Hasan, Thomas Runkler

TL;DR
This paper introduces FsPONER, a prompt optimization method for few-shot NER in domain-specific scenarios, demonstrating significant performance gains over fine-tuned models using minimal data and multiple LLMs.
Contribution
The paper proposes a novel prompt optimization approach for few-shot NER tailored to domain-specific tasks, filling a gap in LLM-based few-shot learning research.
Findings
FsPONER with TF-IDF outperforms fine-tuned models by ~10% in F1 score.
Multiple LLMs evaluated show consistent improvements with FsPONER.
Effective in data-scarce industrial domain scenarios.
Abstract
Large Language Models (LLMs) have provided a new pathway for Named Entity Recognition (NER) tasks. Compared with fine-tuning, LLM-powered prompting methods avoid the need for training, conserve substantial computational resources, and rely on minimal annotated data. Previous studies have achieved comparable performance to fully supervised BERT-based fine-tuning approaches on general NER benchmarks. However, none of the previous approaches has investigated the efficiency of LLM-based few-shot learning in domain-specific scenarios. To address this gap, we introduce FsPONER, a novel approach for optimizing few-shot prompts, and evaluate its performance on domain-specific NER datasets, with a focus on industrial manufacturing and maintenance, while using multiple LLMs -- GPT-4-32K, GPT-3.5-Turbo, LLaMA 2-chat, and Vicuna. FsPONER consists of three few-shot selection methods based on random…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Data Quality and Management
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Attention Is All You Need · Cosine Annealing · Linear Layer · Multi-Head Attention · Softmax · WordPiece · Linear Warmup With Cosine Annealing · Residual Connection
