dinac3_96 / TECHNICAL_REPORT.md
data-archetype's picture
dinac3_96 v1.5
fc0f803 verified
|
Raw History Blame Contribute Delete
33.2 kB

dinac3_96 Technical Report

dinac3_96 is a deterministic semantic autoencoder for latent diffusion. A frozen DINOv3 ViT-B/16 behind a trainable patch embedding is read at all twelve blocks through one trainable linear projection, giving a 96-channel latent at stride 16: 32 semantic channels held to a fixed DINOv3 target and 64 free channels for reconstruction. A one-pass decoder (ViT trunk and dense convolutional up-path) is trained mainly by a DINOv3 feature loss.

Results in brief: see the README; protocols and full numbers in section 9.

Contents

  1. Overview
  2. Encoder
  3. The semantic target
  4. Decoder
  5. Why a pure DINO loss
  6. Losses
  7. Data
  8. Training
  9. Results
  10. References

1. Overview

RGB image [B, 3, H, W], H and W divisible by 16
  β†’ trainable copy of DINOv3-B's patch-16 embedding
  β†’ 12 frozen DINOv3-B blocks
  β†’ every block's patch tokens through DINOv3's final LayerNorm,
    standardized per channel, concatenated            [B, 12 Γ— 768, H/16, W/16]
  β†’ one trainable linear projection                    [B, 96, H/16, W/16]
      channels 0–63:  free (trained by reconstruction and VISReg)
      channels 64–95: semantic (held to a fixed projected sum of DINOv3 blocks)

latent [B, 96, H/16, W/16]
  β†’ 1Γ—1 projection to width 1152
  β†’ 4 ViT blocks at width 1152
  β†’ convolutional up-path: /16 β†’ /8 β†’ /4 β†’ /2 β†’ /1, three residual
    blocks per level
  β†’ RGB [B, 3, H, W]

Inputs are RGB in [-1, 1] of any size with height and width divisible by 16; DINOv3's ImageNet normalization is applied internally.

The design keeps three ideas from semantic_vae:

  • A pretrained DINO encoder adapted at its edges. Its transformer blocks are frozen; the patch embedding and the projection to the latent train.
  • A latent split into a DINO-derived part and a reconstruction part, similarly to our earlier iRDiffAE (half of its channels aligned to DINOv2-S, half free) and semantic_vae.
  • A decoder trained by a DINO feature loss. Like semantic_vae, we use an (almost) exclusively DINO-based loss. We found this critical to the best compromise between fast convergence of downstream diffusion models and good reconstruction (sections 5 and 6).

The decoder head is a slightly modernized VQGAN-like convolutional up-path behind a ViT trunk (section 4.2). Differences from semantic_vae:

  • one encoder network instead of two, halving the encoder's compute;
  • DINOv3-B instead of DINOv2-B;
  • all twelve blocks read through one projection;
  • semantic channels defined by a fixed projected sum of DINOv3-B's blocks with fitted block weights (semantic_vae projects final-block features).

2. Encoder

2.1 Frozen DINOv3-B with a trainable patch embedding

DINOv3 ViT-B/16 (LVD-1689M): 12 blocks of width 768. Blocks, class and register tokens and final LayerNorm are frozen. A trainable copy of the pretrained patch embedding replaces the original; gradients reach it through the frozen blocks. A second, unmodified DINOv3-B computes the targets of the semantic alignment and of the DINO reconstruction loss.

Why the patch embedding trains. Self-supervised encoders discard colour, intensity and fine-detail information that a decoder needs to recover. Training the patch embedding lets the model recover some of it. Because DINOv3 is a pre-norm residual transformer, this amounts to mixing pixel channels into DINO's residual stream while the frozen blocks' features mostly stay as they were (the alignment loss also pushes towards this).

2.2 All twelve blocks through one projection

Patch tokens hl∈R768h_l \in \mathbb{R}^{768} of each block l=0,…,11l = 0, \dots, 11, taken after DINOv3's final LayerNorm, are standardized with fixed statistics and projected:

