Pairs a hierarchical latent space with asynchronous denoising over channel groups, enabling extreme compression that outperforms prior methods on ImageNet-512 under 64x and 128x compression.
Pairs a hierarchical latent space with asynchronous denoising over channel groups, enabling extreme compression that outperforms prior methods on ImageNet-512 under 64x and 128x compression.
Fewer latent tokens promise cheaper diffusion. Yet aggressive spatial compression creates a reconstruction-generation dilemma: adding channels improves reconstruction but makes generation harder. Our goal is to make extreme spatial compression competitive by shifting this frontier.
We introduce APEX, short for Asynchronous Prefix denoising for EXtreme compression, which pairs a hierarchical latent space with asynchronous denoising over channel groups. Our autoencoder orders channel prefixes from structure to detail, while one shared denoiser generates them at staggered local times without adding tokens. We show that naively combining a channel hierarchy with asynchronous denoising can make generation worse. APEX succeeds by matching what each level represents, when it denoises, and how training is allocated across the trajectory. On ImageNet-512, APEX outperforms existing methods at every evaluated channel count under 64× and 128× spatial compression, substantially improving this frontier. At matched training and guided sampling compute, it also outperforms a 256-token model at every evaluated budget, with larger gains at lower compute. APEX makes extreme spatial compression practical for compute-efficient latent diffusion. Code is available at https://daviddinkevich.github.io/APEX.
Modern diffusion models increasingly use Transformers, whose attention cost grows quadratically with the number of input tokens. Latent diffusion reduces this cost by compressing an image into a smaller spatial grid and applying diffusion there (34). Our goal is to make extreme spatial compression competitive for latent diffusion. Stronger spatial compression produces fewer tokens. Channel count is a separate design choice, but preserving reconstruction quality typically requires adding channels as the grid shrinks, producing increasingly wide latents. This trade is attractive because shorter sequences can substantially reduce denoiser cost, permitting more optimization and sampling under a fixed compute budget. This suggests an obvious strategy: compress the spatial grid as aggressively as possible, then add enough channels to preserve reconstruction quality.
Unfortunately, this strategy encounters a well-established reconstruction-generation dilemma (39; 5; 6; 19). At fixed spatial compression, adding channels improves reconstruction but makes the resulting latent harder to generate. Additional channels let the encoder preserve more image-specific information, including exact textures and local details. This lowers reconstruction error, but increases the information that the diffusion model must produce (6; 11). Standard latent diffusion therefore faces a poor choice: use fewer channels and sacrifice reconstruction quality, or preserve more detail and sacrifice generation quality. Existing approaches reduce this tension by restricting latent information or importing pretrained semantic structure (15; 40; 39; 42; 29). The closest structured-latent method in our setting organizes channel prefixes within one reconstruction latent, but still denoises each retained prefix at a shared timestep (6). This limitation becomes especially severe at 128× spatial compression, where a 5122 image is represented by a 4× 4 grid of only 16 tokens.
APEX addresses this problem without imposing an additional bottleneck on the final latent. Instead, it changes how the channels are organized and generated. Coarse structure must be generated from scratch, while exact texture and local detail become easier to predict once the scene is established. We therefore factorize generation into structure generation followed by conditional refinement. Our autoencoder orders channel prefixes from structure to detail by supervising them at progressively higher resolutions. During diffusion, one shared Transformer denoises the newly added channel groups at staggered local times, so each refinement is predicted from cleaner preceding context. As this is done along the channel dimension, APEX does not increase the number of tokens. Figure 1 summarizes the representation and denoising process. Although hierarchical channel latents and asynchronous denoising each exist, combining them is not automatic: shared-time diffusion performs poorly on APEX levels, while staggered local times perform poorly with the DC-AE 1.5 hierarchy and prefix sampler (Table 2).

5122 image with 16 spatial tokens and orders channels from structure to detail. (b) One global clock denoises those levels at staggered local times; g is the delay before each later level starts. (c) Ordering generation this way improves the reconstruction–generation trade-off relative to a flat latent.We evaluate APEX on ImageNet-512 at 64× and 128× spatial compression. We write f64c128 for 64× spatial compression with 128 channels. At 5122, f64 and f128 correspond to 64 and 16 tokens. Across every evaluated channel count, APEX outperforms all compared methods and degrades far less as channels are added. At f128c512, APEX reaches 8.98 guided gFID from 16 tokens with SiT-XL, while every compared method remains in the double digits. Our 64-token f64c128 model matches the gFID of the widely used 1024-token f8c4 SD-VAE (34) using 15% of its denoiser-training FLOPs (Appendix B.4). With training compute matched, our 64-token hierarchical model also outperforms a less-compressed 256-token model across every evaluated guided inference budget, with larger gains as sampling compute decreases. These results show that once the reconstruction-generation dilemma is addressed, extreme spatial compression becomes a quality-compute advantage rather than only a per-step speedup.
Our contributions are threefold:
Deep-compression autoencoders reduce diffusion sequence length by moving representational capacity from spatial positions into latent channels. DC-AE made reconstruction practical at 32×, 64×, and 128× spatial compression and provides our base architecture (5). DC-AE 1.5 structures channel prefixes and trains diffusion on randomly sampled prefixes at a shared timestep, while FreqWarm modifies diffusion training through a frequency curriculum (6; 19). These are our closest direct baselines. APEX instead pairs resolution-matched cumulative levels with staggered local times; APEX levels under shared-time diffusion and a direct application of the staggered schedule to the DC-AE 1.5 construction perform poorly (Table 2).
Existing methods improve diffusibility either by controlling latent information or importing pretrained semantic structure. Traditional VAEs impose a Gaussian prior, Unified Latents explicitly controls information rate with a learned diffusion prior, and MAETok uses a non-variational discriminative latent for 128-token generation (15; 11; 4). Semantic-alignment methods instead shape the latent or denoiser using pretrained representations (40; 39; 42; 17; 37; 20). SFD and Learning When to Denoise additionally pair a DINOv2-derived semantic latent with a separate texture latent and denoise semantics first using a fixed or learned relative schedule (29; 33; 28). APEX uses no external semantic representation or explicit latent prior. It induces structure within one reconstruction latent, leaving later levels free to preserve image-specific detail.
Coarse-to-fine representations appear in Matryoshka learning, cascaded and nested diffusion, multiscale tokenizers, ordered-channel models, and flexible-length token sequences (18; 14; 9; 3; 43; 30; 2; 1). Frequency-based methods instead reshape latent spectra or explicitly separate coarse and fine components (27; 36; 16; 21; 10). Denoising-VAE constructs progressively low-pass latent levels with blurred image targets and frequency-aligned diffusion (38); we use Spectrum Matching as the representative autoencoder-side baseline for this family. WaiT similarly delays wavelet-detail generation, but operates in pixel space rather than a learned high-compression latent (31). APEX instead uses cumulative channel prefixes of one jointly decoded latent on a fixed spatial grid, supervising each prefix at a corresponding resolution and generating later groups from cleaner preceding levels.

