Rust in Everything
← Papers

G-STAR: Group-Scaled Token Capacity for Deeply Compressed Autoregressive Generation

Xu Huang, Ye Huang, Xiaotong Li, Zhengrong Yue, Jialv Zou, Minhao Jing et al.

2026-11-13▲ 41arXiv 2611.13004v1Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

GSTAR co-scales spatial compression and per-position code-group size to keep a fixed nominal bit budget while shortening the global autoregressive sequence, and adds a semi-autoregressive intra-group decoder to generate 1024x1024 images in 2.5 s on one H200.

Problem

Discrete autoregressive image models trade off sequence length against representation capacity: long token sequences preserve quality but slow generation, while aggressive spatial compression reduces representation capacity. Mapping continuous features to a finite codebook already introduces quantization error that can discard fine-grained detail and semantically relevant cues. Sequential token generation makes latency grow with sequence length, and at high resolution token count grows quadratically with image side length, widening the gap with diffusion models that update all positions in parallel. Multi-codebook quantization mitigates the capacity loss, but each global step then must predict a group of correlated codes, and RQ-Transformer-style causal depth decoders have latency growing linearly with group size.

Method

The tokenizer maps an image to a spatially compressed latent grid and represents each position with G discrete codes via group-wise quantization; the 32x tokenizer encoder is initialized from Qwen-ViT and trained with reconstruction, VQ, semantic alignment, Gram, and commitment losses (Eq. 2), with the Gram loss following Scale-RAE. Under a fixed codebook size K, the paper defines N_global(s) = HW/s^2, C_step(G,K) = G log2 K, and B_total = N_global * C_step, and shows that scaling s by alpha and G by alpha^2 preserves B_total while reducing global steps by alpha^2. A lossless 2x2 packing converts a native 32x grid with G=8 (f32g8) into an effective 64x interface with G=32 (f64g32), reducing spatial latent positions by 4x without discarding or re-quantizing codes. For intra-group dependencies, a semi-autoregressive head runs most layers in parallel while a lightweight single-layer causal Transformer retains a causal path over the G codes of each global step. System-level inference optimizations include CUDA-graph capture of each global step, fused Triton kernels for sampling and normalization, and SGLang serving of the LLM backbone.

Results

  • GSTAR-Pro-8B at 32x compression and GSTAR-Flash-1.7B at 64x compression are competitive with leading models across five text-to-image benchmarks. §5.1
  • At 1024x1024 resolution the model generates each image in 2.5 seconds on a single NVIDIA H200, a 20x speedup over prior discrete autoregressive models; cumulative inference optimizations give an 8.9x end-to-end speedup starting from a 22.23 s Causal AR head baseline. §5.3
  • In the matched intra-group head comparison, the Semi-AR head keeps quality comparable to the Causal AR head and beats the Parallel head on all three quality metrics while cutting latency substantially. §5.2.2
  • ImageNet ablations with K=16384 at 32x show that increasing group size improves reconstruction and linear-probe accuracy, but gFID degrades sharply at G=32. §5.2.1
  • Lossless packing to f64g32 retains strong text-to-image generation with a 4x shorter spatial latent sequence, leaving tokenizer reconstruction unchanged by construction. §D
  • On ImageNet validation at 512x512 the f32g16 tokenizer reaches the highest PSNR at 32x effective compression, and f64g32 remains competitive at 64x. §E

Limitations

  • The paper states that B_total is a fixed-length nominal bit budget rather than the empirical entropy or effective semantic information of the learned codes (§4.2), so the co-scaling argument is about nominal capacity.
  • Larger groups slow early-stage generation convergence; at G=32 the ImageNet gFID is 17.05 versus 5.7388 at G=16, so the benefit does not extend monotonically (§5.2.1), and the T2I group-scaling ablation compares only G=8 and G=16 (§5.2.1).
  • The head ablation and group-scaling T2I study use a Qwen3-1.7B-initialized model at 512x512 with 100k pretraining steps and sequence length 8,192 (§5.2.1, §5.2.2); larger-model behavior is only speculated about, not measured.
  • The effective 64x setting is studied mainly through lossless packing of f32g8 to f64g32, which slightly lowers generation scores (GenEval 0.7885 vs 0.8060) (§D), and latency figures are batch-one measurements on a single NVIDIA H200 (§C.1).

Key points

  • Under a fixed nominal information budget, group size should scale quadratically with the per-axis spatial compression factor: scaling s by alpha and G by alpha^2 preserves B_total while reducing global steps by alpha^2. §4.2
  • Group-wise quantization raises per-position discrete capacity without lengthening the global sequence, which matters most under aggressive spatial compression. §4.2
  • The tokenizer is initialized from Qwen-ViT and adds a semantic alignment loss plus a Gram loss to preserve pretrained semantic structure and second-order feature correlations after quantization. §4.1
  • Causal depth heads slow down linearly with group size and fully parallel prediction ignores intra-group dependencies and risks multi-modal collision; the semi-autoregressive head keeps only the final layer causal. §4.3
  • Lossless 2x2 packing rearranges four spatial positions with eight groups each into one position with 32 groups, is exactly invertible, and reduces spatial latent positions by 4x. §D
  • In the T2I group-scaling study, G=16 achieves comparable or slightly better results than G=8 (GenEval 0.8386 vs 0.8060, PRISM 5.46 vs 5.30). §5.2.1
  • GSTAR-Pro-8B scores 7.85 semantic consistency, 7.45 perceptual quality, and 7.45 overall on GEdit-Bench English full set. §5.2.2
  • The four cumulative optimizations (Semi-AR head, CUDA graph capture, fused top-k kernel, SGLang serving) contribute multiplicative savings to an 8.9x end-to-end speedup. §5.3

Mind map

G-STAR
Problem
Quantization error loses detail and semantics
Sequential token decoding slows generation
Token count grows quadratically with resolution
Spatial-group co-scaling
B_total = (HW/s^2) G log2 K
Scale s by alpha, G by alpha^2
Lossless 2x2 packing f32g8 to f64g32
Tokenizer
Qwen-ViT encoder initialization
Semantic alignment and Gram losses
32x and 64x variants
Semi-AR depth decoder
Parallel layers plus one causal layer
Avoids multimodal collision of parallel heads
Near-flat group-scaling overhead
Results
Pro-8B 32x, Flash-1.7B 64x
Five T2I benchmarks plus GEdit-Bench
PSNR 25.12 dB at 32x
Efficiency
2.5 s per 1024x1024 image on H200
8.9x cumulative pipeline speedup
CUDA graphs, Triton fusion, SGLang