Optimal Generative Cyclic Transport between Image and Text

Haoming Liu, Yuanhe Guo, Yijia Cao, Shengjie Wang, Hongyi WenOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

Deep generative models, such as vision-language models (VLMs) and diffusion models (DMs), have achieved remarkable success in cross-modality generation tasks. However, the cyclic transformation of text $\rightarrow$ image $\rightarrow$ text often fails to secure an exact match between the original and the reconstructed content. In this work, we attempt to address this challenge by utilizing a deterministic function to guide the reconstruction of precise information via generative models. Using a color histogram as guidance, we first identify a soft prompt to generate the desired text using a language model and map the soft prompt to a target histogram. We then utilize the target color histogram as a constraint for the diffusion model and formulate the intervention as an optimal transport problem. As a result, the generated image has the exact color histogram as the target, which can be converted to a soft prompt deterministically for reconstructing the text. This allows the generated images to entail arbitrary forms of text (e.g., natural text, code, URLs, etc.) while ensuring the visual content is as natural as possible. Our method offers significant potential for applications on histogram-constrained generation, such as steganography and conditional generation in latent space with semantic meanings.
BibTeX
@misc{liu2025optimal,
  author = {Haoming Liu and Yuanhe Guo and Yijia Cao and Shengjie Wang and Hongyi Wen},
  title = {{Optimal Generative Cyclic Transport between Image and Text}},
  year = {2025},
  url = {https://openreview.net/forum?id=ZjKTMmWKHP},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}

Loading related content...

Figure