English

BiGR: Harnessing Binary Latent Codes for Image Generation and Improved Visual Representation Capabilities

Computer Vision and Pattern Recognition 2025-01-07 v3 Artificial Intelligence

Abstract

We introduce BiGR, a novel conditional image generation model using compact binary latent codes for generative training, focusing on enhancing both generation and representation capabilities. BiGR is the first conditional generative model that unifies generation and discrimination within the same framework. BiGR features a binary tokenizer, a masked modeling mechanism, and a binary transcoder for binary code prediction. Additionally, we introduce a novel entropy-ordered sampling method to enable efficient image generation. Extensive experiments validate BiGR's superior performance in generation quality, as measured by FID-50k, and representation capabilities, as evidenced by linear-probe accuracy. Moreover, BiGR showcases zero-shot generalization across various vision tasks, enabling applications such as image inpainting, outpainting, editing, interpolation, and enrichment, without the need for structural modifications. Our findings suggest that BiGR unifies generative and discriminative tasks effectively, paving the way for further advancements in the field. We further enable BiGR to perform text-to-image generation, showcasing its potential for broader applications.

Keywords

Cite

@article{arxiv.2410.14672,
  title  = {BiGR: Harnessing Binary Latent Codes for Image Generation and Improved Visual Representation Capabilities},
  author = {Shaozhe Hao and Xuantong Liu and Xianbiao Qi and Shihao Zhao and Bojia Zi and Rong Xiao and Kai Han and Kwan-Yee K. Wong},
  journal= {arXiv preprint arXiv:2410.14672},
  year   = {2025}
}

Comments

Updated with additional T2I results; Project page: https://haoosz.github.io/BiGR

R2 v1 2026-06-28T19:27:37.946Z