ℓ defines level Lℓ. Resolution-supervised autoencoder. We sample a level, zero all later groups, and decode the retained prefix at full resolution. Reconstruction and target are then resized to that level’s assigned resolution before computing the autoencoder loss. Diffusion training. A global clock τ is sampled from q(τ) and mapped to one local timestep per group. Unstarted groups are zeroed, and the shared DiT predicts velocities for the denoising groups. Inference. Groups start in sequence along the same clock. Each newly active group is initialized from Gaussian noise, and generation continues until the full latent is clean.APEX has two components. First, a single autoencoder orders cumulative channel levels from structure to detail using progressively higher-resolution targets (Section 3.1). Second, a shared Transformer denoises the channels introduced at each level at staggered local times, allowing later levels to refine cleaner earlier ones without adding spatial tokens (Section 3.2; Figure 2). Pseudocode for autoencoder training, diffusion training, and inference is given in Appendices C and D (Algorithms C, D.3, and D.4).
Given an image x∈ℝR× R× 3, the encoder produces a latent z∈ℝ(R/f)×(R/f)× C, which we partition as
z=[b0|b1|⋯|bL-1], bℓ∈ℝ(R/f)×(R/f)× dℓ.(1)
We call the cumulative representation a level:
z(ℓ)=[b0|⋯|bℓ]∈ℝ(R/f)×(R/f)× Cℓ, Cℓ=∑k=0ℓdk,(2)
It retains all preceding channels while adding capacity on the same spatial grid.
We use a simple structure-to-detail heuristic to choose target resolutions. At lower channel counts, a roughly 4× increase in cumulative channels corresponds to a 2× increase in target resolution along each spatial dimension. At larger widths, we treat this proportionality as a guideline rather than a constraint: we introduce intermediate channel levels to avoid excessively large refinement groups and use monotonically increasing target resolutions up to the full image resolution. Exact assignments are given in Appendix Table 5. Any additional levels are also supervised at full resolution. We denote a hierarchy by its spatial compression followed by its cumulative level sizes; for example, f64c8-32-128 has 64× spatial compression and levels with 8, 32, and 128 cumulative channels, assigned to 1282, 2562, and 5122 targets, respectively. At each training step, we sample a level uniformly,
ℓ∼Unif0,…,L-1,
retain its cumulative representation z(ℓ), and set all later channel blocks to zero. The shared decoder produces
x(ℓ)=D([b0|⋯|bℓ|0|⋯|0]).(3)
Although the decoder always outputs the original image resolution, we resize both the reconstruction and target to Rℓ× Rℓ before computing the loss:
LAE=Ex,ℓ[Lbase(Pℓ(x(ℓ)),Pℓ(x))],(4)
where Pℓ is an antialiased resize and Lbase follows the reconstruction, perceptual, and adversarial objective of the underlying DC-AE (5). Exact channel counts, target resolutions, and training details are given in Section 4 and Appendix C.
Resolution-aware supervision discourages narrow levels from spending their limited capacity on isolated high-frequency features. When every level is supervised at full resolution, early reconstructions often preserve sharp edges without recovering the surrounding structure. Resizing the loss instead encourages early levels to preserve coherent layout and shape, while later levels restore the missing detail (Figure 7).

