arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.17760cs.CVcs.AI
收藏

CODA:将连续 VAE 改造用于离散分词

CODA: Repurposing Continuous VAEs for Discrete Tokenization

Tsinghua University(清华大学);Renmin University(中国人民大学);Lenovo Research, AI Lab(联想研究院人工智能实验室)

Zeyu Liu, Zanlin Ni, Yeguo Hua, Xin Deng, Xiao Ma, Cheng Zhong, Gao Huang

AI总结:

本文提出 CODA 框架,将预训练连续 VAE 经离散化适配为离散视觉分词器,以更低训练成本实现稳定训练、100% 码本利用率和优异重建性能。

摘要:

离散视觉分词器将图像转换为一系列 token,从而实现类似于语言模型的、基于 token 的视觉生成。然而,这一过程本身具有挑战性,因为它既需要将视觉信号压缩为紧凑表示,又需要将其离散化为固定的代码集合。传统离散分词器通常联合学习这两项任务,往往导致训练不稳定、码本利用率低以及重建质量受限。本文提出 CODA(COntinuous-to-Discrete Adaptation,连续到离散适配)框架,将压缩与离散化解耦。CODA 并非从头训练离散分词器,而是通过精心设计的离散化过程,将现成的、已经针对感知压缩进行优化的连续 VAE 改造为离散分词器。通过主要聚焦于离散化,CODA 在保留连续 VAE 强大视觉保真度的同时,确保稳定且高效的训练。实验上,在 ImageNet 256×256 基准上,与标准 VQGAN 相比,我们的方法训练预算减少 6 倍,实现了 100% 的出色码本利用率,并在 8 倍和 16 倍压缩下分别取得 0.43 和 1.34 的显著重建 FID(rFID)。

英文摘要:

Discrete visual tokenizers transform images into a sequence of tokens, enabling token-based visual generation akin to language models. However, this process is inherently challenging, as it requires both compressing visual signals into a compact representation and discretizing them into a fixed set of codes. Traditional discrete tokenizers typically learn the two tasks jointly, often leading to unstable training, low codebook utilization, and limited reconstruction quality. In this paper, we introduce \textbf{CODA}(\textbf{CO}ntinuous-to-\textbf{D}iscrete \textbf{A}daptation), a framework that decouples compression and discretization. Instead of training discrete tokenizers from scratch, CODA adapts off-the-shelf continuous VAEs -- already optimized for perceptual compression -- into discrete tokenizers via a carefully designed discretization process. By primarily focusing on discretization, CODA ensures stable and efficient training while retaining the strong visual fidelity of continuous VAEs. Empirically, with $\mathbf{6 \times}$ less training budget than standard VQGAN, our approach achieves a remarkable codebook utilization of 100% and notable reconstruction FID (rFID) of $\mathbf{0.43}$ and $\mathbf{1.34}$ for $8 \times$ and $16 \times$ compression on ImageNet 256$\times$ 256 benchmark.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