Evaluating Named Entity Recognition Using Few-Shot Prompting with Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zeghidi, Hédi, Moncla, Ludovic
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910588975710208
author Zeghidi, Hédi
Moncla, Ludovic
author_facet Zeghidi, Hédi
Moncla, Ludovic
contents This paper evaluates Few-Shot Prompting with Large Language Models for Named Entity Recognition (NER). Traditional NER systems rely on extensive labeled datasets, which are costly and time-consuming to obtain. Few-Shot Prompting or in-context learning enables models to recognize entities with minimal examples. We assess state-of-the-art models like GPT-4 in NER tasks, comparing their few-shot performance to fully supervised benchmarks. Results show that while there is a performance gap, large models excel in adapting to new entity types and domains with very limited data. We also explore the effects of prompt engineering, guided output format and context length on performance. This study underscores Few-Shot Learning's potential to reduce the need for large labeled datasets, enhancing NER scalability and accessibility.
format Preprint
id arxiv_https___arxiv_org_abs_2408_15796
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Evaluating Named Entity Recognition Using Few-Shot Prompting with Large Language Models
Zeghidi, Hédi
Moncla, Ludovic
Information Retrieval
Artificial Intelligence
This paper evaluates Few-Shot Prompting with Large Language Models for Named Entity Recognition (NER). Traditional NER systems rely on extensive labeled datasets, which are costly and time-consuming to obtain. Few-Shot Prompting or in-context learning enables models to recognize entities with minimal examples. We assess state-of-the-art models like GPT-4 in NER tasks, comparing their few-shot performance to fully supervised benchmarks. Results show that while there is a performance gap, large models excel in adapting to new entity types and domains with very limited data. We also explore the effects of prompt engineering, guided output format and context length on performance. This study underscores Few-Shot Learning's potential to reduce the need for large labeled datasets, enhancing NER scalability and accessibility.
title Evaluating Named Entity Recognition Using Few-Shot Prompting with Large Language Models
topic Information Retrieval
Artificial Intelligence
url https://arxiv.org/abs/2408.15796