文章目录

  • Dynamic Routing
    • Coefficients operate on capsule level
    • Dynamic Routing: Routing by Agreement
    • Comparison to fully connected neural network
  • front-up content
    • Computing input/output vectors of a capsule
    • Routing by Agreement
    • CapsNet Architecture
    • Performance of Capsule Networks
    • Matrix capsules with EM routing

Dynamic Routing

Conventional net: 层之间完全连接

  • 任何两个神经元之间的加权都是可以训练的
  • 训练之后,这些权重是固定的,与输入无关
    CapsNet 也有这些权重
  • 但是additional routing coefficients 用于训练权重(coefficient value 由输入决定,因此是动态的)
  • 没有动态路由的CapsNet和常规网络一样

CNN中类似动态路由的成分是max pooling
Max pooling是从前一层到后一层选择路由信息的粗糙方法。

Coefficients operate on capsule level


  • The contribution of a capsule to another capsule in the next layer is determined by the weight matrix and a single scalar coefficient
  • The first capsule u∈R3 contributes to the capsule s∈R2 in the next layer by 0.1⋅W1,2⋅u where
    0.1 is the routing coefficient and W1,2 is a 2x3 matrix whose subscript denotes the indices of capsules in the two layers.
  • The total contribution of a capsule is exactly 1.Capsule u route to capsule v with routing coefficient 0.9 and to capsule s with 0.1.
  • This is a voting scheme where each capsule in layer before vote for each capsule in layer after.
    (前面对后面投票)

Dynamic Routing: Routing by Agreement


Updating the coefficients.
Idea: a capsule votes more if its transformation agrees with the majority of other capsules
Shows routing coefficients to the first capsule in second layer denoted by ci1 for capsule ui
In the beginning all ci1 initialized to 1⁄2 since each capsule routes to all two capsules in the next layer The activation of the first capsule s1 in the next layer is the sum of all transformed and scaled vectors ci1Wi1ui from the left layer
The amount of change in coefficient (i.e. vote) is determined by the dot product between s_i and each summand ci1Wi1ui

Comparison to fully connected neural network

全连接网络

胶囊网络


front-up content

Computing input/output vectors of a capsule

Routing by Agreement

CapsNet Architecture

Performance of Capsule Networks

Matrix capsules with EM routing

Capsule Networks胶囊网络(二)相关推荐

  1. Capsule Networks胶囊网络(一)

    原文链接:小样本学习与智能前沿 author: Sargur Srihari srihari@buffalo.edu This is part of lecture slides on Deep Le ...

  2. Capsule Networks 胶囊网络

    胶囊网络是Hinton老爷子近几年提出的一种新型的神经网络,他认为胶囊网络的设计更加符合人类神经元的原理,是未来可以替代传统神经网络的一种新的神经网络. 提出背景 提出背景其实就是现有某种算法出现了一 ...

  3. CapsNet(Capsule Network)——胶囊网络原理

    在讲胶囊网络之前,首先我们回顾一下我们熟悉的CNN. CNN做了什么事情呢? 假设这里有一个卷积核(左图),除了曲线轨迹上的值很大,其他的值都是零,所以这个卷积核对旁边这种曲线(右图)就有很高的输出, ...

  4. python实现胶囊网络_深度学习精要之CapsuleNets理论与实践(附Python代码)

    摘要: 本文对胶囊网络进行了非技术性的简要概括,分析了其两个重要属性,之后针对MNIST手写体数据集上验证多层感知机.卷积神经网络以及胶囊网络的性能. 神经网络于上世纪50年代提出,直到最近十年里才得 ...

  5. 胶囊网络是什么及其应用

    In 1998, Yann LeCun and Yoshua Bengio introduced what is now one of the most popular models in Deep ...

  6. 介绍胶囊网络 capsule networks

    读到一篇文章,介绍capsule networks,特此记录笔记. 原始链接: https://www.oreilly.com/ideas/introducing-capsule-networks?u ...

  7. Siamese Capsule Networks 翻译 (孪生胶囊网络)

    摘要 胶囊网络在事实上的基准计算机视觉数据集(例如MNIST,CIFAR和smallNORB)上显示出令人鼓舞的结果. 虽然,它们尚未在以下任务上进行测试:(1)所检测到的实体固有地具有更复杂的内部表 ...

  8. python实现胶囊网络_胶囊网络 -- Capsule Networks

    胶囊网络是 vector in vector out的结构,最后对每个不同的类别,输出不一个向量,向量的模长表示属于该类别的概率. 例如,在数字识别中,两个数字虽然重叠在一起,Capsule中的两个向 ...

  9. Group equivariant capsule networks(组等变胶囊网络) 论文翻译

    摘要 我们提出了组等变胶囊网络,这是一个向胶囊网络概念引入保证的等方差和不变性的框架.我们的工作可以分为两部分.首先,我们介绍了一种在组的元素上定义的通过协议算法的通用路由,并证明了输出姿势向量的等方 ...

最新文章

  1. 46 岁美国华裔“鞋王”意外去世,25 岁创业成亿万富翁
  2. 大话:边缘计算、雾计算、云计算
  3. c++类例子之类中有类
  4. 安装python3.6-pyppeteer
  5. Windows 微信兼容性问题:微信截图放大解决办法。
  6. Transformer论文阅读(一): Attention is all you need
  7. linux下java调用matlab程序,linux_java调用windows_matlab程序
  8. Tomcat的类加载器
  9. 【C语言进阶深度学习记录】十四 C语言中 三目运算符和逗号表达式
  10. RPC 服务 与 HTTP 服务的区别
  11. DDD(领域驱动设计)系列之一-DomainPrimitive
  12. Python脚本的“__name__”属性
  13. 关于HP C7K的firmware management中的power policy理解
  14. 使用Java模拟浏览器登陆网站(以抓取武汉理工大学教务处学生个人课表网页为例)
  15. X99-DELUXE II 无线网卡linux驱动RHEL8.5-centos8.5
  16. 字节跳动、腾讯、阿里的社交战,浑水中依然没有赢家
  17. 可以实现内网穿透的几款工具
  18. 服务器系统壁纸,云服务器壁纸
  19. php x509certificate,ssl - .NET中的X509Certificate2和X509Certificate有什么区别?
  20. 培训材料设计之 夏虫不可语以冰

热门文章

  1. 读书笔记-人月神话1
  2. 读书笔记-人月神话6
  3. (四)分布式系统-Communication
  4. js中的var是什么意思
  5. PDF Extra Premium v7.0.4622 多合一 PDF 编辑器直装版
  6. 中国空中Wi-Fi市场预期达百亿
  7. java过滤器敏感字的拦截_【JavaWeb】94:如何屏蔽敏感词?
  8. 孤陌山水间,时光莫追
  9. 数据挖掘导论学习笔记:第三章 探索数据
  10. STM32F429的LCD-TFT模块 资料整理