arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.00835cs.CL
收藏

用于高效且可泛化超细粒度实体类型标注的校准 Seq2seq 模型

Calibrated Seq2seq Models for Efficient and Generalizable Ultra-fine Entity Typing

Carnegie Mellon University(卡内基梅隆大学);Megagon Labs(Megagon 实验室)

Yanlin Feng, Adithya Pratapa, David R Mortensen

AI总结:

本文提出 CASENT 校准 seq2seq 模型,利用约束束搜索与新型概率校准实现超细粒度实体类型标注,在 UFET 及五个领域数据集上显著提升效果、校准性、推理速度与零/少样本泛化能力。

摘要:

超细粒度实体类型标注通过为文本中的实体提及预测细粒度语义类型,在信息抽取中发挥着关键作用。然而,由于输出空间中存在数量庞大的实体类型,该任务面临重大挑战。当前基于标准多标签分类器或交叉编码器模型的最先进方法,存在泛化性能较差或推理效率低下的问题。本文提出 CASENT,这是一种为超细粒度实体类型标注设计的 seq2seq 模型,能够预测超细粒度类型并给出经过校准的置信度分数。该模型以实体提及为输入,并采用约束束搜索以自回归方式生成多个类型。随后,使用一种新颖的校准方法,将与预测类型相关的原始序列概率转换为置信度分数。我们在包含超过 1 万个类型的 UFET 数据集上进行了大量实验。我们的方法在 F1 分数和校准误差方面优于此前的最先进方法,同时实现了超过 50 倍的推理加速。此外,我们通过在五个训练期间未见过的专业领域实体类型标注数据集上进行零样本和少样本设置评估,证明了模型的泛化能力。值得注意的是,在零样本设置下,我们的模型优于参数量大 10 倍的大型语言模型;而在仅使用 50 个样本进行微调时,它在所有数据集上均显著优于 ChatGPT。我们的代码、模型和演示可在 https://github.com/yanlinf/CASENT 获取。

英文摘要:

Ultra-fine entity typing plays a crucial role in information extraction by predicting fine-grained semantic types for entity mentions in text. However, this task poses significant challenges due to the massive number of entity types in the output space. The current state-of-the-art approaches, based on standard multi-label classifiers or cross-encoder models, suffer from poor generalization performance or inefficient inference. In this paper, we present CASENT, a seq2seq model designed for ultra-fine entity typing that predicts ultra-fine types with calibrated confidence scores. Our model takes an entity mention as input and employs constrained beam search to generate multiple types autoregressively. The raw sequence probabilities associated with the predicted types are then transformed into confidence scores using a novel calibration method. We conduct extensive experiments on the UFET dataset which contains over 10k types. Our method outperforms the previous state-of-the-art in terms of F1 score and calibration error, while achieving an inference speedup of over 50 times. Additionally, we demonstrate the generalization capabilities of our model by evaluating it in zero-shot and few-shot settings on five specialized domain entity typing datasets that are unseen during training. Remarkably, our model outperforms large language models with 10 times more parameters in the zero-shot setting, and when fine-tuned on 50 examples, it significantly outperforms ChatGPT on all datasets. Our code, models and demo are available at https://github.com/yanlinf/CASENT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