Introduction
Scene Graph Generation (SGG) is the task of identifying objects and their relationships (predicates) within an image. Despite its potential, SGG faces two significant challenges: mixed-granularity annotation and the long-tail problem. Crowd-sourced datasets like Visual Genome often contain inconsistent labels where one annotator might use a coarse term like "on" while another uses a fine-grained term like "parked on." This semantic confusion, combined with the dominance of frequent but uninformative predicates, leads standard models to produce generic, low-utility scene graphs.
The HML Framework
To address these issues, the Hierarchical Memory Learning (HML) framework introduces a strategy inspired by human cognitive development: learning simple, general concepts before mastering complex, specific ones.
The HML framework consists of three core components:
- Soft Construction of Predicate Tree: Predicates are automatically clustered into hierarchical layers based on semantic similarity (word embeddings) and frequency. Frequent, coarse predicates (e.g., "on") occupy the top layers, while rare, fine-grained predicates (e.g., "parked on", "eating") form the lower layers.
- Hierarchical Training: The model is trained sequentially. It first masters coarse relationships and then progressively learns to refine these into more specific predicates in subsequent stages.
- Knowledge Consolidation Constraints: To prevent catastrophic forgetting of coarse concepts during fine-grained training, HML employs two constraints: Concept Reconstruction (CR) and Model Reconstruction (MR).
Multi-Stage Learning and Constraints
The training process moves through discrete stages, where the model "remembers" previous knowledge while expanding its vocabulary.
- Concept Reconstruction (CR): This constraint minimizes the distance between the prediction logits of the current model and those of the model from the previous stage, ensuring consistent output for established concepts.
- Model Reconstruction (MR): This more advanced constraint utilizes the Fisher Information Matrix (FIM) to identify parameters critical for previous knowledge. It penalizes changes to these essential weights, effectively creating a parameter-level memory.
Performance and Results
HML was evaluated using the Visual Genome dataset across various architectures, including MOTIFS, Transformer, and VCTree. The framework demonstrated significant improvements in Mean Recall@100 (mR@100), a metric that highlights performance on rare, informative predicates. For the MOTIFS model, mR@100 jumped from a baseline of 17.2% to 38.7%.
Qualitatively, HML-trained models produce much more descriptive scene graphs. Instead of generic "man-on-beach" labels, the model identifies specific actions like "man-walking on-beach." While training time increases by approximately 65% for a two-stage setup, the 125% gain in performance provides a strong justification for the added computational cost.
Conclusion
The HML framework effectively mitigates semantic confusion and the long-tail problem in SGG by mimicking hierarchical human learning. By protecting critical model parameters through MR and CR constraints, it enables the generation of highly informative scene graphs without losing the ability to recognize fundamental relationships. Future work may focus on optimizing training efficiency and balancing the trade-off between fine-grained specificity and accuracy on common predicates.
Summary updated