[Paper Review] Towards Non-I.I.D. Image Classification: A Dataset and Baselines
This paper introduces NICO, a novel non-I.I.D. image dataset with context-aware labeling to enable robust image classification under distribution shift. It proposes a ConvNet with Batch Balancing (CNBB) that improves performance on unseen test distributions, demonstrating that batch balancing mitigates negative effects of non-I.I.D. data during training.
I.I.D. hypothesis between training and testing data is the basis of numerous image classification methods. Such property can hardly be guaranteed in practice where the Non-IIDness is common, causing instable performances of these models. In literature, however, the Non-I.I.D. image classification problem is largely understudied. A key reason is lacking of a well-designed dataset to support related research. In this paper, we construct and release a Non-I.I.D. image dataset called NICO, which uses contexts to create Non-IIDness consciously. Compared to other datasets, extended analyses prove NICO can support various Non-I.I.D. situations with sufficient flexibility. Meanwhile, we propose a baseline model with ConvNet structure for General Non-I.I.D. image classification, where distribution of testing data is unknown but different from training data. The experimental results demonstrate that NICO can well support the training of ConvNet model from scratch, and a batch balancing module can help ConvNets to perform better in Non-I.I.D. settings.
Motivation & Objective
- To address the lack of benchmark datasets for non-I.I.D. image classification, which hinders research on distribution shift robustness.
- To design a controllable, large-scale dataset that enables systematic study of non-I.I.D. scenarios in image classification.
- To propose a baseline model, CNBB, for general non-I.I.D. image classification where test distribution is unknown and different from training.
- To evaluate the effectiveness of batch balancing in improving model generalization under non-I.I.D. settings.
- To support both targeted and general non-I.I.D. learning scenarios through a flexible, context-based dataset design.
Proposed method
- NICO is constructed by annotating images with both a main class and a context (e.g., 'dog on grass', 'dog in car'), enabling controlled distribution shift between training and testing.
- The dataset includes 19 classes, 188 contexts, and nearly 25,000 images, with data splits allowing flexible control over distribution shift magnitude.
- A ConvNet-based model with a batch balancing module is proposed to handle unknown test distribution shifts, improving robustness.
- The batch balancing mechanism adjusts loss computation per batch to reduce bias from imbalanced context distributions during training.
- The model is trained from scratch on NICO, with evaluation on held-out contexts to simulate unseen test distributions.
- Two evaluation settings are used: targeted (known test distribution) and general (unknown test distribution), to assess robustness.
Experimental results
Research questions
- RQ1Can a large-scale, context-annotated dataset effectively simulate diverse non-I.I.D. image classification scenarios?
- RQ2How does the proposed CNBB model perform under general non-I.I.D. settings where test distribution is unknown?
- RQ3To what extent does batch balancing improve model generalization in non-I.I.D. image classification?
- RQ4Can the NICO dataset support training of deep ConvNets from scratch while enabling controlled distribution shift?
- RQ5How does the degree of distribution shift, controlled via context proportions, affect model performance?
Key findings
- The NICO dataset successfully supports training of deep ConvNets from scratch and enables flexible simulation of non-I.I.D. scenarios through context-based data splits.
- The proposed CNBB model with batch balancing achieves improved performance on unseen test distributions compared to standard ConvNets, demonstrating robustness to distribution shift.
- Batch balancing significantly reduces the negative impact of non-I.I.D. data by mitigating bias from imbalanced context distributions during training.
- The experimental results confirm that the NICO dataset is suitable for both targeted and general non-I.I.D. image classification tasks.
- The dataset's structure allows fine-grained control over distribution shift, enabling systematic evaluation of model robustness.
- The scale and design of NICO are sufficient to support state-of-the-art deep learning models in non-I.I.D. settings.
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.