SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.08736 · ICCV · 2025

GigaTok: Scaling Visual Tokenizers to 3 Billion Parameters for Autoregressive Image Generation

Jiashi Feng, Xihui Liu, Zilong Huang, Jun Liew, Tianwei Xiong

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 15 functions out of this paper's own repositories and ran 10 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
SilentView/GigaTok — 10 of 15
FunctionStatusWhere it lives
D2SUpsampler Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("3646d74b1c2ac592")
DownsamplerWithPixunshuffleResidual Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("40772c72c03e0fe2")
Encoder Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("505028746cc931f4")
Upsample Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("aa5c10aa30eb8173")
UpsamplerWithPixshuffleDupResidual Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("3af81a4886c946a6")
VQVitModelPlusArgs Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("e66f8393f503a49c")
VectorQuantizer Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("03697fde0e20d494")
compute_cosinesim_loss Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("7d6d8b25987bb42b")
compute_entropy_loss Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("a85cfd31cc2ac08c")
depth_to_space Ran SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("3743889a7a1ed998")
AdaptiveGroupNorm Not yet run SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("43125d5926592839")
Decoder Not yet run SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("6ccb5050a1649666")
VQVitModel2DPlus Not yet run SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("b0bf5a91b4de1c53")
ViTDecoder2D Not yet run SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("bbf35cac1f8f4707")
ViTEncoder2D Not yet run SilentView/GigaTok/tokenizer/tokenizer_image/vq/vq_vit_model.py
pointer only (licence: NOASSERTION) · get_code("5a7f90ba6257050c")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In autoregressive (AR) image generation, visual tokenizers compress images into compact discrete latent tokens, enabling efficient training of downstream autoregressive models for visual generation via next-token prediction. While scaling visual tokenizers improves image reconstruction quality, it often degrades downstream generation quality-a challenge not adequately addressed in existing literature. To address this, we introduce GigaTok, the first approach to simultaneously improve image reconstruction, generation, and representation learning when scaling visual tokenizers. We identify the growing complexity of latent space as the key factor behind the reconstruction vs. generation dilemma. To mitigate this, we propose semantic regularization, which aligns tokenizer features with semantically consistent features from a pre-trained visual encoder. This constraint prevents excessive latent space complexity during scaling, yielding consistent improvements in both reconstruction and downstream autoregressive generation. Building on semantic regularization, we explore three key practices for scaling tokenizers: (1) using 1D tokenizers for better scalability, (2) prioritizing decoder scaling when expanding both encoder and decoder, and (3) employing entropy loss to stabilize training for billion-scale tokenizers. By scaling to 3 billion parameters, GigaTok achieves stateof-the-art performance in reconstruction, downstream AR generation, and downstream AR representation quality.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2504.08736")
get_code_for_paper("2504.08736")
have("2504.08736")

Connect an agent — have() is free.