Introduction
In real-world visual datasets, the distribution of categories is often highly skewed. While common objects and relations (the "head") are abundant, rare attributes and predicates (the "tail") are scarce. Traditional Active Learning (AL) strategies typically select unlabeled images that the model is most uncertain about. However, in long-tailed scenarios, these methods often fail because the model remains biased toward frequent classes, repeatedly querying "noisy" examples of common categories while neglecting the rare ones it truly needs to see.
The Query-by-Category Framework
To address this imbalance, the authors propose Query-by-Category (QBCat). This paradigm shifts the active learning process: instead of the model asking "What is in this image?", it proactively requests examples of specific, underrepresented categories from an oracle.
The core of this approach is QBCat-Tail, a sampling strategy where the model identifies rare classes and requests examples of them uniformly at random. This shifts the "oracle's" role from a simple labeler to a search engine capable of finding specific instances. To maintain stability during training, the framework incorporates:
- Incremental Learning with Re-balancing: Training batches are constructed with an equal mix of old and new data to prevent catastrophic forgetting.
- Hard Negative Mining: A buffer system tracks difficult examples to refine the model's decision boundaries.
- Post-hoc Bias Correction: A calibration step (similar to Platt scaling) ensures that the model's final predictions remain aligned with the natural distribution of the real world, despite being trained on a balanced subset.
Experimental Setup
The framework was evaluated using the Visual Genome 1.4 dataset, which contains complex scene graphs. The authors focused on 253 attribute classes and 46 predicate classes. A Faster R-CNN backbone, pre-trained on MS-COCO, was used to extract visual features for objects within the scenes.
Results and Discussion
The experiments compared QBCat-Tail against standard baselines, including Random Sampling, Least Confident, and Maximum Entropy. The results demonstrate a clear advantage for the category-based approach, particularly in addressing the "uncertainty trap" where standard metrics point toward noisy common samples rather than informative rare ones.
Key findings include:
- Tail Dominance: QBCat-Tail outperformed the best classical AL baselines by 6.7% in AUROC and 3.4% in mAP when evaluated specifically on rare classes.
- Overall Robustness: Unlike many tail-focused methods that degrade performance on common classes, QBCat-Tail (with bias correction) improved overall test set performance by 2.6% (AUROC) and 1.2% (mAP).
- Learning Efficiency: By focusing on the most informative rare categories, the model achieves higher performance with fewer total annotations compared to uncertainty-based methods that get trapped in the "head" of the distribution.
Conclusion
Query-by-Category represents a significant shift in active learning for unbalanced data. By allowing models to "ask for what they need," QBCat-Tail effectively navigates the long-tail problem, leading to more generalized and robust visual representations. Future work may explore how models can discover entirely new categories or handle scenarios where the oracle itself struggles to find rare examples.
Summary updated