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

语言建模的一次性学习

One-Shot Learning for Language Modelling

Talip Ucar, Adrian Gonzalez-Martin, Matthew Lee, Adrian Daniel Szwarc

摘要:

即使是第一次阅读或听到一个单词,人类也可以利用周围单词的句法和语义来推断出这个单词的大量含义。我们还可以将学到的单词概念推广到新的任务中。尽管在某些任务中实现人类水平的性能方面取得了很大进展(Silver等人,2016年),从一个或几个示例中学习仍然是机器学习的一个关键挑战,并且在自然语言处理(NLP)中尚未得到彻底探索。在这项工作中,我们解决了NLP任务的oneshot学习问题,采用了机器学习最新发展的思想:嵌入,注意力机制(softmax)和相似性度量(余弦,欧几里得,庞加莱和Minkowski)。我们采用匹配网络中建议的框架(Vinyals等人,2016),并探索上述方法在一次、两次和三次学习问题中对预测缺失单词的任务的有效性(Vinyals等人,2016)通过使用WikiText-2数据集。我们的工作在两个方面做出了贡献:我们的第一个贡献是,我们探索了不同距离度量对k-shot学习的有效性,并表明对于k-shot学习,没有单一的最佳距离度量,这挑战了普遍的信念。我们发现,距离度量的性能取决于训练过程中使用的射击次数。我们工作的第二个贡献是,我们建立了一个基准,两个和三个镜头学习的语言任务与公开可用的数据集,可用于基准在未来的研究。

英文摘要:

Humans can infer a great deal about the meaning of a word, using the syntax and semantics of surrounding words even if it is their first time reading or hearing it. We can also generalise the learned concept of the word to new tasks. Despite great progress in achieving human-level performance in certain tasks (Silver et al., 2016), learning from one or few examples remains a key challenge in machine learning, and has not thoroughly been explored in Natural Language Processing (NLP). In this work we tackle the problem of oneshot learning for an NLP task by employing ideas from recent developments in machine learning: embeddings, attention mechanisms (softmax) and similarity measures (cosine, Euclidean, Poincare, and Minkowski). We adapt the framework suggested in matching networks (Vinyals et al., 2016), and explore the effectiveness of the aforementioned methods in one, two and three-shot learning problems on the task of predicting missing word explored in (Vinyals et al., 2016) by using the WikiText-2 dataset. Our work contributes in two ways: Our first contribution is that we explore the effectiveness of different distance metrics on k-shot learning, and show that there is no single best distance metric for k-shot learning, which challenges common belief. We found that the performance of a distance metric depends on the number of shots used during training. The second contribution of our work is that we establish a benchmark for one, two, and three-shot learning on a language task with a publicly available dataset that can be used to benchmark against in future research.

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

↑