[Paper Review] Paying More Attention to Saliency: Image Captioning with Saliency and Context Attention
This paper proposes a novel image captioning model that enhances attention mechanisms by integrating both saliency and context-aware features from a pre-trained saliency prediction model. By using two distinct attention paths—one focused on salient regions and another on contextual regions—the model generates more accurate, diverse, and human-like captions, outperforming baseline methods on multiple benchmark datasets including COCO and Flickr30k.
Image captioning has been recently gaining a lot of attention thanks to the impressive achievements shown by deep captioning architectures, which combine Convolutional Neural Networks to extract image representations, and Recurrent Neural Networks to generate the corresponding captions. At the same time, a significant research effort has been dedicated to the development of saliency prediction models, which can predict human eye fixations. Even though saliency information could be useful to condition an image captioning architecture, by providing an indication of what is salient and what is not, research is still struggling to incorporate these two techniques. In this work, we propose an image captioning approach in which a generative recurrent neural network can focus on different parts of the input image during the generation of the caption, by exploiting the conditioning given by a saliency prediction model on which parts of the image are salient and which are contextual. We show, through extensive quantitative and qualitative experiments on large scale datasets, that our model achieves superior performances with respect to captioning baselines with and without saliency, and to different state of the art approaches combining saliency and captioning.
Motivation & Objective
- To improve image captioning by integrating visual saliency predictions into the attention mechanism of a sequence generation model.
- To address the limitation of standard attention mechanisms that treat all image regions uniformly, regardless of salience or context.
- To reduce hallucination and repetition in generated captions by explicitly modeling salient and contextual image regions.
- To demonstrate that saliency and context conditioning leads to more accurate and diverse captions compared to standard soft attention.
Proposed method
- The model employs a dual-attention mechanism: one path attends to salient regions predicted by a pre-trained saliency model, and another to contextual regions derived from the same saliency map.
- Saliency maps are used to condition the attention mechanism, guiding the RNN to focus on visually important or contextually relevant image regions during caption generation.
- The model is trained end-to-end using cross-entropy loss on standard image captioning datasets, with attention weights computed over both salient and contextual regions.
- Contextual regions are defined as the complement of salient regions in the saliency map, ensuring coverage of non-salient but semantically relevant areas.
- The attention mechanism dynamically assigns weights to features from different image regions based on their saliency and contextual relevance, improving alignment between generated words and visual content.
- The architecture is compatible with existing image captioning frameworks and can be integrated into models like Show, Attend and Tell without architectural overhaul.
Experimental results
Research questions
- RQ1Can saliency maps from a pre-trained model improve the quality and accuracy of image captions?
- RQ2How does separating attention into salient and contextual paths affect caption diversity and relevance?
- RQ3Does conditioning attention on saliency reduce hallucination and repetition in generated captions?
- RQ4How does the proposed method compare to standard soft attention and other saliency-augmented captioning approaches on standard benchmarks?
- RQ5To what extent do the two attention paths correspond to human-like visual scanning behavior during image description?
Key findings
- The proposed model achieves state-of-the-art performance on the COCO, Flickr8k, Flickr30k, and PASCAL-50S datasets, outperforming both standard soft attention and existing saliency-augmented baselines.
- On the COCO dataset, the model achieves a BLEU-4 score of 73.1, ROUGE-L of 58.9, and CIDEr of 128.7, surpassing the Soft Attention baseline and prior saliency-based methods.
- The model generates more diverse captions with a larger vocabulary size and higher lexical diversity compared to the Soft Attention baseline.
- Qualitative analysis shows that the model correctly describes both salient objects and contextual elements, reducing hallucination (e.g., not generating 'remote control' when absent).
- Attention visualization confirms that the model’s attention aligns with salient and contextual regions as intended—word-by-word attention corresponds to relevant image parts.
- Failure cases are primarily due to mismatched ground-truth annotations (e.g., salient regions not described in the ground truth), not model limitations, indicating robustness in most scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.