BiGR: Harnessing Binary Latent Codes for Image Generation and Improved
  Visual Representation Capabilities
Authors: name: Shaozhe Hao; name: Xuantong Liu; name: Xianbiao Qi; name: Shihao Zhao; name: Bojia Zi; name: Rong Xiao; name: Kai Han; name: Kwan-Yee K. Wong
Published: 2024-10-18 17:59:04

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.