h~l=hlβˆ’ΞΌlΟƒl,x=[h~0;… ;h~11]∈R9216,z=Wx+b∈R96. \tilde h_l = \frac{h_l - \mu_l}{\sigma_l}, \qquad x = [\tilde h_0; \dots; \tilde h_{11}] \in \mathbb{R}^{9216}, \qquad z = W x + b \in \mathbb{R}^{96}. ΞΌl,Οƒl\mu_l, \sigma_l are fixed, measured once on training images with the pretrained embedding. WW, bb and the patch embedding are the only trainable encoder parameters. WW is one unconstrained linear map. Its 32 semantic rows are initialized to the semantic target map of section 3, which factors into a single fixed projection shared by all twelve blocks and one scalar weight per block; during training they are free, and the alignment loss keeps them close to that map. The 64 free rows start random at unit output variance and are trained only by the reconstruction losses and VISReg.

  • Per-channel standardization. DINOv3-B's variance sits in a few massive-activation channels (block 2: the top 8 of 768 hold 88%, participation ratio 5.6; block 11: 11%, ratio 286). Unstandardized, the projection would mostly copy them.
  • All twelve blocks, trainable projection. Deep blocks carry semantics and are smooth; shallow blocks carry detail. Our previous latents, fixed fusions of all twelve blocks, gave good DiTs (FID 12.80) but capped reconstruction, since only the patch embedding could add pixel information. A trainable projection (32 semantic + 64 free) lifted reconstruction to 30–32 dB with a diffusion decoder, while the semantic channels kept their class content (probe 0.24, participation rank 29 of 32).

Participation rank. We measure how many channels of a group are effectively used by the participation ratio (βˆ‘iΞ»i)2/βˆ‘iΞ»i2(\sum_i \lambda_i)^2 / \sum_i \lambda_i^2 of the eigenvalues Ξ»i\lambda_i of the group's token covariance. It equals the number of channels when all eigenvalues are equal and 1 when a single one dominates.

2.3 Semantic and free channels

We chose 64 free channels over 32 for reconstruction. In our experiments a 32 + 32 latent generated only marginally better (FID 8.85 against 9.04) but reconstructed worse (ImageNet PSNR 26.24 against 28.16 dB, rFID 1.87 against 0.81).

2.4 Latent statistics and whitening

The latent is deterministic. Per-channel running means and variances, tracked during joint training and frozen with the encoder, ship with the model. DiTs train on whitened latents (zβˆ’ΞΌ)/Οƒ2+10βˆ’4(z - \mu) / \sqrt{\sigma^2 + 10^{-4}}; the decoder consumes the unwhitened latent (package interface in the README).

3. The semantic target

3.1 Why a fixed target

In our initial experiments we aligned the semantic channels to DINO through a learned objective. These latents scored FID 14.1 to 19.1, far from semantic_vae's 10.02, for a common reason: each objective is best satisfied by DINO's highest-variance directions, which are also its smoothest and carry relatively little class information.

  • Learned up-projection with MSE or cosine (latent β†’ 768 β†’ DINO features, as in DINAC-AE-D2): at fixed rank, MSE is minimized by the target's top principal subspace (Eckart–Young); cosine on the full features behaves the same.
  • CCA between a channel block and DINO features: scale-invariant, so the encoder picks the directions easiest to produce, in practice the same smooth modes (60% subspace overlap with the top 32 principal directions).
  • CKA on token similarities: dominated by the leading principal components of both representations.
  • MSE to the class token: constrains image-level content only, with no per-token structure.

On DINOv3-B's final block, the top 32 principal directions have spectral slope 2.25 (section 3.2) and class probe 0.167, against 1.84 and 0.291 for 32 class-discriminant directions.

A fixed target of the same width removes this choice. Each of the 32 semantic channels regresses by per-channel MSE onto one channel of a fixed 32-channel map of frozen DINO features, with no learned projection in between, so the map fully specifies which directions the latent encodes. Every target channel has unit variance, so each weighs equally in the loss. Section 3.2 gives the map.

3.2 From a random projection to fitted layer weights

The target is built in two steps; only the second has free parameters.

Step 1: one channel projection, shared by all blocks. A single Gaussian random matrix P∈R32Γ—768P \in \mathbb{R}^{32 \times 768}, drawn once (seed 0) and kept fixed, maps each of the 12 standardized blocks to 32 channels, which are standardized again:

yl=Ph~lβˆ’mlsl∈R32,l=0,…,11. y_l = \frac{P \tilde h_l - m_l}{s_l} \in \mathbb{R}^{32}, \qquad l = 0, \dots, 11.

Step 2: scalar block weights. The 12 projected blocks are mixed channel by channel with one scalar weight wlw_l per block (summing to 1) and rescaled to unit variance, with CcC_c the 12 Γ— 12 cross-block correlation of channel cc:

tc=βˆ‘lwl yl,cw⊀Cc w,c=1,…,32. t_c = \frac{\sum_l w_l\, y_{l,c}}{\sqrt{w^\top C_c\, w}}, \qquad c = 1, \dots, 32.

The spectral slope Ξ±\alpha is the exponent of a channel's radially averaged power spectrum, S(f)∝fβˆ’Ξ±S(f) \propto f^{-\alpha} (larger is smoother).

Why a Gaussian random map. Write a standardized block's token covariance as Ξ£=βˆ‘kΞ»kukuk⊀\Sigma = \sum_k \lambda_k u_k u_k^\top. PP has i.i.d. N(0,1)\mathcal{N}(0, 1) entries, so its distribution is rotation-invariant: PUPU is distributed as PP for any orthogonal UU, and it favours no direction. Each output channel pi⊀h~p_i^\top \tilde h has expected variance E[pi⊀Σpi]=βˆ‘kΞ»k\mathbb{E}[p_i^\top \Sigma p_i] = \sum_k \lambda_k: every principal mode contributes in proportion to its variance, whereas a top-32 PCA projection keeps modes 1 to 32 whole and drops all others.

Choosing the block weights. Equal block weights, wl=1/12w_l = 1/12, give a latent that is too rough, with little class information (probe 0.123). We fitted the 12 block weights to maximize an ImageNet class probe (ridge classifier on image-mean tokens) subject to median α≀1.10\alpha \le 1.10 and 90th percentile ≀1.20\le 1.20 at 256 px and median ≀1.40\le 1.40 at 512 px, keeping the spectrum centred near 1.0 at the 256–384 px training resolutions (semantic_vae: median 1.09 at 256 px, probe 0.207). Search: an evolution strategy over log-weights, selected on one half of the held-out images and reported on the other (0.249 / 0.245).

The fit puts 0.53 on block 11 and 0.26 and 0.15 on blocks 0 and 1; every other block gets 0.02 or less. Block 11 carries the class content but alone is too smooth, with Ξ±\alpha of 1.64; the shallow blocks roughen it, while middle blocks would add smoothness without class. Seven of eight random restarts converged to the same pattern (block 11 at 0.45–0.56 plus blocks 0–2).

32-channel candidate (DINOv3-B unless noted) Ξ±\alpha at 256 px, p10 / median / p90 Ξ±\alpha at 512 px, median class probe participation rank
semantic_vae semantic block (DINOv2-B) 0.99 / 1.09 / 1.19 1.39 0.207 24.0
equal block weights, all 12 blocks 0.78 / 0.88 / 0.96 1.20 0.123 27.8
equal block weights, last 6 blocks 1.03 / 1.07 / 1.15 1.43 0.154 27.2
fitted block weights (probe projection) 1.00 / 1.09 / 1.16 1.40 0.247 29.2
fitted block weights, as shipped (seed-0 Gaussian PP) 1.00 / 1.04 / 1.14 1.39 0.241 29.0

3.3 Training the target in

The target is computed without gradient by the unmodified DINOv3-B on the same image, projected by PP and summed with the fitted block weights (section 3.2). The encoder's trainable projection WW is initialized with the same weights: its 32 semantic rows are this composed linear map of the standardized blocks. With the trainable patch embedding starting from its pretrained values, the semantic channels equal their target at step 0. Training then updates the patch embedding and WW, and the alignment loss, a per-token, per-channel MSE between the 32 semantic channels and the target, holds them close to it.

We weighted the alignment loss so that, on the semantic rows of WW, its gradient is at least ten times that of the reconstruction losses, making sure the semantic target dominates the pull of reconstruction.

