HART: Efficient Visual Generation with Hybrid Autoregressive Transformer

Haotian Tang, Yecheng Wu, Shang Yang, Enze Xie, Junsong Chen, Junyu Chen, Zhuoyang Zhang, Han Cai, Yao Lu, Song Han

arXiv:2410.10812 · 2026-07-27 공개 · arXiv · PDF

diffusion-models image-generation vision-transformer autoregressive-model high-throughput residual-diffusion hybrid-tokenizer continuous-latents

Abstract

We introduce Hybrid Autoregressive Transformer (HART), an autoregressive (AR) visual generation model capable of directly generating 1024x1024 images, rivaling diffusion models in image generation quality. Existing AR models face limitations due to the poor image reconstruction quality of their discrete tokenizers and the prohibitive training costs associated with generating 1024px images. To address these challenges, we present the hybrid tokenizer, which decomposes the continuous latents from the autoencoder into two components: discrete tokens representing the big picture and continuous tokens representing the residual components that cannot be represented by the discrete tokens. The discrete component is modeled by a scalable-resolution discrete AR model, while the continuous component is learned with a lightweight residual diffusion module with only 37M parameters. Compared with the discrete-only VAR tokenizer, our hybrid approach improves reconstruction FID from 2.11 to 0.30 on MJHQ-30K, leading to a 31% generation FID improvement from 7.85 to 5.38. HART also outperforms state-of-the-art diffusion models in both FID and CLIP score, with 4.5-7.7x higher throughput and 6.9-13.4x lower MACs. Our code is open sourced at https://github.com/mit-han-lab/hart.

한국어 요약

한 줄 요약

HART는 1024×1024 이미지를 생성하는 혼합형 오토회귀 트랜스포머로, 확산 모델과 유사한 품질을 3.1–5.9배 빠르게 생성한다.

핵심 기여도

핵심 아이디어

기존 오토회귀 모델은 이산 토크나이저의 재구성 능력이 낮아 고해상도 이미지 생성에 한계가 있었다. HART는 이를 해결하기 위해 **Hybrid Tokenizer**를 제안한다. 이 모듈은 오토인코더의 연속 잠재 공간을 **이산 토큰**(전체 구조)과 **잔차 토큰**(세부 정보)으로 분해한다. 이산 토큰은 **scalable-resolution VAR 트랜스포머**로 모델링되고, 잔차 토큰은 **Residual Diffusion 모듈**로 학습된다. 이는 이산 토크나이저의 한계를 보완하면서도 연속 토크나이저의 세부 표현력을 결합한 혁신적인 접근이다.

기술적 접근법

주요 결과

의의 및 한계

HART는 이산 토크나이저와 연속 토크나이저의 장점을 결합한 새로운 토크나이징 방식을 제시하며, 고해상도 이미지 생성의 성능과 효율성을 동시에 향상시킨다. 특히, 1024×1024 이미지를 직접 생성하는 오토회귀 모델로서는 최초로 확산 모델 수준의 품질을 달성한 점이 학술적 의의가 있다. 다만, 잔차 토큰의 학습이 추가적인 계산 비용을 유발할 수 있으며, 다양한 생성 조건에서의 일반화 능력은 추가 실험을 통해 검증이 필요하다.

실용적 활용

HART는 고해상도 이미지 생성이 필요한 **디지털 콘텐츠 제작**, **광고 산업**, **게임 개발**, **AI 기반 이미지 편집 도구** 등에 적용 가능하다. 특히, 빠른 처리 속도와 낮은 연산 비용은 실시간 이미지 생성이나 대규모 배치 작업에 유리하다.