CryptoNetHub

One Layer Is Enough: Adapting Pretrained Visual Encoders for Image Generation

AuthorsYuan Gao, Chen Chen, Tianrong Chen, Jiatao GuVisual generative models (e. g. , diffusion models) typically operate in compressed latent spaces to balance training efficiency and sample quality. In. . .

· 2 min read

One Layer Is Enough: Adapting Pretrained Visual Encoders for Image Generation

AuthorsYuan Gao, Chen Chen, Tianrong Chen, Jiatao GuVisual generative models (e. g. , diffusion models) typically operate in compressed latent spaces to balance training efficiency and sample quality. In parallel, there has been growing interest in leveraging high-quality pre-trained visual representations—either by aligning them inside VAEs or directly within the generative model. However, adapting such representations remains challenging due to fundamental mismatches between understanding-oriented features and generation-friendly latent spaces. Representation encoders benefit from high-dimensional latents that capture diverse hypotheses for masked regions, whereas generative models favor low-dimensional latents that must faithfully preserve injected noise. This discrepancy has led prior work to rely on complex objectives and architectures. In this work, we propose FAE (Feature Auto-Encoder), a simple-yet-effective framework that adapts pre-trained visual representations into low-dimensional latents suitable for generation using as little as a single attention layer, while retaining sufficient information for both reconstruction and understanding. The key is to couple two separate deep decoders: one trained to reconstruct the original feature space, and a second that takes the reconstructed features as input for image generation. FAE is generic—it can be instantiated with a variety of self-supervised encoders (e. g. , DINO, SigLIP) and plugged into two distinct generative families–diffusion models and normalizing flows. Across class-conditional and text-to-image benchmarks, FAE achieves strong performance. For example, on ImageNet 256×256, our diffusion model with CFG attains an near–state-of-the-art FID of 1. 29 (800 epochs) and 1. 70 (80 epochs). Without CFG, FAE reaches the state-of-the-art FID of 1. 48 (800 epochs) and 2. 08 (80 epochs), demonstrating both high quality and fast learning. Related readings and updates. We introduce Representation Tokenizer (RepTok), a generative modeling framework that represents an image using a single continuous latent token obtained from self-supervised vision transformers. Building on a pre-trained SSL encoder, we fine-tune only the semantic token embedding and pair it with a generative decoder trained jointly using a standard flow matching objective. This adaptation enriches the token with low-level,…Read moreDiffusion models have emerged as a powerful tool for generating high-quality images from textual descriptions. Despite their successes, these models often exhibit limited diversity in the sampled images, particularly when sampling with a high classifier-free guidance weight. To address this issue, we present Kaleido, a novel approach that enhances the diversity of samples by incorporating autoregressive latent priors. Kaleido integrates an…Read more

Source: machinelearning.apple.com

More Layer 2 news