Image Captions are Natural Prompts for Text-to-Image Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lei, Shiye, Chen, Hao, Zhang, Sen, Zhao, Bo, Tao, Dacheng
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908417009909760
author Lei, Shiye
Chen, Hao
Zhang, Sen
Zhao, Bo
Tao, Dacheng
author_facet Lei, Shiye
Chen, Hao
Zhang, Sen
Zhao, Bo
Tao, Dacheng
contents With the rapid development of Artificial Intelligence Generated Content (AIGC), it has become a common practice to train models on synthetic data due to data-scarcity and privacy leakage problems. Owing to massive and diverse information conveyed in real images, it is challenging for text-to-image generative models to synthesize informative training data with hand-crafted prompts. Considering the impressive ability of large generative models, could such models directly synthesize good training images for prediction tasks with proper prompts? We offer an affirmative response to this question by proposing a simple yet effective method, validated through ImageNet classification. Specifically, we caption each real image with the advanced captioning model to obtain informative and faithful prompts that extract class-relevant information and clarify the polysemy of class names. The image captions and class names are concatenated to prompt generative models for training image synthesis. We show that this simple caption incorporation significantly boosts the informativeness of synthetic data therefore enhancing downstream model generalization. More importantly, besides improvements in data augmentation and privacy preservation, our experiments demonstrate that synthesized images can exceed real data in terms of out-of-distribution robustness.
format Preprint
id arxiv_https___arxiv_org_abs_2307_08526
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Image Captions are Natural Prompts for Text-to-Image Models
Lei, Shiye
Chen, Hao
Zhang, Sen
Zhao, Bo
Tao, Dacheng
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
With the rapid development of Artificial Intelligence Generated Content (AIGC), it has become a common practice to train models on synthetic data due to data-scarcity and privacy leakage problems. Owing to massive and diverse information conveyed in real images, it is challenging for text-to-image generative models to synthesize informative training data with hand-crafted prompts. Considering the impressive ability of large generative models, could such models directly synthesize good training images for prediction tasks with proper prompts? We offer an affirmative response to this question by proposing a simple yet effective method, validated through ImageNet classification. Specifically, we caption each real image with the advanced captioning model to obtain informative and faithful prompts that extract class-relevant information and clarify the polysemy of class names. The image captions and class names are concatenated to prompt generative models for training image synthesis. We show that this simple caption incorporation significantly boosts the informativeness of synthetic data therefore enhancing downstream model generalization. More importantly, besides improvements in data augmentation and privacy preservation, our experiments demonstrate that synthesized images can exceed real data in terms of out-of-distribution robustness.
title Image Captions are Natural Prompts for Text-to-Image Models
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2307.08526