arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1712.05652cs.LGcs.CV
收藏

训练前的注意力机制

Pre-training Attention Mechanisms

Stanford University(斯坦福大学)

Jack Lindsey

摘要:

具有可区分注意力机制的递归神经网络在生成和分类任务中取得了成功。我们表明,这样的模型的分类性能可以通过引导随机初始化的模型参加在早期的训练迭代的输入的显着区域,以提高。我们进一步表明,如果没有明确的指导策略,则在无监督重建任务上进行预训练的模型可以在没有监督的情况下发现良好的注意力策略。我们证明,提高效率的注意力机制本身有助于这些性能的改善。基于这些见解,我们引入了自举式的一瞥模仿,这是一种简单的,理论上更有效地训练注意力模型的任务通用方法。我们的工作从人类学习注意力的结果中汲取灵感,并与之平行。

英文摘要:

Recurrent neural networks with differentiable attention mechanisms have had success in generative and classification tasks. We show that the classification performance of such models can be enhanced by guiding a randomly initialized model to attend to salient regions of the input in early training iterations. We further show that, if explicit heuristics for guidance are unavailable, a model that is pretrained on an unsupervised reconstruction task can discover good attention policies without supervision. We demonstrate that increased efficiency of the attention mechanism itself contributes to these performance improvements. Based on these insights, we introduce bootstrapped glimpse mimicking, a simple, theoretically task-general method of more effectively training attention models. Our work draws inspiration from and parallels results on human learning of attention.

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

↑