Quick-CapsNet (QCN): A fast alternative to Capsule Networks
Preprint
Abstract
The basic computational unit in Capsule Network (CapsNet) is a capsule (vs. neurons in Convolutional Neural Networks (CNNs)). A capsule is a set of neurons, which form a vector. CapsNet is used for supervised classification of data and has achieved state-of-the-art accuracy on MNIST digit recognition dataset, outperforming conventional CNNs in detecting overlapping digits. Moreover, CapsNet shows higher robustness towards affine transformation when compared to CNNs for MNIST datasets. One of the drawbacks of CapsNet, however, is slow training and testing. This can be a bottleneck for applications that require a fast network, especially during inference. In this work, we introduce Quick-CapsNet (QCN) as a fast alternative to CapsNet, which can be a starting point to develop CapsNet for fast real-time applications. QCN builds on producing a fewer number of capsules, which results in a faster network. QCN achieves this at the cost of marginal loss in accuracy. Inference is 5x faster on MNIST, F-MNIST, SVHN and Cifar-10 datasets. We also further enhanced QCN by employing a more powerful decoder instead of the default decoder to further improve QCN.Keywords
All Related Versions
- Version 1, 2025-10-09, ArXiv
- Published version: , 1.
This publication has 5 references indexed in Scilit:
- DeepCaps: Going Deeper With Capsule Networks2019
- MS-CapsNet: A Novel Multi-Scale Capsule NetworkIEEE Signal Processing Letters, 2018
- Fast CapsNet for Lung Cancer Screening2018
- Fast Convergent Capsule Network with Applications in MNIST2018
- A survey on deep learning-based fine-grained object classification and semantic segmentationInternational Journal of Automation and Computing, 2017