Skip to main content
QUICK REVIEW

[Paper Review] Top-down Visual Saliency Guided by Captions

Vasili Ramanishka, Abir Das|arXiv (Cornell University)|Dec 21, 2016
Multimodal Machine Learning ApplicationsComputer Science31 references6 citations
TL;DR

This paper proposes Caption-Guided Visual Saliency, a method that extracts spatial and spatiotemporal saliency maps from pre-trained image and video captioning models without modifying the architecture or requiring pixel-level annotations. By estimating information gain through region replacement, it reveals how visual features map to words in a caption, achieving comparable captioning performance to state-of-the-art models while producing more accurate saliency heatmaps than explicit attention mechanisms.

ABSTRACT

Neural image/video captioning models can generate accurate descriptions, but their internal process of mapping regions to words is a black box and therefore difficult to explain. Top-down neural saliency methods can find important regions given a high-level semantic task such as object classification, but cannot use a natural language sentence as the top-down input for the task. In this paper, we propose Caption-Guided Visual Saliency to expose the region-to-word mapping in modern encoder-decoder networks and demonstrate that it is learned implicitly from caption training data, without any pixel-level annotations. Our approach can produce spatial or spatiotemporal heatmaps for both predicted captions, and for arbitrary query sentences. It recovers saliency without the overhead of introducing explicit attention layers, and can be used to analyze a variety of existing model architectures and improve their design. Evaluation on large-scale video and image datasets demonstrates that our approach achieves comparable captioning performance with existing methods while providing more accurate saliency heatmaps. Our code is available at visionlearninggroup.github.io/caption-guided-saliency/.

Motivation & Objective

  • To expose the implicit region-to-word mapping in end-to-end image and video captioning models, which are otherwise treated as black boxes.
  • To enable top-down visual search guided by natural language sentences, extending beyond fixed object labels.
  • To provide interpretability of captioning models by visualizing which image or video regions contribute most to generating specific words.
  • To achieve accurate saliency localization without adding explicit attention layers or requiring per-pixel supervision.
  • To evaluate whether models trained only on weak, image- or video-level captions can implicitly learn to localize semantic concepts in space and time.

Proposed method

  • The method computes saliency by measuring information gain: replacing each spatial region or temporal frame with a single representative patch and observing the change in word generation probability.
  • For each word in a caption, saliency is computed as the difference in log-likelihood of generating that word when a specific region or frame is masked out.
  • The approach is applied to encoder-decoder captioning models, using the LSTM-based S2VT architecture as a base model for video and a similar setup for images.
  • Saliency maps are generated for both predicted captions and arbitrary query sentences, enabling analysis of model behavior across diverse inputs.
  • The method leverages signal drop-out techniques adapted for LSTM-based models, using information gain as a proxy for feature importance.
  • Normalization is applied per noun phrase to generate color-coded heatmaps, with red indicating highest saliency and blue lowest.

Experimental results

Research questions

  • RQ1Can end-to-end visual captioning models implicitly learn to localize visual concepts corresponding to words in a caption without explicit supervision or attention layers?
  • RQ2To what extent can saliency maps generated from captioning models accurately localize the visual regions responsible for generating specific words in a sentence?
  • RQ3How does the performance of captioning models with implicit saliency compare to those with explicit soft attention mechanisms in terms of both captioning quality and localization accuracy?
  • RQ4Can the proposed method explain model behavior on both image and video data, including temporal localization of actions and objects?
  • RQ5Does the model’s saliency prediction align with human-annotated ground truth for object and action localization, especially for non-central or ambiguous objects?

Key findings

  • The proposed Caption-Guided Visual Saliency method achieves comparable captioning performance to state-of-the-art models, with METEOR scores of 31.0 on MSVD, 25.9 on MSR-VTT, and 18.3 on Flickr30k.
  • On the Flickr30kEntities dataset, the method outperforms the soft-attention baseline in attention correctness, particularly for categories like 'animals' and 'other' that are often off-center.
  • The method produces more accurate saliency heatmaps than explicit soft-attention models, as shown by higher attention correctness metrics on both image and video benchmarks.
  • In video analysis, the model correctly identifies temporally salient frames for key words, such as highlighting snow regions for the word 'skating' even when the skier is not the primary focus.
  • For noun phrases, the method consistently localizes humans and other salient objects, though it occasionally mislocalizes due to visual similarity (e.g., gate mistaken for window).
  • The model shows surprising behavior in color-based attention, such as assigning 'red' saliency to a cyclist while 'white' attention is scattered elsewhere, indicating nuanced but not always intuitive word-region associations.

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.