Generation as Reverse Encoding

Cheng Shi, Sibei Yang, Hanzhong Guo, Yipeng Qin, Pietro Lio, Yizhou Yu

arXiv:2611.34782 · 2026-11-29 공개 · arXiv · PDF

image-generation fid-metric imagenet few-step-generation semantic-representation reconstruction-psnr reverse-encoding revflow

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. 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는 생성 과정을 인코딩의 역순으로 수행함으로써 이미지 생성과 복원을 동시에 향상시키는 다단계 생성 모델이다.

핵심 기여도

핵심 아이디어

기존 생성 모델은 학습된 인코더의 역경로를 별도의 디코더로 학습해야 하지만, RevFlow는 인코더가 이미 학습한 픽셀-세멘틱 경로를 그대로 역전시켜 생성 과정을 수행한다. 이는 인코더가 점진적으로 정보를 제거하는 방식과 유사하며, 생성 시에는 이 정보를 단계적으로 복구하는 방식이다.

인코더의 깊은 표현은 클래스 정보를 잘 포착하지만, 외형과 공간 정보는 상실된다. RevFlow는 먼저 깊은 세멘틱 표현을 생성한 후, 점차 외형과 공간 정보를 포함하는 얕은 표현을 생성함으로써, 디코더의 부담을 줄이고 생성 품질을 향상시킨다. 이는 디퓨전 모델의 순방향 과정과 유사한 구조를 가진다.

HyC-DiT는 단일 Transformer 백본을 사용하면서도, 조건 주입 방식을 단계별로 다르게 적용하여, 다양한 표현 공간에서 생성을 학습할 수 있도록 설계되었다.

기술적 접근법

주요 결과

의의 및 한계

RevFlow는 학습된 인코더의 계층 구조를 생성 과정에 활용함으로써, 생성 모델의 학습 속도와 샘플링 효율성을 동시에 향상시킨다. 특히, HyC-DiT는 단일 백본을 사용하면서도 단계별 조건 주입을 통해 다양한 표현 공간에서 생성을 학습할 수 있는 구조를 제시한다. Native matching을 통해 생성 과정에서 디코딩-재인코딩 없이도 표현 공간에서 직접 비교할 수 있어, 샘플링 속도를 높인다.

한편, RevFlow는 학습된 인코더에 의존적이며, 인코더의 표현 구조에 따라 성능이 달라질 수 있다. 또한, 인코더의 표현이 너무 추상화되어 있을 경우, 생성 과정에서 외형과 공간 정보를 충분히 복구하지 못할 수 있다.

실용적 활용

RevFlow는 이미지 생성 및 복원을 동시에 요구하는 산업 분야(예: 디지털 콘텐츠 제작, 의료 영상 복원)에서 유용하게 활용될 수 있다. 또한, 학습된 인코더를 기반으로 빠른 생성이 필요한 실시간 시스템(예: AR/VR, 자율주행)에도 적용 가능하다.