Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
133 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
46 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

How to Unleash the Power of Large Language Models for Few-shot Relation Extraction? (2305.01555v4)

Published 2 May 2023 in cs.CL, cs.AI, cs.DB, cs.IR, and cs.LG

Abstract: Scaling LLMs have revolutionized widespread NLP tasks, yet little comprehensively explored few-shot relation extraction with LLMs. In this paper, we investigate principal methodologies, in-context learning and data generation, for few-shot relation extraction via GPT-3.5 through exhaustive experiments. To enhance few-shot performance, we further propose task-related instructions and schema-constrained data generation. We observe that in-context learning can achieve performance on par with previous prompt learning approaches, and data generation with the LLM can boost previous solutions to obtain new state-of-the-art few-shot results on four widely-studied relation extraction datasets. We hope our work can inspire future research for the capabilities of LLMs in few-shot relation extraction. Code is available in https://github.com/zjunlp/DeepKE/tree/main/example/LLM.

Citations (38)

Summary

We haven't generated a summary for this paper yet.