AmalREC:一个利用大语言模型融合进行关系抽取与分类的数据集
AmalREC: A Dataset for Relation Extraction and Classification Leveraging Amalgamation of Large Language Models
AI总结:
本文提出AmalREC数据集及通用生成框架,通过5阶段流水线、句子评估指数SEI和SEI-Ranker融合大语言模型生成高质量关系句子,构建了含255种关系类型、约15K测试句和150K训练句的RE/RC基准,并验证了其有效性。
摘要:
现有的关系分类与关系抽取数据集往往存在关系类型受限和领域特定偏差等局限性。本工作提出了一个通用框架,借助大语言模型(LLMs)从给定的关系元组中生成结构良好的句子。本研究聚焦于以下主要问题:(i)如何从关系元组生成句子,(ii)如何比较并对这些句子进行排序,(iii)能否结合各方法的优势并将其融合以生成质量更优的句子,以及(iv)如何评估最终数据集?针对第一个问题,我们采用了一个多层面的5阶段流水线方法,将大语言模型与模板引导生成相结合。我们引入了句子评估指数(SEI),该指数优先考虑语法正确性、流畅性、与人类一致的情感倾向、准确性和复杂度等因素,以回答第二个问题的第一部分。为回答第二个问题的第二部分,本工作引入了一个SEI-Ranker模块,利用SEI选择最优候选生成结果。随后,排名靠前的句子被策略性地融合,以生成最终的高质量句子。最后,我们在基于大语言模型的基线和当前最优(SOTA)基线上评估了我们的数据集在关系分类任务上的表现。所提出的数据集包含255种关系类型,测试集约有15K个句子,训练集约有150K个句子,显著增强了关系多样性和复杂度。本工作不仅为关系抽取/关系分类(RE/RC)任务提供了一个新的综合性基准数据集,还比较了不同大语言模型从关系元组生成高质量句子的能力。
英文摘要:
Existing datasets for relation classification and extraction often exhibit limitations such as restricted relation types and domain-specific biases. This work presents a generic framework to generate well-structured sentences from given tuples with the help of Large Language Models (LLMs). This study has focused on the following major questions: (i) how to generate sentences from relation tuples, (ii) how to compare and rank them, (iii) can we combine strengths of individual methods and amalgamate them to generate an even bette quality of sentences, and (iv) how to evaluate the final dataset? For the first question, we employ a multifaceted 5-stage pipeline approach, leveraging LLMs in conjunction with template-guided generation. We introduce Sentence Evaluation Index(SEI) that prioritizes factors like grammatical correctness, fluency, human-aligned sentiment, accuracy, and complexity to answer the first part of the second question. To answer the second part of the second question, this work introduces a SEI-Ranker module that leverages SEI to select top candidate generations. The top sentences are then strategically amalgamated to produce the final, high-quality sentence. Finally, we evaluate our dataset on LLM-based and SOTA baselines for relation classification. The proposed dataset features 255 relation types, with 15K sentences in the test set and around 150k in the train set organized in, significantly enhancing relational diversity and complexity. This work not only presents a new comprehensive benchmark dataset for RE/RC task, but also compare different LLMs for generation of quality sentences from relational tuples.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。