arXiv:2611.02625cs.CVNov 2026

Manuscript Offprint

arXiv:2611.02625

Latent Diffusion-GAN: Adversarial Learning in the Autoencoded Latent Space

U-Chae Jun, Jaeeun Ko, Jiwoo Kang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Diffusion models are powerful generative frameworks for producing high-quality images by denoising latent variables from random noise. However, training with likelihood-based objectives, such as denoising score matching, can lead to locally oversmoothed high-frequency details, including fine textures and sharp edges, thereby limiting perceptual fidelity and structural detail. Adversarial training with GANs enhances sharpness but typically requires additional discriminator networks, increasing computational costs and destabilizing training. To this end, we propose Latent Diffusion Generative Adversarial Networks (LD-GAN), a novel framework that seamlessly integrates adversarial learning into diffusion models without modifying their original pipeline. LD-GAN leverages the pretrained variational autoencoder (VAE) in latent diffusion models as an energy-based discriminator, enabling adversarial training without extra parameters and preserving the structured latent priors learned from large datasets. We also introduce a structural consistency energy that aligns encoder and decoder feature representations, thereby enhancing perceptual quality and compatibility with the pretrained latent space. Extensive experiments demonstrate that LD-GAN significantly improves sample fidelity, perceptual sharpness, and diversity over state-of-the-art baseline methods across various generation tasks while ensuring efficient training dynamics.

CCS Concepts

• Computing methodologies → Computer vision;

1 Introduction

Generative modeling has progressed significantly, with diffusion models [HJA20; SWMG15] emerging as a powerful framework for high-quality image synthesis. Diffusion models iteratively refine noisy inputs through denoising steps, achieving remarkable results in text-to-image generation [JKK25; RBL22] and video synthesis [SPH*23]. Despite their impressive generative capabilities, diffusion models primarily optimize likelihood-based objectives for statistical realism but often lack perceptual sharpness and structural coherence. It often leads to blurry textures, loss of fine details, and suboptimal performance in high-resolution synthesis tasks [DN21; VKK21].

Generative Adversarial Networks (GANs) [GPM14], in contrast, are well known for generating sharp and realistic images by leveraging a discriminator to ensure perceptual fidelity. Recent efforts have integrated diffusion models with adversarial training, combining the structured sampling of diffusion models with the high-fidelity generation of GANs [WZH23; SHCS22; NGH22]. Diffusion-GAN [WZH23] integrates adversarial loss into the diffusion framework, improving sample fidelity but facing challenges in stabilizing adversarial optimization. Adversarial diffusion distillation [SHCS22] distills knowledge from a diffusion model into a compact adversarially trained generator, while adversarial purification [NGH*22] applies diffusion models to remove adversarial perturbations. Despite these advances, adversarial training in diffusion models remains challenging due to instability, additional discriminator requirements, and potential conflicts between likelihood-based objectives and adversarial constraints.

To address these limitations, we propose Latent Diffusion Generative Adversarial Networks (LD-GAN), a novel framework that integrates adversarial learning into diffusion models while preserving their training pipeline. Unlike previous approaches that require an additional discriminator network, LD-GAN leverages the variational autoencoder (VAE) structure within the latent diffusion model as an energy-based discriminator. Inspired by Energy-Based GANs (EB-GANs) [ZML17], we reformulate the discriminator as an energy function that assesses the consistency between latent codes and reconstructions generated by the VAE's encoder and decoder. The proposed architecture is illustrated in Fig. 1. Specifically, LD-GAN introduces an adversarial objective in the latent space, where positive (i.e., real) samples are drawn from intermediate noisy latents zt∼U(0,T)z_t \sim \mathcal{U}(0, T), and negative (i.e., fake) samples are obtained by partially denoising noise-corrupted latents.

†^{\dagger} Corresponding author.

2 of 21

U. C. Jun, J. Ko, & J. Kang / Latent Diffusion-GAN: Adversarial Learning in the Autoencoded Latent Space

(e.g.,z^t=UNet(zt+ϵ))(e.g., \hat{z}_t = \text{UNet}(z_t + \epsilon)). The representations are assessed using an energy-based discriminator composed of the VAE decoder and encoder in the latent diffusion model, evaluating reconstruction consistency in latent and feature spaces. This formulation enables adversarial training without modifying the original diffusion pipeline, and the pretrained VAE components allow LD-GAN to inherit the structured latent prior learned from large-scale datasets, enhancing training stability and sample fidelity.

A key challenge in adversarially training diffusion models is balancing adversarial loss with the likelihood-based denoising objective. Traditional adversarial training can introduce instability, often leading to mode collapse or loss of structural fidelity [DN21; SME21]. Direct adversarial training can cause the diffusion model to diverge from its structured generative prior, as the discriminator and generator optimize competing objectives. To address this, we introduce a structural consistency energy that enforces multi-scale alignment between encoder and decoder features in the latent diffusion model. This regularization prevents adversarial updates from distorting latent structure and ensures that decoder fine-tuning remains compatible with the pre-trained VAE prior. Our structural consistency energy is self-contained, unlike conventional perceptual losses [ZIE*18], allowing for lightweight and effective perceptual regularization.

Our main contributions are: (1) We introduce LD-GAN, an adversarially trained diffusion model without an additional discriminator, reducing computational overhead while maintaining the generative prior; (2) We propose an energy-based discriminator that repurposes the pretrained VAE encoder and decoder of the latent diffusion to evaluate consistency between latent representations and reconstructions; (3) We introduce a structural consistency energy that stabilizes training by aligning encoder and decoder features, preserving structured priors, and improving perceptual quality; (4) Our method leverages the pretrained latent structures from large-scale training to enable stable adversarial learning in the latent space; (5) We demonstrate that LD-GAN enhances perceptual sharpness, structural coherence, and sample diversity in generative tasks, including text-to-image generation, conditional text-to-image generation, and 2D-to-3D synthesis, establishing a robust and generalizable adversarial framework for diffusion models.

References (82)