[论文解读] Knowledge Restoration-driven Prompt Optimization: Unlocking LLM Potential for Open-Domain Relational Triplet Extraction
KRPO 引入一个以自我反思为基础的提示优化循环,借助知识恢复以及动态关系规范化记忆,改善使用LLMs的开放领域关系三元组抽取。它在三个数据集和多种LLM上超越强基线。
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.
研究动机与目标
- 解决开放领域关系三元组抽取(ORTE)中静态提示的局限性。
- 使LLMs通过自我 reflection与知识恢复持续提升抽取质量。
- 通过一个动态记忆支撑的关系规范化模块缓解关系冗余。
- 在多个数据集和LLM骨干上展示KRPO的有效性。
提出的方法
- 提出KRPO,包含:(i) 具有可优化提示的Relational Triplet Extraction,(ii) 基于知识恢复的自评估,使用NLI评估语义一致性,(iii) 梯度-based Prompt Optimization 产生文本梯度以 refined prompts,(iv) 具有动态记忆的关系规范化以及用于规范模式的Cross-Encoder对齐。
实验结果
研究问题
- RQ1知识恢复信号是否能为开放领域设置中的ORTE提示提供内在反馈以改善提示?
- RQ2基于梯度的提示优化循环是否在不同数据集和LLM骨干上带来持续的改进?
- RQ3内存增强的关系规范器是否能降低语义冗余并提升ORTE的KG质量?
- RQ4KRPO在严格评测设置下对抽取保真度的影响如何?
- RQ5KRPO组件如何与不同LLMs协同工作以实现跨领域泛化?
主要发现
- KRPO在WebNLG、REBEL和Wiki-NRE数据集上,在Partial、Strict和Exact F1设置下,一致性地优于强基线(如EDC)。
- 对于较小模型的改进更为明显,提示优化与规范化有助于缓解轻量级LLM的推理能力受限问题。
- 基于Cross-Encoder的关系规范化器在Top-K候选提供上实现了比基于嵌入的相似性更优的语义对齐。
- 自评估信号保持更高的蕴含性,并使正确与错误三元组之间的判别更为精准。
- 迭代的提示优化在分批处理下的F1增益累计,且在Strict/Exact指标下尤为显著。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。