Text-to-Image Generation Via Energy-Based CLIP
<|reference_start|>Text-to-Image Generation Via Energy-Based CLIP: Joint Energy Models (JEMs), while drawing significant research attention, have not been successfully scaled to real-world, high-resolution datasets. We present EB-CLIP, a novel approach extending JEMs to the multimodal vision-language domain using CLIP, integrating both generative and discriminative objectives. For the generative objective, we introduce an image-text joint-energy function based on Cosine similarity in the CLIP space, training CLIP to assign low energy to real image-caption pairs and high energy otherwise. For the discriminative objective, we employ contrastive adversarial loss, extending the adversarial training objective to the multimodal domain. EB-CLIP not only generates realistic images from text but also achieves competitive results on the compositionality benchmark, outperforming leading methods with fewer parameters. Additionally, we demonstrate the superior guidance capability of EB-CLIP by enhancing CLIP-based generative frameworks and converting unconditional diffusion models to text-based ones. Lastly, we show that EB-CLIP can serve as a more robust evaluation metric for text-to-image generative tasks than CLIP.<|reference_end|>
@article{ganz2024text-to-image,
    title={Text-to-Image Generation Via Energy-Based CLIP},
    author={Roy Ganz and Michael Elad},
    journal={arXiv preprint arXiv:2408.17046},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.17046},
    primaryClass={cs.CV}
}