[Paper Review] Cubic Discrete Diffusion: Discrete Visual Generation on High-Dimensional Representation Tokens
CubiD introduces a high-dimensional discrete generation model that masks and predicts tokens in a 3D h×w×d tensor, enabling efficient generation directly on high-dimensional representation tokens and achieving state-of-the-art discrete generation on ImageNet 256×256.
Visual generation with discrete tokens has gained significant attention as it enables a unified token prediction paradigm shared with language models, promising seamless multimodal architectures. However, current discrete generation methods remain limited to low-dimensional latent tokens (typically 8-32 dims), sacrificing the semantic richness essential for understanding. While high-dimensional pretrained representations (768-1024 dims) could bridge this gap, their discrete generation poses fundamental challenges. In this paper, we present Cubic Discrete Diffusion (CubiD), the first discrete generation model for high-dimensional representations. CubiD performs fine-grained masking throughout the high-dimensional discrete representation -- any dimension at any position can be masked and predicted from partial observations. This enables the model to learn rich correlations both within and across spatial positions, with the number of generation steps fixed at $T$ regardless of feature dimensionality, where $T \ll hwd$. On ImageNet-256, CubiD achieves state-of-the-art discrete generation with strong scaling behavior from 900M to 3.7B parameters. Crucially, we validate that these discretized tokens preserve original representation capabilities, demonstrating that the same discrete tokens can effectively serve both understanding and generation tasks. We hope this work will inspire future research toward unified multimodal architectures. Code is available at: https://github.com/YuqingWang1029/CubiD.
Motivation & Objective
- Demonstrate that high-dimensional representation tokens can be discretized without sacrificing semantic quality for understanding tasks.
- Propose CubiD, a fine-grained cubic masking diffusion model to generate high-dimensional discrete tokens efficiently.
- Show strong scaling and state-of-the-art results on ImageNet-256 with high-dimensional tokens across multiple encoders.
Proposed method
- Discretize high-dimensional features from frozen encoders using dimension-wise quantization to obtain h×w×d discrete tokens.
- Train CubiD with fine-grained masking across the 3D tensor, randomly masking tokens across spatial and dimensional axes and predicting them via cross-entropy.
- Use a Transformer with bidirectional attention operating on h×w tokens each of dimension d to predict all d dimensions per spatial position in parallel.
- During inference, generate via hundreds of iterative unmasking steps with a cosine schedule, achieving O(T) iterations independent of d.
- Evaluate with FID, IS, and multimodal understanding metrics to validate both generation quality and retention of representation semantics.

Experimental results
Research questions
- RQ1Can high-dimensional representation tokens (768–1024 dims) be discretized without significant loss of semantic quality for understanding tasks?
- RQ2Is it feasible to model and generate h×w×d discrete tokens efficiently with a diffusion framework that masks at the dimension level?
- RQ3Does CubiD scale effectively with model size and different high-dimensional encoders for ImageNet 256×256 generation?
Key findings
- Dimension-wise quantization preserves continuous-level semantic quality for both reconstruction and multimodal understanding tasks.
- Fine-grained per-element masking across the 3D tensor is essential; per-dim or per-spatial masking degrades quality significantly.
- CubiD provides strong generation quality with hundreds of iterations (≈256–512) independent of token dimensionality, and scales well from 946M to 3.7B parameters.
- CubiD achieves state-of-the-art discrete generation on ImageNet 256×256 with a gFID as low as 1.88 for high-dimensional tokens (XXL model).
- The approach generalizes across representation encoders (DINOv2-B and SigLIP2-B) and preserves the ability of tokens to support both understanding and generation tasks.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.