FoundationVision / LlamaGen

Autoregressive Model Beats Diffusion: 🦙 Llama for Scalable Image Generation
https://arxiv.org/abs/2406.06525
MIT License
1.25k stars 51 forks source link

Mask guidance, inpaiting and outpaiting #49

Open sahil02235 opened 2 months ago

sahil02235 commented 2 months ago

Thanks for the awesome paper. Even the codebase is very easy to use. Can you please do some initial experiments on mask guidance image generation, inpainting and outpainting. It will really help the community.

daiyixiang666 commented 2 months ago

The autoregreesive model acutally is not really good for mask guidance image generation in my opinion

sahil02235 commented 2 months ago

@daiyixiang666 theoretically i don't understand why it should perform badly, depends on how you are doing the conditioning.

iFighting commented 2 months ago

The autoregreesive model acutally is not really good for mask guidance image generation in my opinion

I think autoregreesive model perform better when align with language model

daiyixiang666 commented 2 months ago

If the mask is just like casual mask I think it will be great, but I do not think we always has the casual mask in real life

sahil02235 commented 2 months ago

@iFighting While it's true that autoregressive models can generate high-quality images without relying on text-based or mask-based conditioning, it's important to acknowledge that diffusion-based models like DiT have also demonstrated impressive results. However, diffusion models do face challenges when it comes to text-based and mask-based conditioning. Given that autoregressive models can generate high-quality images and handle text-based alignment effectively, a promising avenue for future research could be exploring different types of conditioning within these models. This would involve testing the accuracy of these new conditioning methods and addressing any limitations that arise.

sahil02235 commented 2 months ago

For control generation (reference): https://arxiv.org/pdf/2406.09750

lxa9867 commented 2 months ago

We are releasing code recently. If you are interested in controllable AR generation, please keep an eye on https://github.com/lxa9867/ControlVAR.