Introduction
Ordinal classification tasks, such as age estimation or image quality assessment, involve categories with a natural, inherent ordering. Unlike standard classification, the relationships between labels (e.g., age 0-2 < 4-6 < 8-13) provide critical information. However, these tasks often suffer from two primary challenges: the high cost of obtaining large-scale labeled datasets and the tendency of deep learning models to overfit on specific, local features rather than learning a holistic representation of the object.
Problem Statement
Traditional regularization techniques often fall short in ordinal image tasks. Standard "neuron dropout," which randomly zeros out internal weights, may not prevent a model from fixating on small, non-representative facial regions (e.g., a specific wrinkle). Furthermore, common data augmentations like cropping or rotation can disrupt the global spatial structure necessary for accurate ordinal estimation. This paper addresses these issues by proposing a spatial regularization framework that forces the network to understand the global structure of the input.
Proposed Methodology: Grid Dropout and Masking Labels
The authors introduce a two-pronged approach to improve generalization and spatial awareness:
- Grid Dropout: Instead of dropping internal neurons, the input image is partitioned into an $s \times s$ grid. A proportion $p$ of these patches are randomly "blacked out." This forces the model to recognize the target (e.g., a face) even when key local features are missing, encouraging the learning of more robust, global features.
- Masking Label (Self-Supervision): To further exploit spatial information, the authors introduce an auxiliary self-supervised task. The model is trained to predict a binary "masking label"—a vector indicating which grid patches were hidden. This requires the model to develop a form of spatial "common sense," guessing missing parts based on the surrounding context.
Multi-Task Loss Function
The training objective is optimized using a weighted sum of three loss components:
- Classification Loss: Standard cross-entropy for the target category.
- Regression Loss: Euclidean loss to penalize predictions further away from the ground truth in the ordinal sequence.
- Masking Loss: Cross-entropy loss for the auxiliary patch-prediction task.
Experimental Results
The method was evaluated on the Adience dataset, which contains approximately 26,000 unconstrained images across 8 age groups.
Quantitative Performance
The combination of neuron dropout, grid dropout, and masking labels achieved a mean accuracy of 53.91%, a significant improvement over the 52.36% achieved by standard neuron dropout alone. The benefits were even more pronounced when training from scratch without ImageNet pre-training, where the proposed method outperformed standard dropout by nearly 4% (51.73% vs. 48.10%), demonstrating its effectiveness in data-scarce scenarios.
Qualitative Analysis (gradCAM)
As shown in the figure above, Class Activation Maps (gradCAM) reveal that models trained with Grid Dropout exhibit broader, more holistic activation patterns across the face. In contrast, models using only standard neuron dropout often show "peaky" activations, focusing on isolated spots that may lead to poor generalization on unseen data.
Conclusion
Grid Dropout with Masking Labels provides a powerful regularization framework for image ordinal classification. By combining image-level dropout with a self-supervised spatial task, the model is forced to move beyond local feature fixation toward a deeper, structural understanding of the input. While standard dropout remains effective for massive datasets, the proposed method is particularly advantageous for small-to-medium datasets where robust feature representation is critical.
Summary updated