Generating Diverse Training Samples for Relation Extraction with Large Language Models

Using Large Language Models (LLMs) to generate training data can potentially be a preferable way to improve zero or few-shot NLP tasks.However, many problems remain to be investigated for this direction.For the task of Relation Extraction (RE), we find that samples generated by directly prompting LLMs may easily have high structural similarities with each other.They tend to use a limited variety of phrasing while expressing the relation between a pair of entities.Therefore, in this paper, we study how to effectively improve the diversity of the training samples generated with LLMs for RE, while also maintaining their correctness.We first try to make the LLMs produce dissimilar samples by directly giving instructions in In-Context Learning (ICL) prompts.Then, we propose an approach to fine-tune LLMs for diversity training sample generation through Direct Preference Optimization (DPO).Our experiments on commonly used RE datasets show that both attempts can improve the quality of the generated training data.We also find that comparing with directly performing RE with an LLM, training a non-LLM RE model with its generated samples may lead to better performance.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-long.35
Citations
1
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
2.48

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Generating Diverse Training Samples for Relation Extraction with Large Language Models

Piji Li, Hongliang Dai, Zexuan Li
1 citations
Natural Language Processing Techniques
2.48
article

Generating Diverse Training Samples for Relation Extraction with Large Language Models

Piji Li, Hongliang Dai, Zexuan Li
article en
1 citations

Abstract

Using Large Language Models (LLMs) to generate training data can potentially be a preferable way to improve zero or few-shot NLP tasks.However, many problems remain to be investigated for this direction.For the task of Relation Extraction (RE), we find that samples generated by directly prompting LLMs may easily have high structural similarities with each other.They tend to use a limited variety of phrasing while expressing the relation between a pair of entities.Therefore, in this paper, we study how to effectively improve the diversity of the training samples generated with LLMs for RE, while also maintaining their correctness.We first try to make the LLMs produce dissimilar samples by directly giving instructions in In-Context Learning (ICL) prompts.Then, we propose an approach to fine-tune LLMs for diversity training sample generation through Direct Preference Optimization (DPO).Our experiments on commonly used RE datasets show that both attempts can improve the quality of the generated training data.We also find that comparing with directly performing RE with an LLM, training a non-LLM RE model with its generated samples may lead to better performance.

National Natural Science Foundation of China, Government of Jiangsu Province, Nanjing University of Aeronautics and Astronautics, Natural Science Foundation of Jiangsu Province, Nanjing University, Fundamental Research Funds for the Central Universities
Quality Education
Openalex Percentile: Top 9%
Natural Language Processing Techniques
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Generating Diverse Training Samples for Relation Extraction with Large Language Models — Piji Li, Hongliang Dai, et al. · (2025) | TGRS Research Map | TGRS