     GMAIL: Generative Modality Alignment for generated Image Learning


                                               Shentong Mo 1 2 Sukmin Yun 3


                         Abstract                                  1. Introduction
     Generative models have made it possible to syn-               Generative models, such as GANs (Goodfellow et al., 2020;
     thesize highly realistic images, potentially provid-          Chen et al., 2016) and diffusion models (Song et al., 2021a;
     ing an abundant data source for training machine              Dhariwal & Nichol, 2021; Rombach et al., 2022), have rev-
     learning models. Despite the advantages of these              olutionized the field of computer vision by enabling the
     synthesizable data sources, the indiscriminate use            synthesis of highly realistic images. These generated im-
     of generated images as real images for training               ages offer a rich and scalable source of data, which can
     can even cause mode collapse due to modality                  significantly augment training datasets, enhance data diver-
     discrepancies between real and synthetic domains.             sity, and reduce the dependency on costly real-world data
     In this paper, we propose a novel framework for               collection. However, despite their potential, incorporating
     discriminative use of generated images, coined                generated images directly into training pipelines poses sub-
     GMAIL, that explicitly treats generated images as             stantial challenges due to inherent modality discrepancies
     a separate modality from real images. Instead of              between generated and real images. This misalignment of-
     indiscriminately replacing real images with gener-            ten leads to a phenomenon known as mode collapse (LeCun,
     ated ones in the pixel space, our approach bridges            2022), where the model’s performance severely deteriorates
     the two distinct modalities in the same latent space          due to an over-reliance on generated content that fails to
     through a multi-modal learning approach. To be                generalize well to real-world scenarios. To address this, it is
     specific, we first fine-tune a model exclusively on           essential to solve the generated-to-real (Gen-Real) modality
     generated images using a cross-modality align-                discrepancy problem first.
     ment loss and then employ this aligned model to               Existing approaches (Tian et al., 2024) typically integrate
     further train various vision-language models with             generated images into the training process without ade-
     generated images. By aligning the two modalities,             quately addressing the modality gap between generated and
     our approach effectively leverages the benefits               real images. The resulting models are prone to overfitting
     of recent advances in generative models, thereby              the peculiarities of synthetic data, which negatively impacts
     boosting the effectiveness of generated image                 performance across various downstream tasks, particularly
     learning across a range of vision-language tasks.             when the model encounters real-world data. The primary
     Our framework can be easily incorporated with                 source of this collapse lies in the failure to recognize that
     various vision-language models, and we demon-                 generated images, despite their realism, represent a distinct
     strate its efficacy throughout extensive experi-              data modality that deviates from real images in subtle but
     ments. For example, our framework significantly               significant ways. Addressing this modality gap is crucial to
     improves performance on image captioning, zero-               harnessing the full potential of generated data while main-
     shot image retrieval, zero-shot image classifica-             taining robust performance on real-world tasks.
     tion, and long caption retrieval tasks. It also shows
     positive generated data scaling trends and notable            The challenge of using generated images stems from the
     enhancements in the captioning performance of                 fundamental differences between generated and real-world
     the large multimodal model, LLaVA.                            data distributions. Even when generated images appear vi-
                                                                   sually convincing, they often contain subtle artifacts, biases,
                                                                   or domain-specific noise introduced during the generation
   1
     Department of Machine Learning, CMU, USA 2 Department         process. These discrepancies are not just visual but can
of Machine Learning, MBZUAI, UAE 3 Department of Artificial        also affect higher-level semantic representations, resulting
Intelligence, Hanyang University ERICA, South Korea. Corre-
spondence to: Sukmin Yun <sukminyun@hanyang.ac.kr>.                in a misalignment in the feature space that can propagate
                                                                   through the training pipeline. Furthermore, generative mod-
Proceedings of the 42 nd International Conference on Machine       els may inadvertently capture and amplify biases present
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025        in their training data, leading to synthetic images that devi-
by the author(s).

                                                               1
                           GMAIL: Generative Modality Alignment for generated Image Learning

ate in unexpected ways from real-world distributions. This               through extensive experiments on a diverse set of
modality gap poses significant challenges for downstream                 vision-language benchmarks, including image caption-
tasks, where models trained on misaligned data struggle                  ing, zero-shot image retrieval, and zero-shot image
with overfitting to generated features, reduced robustness,              classification, and further validate its compatibility
and degraded performance when applied to real images.                    with the recent large multimodal model, LLaVA.
Bridging this gap is critical to leveraging the strengths of
generative models while avoiding pitfalls that compromise              • We explore the generated data scaling trend of
model reliability.                                                       our framework using large-scale generated datasets,
                                                                         demonstrating that our approach consistently improves
To tackle this challenge, we introduce a novel framework                 as the volume of training data increases.
for Generative Modality Alignment for generated Image
Learning, namely GMAIL, that explicitly treats generated
images as a separate modality from real images. Unlike              2. Related Work
conventional methods that mix generated and real data in-           Diffusion Models. Diffusion models (Ho et al., 2020; Song
discriminately, our approach bridges the two distinct modal-        et al., 2021b;a) have emerged as a powerful class of gen-
ities in the latent space by embedding generated images             erative models, capable of producing high-quality images
alongside real images having the same descriptions. Specifi-        that closely mimic the distribution of real-world images.
cally, we fine-tune a model exclusively on generated images         Prominent examples include Stable-Diffusion (Rombach
using a cross-modality alignment loss while keeping the pre-        et al., 2022), DreamBooth (Ruiz et al., 2023; 2024), and the
trained model for real images unchanged. This allows for            DALL-E series (Ramesh et al., 2021; 2022; Betker et al.,
explicit and adaptive alignment between the two modalities,         2023), which have demonstrated remarkable success in gen-
enabling us to utilize the aligned model for training various       erating diverse and complex images from textual descrip-
vision-language models (Radford et al., 2021; Liu et al.,           tions. These models leverage advanced diffusion processes
2023; Zhang et al., 2024) with highly realistic generated           to iteratively refine images from noise, capturing intricate
images. Thereby, we fully exploit the advantages of recent          details and generating visually convincing outputs that can
advances in generative models (Rombach et al., 2022), en-           closely resemble real-world imagery. Our work utilizes the
hancing the performance of generated image training across          power of diffusion models to generate images, offering an
various vision-language tasks.                                      innovative and cost-effective source of training data derived
Through the extensive experiments across a wide range               from textual descriptions. By aligning these generated im-
of vision-language tasks, we demonstrate the effective-             ages with real image modalities through our GMAIL frame-
ness of our framework by incorporating it with various              work, we bridge the gap between synthetic image generation
vision-language models such as LLaVA (Liu et al., 2023).            and practical machine learning applications, addressing the
For example, our approach enhances image captioning on              challenges of modality discrepancies. This application of
COCO (Lin et al., 2014), zero-shot image retrieval on               diffusion models represents a novel contribution to the field,
COCO (Lin et al., 2014) and Flickr30k (Young et al., 2014),         as it not only enhances training efficiency but also expands
zero-shot image classification across eight widely used             the use of generative models beyond mere content creation,
datasets, and long caption retrieval on ShareGPT4V (Chen            embedding them directly into the model training process to
et al., 2024). Furthermore, we observe positive generated           improve real-world performance.
data scaling trends in our framework across diverse datasets        Generated Image Learning. Generated image learning has
such as COCO (Lin et al., 2014), CC3M (Sharma et al.,               gained traction as researchers explore the potential of syn-
2018), and CC12M (Changpinyo et al., 2021), highlighting            thetic data to augment traditional training paradigms. Syn-
the scalability of our method. Notably, our approach also           CLR (Tian et al., 2024) proposed a self-supervised frame-
improves the captioning performance of the recent large             work that employs synthetic data to pre-train visual repre-
multimodal model, LLaVA (Liu et al., 2023), demonstrating           sentations, showing that models trained on generated data
its broad compatibility.                                            achieve competitive results compared to those trained on
Our main contributions are summarized as:                           real data. However, a critical challenge in this domain is the
                                                                    issue of mode collapse, where the over-reliance on synthetic
   • We introduce a novel framework for discriminative              data without proper alignment leads to performance degra-
     use of generated images, explicitly treating them as a         dation when models are applied to real-world tasks. Recent
     distinct modality and aligning them with real images           work (Shumailov et al., 2024) highlights the inherent risks
     within the same latent space. It enables researchers to        of training models on recursively generated data, emphasiz-
     exploit highly realistic generated images effectively.         ing that models can inherit and amplify errors in synthetic
                                                                    data, ultimately compromising their ability to generalize.
   • We demonstrate the effectiveness of our framework              Our research directly addresses these challenges by propos-

                                                                2
                            GMAIL: Generative Modality Alignment for generated Image Learning

ing a novel strategy that treats generated images as a distinct       models trained on both generated and real data.
modality and aligns them with real images in the same latent
space. This approach not only mitigates the risk of collapse          3.1. Preliminaries
but also enhances the robustness by embedding generated
images within the same latent space as real images.                   In this subsection, we introduce the problem setup and nota-
                                                                      tions, followed by an overview of the contrastive language-
Meanwhile, there also exist attempts (Zhang et al., 2021;             image pre-training methodology that forms the foundation
Ye et al., 2024; Wu et al., 2023) at generating high-quality          of our approach.
labeled datasets. While prior works have primarily focused
on improving image segmentation tasks by generating mask              Problem Setup and Notations. Let Dr = {(xr , yr )} rep-
labels, we instead aim to bridge modality gaps when us-               resent a dataset of real images with corresponding labels
ing synthetic data to further train vision–language models,           or annotations, and Dg = {(xg , yg )} denote a dataset of
mitigating over-reliance on the synthetic domain.                     generated images synthesized by generative models, such as
                                                                      GANs or diffusion models. Our objective is to train a model
