Skip to main content
QUICK REVIEW

[Paper Review] Weakly-supervised learning of visual relations

Julia Peyre, Ivan Laptev|arXiv (Cornell University)|Jul 29, 2017
Multimodal Machine Learning ApplicationsComputer Science49 references19 citations
TL;DR

This paper proposes a weakly-supervised method for learning visual relations between object pairs using image-level labels only, leveraging a novel multimodal feature representation that encodes both appearance and spatial configuration. The approach achieves state-of-the-art performance on visual relationship detection, significantly outperforming fully supervised baselines on zero-shot generalization to unseen relations, and introduces the UnRel dataset for rigorous evaluation of rare triplet retrieval.

ABSTRACT

This paper introduces a novel approach for modeling visual relations between pairs of objects. We call relation a triplet of the form (subject, predicate, object) where the predicate is typically a preposition (eg. 'under', 'in front of') or a verb ('hold', 'ride') that links a pair of objects (subject, object). Learning such relations is challenging as the objects have different spatial configurations and appearances depending on the relation in which they occur. Another major challenge comes from the difficulty to get annotations, especially at box-level, for all possible triplets, which makes both learning and evaluation difficult. The contributions of this paper are threefold. First, we design strong yet flexible visual features that encode the appearance and spatial configuration for pairs of objects. Second, we propose a weakly-supervised discriminative clustering model to learn relations from image-level labels only. Third we introduce a new challenging dataset of unusual relations (UnRel) together with an exhaustive annotation, that enables accurate evaluation of visual relation retrieval. We show experimentally that our model results in state-of-the-art results on the visual relationship dataset significantly improving performance on previously unseen relations (zero-shot learning), and confirm this observation on our newly introduced UnRel dataset.

Motivation & Objective

  • To address the challenge of learning visual relations between object pairs when full box-level annotations are scarce or unavailable.
  • To enable zero-shot generalization to unseen visual relation triplets (subject-predicate-object) by sharing knowledge across similar relations.
  • To develop a weakly-supervised learning framework that trains relation classifiers using only image-level natural language labels, avoiding costly instance-level annotations.
  • To introduce a new benchmark dataset, UnRel, with exhaustive annotations for unusual visual relations to enable accurate evaluation of retrieval and generalization.

Proposed method

  • The method uses a visual feature representation that combines appearance features from individual objects and spatial configuration features between object pairs, encoded via a learned spatial transformer module.
  • It formulates relation classification as a weakly-supervised learning problem, training a linear classifier on image-level labels (e.g., 'person on bike') without requiring box-level annotations.
  • A discriminative clustering model is employed to assign pseudo-labels to candidate object pairs based on image-level supervision, enabling end-to-end training.
  • The model incorporates a learned 'no relation' class to improve discrimination between positive and negative pairs during retrieval.
  • Features are extracted from pre-trained object detectors (e.g., Faster R-CNN), and relation features are formed by concatenating or attending over subject and object features with spatial context.
  • The framework uses a joint embedding space where visual and linguistic triplets are aligned, with loss optimized via contrastive learning or cross-entropy on image-level labels.

Experimental results

Research questions

  • RQ1Can visual relation recognition generalize effectively to unseen triplets (zero-shot learning) when trained only on image-level labels?
  • RQ2How well can a weakly-supervised model perform compared to fully supervised baselines when only image-level annotations are available?
  • RQ3To what extent does the proposed multimodal visual feature representation improve relation detection across diverse spatial and appearance configurations?
  • RQ4Can a new evaluation dataset with exhaustive annotations for rare relations (UnRel) enable reliable benchmarking of zero-shot generalization in visual relation detection?

Key findings

  • The proposed weakly-supervised model achieves 58.5% mAP on the UnRel dataset using only image-level supervision, significantly outperforming the fully supervised DenseCap baseline (6.2%) and the reproduced [31] baseline (50.6% mAP with full supervision).
  • On the Visual Relationship Detection dataset, the model achieves 62.6% mAP with ground-truth subject and object boxes, demonstrating strong performance even under strong supervision.
  • The model improves zero-shot generalization, achieving 12.1% mAP on the subject/object retrieval task for unseen relations, outperforming the fully supervised baseline of 10.0%.
  • The ablation study shows that removing the 'no relation' class reduces performance by 3.5% in mAP, confirming its importance for discriminative pair classification.
  • Qualitative results in Figure 6 show that the model successfully retrieves correct object pairs for unusual relations such as 'person above bed' and 'cone on top of person', even without seeing such triplets during training.

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.