journal article·2026-03-26Open access

Image Captioning Through Deep Learning: An Adaptation of the BLIP-2 Model to Arabic

Ahmed Fathy Abdelaal, Enrique Costa-Montenegro, Silvia García-Méndez, Hatem Mohamed Noaman, Mohammed Kayed

Applied Sciences· Volume 16· Issue 7

Abstract

Image captioning using deep learning bridges computer vision and natural language processing, enabling machines to generate human-like textual descriptions for images. While significant progress has been made in English, in Arabic, the image captioning field remains under-explored due to the language’s morphological complexity, right-to-left script, and scarcity of annotated datasets. This paper addresses this gap by adapting the BLIP-2 (Bootstrapped Language—Image Pre-training) model for Arabic caption generation, leveraging machine-translated datasets, like Flickr 30k, to overcome resource limitations. BLIP-2 combines a vision transformer (ViT) for image encoding and a CamelBERT large language model (LLM) for text generation, enhanced by a lightweight Querying Transformer (Q-Former) for cross-modal alignment. Despite challenges such as translation artifacts and linguistic nuances, our experiments demonstrate promising results in generating coherent Arabic captions. In short, this study highlights the potential of BLIP-2 for multilingual applications while underscoring the need for native Arabic datasets and further optimization. Ultimately, this work contributes to advancing inclusive artificial intelligence technologies for Arabic-speaking communities, with applications in assistive tools, education, and content creation.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Multimodal Machine Learning Applications · Generative Adversarial Networks and Image Synthesis · Topic Modeling

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Computers and Artificial Intelligence, Beni-Suef University, Beni-Suef 62521, Egypt

Information Technologies Group, atlanTTic Research Center, University of Vigo, 36210 Vigo, Spain

References (41)