Vision-Language Models. Vision-language models, such                  f (·) that performs well across a broad set of downstream
as CLIP (Radford et al., 2021), have revolutionized cross-            tasks, utilizing both Dr and Dg , while mitigating the risk of
modal understanding by learning joint representations of im-          mode collapse caused by the inherent modality gap between
ages and text through contrastive learning objectives. While          Dr and Dg . To formally define the alignment process, we
these models excel at leveraging large-scale real-world data,         introduce two models: a base model fr , pre-trained on real
they often struggle when trained on generated images due              images, and a fine-tuned model fg , trained specifically on
to the modality gap. To overcome this, recent methods have            generated images. The primary goal of our framework is to
explored various alignment techniques to improve cross-               align fg with fr , ensuring that the feature representations of
modal performance. For example, Long-CLIP (Zhang et al.,              generated images are semantically consistent with those of
2024) extended CLIP by integrating longer captions, improv-           real images. This alignment facilitates a unified understand-
ing its ability to handle more descriptive texts. Similarly,          ing of both modalities, allowing the model to generalize
LLaVA (Liu et al., 2023) has demonstrated the potential for           across real data during inference.
vision-language models to handle multimodal tasks like vi-
sual question answering and captioning by leveraging large-           Contrastive Language-Image Pre-training. Our frame-
scale data. Our work builds on these foundational efforts             work builds on the foundation of Contrastive Language-
by introducing an explicit Gen-Real alignment framework               Image Pre-Training (CLIP) (Radford et al., 2021), which
that enhances the adaptability of vision-language models              learns joint embeddings for images and textual descriptions.
when using generated data. By embedding generated im-                 CLIP leverages a contrastive loss that brings the embeddings
ages within the same latent space as real images and training         of paired images and texts closer, while pushing apart the
the alignment, our approach directly addresses the modal-             embeddings of unpaired ones, fostering cross-modal align-
ity discrepancies that limit model performance, offering a            ment. However, traditional CLIP training does not explicitly
scalable solution that significantly boosts cross-modal learn-        address the discrepancy between generated and real images,
ing across diverse vision-language tasks, including image             often leading to performance degradation when integrating
captioning, zero-shot retrieval, and classification.                  generated data directly. To extend CLIP to handle generated
                                                                      images as a distinct modality, we propose a modified train-
                                                                      ing objective that incorporates contrastive learning not only
3. Method                                                             between real images and text but also between generated
In this section, we describe our proposed Generative                  images and text. This treats generated and real images in-
Modality Alignment for generated Image Learning                       dependently, preserving the unique characteristics of each
(GMAIL) framework, which tackles the challenge of training            modality during training.
on generated images while ensuring robust performance dur-
ing inference on real-world data, as illustrated in Figure 1.         3.2. Gen-CLIP Flow: Training on Generated Images
Our approach introduces two key components: (1) a Gen-                The first key component of our method is the Gen-CLIP
CLIP flow on training and inference that handles generated            flow, which focuses on training the model on generated
and real images as separate modalities, and (2) an explicit           images while treating them as a distinct modality. Unlike
alignment strategy with vision-language models to facili-             traditional approaches that mix generated and real images
tate better integration with large language models (LLMs)             indiscriminately, we handle generated images separately
such as CLIPCap (Mokady et al., 2021), LLaVA (Liu et al.,             to prevent the model from overfitting to the peculiarities
2023), and Llama3 (Meta, 2024). In this part, we detail the           of synthetic data. In the Gen-CLIP flow, we fine-tune a
problem setup, the key components of our framework, and               pre-trained CLIP model (i.e., image encoder of fr ) using
the alignment strategy used to enhance the performance of             generated images, paired with the same textual descriptions

                                                                  3
                                    GMAIL: Generative Modality Alignment for generated Image Learning



         CLIP Flow:
                                                           Real                 Projection                            CLIPCap
          Inference on
                                                       Image Encoder            For Real                               (GPT)
           real images


                                          Image-text alignment



    “A plate of fruit is on the table.”                 Text Encoder   Gen-real alignment                  LLM         LLaVA



                                          Image-text alignment


   Gen-CLIP Flow:
                                                         Generated               Projection
         Training on                                                                                                  LLaMA-3
                                                       Image Encoder           For Generated
    generated images




Figure 1. Illustration of the proposed framework for vision-language tuning with Gen-Real alignment from diffusion models. We
propose a method that explicitly aligns a CLIP trained on real images with another CLIP model trained on generated images and then
leverages the aligned CLIP to train state-of-the-art vision-language models on generated images (i.e., Gen-CLIP Flow). For inference with
real images, the original CLIP is used to process real images, thereby avoiding discrepancies between real and generated modalities.

used for real images. During fine-tuning, we employ a                          3.3. Alignment with Vision-Language Models
cross-modality alignment loss to minimize the feature space
                                                                               Our alignment strategy is designed to enhance the integra-
discrepancy between generated and real images (see Eq. 1).
                                                                               tion of generated data into vision-language models, par-
This contrastive alignment loss encourages the model fg to
                                                                               ticularly large language models (LLMs) such as CLIP-
learn representations that place generated and real images
                                                                               Cap (Mokady et al., 2021), LLaVA (Liu et al., 2023), and
with the same descriptions close to each other in the latent
                                                                               Llama3 (Meta, 2024). This extension of GMAIL ensures
space, while maintaining their distinct modality-specific
                                                                               that generated images can be utilized effectively within these
characteristics. To maintain computational efficiency and
                                                                               models for tasks such as image captioning, retrieval, and
prevent catastrophic forgetting of real image representations,
                                                                               long-form question answering.
we apply Low-Rank Adaptation (LoRA) (Hu et al., 2022)
during fine-tuning. LoRA introduces lightweight, efficient                     Gen-Real Alignment. The key to our framework is the
updates to the model, ensuring that the alignment process                      cross-modality alignment loss, which ensures that generated
does not degrade the model’s ability to generalize across                      images are embedded within the same latent space as real
different data modalities.                                                     images, while maintaining their distinct characteristics. The
                                                                               alignment loss is formulated as:
CLIP Flow: Inference on Real Images. In the inference
phase with real images, the model fg fine-tuned on gen-                                          1        X
erated images in the Gen-CLIP flow can be deployed to                              Lalign = −
                                                                                                |B|
process real images through the original image encoder of                                             (xg ,xr )∈B

fr without further fine-tuning. By keeping the pre-trained                                           exp(sim(fg (xg ), fr (xr ))/τ )
                                                                                             log P                                       ,   (1)
CLIP model for real images unchanged during the generated                                        x′r ∈B exp(sim(fg (xg ), fr (x′r ))/τ )
image training process, we ensure that the learned repre-
sentations from the generated data remain aligned with real                    where xg and xr represent generated and real images, fg and
data. The CLIP flow leverages these aligned representations                    fr are their corresponding image representations, sim(·, ·)
for inference on real images, allowing the model to gen-                       denotes cosine similarity between embeddings, and τ is
eralize well to real-world data without suffering from the                     a temperature parameter. This loss encourages generated
typical mode collapse associated with over-reliance on gen-                    images to be aligned with their real counterparts, facilitating
erated content. This dual-model structure allows the model                     effective transfer of knowledge across both modalities.
to benefit from the complementary strengths of both real
                                                                               CLIPCap (Mokady et al., 2021) combines CLIP’s image
and generated images, ensuring that it performs robustly
                                                                               embeddings with a transformer-based language model to
during real-world deployment while still benefiting from the
                                                                               generate captions from images. By aligning generated im-
scalability of generated training data. Note that the encoder
                                                                               ages with real image embeddings, we ensure that CLIPCap
fine-tuned with the LoRA and the projection for real is used
                                                                               can generate high-quality captions from both real and gener-
on real images during inference time.
                                                                               ated data. Fine-tuning CLIPCap with our alignment frame-

                                                                           4
                           GMAIL: Generative Modality Alignment for generated Image Learning

work allows the model to handle both modalities effectively,         We measure both image-to-text and text-to-image retrieval
resulting in enhanced performance on image captioning.               capabilities using Recall@1, Recall@5, and Recall@10.
                                                                     These metrics assess the model’s ability to correctly retrieve
LLaVA (Liu et al., 2023) & Llama3 (Meta, 2024) are
                                                                     relevant items based on the provided query, highlighting its
advanced multimodal models designed to perform vision-
                                                                     cross-modal understanding. Zero-Shot Image Classifica-
language tasks. To align generated images with these mod-
                                                                     tion: The classification performance on unseen categories
els, we first fine-tune the vision-language models using our
                                                                     is evaluated using top-1 accuracy, reflecting the model’s
GMAIL strategy to ensure that representations from gen-
                                                                     generalization ability to new classes without prior training
erated data are aligned with real data. The aligned vision
                                                                     on those specific categories.
representations are then integrated with the LLMs, allowing
the models to handle complex vision-language tasks such as           Implementation. For image captioning, we adhere to the
long captioning and retrieval more effectively. This align-          implementation strategy of ClipCap (Mokady et al., 2021),
ment enhances the robustness and flexibility of LLaVA and            which combines CLIP with a text generation model to pro-
Llama3 in both real and generated images.                            duce descriptive captions for images. ClipCap uses CLIP’s
                                                                     image embeddings as input to a transformer-based caption-
Our framework is designed to scale effectively with larger
                                                                     ing model, enabling the generation of semantically accurate
datasets, as evidenced by the performance improvements
                                                                     and contextually rich captions for both real and generated