t=0. Additional samples in Appendix A.1.During diffusion, each block receives its own local timestep while remaining on the same spatial grid.
A stagger schedule coordinates the levels through a single global clock τ: each level carries a local time tℓ(τ) that decreases monotonically from 1 (noise) to 0 (clean) over its own window of the clock, and the windows are ordered so that
t0(τ) ≤ t1(τ) ≤ ⋯ ≤ tL-1(τ).(5)
Earlier levels are therefore never noisier than the refinement levels they condition. At any clock value, each level is in one of three states: unstarted (its window has not begun), denoising (0<tℓ(τ)<1), or done (tℓ(τ)=0). Unstarted blocks are zeroed in the Transformer input; denoising blocks are noised at their local times; done blocks appear clean and act as fixed context. The shared network predicts velocities for all blocks, but only denoising levels are supervised and updated. Predictions on unstarted and done blocks are discarded.
Our main schedule delays consecutive levels by a constant gap g:
tℓ(τ)=clipl(1+ℓ· g-τ, 0, 1r), τ∈[0, 1+(L-1)g],(6)
so level ℓ is unstarted for τ≤ℓ· g (a multiple of the gap), denoising for ℓ· g<τ<1+ℓ· g, and done afterward: the first level begins immediately, each later level starts after an additional delay g, and earlier levels are always further along their trajectories, providing cleaner context for refinement. The formulation is schedule-agnostic, and any monotone local clocks satisfying Eq. 5 are valid. We adopt the equal-gap form throughout for its simplicity.
We draw the clock from a sampling density τ∼ q and noise every denoising block with the standard flow-matching interpolation (22; 23), each at its own local time:
bℓ=(1-tℓ) bℓ+tℓ εℓ, vℓ=εℓ-bℓ, εℓ∼N(0,I).(7)
The objective weights the per-level velocity errors,
L(τ)=∑ℓwℓ(τ) l|vℓ-vℓr|2,(8)
where the error of each level is averaged over its spatial positions and channels. We set wℓ(τ) to zero outside the denoising state and constant across denoising levels (normalized to sum to one), which prevents wide refinement levels from dominating training solely because they contain more channels.
The schedule fixes the levels’ relative progress; q decides how often each part of the trajectory is trained (Figure 4). Because L0 must learn structure from scratch, we assign probability pL0 to 0<τ<1, where L0 is denoising, and spread the remaining probability uniformly over the rest of the clock. A sample from this interval also trains every later level whose window has already opened. Section 4.4 analyzes the effect of this sampling mechanism.
Inference discretizes the clock into a grid 0=τ0<⋯<τN that includes each activation point ℓ· g (multiples of the gap).
At every step, one shared network evaluation serves all levels, and each block advances by its own time increment:
bℓ ← bℓ+l(tℓ(τk+1)-tℓ(τk)r) vℓ.(9)
Unstarted and done levels have constant local time, so their increments vanish and they do not move. When a level’s window opens, its block is initialized from Gaussian noise (Algorithm D.4, Appendix D). Under the equal-gap schedule the increment is -Δτ for every denoising level and zero otherwise, so each step reduces to a single shared Euler update over the denoising blocks: one network evaluation per step, the same cost per step as a flat model. A nonlinear clock changes only the increments in Eq. 9. When each level reaches t=0, we decode the cumulative prefix. Later levels add detail that is absent from the 8-channel prefix (Figure 3; Appendix A.1). Successive-prefix differences are shown in Appendix A.2.
We initialize the rows of the input projection associated with b0 using the standard SiT initialization (25) and the rows associated with b1,…,bL-1 to zero. The model therefore begins as an L0-only generator and gradually learns to incorporate refinement information, without modifying the Transformer trunk.
2.85→ 3.15→ 4.90 gFID as channels increase 128→ 256→ 512, while DC-AE degrades from 3.22→ 9.19→ 26.10. At f128, increasing channels from 512→ 1024 changes APEX from 8.98→ 18.77, compared with DC-AE 14.44→ 89.47 and DC-AE 1.5 11.86→ 51.47. The boxed values summarize performance at f64c128 and f128c512. All runs use matched denoiser-training FLOPs and total NFE.We target the operating point where each token must absorb substantial instance-specific detail: high native resolution under aggressive spatial compression. Following DC-AE (5), we evaluate on ImageNet-512 (7) at 64× and 128× spatial compression. We first compare reconstruction and generation across f64 and f128 latents with increasing channel capacity, then test whether high compression remains advantageous when both training and inference are compute-constrained. We next perform an extensive component study showing that the gain emerges from the complete representation–diffusion co-design: neither the hierarchical latent nor asynchronous denoising reaches the same quality on its own. Finally, we study the schedule choices used by the main models.
We denote an autoencoder with f× spatial compression and C channels by ffcC. At 5122, f32, f64, and f128 produce 16× 16, 8× 8, and 4× 4 latent grids, corresponding to 256, 64, and 16 Transformer tokens. APEX uses c8-32-128 at f64 and c32-128-256-512 at f128; wider variants append c256 and c512 at f64 and c1024 at f128. Appendix Table 5 gives the exact groups and target resolutions. Unless stated otherwise, we use SiT-XL/1 (25), with SiT-B/1 for component and design ablations. We report rFID on the ImageNet validation set and gFID from 50K class-conditional samples using the ADM protocol (8). Generation uses Euler sampling and CFG (13) with scale 1.5 unless otherwise specified; Appendix E additionally reports unguided gFID, sFID, and Inception Score. Within each comparison, we match cumulative denoiser-training FLOPs and, unless varied, total NFEs; methods sharing a latent shape also use the same denoiser, optimizer, batch, and evaluation protocol. Full configurations and compute accounting are in Appendix B.
DC-AE uses the unstructured reconstruction latent of 5. DC-AE 1.5 trains cumulative channel prefixes and augments diffusion with randomly sampled prefixes under a shared timestep (6). FreqWarm changes the frequency curriculum of the diffusion model without modifying the autoencoder (19). Spectrum Matching regularizes the latent and reconstruction spectra (27). We implement all baselines in the same DC-AE and SiT training framework.
| Latent | Matched rFID ↓ | PSNR ↑ | Reference |
|---|---|---|---|
| f64c128 | 0.22 | 26.15 | Official DC-AE |
| f64c256 | 0.18 | 26.8 | Trained by us |
| f64c512 | 0.13 | 27.30 | Trained by us |
| f128c512 | 0.23 | 25.73 | Official DC-AE |
| f128c1024 | 0.20 | 26.1 | Trained by us |
Following DC-AE 1.5 (6), we find that imposing a channel hierarchy has little effect on complete-latent reconstruction, so we match all methods at each latent geometry to the same rFID. We use the official DC-AE f64c128 and f128c512 models as reference points and train flat DC-AE models at the additional widths using the same architecture and recipe (Table 1). We evaluate c128, c256, and c512 at f64 and c512 and c1024 at f128, matching cumulative denoiser-training FLOPs and total NFE across methods.
Figure 5 shows that APEX degrades far more slowly as the latent widens. At f64, APEX gFID changes only from 2.85 at c128 to 3.15 at c256 and 4.9 at c512, while DC-AE rises from 3.22 to 9.19 and 26.1. At f128, APEX reaches 8.98 and 18.77 at c512 and c1024, versus 14.44/89.47 for DC-AE and 11.86/51.47 for DC-AE 1.5. At f128c1024, Spectrum Matching and FreqWarm reach 73.71 and 79.51, respectively.
Unguided APEX results across channel counts are in Appendix E.1.
| Configuration | gFID ↓ | ΔgFID |
|---|---|---|
| Build APEX from DC-AE | ||
| DC-AE | 13.27 | +5.15 |
+ APEX levels | 20.37 | +12.25 |
+ cumulative-prefix diffusion training | 17.83 | +9.71 |
+ APEX diffusion | 8.12 | 0.00 |
| Remove components from APEX | ||
- matched-resolution targets | 8.77 | +0.65 |
- APEX levels and clock sampler (DCAE1.5 + naive async schedule) | 52.89 | +44.77 |
ΔgFID is measured relative to APEX.APEX turns the lower per-step cost of extreme compression into a genuine quality advantage. We compare APEX f64c8-32-128 with DC-AE f64c128 and f32c32 baselines using the same denoiser architecture and matched cumulative denoiser-training FLOPs. The f64 models are trained for 500K steps with batch size 2048, while f32c32 is trained for 250K steps with batch size 1024. One f32 denoiser evaluation costs approximately 4× one f64 evaluation, so a matched inference budget affords the f64 models approximately four times as many NFEs. For each model, we select the best evaluated CFG value independently at each inference budget. Figure 6(b) shows the full sweep at the 1× operating point, where APEX and f32c32 select CFG 1.4, while flat f64c128 selects 1.5.
1× matches f64 at 250 NFE with f32 at 64 NFE. (b) CFG sweep at the 1× budget. Stars mark the selected guidance scale for each model.Figure 6(a) shows that compression alone does not guarantee a better quality–compute trade-off. The flat f64 baseline is preferable only at the smallest sampling budgets; by 1/2× relative compute, f32c32 is already better despite receiving one quarter as many evaluations. APEX removes this crossover: it outperforms f32c32 at every matched guided inference budget, with the margin increasing as compute becomes more constrained. At the 1× budget, APEX reaches a gFID of 2.74 with 250 NFEs, compared with 2.95 for f32c32 with 64 NFEs. At 1000 NFEs (4×), APEX reaches 2.67. APEX therefore makes high compression advantageous across the full evaluated compute-constrained regime.

