Skip to main content
QUICK REVIEW

[Paper Review] Relational Reasoning using Prior Knowledge for Visual Captioning

Jingyi Hou, Xinxiao Wu|arXiv (Cornell University)|Jun 4, 2019
Multimodal Machine Learning ApplicationsComputer Science33 references13 citations
TL;DR

This paper proposes a joint reasoning framework for visual captioning that leverages external knowledge graphs to enable commonsense and relational reasoning without pre-trained object detectors. By iteratively building semantic graphs from prior knowledge and refining them via graph convolutional networks, the method achieves state-of-the-art performance on MS-COCO and MSVD benchmarks, improving semantic coherence and handling occluded or absent objects effectively.

ABSTRACT

Exploiting relationships among objects has achieved remarkable progress in interpreting images or videos by natural language. Most existing methods resort to first detecting objects and their relationships, and then generating textual descriptions, which heavily depends on pre-trained detectors and leads to performance drop when facing problems of heavy occlusion, tiny-size objects and long-tail in object detection. In addition, the separate procedure of detecting and captioning results in semantic inconsistency between the pre-defined object/relation categories and the target lexical words. We exploit prior human commonsense knowledge for reasoning relationships between objects without any pre-trained detectors and reaching semantic coherency within one image or video in captioning. The prior knowledge (e.g., in the form of knowledge graph) provides commonsense semantic correlation and constraint between objects that are not explicit in the image and video, serving as useful guidance to build semantic graph for sentence generation. Particularly, we present a joint reasoning method that incorporates 1) commonsense reasoning for embedding image or video regions into semantic space to build semantic graph and 2) relational reasoning for encoding semantic graph to generate sentences. Extensive experiments on the MS-COCO image captioning benchmark and the MSVD video captioning benchmark validate the superiority of our method on leveraging prior commonsense knowledge to enhance relational reasoning for visual captioning.

Motivation & Objective

  • To address the limitations of detector-dependent visual captioning methods in handling occluded, tiny, or long-tail objects.
  • To improve semantic coherence in captions by aligning generated lexical terms with real-world object-relation constraints.
  • To enable reasoning about relationships between objects using external commonsense knowledge when visual cues are ambiguous or missing.
  • To eliminate dependency on pre-trained detectors and scene graph annotations for training.
  • To develop a joint reasoning framework that simultaneously performs commonsense and relational reasoning for improved caption generation.

Proposed method

  • The method uses an external knowledge graph (e.g., Visual Genome) as prior knowledge to guide semantic reasoning for image/video regions.
  • It introduces an iterative joint reasoning algorithm alternating between commonsense reasoning (mapping regions to semantic space) and relational reasoning (encoding semantic graphs via GCN).
  • Commonsense reasoning selects and maps visual regions into high-level semantic concepts using constraints from the knowledge graph, forming a semantic graph.
  • Relational reasoning refines region representations through a Graph Convolutional Network (GCN) to generate coherent textual descriptions.
  • The framework operates without pre-trained object detectors or annotated scene graphs, relying only on weakly-supervised learning on the captioning dataset.
  • The model is trained end-to-end with an alternative optimization strategy, improving convergence and avoiding overfitting.

Experimental results

Research questions

  • RQ1Can external commonsense knowledge improve visual captioning performance when object detectors fail due to occlusion or small object size?
  • RQ2How does joint commonsense and relational reasoning enhance semantic coherence in generated captions compared to detector-based methods?
  • RQ3To what extent can a knowledge graph-based reasoning system outperform detector-dependent models on standard benchmarks like MS-COCO and MSVD?
  • RQ4Does eliminating reliance on pre-trained detectors improve generalization across domains with domain shift?
  • RQ5What is the contribution of each component—commonsense reasoning and relational reasoning—to the overall captioning performance?

Key findings

  • On the MS-COCO benchmark, the proposed method achieves a CIDEr score of 117.3, outperforming prior state-of-the-art methods such as GCN-LSTM (117.1) and KMSL (110.3).
  • On the MSVD video captioning benchmark, the method achieves a CIDEr score of 89.6, significantly outperforming SCN (77.7), GRU-EVE (78.1), and Up-Down (72.2).
  • Ablation studies show that removing commonsense reasoning leads to performance degradation, with B@4 dropping to 43.7 and CIDEr to 70.5, indicating its critical role in concept selection and semantic alignment.
  • The removal of relational reasoning (GCN module) results in a drop to B@4 = 50.8 and CIDEr = 85.4, proving that graph encoding is essential for refining representations.
  • The iterative alternative algorithm converges after three iterations, with CIDEr and B@4 scores peaking and then declining due to overfitting, confirming the effectiveness of the training strategy.
  • The method generalizes better across domains, outperforming detector-based models like GRU-EVE even when there is a domain gap between detection and captioning datasets.

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.