MemAttn‐CL: Unified Memory, Attention, and Contrastive Learning for Enhanced Text‐to‐Image Generation

ABSTRACT Generating photo‐realistic images from natural language descriptions is a challenging task at the intersection of natural language processing and computer vision. Text‐to‐image synthesis involves generating visual images in a way which naturally matches the semantic meaning of the input text. Recent diffusion‐based models have demonstrated strong performance in image fidelity but are slow in inference and exhibit coarse semantic alignment. To overcome the two problems above and allow images to be more faithful (realistic) to texts and semantics in the wild, we propose a novel hybrid architecture called DM‐GAN+ATT+CL (dynamic memory GAN + contrastive learning and attention mechanisms). Our method proceeds in a two‐step manner: we first produce low‐resolution images based on the DM‐GAN model with dual attention modules and then refine the results through a memory‐based feature refinement mechanism. Contrastive learning was then utilized on a separate dataset with high resolution image‐text pairs to enhance feature discrimination and strengthen semantic consistency. The result is richer semantic relevance, stronger image variation and better visual quality. Extensive experimental results across multiple benchmark datasets—CUB, Oxford‐102, MS‐COCO, and MM‐CelebA‐HQ—demonstrate that the proposed DM‐GAN+ATT+CL framework consistently outperforms state‐of‐the‐art baselines. Notably, it achieved an R‐precision of 95.24, an inception score (IS) of 38.43, and a Fréchet inception distance (FID) of 11.30 on the MS‐COCO dataset, with similarly strong and consistent performance observed across the other datasets. These findings indicate that our approach substantially enriches the diversity and reality of synthetic images, promising a better future for text‐image matching.

Authors

Institutions

Publication Details

Journal
IET Image Processing
Published
2025-01-01
DOI
https://doi.org/10.1049/ipr2.70185
Primary Topic
Multimodal Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MemAttn‐CL: Unified Memory, Attention, and Contrastive Learning for Enhanced Text‐to‐Image Generation

M. F. Mridha, Mohammad Motiur Rahman, Md. Anwar Hussen Wadud, Md. Ahsan Habib
IET Image Processing
Multimodal Machine Learning Applications
article

MemAttn‐CL: Unified Memory, Attention, and Contrastive Learning for Enhanced Text‐to‐Image Generation

M. F. Mridha, Mohammad Motiur Rahman, Md. Anwar Hussen Wadud, Md. Ahsan Habib
article en

Abstract

ABSTRACT Generating photo‐realistic images from natural language descriptions is a challenging task at the intersection of natural language processing and computer vision. Text‐to‐image synthesis involves generating visual images in a way which naturally matches the semantic meaning of the input text. Recent diffusion‐based models have demonstrated strong performance in image fidelity but are slow in inference and exhibit coarse semantic alignment. To overcome the two problems above and allow images to be more faithful (realistic) to texts and semantics in the wild, we propose a novel hybrid architecture called DM‐GAN+ATT+CL (dynamic memory GAN + contrastive learning and attention mechanisms). Our method proceeds in a two‐step manner: we first produce low‐resolution images based on the DM‐GAN model with dual attention modules and then refine the results through a memory‐based feature refinement mechanism. Contrastive learning was then utilized on a separate dataset with high resolution image‐text pairs to enhance feature discrimination and strengthen semantic consistency. The result is richer semantic relevance, stronger image variation and better visual quality. Extensive experimental results across multiple benchmark datasets—CUB, Oxford‐102, MS‐COCO, and MM‐CelebA‐HQ—demonstrate that the proposed DM‐GAN+ATT+CL framework consistently outperforms state‐of‐the‐art baselines. Notably, it achieved an R‐precision of 95.24, an inception score (IS) of 38.43, and a Fréchet inception distance (FID) of 11.30 on the MS‐COCO dataset, with similarly strong and consistent performance observed across the other datasets. These findings indicate that our approach substantially enriches the diversity and reality of synthetic images, promising a better future for text‐image matching.

IET Image ProcessingVol. 19(1)
American International University-Bangladesh (BD), Dagon University (MM), Mawlana Bhashani Science and Technology University (BD), Digital Science (United States) (US)
Openalex Percentile: Top 78%
Multimodal Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.