Introduction
While computer vision research traditionally focuses on balancing image counts per class, this paper identifies a critical "intra-class" crisis: Compositional Attribute Imbalance. Even in balanced datasets, specific feature combinations (e.g., a white, fluffy dog vs. a brown, short-haired dog) are often distributed in a long-tailed fashion. This imbalance causes models to struggle with rare attribute compositions, leading to significant performance degradation on "scarcity" samples.
Methods
The researchers propose a three-step framework to quantify and mitigate these imbalances without manual labeling:
- Visual Attribute Dictionary: Leveraging CLIP's zero-shot capabilities, the authors defined 20 primary attributes (e.g., color, material) and over 300 secondary attributes. They aligned these with image embeddings to automatically tag datasets.
- Compositional Attribute Scarcity (CAS): A new metric that calculates the rarity of an image's attribute combination within its class. High CAS scores indicate images with rare feature sets.
- Sparsity-Guided Sampling: A plug-and-play sampling strategy that boosts the probability of selecting high-CAS images during training. This is integrated with standard augmentations like CutMix and FMix.
Key Insights and Results
The study reveals that attribute distributions within classes almost universally follow a long-tail pattern. Crucially, there is a direct negative correlation between an image's CAS score and model accuracy; as attribute combinations become scarcer, models are significantly more likely to fail.
Performance Gains
The proposed sampling strategy consistently improved performance across 12 benchmark datasets, including general-purpose (ImageNet-1K) and fine-grained (Stanford Dogs, Oxford-IIIT Pet) tasks:
- Stanford Dogs: Achieved a 5.43% improvement when combined with CutMix.
- Stanford Cars: Saw a massive 10.79% boost using ResNet-18 and FMix.
- ImageNet-1K: Improved SaliencyMix accuracy by 3.07% using ResNeXt-50.
Conclusion
This work highlights that compositionality—the specific combination of features—is a primary driver of model difficulty. By addressing intra-class scarcity through automated tagging and guided sampling, the authors provide a scalable way to improve model robustness on rare but important data samples. Future work may focus on automatically discovering these attributes to reduce dependency on predefined dictionaries and CLIP's zero-shot biases.
Summary updated