TL;DR
This paper introduces VAW, a large-scale dataset for visual attribute prediction in the wild, addressing limitations of existing datasets like label sparsity and lack of negative examples. They propose a novel SCONE model that combines a strong baseline with negative label expansion and supervised contrastive learning, achieving state-of-the-art results.
What Problem Does This Paper Address?
Understanding visual attributes (like color, texture, shape, state) is crucial for many computer vision tasks, from image retrieval to visual question answering. However, existing research on attribute prediction has been limited by:
- Domain-specific datasets: Most work focuses on narrow domains (e.g., clothing, pedestrians) rather than general objects.
- Small-scale datasets: Datasets are often too small to capture the vast diversity of attributes and object combinations.
- Label sparsity and imbalance: Attributes are often sparsely labeled, and there's a lack of explicit negative labels (i.e., what an object is not).
- Data imbalance: Some attributes are very common (head categories), while others are rare (tail categories), making it hard to train robust models.
- Object occlusion: Real-world images often feature occluded objects, making attribute prediction challenging.
This paper aims to overcome these limitations by creating a comprehensive dataset and developing a robust model capable of predicting attributes for a wide range of objects in unconstrained "in-the-wild" images.
Methods
The authors propose a multi-component approach:
- Strong Baseline Model:
- Image-Object Feature Composition: Combines CNN features with object embeddings (e.g., "chair") using a gating mechanism to filter irrelevant features and avoid impossible attribute-object combinations (e.g., "talking table").
- Object Localization: Leverages segmentation masks (when available) to focus attention on the relevant object region, suppressing background noise.
- Multi-Attention Module: Employs a free-form attention mechanism to allow the model to attend to different spatial locations, crucial for attributes that depend on context or specific object parts (e.g., "barefoot" requires looking at feet).
- Low-level Features: Incorporates features from earlier CNN layers to better capture attributes like color and material.
- SCONE (Supervised Contrastive learning with Negative-label Expansion):
- Negative Label Expansion: A novel scheme that leverages linguistic knowledge and existing ontologies (WordNet, ConceptNet) to automatically generate a large number of explicit negative labels, significantly enriching the training data.
- Reweighted Binary Cross-Entropy (RW-BCE): A loss function designed to handle label imbalance by reweighting positive and negative examples based on their frequency.
- Repeat Factor Sampling (RFS): A data sampling technique that oversamples images containing rare (tail) classes.
- Supervised Contrastive Learning (SupCon): Extends supervised contrastive learning to a multi-label setting. This is used either for pretraining or joint training with the main task to learn more discriminative features. The authors find joint training to be more effective when multi-attention is used.
Datasets
- VAW (Visual Attributes in the Wild) Dataset: The primary contribution is this new, large-scale dataset.
- Size: Over 927K attribute annotations for over 260K object instances across 72K images.
- Attributes: 620 unique attributes covering color, material, shape, size, texture, action, etc.
- Object Categories: 2,260 unique object phrases.
- Key Features: Dense annotations (3.56 per instance), explicit positive and negative labels, segmentation masks for 92% of instances, domain-agnostic.
- Origin: Built upon VGPhraseCut and GQA datasets, with additional manual cleaning and expansion.
- Existing Datasets (for comparison): Visual Genome, COCO Attributes, EMOTIC, WIDER, iMaterialist.
Key Insights and Ideas
- The importance of explicit negative labels: The paper strongly advocates for and demonstrates the benefit of having explicit negative labels, which are often missing in prior work but crucial for robust attribute prediction.
- Negative label expansion is powerful: Automatically generating negative labels using linguistic resources significantly boosts performance, especially for tail attributes.
- Multi-attention complements object localization: While object localization helps focus on relevant regions, a multi-attention mechanism is vital for capturing attributes that require broader context or specific parts outside the immediate object mask.
- SupCon and attention can be tricky: Pretraining with SupCon can sometimes hinder the performance of attention modules, suggesting that joint training or careful integration is key.
- Data imbalance is a persistent challenge: Even with advanced techniques, tail categories remain harder to predict, highlighting an ongoing research area.
Key Results
- Dataset Performance: The VAW dataset poses significant challenges to existing methods.
- Model Improvement: The proposed SCONE model achieves state-of-the-art results, improving mAP by 3.7 points and overall F1 by 5.7 points over previous methods.
- Component Contributions: Ablation studies show that each component of SCONE (negative label expansion, reweighting/resampling, SupCon) contributes additively to performance. Negative label expansion provides the biggest boost.
- Qualitative Results: The model demonstrates a robust ability to predict diverse attributes, effectively uses object localization to handle occlusion, and leverages multi-attention to capture contextual information. Figures show successful image retrieval based on various attributes.
Limitations and Future Work
- Data Imbalance: Despite improvements, tail categories still lag significantly behind head categories in performance, indicating that data imbalance remains a considerable challenge.
- Object-Bias Effect: Using object labels as input can introduce bias. Future work could explore making predictions more robust to compositional novelty.
- SupCon Integration: Further research is needed to find optimal ways to integrate supervised contrastive learning with attention mechanisms in multi-label settings.
- VAW as a Benchmark: The authors position VAW as a valuable benchmark for long-tailed multi-label prediction, out-of-distribution testing, and bias-related issues.
Summary updated