4. Decoder

Deterministic: one forward pass, no noisy-image input.

4.1 Trunk

A 1Γ—1 projection maps the 96 channels to width 1152, one token per 16 Γ— 16 patch, followed by four ViT blocks: RMSNorm before and after the attention and MLP branches, per-head query/key RMSNorm, axial 2D RoPE on patch indices, 18 heads of width 64, GELU MLP of ratio 4, global attention. In our experiments an 8-block ViT trunk reconstructed 0.5–0.6 dB better than our previous FCDM trunk at matched steps, and extrapolated better (27.9 dB at 256 px to 31.2 dB at 1024 px on whole photos).

4.2 Convolutional up-path head

Motivation. Decoding each fixed 16 Γ— 16 patch from its token, as in our previous VAEs, did not give sharp enough detail, nor the right prior for good reconstruction from noisy DiT latents. We therefore use a slightly modernized VQGAN-like decoder: the f16 up-path (levels, widths, three residual blocks per level) with per-position RMSNorm and folded upsampling (below), and our ViT trunk in place of its /16 section (input convolution, mid block and three residual-plus-attention blocks, about 5% of its compute at 256 px).

trunk tokens [1152, H/16, W/16]
  β†’ RMSNorm β†’ 1Γ—1 conv 1152 β†’ 512 β†’ upsample Γ—2 (512)              to /8
  /8   ResBlock 512 β†’ 256, ResBlock 256, ResBlock 256, upsample Γ—2  to /4
  /4   ResBlock 256 Γ— 3, upsample Γ—2                               to /2
  /2   ResBlock 256 β†’ 128, ResBlock 128, ResBlock 128, upsample Γ—2  to /1
  /1   ResBlock 128 Γ— 3
  β†’ RMSNorm (affine) β†’ SiLU β†’ 3Γ—3 conv 128 β†’ 3 (zero-initialized) β†’ RGB

Residual block (VQGAN ResnetBlock, normalization replaced):

h=conv⁑3Γ—3(SiLU⁑(rms⁑(x))),h=conv⁑3Γ—3(SiLU⁑(rms⁑(h))),out=shortcut⁑(x)+h, h = \operatorname{conv}_{3\times3}\bigl(\operatorname{SiLU}(\operatorname{rms}(x))\bigr),\quad h = \operatorname{conv}_{3\times3}\bigl(\operatorname{SiLU}(\operatorname{rms}(h))\bigr),\quad \text{out} = \operatorname{shortcut}(x) + h,

with a 1Γ—1 convolution shortcut when the width changes and the identity otherwise. Each block's second convolution and the output convolution are zero-initialized, so a fresh block equals its shortcut and a fresh head outputs zeros.

  • Per-position RMSNorm instead of GroupNorm. Each rms normalizes one position's channel vector (learned per-channel scale and shift) and never reads other positions or images. GroupNorm's image-wide statistics make the output depend on image size and distant regions, break tiled decoding, need a reduction that does not fuse, and run in fp32 under autocast. Wan 2.1, KVAE and DC-AE also use RMSNorm in some or all stages.
  • Upsampling. Nearest Γ—2 then a 3 Γ— 3 convolution, as in the FLUX and semantic_vae decoders (no transposed-convolution checkerboards). Computed exactly as a 4 Γ— 4, stride-2 transposed convolution with a kernel folded from the 3 Γ— 3 weights: 16 instead of 36 multiply-adds per channel pair and no 4Γ—-size intermediate.
  • Full resolution kept. In a diffusion-decoder comparison, ending at /2 with a pixel-shuffle readout trained about twice as fast but lost fine detail (lowest-noise validation loss 36% higher, visibly worse samples).

Parameters.

part parameters trained
DINOv3-B backbone (12 blocks, class and 4 register tokens, final norm) 85.05M frozen
patch embedding (trainable copy) 0.59M yes
layer projection (9216 β†’ 96, with bias) 0.88M yes
decoder trunk (1Γ—1 latent projection and 4 ViT blocks at width 1152) 63.85M yes
convolutional up-path head 14.05M yes
total 164.43M (79.38M trained)

Encoder 86.53M (1.48M trained), decoder 77.90M.

