Dual-Stream Collaborative Transformer for Image Captioning
Jun Wan, Jun Liu, Zhihui lai, Jie Zhou
TL;DR
DSCT addresses contextual gaps in region-feature-based image captioning by fusing region and segmentation features through Pattern-Specific Mutual Attention Encoders and Dynamic Nomination Decoders. The two-stream transformer enables mutual refinement of features and dynamic, per-word path selection, circumventing semantic misalignment. Experiments on MS-COCO show state-of-the-art CIDEr scores for both single-model and ensemble setups, outperforming region-, grid-, and fusion-based rivals. This work demonstrates the value of segmentation features as complementary guidance and introduces a general dynamic fusion framework for captioning with multiple pattern-specific features.
Abstract
Current region feature-based image captioning methods have progressed rapidly and achieved remarkable performance. However, they are still prone to generating irrelevant descriptions due to the lack of contextual information and the over-reliance on generated partial descriptions for predicting the remaining words. In this paper, we propose a Dual-Stream Collaborative Transformer (DSCT) to address this issue by introducing the segmentation feature. The proposed DSCT consolidates and then fuses the region and segmentation features to guide the generation of caption sentences. It contains multiple Pattern-Specific Mutual Attention Encoders (PSMAEs) and Dynamic Nomination Decoders (DNDs). The PSMAE effectively highlights and consolidates the private information of two representations by querying each other. The DND dynamically searches for the most relevant learning blocks to the input textual representations and exploits the homogeneous features between the consolidated region and segmentation features to generate more accurate and descriptive caption sentences. To the best of our knowledge, this is the first study to explore how to fuse different pattern-specific features in a dynamic way to bypass their semantic inconsistencies and spatial misalignment issues for image captioning. The experimental results from popular benchmark datasets demonstrate that our DSCT outperforms the state-of-the-art image captioning models in the literature.
