Efficient Image Captioning Based on Vision Transformer Models
Source abstract
Abstract
Image captioning is an emerging field in machine learning. It refers to the ability to automatically generate a syntactically and semantically meaningful sentence that describes the content of an image. Image captioning requires a complex machine learning process as it involves two sub models: a vision sub-model for extracting object features and a language sub-model that use the extracted features to generate meaningful captions. Attention-based vision transformers models have a great impact in vision field recently. In this paper, we studied the effect of using the vision transformers on the image captioning process by evaluating the use of four different vision transformer models for the vision sub-models of the image captioning The first vision transformers used is DINO (self-distillation with no labels). The second is PVT (Pyramid Vision Transformer) which is a vision transformer that is not using convolutional layers. The third is XCIT (cross-Covariance Image Transformer) which changes the operation in self-attention by focusing on feature dimension instead of token dimensions. The last one is SWIN (Shifted windows), it is a vision transformer which, unlike the other transformers, uses shifted-window in splitting the image. For a deeper evaluation, the four mentioned vision transformers have been tested with their different versions and different configuration, we evaluate the use of DINO model with five different backbones, PVT with two versions: PVT_v1and PVT_v2, one model of XCIT, SWIN transformer. The results show the high effectiveness of using SWIN-transformer within the proposed image captioning model with regard to the other models.
Source: openalex_inverted_index · Quality: baseline
Research context
OpenAlex topics: Multimodal Machine Learning Applications · Advanced Image and Video Retrieval Techniques · Domain Adaptation and Few-Shot Learning
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (33)
Show source-provided references
1. Design of network cascade structure for image super-resolution10.32604/jnm.2021.018383 ↗
2. A lightweight CNN based on transfer learning for COVID-19 diagnosis10.32604/cmc.2022.024589 ↗
3. L. Liu, J. Liu and J. Han, “Multi-head or single-head? An empirical comparison for transformer training,” 2021. [Online]. Available: https://arxiv.org/abs/2106.09650.
4. Automatic image captioning based on ResNet50 and LSTM with soft attention10.1155/2020/8909458 ↗
5. S. Khan, M. Naseer, M. Hayat, S. Waqas et al., “Transformers in vision: A survey,” 2021. [Online]. Available: https://arxiv.org/abs/2101.01169.
6. Unraveling the contribution of image captioning and neural machine translation for multimodal machine translation10.1515/pralin-2017-0020 ↗
7. L. Weng, “Attention? Attention. lil’log,” 2018. [Online]. Available: https://lilianweng.github.io/lil-log/2018/06/24/attention-attention.html.
8. An attentive survey of attention models10.1145/3465055 ↗
9. Show, attend and tell: Neural image caption generation with visual attention
10. A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn et al., “An image is worth 16x16 words: Transformers for image recognition at scale,” 2010. [Online]. Available: https://arxiv.org/abs/2010.11929.
11. Faster r-cnn: Towards real-time object detection with region proposal networks
12. Panoptic feature pyramid networks
13. Mask R-CNN
14. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions
15. Z. Liu, J. Ning, Y. Cao, Y. Wei et al., “Video swin transformer,” 2021. [Online]. Available: https://arxiv.org/abs/2106.13230.10.1109/CVPR52688.2022.00320 ↗
16. Emerging properties in self-supervised vision transformers
17. Xcit: Cross-covariance image transformers
18. Swin transformer: Hierarchical vision transformer using shifted windows
19. Knowing when to look: Adaptive attention via a visual sentinel for image captioning
20. Attention on attention for image captioning
21. Human attention in image captioning: Dataset and analysis
22. Learning visual relationship and context-aware attention for image captioning10.1016/j.patcog.2019.107075 ↗
23. Towards explanatory interactive image captioning using top-down and bottom-up features, beam search and re-ranking10.1007/s13218-020-00679-2 ↗
24. W. Liu, S. Chen, L. Guo, X. Zhu et al., “Cptr: Full transformer network for image captioning,” 2021. [Online]. Available: https://arxiv.org/abs/2101.10804.
25. Investigation on N-gram approximated RNNLMs for recognition of morphologically rich speech
26. Unsupervised learning of visual features by contrasting cluster assignments
27. Common objects in Context, Retrieved from. https://cocodataset.org/.
28. Netron: A visualizer for neural network, deep learning and machine learning models, Retrieved from https://netron.app/.
29. Deep residual learning for image recognition
30. K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” 2014. [Online]. Available: https://arxiv.org/abs/1409.1556.
31. A. B. Sai, A. K. Mohankumar and M. M. Khapra, “A survey of evaluation metrics used for NLG systems,” 2020. [Online]. Available: https://arxiv.org/abs/2008.12009.
32. Spice: Semantic propositional image caption evaluation
33. Cider: Consensus-based image description evaluation