Resolution extrapolation test. The decoder accepts any multiple of 16, including sizes above its 1024-px training resolution. On 12 Pexels photos it scores 28.55 dB PSNR at 512-px area, 29.72 dB at 1024-px area and 31.54 dB at stored size (3.9–4.2 megapixels). The 4-megapixel reconstruction downscaled 2Γ— scores 35.42 dB against the 1024-px input, above the native 1024-px decode on all 12 images. 2Γ— crops show no seams, swirls or tiling. Rows and columns on 16-px patch boundaries carry 6–12% more error; a 32-px border ring is 2–3 dB worse.

5. Why a pure DINO loss

Compared with diffusion decoders and diffusion + DINO decoders:

  1. Smoother latents. Diffusion decoders push detail into the latent, which the DiT then has to generate. From the same encoder at matched steps (10k), the DINO-loss latent had median spectral slope 1.04 against 0.97 (5th percentile 0.32 against 0.22) and 2.3 dB lower PSNR, but its DINO loss at 10k (0.086) was already below the diffusion decoder's at 85k (0.104). Every DINO-loss latent we benchmarked beat every diffusion-decoder latent on FID, MIND and Monge-DINO.
  2. Robust to the DiT's high-frequency errors. Changing the DiT's sampler moved Monge-DINO by 1.5–6.3 with our diffusion decoders and by 0.4, within one standard error, with a DINO-loss decoder.
  3. One step instead of about four (our diffusion decoders used 4 Euler steps), with more visible detail in our comparisons, including at 1024 px.

Trade-off. At the same latent width, diffusion decoders reach higher PSNR (2.3 dB in the matched 10k-step comparison of point 1) and have fewer deterministic artifacts: DINO-loss textures can swirl, and text is sometimes distorted.

6. Losses

Weights are normalized to DINO = 1. Dion and AdamW are invariant to the overall loss scale, so only the ratios matter.

term definition weight phases
DINO reconstruction MSE between frozen DINOv3-B features of the reconstruction and of the input, at all 12 blocks (each through DINOv3's final LayerNorm), averaged over blocks, tokens (patch and class) and channels 1 all
pixel MSE MSE of RGB in [-1, 1] 0.380 all
blurred MSE MSE between both images after a Gaussian blur with Οƒ = 5 px 0.505 all
semantic alignment per-token MSE of the 32 semantic channels to the fixed target (section 3) 57.7 joint
VISReg VISReg on all 96 channels: centring, unit scale and a Gaussian-quantile shape term on 256 random projections, equal weights 0.0202 joint

L=LDINO+0.380 Lpix+0.505 Lblur+57.7 Lalign+0.0202 LVISReg \mathcal{L} = \mathcal{L}_{\text{DINO}} + 0.380\,\mathcal{L}_{\text{pix}} + 0.505\,\mathcal{L}_{\text{blur}} + 57.7\,\mathcal{L}_{\text{align}} + 0.0202\,\mathcal{L}_{\text{VISReg}}

No diffusion, KL, adversarial or LPIPS loss. The DINO loss is not standardized per block: in our experiments, blocks 2–6 carried 70% of its value and block 11 under 1%, following feature scale.

6.1 Why VISReg

VISReg has a centring term on channel means, a scale term on channel standard deviations and a shape term matching the sorted values of 256 random 1-D projections to standard-normal quantiles, all computed across the batch at each spatial position, as in semantic_vae (its model card names SIGReg, but its released training code uses VISReg).

  • Normalization. Reconstruction is blind to an invertible per-channel affine change of a deterministic latent, so nothing else fixes the free channels' scale and offset. The centring term is their only mean anchor: in our experiments, when it was outweighed by an alignment loss on a shared encoder, the detail channels' means drifted by up to 3 standard deviations within a few thousand steps.
  • Anti-collapse. Projections are taken after per-channel standardization (detached std), so the projection term acts on the correlation matrix RR: unit-variance random projections ask for u⊀Ruβ‰ˆ1u^\top R u \approx 1 for random unit uu, pushing RR weakly toward II. This flattens the spectrum and raises participation rank, penalizing a free block folded onto a few modes. Quantile matching also constrains higher moments, but in our experiments 91% of the quantile term was this projected-scale mismatch.

In our experiments, weakening VISReg or removing its projection term let the free channels collapse: at 1/50 of the usual weight their participation rank fell to 11 of 64 (33 at the usual weight), and a latent trained without the projection term collapsed to 13 of 96.

We also tested a variant that keeps the centring and scale terms but replaces quantile matching by matching only each projection's standard deviation to 1. With z^\hat z the per-channel-standardized latent and u1,…,uKu_1, \dots, u_K random unit directions,

Lproj=1Kβˆ‘k=1K(std⁑(uk⊀z^)βˆ’1)2=1Kβˆ‘k=1K(uk⊀R ukβˆ’1)2, \mathcal{L}_{\text{proj}} = \frac{1}{K} \sum_{k=1}^{K} \bigl(\operatorname{std}(u_k^\top \hat z) - 1\bigr)^2 = \frac{1}{K} \sum_{k=1}^{K} \bigl(\sqrt{u_k^\top R\, u_k} - 1\bigr)^2,

which acts on the correlation matrix RR alone, without higher moments. It performed similarly to VISReg, confirming the mechanism above. We nevertheless kept VISReg, which is cheap and more standard.

6.2 How the weights were set

Weights were set from per-term gradient norms, each term back-propagated separately at a checkpoint over several image draws. Loss values are a poor guide: in our experiments the blurred MSE had a weighted loss of only 2.4e-4 but the largest decoder gradient, 3–4 times DINO's.

  • Pixel and blurred MSE: each a tenth of DINO's gradient norm on the decoder (both had cosine +0.15 to +0.33 with DINO's gradient); on this model's convolutional head at 2k steps they measured 0.112 and 0.116. The pixel MSE acts as a light regulariser on top of the DINO loss; the blurred term is there because DINO losses are nearly blind to colour.
  • Alignment (57.7): the ten-times rule of section 3.3.
  • VISReg (0.0202): set mostly empirically from the latent's statistics and not extensively ablated. We also tested a roughness penalty on the free channels, a hinge keeping each channel's neighbour RΒ² (how well a token is predicted from its neighbours) above a threshold, and found it unnecessary with the DINO loss.

