Automatic Prompt Optimization for Knowledge Graph Construction: Insights from an Empirical Study
Nandana Mihindukulasooriya, Niharika S. D'Souza, Faisal Chowdhury, Horst Samulowitz

TL;DR
This paper empirically evaluates automatic prompt optimization techniques for knowledge graph triple extraction, demonstrating their effectiveness in generating prompts comparable to human-crafted ones and improving extraction performance across various settings.
Contribution
It provides a comprehensive empirical analysis of automatic prompt optimization methods for KG triple extraction, highlighting their potential to reduce manual effort and enhance accuracy.
Findings
Optimized prompts perform comparably to human-crafted prompts.
Prompt optimization improves extraction accuracy with increased schema complexity.
Larger input text size enhances the effectiveness of prompt optimization.
Abstract
A KG represents a network of entities and illustrates relationships between them. KGs are used for various applications, including semantic search and discovery, reasoning, decision-making, natural language processing, machine learning, and recommendation systems. Triple (subject-relation-object) extraction from text is the fundamental building block of KG construction and has been widely studied, for example, in early benchmarks such as ACE 2002 to more recent ones, such as WebNLG 2020, REBEL and SynthIE. While the use of LLMs is explored for KG construction, handcrafting reasonable task-specific prompts for LLMs is a labour-intensive exercise and can be brittle due to subtle changes in the LLM models employed. Recent work in NLP tasks (e.g. autonomy generation) uses automatic prompt optimization/engineering to address this challenge by generating optimal or near-optimal task-specific…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Advanced Graph Neural Networks · AI-based Problem Solving and Planning