observed on large-scale datasets such as CC3M (Sharma
                                                                     images. For zero-shot evaluation on both retrieval and im-
et al., 2018) and CC12M (Changpinyo et al., 2021). The
                                                                     age classification tasks, we follow the setup detailed in the
alignment strategy ensures that as the volume of generated
                                                                     original CLIP (Radford et al., 2021) paper. This setup em-
training data increases, the model continues to generalize
                                                                     phasizes the model’s ability to generalize across unseen
effectively to real-world data. This scalability demonstrates
                                                                     data by using natural language prompts to guide image clas-
the potential of GMAIL as a cost-effective solution for train-
                                                                     sification and retrieval, leveraging the contrastive training
ing robust vision-language models using synthetic data.
                                                                     between images and textual descriptions without explicit
                                                                     fine-tuning on target datasets. We adopt Stable Diffusion
4. Experiments                                                       v2 (Rombach et al., 2022) to generate synthetic images us-
                                                                     ing captions from the COCO (Lin et al., 2014) train2014
In this section, we provide the experimental setup, evalua-
                                                                     set. Stable Diffusion provides high-quality image synthe-
tion metrics, and comparative analysis conducted to validate
                                                                     sis, enabling us to produce generated images that are both
the effectiveness of our method. Through rigorous experi-
                                                                     visually realistic and semantically aligned with the training
mentation on a diverse set of datasets, we assess our model
                                                                     captions, serving as the generated modality in our align-
on image captioning, zero-shot image retrieval, and zero-
                                                                     ment framework. During fine-tuning, we use a rank of 4
shot image classification tasks, comparing it against existing
                                                                     in Low-Rank Adaptation (LoRA) to adjust the model pa-
benchmarks to highlight our contributions.
                                                                     rameters specifically for generated images, ensuring that the
                                                                     adaptation remains efficient and computationally manage-
4.1. Experimental Setup                                              able. For optimization, we use the AdamW optimizer with
Datasets. Our experiments leverage a comprehensive collec-           a learning rate of 1 × 10−4 and weight decay of 0.01. We
tion of datasets to evaluate the versatility and effectiveness       employ a cosine annealing schedule with warm restarts to
of our proposed Gen-Real alignment framework. We fo-                 dynamically adjust the learning rate, enhancing convergence
cus on a diverse set of tasks, including image captioning,           stability across training phases. Batch normalization and
zero-shot image retrieval, and zero-shot image classification,       gradient clipping are applied to prevent exploding gradients
ensuring broad coverage across various domains. Please               and ensure smooth training dynamics.
refer to Appendix Section A for the detailed dataset settings.
                                                                     4.2. Comparison to prior work
Evaluation Metrics. To comprehensively evaluate our
framework, we employ task-specific metrics tailored to im-           Image Captioning. We compare our model’s performance
age captioning, zero-shot image retrieval, and zero-shot             on the COCO dataset against prior commonly-used base-
image classification: Image Captioning: Performance is as-           lines, including ClipCap (Mokady et al., 2021), LLaVA (Liu
sessed using standard metrics such as BLEU@4 (B@4) (Pa-              et al., 2023), and LLAMA-3 (Meta, 2024). The results,
pineni et al., 2002), METEOR (Denkowski & Lavie, 2014),              detailed in Table 1, demonstrate significant improvements
CIDEr (Vedantam et al., 2014), SPICE (Anderson et al.,               across all evaluated metrics, underscoring the efficacy of our
2016), ROUGE-L (Lin & Och, 2004), and Word Mover’s                   GMAIL approach when combined with synthetic images
Distance (WMD) (Kusner et al., 2015). These metrics evalu-           and LoRA optimization. For ClipCap, the proposed Clip-
ate the quality and semantic accuracy of generated captions          Cap + GMAIL configuration achieves 38.12 B@4, 31.67
compared to ground truth. Zero-Shot Image Retrieval:                 METEOR, 119.53 CIDEr, 23.75 SPICE, 56.27 ROUGE-L,

                                                                 5
                           GMAIL: Generative Modality Alignment for generated Image Learning


Table 1. Image captioning. We perform fine-tuning on pre-trained ClipCap, IFCap, LLaVA, and LLaMA-3 for image captioning on
COCO. We report the standard metrics to evaluate the quality of generated captions. The best results are indicated in bold.
         Method                          B@4 (↑)    METEOR(↑)         CIDEr (↑)   SPICE (↑)    ROUGE-L (↑)     WMD (↑)
         ClipCap (Mokady et al., 2021)    32.15          27.10          108.35      20.12            –                –
         ClipCap + GMAIL (ours)           38.12          31.67          119.53      23.75          56.27            62.16
         IFCap (Lee et al., 2024)         33.25          28.60          115.27      21.58          51.35            56.72
         IFCap + GAMIL (ours)             39.32          32.07          127.86      23.98          59.83            63.51
         LLaVA (Liu et al., 2023)         39.67          32.38          134.29      24.17          61.36            65.78
         LLaVA + GMAIL (ours)             43.26          34.89          146.38      27.23          65.25            71.39
         Llama3 (Meta, 2024)              47.36          35.21          158.13      28.35          68.32            75.13
         Llama3 + GMAIL (ours)            50.21          38.59          168.53      32.58          73.29            80.25

Table 2. Zero-shot image retrieval on COCO. We perform zero-shot retrieval on pre-trained CLIP models for image retrieval on the
COCO benchmark. We report the image-to-text and text-to-image Recall@1,5,10 metrics to evaluate the quality of retrieved images.
                                                         Image-to-Text                        Text-to-Image
              Method
                                               R@1 (↑)     R@5 (↑) R@10 (↑)         R@1 (↑)     R@5 (↑) R@10 (↑)
              CLIP (Radford et al., 2021)         51.8       76.8          84.3       32.7       57.7        68.2
              CLIP + GMAIL (ours)                 56.8       80.1          87.2       37.5       62.7        73.2
              Long-CLIP (Zhang et al., 2024)      57.2       80.8          87.8       40.4       65.9        75.7
              Long-CLIP + GMAIL (ours)            62.3       84.1          91.2       45.6       69.8        79.5

and 62.16 WMD, significantly outperforming the baseline              on real images by 5.0 R@1, 3.3 R@5, and 2.9 R@10. For
ClipCap and the ClipCap + LoRA setup. Specifically, our              text-to-image retrieval, CLIP + GMAIL scores 37.5 R@1,
GMAIL approach boosts the original ClipCap (Mokady                   62.7 R@5, and 73.2 R@10, demonstrating gains of 4.8
et al., 2021) by 5.97 B@4, 4.57 METEOR, 11.18 CIDEr,                 R@1, 5.0 R@5, and 5.0 R@10 compared to the baseline
and 3.63 SPICE. These results highlight the advantages of            CLIP. These improvements validate the effectiveness of our
aligning generated and real images within a unified seman-           alignment strategy in bridging the gap between generated
tic space, allowing for enhanced image captioning perfor-            and real image modalities, enhancing zero-shot retrieval
mance. Similarly, when applied to LLAMA-3, our LLAMA-                capabilities. Similarly, when applied to the Long-CLIP ar-
3 + GMAIL model reaches 50.21 B@4, 38.59 METEOR,                     chitecture (Zhang et al., 2024), our Long-CLIP + GMAIL
168.53 CIDEr, 32.58 SPICE, 73.29 ROUGE-L, and 80.25                  configuration further boosts performance, achieving 62.3
WMD, demonstrating notable improvements over both the                R@1, 84.1 R@5, and 91.2 R@10 on image-to-text retrieval,
baseline and the LoRA fine-tuning strategy. Compared to              and 45.6 R@1, 69.8 R@5, and 79.5 R@10 on text-to-image
LLAMA-3 alone, GMAIL achieves gains of 2.85 B@4,                     retrieval. This demonstrates that GMAIL consistently en-
2.46 METEOR, 10.35 CIDEr, and 4.30 SPICE, establish-                 hances model performance across different backbone archi-
ing our approach as a robust technique for enhancing mod-            tectures by facilitating better alignment of generated images
els through Gen-Real alignment. The substantial gains ob-            with real-world data. On the Flickr30k dataset, our CLIP
served across both model architectures confirm the effec-            + GMAIL model achieves 47.1 R@1, 71.2 R@5, and 79.6
tiveness of our GMAIL framework. By fine-tuning with                 R@10 for image-to-text retrieval, outperforming CLIP by
generated images while maintaining alignment with real               3.0 R@1, 3.2 R@5, and 2.6 R@10. In text-to-image re-
image modalities, our method effectively bridges the modal-          trieval, the model scores 39.3 R@1, 61.5 R@5, and 71.8
ity gap, resulting in better understanding and generation of         R@10, with respective gains of 14.6 R@1, 16.0 R@5, and
descriptive captions aligned with real-world data.                   17.2 R@10 over CLIP. These results validate the robustness
                                                                     of our approach in learning meaningful representations from
Zero-shot Image Retrieval. The comparative results in
                                                                     generated images for zero-shot retrieval on real images.
Tables 2 and 3 highlight our model’s superior recall rates,
showcasing its robustness in understanding and associating           Zero-shot Image Classification. We evaluate the zero-shot
visual and textual data. Our method is evaluated on two              classification performance of our model across eight di-
benchmarks: COCO and Flickr30k, using both image-to-                 verse benchmarks, including DTD, Stanford Cars, SUN397,
text and text-to-image retrieval tasks, demonstrating signif-        Food 101, Aircraft, Oxford Pets, Caltech 101, and ImageNet
icant improvements over prior baselines. On the COCO                 1K. As shown in Table 4, our model consistently achieves
dataset, our approach, CLIP + GMAIL, achieves 56.8 R@1,              top-1 accuracy surpassing previous approaches, validating
80.1 R@5, and 87.2 R@10 for image-to-text retrieval, out-            the advantage of leveraging generated images through our
performing the original CLIP (Radford et al., 2021) trained          framework for enhancing zero-shot learning capabilities.

                                                                 6
                             GMAIL: Generative Modality Alignment for generated Image Learning


