[Paper Review] The Role of Typicality in Object Classification: Improving The Generalization Capacity of Convolutional Neural Networks
This paper proposes enhancing the generalization of Convolutional Neural Networks (CNNs) by weighting training samples based on their typicality, using external and internal typicality signals. By incorporating typicality into the loss function via MS-Hinge loss, the model achieves significantly improved accuracy—up to 44.73% on atypical test images—without fine-tuning, outperforming baseline and random weighting methods.
Deep artificial neural networks have made remarkable progress in different tasks in the field of computer vision. However, the empirical analysis of these models and investigation of their failure cases has received attention recently. In this work, we show that deep learning models cannot generalize to atypical images that are substantially different from training images. This is in contrast to the superior generalization ability of the visual system in the human brain. We focus on Convolutional Neural Networks (CNN) as the state-of-the-art models in object recognition and classification; investigate this problem in more detail, and hypothesize that training CNN models suffer from unstructured loss minimization. We propose computational models to improve the generalization capacity of CNNs by considering how typical a training image looks like. By conducting an extensive set of experiments we show that involving a typicality measure can improve the classification results on a new set of images by a large margin. More importantly, this significant improvement is achieved without fine-tuning the CNN model on the target image set.
Motivation & Objective
- To address the limited generalization of CNNs to atypical images that differ substantially from training data.
- To investigate why state-of-the-art CNNs fail on atypical images despite large-scale training data.
- To explore whether typicality-aware training can improve generalization without requiring fine-tuning on new data.
- To evaluate the effectiveness of external and internal typicality signals in enhancing model robustness.
- To determine optimal weighting strategies that balance typical and atypical samples for improved generalization.
Proposed method
- The authors introduce a typicality-weighted loss function using MS-Hinge loss, where training samples are weighted based on their typicality score.
- Typicality scores are computed externally using one-class SVM on image features or internally via network activations (e.g., internal probability or entropy).
- The method applies different functions (linear, log, exponential, polynomial) to map typicality scores into sample weights.
- The model is trained using a modified loss that combines cross-entropy with typicality-based weighting, encouraging better representation learning.
- Fine-tuning is applied only once on a small validation set, and performance is evaluated on both typical and atypical test sets.
- The approach is validated across multiple CNN architectures (e.g., AlexNet) and datasets, including ImageNet and PASCAL.
Experimental results
Research questions
- RQ1Can incorporating typicality information into the training loss improve CNN generalization to atypical images?
- RQ2Does using external (e.g., one-class SVM) or internal (e.g., network activation statistics) typicality signals lead to better performance?
- RQ3How does symmetric weighting of typical and atypical samples affect generalization compared to standard or random weighting?
- RQ4Does typicality-based training lead to faster convergence and better performance after a single training epoch?
- RQ5Why do CNNs fail on atypical images despite large-scale training data, and can typicality-based reweighting mitigate this?
Key findings
- The proposed typicality-weighted training method achieved 44.73% top-1 accuracy on atypical test images using AlexNet, a 14.7% improvement over the baseline (30.03%).
- The method outperformed random and non-typicality-based weighting schemes, with the polynomial degree-6 function yielding the highest accuracy on atypical sets.
- Even after just one training epoch, the model reached 52.72% accuracy on atypical images when using typicality weighting, compared to 48.40% with standard training.
- Fine-tuning on PASCAL images yielded higher performance gains than on ImageNet, suggesting greater diversity in PASCAL enhances the benefit of typicality weighting.
- Fine-tuning deeper layers (e.g., top three fully connected layers) hurt generalization on atypical images, likely due to overfitting on limited data.
- The internal typicality signal (e.g., internal entropy or probability) performed competitively, showing that typicality information can be extracted from the network itself.
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.