Back to articles

RevFlow Generates Images by Reversing the Encoding Path

2 min read

Pretrained visual representations can make generative learning easier by moving part of the task away from raw pixels and into a more abstract feature space. But abstraction cuts both ways. Deep features may preserve what an image depicts while discarding some of its texture, appearance, and spatial detail. Recovering those details at the end can place considerable pressure on the decoder.

RevFlow asks whether generation can reuse the route already learned by an image encoder. A visual encoder maps pixels toward semantic representations; RevFlow takes the reverse direction in stages. It freezes an encoder and uses its intermediate representations as successive generation targets. The model first generates deeper, more semantic features, then moves toward shallower features that retain more appearance and spatial information, before a decoder produces pixels. Rather than asking a model to leap directly from abstract semantics to a finished image, the method makes the return path more gradual.

The authors introduce HyC-DiT to handle these transitions without training a separate generator for every stage. It uses a standard DiT backbone shared across stages, with stage-specific condition injection to adapt the model to the representation being generated. The paper also describes native matching in semantic representation space as a way to enable generation with fewer sampling steps.

On ImageNet at 256×256 resolution, the paper reports that after five training epochs, a 690M-parameter RevFlow reaches an FID of 1.96, while a 1.55B version reaches 1.74. For reconstruction, an 89M decoder achieves a reported PSNR of 30.25 dB. After a short native-matching adaptation phase, RevFlow-XL obtains an FID of 2.85 while using one sampling step at each stage. These figures describe different measures and configurations; they should not be read as a single, directly comparable benchmark setting.

The broader idea is to treat an encoder’s intermediate features not merely as conditioning information, but as a structured sequence of targets for generation. Gradually restoring detail may reduce the burden on the final decoder, while a shared backbone avoids maintaining a distinct generator for every transition. The supplied results are promising, but the source does not provide a full comparison against other methods, detailed training-cost accounting, or results across additional datasets. Further evaluation will be needed to establish how well the approach transfers across encoders, image distributions, and generation settings.

Source: Hugging Face Daily Papers

Comments

Checking sign-in status...

Loading comments...

Related articles