figure images/logo-HitNet.png HitNet: a neural network with capsules embedded in a Hit-or-Miss layer, extended with hybrid data augmentation and ghost capsules

Summary

Neural networks designed for the task of classification have become a commodity in recent years. Many works target the development of better networks, which results in a complexification of their architectures with more layers, multiple sub-networks, or even the combination of multiple classifiers. In this paper, we show how to redesign a simple network to reach excellent performances, which are better than the results reproduced with CapsNet on several datasets, by replacing a layer with a Hit-or-Miss layer. This layer contains activated vectors, called capsules, that we train to hit or miss a central capsule by tailoring a specific centripetal loss function. We also show how our network, named HitNet, is capable of synthesizing a representative sample of the images of a given class by including a reconstruction network. This possibility allows to develop a data augmentation step combining information from the data space and the feature space, resulting in a hybrid data augmentation process. In addition, we introduce the possibility for HitNet, to adopt an alternative to the true target when needed by using the new concept of ghost capsules, which is used here to detect potentially mislabeled images in the training data.

Description

figure images/AdriNet-HoM-final.png
Graphical representation of the structure of our new network, named HitNet. Our contributions are highlighted in red, and comprise a new Hit-or-Miss layer, a centripetal loss, prototypes that can be built with the decoder, and ghost capsules that can be embedded in the HoM layer.
All details are available in A. Deliège, A. Cioppa, and M. Van Droogenbroeck, “HitNet: a neural network with capsules embedded in a Hit-or-Miss layer, extended with hybrid data augmentation and ghost capsules”, ArXiv, June 2018.

Source code in Python

We provide the source code: HitNet.zip

Credits

If you use our code, we would appreciate that you cite [1]:
@article{Deliege2018HitNet,         
  title = {{HitNet}: a neural network with capsules embedded in a {Hit-or-Miss} layer, extended with hybrid data augmentation and ghost capsules},         
  author = {A. Deli\`ege and A. Cioppa and M. {Van Droogenbroeck}},         
  journal = {ArXiv},         
  month = {June},         
  year = {2018},         
  volume = {abs/1806.06519},         
  url = {https://arxiv.org/abs/1806.06519}
} 

References

[1] A. Deliège, A. Cioppa, M. Van Droogenbroeck. HitNet: a neural network with capsules embedded in a Hit-or-Miss layer, extended with hybrid data augmentation and ghost capsules. ArXiv, abs/1806.06519, 2018. URL https://arxiv.org/abs/1806.06519.