GRIT: Faster and Better Image captioning Transformer Using Dual Visual Features

20 Jul 2022  ·  Van-Quang Nguyen, Masanori Suganuma, Takayuki Okatani ·

Current state-of-the-art methods for image captioning employ region-based features, as they provide object-level information that is essential to describe the content of images; they are usually extracted by an object detector such as Faster R-CNN. However, they have several issues, such as lack of contextual information, the risk of inaccurate detection, and the high computational cost. The first two could be resolved by additionally using grid-based features. However, how to extract and fuse these two types of features is uncharted. This paper proposes a Transformer-only neural architecture, dubbed GRIT (Grid- and Region-based Image captioning Transformer), that effectively utilizes the two visual features to generate better captions. GRIT replaces the CNN-based detector employed in previous methods with a DETR-based one, making it computationally faster. Moreover, its monolithic design consisting only of Transformers enables end-to-end training of the model. This innovative design and the integration of the dual visual features bring about significant performance improvement. The experimental results on several image captioning benchmarks show that GRIT outperforms previous methods in inference accuracy and speed.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Image Captioning COCO Captions GRIT (No VL pretraining - base) BLEU-4 42.4 # 8
METEOR 30.6 # 11
ROUGE-L 60.7 # 2
CIDER 144.2 # 10
SPICE 24.3 # 15
BLEU-1 84.2 # 1
Image Captioning nocaps in-domain GRIT (zero-shot, no VL pretraining, no CBS) CIDEr 105.9 # 8
SPICE 13.6 # 16
Image Captioning nocaps out-of-domain GRIT (zero-shot, no CBS, no VL pretraining, single model) CIDEr 72.6 # 19
SPICE 11.1 # 18

Methods