arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.18208cs.CLcs.LG
收藏

ArcheType:一种基于大语言模型的开源列类型标注新框架

ArcheType: A Novel Framework for Open-Source Column Type Annotation using Large Language Models

New York University(纽约大学)

Benjamin Feuer, Yurong Liu, Chinmay Hegde, Juliana Freire

AI总结:

针对现有语义列类型标注方法的类型固定、样本需求大等缺陷,提出含上下文采样等模块的ArcheType框架,实现大语言模型零样本列类型标注,在多个基准上取得最优性能。

摘要:

现有的语义列类型标注(CTA)深度学习方法存在显著缺陷:它们依赖训练时固定的语义类型;每种类型需要大量训练样本,且运行时推理成本高昂;即便类型保持不变,在新数据集上评估时性能也会下降。大语言模型在各类任务中展现出强大的零样本分类性能,本文探索其在CTA任务中的应用。我们提出ArcheType,这是一种涵盖上下文采样、提示序列化、模型查询与标签重映射的简单实用方法,可让大语言模型以完全零样本的方式解决CTA问题。我们对方法的各组件分别进行消融实验,证实上下文采样与标签重映射的优化能带来最稳定的性能提升。ArcheType在零样本CTA基准(包括本文同步发布的3个新领域特定基准)上取得了新的最优性能;与经典CTA技术结合使用时,在经过微调的SOTAB基准上性能优于当前最优的DoDuo模型。我们的代码可在https://github.com/penfever/ArcheType获取。

英文摘要:

Existing deep-learning approaches to semantic column type annotation (CTA) have important shortcomings: they rely on semantic types which are fixed at training time; require a large number of training samples per type and incur large run-time inference costs; and their performance can degrade when evaluated on novel datasets, even when types remain constant. Large language models have exhibited strong zero-shot classification performance on a wide range of tasks and in this paper we explore their use for CTA. We introduce ArcheType, a simple, practical method for context sampling, prompt serialization, model querying, and label remapping, which enables large language models to solve CTA problems in a fully zero-shot manner. We ablate each component of our method separately, and establish that improvements to context sampling and label remapping provide the most consistent gains. ArcheType establishes a new state-of-the-art performance on zero-shot CTA benchmarks (including three new domain-specific benchmarks which we release along with this paper), and when used in conjunction with classical CTA techniques, it outperforms a SOTA DoDuo model on the fine-tuned SOTAB benchmark. Our code is available at https://github.com/penfever/ArcheType.

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

↑