[Paper Review] More Grounded Image Captioning by Distilling Image-Text Matching Model
This paper proposes POS-SCAN, a part-of-speech enhanced image-text matching model that distills knowledge to improve visual attention grounding in image captioners without requiring expensive word-region alignment annotations. By using SCAN as a weakly supervised teacher model and filtering non-noun words via POS tagging, the method significantly boosts grounding accuracy while maintaining or improving caption quality, achieving state-of-the-art results on Flickr30k Entities and MS-COCO benchmarks.
Visual attention not only improves the performance of image captioners, but also serves as a visual interpretation to qualitatively measure the caption rationality and model transparency. Specifically, we expect that a captioner can fix its attentive gaze on the correct objects while generating the corresponding words. This ability is also known as grounded image captioning. However, the grounding accuracy of existing captioners is far from satisfactory. To improve the grounding accuracy while retaining the captioning quality, it is expensive to collect the word-region alignment as strong supervision. To this end, we propose a Part-of-Speech (POS) enhanced image-text matching model (SCAN \cite{lee2018stacked}): POS-SCAN, as the effective knowledge distillation for more grounded image captioning. The benefits are two-fold: 1) given a sentence and an image, POS-SCAN can ground the objects more accurately than SCAN; 2) POS-SCAN serves as a word-region alignment regularization for the captioner's visual attention module. By showing benchmark experimental results, we demonstrate that conventional image captioners equipped with POS-SCAN can significantly improve the grounding accuracy without strong supervision. Last but not the least, we explore the indispensable Self-Critical Sequence Training (SCST) \cite{Rennie_2017_CVPR} in the context of grounded image captioning and show that the image-text matching score can serve as a reward for more grounded captioning \footnote{https://github.com/YuanEZhou/Grounded-Image-Captioning}.
Motivation & Objective
- To improve visual attention grounding in image captioners without relying on costly word-region alignment annotations.
- To enhance the interpretability and transparency of neural image captioning models through better attention localization.
- To explore whether image-text matching models can serve as effective weak supervision for grounding in captioning.
- To investigate the trade-off between caption quality and grounding performance using matching scores as reinforcement learning rewards.
Proposed method
- Proposes POS-SCAN, a modified version of the SCAN image-text matching model that filters out non-noun words using a POS tagger to improve grounding accuracy.
- Uses the POS-SCAN model as a teacher to distill knowledge into the visual attention module of a captioning model (e.g., Up-Down) via attention distillation loss.
- Applies knowledge distillation by minimizing the attention map discrepancy between the student captioner and the teacher POS-SCAN model.
- Integrates the image-text matching score (SCAN or POS-SCAN) as a reward function in Self-Critical Sequence Training (SCST) to optimize captioning for grounding.
- Employs a two-stage training: pre-training with cross-entropy loss, followed by SCST fine-tuning using matching scores as reward.
- Uses bottom-up visual features and standard evaluation metrics (BLEU, METEOR, CIDEr, SPICE) alongside attention accuracy for evaluation.
Experimental results
Research questions
- RQ1Can a weakly supervised image-text matching model improve visual attention grounding in image captioners without word-region annotations?
- RQ2Does filtering non-noun words in the matching score lead to better grounding performance in image-text matching models?
- RQ3Can the image-text matching score serve as an effective reward in SCST to balance caption quality and grounding?
- RQ4Is there a trade-off between caption quality and grounding performance when using different matching scores as rewards?
Key findings
- POS-SCAN achieves 19.83% attention accuracy on Flickr30k Entities, outperforming the original SCAN (17.63%) and matching the Up-Down captioner, demonstrating improved grounding without strong supervision.
- Captioners fine-tuned with POS-SCAN as a reward achieve 17.49% F1_loc on Flickr30k Entities, significantly outperforming models using only CIDEr as reward.
- The proposed method improves SPICE score by 1.5 points (from 66.2 to 69.3) and F1_loc by 1.7 points (from 15.79 to 17.49) compared to baseline models, with no ground-truth attention supervision.
- On MS-COCO Karpathy test set, the model achieves 80.2 B@1, 38.0 B@4, and 28.5 M, with F1_loc of 22.2, showing strong performance across metrics.
- Using SCAN as a reward in SCST improves grounding performance over CIDEr-only rewards, with POS-SCAN providing a better balance between caption quality and grounding.
- Qualitative results show that the method produces more accurate attention maps, correctly aligning words like "men" and "shirt" to their corresponding image regions.
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.