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

一种全域胶囊布线算法

An Algorithm for Routing Capsules in All Domains

Glassroom(格拉斯鲁姆公司)

Franz A. Heinsen

摘要:

基于最近对胶囊网络的研究,我们提出了一种新的通用形式的“协议路由”,该协议激活层中的输出胶囊,作为其使用净收益和净成本的函数,以忽略来自早期层的输入胶囊。为了说明我们的路由算法的有用性,我们提出了两个胶囊网络,将其应用于不同的领域:视觉和语言。第一个网络在smallNORB视觉识别任务中实现了99.1%的最新准确率,参数更少,训练数量级比以前的胶囊模型少,我们发现证据表明它学会了执行一种形式的“反向图形”。“第二个网络在斯坦福情感树库的根句子上实现了新的最先进的准确率:细粒度标签上的准确率为58.5%,二进制标签上的准确率为95.6%,其中单任务模型将来自预训练的Transformer的冻结嵌入作为胶囊路由。在这两个领域,我们都采用同样的制度进行训练。代码可在https://github.com/glassroom/heinsen_routing以及复制说明中获得。

英文摘要:

Building on recent work on capsule networks, we propose a new, general-purpose form of "routing by agreement" that activates output capsules in a layer as a function of their net benefit to use and net cost to ignore input capsules from earlier layers. To illustrate the usefulness of our routing algorithm, we present two capsule networks that apply it in different domains: vision and language. The first network achieves new state-of-the-art accuracy of 99.1% on the smallNORB visual recognition task with fewer parameters and an order of magnitude less training than previous capsule models, and we find evidence that it learns to perform a form of "reverse graphics." The second network achieves new state-of-the-art accuracies on the root sentences of the Stanford Sentiment Treebank: 58.5% on fine-grained and 95.6% on binary labels with a single-task model that routes frozen embeddings from a pretrained transformer as capsules. In both domains, we train with the same regime. Code is available at https://github.com/glassroom/heinsen_routing along with replication instructions.

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

↑