Show source-provided references
1. Manay, S.P., Yaligar, S.A., Reddy, Y.T.S.S., and Saunshimath, N.J. (2021). Image Captioning for the Visually Impaired. Emerging Research in Computing, Information, Communication and Applications, Springer.10.1007/978-981-16-1338-8_43 ↗
2. Vala, D., Sharma, K., Rathod, J., and Holia, M. (2024). Image Captioning Using Deep Learning—An Overview. Indian J. Nat. Sci., 14.
3. ElMaghraby, A., Maged, S., Essawey, M., ElFaramawy, R., Negm, E., and Khoriba, G. (2024, January 13–14). ArabicQuest: Enhancing Arabic Visual Question Answering with LLM Fine-Tuning. Proceedings of the 2024 Intelligent Methods, Systems, and Applications (IMSA), Giza, Egypt.10.1109/IMSA61967.2024.10652693 ↗
4. Geigle, G., Jain, A., Timofte, R., and Glavaš, G. (2023). MBLIP: Efficient Bootstrapping of Multilingual Vision-LLMs. arXiv.10.18653/v1/2024.alvr-1.2 ↗
5. A Deep Learning-Based Image Captioning Method to Automatically Generate Comprehensive Explanations of Bridge Damage10.1111/mice.12793 ↗
6. Deep Learning Approaches on Image Captioning: A Review
7. Ondeng, O., Ouma, H., and Akuon, P. (2023). A review of transformer-based approaches for image captioning. Appl. Sci., 13.10.3390/app131911103 ↗
8. Mokady, R., Hertz, A., and Bermano, A.H. (2021). CLIPCap: CLIP Prefix for Image Captioning. arXiv.
9. Li, J., Li, D., Xiong, C., and Hoi, S. (2022, January 17–23). BLIP: Bootstrapping Language-Image Pre-Training for Unified Vision-Language Understanding and Generation. Proceedings of the International Conference on Machine Learning, Baltimore, MD, USA.
10. Li, J., Li, D., Savarese, S., and Hoi, S. (2023, January 23–29). BLIP-2: Bootstrapping Language-Image Pre-Training with Frozen Image Encoders and Large Language Models. Proceedings of the International Conference on Machine Learning, Honolulu, HI, USA.
11. Liu, G., Li, Y., Fei, Z., Fu, H., Luo, X., and Guo, Y. (2023). Prefix-Diffusion: A Lightweight Diffusion Model for Diverse Image Captioning. arXiv.10.63317/4maaeqcvvp4d ↗
12. Image Captioning by Diffusion Models: A Survey10.1016/j.engappai.2024.109288 ↗
13. Diffusion-Cap: A Diffusion Model for Image Captioning10.1088/1742-6596/2858/1/012048 ↗
14. Roslyn, S.A., Negha, A., and Vishnu Sekhar, R. (2024, January 18–19). Enhancing Accessibility for Visually Impaired Users: A BLIP2-Powered Image Description System in Tamil. Proceedings of the 2024 International Conference on Advances in Data Engineering and Intelligent Computing Systems (ADICS), Chennai, India.10.1109/ADICS58448.2024.10533565 ↗
15. Van Miltenburg, E. (2024). Image Captioning in Different Languages. arXiv.
16. Farhani, N., Tebeh, N., and Zrigui, M. (2023, January 4–7). An Overview of the Image Description Systems in Arabic Language. Proceedings of the 2023 20th ACS/IEEE International Conference on Computer Systems and Applications (AICCSA), Giza, Egypt.10.1109/AICCSA59173.2023.10479235 ↗
17. A Survey on Image Caption Generation in Various Languages10.24996/ijs.2024.65.7.38 ↗
18. Deep Learning for Arabic Image Captioning: A Comparative Study of Main Factors and Preprocessing Recommendations
19. AraCap: A Hybrid Deep Learning Architecture for Arabic Image Captioning10.1016/j.procs.2021.05.108 ↗
20. Kadaoui, K., Atwany, H., Al-Ali, H., Mohamed, A., Mekky, A., Tilga, S., Fedorova, N., Artemova, E., Aldarmaki, H., and Kementchedjhieva, Y. (2025). JEEM: Vision-Language Understanding in Four Arabic Dialects. arXiv.10.18653/v1/2026.findings-eacl.18 ↗
21. Al-Muzaini, H.A., Al-Yahya, T.N., and Benhidour, H. (2018). Automatic Arabic Image Captioning Using RNN-LSTM-Based Language Model and CNN. Int. J. Adv. Comput. Sci. Appl., 9.10.14569/IJACSA.2018.090610 ↗
22. Ibrahim, H.S., Shati, N.M., and Salih, S.Q. (2023, January 27–28). Utilizing Deep Learning Technique for Arabic Image Captioning. Proceedings of the International Conference of Reliable Information and Communication Technology, Johor Bahru, Malaysia.
23. Emami, J. (2022, January 18–22). Arabic Image Captioning Using Pre-Training of Deep Bidirectional Transformers. Proceedings of the 15th International Conference on Natural Language Generation, Waterville, ME, USA and Virtual Meeting.10.18653/v1/2022.inlg-main.4 ↗
24. Improved Arabic Image Captioning Model Using Feature Concatenation with Pre-Trained Word Embedding10.1007/s00521-023-08744-1 ↗
25. Al-Malki, R.S., and Al-Aama, A.Y. (2023). Arabic Captioning for Images of Clothing Using Deep Learning. Sensors, 23.10.3390/s23083783 ↗
26. Al-Barham, M., Afyouni, I., Almubarak, K., Elnagar, A., Turky, A., and Hashem, I. (2024, January 16). AraCLIP: Cross-Lingual Learning for Effective Arabic Image Retrieval. Proceedings of the Second Arabic Natural Language Processing Conference, Bangkok, Thailand.10.18653/v1/2024.arabicnlp-1.9 ↗
27. Improving Multimodal Datasets with Image Captioning
28. Inoue, G., Alhafni, B., Baimukan, N., Bouamor, H., and Habash, N. (2021). The Interplay of Variant, Size, and Task Type in Arabic Pre-Trained Language Models. arXiv.
29. ElJundi, O., Dhaybi, M., Mokadam, K., Hajj, H.M., and Asmar, D.C. (2020, January 27–29). Resources and End-to-End Neural Network Models for Arabic Image Captioning. Proceedings of the VISIGRAPP (5: VISAPP), Valletta, Malta.10.5220/0008881202330241 ↗
30. From Image Descriptions to Visual Denotations: New Similarity Metrics for Semantic Inference over Event Descriptions10.1162/tacl_a_00166 ↗
31. Hossain, M.A., and Hasan, M.A.F.M.R. (2023). BanglaView: A Bangla Image Captioning Dataset. Mendeley Data.
32. A Hindi Image Caption Generation Framework Using Deep Learning10.1145/3432246 ↗
33. Automatic Image Captioning Combining Natural Language Processing and Deep Neural Networks10.1016/j.rineng.2023.101107 ↗
34. Enhanced Image Captioning Using Features Concatenation and Efficient Pre-Trained Word Embedding
35. Deep Learning Approaches Based on Transformer Architectures for Image Captioning Tasks10.1109/ACCESS.2022.3161428 ↗
36. Chang, Y.H., Chen, Y.J., Huang, R.H., and Yu, Y.T. (2021). Enhanced Image Captioning with Color Recognition Using Deep Learning Methods. Appl. Sci., 12.10.3390/app12010209 ↗
37. Diffusion-LM Improves Controllable Text Generation
38. Mohamed, A., Alwajih, F., Nagoudi, E.M.B., Inciarte, A.A., and Abdul-Mageed, M. (2023). Violet: A Vision-Language Model for Arabic Image Captioning with Gemini Decoder. arXiv.10.18653/v1/2023.arabicnlp-1.1 ↗
39. Hejazi, H.D. (2022). Arabic Image Captioning (AIC): Utilizing Deep Learning and Main Factors Comparison and Prioritization. [Master’s Thesis, The British University in Dubai].
40. Srivastava, S. (2024, January 11–13). Review of Recent Datasets Used in Image Captioning Models. Proceedings of the 2024 International Conference on Sustainable Communication Networks and Application (ICSCNA), Theni, India.10.1109/ICSCNA63714.2024.10864233 ↗
41. Qiu, L., Ning, S., and He, X. (2024, January 20–27). Mining Fine-Grained Image-Text Alignment for Zero-Shot Captioning via Text-Only Training. Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada.10.1609/aaai.v38i5.28260 ↗