[Paper Review] Knowledge Restoration-driven Prompt Optimization: Unlocking LLM Potential for Open-Domain Relational Triplet Extraction
KRPO introduces a self-reflection based prompt optimization loop guided by knowledge restoration, plus a dynamic relation canonicalization memory, to improve open-domain relational triplet extraction using LLMs. It outperforms strong baselines across three datasets and various LLMs.
Open-domain Relational Triplet Extraction (ORTE) is the foundation for mining structured knowledge without predefined schemas. Despite the impressive in-context learning capabilities of Large Language Models (LLMs), existing methods are hindered by their reliance on static, heuristic-driven prompting strategies. Due to the lack of reflection mechanisms required to internalize erroneous signals, these methods exhibit vulnerability in semantic ambiguity, often making erroneous extraction patterns permanent. To address this bottleneck, we propose a Knowledge Reconstruction-driven Prompt Optimization (KRPO) framework to assist LLMs in continuously improving their extraction capabilities for complex ORTE task flows. Specifically, we design a self-evaluation mechanism based on knowledge restoration, which provides intrinsic feedback signals by projecting structured triplets into semantic consistency scores. Subsequently, we propose a prompt optimizer based on a textual gradient that can internalize historical experiences to iteratively optimize prompts, which can better guide LLMs to handle subsequent extraction tasks. Furthermore, to alleviate relation redundancy, we design a relation canonicalization memory that collects representative relations and provides semantically distinct schemas for the triplets. Extensive experiments across three datasets show that KRPO significantly outperforms strong baselines in the extraction F1 score.
Motivation & Objective
- Address the limitations of static prompting in open-domain relational triplet extraction (ORTE).
- Enable LLMs to continuously improve extraction quality through self-reflection and knowledge restoration.
- Mitigate relation redundancy via a dynamic, memory-backed relation canonicalization module.
- Demonstrate the effectiveness of KRPO across multiple datasets and LLM backbones.
Proposed method
- Introduce KRPO, consisting of: (i) Relational Triplet Extraction with an optimizable prompt, (ii) Knowledge Restoration-based self-evaluation using NLI to assess semantic consistency, (iii) Gradient-based Prompt Optimization producing textual gradients to refine prompts, (iv) Relation Canonicalization with a dynamic memory and Cross-Encoder alignment to canonical schemas.
Experimental results
Research questions
- RQ1Can a knowledge restoration signal provide intrinsic feedback to improve prompts for ORTE in open-domain settings?
- RQ2Does a gradient-based prompt optimization loop yield consistent improvements across diverse datasets and LLM backbones?
- RQ3Can a memory-augmented relation canonicalizer reduce semantic redundancy and improve KG quality in ORTE?
- RQ4What is the impact of KRPO on extraction fidelity under strict evaluation settings?
- RQ5How do KRPO components interact with different LLMs to generalize across domains?
Key findings
- KRPO consistently outperforms strong baselines (e.g., EDC) on WebNLG, REBEL, and Wiki-NRE across Partial, Strict, and Exact F1 settings.
- Improvements are more pronounced for smaller models, suggesting prompt optimization and canonicalization mitigate limited reasoning capability of lightweight LLMs.
- A Cross-Encoder based relation canonicalizer yielding Top-K candidates provides superior semantic alignment over embedding-based similarity.
- Self-evaluation signals preserve higher entailment and enable more accurate discrimination between correct and incorrect triplets.
- Iterative prompt optimization shows F1 gains accumulate over batches, especially under Strict/Exact metrics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.