Banger work by our imagegen team. Cool to have been involved to a small extent, I learn a lot from these folks
Introducing ChatGPT Images, powered by our flagship new image generation model.
- Stronger instruction following
- Precise editing
- Detail preservation
- 4x faster than before
Rolling out today in ChatGPT for all users, and in the API as GPT Image 1.5.
1
233
Stoked to finally be able to say what I've been working on this year! There's so much exciting post-training research ahead of us, we're just getting started over here
Today’s deployment is only possible with our new model, Sora Turbo. Huge shoutout to @bram_wallace and @JureZbontar who spearheaded Sora model acceleration research!
Great work! Love the integration of dataset + self learning and the results look sweet. I think this style of method has tons of potential
Self-Play Fine-Tuning of Diffusion Models for Text-to-Image Generation
paper page: huggingface.co/papers/2402.1…
Fine-tuning Diffusion Models remains an underexplored frontier in generative artificial intelligence (GenAI), especially when compared with the remarkable progress made in fine-tuning Large Language Models (LLMs). While cutting-edge diffusion models such as Stable Diffusion (SD) and SDXL rely on supervised fine-tuning, their performance inevitably plateaus after seeing a certain volume of data. Recently, reinforcement learning (RL) has been employed to fine-tune diffusion models with human preference data, but it requires at least two images ("winner" and "loser" images) for each text prompt. In this paper, we introduce an innovative technique called self-play fine-tuning for diffusion models (SPIN-Diffusion), where the diffusion model engages in competition with its earlier versions, facilitating an iterative self-improvement process. Our approach offers an alternative to conventional supervised fine-tuning and RL strategies, significantly improving both model performance and alignment. Our experiments on the Pick-a-Pic dataset reveal that SPIN-Diffusion outperforms the existing supervised fine-tuning method in aspects of human preference alignment and visual appeal right from its first iteration. By the second iteration, it exceeds the performance of RLHF-based methods across all metrics, achieving these results with less data.
6
376
Our research codebase for Diffusion-DPO is now public!
github.com/SalesforceAIResea…
This is the exact (cleaned up) code we used for the primary results in our paper. It also has an SDXL-Turbo script which works well (see xitter.cf/bram_wallace/status/17…).
Enjoy!
Turboing into 2024! Why let SDXL-Base have all the fun? DPO-tuning 4-step SDXL-Turbo turns out to work pretty well. Original SDXL-Turbo on left, Turb(DP)o on right. The video shown is sped up 2x to stop typing being the bottleneck
Diffusion-DPO code is now in Diffusers! Big thanks to @RisingSayak for getting this in there. The implementation's still a bit experimental, but I'm so stoked for the integration.
Check it out and happy building!
github.com/huggingface/diffu…
Great Diffusion-DPO overview by my co-author (/even more importantly the original DPO author) @rm_rafailov. Well worth the read through
Excited to announce DPO has gone multi-modal! New paper out on RLHF for text-to-image diffusion models! We obtain large-scale state of the art results with 70% win rates against Stable Diffusion XL on human evals! Deep dive below 🧵
1
2
454
To summarize:
xitter.cf/EMostaque/status/17277…
Trained on @intel @HabanaLabs Gaudi2, which is an awesome chip 😎
This leverages DPO which is everywhere now as it’s cool and works
Details of how here huggingface.co/blog/Andyrasi…
2
210
While training Diffusion-DPO, we found a pretty cool set of emergent properties: people *really* don't like bad faces or text rendering! We talk about the face aspect some in the paper, but didn't zoom in on the text abilities.
Our new work bringing preference learning to diffusion models, complete with improvements on SDXL! More on this after Thanksgiving. Happy holidays y'all
Diffusion Model Alignment Using Direct Preference Optimization
huggingface.co/papers/2311.1…
Large language models (LLMs) are fine-tuned using human comparison data with Reinforcement Learning from Human Feedback (RLHF) methods to make them better aligned with users' preferences. In contrast to LLMs, human preference learning has not been widely explored in text-to-image diffusion models; the best existing approach is to fine-tune a pretrained model using carefully curated high quality images and captions to improve visual appeal and text alignment. We propose Diffusion-DPO, a method to align diffusion models to human preferences by directly optimizing on human comparison data. Diffusion-DPO is adapted from the recently developed Direct Preference Optimization (DPO), a simpler alternative to RLHF which directly optimizes a policy that best satisfies human preferences under a classification objective. We re-formulate DPO to account for a diffusion model notion of likelihood, utilizing the evidence lower bound to derive a differentiable objective. Using the Pick-a-Pic dataset of 851K crowdsourced pairwise preferences, we fine-tune the base model of the state-of-the-art Stable Diffusion XL (SDXL)-1.0 model with Diffusion-DPO. Our fine-tuned base model significantly outperforms both base SDXL-1.0 and the larger SDXL-1.0 model consisting of an additional refinement model in human evaluation, improving visual appeal and prompt alignment. We also develop a variant that uses AI feedback and has comparable performance to training on human preferences, opening the door for scaling of diffusion model alignment methods.
Love this work. There's so much interesting image generation space beyond current gaussian diffusion to explore
Idempotent Generative Network
paper page: huggingface.co/papers/2311.0…
propose a new approach for generative modeling based on training a neural network to be idempotent. An idempotent operator is one that can be applied sequentially without changing the result beyond the initial application, namely f(f(z))=f(z). The proposed model f is trained to map a source distribution (e.g, Gaussian noise) to a target distribution (e.g. realistic images) using the following objectives: (1) Instances from the target distribution should map to themselves, namely f(x)=x. We define the target manifold as the set of all instances that f maps to themselves. (2) Instances that form the source distribution should map onto the defined target manifold. This is achieved by optimizing the idempotence term, f(f(z))=f(z) which encourages the range of f(z) to be on the target manifold. Under ideal assumptions such a process provably converges to the target distribution. This strategy results in a model capable of generating an output in one step, maintaining a consistent latent space, while also allowing sequential applications for refinement. Additionally, we find that by processing inputs from both target and source distributions, the model adeptly projects corrupted or modified data back to the target manifold. This work is a first step towards a ``global projector'' that enables projecting any input into a target data distribution.
Sharing this again from our official account, it's been super exciting to get ourselves set up at this level of scale/performance and I'm stoked to keep it rolling! Thanks a ton to all the team
@nikhil_ai Akash Gokul @DongxuLi_ @LiJunnan0409 @CaimingXiong
Introducing XGen-Image-1, our first foray into training large text-to-image models. Trained for $75K using TPUs on the LAION dataset, XGen-Image-1 matches the performance of Stable Diffusion 1.5/2.1.
blog.salesforceairesearch.co…
Introducing XGen-Image-1, our first foray into training large text-to-image-models. Trained for $75K using TPUs on the LAION dataset, XGen-Image-1 matches the performance of Stable Diffusion 1.5/2.1.
blog.salesforceairesearch.co…
To appear in #ICCV2023! Cool math, AI photo touch-ups, and a great team made this an awesome project to lead.
Our work, DOODL, on improved classifier guidance for diffusion models with off-the-shelf classifiers was accepted at #ICCV2023!
Enables cool applications like out-of-vocabulary image generation and improved aesthetics.
Code: github.com/salesforce/DOODL
Paper: arxiv.org/pdf/2303.13703.pdf
4
337
Great for people wanting to wrap up the conference with fun math and pretty pictures!
Visit our poster this afternoon at #CVPR23 to learn about how to edit real images using diffusion models! @bram_wallace will be there in person! @SFResearch
1
110

















