arXiv:2503.08354cs.CVcs.AI2025-03被引 10

通过模拟采样噪声提升图像生成的隐空间鲁棒性。

Robust Latent Matters: Boosting Image Generation with Sampling Error Synthesis

  • 用隐空间扰动模拟生成过程中的意外词元,改进训练方式。
  • 新指标pFID能准确关联分词器性能与生成质量,提升400M模型的gFID至1.60。
  • 无需改动生成模型,可直接替换分词器,适合追求稳定生成的开发者。

当前图像生成方法通常依赖预构建的固定隐空间,使用冻结的图像分词器。尽管分词器性能对生成效果至关重要,但现有评估指标(如rFID)无法准确衡量其表现,且与生成质量(如gFID)缺乏关联。本文系统分析了离散隐空间中重建与生成质量不一致的原因,提出一种新型即插即用的分词器训练方案。具体地,引入隐空间扰动方法以模拟生成过程中出现的采样噪声(即意外词元)。基于此,提出新指标pFID,成功将分词器性能与生成质量相关联;并设计一种可直接嵌入的分词器训练策略,显著增强分词器鲁棒性,从而提升生成质量与收敛速度。在11种先进离散图像分词器和2个自回归生成模型上进行广泛验证。使用该方法训练的分词器,在400M生成器上实现1.60 gFID(带分类器自由引导)和3.45 gFID(无引导),效果显著。

原文摘要 · Abstract (English)

Recent image generation schemes typically capture image distribution in a pre-constructed latent space relying on a frozen image tokenizer. Though the performance of tokenizer plays an essential role to the successful generation, its current evaluation metrics (e.g. rFID) fail to precisely assess the tokenizer and correlate its performance to the generation quality (e.g. gFID). In this paper, we comprehensively analyze the reason for the discrepancy of reconstruction and generation qualities in a discrete latent space, and, from which, we propose a novel plug-and-play tokenizer training scheme to facilitate latent space construction. Specifically, a latent perturbation approach is proposed to simulate sampling noises, i.e., the unexpected tokens sampled, from the generative process. With the latent perturbation, we further propose (1) a novel tokenizer evaluation metric, i.e., pFID, which successfully correlates the tokenizer performance to generation quality and (2) a plug-and-play tokenizer training scheme, which significantly enhances the robustness of tokenizer thus boosting the generation quality and convergence speed. Extensive benchmarking are conducted with 11 advanced discrete image tokenizers with 2 autoregressive generation models to validate our approach. The tokenizer trained with our proposed latent perturbation achieve a notable 1.60 gFID with classifier-free guidance (CFG) and 3.45 gFID without CFG with a $\sim$400M generator. Code: https://github.com/lxa9867/ImageFolder.

图像生成隐空间分词器鲁棒性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。