CVCLOct 15, 2023

Bounding and Filling: A Fast and Flexible Framework for Image Captioning

arXiv:2310.09876v14 citationsh-index: 4Has Code
Originality Highly original
AI Analysis

This addresses the inference latency problem in image captioning for applications requiring real-time processing, offering a flexible solution that balances speed and accuracy.

The paper tackles the trade-off between speed and performance in image captioning by introducing BoFiCap, a framework using bounding and filling techniques that achieves state-of-the-art CIDEr scores of 125.6 (non-autoregressive) and 128.4 (semi-autoregressive) with speedups of 9.22x and 3.69x, respectively.

Most image captioning models following an autoregressive manner suffer from significant inference latency. Several models adopted a non-autoregressive manner to speed up the process. However, the vanilla non-autoregressive manner results in subpar performance, since it generates all words simultaneously, which fails to capture the relationships between words in a description. The semi-autoregressive manner employs a partially parallel method to preserve performance, but it sacrifices inference speed. In this paper, we introduce a fast and flexible framework for image captioning called BoFiCap based on bounding and filling techniques. The BoFiCap model leverages the inherent characteristics of image captioning tasks to pre-define bounding boxes for image regions and their relationships. Subsequently, the BoFiCap model fills corresponding words in each box using two-generation manners. Leveraging the box hints, our filling process allows each word to better perceive other words. Additionally, our model offers flexible image description generation: 1) by employing different generation manners based on speed or performance requirements, 2) producing varied sentences based on user-specified boxes. Experimental evaluations on the MS-COCO benchmark dataset demonstrate that our framework in a non-autoregressive manner achieves the state-of-the-art on task-specific metric CIDEr (125.6) while speeding up 9.22x than the baseline model with an autoregressive manner; in a semi-autoregressive manner, our method reaches 128.4 on CIDEr while a 3.69x speedup. Our code and data is available at https://github.com/ChangxinWang/BoFiCap.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes