arXiv:2610.21202cs.CVOct 2026

Manuscript Offprint

arXiv:2610.21202

UltraDiff: Transferring High-Fidelity Priors to Compressed Latent Spaces for High-Resolution Image Generation

Jingjing Ren, Haitian Zheng, Haoyu Chen, Connelly Barnes, Zhifei Zhang, Yuqian Zhou, Zhe Lin, Lei Zhu

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

Abstract

High-resolution synthesis with Latent Diffusion Models (LDMs) faces a fundamental trade-off between computational cost and generative fidelity. This trade-off is largely governed by the latent compression factor ff (e.g. f8: f=8f=8 and f32: f=32f=32). While aggressive compression (f32) significantly improves efficiency, it suffers from severe information loss and ambiguity compared to standard f8 models. We propose UltraDiff, a framework that reformulates this challenge as joint-latent diffusion learning followed by marginal score distillation. We introduce MixTeacher, a dual-branch DiT that models the joint f8-f32 distribution, utilizing shared attention to resolve the ambiguity of the compressed space with high-fidelity f8 priors. Crucially, we propose vector field distillation in the native f32 space. Theoretically, this compels the student to learn the conditional expectation of the teacher's trajectory, effectively filtering out compression artifacts. Across the evaluated 1K–4K settings, UltraDiff approaches f8-level quality while preserving f32 efficiency. With 20 sampling steps on a single A100 GPU, it generates a 2K image in 6.2 seconds—over 40×40\times faster than our f8 baseline.

1 Introduction

The demand for ultra-high-definition (UHD) image and video synthesis has surged across streaming, gaming, and VR applications. While recent Diffusion Transformers (DiTs) [Esser et al., 2024, Chen et al., 2023, Podell et al., 2023, Black Forest Labs, 2024] excel at high-fidelity generation, self-attention dominates their compute and scales quadratically with the token count ( O(N2)O(N^2)), making UHD synthesis prohibitively expensive. To mitigate this, recent works [Team, 2025, Xie et al., 2024] explore VAEs with more aggressive spatial downsampling, i.e., increasing the latent downsampling factor from f8 ( f=8f=8) to f32 ( f=32f=32), reducing the 2D latent token count by 16×16\times compared to a standard f8 VAE, offering substantial efficiency gains.

However, the efficiency of aggressive downsampling comes at the cost of a substantially harder diffusion problem [Skorokhodov et al., 2025]. With f32 compression, the diffusion model must synthesize complex scenes from far fewer spatial tokens, yielding an ambiguous target distribution for the diffusion model to learn. This makes it difficult for the model to capture fine-grained details and precise spatial layout, leading to degraded perceptual fidelity and weaker prompt adherence compared to f8-based models [Black Forest Labs, 2024, Li et al., 2024, Kong et al., 2024].

Given the superior fidelity and detail generation capacity of f8 models, a natural question arises: Can we transfer the rich generative knowledge of a pre-trained f8 model to guide the training of an efficient f32 model? To study this, we conduct a controlled comparison between an f32 DiT trained

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Our UltraDiff generates high-quality images across a variety of scenes, showcasing rich details and diverse content. Please zoom in to view the details. Additional images are provided in the supplementary materials.

from scratch and one initialized from a pre-trained f8 model. As shown in Fig. 2, f8 initialization consistently improves performance, indicating that generative knowledge indeed transfers across diffusion model with two latent spaces, despite the mismatch in latent representation, dimensionality and resolution. However, from Fig. 2, the benefit of initialization quickly saturates, leaving a substantial performance gap between the two models. This suggests that static parameter initialization alone is insufficient; and effective training requires dynamic, state-dependent guidance. Instead, a more natural solution is generative knowledge distillation where most existing methods [Leng et al., 2025, Ren et al., 2025a] rely on feature alignment, forcing a student to match intermediate representations of a trained teacher model. However, we argue that static feature alignment are suboptimal when distilling across mismatched latent resolutions, as aligning an f32 student to an f8 teacher requires interpolating feature grids, leading to quantization artifacts and checkerboard patterns. Moreover, such implicit feature-level regularization does not provide explicit distillation.

supervision, which limits their ability to transfer generative knowledge from a pre-trained diffusion teacher.

To address these challenges for efficient UHD synthesis, we propose UltraDiff, a new framework that learns diffusion in a joint f8–f32 latent space and then distills the resulting score to the f32 latent space, yielding the final diffusion model in the f32 marginal for efficient sampling. Specifically, instead of treating the diffusion modeling in f8 and f32 spaces as two separate tasks, we introduce MixTeacher, a dual-branch DiT that models the joint distribution p(xf8,xf32)p(\boldsymbol{x}^{\mathrm{f8}}, \boldsymbol{x}^{\mathrm{f32}}) where xf8\boldsymbol{x}^{\mathrm{f8}} and xf32\boldsymbol{x}^{\mathrm{f32}} are extracted from the same image. Architecturally, MixTeacher comprises two DiT branches with separate parameters to accommodate the distinct feature distributions in the f8 and f32 latent spaces, while sharing self-attention layers within each block to enable dense cross-space interaction. With f8 initialization and layer-wise attention sharing, MixTeacher effectively learns a joint denoising model over paired f8 and f32 latents, effectively transferring generative knowledge from the pre-trained f8 branch to the f32 branch. Crucially, unlike other implicit feature distillation methods [Leng et al., 2025, Ren et al., 2025a], it enables direct distilling supervision in the f32 space. Specifically, our teacher projects its high-fidelity guidance into the student's f32 space. Theoretically, this forces the student to learn the marginal vector field, effectively approximating the conditional expectation of the high-fidelity trajectory. This process “integrates out” the ambiguity inherent to compressed generation, guiding the student toward structurally coherent manifolds while operating strictly within the efficient f32 latent space.

Our contributions are summarized as follows:

• We introduce MixTeacher, a unified architecture that learns the joint score function of f8 and f32 latents. Through a stochastic routing strategy and shared attention mechanism, it captures cross-space correlations while maintaining the marginal generation capabilities of each branch.

• We develop a marginal score distillation strategy that aligns the vector field directly in the native f32 space. By learning the conditional expectation of the teacher’s trajectory, the student model effectively resolves the inherent ambiguity and difficulty of modeling complex dependencies in the compressed f32 space.

• Our method, UltraDiff, achieves a strong trade-off between quality and efficiency. It produces detail-rich 4K images with strong semantic alignment shown in Figure 1, approaches the fidelity of the evaluated f8 systems, and generates a 2K image in 6.2 seconds using 20 sampling steps on a single NVIDIA A100 GPU—40.3× faster than our f8 anchor. UltraDiff also scales to 4K generation, where the f8 anchor runs out of memory.

References (43)