Skip to main content
QUICK REVIEW

[Paper Review] Auto-Encoding Scene Graphs for Image Captioning

Xu Yang, Kaihua Tang|arXiv (Cornell University)|Dec 6, 2018
Multimodal Machine Learning ApplicationsComputer Science46 references26 citations
TL;DR

This paper proposes Scene Graph Auto-Encoder (SGAE), a novel framework that injects language inductive bias into image captioning by learning a shared dictionary from scene graph auto-encoding in natural language. By leveraging scene graphs as a symbolic intermediate representation and sharing the learned dictionary across vision and language domains, SGAE improves reasoning and generalization, achieving a new state-of-the-art 127.8 CIDEr-D on the MS-COCO Karpathy split with a single model.

ABSTRACT

We propose Scene Graph Auto-Encoder (SGAE) that incorporates the language inductive bias into the encoder-decoder image captioning framework for more human-like captions. Intuitively, we humans use the inductive bias to compose collocations and contextual inference in discourse. For example, when we see the relation `person on bike', it is natural to replace `on' with `ride' and infer `person riding bike on a road' even the `road' is not evident. Therefore, exploiting such bias as a language prior is expected to help the conventional encoder-decoder models less likely overfit to the dataset bias and focus on reasoning. Specifically, we use the scene graph --- a directed graph ($\mathcal{G}$) where an object node is connected by adjective nodes and relationship nodes --- to represent the complex structural layout of both image ($\mathcal{I}$) and sentence ($\mathcal{S}$). In the textual domain, we use SGAE to learn a dictionary ($\mathcal{D}$) that helps to reconstruct sentences in the $\mathcal{S} ightarrow \mathcal{G} ightarrow \mathcal{D} ightarrow \mathcal{S}$ pipeline, where $\mathcal{D}$ encodes the desired language prior; in the vision-language domain, we use the shared $\mathcal{D}$ to guide the encoder-decoder in the $\mathcal{I} ightarrow \mathcal{G} ightarrow \mathcal{D} ightarrow \mathcal{S}$ pipeline. Thanks to the scene graph representation and shared dictionary, the inductive bias is transferred across domains in principle. We validate the effectiveness of SGAE on the challenging MS-COCO image captioning benchmark, e.g., our SGAE-based single-model achieves a new state-of-the-art $127.8$ CIDEr-D on the Karpathy split, and a competitive $125.5$ CIDEr-D (c40) on the official server even compared to other ensemble models.

Motivation & Objective

  • To address the limitation of end-to-end encoder-decoder models in generating descriptive, human-like captions by incorporating linguistic inductive bias.
  • To bridge the gap between visual perception and language composition by using scene graphs as a symbolic, structured representation of images and sentences.
  • To learn a shared, trainable dictionary that encodes language prior from text-only scene graph reconstruction, transferable to vision-language tasks.
  • To improve reasoning and reduce overfitting to dataset bias by leveraging contextual inference and collocation patterns from language data.

Proposed method

  • The method uses a scene graph (G) to represent both images and sentences as directed graphs with object, attribute, and relationship nodes.
  • A Scene Graph Auto-Encoder (SGAE) is trained in a self-reconstruction pipeline: S → G → D → S, where D is a trainable dictionary that re-encodes node features to capture language inductive bias.
  • The dictionary D is shared across the vision-language pipeline: I → G → D → S, enabling transfer of linguistic prior to image captioning.
  • A multi-modal Graph Convolutional Network (GCN) is used to refine scene graph features in the image-to-caption pipeline, integrating visual cues missing from imperfect detection.
  • The framework integrates with a pre-trained visual encoder and an RNN-based language decoder, trained with a reinforcement learning strategy for sequence optimization.
  • The shared dictionary D acts as a working memory, disentangling symbolic reasoning from visual perception and reducing domain gap in feature representation.

Experimental results

Research questions

  • RQ1Can language inductive bias—such as collocations and contextual inference—be effectively extracted and transferred to improve image captioning?
  • RQ2Can a shared dictionary learned from text-only scene graph auto-encoding improve zero-shot or few-shot generalization in vision-language tasks?
  • RQ3Does incorporating symbolic scene graph representations lead to more descriptive and contextually coherent captions compared to end-to-end models?
  • RQ4How does the quality of the visual scene graph detector affect the performance of the final captioning model when using SGAE?

Key findings

  • The SGAE-based single model achieves a new state-of-the-art CIDEr-D score of 127.8 on the MS-COCO Karpathy split, outperforming all prior methods.
  • Even with a smaller batch size (100) and fewer training epochs (250), the model surpasses GCN-LSTM, which used a batch size of 1,024 and 250 epochs.
  • The fusion variant, SGAE fuse, achieves a competitive 125.5 CIDEr-D on the official MS-COCO test server, outperforming ensemble models.
  • Human evaluation shows that captions generated with the dictionary D are significantly more descriptive than those without, confirming the benefit of learned inductive bias.
  • Sentence reconstruction ablation shows that using the dictionary D regularizes the model and improves generalization, even if it slightly reduces raw reconstruction accuracy.
  • The results indicate that the quality of the visual scene graph detector is a critical bottleneck, as poor G quality limits performance gains despite strong language prior.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.