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

训练一次,测试无处不在:文本分类的零样本学习

Train Once, Test Anywhere: Zero-Shot Learning for Text Classification

ParallelDots, Inc.(ParallelDots公司)

Pushpankar Kumar Pushp, Muktabh Mayank Srivastava

摘要:

Zero-shot Learners是能够预测未见过的类的模型。在这项工作中,我们提出了一个零样本学习的文本分类方法。我们的方法涉及在大型句子语料库上训练模型,以学习句子与句子标签嵌入之间的关系。学习这种关系使模型推广到看不见的句子,标签,甚至新的数据集,只要它们可以放入相同的嵌入空间。该模型学习预测给定句子是否与标签相关;不像其他分类器学习将句子分类为可能的类别之一。我们提出了三种不同的神经网络的任务,并报告其准确性的测试集的数据集用于训练他们,以及其他两个标准的数据集,没有进行再训练。我们表明,在这两种情况下,我们的模型在新的看不见的类中推广得很好。虽然模型没有达到最先进的监督模型的准确性水平,但它显然是朝着自然语言处理的通用智能迈出了一步。

英文摘要:

Zero-shot Learners are models capable of predicting unseen classes. In this work, we propose a Zero-shot Learning approach for text categorization. Our method involves training model on a large corpus of sentences to learn the relationship between a sentence and embedding of sentence's tags. Learning such relationship makes the model generalize to unseen sentences, tags, and even new datasets provided they can be put into same embedding space. The model learns to predict whether a given sentence is related to a tag or not; unlike other classifiers that learn to classify the sentence as one of the possible classes. We propose three different neural networks for the task and report their accuracy on the test set of the dataset used for training them as well as two other standard datasets for which no retraining was done. We show that our models generalize well across new unseen classes in both cases. Although the models do not achieve the accuracy level of the state of the art supervised models, yet it evidently is a step forward towards general intelligence in natural language processing.

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

↑