用软嵌入解决单步图像生成模型无法优化的问题
Soft-Di[M]O: Improving One-Step Discrete Image Generation with Soft Embeddings
- 用期望嵌入替代离散令牌,实现端到端可训练
- 在ImageNet-256上达1.56的单步FID,优于现有方法
- 支持对抗训练、奖励微调等后续优化,适合追求效率的研究者
从掩码扩散模型(MDMs)蒸馏出的一步生成器将多步采样压缩为单次前向传播,实现高效图文生成。但其存在两大局限:继承教师模型的建模偏差,且离散标记输出阻碍梯度流动,无法进行对抗训练、基于奖励的微调和测试时嵌入优化(TTEO)。本文提出软嵌入,通过生成器输出分布下的期望嵌入替代离散标记,保留表示保真度的同时提供全可微的连续代理,兼容教师主干与分词器解码器。将其集成至Di[M]O蒸馏框架(记为Soft-Di[M]O),使一步生成器可端到端训练,并轻松应用GAN精炼、可微奖励微调及TTEO。实证表明,使用多个MDM教师(如MaskBit、MaskGen)时,Soft-Di[M]O达到当前最优性能:类到图生成效果提升,图像生成任务中在ImageNet-256上实现1.56的单步FID,文本到图像任务中在奖励微调下获得更高GenEval与HPS得分,且测试时嵌入优化带来进一步增益。
原文摘要 · Abstract (English)
One-step generators distilled from Masked Diffusion Models (MDMs) compress multiple sampling steps into a single forward pass, enabling efficient text and image synthesis. However, they suffer two key limitations: they inherit modeling bias from the teacher, and their discrete token outputs block gradient flow, preventing post-distillation refinements such as adversarial training, reward-based fine-tuning, and Test-Time Embedding Optimization (TTEO). In this work, we introduce soft embeddings, a simple relaxation that replaces discrete tokens with the expected embeddings under the generator's output distribution. Soft embeddings preserve representation fidelity for one-step discrete generator while providing a fully differentiable continuous surrogate that is compatible with teacher backbones and tokenizer decoders. Integrating soft embeddings into the Di[M]O distillation framework (denoted Soft-Di[M]O) makes one-step generators end-to-end trainable and enables straightforward application of GAN-based refinement, differentiable reward fine-tuning, and TTEO. Empirically, across multiple MDM teachers (e.g., MaskBit, MaskGen), Soft-Di[M]O achieves state-of-the-art one-step results: improved class-to-image performance, a one-step FID of 1.56 on ImageNet-256 with GAN-based refinement, along with higher GenEval and HPS scores on text-to-image with reward fine-tuning, and further gains from TTEO.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。