Table 3. Zero-shot image retrieval on Flickr30k. We perform zero-shot retrieval on pre-trained CLIP models for image retrieval on the
Flickr30k benchmark. We report the image-to-text and text-to-image Recall@1,5,10 metrics to evaluate the quality of retrieved images.
                                                                  Image-to-Text                           Text-to-Image
               Method
                                                      R@1 (↑)       R@5 (↑) R@10 (↑)           R@1 (↑)      R@5 (↑) R@10 (↑)
               CLIP (Radford et al., 2021)                44.1       68.2           77.0         24.7         45.1        54.6
               CLIP + GMAIL (ours)                        47.1       71.2           79.6         30.2         50.3        60.5
               Long-CLIP (Zhang et al., 2024)             47.2       71.5           80.0         33.1         55.6        64.9
               Long-CLIP + GMAIL (ours)                   51.6       75.3           83.6         39.3         61.5        71.8

Table 4. Zero-shot image classification. We perform a zero-shot evaluation on pre-trained CLIP models for image classification on eight
benchmarks. We report the top-1 accuracy to evaluate the quality of learned representations. The best results are indicated in bold.
  Method                           DTD       Stanford Cars       SUN397       Food 101     Aircraft     Oxford Pets   Caltech 101   ImageNet
  CLIP (Radford et al., 2021)      55.20          77.53           69.31        93.08        32.88         93.33         93.24         75.54
  CLIP + GMAIL (ours)              65.26          81.32           75.53        95.21        37.85         95.23         95.57         77.68
  SynCLR (Tian et al., 2024)       79.90          93.80           76.20        91.60        81.70         93.60         95.30       85.80 (ft)
  SynCLR + GMAIL (ours)            83.67          96.56           81.25        96.38        86.75         95.70         98.35       87.95 (ft)

Table 5. Long caption retrieval on ShareGPT4V. We report the                  our CLIP + GMAIL configuration achieves 85.2 for image-
image-to-text and text-to-image Recall@1 to evaluate the quality              to-text and 86.7 for text-to-image retrieval, outperforming
of retrieved images. The best results are indicated in bold.                  both the original CLIP (Radford et al., 2021) and the CLIP
  Method                            Image-to-Text    Text-to-Image            + LoRA variants. This result highlights the effectiveness
  CLIP (Radford et al., 2021)              78.2            79.6               of our alignment strategy in bridging the semantic gap be-
  CLIP + GMAIL (ours)                      85.2            86.7               tween generated and real images, particularly when handling
  Long-CLIP (Zhang et al., 2024)           94.6            93.3               complex, long-caption scenarios. When applied to the Long-
  Long-CLIP + GMAIL (ours)                 97.2            96.1               CLIP architecture (Zhang et al., 2024), our Long-CLIP +
                                                                              GMAIL configuration reaches 97.2 for image-to-text and
Our CLIP + GMAIL approach achieves a top-1 accuracy of                        96.1 for text-to-image retrieval, marking the highest perfor-
65.26 on the DTD benchmark, outperforming the original                        mance among all tested configurations. These gains of 2.6
CLIP (Radford et al., 2021) by 10.06 points, demonstrating                    and 1.6 over Long-CLIP + LoRA confirm that our approach
the significant benefit of aligning generated images with                     not only strengthens the alignment between modalities but
real data. On the Stanford Cars dataset, our model reaches                    also substantially improves the retrieval of images and cap-
81.32, showing robust performance gains, particularly in                      tions involving extended and intricate descriptions. Overall,
fine-grained classification tasks. For the challenging FGVC                   these results confirm the robustness and scalability of our
Aircraft benchmark, our method scores 37.85, marking a                        framework in managing complex captioning tasks.
substantial improvement of 4.97 over the baseline CLIP,
highlighting our model’s capacity to handle complex visual                    4.3. Experimental analysis
distinctions. Additionally, our model performs exception-
ally well on other benchmarks, achieving 75.53 on SUN397,                     In this section, we performed ablation studies to demonstrate
95.21 on Food 101, 95.23 on Oxford Pets, 95.57 on Cal-                        the benefit of Gen-Real alignment. We also conducted ex-
tech 101, and 77.68 on ImageNet 1K. These results consis-                     tensive experiments to explore the scaling trend on different
tently outperform both the standard CLIP and the CLIP +                       training data sizes.
LoRA setup, confirming the effectiveness of our Gen-Real                      Gen-Real Alignment. To quantify the impact of Gen-Real
alignment strategy in broadening the model’s generalization                   alignment fine-tuning on our model’s performance, we con-
capabilities across various domains.                                          ducted ablation studies comparing models with and without
Long Caption Retrieval. We evaluate our model’s capabil-                      alignment optimization. The results, presented in Table 6,
ity to handle long captions using the ShareGPT4V (Chen                        demonstrate significant improvements across all metrics
et al., 2024) benchmark, as reported in Table 5. The evalu-                   when alignment tuning is applied, validating the effective-
ation focuses on image-to-text and text-to-image retrieval                    ness of our proposed approach. In the context of image
tasks, with Recall@1 used to assess the quality of retrieved                  captioning tasks, models fine-tuned with Gen-Real align-
results. Our model demonstrates an enhanced ability to com-                   ment consistently outperform their counterparts that lack
prehend and generate relevant responses to extended textual                   this optimization step. Specifically, adding Gen-Real align-
inputs, affirming its utility in applications that require de-                ment to the vanilla baseline using synthetic images to fine-
tailed and descriptive outputs. For the CLIP-based models,                    tune all parameters led to substantial increases across all

                                                                          7
                            GMAIL: Generative Modality Alignment for generated Image Learning


Table 6. Ablation study on Gen-Real Alignment. We perform ablation studies on image captioning from pre-trained CLIP on generated
images. The best results are indicated in bold.
                   Alignment    B@4 (↑)     METEOR(↑)     CIDEr (↑)      SPICE (↑)    ROUGE-L (↑)     WMD (↑)
                       ✗         36.15          30.32       115.35         22.95          55.12           61.08
                       ✓         38.12          31.67       119.53         23.75          56.27           62.16

Table 7. Scaling trend of Gen-Real alignment on zero-shot image retrieval on Flickr30k. We perform zero-shot retrieval on models
trained from COCO, CC3M, and CC12M on Flickr30k. We report the Recall@1,5,10 metrics to evaluate the quality of retrieved images.
                                                Image-to-Text                        Text-to-Image
                        Train Data
                                     R@1 (↑)      R@5 (↑) R@10 (↑)        R@1 (↑)      R@5 (↑) R@10 (↑)
                           COCO          47.1      71.2         79.6        30.2        50.3       60.5
                           CC3M          48.6      73.6         82.2        32.6        52.6       62.3
                           CC12M         50.9      75.3         84.6        34.9        54.7       64.8

                                                                     Table 8. Comparison with SigLIP on COCO captioning. Our
                                                                     GMAIL significantly improves SigLIP by effectively addressing
                                                                     the synthetic-real discrepancy. The best results are bold.
                                                                            Method                    B@4 (↑)     CIDEr (↑)
                                                                            SigLIP                        37.51    117.82
                                                                            SigLIP + GMAIL (ours)         42.35    125.68


                                                                     The results reveal a clear scaling trend, where increasing the
                                                                     volume of training data from COCO to CC3M and then to
                                                                     CC12M consistently enhances the model’s performance on
                                                                     both image-to-text and text-to-image retrieval tasks. Specif-
                                                                     ically, our model trained on CC12M achieves the high-
Figure 2. Visualizations of real (Column 1) and generated im-        est scores with 50.9 R@1, 75.3 R@5, and 84.6 R@10
ages (Columns 2-6) using the same caption. Those generated           for image-to-text retrieval, and 34.9 R@1, 54.7 R@5, and
images generally capture high-level semantics in real images.        64.8 R@10 for text-to-image retrieval, outperforming the
                                                                     models trained on the smaller COCO and CC3M datasets.
evaluated metrics: 3.56 in B@4, 1.13 in METEOR, 4.18 in              These improvements demonstrate that our Gen-Real align-
CIDEr, 0.8 in SPICE, 1.15 in ROUGE-L, and 1.09 in WMD.               ment framework benefits significantly from larger and more
These improvements highlight the critical role of alignment          diverse training datasets of generated images, effectively
fine-tuning in bridging the modality gap between generated           capturing richer semantic representations and enhancing re-
and real images, which enables the model to better cap-              trieval capabilities. The results underscore the effectiveness
ture and replicate the semantic richness found in real-world         of our method in leveraging the scaling trend of generated
data. The results underscore the effectiveness of Gen-Real           data, showing that as the scale of synthetic images increases,
alignment in optimizing model performance, particularly              our model continues to learn and generalize better across
in adapting to the nuances of generated images and their             zero-shot retrieval tasks.
associated textual descriptions. By embedding generated
                                                                     Visualization of Generated Images. To further understand
images within the same latent space as real images, our
                                                                     the quality and semantic alignment of the generated images
approach enhances the model’s ability to understand and
                                                                     used in our training process, we provide visualizations of a
process complex visual-language relationships, ultimately
                                                                     subset of generated images alongside their corresponding
leading to superior performance in downstream tasks.
                                                                     real counterparts, as shown in Figure 2. These images were
