[Paper Review] Using Artificial Tokens to Control Languages for Multilingual Image Caption Generation
This paper proposes a unified neural image captioning model that generates captions in multiple languages using artificial tokens (e.g., <en>, <jp>) to control the target language at inference time. Despite the linguistic distance between English and Japanese, the model achieves competitive performance with minimal accuracy drop compared to single-language models, enabling a compact, shared architecture for multilingual captioning.
Recent work in computer vision has yielded impressive results in automatically describing images with natural language. Most of these systems generate captions in a sin- gle language, requiring multiple language-specific models to build a multilingual captioning system. We propose a very simple technique to build a single unified model across languages, using artificial tokens to control the language, making the captioning system more compact. We evaluate our approach on generating English and Japanese captions, and show that a typical neural captioning architecture is capable of learning a single model that can switch between two different languages.
Motivation & Objective
- To develop a single, unified neural network model capable of generating image captions in multiple languages.
- To reduce model complexity and memory usage compared to training separate models for each language.
- To evaluate whether a single model can effectively learn and generate linguistically correct captions in two linguistically distant languages: English and Japanese.
- To investigate the feasibility of using artificial tokens as language control signals in multimodal captioning.
- To enable efficient deployment of multilingual captioning on resource-constrained devices such as mobile platforms.
Proposed method
- Inject a language-specific artificial token (e.g., <en> or <jp>) at the start of each caption during training to condition the model on the target language.
- Use a CNN (ResNet50) to extract image features and an LSTM to autoregressively generate captions based on visual features and hidden states.
- Train the model end-to-end using cross-entropy loss to minimize negative log-likelihood of ground-truth captions given the image and language token.
- During inference, use beam search with the desired language token (e.g., <en>) to generate captions in the specified language.
- Use word embeddings and one-hot encoding for input tokens, with the language token treated as part of the vocabulary.
- Train a single model on a combined dataset of English and Japanese captions, sharing all parameters across languages.
Experimental results
Research questions
- RQ1Can a single neural captioning model generate accurate captions in multiple languages when conditioned on artificial language tokens?
- RQ2How does performance on English and Japanese captions compare between a unified model and separate language-specific models?
- RQ3To what extent can a single model generalize across linguistically distant languages like English and Japanese?
- RQ4Does the use of artificial tokens for language control introduce significant performance degradation compared to monolingual models?
- RQ5Can the unified model achieve sufficient efficiency gains in memory and inference time to be viable for mobile or edge deployment?
Key findings
- The unified model achieved a CIDEr score of 0.593 on English test captions and 0.594 on Japanese test captions, compared to 0.651 and 0.631 for monolingual models, respectively.
- Bleu-1 and Bleu-4 scores for the unified model were 0.558 and 0.184 on English, and 0.693 and 0.310 on Japanese, showing only minor performance drops.
- Despite the linguistic distance between English and Japanese, the model generated linguistically correct and contextually relevant captions in both languages.
- The unified model required only half the memory and inference time of separate models, making it more suitable for resource-constrained environments.
- Qualitative analysis showed similar error patterns across models, such as over-attention to water-related objects in scenes with water.
- The model demonstrated robustness to language switching via artificial tokens, with consistent performance across both languages in zero-shot inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.