Abstract
Visual Relationship Detection (VRD) aims to identify triplets of (subject, predicate, object) within images. However, existing models often suffer from training set bias, where they memorize specific object-predicate combinations (e.g., "person ride bike") rather than learning the general visual features of the interaction (e.g., "ride"). We propose Shuffle-Then-Assemble (STA), a novel pre-training strategy that encourages the learning of Object-Agnostic (OA) features. By using unsupervised domain transfer to align unpaired subjects and objects, the model is forced to focus on the visual patterns of interactions. Experimental results on the VRD and Visual Genome datasets demonstrate that STA significantly improves performance, particularly in zero-shot scenarios where relationships are unseen during training.
Introduction
The primary challenge in Visual Relationship Detection is the astronomical number of possible object-predicate combinations. Annotating every possible pair is prohibitively expensive, leading to sparse datasets. Consequently, standard models often rely on "object-sensitive" features—features primarily trained for classification—which causes them to fail when encountering familiar actions with unfamiliar objects (e.g., "person ride elephant" instead of "person ride bike"). This phenomenon, known as training set bias, limits the generalizability of VRD systems.
Methodology: Shuffle-Then-Assemble (STA)
The authors introduce a pre-training strategy designed to "filter out" object-specific noise and highlight interaction patterns through three main steps:
- Shuffle: The alignment between subjects and objects in an image is discarded. Subjects are grouped into "Domain A" and objects into "Domain B," creating a set of unpaired features.
- Assemble: To re-establish relationships without explicit labels, the framework employs unsupervised domain transfer. Two mapping functions, $F$ and $G$, are trained to translate features between Domain A and Domain B.
- Residual Transformation and Adversarial Learning: The mapping network utilizes a residual structure where the "shortcut" connection encourages the model to identify shared visual regions. Discriminators ensure that translated features are indistinguishable from real features in the target domain, forcing the model to ignore "object-ness" and focus on the shared visual patterns of the interaction itself.
Key Insights
A critical advantage of STA is the shift in feature focus. While standard CNN feature maps (e.g., from VGG or ResNet) typically focus on the center of objects, STA feature maps shift their attention to the overlap regions where subjects and objects interact. For instance, in a "stand on" relationship, the model learns to focus on the contact point between the feet and the floor.
Furthermore, by operating in an unsupervised manner during the "Assemble" phase, the model explores a wider variety of potential relationships than those captured by human annotators, such as "chair beside bag." This helps break the bias inherent in backbones pre-trained on ImageNet.
Experimental Results
The STA method was evaluated on two major benchmarks: the Visual Relationships Dataset (VRD) and Visual Genome (VG) V1.2.
- Supervised Learning: On VRD, STA improved Recall@100 by 4.74% over the baseline model.
- Zero-Shot Learning: In the challenging zero-shot setting—predicting relationships never seen in training—STA boosted Recall@100 by 4.04% on VRD and 5.81% on Visual Genome.
- Weakly-Supervised Learning: Even without knowledge of object pairings during training, STA features provided a robust performance floor, outperforming existing weakly-supervised methods.
Discussion and Conclusion
While STA excels at generalizing interactions, it faces limitations when a relationship is intrinsically tied to specific object combinations (e.g., "read" almost always involves a "book"). In such cases, object-agnostic features may lose predictive power compared to object-sensitive ones. Future research may explore hybrid approaches that combine object-agnostic features with language priors or spatial reasoning to handle these specific cases while maintaining broad generalizability.
Summary updated