X-Prompt: Towards Universal In-Context Image Generation in Auto-Regressive Vision Language Foundation Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sun, Zeyi, Chu, Ziyang, Zhang, Pan, Wu, Tong, Dong, Xiaoyi, Zang, Yuhang, Xiong, Yuanjun, Lin, Dahua, Wang, Jiaqi
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914007482368000
author Sun, Zeyi
Chu, Ziyang
Zhang, Pan
Wu, Tong
Dong, Xiaoyi
Zang, Yuhang
Xiong, Yuanjun
Lin, Dahua
Wang, Jiaqi
author_facet Sun, Zeyi
Chu, Ziyang
Zhang, Pan
Wu, Tong
Dong, Xiaoyi
Zang, Yuhang
Xiong, Yuanjun
Lin, Dahua
Wang, Jiaqi
contents In-context generation is a key component of large language models' (LLMs) open-task generalization capability. By leveraging a few examples as context, LLMs can perform both in-domain and out-of-domain tasks. Recent advancements in auto-regressive vision-language models (VLMs) built upon LLMs have showcased impressive performance in text-to-image generation. However, the potential of in-context learning for general image generation tasks remains largely unexplored. To address this, we introduce X-Prompt, a purely auto-regressive large-vision language model designed to deliver competitive performance across a wide range of both seen and unseen image generation tasks, all within a unified in-context learning framework. X-Prompt incorporates a specialized design that efficiently compresses valuable features from in-context examples, supporting longer in-context token sequences and improving its ability to generalize to unseen tasks. A unified training task for both text and image prediction enables X-Prompt to handle general image generation with enhanced task awareness from in-context examples. Extensive experiments validate the model's performance across diverse seen image generation tasks and its capacity to generalize to previously unseen tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2412_01824
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle X-Prompt: Towards Universal In-Context Image Generation in Auto-Regressive Vision Language Foundation Models
Sun, Zeyi
Chu, Ziyang
Zhang, Pan
Wu, Tong
Dong, Xiaoyi
Zang, Yuhang
Xiong, Yuanjun
Lin, Dahua
Wang, Jiaqi
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Multimedia
In-context generation is a key component of large language models' (LLMs) open-task generalization capability. By leveraging a few examples as context, LLMs can perform both in-domain and out-of-domain tasks. Recent advancements in auto-regressive vision-language models (VLMs) built upon LLMs have showcased impressive performance in text-to-image generation. However, the potential of in-context learning for general image generation tasks remains largely unexplored. To address this, we introduce X-Prompt, a purely auto-regressive large-vision language model designed to deliver competitive performance across a wide range of both seen and unseen image generation tasks, all within a unified in-context learning framework. X-Prompt incorporates a specialized design that efficiently compresses valuable features from in-context examples, supporting longer in-context token sequences and improving its ability to generalize to unseen tasks. A unified training task for both text and image prediction enables X-Prompt to handle general image generation with enhanced task awareness from in-context examples. Extensive experiments validate the model's performance across diverse seen image generation tasks and its capacity to generalize to previously unseen tasks.
title X-Prompt: Towards Universal In-Context Image Generation in Auto-Regressive Vision Language Foundation Models
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Multimedia
url https://arxiv.org/abs/2412.01824