paper-with-me

홈 › Papers

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

2024-12-02 · Zeyi Sun, Ziyang Chu, Pan Zhang, Tong Wu, Xiaoyi Dong, Yuhang Zang, Yuanjun Xiong, Dahua Lin, Jiaqi Wang

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.

📄 PDF Abstract BibTeX arXiv:2412.01824

Code (1)

sunzey/x-prompt 공식 구현

Tasks

Image GenerationIn-Context LearningLanguage ModellingText to Image GenerationText-to-Image Generation

Similar Papers 제목 키워드 기반

Universal Self-Adaptive Prompting

2023-05-24 · Xingchen Wan, Ruoxi Sun, Hootan Nakhost, Hanjun Dai 외

A hallmark of modern large language models (LLMs) is their impressive general zero-shot and few-shot abilities, often elicited through in-context learning (ICL) via prompting. However, while highly coveted and being the …

In-Context LearningNatural Language UnderstandingText GenerationZero-Shot Learning

Universal and Context-Independent Triggers for Precise Control of LLM Outputs

2024-11-22 · Jiashuo Liang, Guancheng Li, Yang Yu

Large language models (LLMs) have been widely adopted in applications such as automated content generation and even critical decision-making systems. However, the risk of prompt injection allows for potential manipulatio…

Decision Making

Efficient Universal Models for Medical Image Segmentation via Weakly Supervised In-Context Learning

2025-10-07 · Jiesi Hu, Yanwu Yang, Zhiyu Ye, Jinyan Zhou 외 arxiv

Universal models for medical image segmentation, such as interactive and in-context learning (ICL) models, offer strong generalization but require extensive annotations. Interactive models need repeated user prompts for …

Medical Image Segmentation

MoE-DiffIR: Task-customized Diffusion Priors for Universal Compressed Image Restoration

2024-07-15 · Yulin Ren, Xin Li, Bingchen Li, Xingrui Wang 외

We present MoE-DiffIR, an innovative universal compressed image restoration (CIR) method with task-customized diffusion priors. This intends to handle two pivotal challenges in the existing CIR methods: (i) lacking adapt…

Image RestorationMixture-of-ExpertsTexture Synthesis

Autoregressive Image Generation Guided by Chains of Thought

2025-02-24 · Miaomiao Cai, Guanjie Wang, Wei Li, Zhijun Tu 외

In the field of autoregressive (AR) image generation, models based on the 'next-token prediction' paradigm of LLMs have shown comparable performance to diffusion models by reducing inductive biases. However, directly app…

Image GenerationLogical Reasoning