Scaling trend of Gen-Real alignment. To further eval-                generated using Stable Diffusion (Rombach et al., 2022),
uate the scalability of our proposed Gen-Real alignment,             and are designed to closely match the real-world data in
we explore its performance across varying scales of train-           terms of visual realism and content. Through these visual-
ing data. Specifically, we apply our training framework on           izations, we observe that while generated images generally
synthetic images derived from COCO (Lin et al., 2014),               capture high-level features and structures present in real
CC3M (Sharma et al., 2018), and CC12M (Changpinyo                    images, they may still exhibit subtle artifacts or variations
et al., 2021). The comparison results on zero-shot image             that could contribute to the modality gap. Despite these dif-
retrieval on the Flickr30k benchmark are reported in Table 7.        ferences, our Gen-Real Alignment framework successfully

                                                                 8
                             GMAIL: Generative Modality Alignment for generated Image Learning


Table 9. Comparison with models trained on real images. We perform experiments on image captioning from pre-trained CLIP on
generated and real images. The best results are indicated in bold.
                       Dual Projection    Alignment     Fine-tuning Data      B@4 (↑)    CIDEr (↑)      SPICE (↑)
                              ✗               ✗               ✗                32.15       108.35           20.12
                              ✗               ✗            Synthetic           36.15       115.35           22.95
                              ✓               ✓            Synthetic           38.12       119.53           23.75
                              ✗               ✗              Real              38.24       119.78           23.86
                              ✓               ✓              Real              38.37       119.95           23.98

Table 10. Visual question answering on ScienceQA. We report             Table 11. Ablation study on LoRA rank and full fine-tuning.
the average accuracy on questions with the image context from the       We perform experiments on image captioning from pre-trained
ScienceQA benchmark. The best results are bold.                         CLIP on generated images. The best results are indicated in bold.
          Method                         Accuracy (%)                        Method             B@4 (↑)       CIDEr (↑)   SPICE (↑)
          LLaVA                              85.2                            LoRA (rank = 2)        36.85       117.62      23.10
          LLaVA + GMAIL (ours)               87.6                            LoRA (rank = 4)        38.12       119.53      23.75
          LLaMA-3                            88.5                            LoRA (rank = 6)        37.96       119.12      23.60
          LLaMA-3 + GMAIL (ours)             91.2                            Full fine-tuning       37.50       118.95      23.50

bridges this gap, as evidenced by the alignment of seman-               These results highlight GMAIL’s ability to enhance VLM’s
tic features between the generated and real images in the               generalization across multimodal tasks.
learned latent space. The visualizations not only illustrate            Ablation on LoRA. LoRA (Hu et al., 2022) allows efficient
the potential of generated data as a cost-effective supple-             adaptation to synthetic data while preserving the knowledge
ment to real-world data but also highlight the importance               from pre-training on large-scale real data. This avoids the
of explicit alignment strategies to mitigate discrepancies              need for full fine-tuning, which can overwrite important pre-
between generated and real data distributions.                          trained weights, especially when synthetic data is noisy or
Comparison with SigLIP. To strengthen the effectiveness                 biased. The ablation results are reported in Table 11. As can
of our work, we compare GMAIL with SigLIP (Zhai et al.,                 be seen, LoRA with rank 4 achieves the best performance,
2023) on COCO captioning. The results are shown in Ta-                  balancing computational efficiency and alignment quality.
ble 8. SigLIP (Zhai et al., 2023) adopts a sigmoid loss for             Meanwhile, LoRA updates 35% fewer parameters compared
better image-text pre-training, focusing solely on real im-             to full fine-tuning while achieving better performance.
ages. In contrast, our GMAIL aligns real and generated
images as distinct modalities, addressing the challenges of             5. Conclusion
integrating synthetic data into further training. GMAIL is              In this work, we present GMAIL, a novel framework for
particularly relevant in scenarios requiring synthetic data,            generative-to-real alignment that addresses the modality gap
such as handling expensive attribute annotations or gener-              between generated and real images, a key challenge that
ating diverse samples. These results demonstrate that our               often leads to mode collapse when integrating generated
GMAIL complements SigLIP by effectively addressing the                  data into training pipelines. Our approach explicitly treats
synthetic-real discrepancy, allowing for enhanced general-              generated images as a separate modality and employs a
ization and performance improvements.                                   training scheme that aligns these images within the same
                                                                        latent space as real images. By fine-tuning models on gen-
Training on Real Images. To illustrate the impact of real
                                                                        erated images, while maintaining a pre-trained model for
images on GMAIL, we compare performances on COCO
                                                                        real images, our framework facilitates explicit alignment be-
captioning using real-only (first and fourth rows), mixed
                                                                        tween the two modalities, leading to significant performance
real-generated data (second row), and GMAIL alignment
                                                                        improvements across various vision-language tasks. Exten-
strategies (third and fifth rows). The results are shown in
                                                                        sive experiments demonstrate the efficacy of our method on
Table 9. These results indicate that GMAIL’s alignment
                                                                        a wide range of benchmarks, including image captioning,
strategy not only bridges the synthetic-real gap but also
                                                                        zero-shot image retrieval, and zero-shot image classifica-
could improve models trained exclusively on real data.
                                                                        tion. Our results consistently show that GMAIL enhances
ScienceQA Results. We also evaluated GMAIL’s perfor-                    the model’s ability to generalize and perform across tasks,
mance on ScienceQA (Lu et al., 2022) when integrated with               particularly when trained on large-scale datasets. The scal-
LLaVA (Liu et al., 2023) and LLaMA-3 (Meta, 2024). We                   ing trend observed with larger generated datasets such as
calculated the average accuracy of questions with the image             CC12M further highlights the robustness and adaptability
context. The comparison results are reported in Table 10.               of our approach.

                                                                    9
                           GMAIL: Generative Modality Alignment for generated Image Learning

Acknowledgements                                                      Chen, L., Li, J., Dong, X., Zhang, P., He, C., Wang, J., Zhao,
                                                                        F., and Lin, D. Sharegpt4v: Improving large multi-modal
This work was supported by the research fund of Hanyang                 models with better captions. In European Conference on
University(HY-2024-2693) and the National Supercomput-                  Computer Vision, pp. 370–387. Springer, 2024.
ing Center with supercomputing resources including techni-
cal support(KSC-2024-CRE-0492).                                       Chen, X., Duan, Y., Houthooft, R., Schulman, J., Sutskever,
                                                                        I., and Abbeel, P. Infogan: Interpretable representation
Impact Statement                                                        learning by information maximizing generative adver-
                                                                        sarial nets. Advances in neural information processing
Our work leverages generative models, such as stable dif-               systems, 29, 2016.
fusion models (Rombach et al., 2022), to create generated
images that can supplement real-world datasets in training            Cimpoi, M., Maji, S., Kokkinos, I., Mohamed, S., , and
machine learning models. While this approach offers signifi-            Vedaldi, A. Describing textures in the wild. In Proceed-
cant benefits in terms of reducing the need for expensive and           ings of the IEEE Conf. on Computer Vision and Pattern
time-consuming real-world data collection, we recognize                 Recognition (CVPR), 2014.
the potential ethical risks associated with generated data.
Generated images may inadvertently reflect biases present in          Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-
the data used to train the generative models, potentially per-          Fei, L. ImageNet: A Large-Scale Hierarchical Image
petuating harmful stereotypes or inaccuracies. To mitigate              Database. In Proceedings of IEEE/CVF Conference on
this, we emphasize the importance of careful curation of                Computer Vision and Pattern Recognition (CVPR), pp.
training datasets and encourage the community to develop                248–255, 2009.
strategies for auditing and debiasing generative models. Ad-
ditionally, the alignment of generated data with real-world           Denkowski, M. J. and Lavie, A. Meteor universal: Language
data must be handled with caution, as over-reliance on gen-             specific translation evaluation for any target language. In
erated content can obscure important real-world variations.             Proceedings of the ninth workshop on statistical machine
                                                                        translation, pp. 376–380, 2014.
References
                                                                      Dhariwal, P. and Nichol, A. Diffusion models beat gans
Anderson, P., Fernando, B., Johnson, M., and Gould, S.                  on image synthesis. Advances in neural information
  Spice: Semantic propositional image caption evaluation.               processing systems, 34:8780–8794, 2021.
  In Proceedings of the European Conference on Computer
 Vision (ECCV), pp. 382–398, 2016.                                    Fei-Fei, L., Fergus, R., and Perona, P. Learning generative
                                                                        visual models from few training examples: An incremen-
Assran, M., Duval, Q., Misra, I., Bojanowski, P., Vincent,              tal bayesian approach tested on 101 object categories. In
  P., Rabbat, M., LeCun, Y., and Ballas, N. Self-supervised             2004 Conference on Computer Vision and Pattern Recog-
  learning from images with a joint-embedding predictive                nition Workshop, pp. 178–178, 2004.
  architecture. In Proceedings of the IEEE/CVF Conference
  on Computer Vision and Pattern Recognition, pp. 15619–              Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B.,
 15629, 2023.                                                          Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y.
                                                                        Generative adversarial networks. Communications of the
Betker, J., Goh, G., Jing, L., Brooks, T., Wang, J., Li, L.,           ACM, 63(11):139–144, 2020.
  Ouyang, L., Zhuang, J., Lee, J., Guo, Y., Manassra, W.,
  Dhariwal, P., Chu, C., Jiao, Y., and Ramesh, A. Improving           Ho, J., Jain, A., and Abbeel, P. Denoising diffusion proba-
  image generation with better captions. OpenAI Technical               bilistic models. In Proceedings of Advances In Neural In-
  Report, 2023.                                                         formation Processing Systems (NeurIPS), pp. 6840–6851,
                                                                        2020.
