Generation as Reverse Encoding
本文提出了一种基于反向编码的生成方法RevFlow,通过利用预训练编码器的中间表示来逐步生成图像,从而提高生成效率和重建质量。
更新于 2026-11-30。作者:Cheng Shi、Sibei Yang、Hanzhong Guo、Yipeng Qin、Pietro Lio、Yizhou Yu。
中文摘要
预训练的视觉表示通过抽象外观和空间细节来加速生成学习。然而,这种抽象使得像素级别的回归变得更加困难,将大部分负担转移到了更大的解码器上。我们提出疑问:为什么在编码器已经提供了学习到的像素到语义路径(即语义编码路径)的情况下,表示到像素的路径还需要独立学习。我们引入了基于生成作为反向编码原理的RevFlow。RevFlow使用冻结编码器的中间表示作为连续的生成目标,首先生成深层语义表示,然后生成保留外观和空间细节的浅层表示,最后解码为像素。为了在不为每个阶段训练单独的生成器的情况下学习这些转换,我们开发了HyC-DiT,这是一个统一的生成模型,具有在各个阶段共享的标准DiT骨干和特定阶段的条件注入。我们进一步表明,语义表示空间中的原生匹配可以实现少步骤的生成。RevFlow加速了学习和采样过程。在ImageNet 256 x 256上,RevFlow在仅经过5个训练周期后,在690M时达到1.96 FID,在1.55B时达到1.74 FID。它还使用一个89M解码器实现了30.25 dB重建PSNR。经过短暂的本地匹配适应阶段后,RevFlow-XL在每个阶段仅使用一次采样步骤就达到了2.85 FID。我们的代码库位于https://github.com/ChengShiest/RevFlow。
英文摘要
Pretrained visual representations accelerate generative learning by abstracting away appearance and spatial detail. Yet the same abstraction makes the return to pixels far harder, shifting much of the burden onto a larger decoder. We ask why the representation-to-pixel path should be learned independently when the encoder already provides a learned pixel-to-semantics path (the semantic encoding path). We introduce RevFlow, based on the principle of generation as reverse encoding. RevFlow uses intermediate representations of a frozen encoder as successive generative targets, first generating deep semantic representations, then shallow representations that retain appearance and spatial detail, before decoding to pixels. To learn these transitions without training a separate generator for each stage, we develop HyC-DiT, a unified generative model with a standard DiT backbone shared across stages and stage-specific condition injection. We further show that native matching in semantic representation space enables few-step generation. RevFlow accelerates both learning and sampling. On ImageNet 256 times 256, RevFlow reaches 1.96 FID at 690M and 1.74 FID at 1.55B after only 5 training epochs. It also achieves 30.25 dB reconstruction PSNR with an 89M decoder. After a short native-matching adaptation phase, RevFlow-XL achieves 2.85 FID using a single sampling step in each stage. Our code repository is at https://github.com/ChengShiest/RevFlow
解读
一句话总结
本文提出了一种基于反向编码的生成方法RevFlow,通过利用预训练编码器的中间表示来逐步生成图像,从而提高生成效率和重建质量。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:预训练视觉表示加速了生成学习,但将表示返回到像素的过程很困难,将大部分负担转移到了更大的解码器上。
- 现有方案不足:现有的生成模型通常需要独立的解码器来处理每个阶段,导致模型复杂度高和生成效率低。
- 研究目标:提出一种基于反向编码的生成方法,通过利用预训练编码器的中间表示来逐步生成图像,从而提高生成效率和重建质量。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种基于反向编码的生成方法RevFlow,通过利用预训练编码器的中间表示来逐步生成图像。
- 方法改进:开发了一种统一的生成模型HyC-DiT,该模型在所有阶段共享一个Transformer骨干网络,并通过条件注入来适应不同的条件。
- 优势:RevFlow能够提高生成效率和重建质量,同时减少模型复杂度。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在ImageNet 256×256数据集上进行了实验,结果显示RevFlow在5个训练周期后达到了1.96 FID,并且重建PSNR达到了30.25 dB。
- 性能提升:RevFlow在生成效率和重建质量方面均优于现有方法。
- 对比结果:RevFlow在ImageNet 256×256数据集上的FID和PSNR性能均优于RAE。
问题4:这个研究的实际应用价值是什么?
- 应用场景:RevFlow可以应用于图像生成、图像编辑、图像修复等领域。
- 实施建议:可以将RevFlow应用于实际的图像生成任务中,以实现更高效和高质量的图像生成。
- 局限与展望:RevFlow在生成图像的细节方面可能存在不足,未来可以通过改进模型结构或训练方法来提高图像生成质量。
来源
机器可读索引:llms.txt