Image Captioning with Compositional Neural Module Networks

Image Captioning with Compositional Neural Module Networks

Junjiao Tian, Jean Oh

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence
Main track. Pages 3576-3584. https://doi.org/10.24963/ijcai.2019/496

In image captioning where fluency is an important factor in evaluation, n-gram metrics, sequential models are commonly used; however, sequential models generally result in overgeneralized expressions that lack the details that may be present in an input image. Inspired by the idea of the compositional neural module networks in the visual question answering task, we introduce a hierarchical framework for image captioning that explores both compositionality and sequentiality of natural language. Our algorithm learns to compose a detail-rich sentence by selectively attending to different modules corresponding to unique aspects of each object detected in an input image to include specific descriptions such as counts and color. In a set of experiments on the MSCOCO dataset, the proposed model outperforms a state-of-the art model across multiple evaluation metrics, more importantly, presenting visually interpretable results. Furthermore, the breakdown of subcategories f-scores of the SPICE metric and human evaluation on Amazon Mechanical Turk show that our compositional module networks effectively generate accurate and detailed captions.
Keywords:
Machine Learning: Deep Learning
Machine Learning: Interpretability
Computer Vision: Language and Vision