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

学习深度学习的组合结构:为什么需要协议路由

Learning Compositional Structures for Deep Learning: Why Routing-by-agreement is Necessary

Sri Sathya Sai Institute of Higher Learning(斯里萨特亚赛高等研究院)

Sai Raam Venkatraman, Ankit Anand, S. Balasubramanian, R. Raghunatha Sarma

摘要:

神经网络的组合性的形式化描述与它试图表示的对象的形式化语法结构直接相关。这种正式的语法结构指定了组成对象的组件的种类,以及它们允许的配置。换句话说,对象可以被描述为它的组件的解析树--一种可以被看作是在神经网络中的神经元之间建立连接模式的候选结构。我们提出了一个正式的语法描述的卷积神经网络和胶囊网络,显示胶囊网络可以强制执行这样的解析树结构,而CNN没有。具体来说,我们表明,在动态路由算法中的路由系数的熵控制这种能力。因此,我们引入了路由权重的熵作为一个损失函数更好的组合胶囊之间。我们通过对具有组成结构的数据进行实验表明,这种损失的使用使胶囊网络能够更好地检测组成性的变化。我们的实验表明,随着路由权重的熵的增加,检测组合性变化的能力降低。我们看到,在没有路由的情况下,胶囊网络的表现与卷积神经网络相似,因为这两种模型在检测组合性变化方面表现都很差。我们的研究结果表明,路由是胶囊网络的重要组成部分-有效地回答了最近的工作,质疑其必要性。我们还通过对SmallNORB、CIFAR-10和FashionMNIST的实验表明,这种损失使胶囊网络模型的准确性与不使用它的模型相当。

英文摘要:

A formal description of the compositionality of neural networks is associated directly with the formal grammar-structure of the objects it seeks to represent. This formal grammar-structure specifies the kind of components that make up an object, and also the configurations they are allowed to be in. In other words, objects can be described as a parse-tree of its components -- a structure that can be seen as a candidate for building connection-patterns among neurons in neural networks. We present a formal grammar description of convolutional neural networks and capsule networks that shows how capsule networks can enforce such parse-tree structures, while CNNs do not. Specifically, we show that the entropy of routing coefficients in the dynamic routing algorithm controls this ability. Thus, we introduce the entropy of routing weights as a loss function for better compositionality among capsules. We show by experiments, on data with a compositional structure, that the use of this loss enables capsule networks to better detect changes in compositionality. Our experiments show that as the entropy of the routing weights increases, the ability to detect changes in compositionality reduces. We see that, without routing, capsule networks perform similar to convolutional neural networks in that both these models perform badly at detecting changes in compositionality. Our results indicate that routing is an important part of capsule networks -- effectively answering recent work that has questioned its necessity. We also, by experiments on SmallNORB, CIFAR-10, and FashionMNIST, show that this loss keeps the accuracy of capsule network models comparable to models that do not use it .

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

↑