Abstract
Traditional image captioning models rely on high-dimensional visual features extracted from Convolutional Neural Networks (CNNs). While scene graphs offer a structured alternative, their effectiveness has been questioned due to the "semantic gap" between exhaustive visual detections and salient textual descriptions. This paper introduces SG2Caps, a framework that demonstrates scene graphs are a powerful and efficient representation for captioning. By integrating spatial grounding and Human-Object Interaction (HOI) data, SG2Caps achieves competitive performance using only graph labels, reducing trainable parameters by 49% compared to state-of-the-art feature-heavy models.
The Semantic Gap in Image Captioning
The standard approach to image captioning involves feeding raw visual features into recurrent neural networks. Scene graphs—structured representations where nodes represent objects and edges represent relationships—seem like a natural fit for this task. However, previous research suggested that using scene graphs alone often resulted in poor performance.
The authors identify a "semantic gap" as the primary obstacle. Visual Scene Graphs (VSG) generated from images are often exhaustive and contain significant noise, including background objects that humans typically ignore. In contrast, Textual Scene Graphs (TSG) derived from human-written captions are sparse and focus exclusively on salient details.
Bridging this gap—transforming a cluttered visual graph into a clean, human-centric description—is the core challenge addressed by the SG2Caps framework.
Methodology: The SG2Caps Framework
SG2Caps generates captions using only the labels found in a scene graph and their spatial coordinates, bypassing the need for raw image pixels. The model architecture relies on three primary innovations to overcome the semantic gap:
- HOI Graph Integration: To address the salience problem, the model augments standard scene graphs with Human-Object Interaction (HOI) labels. Since human observers naturally focus on actions, these labels act as a filter, highlighting the most relevant interactions in a scene.
- Spatial Grounding: Unlike previous models that discarded geometric information, SG2Caps utilizes the bounding box coordinates of objects. This allows the model to infer relative positions (e.g., "above," "next to") without visual features.
- Graph Convolutional Networks (GCN): A GCN encodes the relationship-aware features of the graph. These encoded features are then processed by an attention-based LSTM decoder to generate the final caption.
Key Results and Insights
The researchers evaluated SG2Caps on benchmark datasets including COCO-Captions and Visual Genome. The results provide a strong defense for the use of structured representations:
- Labels are Sufficient: The study reveals that high-dimensional CNN features are not strictly necessary for high-quality captioning. Accurate graph labels combined with spatial data allow language models to generate descriptive and accurate text.
- Salience Filtering: HOI data proved crucial for bridging the semantic gap. It directs the model's attention away from background noise (like "window" or "pole") and toward the central narrative (like "man riding motorcycle").
- Efficiency: By shifting the computational burden to the graph generation stage, the captioning model becomes significantly leaner. SG2Caps utilizes 49% fewer trainable parameters (21M) than the state-of-the-art SGAE model (41M).
In terms of performance, SG2Caps achieved a CIDEr score of 104.4 in a graph-only configuration, significantly outperforming previous graph-based models. Ablation studies showed that spatial grounding and HOI information contributed 5-point and 7-point boosts to the CIDEr score, respectively.
Conclusion and Future Work
SG2Caps demonstrates that scene graphs, when properly grounded and filtered for salience, are a viable and efficient alternative to raw visual features for image captioning. While the model's performance is currently dependent on the quality of the underlying Scene Graph Generator, it opens new avenues for lightweight captioning models suitable for edge devices. Future research will likely focus on tighter integration between graph generation and language decoding to further reduce noise and improve vocabulary mapping.
Summary updated