[Paper Review] HitNet: a neural network with capsules embedded in a Hit-or-Miss layer, extended with hybrid data augmentation and ghost capsules
HitNet introduces a novel neural network architecture that replaces traditional classification layers with a Hit-or-Miss (HoM) layer of capsules, using a centripetal loss to improve classification accuracy and speed. It achieves state-of-the-art performance on MNIST and outperforms CapsNet on multiple datasets, while enabling hybrid data augmentation via learned prototypes and ghost capsules for detecting mislabeled data.
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.
Motivation & Objective
- To develop a faster and more accurate alternative to CapsNet for image classification by simplifying the architecture while retaining capsule-based representational power.
- To enable effective data augmentation by combining real data with synthetic data generated from feature-space prototypes.
- To detect potentially mislabeled training images using ghost capsules that evaluate alternative class predictions.
- To demonstrate that a minimal capsule layer can outperform complex capsule networks with dynamic routing.
Proposed method
- Introduces a Hit-or-Miss (HoM) layer where capsules are trained to 'hit' the true class capsule and 'miss' others using a novel centripetal loss function.
- Employs a reconstruction network (decoder) to generate prototypes—class-specific representatives—by deforming reconstructed features from the HoM layer.
- Applies hybrid data augmentation by combining real training images with synthetic images generated from deformed prototypes in feature space.
- Incorporates ghost capsules that simulate alternative class predictions and assess whether they would 'hit' the target, enabling detection of ambiguous or mislabeled samples.
- Uses a squashing activation to preserve capsule vector orientation and ensure activity vector length encodes existence probability.
- Trains the network end-to-end with a combined loss: centripetal loss for classification and reconstruction loss for prototype generation.
Experimental results
Research questions
- RQ1Can a minimal capsule layer with a novel loss function outperform CapsNet in accuracy and speed on standard benchmarks?
- RQ2Can prototypes derived from the decoder be used effectively for hybrid data augmentation combining data-space and feature-space generation?
- RQ3Can ghost capsules detect potentially mislabeled images by evaluating alternative class predictions?
- RQ4Does HitNet generalize well without requiring learning rate decay or extensive hyperparameter tuning?
Key findings
- HitNet achieves state-of-the-art performance on the MNIST dataset with a shallow architecture, surpassing results reported for CapsNet.
- HitNet outperforms reproduced CapsNet results on multiple datasets, including affNIST, multiMNIST, SVHN, smallNORB, and CIFAR10, with at least 10× faster training.
- The network converges stably without requiring learning rate decay and shows low variance across multiple random seeds, indicating robustness.
- Hybrid data augmentation using prototypes improves generalization and marginally increases classification accuracy by generating realistic synthetic samples.
- Ghost capsules successfully identify suspicious training images by detecting strong alternative class predictions, enabling detection of potential labeling errors.
- The HoM layer with centripetal loss enables faster convergence and better performance than dynamic routing in CapsNet, while maintaining capsule-based spatial reasoning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.