Bossard, L., Guillaumin, M., and Van Gool, L. Food-101 –
  mining discriminative components with random forests.               Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang,
  In European Conference on Computer Vision, 2014.                      S., Wang, L., Chen, W., et al. Lora: Low-rank adaptation
                                                                        of large language models. ICLR, 1(2):3, 2022.
Changpinyo, S., Sharma, P., Ding, N., and Soricut, R. Con-
  ceptual 12M: Pushing web-scale image-text pre-training              Krause, J., Stark, M., Deng, J., and Fei-Fei, L. 3d object rep-
  to recognize long-tail visual concepts. In Proceedings of             resentations for fine-grained categorization. In 2013 IEEE
  IEEE/CVF Conference on Computer Vision and Pattern                    International Conference on Computer Vision Workshops,
  Recognition (CVPR), 2021.                                             pp. 554–561, 2013.

                                                                 10
                            GMAIL: Generative Modality Alignment for generated Image Learning

Kusner, M. J., Sun, Y., Kolkin, N. I., and Weinberger, K. Q.           Parkhi, O. M., Vedaldi, A., Zisserman, A., and Jawahar,
  From word embeddings to document distances. In Pro-                    C. V. Cats and dogs. In IEEE Conference on Computer
  ceedings of International Conference on Machine Learn-                 Vision and Pattern Recognition, 2012.
  ing (ICML), 2015.
                                                                       Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G.,
Labs, B. F.  Flux.   https://github.com/                                 Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J.,
  black-forest-labs/flux, 2024.                                          et al. Learning transferable visual models from natural
                                                                         language supervision. In International conference on
LeCun, Y. A path towards autonomous machine intelligence                 machine learning, pp. 8748–8763. PmLR, 2021.
  version 0.9. 2, 2022-06-27. Open Review, 62, 2022.
                                                                       Ramesh, A., Pavlov, M., Goh, G., Gray, S., Voss, C., Rad-
Lee, S., Kim, S.-W., Kim, T., and Kim, D.-J. Ifcap: Image-               ford, A., Chen, M., and Sutskever, I. Zero-shot text-to-
  like retrieval and frequency-based entity filtering for zero-          image generation. In International conference on ma-
  shot captioning. arXiv preprint arXiv:2409.18046, 2024.                chine learning, pp. 8821–8831. Pmlr, 2021.
Lin, C.-Y. and Och, F. J. Automatic evaluation of machine
                                                                       Ramesh, A., Dhariwal, P., Nichol, A., Chu, C., and Chen,
  translation quality using longest common subsequence
                                                                         M. Hierarchical text-conditional image generation with
  and skip-bigram statistics. In Annual Meeting of the
                                                                         clip latents. arXiv preprint arXiv:2204.06125, 2022.
  Association for Computational Linguistics, 2004.
                                                                       Rombach, R., Blattmann, A., Lorenz, D., Esser, P., and
Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P.,
                                                                         Ommer, B. High-resolution image synthesis with la-
  Ramanan, D., and Zitnick, C. L. Microsoft coco: Com-
                                                                         tent diffusion models. In Proceedings of the IEEE/CVF
  mon objects in context. In Proceedings of the European
                                                                         Conference on Computer Vision and Pattern Recognition
  Conference on Computer Vision (ECCV), pp. 740–755,
                                                                        (CVPR), pp. 10684–10695, June 2022.
  2014.
                                                                       Ruiz, N., Li, Y., Jampani, V., Pritch, Y., Rubinstein, M.,
Liu, H., Li, C., Wu, Q., and Lee, Y. J. Visual instruction tun-
                                                                         and Aberman, K. Dreambooth: Fine tuning text-to-image
  ing. In Proceedings of Advances In Neural Information
                                                                         diffusion models for subject-driven generation. In Pro-
  Processing Systems (NeurIPS), 2023.
                                                                         ceedings of the IEEE/CVF conference on computer vision
Lu, P., Mishra, S., Xia, T., Qiu, L., Chang, K.-W., Zhu,                 and pattern recognition, pp. 22500–22510, 2023.
  S.-C., Tafjord, O., Clark, P., and Kalyan, A. Learn to
                                                                       Ruiz, N., Li, Y., Jampani, V., Wei, W., Hou, T., Pritch, Y.,
  explain: Multimodal reasoning via thought chains for
                                                                         Wadhwa, N., Rubinstein, M., and Aberman, K. Hyper-
  science question answering. In The 36th Conference on
                                                                         dreambooth: Hypernetworks for fast personalization of
  Neural Information Processing Systems (NeurIPS), 2022.
                                                                         text-to-image models. In Proceedings of the IEEE/CVF
Maji, S., Rahtu, E., Kannala, J., Blaschko, M., and Vedaldi,             conference on computer vision and pattern recognition,
 A. Fine-grained visual classification of aircraft. arXiv                pp. 6527–6536, 2024.
 preprint arXiv:1306.5151, 2013.
                                                                       Sharma, P., Ding, N., Goodman, S., and Soricut, R. Con-
Meta, A. Introducing meta llama 3: The most capable                      ceptual captions: A cleaned, hypernymed, image alt-text
 openly available llm to date. Meta AI, 2024.                            dataset for automatic image captioning. In Gurevych,
                                                                         I. and Miyao, Y. (eds.), Proceedings of the 56th Annual
Mishra, S., Panda, R., Phoo, C. P., Chen, C.-F. R., Karlinsky,           Meeting of the Association for Computational Linguistics
 L., Saenko, K., Saligrama, V., and Feris, R. S. Task2sim:               (Volume 1: Long Papers), pp. 2556–2565, 2018.
 Towards effective pre-training and transfer from synthetic
 data. In Proceedings of the IEEE/CVF conference on                    Shumailov, I., Shumaylov, Z., Zhao, Y., Papernot, N., Ander-
 computer vision and pattern recognition, pp. 9194–9204,                 son, R., and Gal, Y. Ai models collapse when trained on
 2022.                                                                   recursively generated data. Nature, 631:755–759, 2024.

Mokady, R., Hertz, A., and Bermano, A. H. Clip-                        Song, J., Meng, C., and Ermon, S. Denoising diffusion im-
 cap: Clip prefix for image captioning. arXiv preprint                   plicit models. arXiv preprint arXiv:2010.02502, 2021a.
 arXiv:2111.09734, 2021.
                                                                       Song, Y., Sohl-Dickstein, J., Kingma, D. P., Kumar, A., Er-
Papineni, K., Roukos, S., Ward, T., and Zhu, W.-J. Bleu: a               mon, S., and Poole, B. Score-based generative modeling
  method for automatic evaluation of machine translation.                through stochastic differential equations. In Proceedings
  In Annual Meeting of the Association for Computational                 of International Conference on Learning Representations
  Linguistics, 2002.                                                     (ICLR), 2021b.

                                                                  11
                            GMAIL: Generative Modality Alignment for generated Image Learning

Tian, Y., Fan, L., Chen, K., Katabi, D., Krishnan, D., and             Zhang, B., Zhang, P., Dong, X., Zang, Y., and Wang, J.
  Isola, P. Learning vision from models rivals learning                  Long-clip: Unlocking the long-text capability of clip. In
  vision from data. In Proceedings of the IEEE/CVF con-                  European Conference on Computer Vision, pp. 310–325.
  ference on computer vision and pattern recognition, pp.                Springer, 2024.
  15887–15898, 2024.
                                                                       Zhang, Y., Ling, H., Gao, J., Yin, K., Lafleche, J.-F., Bar-
van der Maaten, L. and Hinton, G. Visualizing data using                 riuso, A., Torralba, A., and Fidler, S. Datasetgan: Effi-
  t-sne. Journal of Machine Learning Research, 9(86):                    cient labeled data factory with minimal human effort. In
  2579–2605, 2008.                                                       Proceedings of the IEEE/CVF Conference on Computer
                                                                         Vision and Pattern Recognition, pp. 10145–10155, 2021.
Vedantam, R., Zitnick, C. L., and Parikh, D. Cider:
  Consensus-based image description evaluation. 2015
  IEEE Conference on Computer Vision and Pattern Recog-
  nition (CVPR), pp. 4566–4575, 2014.

Wu, W., Zhao, Y., Shou, M. Z., Zhou, H., and Shen, C. Dif-
 fumask: Synthesizing images with pixel-level annotations
 for semantic segmentation using diffusion models. In Pro-
 ceedings of the IEEE/CVF International Conference on
 Computer Vision, pp. 1206–1217, 2023.

Xiao, J., Hays, J., Ehinger, K. A., Oliva, A., and Torralba, A.
  Sun database: Large-scale scene recognition from abbey
  to zoo. In 2010 IEEE Computer Society Conference
  on Computer Vision and Pattern Recognition, pp. 3485–
  3492, 2010.

Xiao, J., Ehinger, K. A., Hays, J., Torralba, A., and Oliva,
  A. Sun database: Exploring a large collection of scene
  categories. International Journal of Computer Vision,
  119:3–22, 2014.

Ye, H., Kuen, J., Liu, Q., Lin, Z., Price, B., and Xu,
  D. Seggen: Supercharging segmentation models with
  text2mask and mask2img synthesis. In European Confer-
  ence on Computer Vision, pp. 352–370. Springer, 2024.

Young, P., Lai, A., Hodosh, M., and Hockenmaier, J. From
  image descriptions to visual denotations: New similarity
  metrics for semantic inference over event descriptions.
  Transactions of the Association for Computational Lin-
  guistics, 2:67–78, 2014.