The complete APEX design delivers a clear performance jump over every partial construction. We extensively ablate the representation, autoencoder targets, channel partition, diffusion schedule, loss aggregation, and training sampler at f64c128 using SiT-B/1. All variants use the same batch, evaluation setting, and cumulative denoiser-training FLOPs. We study representative controls obtained by using our hierarchy without asynchronous generation, and by applying asynchronous generation without the matching hierarchy or sampling regime.
Here, APEX levels denote f64c8-32-128 trained with matched-resolution targets. APEX diffusion combines staggered local times, level-balanced losses, and the APEX clock sampler. Table 2 first builds APEX from DC-AE, then removes key components from the complete method. Appendix E.2 reports sFID and IS for the same variants.
The cumulative path shows that the hierarchy alone is insufficient. Adding APEX levels to ordinary diffusion worsens gFID, and cumulative-prefix training recovers only part of this loss. The large improvement appears when the matching diffusion process is introduced, reducing gFID from 17.83 to 8.12. The subtractive controls tell the same story. Removing matched-resolution targets raises gFID to 8.77, while naively replacing the APEX levels and clock sampler with the DC-AE 1.5 construction of many small uniform-width levels fails severely at 52.89. Figure 7 shows the corresponding representational difference: APEX prefixes are coherent and usable at lower resolutions, whereas DC-AE 1.5 prefixes mix coarse structure with isolated high-frequency detail.
Two choices are critical in practice: the stagger gap and the allocation of training probability along the global clock. Unless stated otherwise, these experiments use f64c128 and SiT-B/1. Only the denoiser size and the explicitly ablated variable change. Appendix E.2 additionally reports unguided gFID for the gap and allocation sweeps, together with sFID and IS for all three analyses.
Increasing g gives later levels cleaner structural context, but under our equal-gap schedule it also lengthens the global trajectory and reduces overlap, making a fixed NFE budget less efficient. Figure 8(a) shows that this trade-off is optimized near g=0.25.
L0 carries the unconditional generation burden, whereas later levels solve easier conditional refinements. We therefore place mass pL0 on the interval where L0 is active and distribute the remainder uniformly over the rest of the clock (Figure 4). Figure 8(b) shows that increasingly structure-heavy allocation improves gFID, with pL0=1 performing best even though later portions of the clock receive no direct supervision. For the main models, we use pL0=0.9 rather than 1. The pL0=1 result above uses only three levels; in deeper hierarchies, later levels begin at or after τ=1 and would receive little or no direct supervision. Using 0.9 preserves tail coverage while still concentrating training on structure generation.
To quantify the contribution of each level, we evaluate the pL0=1 model with the same 250-NFE budget redistributed over successively longer prefixes of its three-level clock. Stopping after the first one, two, or three levels reach t=0, and decoding the corresponding cumulative latent, gives gFID 19.83, 9.04, and 8.12, respectively. These results confirm that the model uses the full hierarchy: later levels require far less direct supervision than L0, yet remain essential to final generation quality. In particular, L2 still contributes despite receiving no direct supervision over the latter half of its trajectory and despite the modest SiT-B/1 denoiser used here.
pL0=0.9. At g=0, the tail interval is absent and the process reduces to synchronous diffusion. (b) Holding g=0.25, we vary pL0, the training probability assigned to the interval where L0 is denoising. Uniform clock sampling corresponds to pL0=2/3. (c) For the g=0.25, pL0=1 checkpoint, we stop inference when L0, L1, or L2 completes and redistribute the same 250 NFEs over the retained clock interval. Generation improves at every endpoint, showing that all three levels contribute.We introduced APEX, which pairs a resolution-aware hierarchy of channel prefixes with asynchronous denoising across channels. At 64× and 128× spatial compression, APEX substantially shifts the reconstruction–generation frontier as channels are added. With matched training compute, it also outperforms a less-compressed 256-token baseline across all evaluated guided inference budgets, making extreme compression competitive under constrained compute.
APEX still requires choosing channel boundaries, per-level target resolutions, the stagger gap, and the global-clock distribution. Section 4.4 provides practical guidance, but the optimal choices may vary across settings. Learning them jointly with the autoencoder and denoiser is a promising direction.
The appendices provide complete autoencoder and diffusion training details, latent configurations, sampling and evaluation protocols, FLOP accounting, training and inference pseudocode, and figure-specific reproduction instructions. Appendix F records the protocol and data required to reproduce each main-text figure. Code is available at https://daviddinkevich.github.io/APEX.
This work was supported in parts by the Israel Science Foundation (grant no. 2203/24).

