[Paper Review] BGT-Net: Bidirectional GRU Transformer Network for Scene Graph Generation
BGT-Net proposes a novel bidirectional GRU Transformer network for scene graph generation that enhances object representation through bidirectional object-object communication via BiGRU, followed by dual transformer encoders for object and edge context prediction. It achieves state-of-the-art performance on Visual Genome, Open Images, and VRD datasets by combining frequency softening and bias adaptation to mitigate long-tailed relationship distribution bias.
Scene graphs are nodes and edges consisting of objects and object-object relationships, respectively. Scene graph generation (SGG) aims to identify the objects and their relationships. We propose a bidirectional GRU (BiGRU) transformer network (BGT-Net) for the scene graph generation for images. This model implements novel object-object communication to enhance the object information using a BiGRU layer. Thus, the information of all objects in the image is available for the other objects, which can be leveraged later in the object prediction step. This object information is used in a transformer encoder to predict the object class as well as to create object-specific edge information via the use of another transformer encoder. To handle the dataset bias induced by the long-tailed relationship distribution, softening with a log-softmax function and adding a bias adaptation term to regulate the bias for every relation prediction individually showed to be an effective approach. We conducted an elaborate study on experiments and ablations using open-source datasets, i.e., Visual Genome, Open-Images, and Visual Relationship Detection datasets, demonstrating the effectiveness of the proposed model over state of the art.
Motivation & Objective
- To address the challenge of long-tailed relationship distributions in scene graph generation datasets.
- To improve object representation by enabling bidirectional information flow between all detected objects in an image.
- To enhance relationship prediction accuracy by modeling object-specific edge context using transformer encoders.
- To reduce the negative impact of dataset bias on rare relationship predictions without degrading performance on frequent relationships.
- To achieve state-of-the-art performance on multiple benchmark datasets for both scene graph detection and classification.
Proposed method
- Uses a bidirectional GRU (BiGRU) layer to enable full-object communication, allowing each object to aggregate contextual information from all others.
- Employs a transformer encoder with scaled-dot-product attention to predict object classes after receiving aggregated object information.
- Deploys a second transformer encoder per object to extract edge context features for relationship prediction.
- Applies a log-softmax function to the subject-object relationship distribution to soften the prediction distribution.
- Introduces a bias adaptation (BA) mechanism that dynamically adjusts bias per subject-object pair based on scene-specific inputs.
- Combines frequency softening and bias adaptation to counteract the long-tailed distribution of relationships in datasets like Visual Genome.
Experimental results
Research questions
- RQ1Can bidirectional object communication via BiGRU improve object representation learning in scene graph generation?
- RQ2Does using two dedicated transformer encoders—one for object class prediction and one for edge context—enhance relationship prediction performance?
- RQ3Can frequency softening and bias adaptation effectively mitigate performance degradation on rare relationships without harming predictions on frequent ones?
- RQ4How does BGT-Net compare to state-of-the-art models like MOTIFS on standard SGG benchmarks?
- RQ5To what extent does the model generalize across diverse datasets such as Visual Genome, Open Images, and Visual Relationship Detection?
Key findings
- BGT-Net achieves state-of-the-art performance on the Visual Genome dataset, outperforming previous SOTA models in both scene graph detection and classification protocols.
- The model shows significant improvement in recall for rare relationships due to the effective use of frequency softening and bias adaptation.
- Qualitative results demonstrate that BGT-Net generates more semantically accurate and visually consistent scene graphs than MOTIFS, with a higher proportion of correct or plausible predictions (orange in figures) compared to incorrect ones.
- Ablation studies confirm that both BiGRU-based object communication and the dual transformer encoder setup contribute significantly to performance gains.
- The bias adaptation mechanism effectively reduces overconfidence in frequent relationships while improving prediction quality for infrequent ones, especially in the SGCls protocol.
- The model maintains high object detection accuracy, with errors in object prediction being rare, indicating robustness in the object detection stage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.