Abstract
Visual Relationship Recognition (VRR) is a fundamental task in computer vision that involves identifying triplets of the form <subject, relation, object>. However, existing benchmarks often rely on "cleaned" datasets that do not reflect the long-tail distribution of the real world. This paper introduces Long-Tail Visual Relationship Recognition (LTVRR), a more realistic and challenging setting. The authors contribute two massive benchmarks, GQA-LT and VG8K-LT, and propose two novel techniques—VilHub loss and RelMix augmentation—to improve model performance on rare "tail" classes without sacrificing accuracy on frequent "head" classes.
Introduction
In standard computer vision tasks, progress is often measured on datasets where class distributions are relatively balanced. In the context of VRR, this means models are trained to recognize common interactions like "person wearing shirt." However, real-world visual data follows a power-law distribution: a few categories appear thousands of times, while the vast majority appear only a handful of times. Identifying these rare interactions, such as a "rabbit grazing on grass," is crucial for robust scene understanding.
The LTVRR Challenge and Benchmarks
To address the limitations of existing datasets, the authors introduced GQA-LT (1,703 objects, 310 relations) and VG8K-LT (5,330 objects, 2,000 relations). These benchmarks highlight the extreme imbalance found in large-scale vocabularies. For instance, in GQA-LT, the frequency difference between the most common and rarest objects exceeds 300,000x.
Proposed Methodology
The authors propose a two-pronged approach to mitigate the bias toward frequent classes:
- VilHub (Visiolinguistic Hubless) Loss: This loss addresses the "hubness" phenomenon, where frequent classes become "hubs" in high-dimensional space that attract unrelated neighbors. VilHub regularizes the model by encouraging a uniform preference across all classes within a mini-batch, preventing the model from over-predicting head classes.
- RelMix Augmentation: A specialized version of "Mixup" for relationships, RelMix operates at the feature level. It blends the visual embeddings of different triplets, prioritizing those from tail or medium-frequency classes. This creates synthetic training examples that help the model generalize to rare feature combinations.
Key Results and Insights
The proposed methods are model-agnostic and can be integrated into various architectures. Key findings include:
- Performance Gains: On GQA-LT, adding VilHub to a baseline model improved accuracy for "medium" objects by ~7% and "few" objects by ~3.4%.
- Scalability: On the larger VG8K-LT dataset, VilHub increased "medium" object accuracy from 11.1% to 20.3%.
- Compositional Strength: The models showed significant improvement in recognizing entire triplets correctly, particularly when evaluated by (Subject, Object) pairs.
Conclusion
By shifting the focus to the long-tail distribution of visual relationships, this work provides a more realistic framework for evaluating scene understanding models. The combination of VilHub loss and RelMix augmentation offers a robust, plug-and-play solution for handling large-vocabulary, imbalanced data. Future work may explore these techniques with modern Transformer-based architectures and in zero-shot learning scenarios.
Summary updated