Image Captioning: Transforming Objects into Words

Simao Herdade, Armin Kappeler, Kofi Boakye, João Carlos Virgolino Soares

arXiv (Cornell University) · 2019 · 93 citations · 18 references

DOIFull text

Open access

Concepts

TL;DR

Image captioning models typically use an encoder‑decoder architecture that consumes abstract image feature vectors, and the most successful methods extract these vectors from region proposals produced by an object detector. This work introduces the Object Relation Transformer, aiming to improve captioning by explicitly modeling spatial relationships between detected objects. It does so by applying geometric attention to incorporate spatial relationship information into the transformer. Experiments on the MS‑COCO dataset show that geometric attention yields consistent improvements across all standard captioning metrics. Code is available at https://github.com/yahoo/object_relation_transformer.

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. Code is available at https://github.com/yahoo/object_relation_transformer .

References

18