Embedded Heterogeneous Attention Transformer for Cross-lingual Image Captioning
Zijie Song, Zhenzhen Hu, Yuanen Zhou, Ye Zhao, Richang Hong, Meng Wang
TL;DR
This work tackles cross-lingual image captioning by introducing EHAT, a transformer-based decoder augmented with three heterogeneous modules (MHCA, HARN, HCA) to model local and global alignments among images, English, and Chinese captions. By anchoring visual features via VinVL and employing two-stage training (cross-entropy followed by CIDEr-optimized reinforcement learning), EHAT achieves competitive results against monolingual baselines on MSCOCO and demonstrates effective bilingual caption generation. The approach includes two HARN variants to explore language interaction and shows that heterogeneous attention improves cross-lingual alignment and caption coherence. Overall, EHAT provides a compact, single-model solution for simultaneous bilingual image captioning with strong cross-modal and cross-lingual reasoning, paving the way for richer multilingual vision-language systems.
Abstract
Cross-lingual image captioning is a challenging task that requires addressing both cross-lingual and cross-modal obstacles in multimedia analysis. The crucial issue in this task is to model the global and the local matching between the image and different languages. Existing cross-modal embedding methods based on the transformer architecture oversee the local matching between the image region and monolingual words, especially when dealing with diverse languages. To overcome these limitations, we propose an Embedded Heterogeneous Attention Transformer (EHAT) to establish cross-domain relationships and local correspondences between images and different languages by using a heterogeneous network. EHAT comprises Masked Heterogeneous Cross-attention (MHCA), Heterogeneous Attention Reasoning Network (HARN), and Heterogeneous Co-attention (HCA). The HARN serves as the core network and it captures cross-domain relationships by leveraging visual bounding box representation features to connect word features from two languages and to learn heterogeneous maps. MHCA and HCA facilitate cross-domain integration in the encoder through specialized heterogeneous attention mechanisms, enabling a single model to generate captions in two languages. We evaluate our approach on the MSCOCO dataset to generate captions in English and Chinese, two languages that exhibit significant differences in their language families. The experimental results demonstrate the superior performance of our method compared to existing advanced monolingual methods. Our proposed EHAT framework effectively addresses the challenges of cross-lingual image captioning, paving the way for improved multilingual image analysis and understanding.
