Cross-Modal Attention GAN for Text-to-Artistic Image Generation
Abstract
Text and image are two very different data modalities. In the process of converting text-to-image, the essential difference between the two modalities leads to low R-value accuracy (a metric for semantic consistency) in generating the final image. In order to improve the relevance and artistry of the generated design images, a cross-modal attention-based method for generating artistic design images from text is investigated. A cross-modal attention-based generative adversarial network model (CMAGAN) is constructed to realize text-generated art and design images. The CMAGAN model is divided into three phases: in the initial cross-modal image generation phase, the pre-trained RNN is used to encode text descriptions, obtain sentence and word feature vectors, and generate initial cross-modal art and design images through the content-aware up-sampling module and channel-attention convolution module; In the initial image refinement stage, spatial and channel attention mechanisms are introduced to accurately match text and image features; in the image refinement stage, the image features are further attended to and fused using the secondary attention (AoA) mechanism to enhance the visual features; and under the effect of the integrated loss function, the semantically consistent, high-quality and richly-detailed art design images are obtained from the textual descriptions. Conduct experiments using datasets consisting of 6000 images each from Artstor and DeviantArt, two online art platforms. The ablation experiment showed that the complete model had the highest R-value accuracy (such as 0.86 for art, furniture, advertising, and graphics), the highest initial score (IS) (such as 3.65 for art), and the lowest Frechet Inception distance score (FID) (such as 20.4 for art) when generating art, furniture, advertising, and graphics design images. This indicates that the generated images have the strongest semantic consistency with the input text, are clearer and more diverse, and have the shortest distribution distance from real images. Compared with existing methods, the proposed method exhibits better scores in visual semantic similarity (VSS) across multiple sample sizes, with a more significant improvement and consistently maintaining a high level. The above results fully verify the advantages of our method in generating artistic design images from text.DOI:
https://doi.org/10.31449/inf.v49i20.8303Downloads
Published
How to Cite
Issue
Section
License
I assign to Informatica, An International Journal of Computing and Informatics ("Journal") the copyright in the manuscript identified above and any additional material (figures, tables, illustrations, software or other information intended for publication) submitted as part of or as a supplement to the manuscript ("Paper") in all forms and media throughout the world, in all languages, for the full term of copyright, effective when and if the article is accepted for publication. This transfer includes the right to reproduce and/or to distribute the Paper to other journals or digital libraries in electronic and online forms and systems.
I understand that I retain the rights to use the pre-prints, off-prints, accepted manuscript and published journal Paper for personal use, scholarly purposes and internal institutional use.
In certain cases, I can ask for retaining the publishing rights of the Paper. The Journal can permit or deny the request for publishing rights, to which I fully agree.
I declare that the submitted Paper is original, has been written by the stated authors and has not been published elsewhere nor is currently being considered for publication by any other journal and will not be submitted for such review while under review by this Journal. The Paper contains no material that violates proprietary rights of any other person or entity. I have obtained written permission from copyright owners for any excerpts from copyrighted works that are included and have credited the sources in my article. I have informed the co-author(s) of the terms of this publishing agreement.
Copyright © Slovenian Society Informatika







