arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.14655cs.CLcs.LG
收藏

基于Siamese网络和标签调整的少样本学习

Few-Shot Learning with Siamese Networks and Label Tuning

Symanto Research(赛曼托研究)

Thomas Müller, Guillermo Pérez-Torró, Marc Franco-Salvador

摘要:

我们研究的问题,建立文本分类很少或没有训练数据,通常称为零和Few-Shot文本分类。近年来,一种基于神经文本蕴涵模型的方法被发现在各种任务上都有很好的效果。在这项工作中,我们表明,通过适当的预训练,嵌入文本和标签的暹罗网络提供了一个有竞争力的替代方案。这些模型允许大幅降低推理成本:标签数量恒定而不是线性。此外,我们引入标签调整,一个简单的和计算效率高的方法,允许适应模型在一个Few-Shot设置只改变标签嵌入。虽然性能低于模型微调,但这种方法具有架构优势,即单个编码器可以由许多不同的任务共享。

英文摘要:

We study the problem of building text classifiers with little or no training data, commonly known as zero and few-shot text classification. In recent years, an approach based on neural textual entailment models has been found to give strong results on a diverse range of tasks. In this work, we show that with proper pre-training, Siamese Networks that embed texts and labels offer a competitive alternative. These models allow for a large reduction in inference cost: constant in the number of labels rather than linear. Furthermore, we introduce label tuning, a simple and computationally efficient approach that allows to adapt the models in a few-shot setup by only changing the label embeddings. While giving lower performance than model fine-tuning, this approach has the architectural advantage that a single encoder can be shared by many different tasks.

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

↑