Skip to main content
QUICK REVIEW

[Paper Review] Weakly Supervised Attention Learning for Textual Phrases Grounding

Zhiyuan Fang, Shu Kong|arXiv (Cornell University)|May 1, 2018
Multimodal Machine Learning ApplicationsComputer Science11 references7 citations
TL;DR

This paper proposes a weakly supervised attention learning method for grounding textual phrases in images using regularized bilinear pooling and end-to-end training, enabling localization without pixel-level annotations. It achieves up to 67.07% IoU on a synthesized multi-MNIST dataset, demonstrating robustness and generalization in low-resource settings.

ABSTRACT

Grounding textual phrases in visual content is a meaningful yet challenging problem with various potential applications such as image-text inference or text-driven multimedia interaction. Most of the current existing methods adopt the supervised learning mechanism which requires ground-truth at pixel level during training. However, fine-grained level ground-truth annotation is quite time-consuming and severely narrows the scope for more general applications. In this extended abstract, we explore methods to localize flexibly image regions from the top-down signal (in a form of one-hot label or natural languages) with a weakly supervised attention learning mechanism. In our model, two types of modules are utilized: a backbone module for visual feature capturing, and an attentive module generating maps based on regularized bilinear pooling. We construct the model in an end-to-end fashion which is trained by encouraging the spatial attentive map to shift and focus on the region that consists of the best matched visual features with the top-down signal. We demonstrate the preliminary yet promising results on a testbed that is synthesized with multi-label MNIST data.

Motivation & Objective

  • To address the challenge of requiring expensive pixel-level annotations in supervised visual grounding.
  • To enable flexible, weakly supervised localization of textual phrases in images using only image-level or phrase-level labels.
  • To improve model generalization and transferability to domains with limited fine-grained annotations.
  • To develop an end-to-end trainable architecture that jointly optimizes attention maps and feature representations.
  • To evaluate the method on a synthesized multi-label MNIST dataset to demonstrate feasibility and robustness.

Proposed method

  • Uses a pretrained ResNet-18 backbone to extract global visual features from images.
  • Applies a bilinear pooling-based attentive module to generate spatial attention maps from visual and textual features.
  • Expands textual embeddings to match visual feature dimensions and fuses them via Multimodal Bilinear Pooling (MCB).
  • Trains the model end-to-end with a joint loss: cross-entropy for classification and a feature learning loss to enhance inter-class dispersion and intra-class compactness.
  • Applies L2 regularization on the attention map to encourage sparsity and focus on salient regions.
  • Employs a weakly supervised signal where the model learns to attend to regions matching the input phrase, even without bounding box annotations.

Experimental results

Research questions

  • RQ1Can a weakly supervised method achieve accurate textual phrase grounding without requiring pixel-level annotations?
  • RQ2How effective is regularized bilinear pooling in generating attention maps that localize relevant image regions?
  • RQ3Does fine-tuning a pretrained backbone improve convergence and performance compared to training from scratch?
  • RQ4How does the model generalize when the input phrase does not exist in the image?
  • RQ5To what extent does the feature learning loss improve the discriminative quality of visual representations?

Key findings

  • The model achieves a mean IoU of 67.07% on the multi-MNIST dataset when fine-tuning the backbone, indicating strong localization accuracy.
  • The model reaches 71.53% mAP at an IoU threshold of 0.5, demonstrating strong performance on phrase grounding under weak supervision.
  • Fine-tuning the pretrained backbone leads to faster convergence, though training from scratch yields comparable final performance.
  • When the input phrase does not exist in the image, the attention map remains nearly blank, confirming the model's ability to suppress false positives.
  • The model successfully localizes multiple phrases in a single image, as shown in the multi-query results in Figure 3.
  • The feature learning loss contributes to improved inter-class separation and intra-class compactness, enhancing representation quality.

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.