7. Data

  • Sources. About 14 million images, mostly photographs, plus book covers, a few text-heavy datasets and 1% synthetic rendered text samples (single characters and simple words). A mix of public and licensed or curated datasets; no training images are redistributed with the model.
  • Aspect-ratio buckets from 1:4 to 4:1; one aspect ratio and resolution per batch.
  • Downsampling only. Antialiased bicubic resizing to the bucket's shape at the target area (e.g. 896 Γ— 1152 β†’ 224 Γ— 288 at 256 px); images smaller than a target are never upsampled.
  • Resolution mixes. Base stage: 256-px area for 90% of batches, 384 px for 10%. Five-resolution stage: 256 / 384 / 512 / 768 / 1024 px at 20% each (256 as square crops).

8. Training

Optimizer. Weight matrices use Dion / Dion3 orthogonalized updates with NorMuon normalization, via our single-GPU dionw, with the update RMS matched to AdamW's so one learning rate serves both. Everything else uses AdamW (Ξ² = (0.9, 0.98)); no weight decay. bf16 AMP, gradient clipping at 5, EMA with decay 0.9995; the released weights are the EMA.

stage resolutions batch learning rate steps
base 256-px area (90%), 384 px (10%) 128 1e-4 about 150k
five resolutions 256 to 1024 px, 20% each 32 2.5e-5 about 25k
1.5 decoder fine-tune 256 to 1024 px, 20% each 32 2.5e-5, decayed to 2.5e-6 about 5.5k

The free encoder weights (patch embedding and output projection) trained jointly with the decoder for the first 52k steps and were then frozen: the latent had stabilised, and freezing saves the encoder's backward pass.

Version 1.5. The 1.0 decoder left a faint dot at a fixed position of every 16-px token, visible on flat colours. The DINOv3 feature loss reads the image on that same 16-px grid and did not penalise it. For 1.5 we fine-tuned the decoder alone, from the 1.0 weights, for about 5.5k steps at the five resolutions with an LPIPS-VGG loss added to the 1.0 losses at one to two times the DINOv3 loss's gradient. LPIPS-VGG is convolutional and penalises the pattern. On flat colours the pattern is about 3.5 times weaker. The encoder, the latent and its statistics are unchanged.

