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

ConEntail:一个基于蕴涵的监督对比预训练的泛零和Few Shot分类框架

ConEntail: An Entailment-based Framework for Universal Zero and Few Shot Classification with Supervised Contrastive Pretraining

Penn State University(宾夕法尼亚州立大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Ranran Haoran Zhang, Aysa Xuemo Fan, Rui Zhang

摘要:

通用分类模型旨在推广到零和Few Shot设置中的不同分类任务。一种有希望的通用分类方法是将异构数据格式转换为与数据集无关的"元任务"(例如,文本蕴涵、问答),然后在组合的元数据集上预训练模型。现有的工作要么是对特定的分类任务子集进行预训练,要么是对分类和生成数据进行预训练,但模型在通用性和可靠性方面无法发挥其潜力。这也留下了大量未被利用的注释数据。为了填补这些空白,我们提出了ConEntail,一个新的框架,用于通用零和Few Shot分类,并进行监督对比预训练。我们的统一分类元任务是基于嵌套蕴涵。它可以被解释为"句子a是否包含[句子b包含标签c]"。这个公式使我们能够更好地利用57个带注释的分类数据集进行监督对比预训练和通用评估。通过这种方式,ConEntail帮助模型(1)从不同的数据集中吸收知识,(2)通过更多的预训练数据获得一致的性能增益。在实验中,我们将我们的模型与在相同数据集上预训练的判别模型和生成模型进行了比较。结果证实,我们的框架有效地利用了现有的注释数据,并在零(平均改善9.4%)和Few Shot设置(平均改善3.5%)中始终优于基线。

英文摘要:

A universal classification model aims to generalize to diverse classification tasks in both zero and few shot settings. A promising way toward universal classification is to cast heterogeneous data formats into a dataset-agnostic "meta-task" (e.g., textual entailment, question answering) then pretrain a model on the combined meta dataset. The existing work is either pretrained on specific subsets of classification tasks, or pretrained on both classification and generation data but the model could not fulfill its potential in universality and reliability. These also leave a massive amount of annotated data under-exploited. To fill these gaps, we propose ConEntail, a new framework for universal zero and few shot classification with supervised contrastive pretraining. Our unified meta-task for classification is based on nested entailment. It can be interpreted as "Does sentence a entails [sentence b entails label c]". This formulation enables us to make better use of 57 annotated classification datasets for supervised contrastive pretraining and universal evaluation. In this way, ConEntail helps the model (1) absorb knowledge from different datasets, and (2) gain consistent performance gain with more pretraining data. In experiments, we compare our model with discriminative and generative models pretrained on the same dataset. The results confirm that our framework effectively exploits existing annotated data and consistently outperforms baselines in both zero (9.4% average improvement) and few shot settings (3.5% average improvement).

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

↑