Skip to main content
QUICK REVIEW

[论文解读] Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction

Xiang Chen, Ningyu Zhang|arXiv (Cornell University)|Apr 15, 2021
Topic ModelingComputer Science参考文献 45被引用 1
一句话总结

KNIGHT 提出了一种知识感知的提示调优框架,将实体和关系知识整合到可学习的虚拟模板和答案词中,通过与知识约束联合优化,提升少样本和低资源关系抽取的性能。该方法在五个数据集上实现了最先进性能,通过协同利用外部知识和提示调优实现显著提升。

ABSTRACT

Recently, prompt-tuning has achieved promising results on some few-shot classification tasks. The core idea of prompt-tuning is to insert text pieces, i.e., templates, into the input and transform a classification task into a masked language modeling problem. However, as for relation extraction, determining the appropriate prompt template requires domain expertise. Single label word handcrafted or auto-searched is cumbersome and time-consuming to verify their effectiveness in non-few-shot scenarios. Further, there exist abundant semantic knowledge among the entities and relation labels which cannot be ignored. To this end, we focus on incorporating knowledge into prompt-tuning for relation extraction and propose a Knowledge-aware prompt-tuning with synergistic optimization (KNIGHT) approach. Specifically, we inject entity and relation knowledge into prompt construction with learnable virtual template words and answer words and jointly optimize their representation with knowledge constraints. Extensive experimental results on five datasets with standard and low-resource settings demonstrate the effectiveness of our approach.

研究动机与目标

  • 为解决关系抽取中提示模板选择的挑战,该挑战通常需要领域专业知识,且在非少样本设置下耗时较长。
  • 将来自实体和关系标签的丰富语义知识融入提示调优过程,以提升泛化能力和性能。
  • 联合优化可学习的虚拟模板和答案词与知识约束,以实现更优的表征学习。
  • 在标准和低资源关系抽取场景中均验证其有效性。

提出的方法

  • 引入可学习的虚拟模板词和答案词,以替代手工设计的提示,实现端到端优化。
  • 通过知识感知初始化和表征学习,将实体和关系知识注入提示构建过程。
  • 在优化过程中应用知识约束,使虚拟标记的表征与外部知识库中的事实知识对齐。
  • 采用协同优化策略,联合训练提示参数与知识感知表征。
  • 采用掩码语言建模范式,将关系抽取转化为序列到序列的预测任务。

实验结果

研究问题

  • RQ1可学习的虚拟标记是否能有效替代关系抽取中手工设计的提示模板,而无需人工设计?
  • RQ2整合实体和关系知识如何提升少样本和低资源关系抽取的性能?
  • RQ3虚拟标记与知识表征的协同优化是否能带来比孤立优化更优的泛化性能?
  • RQ4知识约束对学习到的提示表征质量有何影响?

主要发现

  • KNIGHT 在五个基准关系抽取数据集上,无论在标准设置还是低资源设置下,均实现了最先进性能。
  • 整合实体和关系知识显著提升了少样本和低资源关系抽取的准确率。
  • 虚拟标记与知识表征的联合优化,带来了更鲁棒且更具泛化能力的提示表征。
  • 使用可学习的虚拟标记减少了对人工提示工程和领域专业知识的依赖。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。