Skip to content

KVAE-3.0: aligning continuous multimodal latents

optionalextendedfrontierblogrubric 7/122026 · ~20 min

Kandinsky Lab

Read first: Neural Machine Translation of Rare Words with Subword Units · Training Compute-Optimal Large Language Models

Status

Intuition. A generative model does not need a latent representation that merely reconstructs pixels well. It needs one in which useful semantic structure is accessible. KVAE-3.0 uses feature-alignment supervision to shape the encoder while keeping the deployed autoencoder compact.

Source: Kandinsky Lab’s November 27, 2026 HF blog, code, and weights. Here “tokenizer” means a continuous image/video/audio VAE, not BPE or a discrete text vocabulary.

First read: focus on what alignment trains, the latent-count example, and metrics that disagree. Skip modality-specific implementation details.

For images, an eight-block SiT-shaped probe predicts frozen DINOv2 patch features from noisy latents. Gradients shape the VAE encoder; the probe is discarded after training. The blog contrasts this with a prior REPA-E full velocity-loss setup. Do not infer that every auxiliary-training detail is identical to other representation-alignment recipes.

The image encoder has 34.8M parameters and decoder 50.8M, totaling 85.6M, versus 218.4M for KVAE-2.1. Spatial reduction is 8×8, with 32 latent channels.

Compression depends on positions and channels

Section titled “Compression depends on positions and channels”

Video uses V-JEPA feature alignment and changes compression from 4×16×16, 64 channels to 4×32×32, 128 channels.

For the same video, ignoring boundary padding, latent positions fall to one quarter while channel width doubles:

new scalar countold scalar count=4⋅16⋅164⋅32⋅3212864=12.\frac{\text{new scalar count}}{\text{old scalar count}} =\frac{4\cdot16\cdot16}{4\cdot32\cdot32}\frac{128}{64} =\frac12.

Thus doubling channels still halves the number of latent scalar values. In the downstream video comparison, patch sizes also differ (1×1 versus 2×2); do not attribute all results to alignment alone.

The stereo audio VAE accepts 48 kHz audio and uses strides 2, 3, 4, 5, 8. Their product is 960, yielding 50 latent frames per second. Stereo channels are modeled jointly, not by concatenating two independently encoded mono streams.

Reconstruction and generation are different tests

Section titled “Reconstruction and generation are different tests”

All numbers are lab-reported:

COCO val2017 reconstructionKVAE-3FLUX.2Preferred direction
PSNR32.1831.37Higher
SSIM0.90700.8924Higher
LPIPS0.02580.0167Lower

KVAE-3 does not win every reconstruction metric: FLUX.2 has better LPIPS.

With matched 2B Kandinsky 5 DiTs trained for 200K steps, FD-CLIP is 12.72 for KVAE-3, 13.05 for FLUX.2 and 13.30 for KVAE-2.1. This is not standard FID. Tie-adjusted human preference is 52.5% on prompt following, with visual and semantic preferences close to 50%; the evidence supports a modest, setting-specific advantage, not a sweeping quality lead.

  • BPE is the contrasting discrete text-tokenization problem.
  • Chinchilla motivates separating representation cost from downstream training budget.
  • GigaChat multimodal inputs shows a different use of visual/audio compression: conditioning a text-output assistant rather than decoding generated media.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Mechanism

    KVAE-3 trains an eight-block alignment probe to predict frozen DINOv2 patch features from noisy image latents, then discards the probe. Explain how this can shape the retained encoder, and why reconstruction quality alone cannot establish downstream generative quality.

    What a strong answer covers
    • The target feature network is frozen; the probe loss sends gradients into the VAE encoder through its latent representation.
    • Removing the probe at inference does not undo the learned representation, but it removes the auxiliary prediction computation.
    • Pixel distortion, perceptual reconstruction and usefulness to a diffusion model are different objectives and can trade off.
    • A matched downstream generator and training budget are needed to isolate tokenizer effects.
  2. Derive / compute

    A video VAE changes compression from 4×16×16 with 64 latent channels to 4×32×32 with 128 channels. Ignoring boundary rounding, derive the ratio of latent positions and scalar values for the same video. Why does doubling channels not imply a larger latent tensor?

    What a strong answer covers
    • The temporal factor is unchanged; spatial latent positions fall by (16/32)² = 1/4.
    • Channels double, so scalar values fall to 1/4 × 2 = 1/2 of the previous tensor.
    • Latent positions and scalar width affect different transformer and projection costs; tensor size alone does not predict runtime.
  3. Critique

    KVAE-3 reports COCO PSNR 32.18 versus FLUX.2 31.37, but LPIPS 0.0258 versus FLUX.2 0.0167. It also reports generation FD-CLIP 12.72 versus 13.05. Explain why declaring an unconditional reconstruction or generation winner from these rows is misleading.

    What a strong answer covers
    • Higher PSNR favors KVAE-3, while lower LPIPS favors FLUX.2; the reconstruction metrics disagree.
    • FD-CLIP is a CLIP-feature distribution distance, not standard Inception-feature FID.
    • The generation comparison uses matched 2B Kandinsky 5 DiTs at 200K steps; it supports that setting, not all generators.
    • Report uncertainty, human preference and compression/configuration differences rather than selecting only favorable metrics.

Done with this page?

Status