Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ma, Yubo, Cao, Yixin, Hong, YongChing, Sun, Aixin
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913310836785152
author Ma, Yubo
Cao, Yixin
Hong, YongChing
Sun, Aixin
author_facet Ma, Yubo
Cao, Yixin
Hong, YongChing
Sun, Aixin
contents Large Language Models (LLMs) have made remarkable strides in various tasks. Whether LLMs are competitive few-shot solvers for information extraction (IE) tasks, however, remains an open problem. In this work, we aim to provide a thorough answer to this question. Through extensive experiments on nine datasets across four IE tasks, we demonstrate that current advanced LLMs consistently exhibit inferior performance, higher latency, and increased budget requirements compared to fine-tuned SLMs under most settings. Therefore, we conclude that LLMs are not effective few-shot information extractors in general. Nonetheless, we illustrate that with appropriate prompting strategies, LLMs can effectively complement SLMs and tackle challenging samples that SLMs struggle with. And moreover, we propose an adaptive filter-then-rerank paradigm to combine the strengths of LLMs and SLMs. In this paradigm, SLMs serve as filters and LLMs serve as rerankers. By prompting LLMs to rerank a small portion of difficult samples identified by SLMs, our preliminary system consistently achieves promising improvements (2.4% F1-gain on average) on various IE tasks, with an acceptable time and cost investment.
format Preprint
id arxiv_https___arxiv_org_abs_2303_08559
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!
Ma, Yubo
Cao, Yixin
Hong, YongChing
Sun, Aixin
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) have made remarkable strides in various tasks. Whether LLMs are competitive few-shot solvers for information extraction (IE) tasks, however, remains an open problem. In this work, we aim to provide a thorough answer to this question. Through extensive experiments on nine datasets across four IE tasks, we demonstrate that current advanced LLMs consistently exhibit inferior performance, higher latency, and increased budget requirements compared to fine-tuned SLMs under most settings. Therefore, we conclude that LLMs are not effective few-shot information extractors in general. Nonetheless, we illustrate that with appropriate prompting strategies, LLMs can effectively complement SLMs and tackle challenging samples that SLMs struggle with. And moreover, we propose an adaptive filter-then-rerank paradigm to combine the strengths of LLMs and SLMs. In this paradigm, SLMs serve as filters and LLMs serve as rerankers. By prompting LLMs to rerank a small portion of difficult samples identified by SLMs, our preliminary system consistently achieves promising improvements (2.4% F1-gain on average) on various IE tasks, with an acceptable time and cost investment.
title Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2303.08559