Factorizable Net: An Efficient Subgraph-based Framework for Scene Graph Generation
About
Generating scene graph to describe all the relations inside an image gains increasing interests these years. However, most of the previous methods use complicated structures with slow inference speed or rely on the external data, which limits the usage of the model in real-life scenarios. To improve the efficiency of scene graph generation, we propose a subgraph-based connection graph to concisely represent the scene graph during the inference. A bottom-up clustering method is first used to factorize the entire scene graph into subgraphs, where each subgraph contains several objects and a subset of their relationships. By replacing the numerous relationship representations of the scene graph with fewer subgraph and object features, the computation in the intermediate stage is significantly reduced. In addition, spatial information is maintained by the subgraph features, which is leveraged by our proposed Spatial-weighted Message Passing~(SMP) structure and Spatial-sensitive Relation Inference~(SRI) module to facilitate the relationship recognition. On the recent Visual Relationship Detection and Visual Genome datasets, our method outperforms the state-of-the-art method in both accuracy and speed.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Scene Graph Generation | Visual Genome (test) | -- | 86 | |
| Scene Graph Generation | VRD (test) | Recall@5018.32 | 6 | |
| Visual Phrase Detection | VRD (test) | Recall@5026.03 | 6 | |
| Scene Graph Generation | Visual Genome MSDN (test) | Recall@5013.06 | 3 | |
| Visual Phrase Detection | Visual Genome VG-MSDN (test) | Recall@5022.84 | 3 | |
| Visual Phrase Detection | Visual Genome VG-DR-Net (test) | Rec@5026.91 | 2 | |
| Scene Graph Generation | Visual Genome DR-Net (test) | Recall@5019.88 | 2 |