t=0.For the two generated examples in Figure 3, we show successive prefix decodes and their differences. Here x0, x1, and x2 are the images decoded from 8, 32, and 128 channels.
Sample 1
| 8 channels | 32 channels | 128 channels | x 1 − x 0 x_{1}-x_{0} | x 2 − x 1 x_{2}-x_{1} |
![]() | ![]() | ![]() | ![]() | ![]() |
Sample 2
| 8 channels | 32 channels | 128 channels | x 1 − x 0 x_{1}-x_{0} | x 2 − x 1 x_{2}-x_{1} |
![]() | ![]() | ![]() | ![]() | ![]() |
Differences are computed per channel on the full-resolution decodes, and mapped to gray-centered images with a shared display scale of ± 0.5 in the [0,1] RGB range, which clips 1.3% of pixels.
Within each experiment, we match cumulative denoiser-training FLOPs across all compared methods. This applies when changing the spatial compression, channel count, or denoiser size. We adjust the number of training steps for the model cost and global batch size; the comparison is not based on equal numbers of updates or images seen.
Table 3 gives the schedules for the main SiT-XL/1 comparisons. Figure 5 uses the f64 and f128 settings, and Figure 6 uses the f32 and f64 settings. All three schedules correspond to approximately 1.8× 1020 denoiser-training FLOPs.
| Latent | Tokens | Batch size | Training steps | Training FLOPs |
|---|---|---|---|---|
| f32c32 | 256 | 1,024 | 250,000 | ≈ 1.8× 1020 |
| f64, all widths | 64 | 2,048 | 500,000 | ≈ 1.8× 1020 |
| f128, all widths | 16 | 4,096 | 1,000,000 | ≈ 1.8× 1020 |
Following DiT (32), we compute the training cost arithmetically as
Ftrain∼eq 3FforwardBS,(10)
where Fforward is the cost of one denoiser forward pass on one image, B is the global batch size, and S is the number of updates. A multiply-add counts as two FLOPs. The factor of three approximates the forward and backward passes. At these sequence lengths, the dominant cost is approximately linear in the number of tokens. Autoencoder training is separate from this budget.
We train on the ImageNet-1K training split at 512× 512 (7). Main experiments use class-conditional SiT-XL/1; component and schedule ablations use SiT-B/1. Patch size 1 assigns one token to each latent spatial location. We follow the DC-AE diffusion-training setup and the underlying SiT optimization recipe (5; 25): AdamW (24) with a constant learning rate of 10-4 and an exponential moving average with decay 0.9999. Batch sizes and training lengths are given in Table 3.
All methods use the same DC-AE and SiT training framework. DC-AE uses an unstructured latent (5); DC-AE 1.5 uses cumulative prefixes and shared-timestep prefix training (6). FreqWarm applies its frequency curriculum to diffusion training (19), and Spectrum Matching regularizes the latent and reconstruction spectra (27). Within a comparison, the backbone, optimizer, training compute, and evaluation protocol are shared.
We evaluate generation using 50,000 class-conditional samples and the ADM protocol (8), reporting gFID (12), sFID (26), and Inception Score (IS) (35). We use classifier-free guidance with scale 1.5 unless another scale is specified (13). Unguided sampling retains the class label but does not apply guidance (CFG 1.0). We report unguided gFID for the channel-scaling comparisons wherever the guided checkpoint is identified, and for the SiT-B gap and clock-allocation ablations, using the same trained model and number of sampling steps as the guided evaluation. Reconstruction rFID and PSNR are evaluated on the ImageNet validation split using the complete latent, following DC-AE (5).
For N sampling steps, denoiser inference cost is NFforward without guidance and 2NFforward with guidance, excluding the autoencoder decoder. One f32 evaluation costs approximately four times an f64 evaluation. The 1× budget in Figure 6 therefore pairs 64 f32 evaluations with 250 f64 evaluations. APEX sampling follows the Euler update in Section D; sampling budgets are given with the individual comparisons.
The standard 1024-token latent is the f8c4 SD-VAE used by SiT (34; 25). The published SiT-XL/2 ImageNet-512 result reaches gFID 2.62 after 3,000,000 steps at batch size 256, using CFG 1.5 and 250 Euler–Maruyama steps (25). Under Equation 10 this is 1.21× 1021 denoiser-training FLOPs.
We train SiT-XL/1 on APEX f64c8-32-128 with the optimizer in Section B. At 1,000,000 steps and batch size 2,048, this run reaches gFID 2.62 using 1.78× 1020 FLOPs, or 15% of the f8c4 training compute. The APEX evaluation uses CFG 1.5 and 250 Euler steps.
| Latent | Tokens | Steps | Batch | Training FLOPs | gFID |
|---|---|---|---|---|---|
| SD-VAE f8c4 | 1,024 | 3,000,000 | 256 | 1.21× 1021 | 2.62 |
APEX f64c8-32-128 | 64 | 1,000,000 | 2,048 | 1.78× 1020 | 2.62 |
We train all autoencoders on ImageNet (7) with a global batch size of 64. We follow the DC-AE architecture, training recipe, and published implementation (5), including its optimization settings and reconstruction, perceptual (41), and adversarial losses. APEX adds channel-prefix sampling and resolution-aware supervision; the encoder and decoder remain shared across all levels.
At each training step, we sample a cumulative level uniformly, retain its channels, and set all later channels to zero. The decoder produces a full-resolution image. We then resize both the reconstruction and the target to the selected level’s resolution before computing the loss.
Channel counts are cumulative: prefixes of 8, 32, and 128 channels add 8, 24, and 96 channels on the same spatial grid. We use the same structure-to-detail heuristic as in Section 3.1: at lower widths, a roughly 4× increase in cumulative channels corresponds to a 2× increase in target side length. At larger widths, we introduce intermediate levels to avoid excessively large refinement groups and treat this proportionality as a guideline. Exact assignments are given in Table 5.
| Latent | Cumulative channels (group sizes) | Target side lengths | g | pL0 |
|---|---|---|---|---|
| f64c128 | 8–32–128 (8, 24, 96) | 128, 256, 512 | 0.25 | 0.9 |
| f64c256 | 8–32–128–256 (8, 24, 96, 128) | 128, 256, 512, 512 | 0.25 | 0.9 |
| f64c512 | 8–32–128–256–512 (8, 24, 96, 128, 256) | 128, 256, 512, 512, 512 | 0.25 | 0.9 |
| f128c512 | 32–128–256–512 (32, 96, 128, 256) | 128, 256, 512, 512 | 0.25 | 0.9 |
| f128c1024 | 32–128–256–512–1024 (32, 96, 128, 256, 512) | 128, 128, 256, 256, 512 | 0.25 | 0.9 |
The full-resolution control keeps the 8–32–128 channel hierarchy and prefix sampling, but supervises every prefix at 512× 512 (row (e) of Table 2).
Algorithm C shows the training loop, with APEX changes in green. The base loss is the DC-AE objective for the current training stage.
for images in data: z = encoder(images) pred = decoder(z) loss = base_loss(pred, images) update(loss)
for images in data: z = encoder(images) level = uniform_level() z = keep_prefix(z, level) pred = decoder(z) size = target_size[level] pred = resize(pred, size) target = resize(images, size) loss = base_loss(pred, target) update(loss)
keep_prefix zeros all channels after the sampled level, leaving the decoder input at full width. The loss is the image-space objective on pred and target; the zeroed channels are not supervised.
We train the f64c128 and f128c512 autoencoders to match the rFID of the corresponding official DC-AE models.
The global clock runs from τ=0 to T=1+(L-1)g, where L is the number of levels and g is the stagger gap. Each level has a local diffusion time
tℓ(τ)=clip(1+ℓ· g-τ,0,1).(11)
Local time decreases from 1 (noise) to 0 (clean). Level ℓ starts at τ=ℓ· g (a multiple of the gap) and finishes at τ=1+ℓ· g. Earlier levels are therefore cleaner than the later levels they condition.
With g=0.25, the three denoising windows are (0,1), (0.25,1.25), and (0.5,1.5) (Figure 11). Later levels begin before the earlier levels have finished.

