Neural Network Encapsulation

Hongyang Li, Xiaoyang Guo, Bo DaiWanli Ouyang, Xiaogang Wang; The European Conference on Computer Vision (ECCV), 2018, pp. 252-267


A capsule is a collection of neurons which represents different variants of a pattern in the network. The routing scheme ensures only certain capsules who resemble lower counterparts in the higher layer should be activated. However, the computational complexity becomes an bottleneck for scaling up to larger networks, as lower capsules need to correspond to each and every higher capsule. To resolve this limitation, we approximate the routing process with two branches: a master branch which collects primary information from its direct contact in the lower layer and an aide branch that replenishes master based on pattern variants encoded in other lower capsules. Compared with previous iterative and unsupervised routing scheme, these two branches are communicated in a fast, supervised and one-time pass fashion. The complexity and runtime of the model are therefore decreased by a large margin. Motivated by the routing to make higher capsule have agreement with lower capsule, we extend the mechanism as a compensation for the rapid loss of information in nearby layers. We devise a feedback agreement unit to send back higher capsules as feedback. It could be regarded as an additional regularization to the network. The feedback agreement is achieved by comparing the optimal transport divergence between two distributions. Such an add-on witnesses a unanimous gain in both capsule and vanilla networks. Our proposed EncapNet performs favorably better against previous state-of-the-arts on CIFAR10/100, SVHN and a subset of ImageNet which consists of 200 hardest object classes.

Related Material

author = {Li, Hongyang and Guo, Xiaoyang and DaiWanli Ouyang, Bo and Wang, Xiaogang},
title = {Neural Network Encapsulation},
booktitle = {The European Conference on Computer Vision (ECCV)},
month = {September},
year = {2018}