ChatDiT: A Training-Free Baseline for Task-Agnostic Free-Form Chatting with Diffusion Transformers
Abstract
Recent research arXiv:2410.15027 arXiv:2410.23775 has highlighted the inherent in-context generation capabilities of pretrained diffusion transformers (DiTs), enabling them to seamlessly adapt to diverse visual tasks with minimal or no architectural modifications. These capabilities are unlocked by concatenating self-attention tokens across multiple input and target images, combined with grouped and masked generation pipelines. Building upon this foundation, we present ChatDiT, a zero-shot, general-purpose, and interactive visual generation framework that leverages pretrained diffusion transformers in their original form, requiring no additional tuning, adapters, or modifications. Users can interact with ChatDiT to create interleaved text-image articles, multi-page picture books, edit images, design IP derivatives, or develop character design settings, all through free-form natural language across one or more conversational rounds. At its core, ChatDiT employs a multi-agent system comprising three key components: an Instruction-Parsing agent that interprets user-uploaded images and instructions, a Strategy-Planning agent that devises single-step or multi-step generation actions, and an Execution agent that performs these actions using an in-context toolkit of diffusion transformers. We thoroughly evaluate ChatDiT on IDEA-Bench arXiv:2412.11767, comprising 100 real-world design tasks and 275 cases with diverse instructions and varying numbers of input and target images. Despite its simplicity and training-free approach, ChatDiT surpasses all competitors, including those specifically designed and trained on extensive multi-task datasets. We further identify key limitations of pretrained DiTs in zero-shot adapting to tasks. We release all code, agents, results, and intermediate outputs to facilitate further research at https://github.com/ali-vilab/ChatDiT
Community
ChatDiT is a zero-shot, general-purpose, and interative visual generation framework built directly upon pretrained diffusion transformers (DiTs) with no additional tuning, adapters, or modifications.
With its intuitive interface, ChatDiT enables seamless multi-round, free-form conversations with DiTs. It supports referencing zero to multiple images to generate a new set of images, or, if desired, a fully illustrated article in response.
Its interface is simple:
chatdit = ChatDiT()
# Text-to-Image(s) & {Text+Image(s)}-to-Image(s)
images, history = chatdit.chat(message, input_images=[], history=[])
# Text-to-{Text+Image(s)} (Interleaved) & {Text+Image(s)}-to-{Text+Image(s)} (Interleaved)
article, history = chatdit.chat(message, input_images=[], history=[], return_markdown=True)
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- ChatGen: Automatic Text-to-Image Generation From FreeStyle Chatting (2024)
- Do We Need to Design Specific Diffusion Models for Different Tasks? Try ONE-PIC (2024)
- Liquid: Language Models are Scalable Multi-modal Generators (2024)
- Attention-driven GUI Grounding: Leveraging Pretrained Multimodal Large Language Models without Fine-Tuning (2024)
- ChatSearch: a Dataset and a Generative Retrieval Model for General Conversational Image Retrieval (2024)
- Towards Lifelong Few-Shot Customization of Text-to-Image Diffusion (2024)
- TAP-VL: Text Layout-Aware Pre-training for Enriched Vision-Language Models (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper