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

注意在Few-Shot文本分类元学习中的重要性

On the Importance of Attention in Meta-Learning for Few-Shot Text Classification

Imagia Inc.(伊马吉亚公司);Dalhousie University(达尔豪斯大学)

Xiang Jiang, Mohammad Havaei, Gabriel Chartrand, Hassan Chouaib, Thomas Vincent, Andrew Jesson, Nicolas Chapados, Stan Matwin

摘要:

当前基于深度学习的文本分类方法受到其在数据稀缺时实现快速学习和泛化的能力的限制。我们通过整合一个元学习过程来解决这个问题,该过程使用在许多任务中学到的知识作为对更好的自然语言理解的归纳偏见。基于模型不可知元学习框架(MAML),提出了一种用于文本分类的注意任务不可知元学习(ATAML)算法。MAML和ATAML的本质区别在于任务不可知的表示学习和任务特定的注意适应的分离。建议ATAML的目的是鼓励任务不可知的表示学习的任务不可知的参数化的方式和促进特定任务的适应通过注意力机制。我们提供的证据表明,在ATAML的注意力机制有协同效应的学习成绩。与随机初始化训练的模型,预训练模型和Meta训练的MAML相比,我们提出的ATAML方法在miniRCV 1和miniReuters-21578数据集中的单标签和多标签分类任务上具有更好的泛化能力。

英文摘要:

Current deep learning based text classification methods are limited by their ability to achieve fast learning and generalization when the data is scarce. We address this problem by integrating a meta-learning procedure that uses the knowledge learned across many tasks as an inductive bias towards better natural language understanding. Based on the Model-Agnostic Meta-Learning framework (MAML), we introduce the Attentive Task-Agnostic Meta-Learning (ATAML) algorithm for text classification. The essential difference between MAML and ATAML is in the separation of task-agnostic representation learning and task-specific attentive adaptation. The proposed ATAML is designed to encourage task-agnostic representation learning by way of task-agnostic parameterization and facilitate task-specific adaptation via attention mechanisms. We provide evidence to show that the attention mechanism in ATAML has a synergistic effect on learning performance. In comparisons with models trained from random initialization, pretrained models and meta trained MAML, our proposed ATAML method generalizes better on single-label and multi-label classification tasks in miniRCV1 and miniReuters-21578 datasets.

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

↑