> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# 图像生成器里看不见的部件：Kandinsky 的开源 KVAE 3.0 如何训练？
- URL: https://globalfeed.ai/zh/tu-xiang-sheng-cheng-qi-li-kan-bu-jian-de-bu-jian-kandinsky-de-kai-yuan-kvae-3-0-ru-he-xun-lian/
- Published: 2026-11-29T18:27:29.000Z
- Updated: 2026-11-29T18:27:29.000Z
- Description: Kandinsky Lab 以 MIT 许可发布视频、图像和音频三款 VAE，通过与 DINOv2、V-JEPA 对齐潜空间提升生成效果。
- Author: GlobalFeed Editor
- Tags: KVAE, Kandinsky, dil-zh, elle

AI 生成图像或视频时，大部分工作并不在像素上完成：图像先被压缩到紧凑的潜空间，生成模型在其中工作，再由解码器还原为像素。负责压缩和还原的部件就是 VAE（变分自编码器）。Kandinsky Lab 于 11 月 26 日在 Hugging Face 以 MIT 许可发布了三款新 VAE：视频用的 [KVAE-3D-3.0](https://huggingface.co/kandinskylab/KVAE-3D-3.0?ref=globalfeed.ai)、图像用的 [KVAE-2D-3.0](https://huggingface.co/kandinskylab/KVAE-2D-3.0?ref=globalfeed.ai) 和立体声音频用的 KVAE-Audio-Stereo。

## 如何训练

图像模型的核心是“潜空间对齐”：训练时用一个基于 SiT-XL/2 的临时探针，从加噪的潜变量预测冻结的 DINOv2 特征，迫使潜变量在噪声下依然保留语义，训练后探针被丢弃。第一阶段在 256×256 裁剪图上训练 60 万步，第二阶段冻结编码器，用像素、感知和对抗损失在 512×512 上精调解码器。视频模型增加一级下采样和上采样，将空间压缩从 16 倍提高到 32 倍，并与 V-JEPA 特征对齐。音频模型对齐音质预测模型的特征，并使用左右和中侧声道的频谱损失。

## 结果与使用

KVAE-2D-3.0 只有 8560 万参数，比 2.1 版小 61%，在 COCO 上 PSNR 为 32.18 dB，高于 FLUX.2 VAE 的 31.37 dB，但 LPIPS 方面 FLUX.2 更好。视频方面，人类评测中 56.6% 的视觉质量偏好选择 KVAE-3D-3.0 而非 MiniMax-H3 的 VAE；语音样本中 98% 的听众偏好 KVAE 音频模型。以上均为团队自测，3.0 技术报告即将发布。代码在 [GitHub](https://github.com/kandinskylab/kvae?ref=globalfeed.ai) 上，可通过 `KVAEImage.from_pretrained("kandinskylab/KVAE-2D-3.0")` 加载。

来源： [KVAE-3D-3.0 模型卡](https://huggingface.co/kandinskylab/KVAE-3D-3.0?ref=globalfeed.ai), [KVAE-2D-3.0 模型卡](https://huggingface.co/kandinskylab/KVAE-2D-3.0?ref=globalfeed.ai), [Kandinsky Lab 项目页](https://kandinskylab.ai/en/models/k-vae-3/?ref=globalfeed.ai), [GitHub 仓库](https://github.com/kandinskylab/kvae?ref=globalfeed.ai)