Heptapod: Language Modeling on Visual Signals
Yongxin Zhu, Jiawei Chen, Yuanzhe Chen, Zhuo Chen, Dongya Jia, Jian Cong, Xiaobin Zhuang, Yuping Wang, Yuxuan Wang
TL;DR
Heptapod rethinks vision-language modeling by extending autoregressive language modeling principles to 2D visual data. It introduces next 2D distribution prediction, where a causal Transformer predicts distributions over the entire 2D image grid at each timestep, using a reconstruction-focused tokenizer to avoid external semantic injections. The approach achieves state-of-the-art results among causal autoregressive models on ImageNet generation without CFG, and ablations show the importance of global 2D prediction and tokenization fidelity in learning holistic image semantics. By decoupling tokenization from semantic learning and unifying autoregressive and MAE-style objectives, Heptapod lays groundwork for principled visual language modeling and potential cross-modal extensions.
Abstract
We introduce Heptapod, an image autoregressive model that adheres to the foundational principles of language modeling. Heptapod employs \textbf{causal attention}, \textbf{eliminates reliance on CFG}, and \textbf{eschews the trend of semantic tokenizers}. Our key innovation is \textit{next 2D distribution prediction}: a causal Transformer with reconstruction-focused visual tokenizer, learns to predict the distribution over the entire 2D spatial grid of images at each timestep. This learning objective unifies the sequential modeling of autoregressive framework with the holistic self-supervised learning of masked autoencoding, enabling the model to capture comprehensive image semantics via generative training. On the ImageNet generation benchmark, Heptapod achieves an FID of $2.70$, significantly outperforming previous causal autoregressive approaches. We hope our work inspires a principled rethinking of language modeling on visual signals and beyond.