Yue, X., Ni, Y., Zhang, K., Zheng, T., Liu, R., Zhang, G.,
  Stevens, S., Jiang, D., Ren, W., Sun, Y., Wei, C., Yu, B.,
  Yuan, R., Sun, R., Yin, M., Zheng, B., Yang, Z., Liu, Y.,
  Huang, W., Sun, H., Su, Y., and Chen, W. Mmmu: A
  massive multi-discipline multimodal understanding and
  reasoning benchmark for expert agi. In Proceedings of the
  IEEE/CVF Conference on Computer Vision and Pattern
  Recognition (CVPR), pp. 9556–9567, June 2024.

Zhai, X., Mustafa, B., Kolesnikov, A., and Beyer, L. Sig-
  moid loss for language image pre-training. In Proceed-
  ings of the IEEE/CVF International Conference on Com-
  puter Vision (ICCV), pp. 11975–11986, 2023.

                                                                  12
                          GMAIL: Generative Modality Alignment for generated Image Learning

Appendix
In this appendix, we provide the following material:

  • addition implementation and datasets details in Section A,

  • algorithm for our GMAIL in Section B,

  • more discussions on Gen-Real alignment in Section C,

  • more experimental analyses in Section D,

  • qualitative visualization results in Section E.

A. Implementation & Dataset Details
In this section, we provide additional implementation details to ensure the reproducibility of our experiments, along with a
comprehensive description of the datasets used.
Implementation. The base model used in our framework is the CLIP model (Radford et al., 2021), pre-trained on real
images and paired with their textual descriptions. We fine-tune the pre-trained CLIP model on generated images using the
LoRA (Hu et al., 2022) method to introduce low-rank updates, ensuring that the training remains computationally efficient.
For contrastive learning, we set the temperature parameter τ = 0.07 and optimize using the AdamW optimizer with a
learning rate of 1 × 10−4 and a batch size of 256. The synthetic training data were generated using Stable Diffusion v2
on NVIDIA A100-80GB GPUs. The number of generated images is consistent with the number of text-image pairs in the
original training set: 560k for COCO, 3.3 million for CC3M, and 12 million for CC12M. Each image was generated with 50
inference steps, balancing quality and computational efficiency. The total generation time is 5 GPU days for COCO, 30
GPU days for CC3M, and 109 GPU days for CC12M. Parallelized generation was employed for larger datasets like CC12M.
Fine-tuning for “Proj for Real” and “Proj for Gen” was performed for 50,000 steps.
Datasets. To evaluate the versatility and effectiveness of our Gen-Real Alignment framework, we employ a comprehensive
suite of datasets across a variety of tasks, including image captioning, zero-shot image retrieval, and zero-shot image
classification. This ensures a broad assessment of our model’s performance across multiple domains and challenges.

  • COCO (Lin et al., 2014): The COCO dataset is used for both image captioning and zero-shot image retrieval tasks.
    It offers a large and diverse collection of real-world images paired with detailed textual descriptions, serving as a
    benchmark for evaluating the alignment of generated and real image modalities.

  • Zero-Shot Image Classification: To evaluate the generalization capabilities of our model, we utilize eight well-known
    benchmarks, following the setup of the original CLIP (Radford et al., 2021):
       – DTD (Cimpoi et al., 2014): Tests the model’s ability to classify textures across various images.
       – Stanford Cars (Krause et al., 2013): A dataset focusing on fine-grained classification of car models, used to
         assess the model’s capacity to distinguish between visually similar objects.
       – SUN397 (Xiao et al., 2010; 2014): A large-scale scene classification dataset used to evaluate scene understanding.
       – Food 101 (Bossard et al., 2014): A benchmark used to assess the model’s ability to classify food items from
         various cuisines.
       – Aircraft (Maji et al., 2013): Used for fine-grained classification of aircraft models, testing the model’s accuracy
         in distinguishing similar objects.
       – Oxford Pets (Parkhi et al., 2012): A dataset focused on the classification of various pet breeds, including both
         dogs and cats.
       – Caltech 101 (Fei-Fei et al., 2004): A widely used object recognition dataset covering a variety of general
         categories.
       – ImageNet 1K (Deng et al., 2009): A benchmark for large-scale object classification, testing the model’s ability to
         handle diverse image categories.

                                                            13
                          GMAIL: Generative Modality Alignment for generated Image Learning

Algorithm 1 GMAIL Algorithm: Training and Inference on Generated and Real Images
Require: Datasets of real images Dr = {(xr , yr )}, generated images Dg = {(xg , yg )}, and image pairs D = {(xg , xr )},
    pre-trained CLIP models fr and fg , learning rate η, batch size |B|, temperature τ , LoRA parameters.
Ensure: Fine-tuned model fg for generated images, aligned with fr for real images.
 1: Initialize: Load the pre-trained CLIP models fr and fg trained on real and generated images, respectively.
 2: Gen-CLIP Flow: Aligning Generated and Real Images.
 3: for each mini-batch B = {(xg , xr )} from D do
 4:   Extract generated image features fg (xg ) for each xg ∈ B using fg .
 5:   Extract real image features fr (xr ) for each xr ∈ B using fr .
 6:   Compute cross-modality alignment loss Lalign :

                                            1       X                   exp(sim(fg (xg ), fr (xr ))/τ )
                              Lalign = −                       log P                                ′
                                           |B|                        x′r ∈B exp(sim(fg (xg ), fr (xr ))/τ )
                                                 (xg ,xr )∈B

 7:   Apply LoRA updates to minimize Lalign .
 8:   Update model parameters fg ← fg − η∇fg Lalign .
 9: end for
10: Alignment with Vision-Language Models for downstream tasks.
11: for each LLM (e.g., from CLIPCap, LLaVA, LLaMA3) do
12:   Fine-tune the LLM using the aligned generated and real image embeddings from Dg and Dr , respectively.
13: end for
14: CLIP Flow: VLM Inference on Real Images.
15: for each real image xr for inference do
16:   Extract real image features fr (xr ) using fr .
17:   Use fr (xr ) instead fg (xr ) for inference the VLM model on real images.
18: end for
19: Return: VLM models with fg trained on generated images, aligned with the real-image model fr .



  • CC3M (Sharma et al., 2018) and CC12M (Changpinyo et al., 2021): These large-scale datasets provide millions of
    image-caption pairs, allowing us to explore the scalability of our Gen-Real alignment framework. We evaluate our
    model’s performance when trained on both real and generated data from these expansive datasets.

  • ShareGPT4V: To evaluate long caption retrieval, we use the ShareGPT4V dataset, which includes complex and
    descriptive captions associated with both generated and real images. This dataset emphasizes the importance of strong
    cross-modal alignment for retrieving long, detailed captions.

Evaluation Metrics. To comprehensively evaluate our framework, we employ task-specific metrics tailored to image
captioning, zero-shot image retrieval, and zero-shot image classification:

  • Image Captioning: Performance is assessed using standard metrics such as BLEU@4 (B@4) (Papineni et al., 2002),
    METEOR (Denkowski & Lavie, 2014), CIDEr (Vedantam et al., 2014), SPICE (Anderson et al., 2016), ROUGE-L (Lin
    & Och, 2004), and Word Mover’s Distance (WMD) (Kusner et al., 2015). These metrics evaluate the quality and
    semantic accuracy of generated captions compared to the ground truth.

  • Zero-Shot Image Retrieval: We measure both image-to-text and text-to-image retrieval capabilities using Recall@1,
    Recall@5, and Recall@10. These metrics assess the model’s ability to correctly retrieve relevant items based on the
    provided query, highlighting its cross-modal understanding.

  • Zero-Shot Image Classification: Classification performance on unseen categories is evaluated using top-1 accuracy,
    which reflects the model’s generalization ability to classify new classes without prior training on those specific
    categories.

This experimental setup allows us to thoroughly validate our Gen-Real alignment framework across a wide range of

                                                                 14
                            GMAIL: Generative Modality Alignment for generated Image Learning


Table 12. Computational costs comparisons on COCO training. Our GMAIL introduces a slight increase in memory usage but remains
more efficient on the convergence training time and steps than the baseline of indiscriminate mixing (gen+real) without alignment.
                                                  Synthetic        Training     Training        Memory            FLOPs
               Dual Projection     Alignment
                                                    Data          Time (hrs)     Steps         Usage (GB)          (G)
                       ✗                ✗             ✗                 8            50k               24             70.2
                       ✗                ✗             ✓                12            70k               26             85.5
                       ✓                ✓             ✓                10            60k               28             85.5

Table 13. Comparison with the same training steps. We compare CLIP trained on real images, fine-tuned CLIP on generated images
without alignment, and ours under COCO training with the same training steps. The best results are indicated in bold.
                      Dual Projection    Alignment    Synthetic Data        B@4 (↑)        CIDEr (↑)        SPICE (↑)
                             ✗               ✗                ✗              32.15          108.35            20.12
                             ✗               ✗                ✓              35.76          113.42            22.63
                             ✓               ✓                ✓              37.92          117.6             23.42



tasks, demonstrating its effectiveness in addressing the modality gap between generated and real images and enhancing
performance across diverse vision-language applications.

B. GMAIL Algorithm
In this section, we outline the algorithm that implements the Generative Modality Alignment for generated Image Learning
(GMAIL) framework, incorporating the Gen-CLIP flow for training on generated images and the CLIP flow for inference on
real images. This algorithm also details the cross-modality alignment loss and how we ensure alignment with vision-language
models (VLMs) such as CLIPCap (Mokady et al., 2021), LLaVA (Liu et al., 2023), and LLaMA-3 (Meta, 2024).
Algorithm 1 summarizes the training and inference process for the GMAIL framework, detailing how the model is trained
on generated images using the Gen-CLIP flow, and subsequently applied to real images during inference. The algorithm
also explains how to integrate aligned generated and real data with vision-language models such as CLIPCap, LLaVA, and
LLaMA-3 for downstream tasks.