9. Results

9.1 Generation benchmark

We judge a latent by a DiT trained on it: in our experiments, static latent statistics (spectral slope, neighbour RΒ², class probes, participation rank, PSNR) did not predict DiT quality.

Protocol. Our class-conditional, mixed-resolution ImageNet benchmark.[^fid]

  • Generated set: 10,000 images, 10 per class: 9 at 256-px area and 1 at 384 px, in four aspect-ratio families (288 Γ— 224, 288 Γ— 192, 224 Γ— 288 and 192 Γ— 288 at 256 px; 416 Γ— 320, 448 Γ— 288, 320 Γ— 416 and 288 Γ— 448 at 384 px) with quotas from their training-data frequency. Every model uses the same class, shape and seed manifest.
  • Reference set: 810,000 real ImageNet training images (729,000 at 256 px and 81,000 at 384 px, 81 times each shape's generated count), preprocessed as in training.
  • Metrics (lower is better): FID on Inception pool3 features; MIND (Monge Inception Distance), a sliced optimal-transport distance on the same features (1,024 fixed random projections); Monge-DINO, the same estimator on final-normalized DINOv3-B class tokens of 224-px centre crops. The Monge Β± values reflect only the randomness of the projections.
  • Guidance. Path-drop guidance (PDG) contrasts the full model with the same model skipping its middle blocks, both class-conditioned; no classifier-free guidance.

The DiT. A class-conditional flow-matching transformer with SPRINT token routing, 190.43M parameters:

setting value
layers 16 at width 896: 2 dense prefix, 12 routed middle, 2 dense suffix
attention 14 heads of width 64; additive 2D sin-cos positions and axial 2D RoPE
MLP GELU, ratio 4
class conditioning 4 learned tokens of width 256 per class, cross-attention (4 heads of width 64) in every layer; class dropped for 10% of samples
time conditioning AdaLN per layer from a 256-wide time embedding
input / output one token per latent cell (96 channels), latents whitened per channel with the VAE's statistics; velocity prediction
SPRINT mix, per sample 80%: middle layers see one random token per 2 Γ— 2 group (75% dropped); 10%: full grid; 10%: middle layers skipped. Middle outputs are scattered back, concatenated with the prefix output, scaled per channel by the timestep and projected back to width 896
objective flow matching, MSE on velocity, Beta(2, 2) timesteps with a resolution-dependent log-SNR shift relative to 256 px
data ImageNet-1k (1.24M training images), aspect-ratio buckets, 90% at 256-px area, 10% at 384 px
optimizer AdamW, learning rate 1e-4, Ξ² = (0.9, 0.98), weight decay 0, constant after 4,000 warmup steps, gradient clipping at 1
batch, steps 256, 100,000
precision bf16 AMP
EMA 2,000-step half-life (decay β‰ˆ 0.99965), from step 20,000; EMA weights used

The latent has been fixed since the joint phase, so the released decoder decodes exactly the latent the DiT learned.

semantic_vae's DiT uses the same recipe, up to minor architectural details.

Scores. For each model: 50 NFEs, PDG 2.5–4.0, best settings kept. The DiT's samples were decoded by the released convolutional decoder. Bold marks the better value in each column.

model FID ↓ MIND ↓ Monge-DINOv3-B ↓
dinac3_96 9.04 8.29 Β± 0.19 10.92 Β± 0.46
semantic_vae 10.02 7.42 Β± 0.20 15.94 Β± 0.66

Monge-DINO uses DINOv3-B features, as does the decoder's training loss, so it is not independent of it; FID and MIND, on Inception features, are.

Blind comparison. Our blind pairwise comparison of the two models' generations put them on equal footing.

Limits. One DiT seed per row; the benchmark's own noise has not been measured. We treat FID differences of 0.1 to 0.2 as noise.

9.2 Reconstruction

The main tables are in the README; this section adds detail.

10,000 ImageNet images. Originals preprocessed like the generation benchmark's reference images. PSNR spread and the Monge uncertainties (from the projections):

model rMIND rMonge-DINOv3-B PSNR median P5 P95
dinac3_96 1.5 0.213 Β± 0.004 1.197 Β± 0.043 28.91 22.34 36.19
dinac3_96 1.0 0.178 Β± 0.003 1.380 Β± 0.050 28.72 22.24 35.85
semantic_vae 0.961 Β± 0.035 6.705 Β± 0.244 25.57 19.52 32.09

2k PSNR set. 1,330 Pexels photos, 669 book covers and one printer calibration test image, centre-cropped to a multiple of 16 at stored size (mostly about 1 megapixel). PSNR between the float [-1, 1] input and the unclamped reconstruction, peak 2, the DINAC-AE-D2 card's protocol. The DINAC-AE-D2 and FLUX.2 rows are quoted from the DINAC-AE-D2 card; our re-run of DINAC-AE-D2 reproduced it within 0.02 dB. The FLUX.2 row most likely used a clamped reconstruction (inferred from its value); clamped, dinac3_96 1.5 scores 32.47 dB.

By resolution. Each 2k image resized down to an aspect-ratio bucket of the given area; images too small are skipped, so subsets differ between rows (compare within a row). Mean PSNR in dB:

bucket images dinac3_96 1.5 dinac3_96 1.0 semantic_vae DINAC-AE-D2
256 2,000 29.52 29.32 25.52 32.69
512 1,331 32.85 32.58 28.56 35.81
768 1,331 34.16 33.85 29.47 37.21
1024 1,124 34.40 34.07 29.85 37.43

PSNR. A decoder trained mainly by a DINO feature loss trades some pixel accuracy for perceptual fidelity: on the 2k set dinac3_96 1.5 is 3.1 dB below the pixel-trained DINAC-AE-D2 and about 4 dB below FLUX.2 (the trade-off of section 5). Text is the visible weakness: glyphs are sometimes distorted, plausibly because the loss encodes text style more than glyph identity.

References

  1. well9472. semantic_vae. Model and training notes.
  2. O. SimΓ©oni et al. DINOv3. arXiv:2508.10104, 2025.
  3. Y. Yu, W. Xiong, W. Nie et al. PixelDiT: Pixel Diffusion Transformers for Image Generation. arXiv:2511.20645, 2025.
  4. Kwon et al. Reviving ConvNeXt for Efficient Convolutional Diffusion Models (FCDM). arXiv:2603.09408, 2026.
  5. K. Ahn, B. Xu, N. Abreu, Y. Fan et al. Dion: Distributed Orthonormalized Updates. arXiv:2504.05295, 2025.
  6. N. Amsel, J. Zhang, K. Ahn, A. Naeimi et al. Dion3: Full-Stack Orthogonal Updates. arXiv:2608.11612, 2026.
  7. Z. Li, L. Liu, C. Liang, W. Chen et al. NorMuon: Making Muon more efficient and scalable. arXiv:2510.05491, 2025.
  8. dionw: single-GPU Dion with fused AdamW.
  9. Wu, Balestriero and Levine. VISReg: Variance-Invariance-Sketching Regularization for JEPA training. arXiv:2606.02572, 2026.
  10. Park et al. Sprint: Sparse-Dense Residual Fusion for Efficient Diffusion Transformers. arXiv:2510.21986, 2025.
  11. Berthet et al. MIND: Monge Inception Distance for Generative Models Evaluation. arXiv:2605.06797, 2026.
  12. M. Heusel et al. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium (FID). arXiv:1706.08500, 2017.
  13. P. Esser, R. Rombach, B. Ommer. Taming Transformers for High-Resolution Image Synthesis (VQGAN). arXiv:2012.09841, 2020.
  14. Data Archetype. DINAC-AE-D2.
  15. R. Zhang, P. Isola, A. A. Efros, E. Shechtman, O. Wang. The Unreasonable Effectiveness of Deep Features as a Perceptual Metric (LPIPS). arXiv:1801.03924, 2018.

[^fid]: Papers usually report FID on 50,000 square samples at a single resolution, so our numbers are not directly comparable with published ones.