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

图像分词器应在图像之间进行训练

Image Tokenizers Should Be Trained Between Images

University of Tübingen(蒂宾根大学)

Ole Beißwenger, Jan-Niklas Dihlmann, Hendrik Lensch

AI总结:

该研究针对潜在扩散模型生成图像的缺陷,提出InterpTok微调MAETok,通过判别器和混合比例损失优化编码空间,提升了插值质量与生成FID,减少了采样步数并加快了生成器训练。

摘要:

潜在扩散模型将图像生成为图像分词器的编码,其解码器将这些编码转换为像素图像。近期的分词器提升了这些编码重建图像的效果,以及生成器学习这些编码的难易程度。然而,生成器并不会复现训练图像的编码,当生成的编码超出解码器的预期范围时,解码后的图像会存在缺陷。当前的方法通过在训练过程中添加噪声来提升解码器对生成编码的鲁棒性。但生成的编码位于训练编码之间,更类似它们的混合体,而非某一训练编码加噪声的结果。因此,为提升生成图像的质量,解码器应在训练样本之间的编码空间上进行训练。我们提出了InterpTok,它对MAETok进行微调,以将图像编码的混合体重构为自然图像。由于两个训练样本之间不存在目标图像,因此由判别器判断每个解码后的混合体是否与其两个来源图像一样自然。混合比例损失要求解码后的混合体保持两个编码的混合比例。二者结合可防止退化为平凡解,生成清晰且自然的图像组合。InterpTok保留了MAETok的重建质量,且插值质量提升了三倍以上,在近期基准测试的所有分词器中表现最佳。除插值外,InterpTok还将匹配的扩散Transformer的生成FID从11.61提升至8.48(无引导),甚至在八分之一的采样步数下达到8.11,而基于MAETok编码训练的生成器在该采样步数下表现恶化。基于我们的分词器训练的生成器,在一半的训练步数下即可达到基于MAETok编码训练的生成器的最终结果。我们的研究表明,图像编码之间的空间可以且应当被显式监督,而非被忽略。

英文摘要:

Latent diffusion models generate images as codes of an image tokenizer, whose decoder turns them into the pixel image. Recent tokenizers improve how well these codes reconstruct an image and how easily a generator learns them. Yet a generator does not reproduce the codes of training images, and when a generated code lands outside what the decoder expects, the decoded image contains imperfections. Current methods make the decoder more robust to generated codes by adding noise during training. However, generated codes lie between the training codes and resemble their mixture more than one of them plus noise. To improve generated images, decoders should therefore be trained on codes in the space between training samples. We propose InterpTok, which fine-tunes MAETok to decode mixtures of image codes into natural images. Since no target image exists between two training samples, a discriminator judges whether each decoded mixture looks as natural as its two sources. A mixing ratio loss requires the decoded mixture to keep the mixing ratio of the two codes. Together, they prevent collapse to a trivial solution and yield a sharp and natural composition of both images. InterpTok keeps MAETok's reconstruction quality and improves interpolation quality more than threefold, the best of all tokenizers in a recent benchmark. Beyond interpolation, InterpTok improves the generation FID of a matched diffusion transformer from 11.61 to 8.48 without guidance, and even reaches 8.11 at an eighth of the sampling steps, where the generator on MAETok's codes worsens. The generator trained on our tokenizer also reaches the final result of the one trained on MAETok at half the training steps. Our findings show that the space between image codes can and should be explicitly supervised rather than ignored.

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

↑