C. More Discussions on Gen-Real Alignment
In this section, we provide a comprehensive discussion of Gen-Real Alignment. Given training samples having the same
text: real image R, synthetic S, and text T , let us denote our dual encoders as f, g, h for real-encoder, syn-encoder, and
text-encoder, respectively.
Single vs. Dual Modality. In a single-modality scenario (i.e., a single encoder setup where f = g), given training would
reduce distance D(f (R), h(T )) and D(f (S), h(T )), and then D(f (R), f (S)) would be reduced together. However, due to
the nature of synthetic images, there could exist a gap between R and S, such as unnatural artifacts, assuming S contains
spurious features. Therefore, under such approaches to put real and generated images into the same embedding space,
generated artifacts may dominate, causing poor generalization and overfitting to synthetic patterns. Moreover, if the encoder
ignores such different inputs R and S, and produces representations that remain constant and equal, it can lead to “mode
collapse” (LeCun, 2022; Assran et al., 2023), where the model overfits generated patterns, degrading performance on real
data. On this line, we consider a dual-modality scenario, (i.e., dual encoder setup where f ̸= g) to prevent such a problem
caused by reducing a distance D(f (R), f (S)). Here, we instead minimize D(f (R), h(T )) and D(g(S), h(T )), so allowing
a small D(f (R), h(S)), not D(f (R), f (S)). Specifically, the expected role of h is to ignore a synthetic complement of S
and produce representations that remain an intersection of S and R (having the same T ). Such separate mappings of f
and g would allow learning focused on shared characteristics between the real and generated modalities. Thereby treating
generated images as a distinct modality, GMAIL could prevent “mode collapse”, enabling the effective use of synthetic data
to augment real datasets without poor generalization and overfitting to synthetic patterns.
Cross-Modality Alignment Loss. Furthermore, the proposed cross-modality alignment loss aims to directly reduce a
distance D(f (R), h(S)) allowing effective and faster training to convergence. As shown in Table 12, the proposed loss

                                                                  15
                            GMAIL: Generative Modality Alignment for generated Image Learning


Table 14. Quantitative similarity metrics comparisons on COCO. We computed the cosine similarity between paired real and generated
image embeddings without and with alignment on COCO dataset.
                                              Alignment      Cosine Similarity (↑)
                                                   ✗                  0.52
                                                   ✓                  0.89

Table 15. Multi-modal reasoning and visual-language alignment on MMMU. We evaluated GMAIL’s performance on MMMU
benchmark when integrated with LLaVA. We report the average accuracy on questions with the image context. The best results are bold.
                                            Method                       Accuracy (%)
                                            LLaVA                             44.7
                                            LLaVA + GMAIL (ours)              48.3



reduced training time and steps to convergence. Throughout our extensive experiments, for a given R and S having the
same T , we have demonstrated the effect of minimizing a distance D(f (R), h(S)) which learns shared semantics between
real and generated images while ignoring generated artifacts of S may raise poor generalization on real images.
Empirical Validation of Alignment Loss. Nevertheless, we further conducted an ablation study on the effect of the
cross-modality alignment loss (i.e., the effects of directly reducing D(f (R), h(S))) under the dual encoder setup on COCO
captioning. The results in Table 6 confirm that the alignment loss significantly bridges the modality gap, resulting in
consistent performance improvements.

D. More Experimental Analysis
Computational Costs. We performed additional experiments to compare the computational costs. Table 12 shows the
results, including explicit details on the contributions of the cross-modality alignment loss and dual-model setup. The
additional costs for GMAIL stem from the cross-modality alignment loss, which facilitates aligning the features of generated
and real images in a shared latent space, and the dual-projection setup, which processes the two modalities separately.
Compared to CLIP without the dual projection, our GMAIL introduces a slight increase in memory usage but remains more
efficient on the convergence training time and steps than the baseline of indiscriminate mixing on generative and real data
without the alignment.
Same Training Steps. Here, we have conducted additional experiments with equal training steps for CLIPCap (Mokady
et al., 2021) across all compared methods and included the results in the Table 13. Even with identical training steps, GMAIL
consistently outperforms both baselines, confirming that gains stem from our alignment design, not from additional training.
MMMU Results. We also evaluated GMAIL’s performance on MMMU (Yue et al., 2024), which is a benchmark that
requires multi-modal reasoning and visual-language alignment. Table 15 shows that GMAIL can improve visual grounding
and alignment with LLMs, demonstrating generalization to reasoning-based VLM tasks.
Comparison with Tasks2Sim. Here, we have added experiments comparing Tasks2Sim (Mishra et al., 2022) in Table 16.
Specifically, GMAIL outperforms prior mix-only methods due to explicit modality disentanglement and alignment, rather
than blending synthetic and real data blindly.
Other generative models. We have conducted experiments using FLUX (Labs, 2024), which introduces a more powerful
and differently parameterized generation pipeline compared to Stable Diffusion v2. These additional results in Table 17 allow
us to test GMAIL’s robustness to shifts in generator-specific artifacts. The performance improvements remain consistent
with FLUX, indicating robust alignment across varying artifact styles and photorealism levels.
Qualitative Embeddings Visualization. To further validate the alignment between real and generated data, we conducted
t-SNE (van der Maaten & Hinton, 2008) visualizations and cosine similarity analyses of the embeddings without and with
alignment. Figure 3 shows the t-SNE plots of real and generated embeddings from 1000 samples in the COCO dataset.
Without alignment, real and synthetic embeddings form two distinct clusters, reflecting the modality gap. With alignment
proposed in our GMAIL, the gap between real and synthetic embeddings is significantly reduced, with both modalities
aligning closely.

                                                                16
                           GMAIL: Generative Modality Alignment for generated Image Learning

Table 16. Comparison to Task2Sim. We report a comparison to Task2Sim (Mishra et al., 2022), which introduced a mixed training
approach (joint usage of real and synthetic data). The best results are indicated in bold.
                                     Method            B@4 (↑)     CIDEr (↑)     SPICE (↑)
                                     Task2Sim           36.65           115.72        23.02
                                     GMAIL (ours)       38.12           119.53        23.75


Table 17. Image generation with FLUX. We replace a generative model from Stable Diffusion v2 to FLUX and perform experiments on
the image captioning task. The best results are indicated in bold.
                               Method                        B@4 (↑)       CIDEr (↑)     SPICE (↑)
                               FLUX (without alignment)         37.20        117.82           23.40
                               FLUX + GMAIL (ours)              39.54        122.36           24.15


Quantitative Similarity Metrics. We also quantified the alignment score of the above 1000 samples in the COCO
dataset using cosine similarity between paired real and generated embeddings. The results are shown in Table 14. These
results demonstrate that the alignment loss effectively bridges the Gen-Real gap, ensuring better feature consistency across
modalities. Moreover, without alignment, we observed that the cosine similarity between embeddings of real image-text pairs
and generated image-text pairs was only 0.44 and 0.42, respectively. This empirically demonstrates that the misalignment
between real and generated images is comparable to the gap between images and text embeddings of CLIP models.

E. Qualitative Visualizations
In this section, we provide qualitative visualizations of the generated images used in our experiments. Figures 4, 5, 6, 7, 8
and 9 show examples of images generated by Stable Diffusion (Rombach et al., 2022), alongside their corresponding
real-world counterparts from the COCO dataset (Lin et al., 2014). Our visualizations demonstrate that the generated images
closely resemble real images, capturing key semantic details and structural elements. However, subtle differences in texture
or object placement are occasionally present. These artifacts highlight the importance of our Gen-Real Alignment (GMAIL)
framework, which ensures that these differences do not lead to mode collapse by aligning the feature representations of
generated and real images in the latent space. These visualizations further validate the effectiveness of our alignment
strategy, ensuring that both generated and real data contribute equally to the model’s understanding during inference.




                                                              17
                             GMAIL: Generative Modality Alignment for generated Image Learning




Figure 3. Qualitative Visualizations of embeddings of real and synthetic images without (Left) and with (Right) alignment. Blue
and red dots denote the embeddings for real and synthetic images, respectively. Our GMAIL with alignment significantly reduced the gap
between real and synthetic images, with both modalities aligning closely in the latent space.




Figure 4. Visualizations of real (Column 1) and generated images (Columns 2-6) using the same caption. Those generated images
generally capture high-level semantics in real images.


                                                                 18
                           GMAIL: Generative Modality Alignment for generated Image Learning




Figure 5. Visualizations of real (Column 1) and generated images (Columns 2-6) using the same caption. Those generated images
generally capture high-level semantics in real images.




                                                             19
                           GMAIL: Generative Modality Alignment for generated Image Learning




Figure 6. Visualizations of real (Column 1) and generated images (Columns 2-6) using the same caption. Those generated images
generally capture high-level semantics in real images.




                                                             20
                           GMAIL: Generative Modality Alignment for generated Image Learning




Figure 7. Visualizations of real (Column 1) and generated images (Columns 2-6) using the same caption. Those generated images
generally capture high-level semantics in real images.




                                                             21
                           GMAIL: Generative Modality Alignment for generated Image Learning




Figure 8. Visualizations of real (Column 1) and generated images (Columns 2-6) using the same caption. Those generated images
generally capture high-level semantics in real images.




                                                             22
                           GMAIL: Generative Modality Alignment for generated Image Learning




Figure 9. Visualizations of real (Column 1) and generated images (Columns 2-6) using the same caption. Those generated images
generally capture high-level semantics in real images.




                                                             23
