Abstract
Convolutional Neural Networks have provided state-of-the-art results in several computer vision problems. However, due to a large number of parameters in CNNs, they require a large number of training samples which is a limiting factor for small sample size problems. To address this limitation, we propose SSF-CNN which focuses on learning the structure and strength of filters. The structure of the filter is initialized using a dictionary-based filter learning algorithm and the strength of the filter is learned using the small sample training data. The architecture provides the flexibility of training with both small and large training databases and yields good accuracies even with small size training data. The effectiveness of the algorithm is first demonstrated on MNIST, CIFAR10, and NORB databases, with a varying number of training samples. The results show that SSF-CNN significantly reduces the number of parameters required for training while providing high accuracies the test databases. On small sample size problems such as newborn face recognition and Omniglot, it yields state-of-the-art results. Specifically, on the IIITD Newborn Face Database, the results demonstrate improvement in rank-1 identification accuracy by at least 10%.
Introduction
Deep learning models typically require massive datasets to avoid overfitting, making them difficult to apply to "Small Sample Size" (SSS) problems. While architectures like ResNet and DenseNet dominate computer vision, they rely on millions of parameters. When training data is scarce—such as in medical imaging, rare character recognition, or newborn biometrics—these models quickly overfit, essentially "memorizing" noise in the small training set rather than learning generalizable features.
Existing solutions like transfer learning (fine-tuning) help but often still leave too many degrees of freedom for very small datasets. Handcrafted filters avoid training but may not capture the specific distribution of the target data. The proposed SSF-CNN seeks a middle ground: a model that can learn the essential patterns of a domain while keeping the "search space" small enough to handle limited samples.
Methodology: The SSF-CNN Framework
The core innovation is the Structure and Strength Filtered CNN (SSF-CNN). The authors propose that a filter's pattern (structure) and its importance (strength) can be decoupled.
- Learning Structure: Instead of random initialization, representative "atoms" (patterns) are extracted from the data in an unsupervised manner using Hierarchical Dictionary Learning (e.g., K-SVD). These atoms become the base weights ($W$) for the CNN filters.
- Learning Strength: During the training phase on the small dataset, the structural weights ($W$) are frozen. The network only learns a scalar parameter $t$ (the "strength") for each filter.
- The Operation: The standard convolution $X * W$ is replaced with $X * (t \odot W)$.
This approach effectively reduces the number of trainable parameters in a convolutional layer by a factor of $k^2$ (where $k$ is the filter size). For a $3 \times 3$ filter, the model learns 1 parameter instead of 9, which naturally acts as a powerful regularizer against overfitting.
Experimental Setup
The authors evaluated their method on both simulated and real-world small-sample scenarios:
- Standard Benchmarks: MNIST, CIFAR-10, and NORB (tested with training sizes as small as 100 samples).
- IIITD Newborn Face Database: A challenging real-world dataset of 96 newborns. This is particularly difficult because infant faces change rapidly in the first few weeks of life.
- Omniglot: A "few-shot" learning dataset containing 1,623 handwritten characters from 50 different alphabets.
Results and Discussion
SSF-CNN achieved massive parameter reduction. On the CIFAR-10 dataset using a ResNet backbone, SSF-CNN reduced the number of trainable parameters from 242,352 to just 26,928. In newborn face recognition, it achieved a rank-1 identification accuracy of 70.42% with only one gallery image per subject, outperforming standard fine-tuning by over 10%.
Visualizing the filters reveals that dictionary-initialized filters are much "cleaner" and more structured than those trained from scratch on small data, which often appear as incoherent noise. Furthermore, the authors found they could take structural filters learned from a completely different large dataset (like ImageNet) and simply learn the "strengths" for a new task to achieve high performance. This suggests that "strength" is the primary dial for domain adaptation in small-sample regimes.
Conclusion
SSF-CNN addresses the challenges of small sample size training by learning filter structure and strength separately. While it introduces a pre-processing stage for dictionary learning, it significantly improves accuracy and reduces overfitting in data-constrained scenarios. Future work may explore supervised dictionary learning to further optimize filter structures for specific tasks.
Summary updated