Generation as Reverse Encoding

Cheng Shi, Sibei Yang, Hanzhong Guo, Yipeng Qin, Pietro Lio +1 more
11/25/2026
cs.CV
diffusion-flow

No official code found. Best implementation: ChengShiest/RevFlow (4 stars).

Abstract

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

Official PyTorch implementation of "Generation as Reverse Encoding" (RevFlow)

40

Similar Papers

Cite this paper

@article{shi2026generation,
  title  = {Generation as Reverse Encoding},
  author = {Cheng Shi and Sibei Yang and Hanzhong Guo and Yipeng Qin and Pietro Lio and Yizhou Yu},
  year   = {2026},
  eprint = {2611.34782},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.34782v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.34782.svg)](https://codeofpaper.com/paper/2611.34782)

Discussion