                             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
