[Paper Review] Partially-Supervised Image Captioning
This paper proposes Partially-Supervised Sequence Supervision (PS3), a novel method for training image captioning models using partially-specified sequences represented as finite state automata (FSA), enabling joint learning from image captions and weakly-annotated data like object detections and labels. By applying PS3 to a standard neural captioning model, the authors achieve state-of-the-art performance on COCO novel object captioning and successfully train on Open Images concepts while maintaining competitive COCO scores.
Image captioning models are becoming increasingly successful at describing the content of images in restricted domains. However, if these models are to function in the wild - for example, as assistants for people with impaired vision - a much larger number and variety of visual concepts must be understood. To address this problem, we teach image captioning models new visual concepts from labeled images and object detection datasets. Since image labels and object classes can be interpreted as partial captions, we formulate this problem as learning from partially-specified sequence data. We then propose a novel algorithm for training sequence models, such as recurrent neural networks, on partially-specified sequences which we represent using finite state automata. In the context of image captioning, our method lifts the restriction that previously required image captioning models to be trained on paired image-sentence corpora only, or otherwise required specialized model architectures to take advantage of alternative data modalities. Applying our approach to an existing neural captioning model, we achieve state of the art results on the novel object captioning task using the COCO dataset. We further show that we can train a captioning model to describe new visual concepts from the Open Images dataset while maintaining competitive COCO evaluation scores.
Motivation & Objective
- To address the limitation of existing image captioning models that fail to generalize to novel visual concepts in real-world settings.
- To enable training on large-scale, weakly-annotated datasets such as Open Images and object detection datasets, which contain more diverse visual concepts than standard captioning datasets.
- To develop a general framework for training sequence models on partially-specified supervision, lifting the need for paired image-sentence data only or specialized architectures.
- To demonstrate that image captioning models can learn to describe novel object classes using only image labels or object annotations as supervision.
Proposed method
- Representing partially-specified image captions as finite state automata (FSA), where each FSA encodes valid sequences consistent with object labels or detection outputs.
- Using constrained beam search (CBS) to decode high-probability complete captions that are accepted by the FSA during training.
- Applying a two-step EM-inspired algorithm: first, generate complete sequences via CBS; second, update model parameters using the completed sequences as targets.
- Jointly training a standard image captioning model (e.g., Up-Down) on both COCO captions and auxiliary data from object detection or image labeling datasets.
- Leveraging FSA to model uncertainty in sequence completion, allowing the model to generate fluent captions even when only partial supervision is available.
- Using attention visualization to verify that the model learns to localize novel object classes from label supervision alone.
Experimental results
Research questions
- RQ1Can image captioning models be effectively trained using only image labels or object detections, without full captions?
- RQ2Can a standard captioning model generalize to novel object classes not seen during initial training, when supervised via weakly-annotated data?
- RQ3Does the proposed PS3 method outperform existing approaches on the COCO novel object captioning benchmark?
- RQ4Can the model maintain strong performance on standard COCO evaluation metrics while learning new visual concepts from large-scale detection datasets?
Key findings
- The PS3 method achieves state-of-the-art performance on the COCO novel object captioning task, outperforming prior methods.
- Using image labels from 25 novel classes in Open Images V4, the model generates fluent and contextually appropriate captions for previously unseen objects.
- The jointly trained model achieves SPICE, METEOR, and CIDEr scores of 18.8, 25.7, and 103.5 on the COCO 'Karpathy' val split, compared to 20.1, 26.9, and 112.3 for the COCO-only baseline.
- Attention visualization confirms that the model learns to localize novel object classes (e.g., 'racket', 'tiger') in the image using only label supervision.
- Failure cases show that the model may not always mention the novel object, but such failures are no worse than the baseline, indicating robustness.
- The approach enables training on large-scale, weakly-annotated datasets without requiring specialized model architectures or full caption annotations.
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.