g=0.25. Before a level starts, its input is zero. During the descending segment it is denoised. Once its local time reaches zero, it stays fixed as context for the remaining levels.We place probability pL0 on the interval (0,1), where L0 is still denoising, and the remaining probability on (1,T). Sampling is uniform within each interval:
q(τ)= pL0, if 0<τ<1,; (1-pL0)/(T-1), if 1<τ<T.(12)
Uniform sampling over the full clock corresponds to pL0=1/T. When g=0, the whole clock is (0,1) and all levels share the same timestep.
Most training examples are drawn while L0 is active because it must learn structure generation. Refinement levels also receive training during the parts of their trajectories that overlap this interval. For example, with three levels, g=0.25, and pL0=1, L1 is trained at local times (0.25,1) and L2 at (0.5,1). Inference still traverses their complete trajectories.
Main-model clock settings are listed in Table 5.
Unstarted groups are zero, active groups are mixed with Gaussian noise, and completed groups provide clean context. The target velocity is noise minus the clean latent. We average the squared error within each active group and then equally across active groups. Unstarted and completed groups do not contribute to the loss.
The input-projection weights for L0 use the standard SiT initialization (25); those for later groups are initialized to zero. The Transformer is conditioned on the global clock.
for images, labels in data: z = encode(images) noise = gaussian_like(z) time = sample_time() noisy = mix(z, noise, time) pred = model(noisy, time, labels) target = noise - z loss = mse(pred, target) update(loss)
for images, labels in data: z = encode(images) noise = gaussian_like(z) clock = sample_clock() times = local_times(clock) noisy = prepare_groups( z, noise, times) pred = model(noisy, clock, labels) target = noise - z loss = active_group_mse( pred, target, times) update(loss)
sample_clock draws τ∼ q. mix forms (1-t)z+tε. prepare_groups sets the three group states described above; active_group_mse averages their active losses. Class dropout is unchanged.
Each group is initialized from Gaussian noise when its window opens. One shared prediction updates all groups using their local-time changes:
zℓ← zℓ+l[tℓ(τk+1)-tℓ(τk)r]vℓ.(13)
Unstarted and completed groups have zero time change and remain fixed. The grid includes the activation points ℓ· g (multiples of the gap), where new groups are initialized before the model evaluation.
z = gaussian_latent() for time, next_time in time_grid: pred = predict(z, time, label) delta = next_time - time z = z + delta * pred image = decode(z)
z = zeros_latent() for clock, next_clock in grid: start_new_groups(z, clock) pred = predict(z, clock, label) delta = local_times(next_clock) delta = delta - local_times(clock) z = z + delta * pred image = decode(z)
predict combines the conditional and null-class predictions as v=vnull+s(vclass-vnull) when guidance is used. Setting s=1 gives unguided class-conditional sampling. start_new_groups initializes each group once. The completed latent is decoded by the shared autoencoder.
For Figure 8(c), we redistribute 250 NFEs over (0,1), (0,1.25), or (0,1.5) and decode the completed prefix, zeroing later channels. These intervals complete one, two, or three levels at g=0.25.
The tables below give the values in the main figures and additional generation metrics. Each row contains one model or experimental setting. Unguided gFID is class-conditional sampling at CFG 1.0. It is reported in Tables 6 and 7 for every setting with a matched guided run, and for the SiT-B gap and clock-allocation ablations. A dash marks a setting whose guided run was not identified. sFID and IS in Tables 6 and 7 are computed on the same unguided samples. The remaining tables report guided gFID, and their sFID and IS use the guided samples.
gFID ↓ | sFID ↓ | IS ↑ | |||
|---|---|---|---|---|---|
| Channels | Method | w/o CFG | CFG 1.5 | w/o CFG | w/o CFG |
| 128 | DC-AE | 13.45 | 3.22 | 6.40 | 106 |
| 128 | DC-AE 1.5 | 13.13 | 3.15 | 6.3 | 109 |
| 128 | FreqWarm | 15.61 | 3.53 | 6.92 | 100 |
| 128 | Spectrum Matching | 13.96 | 3.41 | 6.04 | 99 |
| 128 | APEX | 10.94 | 2.85 | 6.05 | 121 |
| 256 | DC-AE | 30.55 | 9.19 | 9.33 | 58 |
| 256 | DC-AE 1.5 | 22.77 | 7.11 | 7.5 | 69 |
| 256 | FreqWarm | 24.96 | 7.54 | 7.5 | 64 |
| 256 | Spectrum Matching | 29.35 | 8.28 | 7.44 | 57 |
| 256 | APEX | 14.82 | 3.15 | 7.42 | 108 |
| 512 | DC-AE | 54.25 | 26.10 | 13.31 | 31 |
| 512 | DC-AE 1.5 | 37.85 | 14.76 | 10.8 | 60 |
| 512 | FreqWarm | 46.02 | 20.80 | 12.1 | 45 |
| 512 | Spectrum Matching | 54.11 | 26.4 | 10.92 | 70 |
| 512 | APEX | 22.49 | 4.90 | 8.57 | 86 |
gFID ↓ | sFID ↓ | IS ↑ | |||
|---|---|---|---|---|---|
| Channels | Method | w/o CFG | CFG 1.5 | w/o CFG | w/o CFG |
| 512 | DC-AE | 41.01 | 14.44 | 11.91 | 49 |
| 512 | DC-AE 1.5 | 36.96 | 11.86 | 12.55 | 57 |
| 512 | FreqWarm | 39.54 | 13.57 | 11.75 | 50 |
| 512 | Spectrum Matching | 40.63 | 13.77 | 12.95 | 51 |
| 512 | APEX | 31.01 | 8.98 | 14.49 | 65 |
| 1024 | DC-AE | 115.74 | 89.47 | 32.97 | 13 |
| 1024 | DC-AE 1.5 | 84.92 | 51.47 | 28.12 | 26 |
| 1024 | FreqWarm | 109.09 | 79.51 | 28.15 | 14 |
| 1024 | Spectrum Matching | 107.74 | 73.71 | 34.33 | 15 |
| 1024 | APEX | 48.56 | 18.77 | 18.98 | 42 |
The Figure 8 and component ablations use SiT-B/1 at f64c128. Training FLOPs are matched within each comparison. Guided results use CFG 1.5. Unguided gFID is reported for the gap and clock-allocation comparisons.
gFID ↓ | sFID↓ | IS↑ | ||
|---|---|---|---|---|
Gap g | w/o CFG | CFG 1.5 | ||
| 0.00 | 50.01 | 21.08 | 8.64 | 87 |
| 0.10 | 40.10 | 13.73 | 7.75 | 120 |
| 0.25 | 31.38 | 8.52 | 7.32 | 160 |
| 0.50 | 33.48 | 9.35 | 10.00 | 166 |
| 0.75† | 45.40 | 16.66 | 14.34 | 130 |
† extends the main plot.gFID ↓ | sFID↓ | IS↑ | ||
|---|---|---|---|---|
pL0 | w/o CFG | CFG 1.5 | ||
2/3 | 35.45 | 10.87 | 7.09 | 137 |
| 0.9 | 31.38 | 8.52 | 7.32 | 160 |
| 1 | 30.77 | 8.12 | 6.78 | 163 |
g=0.25.| Channels | gFID ↓ CFG 1.5 | sFID↓ | IS↑ |
|---|---|---|---|
| 8 | 19.83 | 19.76 | 88 |
| 32 | 9.04 | 8.89 | 150 |
| 128 | 8.12 | 6.78 | 163 |
pL0=1 model.| Configuration | gFID ↓ CFG 1.5 | sFID↓ | IS↑ |
|---|---|---|---|
| (a) DC-AE / synchronous | 13.27 | 7.42 | 117 |
| (b) APEX AE / channel mean | 20.37 | 7.69 | 86 |
| (c) APEX AE / level mean | 21.08 | 8.64 | 87 |
| (d) APEX AE / prefix sampling | 17.83 | 10.50 | 109 |
| (e) Full-res. AE / stagger | 8.77 | 6.87 | 161 |
| (f) DC-AE 1.5 / stagger | 52.89 | 11.48 | 31 |
| (g) Full APEX | 8.12 | 6.78 | 163 |
This section describes how we produce each figure. Training and evaluation follow Section B; channel hierarchies and the staggered process are given in Sections C and D.
Show how APEX organizes a wide latent, denoises its levels asynchronously, and changes the reconstruction–generation trade-off.
Panel (a) is a schematic of an f128c512 latent: a 5122 image is encoded onto a 4× 4 grid of 16 tokens, and the 512 channels of each token are ordered from structure to detail. Panel (b) shows the corresponding staggered schedule on one global clock τ: each later level starts after a delay g, so it is denoised while earlier levels are already cleaner. Panel (c) is a schematic of the reconstruction–generation frontier relative to a flat latent; the points and curves are illustrative, not measured. The quantitative five-method comparison at f128c512 is Figure 5.
Show how APEX changes autoencoder training, diffusion training, and sampling.
The autoencoder panel encodes an image, samples a cumulative prefix, zeros the remaining channels, and decodes at full resolution. Reconstruction and target are then resized to the prefix’s target resolution before the loss. The example retains the first two of four levels. The training panel samples a global clock from q(τ) and maps it to local times with Equation 11. With g=0.25 and τ=0.38, the first two local times are 0.62 and 0.87; the third level has not started. Active groups are noised at these times, the unstarted group is zeroed, and one shared Transformer predicts their velocities. The inference panel shows the same three-level clock at the activation points: at τ=0 only L0 is active; at τ=g and τ=2g, L1 and L2 are initialized from Gaussian noise. Generation continues until every group is clean.
Show the image after each level reaches t=0.
We run the three-level f64c8–32–128 model and decode the completed prefix when each successive level finishes. The displayed prefixes contain 8, 32, and 128 channels. Within each example, all three images come from the same generation, and the inset shows the same crop. The difference visualizations in Section A.2 subtract successive decodes of these two examples.
Show how training examples are allocated along the global clock.
We use a three-level clock with g=0.25, so its endpoint is T=1.5. Uniform clock sampling has density 1/T=2/3 throughout the interval. For the structure-heavy example, we assign probability 0.9 to (0,1), where L0 is active, and probability 0.1 to (1,1.5). Sampling uniformly within each interval gives density 0.9 in the first interval and 0.2 in the second. The figure plots these two densities; it does not require training another model.
Compare generation as the latent becomes wider at fixed spatial compression and training compute.
We compare DC-AE, DC-AE 1.5, FreqWarm, Spectrum Matching, and APEX at f64c128, f64c256, f64c512, f128c512, and f128c1024. Autoencoders are trained on ImageNet with the corresponding method’s representation objective. For APEX, full-latent reconstruction quality is matched to the corresponding DC-AE model. We then train a SiT-XL/1 denoiser for each method and latent shape. The f64 runs use 500K steps at batch size 2,048, and the f128 runs use 1M steps at batch size 4,096, giving approximately the same cumulative training FLOPs.
We generate 50,000 class-conditional images per model with CFG 1.5 and compute gFID using the ADM protocol. Within each panel, the spatial grid stays fixed and only the channel count changes. The f64 panel uses 64 tokens and the f128 panel uses 16. Tables 6 and 7 give the numerical values, including unguided gFID at CFG 1.0 for every setting whose guided checkpoint was identified.
Test whether stronger spatial compression improves generation when both training and inference compute are limited.
We train DC-AE f32c32 for 250K steps at batch size 1,024, and DC-AE f64c128 and APEX f64c8–32–128 for 500K steps at batch size 2,048. These schedules match denoiser-training compute. We then keep each trained model fixed and change its number of sampling steps. Every NFE and guidance setting is evaluated using 50,000 generated images.
For panel (a), we plot guided gFID against relative denoiser inference FLOPs. One f32 evaluation costs approximately four f64 evaluations, so the 1× budget pairs 64 f32 NFEs with 250 f64 NFEs. The f32 curve uses 16, 32, 64, 128, and 250 NFEs. The f64 curves use 32, 64, 128, 250, 500, and 1,000 NFEs. At each inference budget, we sweep CFG in increments of 0.1 independently for each model, extending the sweep until gFID increases on both sides of the minimum. We report the best evaluated value.
For panel (b), we hold inference compute at 1× and plot gFID against the guidance scale. At this budget, the resulting sweeps span 1.2–1.5 for f32 and 1.3–1.6 for the f64 models. APEX and f32 select 1.4, while DC-AE f64 selects 1.5.
Show the information retained by early prefixes.
We encode the same image with DC-AE 1.5 and APEX. We retain a cumulative prefix, set all later channels to zero, and decode at full resolution. The DC-AE 1.5 examples use 16, 64, and 256 channels; APEX uses the resolution-aware hierarchy shown in the figure. We display the same image region at each level to compare the detail already present in the early prefixes. The 16-channel insets use the same crop on both rows.
Measure the trade-off between cleaner conditioning and overlap between levels’ denoising windows.
We keep the resolution-aware f64c8–32–128 autoencoder, SiT-B/1 backbone, training-clock allocation, and training FLOPs fixed, and train with g∈0,0.1,0.25,0.5. At g=0, every group has the same timestep, while the loss remains equally weighted across groups. For each gap, we sample over the complete global clock with the same NFE budget and CFG 1.5, then compute gFID from 50,000 images. Thus a larger gap changes the overlap and clock length without increasing the sampling budget. Table 8 also reports the g=0.75 extension.
Measure how concentrating training on structure generation affects quality.
We keep the same three-level autoencoder and fix g=0.25. We train three SiT-B/1 models at the same compute budget, changing only the clock-sampling distribution: uniform over the full clock, pL0=0.9, and pL0=1. For uniform sampling, pL0=2/3. The other two settings sample within the intervals using Equation 12. All three models are evaluated with the same sampling budget, CFG 1.5, and 50,000 generated images.
Test whether later levels improve generation beyond the structural prefix.
We use the same pL0=1 model for all three conditions. We stop the global clock at 1, 1.25, or 1.5, when the first one, two, or three levels have finished. In every case, we redistribute all 250 NFEs over the retained interval. We then zero the channels after the completed prefix and decode its 8, 32, or 128 channels with the same autoencoder. Each condition produces 50,000 images with CFG 1.5. The resulting gFIDs are 19.83, 9.04, and 8.12. No additional diffusion models are trained for this comparison.
Separate the effects of the representation, loss, and asynchronous training.
We train all seven variants with SiT-B/1 at f64c128 and the same cumulative training FLOPs. Row (a) uses the flat DC-AE latent, one shared timestep, and a loss averaged over all channels. Row (b) applies the same training procedure to the APEX autoencoder. Row (c) keeps the full latent and shared timestep, but averages the loss within each channel group and then equally across groups. Row (d) instead samples a cumulative prefix uniformly, zeros the suffix, and noises the retained groups at one shared timestep; its loss is averaged equally over those groups.
Row (e) keeps the 8–32–128 channel partition and APEX diffusion, but trains every autoencoder prefix against the full-resolution target. Row (f) uses the DC-AE 1.5 hierarchy with 16, 20, …, 128 channels and uniform cumulative-prefix sampling, with staggered local times on the retained groups. Row (g) uses the complete resolution-aware APEX hierarchy and diffusion procedure. We evaluate each model using the common generation protocol.
Show progressive generation and refinement differences.
For Figure 9, we sample from the staggered generator: eight examples with f64c8–32–128, four with f64c8–32–128–256, and four with f64c8–32–128–256–512. When each successive level reaches t=0, we decode the completed prefix with the shared autoencoder. These are generations, not reconstructions of real images.
For Figure 10, we subtract consecutive full-resolution prefix decodes before resizing or adding the inset crops. Both examples and both differences use the same display scale.
Figure 11 evaluates Equation 11 for three levels and g=0.25.
@misc{dinkevich2026apex, title = {APEX: Asynchronous Prefix Denoising for Extreme Compression}, author = {Dinkevich, David and Chiprut, Nisan and HaCohen, Yoav and Lischinski, Dani}, year = {2026}, eprint = {2610.12843}, doi = {10.48550/arXiv.2610.12843}, url = {https://ltx.io/research/apex-asynchronous-prefix-denoising-for-extreme-compression} }
Explore other publications from the LTX Research team