Dynamic Prompting for Efficient Knowledge Graph Triplet Extraction

Large language models often falter in knowledge graph construction as prompt complexity exceeds their context limits. To overcome this bottleneck, we introduce KGD-LLM, a framework that shifts the focus from managing context length to maximizing its information density. At its core, KGD-LLM employs a two-tier engine that leverages Sentence-Transformers (SBERT) for semantic selection and Jaccard similarity for diversity control to dynamically select a small, yet highly relevant and diverse set of examples from a larger repository. Our experiments on the REBEL dataset reveal that this approach not only surpasses a strong fine-tuned baseline (GENIE) but also dramatically boosts performance over static prompting, achieving a 73.2% relative F1-score improvement within the same context budget and without any model retraining. These findings demonstrate that intelligent, adaptive prompting is a powerful and efficient alternative to traditional fine-tuning, despite the modest increase in processing time.

Authors

Institutions

Publication Details

Published
2025-06-20
DOI
https://doi.org/10.1109/caibda65784.2025.11183162
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Dynamic Prompting for Efficient Knowledge Graph Triplet Extraction

Zhihao Guo, Guomin Zhou, Wei Li, Jian Wang et al.
Semantic Web and Ontologies
article

Dynamic Prompting for Efficient Knowledge Graph Triplet Extraction

Zhihao Guo, Guomin Zhou, Wei Li, Jian Wang, Jianhua Zhang
article en

Abstract

Large language models often falter in knowledge graph construction as prompt complexity exceeds their context limits. To overcome this bottleneck, we introduce KGD-LLM, a framework that shifts the focus from managing context length to maximizing its information density. At its core, KGD-LLM employs a two-tier engine that leverages Sentence-Transformers (SBERT) for semantic selection and Jaccard similarity for diversity control to dynamically select a small, yet highly relevant and diverse set of examples from a larger repository. Our experiments on the REBEL dataset reveal that this approach not only surpasses a strong fine-tuned baseline (GENIE) but also dramatically boosts performance over static prompting, achieving a 73.2% relative F1-score improvement within the same context budget and without any model retraining. These findings demonstrate that intelligent, adaptive prompting is a powerful and efficient alternative to traditional fine-tuning, despite the modest increase in processing time.

Agricultural Information Institute (CN), Chinese Academy of Agricultural Sciences (CN), China Agricultural University (CN)
Openalex Percentile: Top 85%
Semantic Web and Ontologies
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.

Dynamic Prompting for Efficient Knowledge Graph Triplet Extraction — Zhihao Guo, Guomin Zhou, et al. · (2025) | TGRS Research Map | TGRS