arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.00825cs.LGstat.ML
收藏

集合Transformer:一个基于注意的置换不变神经网络框架

Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networks

University of Oxford(牛津大学);AITRICS;Kakao Corporation(Kakao公司);POSTECH(浦项科技大学)

Juho Lee, Yoonho Lee, Jungtaek Kim, Adam R. Kosiorek, Seungjin Choi, Yee Whye Teh

摘要:

许多机器学习任务,例如多实例学习、3D形状识别和Few-Shot图像分类,都是在实例集上定义的。由于这些问题的解决方案不依赖于集合中元素的顺序,因此用于解决这些问题的模型应该是置换不变的。我们提出了一个基于注意力的神经网络模块,集Transformer,专门设计用于模拟输入集中元素之间的交互。该模型由一个编码器和一个解码器组成,两者都依赖于注意力机制。为了减少计算复杂性,我们引入了一个注意力计划的启发,从稀疏高斯过程的文献诱导点方法。它减少了自注意的计算时间从二次到线性的元素在集合中的数量。我们表明,我们的模型在理论上是有吸引力的,我们评估了一系列的任务,展示了最先进的性能相比,最近的方法集结构化数据。

英文摘要:

Many machine learning tasks such as multiple instance learning, 3D shape recognition, and few-shot image classification are defined on sets of instances. Since solutions to such problems do not depend on the order of elements of the set, models used to address them should be permutation invariant. We present an attention-based neural network module, the Set Transformer, specifically designed to model interactions among elements in the input set. The model consists of an encoder and a decoder, both of which rely on attention mechanisms. In an effort to reduce computational complexity, we introduce an attention scheme inspired by inducing point methods from sparse Gaussian process literature. It reduces the computation time of self-attention from quadratic to linear in the number of elements in the set. We show that our model is theoretically attractive and we evaluate it on a range of tasks, demonstrating the state-of-the-art performance compared to recent methods for set-structured data.

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

↑