GaussianToken: An Effective Image Tokenizer with 2D Gaussian Splatting
Jiajun Dong, Chengkun Wang, Wenzhao Zheng, Lei Chen, Jiwen Lu, Yansong Tang
TL;DR
GaussianToken addresses the bottleneck of discrete image tokenizers by introducing 2D Gaussian Splatting to enrich the discrete latent space without increasing token count. The method combines a Gaussian Embedding module with 2D Gaussian quantization and splatting, integrated into a VQ-VAE–style pipeline, and trained with reconstruction, commitment, and GAN losses. It demonstrates improved image reconstruction quality on CIFAR, Mini-ImageNet, and ImageNet-1K, with faster convergence and better utilization of the codebook compared to strong VQ-based baselines. The work expands the representational capacity of discrete tokens and lays groundwork for future exploration of downstream generation tasks.
Abstract
Effective image tokenization is crucial for both multi-modal understanding and generation tasks due to the necessity of the alignment with discrete text data. To this end, existing approaches utilize vector quantization (VQ) to project pixels onto a discrete codebook and reconstruct images from the discrete representation. However, compared with the continuous latent space, the limited discrete codebook space significantly restrict the representational ability of these image tokenizers. In this paper, we propose GaussianToken: An Effective Image Tokenizer with 2D Gaussian Splatting as a solution. We first represent the encoded samples as multiple flexible featured 2D Gaussians characterized by positions, rotation angles, scaling factors, and feature coefficients. We adopt the standard quantization for the Gaussian features and then concatenate the quantization results with the other intrinsic Gaussian parameters before the corresponding splatting operation and the subsequent decoding module. In general, GaussianToken integrates the local influence of 2D Gaussian distribution into the discrete space and thus enhances the representation capability of the image tokenizer. Competitive reconstruction performances on CIFAR, Mini-ImageNet, and ImageNet-1K demonstrate the effectiveness of our framework. Our code is available at: https://github.com/ChrisDong-THU/GaussianToken.
