Training Image Models With Adversarial Loss
Ok-Constant8386 · reddit · 2026-07-15
The author shares an experiment training Krea 2 in a GAN-like manner, replacing the MSE loss in diffusion with pure adversarial loss to see if it improves details, textures, and sharpness.
Experimental Setup
- Dataset: opendiffusionai/pexels-woman-solo
- Base: 1 epoch of SFT on Krea 2 LoRA
- Generated 500 fake images, then fine-tuned DINOv3 840M ViT for patch-level real/fake discrimination
- Instead of looking at the whole image, the discriminator uses 16×16 patches as classification units
- DiffAugment was added during training; the author notes tuning is ongoing and regularization is needed
Training Approach
- The generator first generates images using a random timestep schedule
- The discriminator judges the authenticity of image patches
- The generator tries to fool the discriminator
- During discriminator training, real images and images passed through VAE encoding/decoding are used to reduce VAE bias
- To balance the adversarial process, the discriminator updates every step, while the generator updates every 3 steps
Author's Take
He believes the MSE objective in diffusion models pushes the model to learn "average pixel values," losing details and textures, which causes blurriness. Introducing adversarial loss could fix this. Current results remain experimental, but the author believes that with large-scale training and more ablations, this route could enhance realism, style learning, and overall quality.
More from Multimodal
- FLUX.2 Klein Drifts Hard on Character Expressions While Free Gemini Holds Likeness — wacomlover · 2026-09-11
- Tencent Hunyuan releases AuK code and weights on GitHub with ComfyUI and fine-tuning support — aigclink · 2026-09-11
- Creator turns Bahamut vs Tiamat rivalry into an AI cinematic battle with Midjourney, GPT Image 2 and Seedance — azed_ai · 2026-09-11
- invideo launches AI agent-powered editor to automate repetitive editing tasks — azed_ai · 2026-09-11
- fable 5.1 recreates The Starry Night with 256,157 JavaScript brush strokes — cedric_chee · 2026-09-11
- GPT-6 Astra + Hyper3D Rodin MCP Generates 3D Assets in One Agent Flow — ahuja_priyank · 2026-09-11