TL;DR
This paper introduces a novel scene graph prediction model that tackles the challenge of "few-shot learning" for relationships (predicates). By treating predicates as learnable functions within a graph convolutional network, the model generates object representations that inherently capture visual relationships, enabling accurate prediction of rare predicates with minimal examples.
What Problem Does This Paper Address?
Scene graph prediction, the task of identifying objects and their relationships in an image (e.g., "<person> <riding> <bicycle>"), is crucial for understanding visual scenes. However, existing methods struggle with "long-tail" distributions of relationships, where many predicates appear very infrequently in training data. This makes it difficult for models to learn these rare predicates. Current approaches often rely on object features that don't explicitly encode relationship affordances, hindering generalization to new, unseen relationships. The paper aims to bridge this gap by enabling few-shot learning of predicates, allowing models to predict relationships with very few (even just one) labeled examples.
Methods
The core innovation is a graph convolutional network (GCN) framework that learns object representations by treating predicates as functions. Instead of just using static object features, the model learns how predicates transform these features.
- Predicate Functions: Each predicate (e.g., "riding") is modeled as a neural network function. These functions take a subject object's representation and transform it to be closer to representations of objects that can participate in that relationship. This includes both "forward" functions (subject to object) and "inverse" functions (object to subject) to capture bidirectional relationships.
- Graph Convolutional Network: The GCN framework iteratively updates object representations by passing messages through these predicate functions. This process embeds relationship information directly into the object representations.
- Semantic and Spatial Separation: Object representations are explicitly separated into semantic (e.g., from ResNet features) and spatial (bounding box masks) components. Predicate functions are learned for both, allowing the model to leverage both visual content and spatial layout.
- Few-Shot Learning: Once the GCN has learned robust object representations using frequent predicates, these representations are used to train simple classifiers for rare, few-shot predicates. This leverages the learned relationship affordances without needing extensive training data for the rare predicates themselves.
Datasets
- Visual Genome: This dataset is used for training, validation, and testing. The authors use a commonly used subset of 150 object and 50 predicate categories.
Key Insights and Ideas
- Predicates as Functions: The most significant insight is treating predicates not as labels but as learnable transformation functions. This allows for a more dynamic and generalizable way to encode relationship information.
- Relationship-Aware Object Representations: By learning predicates as functions, the model naturally induces object representations that capture what relationships they afford. This is a key departure from previous methods that relied on static object features.
- Modularity for Few-Shot Learning: The separation of predicate learning from object representation learning, and the subsequent use of these representations for few-shot classifiers, highlights the power of modularity in tackling data scarcity.
- Interpretability: The predicate functions can be visualized, offering insights into how the model understands relationships (e.g., how "riding" transforms spatial attention).
Key Results
- Few-Shot Performance: The model significantly outperforms strong baselines in few-shot predicate prediction. With just 5 labeled examples (5-shot), it achieves a 3.7% increase in recall@50 over transfer learning baselines and an 8.7% increase over GloVe embeddings.
- General Scene Graph Prediction: The model performs competitively on the general scene graph prediction task, matching or exceeding state-of-the-art methods that do not rely on external linguistic priors or dataset biases.
- Ablation Studies: The authors demonstrate the importance of both semantic and spatial components, as well as the inverse predicate functions, for achieving optimal performance.
Limitations and Future Work
- Computational Cost: The GCN framework, with its large number of predicate functions (1M parameters per predicate), is computationally expensive, requiring significant training time (20 epochs).
- Recall@100: While strong on recall@50, the model falls short on recall@100 for the general scene graph prediction task. This is attributed to the model predicting multiple relationships per object pair, which inflates prediction counts and penalizes recall@100.
- Future Work: The authors suggest exploring more efficient GCN architectures and potentially incorporating object categories more directly into the relationship prediction process to improve recall@100. The interpretability of predicate functions also opens avenues for further analysis and understanding of visual relationships.
Summary updated