arXiv:2508.12611cs.AIcs.CL2025-08

用大模型+逻辑编程实现跨领域联合实体关系抽取,少数据也能高效准确。

An LLM + ASP Workflow for Joint Entity-Relation Extraction

  • 结合大模型理解能力与逻辑编程的可扩展性,直接处理未标注文本。
  • 仅用10%训练数据,关系抽取在SciERC上提升35%(比基线高2.5倍)。
  • 适合需要快速适配新领域、缺乏标注数据的场景。

联合实体关系抽取(JERE)同时识别实体及其关系。传统机器学习方法需大量标注数据,难以融入领域知识,导致建模成本高、迭代困难。本文提出一种基于生成式大语言模型(LLM)与答案集编程(ASP)的通用工作流,直接处理未标注文本,利用LLM的语言理解能力,并借助ASP的抗扰动特性,在引入新领域类型信息时无需修改核心程序。在三个主流JERE基准上,仅使用10%训练数据的实验表明,该方法在多个指标上优于当前最优系统;尤其在难任务的SciERC数据集上,关系抽取性能提升35%(较基线提高2.5倍),验证了其高效性与泛化能力。

原文摘要 · Abstract (English)

Joint entity-relation extraction (JERE) identifies both entities and their relationships simultaneously. Traditional machine-learning based approaches to performing this task require a large corpus of annotated data and lack the ability to easily incorporate domain specific information in the construction of the model. Therefore, creating a model for JERE is often labor intensive, time consuming, and elaboration intolerant. In this paper, we propose harnessing the capabilities of generative pre-trained large language models (LLMs) and the knowledge representation and reasoning capabilities of Answer Set Programming (ASP) to perform JERE. We present a generic workflow for JERE using LLMs and ASP. The workflow is generic in the sense that it can be applied for JERE in any domain. It takes advantage of LLM's capability in natural language understanding in that it works directly with unannotated text. It exploits the elaboration tolerant feature of ASP in that no modification of its core program is required when additional domain specific knowledge, in the form of type specifications, is found and needs to be used. We demonstrate the usefulness of the proposed workflow through experiments with limited training data on three well-known benchmarks for JERE. The results of our experiments show that the LLM + ASP workflow is better than state-of-the-art JERE systems in several categories with only 10% of training data. It is able to achieve a 2.5 times (35% over 15%) improvement in the Relation Extraction task for the SciERC corpus, one of the most difficult benchmarks.

联合抽取大模型逻辑编程少样本

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。