Improving CNN Robustness to Color Shifts via Color Balancing and Spatial Dropout
Convolutional neural networks (CNNs) have demonstrated remarkable success in visionrelated tasks. However, their susceptibility to failing when inputs deviate from the training distribution is well-documented. Recent studies suggest that CNNs exhibit a bias toward texture instead of object shape in image classification tasks, and that background information may affect predictions. This paper investigates the ability of CNNs to adapt to different color distributions of an image while maintaining context and background. The results of our experiments on modified MNIST, CIFAR10 and CIFAR 100 data demonstrate that changes in color can substantially affect classification accuracy. The paper explores the effects of various regularization techniques on generalization error across datasets and proposes an architectural modification using in a novel way color balancing and spatial dropout regularization. This enhances the model reliance on color-invariant intensity-based features for improved classification accuracy. Overall, this work contributes to ongoing efforts to understand the limitations and challenges of CNNs in image classification tasks and offers a potential solution to improve their performance.
Authors
- Anca Ralescu (ORCID: https://orcid.org/0000-0002-7564-3540)
- Pradyumna Elavarthi (ORCID: https://orcid.org/0000-0003-3957-2420)
Publication Details
- Journal
- Advances in Artificial Intelligence and Machine Learning
- Published
- 2025-01-01
- DOI
- https://doi.org/10.54364/aaiml.2025.51205
- Primary Topic
- Color Science and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Canadian Institute for Advanced Research