Skip to content
AI Learning Ground Start learning

Research ·

Generation as Reverse Encoding

RevFlow is a generative framework that treats image generation as the reverse of a frozen encoder's semantic encoding path, achieving strong ImageNet 256 results with few training epochs and few sampling steps.

Generation as Reverse Encoding
Image: Hugging Face

A new paper on Hugging Face introduces RevFlow, a generative framework built on the idea of generation as reverse encoding. Instead of training a separate decoder-heavy path from representations back to pixels, it reuses the staged representations of a frozen pretrained encoder as successive generative targets: it first generates deep semantic representations, then shallower ones that keep appearance and spatial detail, and finally decodes to pixels.

To avoid training a separate generator for each stage, the authors developed HyC-DiT, a unified model with a standard DiT backbone shared across stages and stage-specific condition injection. The paper also reports that native matching in semantic representation space enables few-step generation. Code is available at https://github.com/ChengShiest/RevFlow.

The reported results are notable for anyone training image generation models. On ImageNet 256x256, RevFlow reaches 1.96 FID at 690M parameters and 1.74 FID at 1.55B after only 5 training epochs, achieves 30.25 dB reconstruction PSNR with an 89M decoder, and after a short native-matching adaptation phase, RevFlow-XL achieves 2.85 FID using a single sampling step per stage. For builders, this suggests a way to cut both training and sampling costs by reusing existing pretrained encoders rather than learning representation-to-pixel mapping from scratch.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#research