MBMourad Bahani

Mourad Bahani

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Mourad Bahani has a total of 7 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Image Generation from Arabic Text: Comparative Study of Proposed Architectures

    by Mourad Bahani, Aziza El Ouaazizi, Khalil Maalmi, Abdelouahed Essahlaoui

  • Open Access

    AraBERT and DF-GAN fusion for Arabic text-to-image generation

    by Mourad Bahani, Aziza El Ouaazizi, Khalil Maalmi


  • Open Access

    Arabic Text to Image Generation Tasks

    by Mourad Bahani

    Current AI systems have shown impressive results in the Automatic synthesis realistic images from texts descriptions tasks. In fact, Generative Adversarial Networks (GANs) are used mostly in this tasks. The Generator generates realistic images given noise and sentence vectors, and the discriminator produce a probability of how the synthetic images are reals. In this paper, in order to generate images from Arabic text, we fuse DF-GAN as a sample and efficient text-to-image generation framework and AraBERT architecture. To achieve this purpose, firstly, we re-create new datasets matching the Arabic text-to-image generation task by applying DeepL-Translator from English to Arabic on texts descriptions of original datasets. Secondly, we leverage the power of AraBERT which is trained on billions of Arabic words to produce a strong sentence embedding, and we reduce that vector's dimension to match with DF-GAN shape. Thirdly, we inject the reduced sentence embedding into the UPBlocks sections of DF-GAN and we train the proposed architecture on two challenging datasets. Following the previous works, we use CUB and Oxford-102 flowers as original datasets. Further, we measure our framework with FID and IS. Our framework is the first that achieve much success in generating high-resolution realistic and text matching images conditioned with Arabic text.

  • Open Access

    Increase the effectiveness of the Arabic text-to-image generation task

    by Mourad Bahani, Aziza EL Ouaazizi, Khalil Maalmi

    The Processing of Arabic text to generate images is a challenging task. Because the Arabic language belongs to the Semitic group of languages and it is less discovered than English in the Artificial Intelligent community. It is also a right-to-left language that needs special natural language tools to process. On the other hand, efficient text-to-image generation architectures have been built by the Generative Adversarial Network methodology, which had shown incredible results in so many tasks. In this paper, because the text is the first domain of the text-to-image generation task, we increase the effectiveness of Arabic text-to-image generation by implementing tree approaches. Firstly, We fuse the AraBERT with DF-GAN by injecting the AraBERT sentence vector into the DF-GAN generator and discriminator. Secondly, we fuse a sample text transformer with a DF-GANs generator and discriminator to overcome the out-of-vocabulary limitation. Thirdly, we keep the training process and the text transformer, and we add a learning mask predictor to the architecture to predict a mask, which is used in affine transformation parameters to fuse image and text deeper, and we also train the architecture with the DAMSM loss function to increase the stability in the training phase. The experimental results on CUB and Oxford-flower datasets demonstrate the superiority of the third approach in Arabic text-to-image generation tasks.


  • Open Access

    Fusion of AraBERT and DF-GAN for Arabic Text to Image Generation

    by Mourad Bahani, Aziza EL Ouaazizi, Khalil Maalmi

    Current AI systems have shown impressive results in the Automatic synthesis of high-resolution realistic images from texts descriptions. Specifically, Generative Adversarial Networks (GANs) as a powerful technology that utilizes computer vision tools to create two models, the Generator that generates realistic images and the discriminator that distinguishes whether the images synthesized are real or fake. Further, Most text-to-image generation frameworks leverage the power of GANs to generate realistic images conditioned with texts descriptions. In this paper, we fuse a sample and efficient text-to-image generation framework called DF-GAN and AraBERT architecture to generate images conditioned with Arabic texts descriptions. Firstly, we recreate new datasets matching the Arabic text-to-image generation task by applying super translation using the DeepL-Translator from English to Arabic on texts descriptions. Secondly, we leverage the power of AraBERT which is trained on billions of Arabic words to produce a strong sentence embedding, and we reduce that vector’s dimension to match with DF-GAN shape. Thirdly, we inject the reduced sentence embedding into the DF-GAN framework to generate high-resolution realistic, and text-matching images conditioned with Arabic texts descriptions. Such as in previous work, we use CUB and Oxford-102 flowers as original datasets. Further, we measure our framework with FID and IS. Our framework is the first that achieve much success in generating high-resolution realistic and text matching images conditioned with Arabic text.