Abstract
A capsule network (CapsNet) is a new neural network model that is recently evolving in the field of image classification. Some of the shortcomings of traditional convolutional neural networks (CNNs) are compensated by the characteristics of CapsNet. It has proven to be effective at a variety of tasks, predominantly in medical image recognition with activation capsules. In this paper, image classification using the special designs in CapsNet is examined in depth. An additional reconstruction loss is used in the proposed work to empower the steering capsules and encode the input’s instantiation parameters. The active vectors of higher-level capsules are used for the classification mechanism. The calculation at that point remakes the input picture thus utilizing these active vectors. The directing capsule’s yield is sent into a decoder with three completely associated layers, which limits the whole of squared disparities between the calculated unit yields and the pixel power. In comparison to a typical CapsNet, the improved CapsNet method incorporates the extra parameters such as the number of measurements in each capsule sort (essential or directing capsules), the number of essential and directing capsules, and the number of channels within the capsule layer that are used for image classification. The experimental results show promising results in image recognition when compared to other CNN model-based algorithms.
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs11760-022-02192-5/MediaObjects/11760_2022_2192_Fig1_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs11760-022-02192-5/MediaObjects/11760_2022_2192_Fig2_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs11760-022-02192-5/MediaObjects/11760_2022_2192_Fig3_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs11760-022-02192-5/MediaObjects/11760_2022_2192_Fig4_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs11760-022-02192-5/MediaObjects/11760_2022_2192_Fig5_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs11760-022-02192-5/MediaObjects/11760_2022_2192_Fig6_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs11760-022-02192-5/MediaObjects/11760_2022_2192_Fig7_HTML.png)
Similar content being viewed by others
References
Afshar, P., Mohammadi, A., Plataniotis, K.N.: BayesCap: a Bayesian approach to brain tumor classification using capsule networks. IEEE Signal Process. Lett. 27, 2024–2028 (2020)
Afshar, P., Mohammadi, A., Plataniotis, K.N.: Brain Tumor type classification via capsule networks. In: 2018 25th IEEE International Conference on Image Processing (ICIP), pp. 3129–3133 (2018). https://doi.org/10.1109/ICIP.2018.8451379
Afshar, P., Plataniotis, K.N., Mohammadi, A.: BoostCaps: A boosted capsule network for brain tumor classification. In: 2020 42nd Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp. 1075–1079 (2020). https://doi.org/10.1109/EMBC44109.2020.9175922
Afshar, P., Plataniotis, K.N., Mohammadi, A.: Capsule networks for brain tumor classification based on MRI images and coarse tumor boundaries. In: ICASSP 2019–2019 IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), pp. 1368–1372 (2019). https://doi.org/10.1109/ICASSP.2019.8683759
Afshar, P., Plataniotis, K.N., Mohammadi, A. Capsule networks interpretability for brain tumor classification via radiomics analyses. In: 2019 IEEE International Conference on Image Processing (ICIP), pp. 3816–3820 (2019). https://doi.org/10.1109/ICIP.2019.8803615
Alhassan, A.M., Zainon, W.M.N.W.: BAT algorithm with fuzzy C-ordered means (BAFCOM) clustering segmentation and enhanced capsule networks (ECN) for brain cancer MRI images classification. IEEE Access 8, 201741–201751 (2020). https://doi.org/10.1109/ACCESS.2020.3035803
Anupama, M.A., Sowmya, V., Soman, K.P.: Breast cancer classification using capsule network with pre-processed histology images. In: 2019 International Conference on Communication and Signal Processing (ICCSP), pp. 0143–0147 (2019). https://doi.org/10.1109/ICCSP.2019.8698043
Basu, A., Kaewrak, K., Petropoulakis, L., Caterina, G.D., Soraghan, J.J.: Modified capsule neural network (Mod-CapsNet) for indoor home scene recognition. In: 2020 International Joint Conference on Neural Networks (IJCNN), pp. 1–6 (2020). https://doi.org/10.1109/IJCNN48605.2020.9207084
Du, W., Sun, Y., Li, G., Cao, H., Pang, R., Li, Y.: CapsNet-SSP: Multilane capsule network for predicting human saliva-secretory proteins. BMC Bioinf. 21(1), 237 (2020). https://doi.org/10.1186/s12859-020-03579-2
Gumusbas, D., Yildirim, T., Kocakulak, M., Acir, N.: Capsule network for finger-vein-based biometric identification. In: 2019 IEEE Symposium Series on Computational Intelligence (SSCI), pp. 437–441 (2019). https://doi.org/10.1109/SSCI44817.2019.9003019
Hollósi, J., Pozna, C.R.: Improve the accuracy of neural networks using capsule layers. In: 2018 IEEE 18th International Symposium on Computational Intelligence and Informatics (CINTI), pp. 000015–000018 (2018). https://doi.org/10.1109/CINTI.2018.8928194
Katarya, R., Arora, Y.: Study on text classification using capsule networks. In: 2019 5th International Conference on Advanced Computing and Communication Systems (ICACCS), pp. 501–505 (2019). https://doi.org/10.1109/ICACCS.2019.8728394.
Li, L., Huang, J., Cheng, Q., Meng, H., Han, Z.: Automatic modulation recognition: a few-shot learning method based on the capsule network. IEEE Wirel. Commun. Lett. 10(3), 474–477 (2021). https://doi.org/10.1109/LWC.2020.3034913
Mazzia, V., Salvetti, F., Chiaberge, M.: Efficient-CapsNet: capsule network with self-attention routing. Sci Rep 11, 14634 (2021). https://doi.org/10.1038/s41598-021-93977-0
Mobiny, A., Lu, H., Nguyen, H.V., Roysam, B., Varadarajan, N.: Automated classification of apoptosis in phase contrast microscopy using capsule network. IEEE Trans. Med. Imaging 39(1), 1–10 (2020). https://doi.org/10.1109/TMI.2019.2918181
Patrick, M.K., Adekoya, A.F., Mighty, A.A., Edward, B.Y.: Capsule networks—a survey. J. King Saud Univ. Comput. Inf. Sci. (2021)
Poncelet, J., Hamme, H.V.: Multitask learning with capsule networks for speech-to-intent applications. ICASSP 2020–2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 8494–8498 (2020). https://doi.org/10.1109/ICASSP40776.2020.9053832
Quan, H., Xu, X., Zheng, T., Li, Z., Zhao, M., Cui, X.: DenseCapsNet: Detection of COVID-19 from X-ray images using a capsule neural network. Comput. Biol. Med. 133, 104399 (2021). https://doi.org/10.1016/j.compbiomed.2021.104399
Sabour, S., Frosst, N., Hinton, G.E.: Dynamic routing between capsules. In: Advances in Neural Information Processing Systems 30. In Proceedings of the Annual Conference on Neural Information Processing Systems, NIPS, Long Beach, CA, USA, pp. 3856–3866 (2017)
Sato, T., Hotta, K.: CNN to capsule network transformation. In: 2020 Digital Image Computing: Techniques and Applications (DICTA), pp. 1–2 (2020). https://doi.org/10.1109/DICTA51227.2020.9363395
Sun, K., Yuan, L., Xu, H., Wen, X.: Deep tensor capsule network. IEEE Access 8, 96920–96933 (2020). https://doi.org/10.1109/ACCESS.2020.2996282
Xi, E., Bing, S., Jin, Y.: Capsule network performance on complex data (2017) ArXiv abs/1712.03480
Xiong, Y., Su, G., Ye, S., Sun, Y., Sun, Y.: Deeper Capsule Network for Complex Data. In: 2019 International Joint Conference on Neural Networks (IJCNN), pp. 1–8 (2019). https://doi.org/10.1109/IJCNN.2019.8852020
Yao, H., Gao, P., Wang, J., Zhang, P., Jiang, C., Han, Z.: Capsule network assisted IoT traffic classification mechanism for smart cities. IEEE Internet Things J. 6(5), 7515–7525 (2019). https://doi.org/10.1109/JIOT.2019.2901348
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Deepika, J., Rajan, C. & Senthil, T. Improved CAPSNET model with modified loss function for medical image classification. SIViP 16, 2269–2277 (2022). https://doi.org/10.1007/s11760-022-02192-5
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11760-022-02192-5