Skip to main content
QUICK REVIEW

[Paper Review] Learning Object Detection from Captions via Textual Scene Attributes

Achiya Jerbi, Roei Herzig|arXiv (Cornell University)|Sep 30, 2020
Multimodal Machine Learning ApplicationsComputer Science51 references6 citations
TL;DR

This paper proposes a novel weakly supervised object detection method that leverages textual scene graphs extracted from image captions to improve detection accuracy. By introducing an entanglement loss that aligns visual object detectors with textual attributes (e.g., 'red laptop'), the model achieves state-of-the-art performance on MS COCO and Pascal VOC 2007, outperforming prior caption-based methods by a significant margin without requiring bounding box annotations.

ABSTRACT

Object detection is a fundamental task in computer vision, requiring large annotated datasets that are difficult to collect, as annotators need to label objects and their bounding boxes. Thus, it is a significant challenge to use cheaper forms of supervision effectively. Recent work has begun to explore image captions as a source for weak supervision, but to date, in the context of object detection, captions have only been used to infer the categories of the objects in the image. In this work, we argue that captions contain much richer information about the image, including attributes of objects and their relations. Namely, the text represents a scene of the image, as described recently in the literature. We present a method that uses the attributes in this "textual scene graph" to train object detectors. We empirically demonstrate that the resulting model achieves state-of-the-art results on several challenging object detection datasets, outperforming recent approaches.

Motivation & Objective

  • To address the challenge of weakly supervised object detection (WSOD) where bounding box annotations are unavailable, by leveraging richer information in image captions beyond simple object labels.
  • To improve detection performance by exploiting textual scene attributes—such as color, shape, and spatial relations—described in captions to guide object localization.
  • To develop a novel training objective that enforces consistency between predicted visual attributes and those described in the caption, enhancing scene-level understanding.
  • To demonstrate that attribute-level supervision from captions can significantly outperform methods relying only on object label extraction, even without additional training data.

Proposed method

  • The method extracts textual scene graphs (SGs) from image captions using a pre-trained text-to-SG model, capturing objects, their attributes, and relations.
  • A novel entanglement loss is introduced to enforce that predicted visual object features are consistent with the attributes described in the caption, e.g., a red object should be associated with the 'red' attribute.
  • The model uses a two-branch architecture: one for image feature extraction and object proposal generation, and another for predicting visual attributes from the same features.
  • Object detection is performed using a Faster R-CNN-style backbone, with the entanglement loss applied during training to align visual predictions with textual attributes.
  • The approach uses exact string matching for object label extraction (like Ye et al., 2019), but adds the SG-based entanglement loss to refine localization and classification.
  • The method is trained end-to-end on image-caption pairs, with no need for bounding box annotations, using only image-level labels and textual descriptions.

Experimental results

Research questions

  • RQ1Can textual scene attributes in image captions be effectively leveraged to improve weakly supervised object detection beyond simple object label supervision?
  • RQ2Does enforcing consistency between visual object features and textual attributes via a novel loss function lead to better detection accuracy?
  • RQ3How does the performance of a caption-based detection model compare to fully supervised baselines when only using image captions as supervision?
  • RQ4Can attribute-level supervision from captions outperform methods that focus solely on improving pseudo-label quality?

Key findings

  • The proposed EM + SG Loss model achieves a mAP of 45.9 on the VOC 2007 test set when trained on COCO Captions, closely approaching the 46.3 mAP of a fully supervised WSOD model trained on ground-truth COCO labels.
  • On the COCO test-dev set, the model achieves state-of-the-art mAP@0.5:0.95, demonstrating strong generalization across datasets.
  • When training on Flickr30K captions and evaluating on VOC 2007, the model outperforms the EM + TextClsf baseline by a factor of four in performance gap, despite no additional training data.
  • The model's attribute classifiers, learned as a by-product, show meaningful performance, indicating that attribute understanding is effectively captured during training.
  • The ablation study confirms that the entanglement loss is the key driver of performance gain, as removing it reduces performance to the baseline ExactMatch level.

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.