Image Captioning: Transforming Objects into Words
Simao Herdade, Armin Kappeler, Kofi Boakye, Joao Soares
TL;DR
The paper tackles image captioning by integrating spatial relationships between detected objects into a Transformer framework. It introduces the Object Relation Transformer, which augments attention with geometry-based weights derived from bounding-box coordinates and sizes, enabling explicit relational reasoning. Empirical results on MS-COCO 2014 show consistent improvements across CIDEr-D, SPICE, BLEU, METEOR, and ROUGE-L, with statistical significance in several metrics and notable gains in object counting and relational understanding. The work highlights the value of incorporating geometric information in visual-language models and points to future work extending geometry into decoder cross-attention for further gains.
Abstract
Image captioning models typically follow an encoder-decoder architecture which uses abstract image feature vectors as input to the encoder. One of the most successful algorithms uses feature vectors extracted from the region proposals obtained from an object detector. In this work we introduce the Object Relation Transformer, that builds upon this approach by explicitly incorporating information about the spatial relationship between input detected objects through geometric attention. Quantitative and qualitative results demonstrate the importance of such geometric attention for image captioning, leading to improvements on all common captioning metrics on the MS-COCO dataset.
