acceptodds
Published as a conference paper at NeurIPS 2026

SCULPT: Advancing Masked Discrete Diffusion for High-Resolution Image Synthesis.

Shufan Li, Greg Heinrich, Hanrong Ye, Yonggan Fu, Aditya Grover, Jan Kautz, Pavlo Molchanov

Abstract

We propose SCULPT, a state-of-the Art masked discrete diffusion model (MDMs) for high resolution text-to-image synthesis. Compared with prior works on masked image generation, SCULPT addresses two key challenges. First, unlike continuously diffusion models which progressively refines image latent across the entire image, vanilla MDMs do not have self-correcting capability because discrete tokens cannot be changed once it's unmasked. Second, while scaling the vocabulary size of discrete image tokenizers can improve reconstruction quality, it also introduces optimization challenges for training generative models as per-token training signal becomes more spares. To address the first challenge, SCULPT incroprates a token-editing mechanism where the model can dynamically correct already-unmasked output tokens during inference. To address the second challenge. we proposed a Goruped Corss Entrophy (GCE) objective that assigns positive learning signal to adjacent tokens of the ground truth in the embedding space. To improve the training efficiency, we further implemented a custom fused operator that greatly reduce the VRAM requirements during training in large-vocabulary setting. Experiment results show that these innovations significant improves the training efficiency and image fidelity of masked discrete image generators.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_h28iOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes two improvements to masked discrete diffusion models (MDMs). First, the model is formulated to learn to correct already predicted tokens that tend to be wrong, which is encouraged by introducing token corruption in the training objective. Second, in order to use a larger codebook for discretization while preventing sparsity, the authors propose using grouped cross entropy to capture relationships between semantically similar codebook tokens. This requires hierarchically clustering token “classes” according to their probabilities during the training loop, and the resulting computational overhead is addressed using a custom fusion implementation.

Strengths and weaknesses

Strength:

  1. The motivation and idea are clearly stated, and Figures 2–4 are very helpful for understanding the concept.
  2. The method is straightforward and well-structured; the training objective is modified in a reasonable and justified way.
  3. Efficiency is also considered in the overall pipeline.

Weakness:

  1. For Token Editing, authors use token corruption during the training loop; however, there is no analysis of the train–test gap regarding prediction errors induced by this design.
  2. The evaluation setup feels somewhat fragmented. The metrics could be better organized into a single table for clearer comparison, and it would also be helpful to include method categories (e.g., continuous diffusion, discrete diffusion, unified approaches, etc.) for context.
  3. The ablation study could be more comprehensive, as the method appears to be largely an A+B combination. In particular, the ablation on Token Editing may be biased, since the training already introduces noise, making the benefit of the editing pipeline less conclusive. Additionally, broader evaluation metrics such as GenEval, DPG, and human evaluation would strengthen the analysis.
Questions
  1. Do you observe any threshold in codebook size beyond which the benefits of grouped cross entropy start to diminish?

  2. Do you have any interpretation of why different editing thresholds scale differently under varying numbers of inference steps?

Limitations

yes

Paper formatting concerns

N/A

Final justification

The authors have empirically addressed my concerns regarding the training–test gap, which strengthens the overall logic and validation of the proposed approach. With the additional evaluation and discussion provided in the rebuttal, I find that the paper is now more complete and suitable for acceptance.

1 comment

W1 Token Editing is used in the training loop, but train-test gap analysis is missing

First, we note that we already included ablation studies of the corruption/correction loss in table 8 of appendix B.5, where we show results of corruption ratio 0.1, 0.3, 0.5 in a compute-matched setting (8B model, 10k steps, stage 2 data). We further provide results of 0 corruption rate below

Corruption RateHPSv3GenEvalDPG
0 (no edit loss)7.890.7179.2
0.18.990.7781.3
0.38.970.7580.0
0.57.520.6873.4

These results demonstrate the effectiveness of token editing loss, where it improves upon the no-editing-loss baseline.

We further investigate the training-inference mismatch by categorizing the prediction errors in the forward process. Among these errors 15.23% belong to pre-existing clean tokens from the same image, and 9.39% belong to the same cluster as ground truth tokens. While they appear low in absolute numbers, we also note that in a vocabulary of 131k tokens, the baseline probability of sampling tokens from the same image is (4k/131k=3%) and chance of sampling tokens from same cluster is (1/8192=0.01%). These results show that models are statistically more likely to predict incorrect tokens in these two categories compared to random baseline. The rest of the errors can be attributed to the inherent difficulty and high-entropy of image generation tasks.

W2 Table Presentation

We thank the reviewer for the suggestion and will reorganize the tables in the final version. If the reviewer would like to see a specific view/aspect of the results, feel free to let us know and we are happy to provide a summary table and additional analysis during the discussion.

W3 the ablation on Token Editing may be biased, additionally, broader evaluation metrics would help.

In the W1 response, we included new results for a compute-matched ablation run with no editing loss, with additional metrics such as GenEval and DPG included. We also report an additional compute-matched ablation for GCE loss below:

Unlike token edit which is only added in high-res training stage (stage 2), GCE loss was employed from the start of pretraining (stage-1). So we use a different ablation setup. Specifically, we conducted a 20k step ablation for the pretraining step (stage 1). We evaluated the original 20k step checkpoint of stage-1 training, and conducted new 20k step runs with a matched learning rate schedule. Each run takes 22 hours on 64 H100 GPUs.

LossHPSv3GenEvalDPG
GCE @ 20k7.120.5468.2
CE @ 20k6.470.4263.7

Further, as is requested by another reviewer, we also conducted additional experiments on ImageNet to study the effect of token editing loss

ModelFID
MaskGiT-GCE*2.71
Mask GiT-GCE+TokenEdit Loss*2.68
Mask GiT-GCE+TokenEdit Loss + TokenEdit Inference*2.24

These results strengthened the contribution and effectiveness of GCE and the token editing pipeline.

Q1: Do you observe any threshold in codebook size beyond which the benefits of grouped cross entropy start to diminish?

No. In general larger codebook size tokenizers should benefit more from GCE because the tokens become more sparse in a fixed image dataset. If the reviewer is interested in a specific codebook size, we are happy to conduct additional experiments on ImageNet.

Q2. Do you have any interpretation of why different editing thresholds scale differently under varying numbers of inference steps?

We find that in Figure 6, high threshold works better for generation with fewer steps (e.g. 16) while low threshold works better for generation with more steps. This is because for few-step generation, more tokens are generated per step and overall initial confidence is low. By contrast, for many-step generation, fewer tokens are generated per step and overall initial confidence is high. When initial confidence is low, the model is more likely to edit tokens, so we want to have a high threshold to prevent excessive edits. When initial confidence is high the model is less likely to edit tokens, so we want a low threshold to ensure a reasonable number of tokens have a chance to be edited.

Another aspect is that when generation has more steps, it is more tolerant of per-step errors as there is more room for course-correction, so a lower threshold is acceptable.

Final Remark

Finally, we highlight that our model is open-source. Its strong performance makes it an ideal foundation for future research in masked discrete visual generation, such as post-training and distillation.

Reviewer_e8uUOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
2
Significance
3
Read review
Summary

The paper proposes SCULPT, a masked discrete diffusion model for high-resolution text-to-image synthesis. It introduces two main components: a token-editing mechanism that can revise previously generated tokens, and Grouped Cross-Entropy (GCE), which adds supervision over clusters of nearby visual tokens to improve training with a large codebook. The authors also provide a memory-efficient GCE implementation. SCULPT reports strong results on GenEval, DPG, and MJHQ, while controlled ImageNet experiments support the effectiveness of GCE.

Strengths and weaknesses

The paper studies important limitations of masked image generators. Allowing committed tokens to be corrected is intuitive, and addressing sparse supervision in a 131K-token vocabulary is practically valuable. The method is evaluated at substantial scale, and the controlled ImageNet experiments show that GCE improves FID over both standard CE and SNCE. The optimized implementation also reduces GCE memory usage considerably. The paper is generally clear and provides interesting application of Masked Discrete Diffusion. However, the current experiments do not sufficiently establish the novelty or isolate the contribution of each component.

The main weakness is that the large-scale results do not isolate the proposed contributions. SCULPT changes the architecture, initialization, training data, model size, tokenizer, loss, and sampling procedure relative to most baselines. There is no matched 8B model trained on the same 137M examples without GCE and token editing. The editing ablation reports only HPSv3, while the GCE ablation is performed on a much smaller class-conditional ImageNet setting. Consequently, the strong benchmark results cannot be confidently attributed to the two proposed techniques.

There are also important originality concerns. The GCE formulation closely overlaps with the Cluster-oriented Cross-Entropy Loss [1]: both cluster codebook embeddings with K-means, sum token probabilities within the target cluster, and combine cluster-level CE with token-level CE. SCULPT extends this idea hierarchically and contributes an efficient implementation, but the closely related prior work is neither cited nor compared.

Similarly, Token-Critic [2] already enabled correction of previously sampled visual tokens by rejecting and resampling them during iterative image generation. SCULPT differs by performing direct replacement using the generator itself, which may be simpler, but the broad claim of being the first token-editing mechanism for discrete image generation should be narrowed.

Finally, the evaluation relies heavily on HPSv3 and literature-reported baseline numbers. There is no human evaluation, uncertainty estimate, or benchmark-contamination analysis. The MJHQ FID improvement over LaViDa-O is only 6.68→6.46, making statistical uncertainty.

[1] Improving Autoregressive Visual Generation with Cluster-Oriented Token Prediction, CVPR 2025 [2] Improved Masked Image Generation with Token-Critic, ECCV 2022

Questions
  1. Could the authors report a controlled ImageNet-256 ablation comparing models trained with and without the edit-aware corruption/correction loss, while keeping architecture, and compute fixed? The current sampling-only comparison does not establish whether the correction training objective itself improves FID. This would determine whether the main gains arise from the proposed techniques or from scaling and initialization.

  2. How does GCE differ from IAR’s Cluster-oriented Cross-Entropy Loss [1]?

  3. Please report the fraction of tokens edited, how often edits restore the ground-truth token in controlled experiments, whether tokens oscillate between values, and its effects on FID, GenEval, and DPG. A comparison with remasking or Token-Critic-style correction would clarify the benefit of direct replacement.

Limitations

The discussion would be better to additionally acknowledge the dependence on an 8B pretrained language model and a particular 131K tokenizer, and the substantial cost of training for 16 days on 64 H100 GPUs.

Paper formatting concerns

no

Final justification

The rebuttal and additional experiments resolve my main concerns. The main remaining issue is presentation: the paper should clearly describe the two-stage training procedure in the main text and specify which objectives are used in each stage, particularly that token editing is enabled only in Stage 2.

1 comment

W1 Confounded Evaluation of Token Editing and GCE

Table 8 of Appendix B.5 already ablates corruption/correction loss at ratios 0.1, 0.3, and 0.5 in a compute-matched setting (8B model, 10k steps, stage 2 data). We add the zero-corruption result below.

Corruption RateHPSv3GenEvalDPG
0 (no edit loss)7.890.7179.2
0.18.990.7781.3
0.38.970.7580.0
0.57.520.6873.4

For GCE, we use ImageNet mainly to match SNCE as its soft labels introduce considerable overhead and are difficult to scale. We provide additional 8B ablations below.

Unlike token editing, which is added only during high-resolution training (stage 2), GCE is used from the start of pretraining (stage 1), requiring a different setup. We evaluated the original 20k-step stage-1 checkpoint and conducted new 20k-step runs with a matched learning-rate schedule. Each run takes 22 hours on 64 H100 GPUs. We also implemented IAR's Cluster-oriented Cross-Entropy (CCE). Unlike GCE, CCE reorders indices to enforce balanced cluster sizes and lacks GCE's hierarchy (see W2 for more discussion).

LossHPSv3GenEvalDPG
GCE @ 20k7.120.5468.2
CE @ 20k6.470.4263.7
CCE @ 20k6.450.4561.0

GCE and token editing improve HPSv3, GenEval, and DPG in compute-matched settings.

W2 IAR Baseline

GCE differs from IAR's Cluster-oriented Cross-Entropy Loss in the following aspects

Motivation: IAR “rearrange the codebook” such that “neighboring embeddings are as close to each other”. It uses clustering to rearrange codebooks such that token i and i+1 are close to each other in embedding space. The clustering loss is applied by dividing rearranged tokens into equally sized consecutive buckets. By contrast, GCE is motivated by soft-label SNCE which argues learning signals of a token should be proportional to its proximity to ground truth, which is different from IAR and is materialized in its hierarchical structure.

Concretely, the main difference is that

  • a) IAR enforces balanced number of tokens per class, while GCE respects the underlying distance and allows a variable number of clusters
  • b) To support varying sized clusters, we design a custom operator (Sec 4.3 and Appendix A.3) that greatly reduces latency and memory overhead compared to naive implementations
  • c) We employ a hierarchical structure, which makes training more smooth as tokens close to ground truth receive signals from all clustering levels, tokens that are further away receive signals from fewer levels, while IAR treats all tokens in a fixed-sized large cluster equally. This construct is missing in IAR.
  • d) GCE and token editing are connected components. In particular, we use the same clustering not only in GCE, but also to provide corrupted tokens in token editing. Consequently, token editing will help the model to correct within-cluster prediction. SCULPT’s contribution should be considered in whole as opposed to disconnected components.
  • e) IAR studies AR models.

Experiments In rebuttal W1, we provide results of GCE and CCE in compute-matched settings of 8B model. We report additional results on ImageNet 256 below.

MaskGiT-GCEMaskGiT-CCE
FID2.712.96

To further explain the gap, we evaluate the reconstruction quality with cluster centroid embeddings from varying sized clusters (GCE) and fixed sized clusters (CCE).

Reconstruction PSNR
Varying28.2 dB
Balanced26.9 dB

The gap suggests that balanced clusters lead to worse reconstruction because it has large intra-cluster differences.

Empirically, we find that the smallest cluster for GCE has only 1 token, while the largest cluster has 391 tokens for K=8192, suggesting non-uniform density. Through visual examination, we find that tokens in low-frequency regions (e.g. background, skies) tend to belong to smaller sized clusters than high-frequency regions (e.g. faces). When we increase K to 16384, the cluster range becomes [1,192]. This warrants our imbalance cluster and multi-hierarchy design.

Finally, we note an important nuance here. While CCE does not have any hierarchical construct, its reordering + bucketing design means a hypothetical hierarchical extension to CCE will enforce a strict subdivision. I.e. When increasing K=8192 to K=16384, it will subdivide each of the 8192 clusters to 2 sub-clusters. However, the multi-granularity clustering of GCE does not assume this relation. When increasing K=8192 to K=16384, some small clusters remain unchanged because the embeddings are already close-enough.

Hence, while IAR is a relevant literature, GCE’s contribution remains significant and impactful. We thank the reviewer for pointing out this relevant work and will add this discussion in the final version.

W3 Remasking/Token Critic Baseline

As requested by the reviewer, we report additional ImageNet-256 results, including comparisons with CCE. We also compare with prior state-of-the-art works in masked image generation and a continuous baseline DiT-XL.

ModelFID
DiT-XL2.27
————
Mask GiT [1]6.56
MaskGIT+Token-Critic [2]4.69
MaskGIT+Remasking [3]4.45
Halton-MaskGIT [4]3.74
————
MaskGiT-GCE*2.71
Mask GiT-GCE+Remasking*2.64
Mask GiT-GCE+TokenEdit Loss*2.68
Mask GiT-GCE+TokenEdit Loss + TokenEdit Inference*2.24

*reproduced by us, using FVQ tokenizer, 200 epoch schedule. Other numbers are cited from respective papers

These results show that using token edit training loss does help. We also note that we actually established new state-of-the-art results on ImageNet 256 among the masked image generators and even outperforms continuous DiT-XL baseline. For our implementation, we only compared remasking because token-critic requires training an extra “20-layer, 12 head” transformer, which is non-trivial overhead and hard to scale to actual 8B models.Its reported number in literature is also worse than remasking.

W4 Limited Evaluation Metric

We provide additional evaluation results beyond HPSv3 in Section W1, including GenEval and DPG. For benchmark-contamination, we did not find any overlap in training prompts and evaluation prompts. We also did not use any images of HPDv3, which is used to train the HPSv3 scorer.

For small improvements on MJHQ-30k FID, we note that this metric is included merely for completeness with literature. It is widely known not to be a good measurement of actual image quality for large scale T2I generation. It only measures the alignment of a set of Midjourney-generated images from 2024, which are two years old. As a concrete example, BLIP-3o [5] also found that “GPT-4o on the MJHQ-30k dataset produced a score of around 30.0, underscoring that FID can be misleading in the image generation evaluation”

Q1 Could the authors report a controlled ImageNet-256 ablation comparing models trained with and without the edit-aware corruption/correction loss

See table in section W3 above. Token edit leads to improved FID scores on ImageNet and actually establishes a new state-of-the-art among the family of masked image generators.

Q2 How does GCE differ from IAR’s Cluster-oriented Cross-Entropy Loss [1]?

See discussion in W2.

Q3 Misc

The fraction of tokens is edited? We observe that 6.04% of the tokens are explicitly edited. However, in the final generated images, 93.29% of tokens are different even when the seed is fixed. This is because early trajectory correction changes the condition in later steps and mitigates error propagation, which results in large differences in final predictions observed in visualization figures.

How often edits restore the ground-truth token. We note that at inference there is no notion of “ground truth” as only prompts are available. Training accuracy is also not a good indicator because in training we compute targets on all positions but at inference, only high confident positions are edited each step. Additionally, we find that the training accuracy is only 0.006 even for fully converged ImageNet checkpoints w/o token editing loss, this is because the large codebook makes exact top-1 prediction incredibly difficult. Hence, accuracy and ground-truth recovery are not good signals.

We hope the reviewer could clarify what is the intended setup of "restore the ground-truth token in controlled experiments”.

Whether tokens oscillate between values We do not observe this behavior. We are happy to provide additional quantitative results if the reviewer is interested in a specific metric.

The effects of token editing on FID, GenEval, and DPG. See tables and discussions in W1 and W2 response. We want to additionally note that on GenEval specifically, we find that the performance gain concentrates on attribution and counting categories, as opposed to positions.

A comparison with remasking or Token-Critic-style correction. See results in W3

L1 Limitation

While SCULPT requires substantial cost of training for 16 days on 64 H100 GPUs, we highlight that our model is open-source. Its strong performance makes it an ideal foundation for future research in masked discrete visual generation, such as post-training and distillation. In the foundational model pre-training regime, 16 days on 64 H100 GPUs is modest compared to baselines like SD3 in Table 1.

[1]Improving Autoregressive Visual Generation with Cluster-Oriented Token Prediction

[2]Improved Masked Image Generation with Token-Critic

[3]Remasking Discrete Diffusion Models with Inference-Time Scaling

[4]Halton Scheduler for Masked Generative Image Transformer

[5]BLIP3-o: A Family of Fully Open Unified Multimodal Models—Architecture, Training and Dataset

Reviewer_P6vtOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The authors propose SCULPT, an advanced 8 billion parameter masked discrete diffusion model designed for high resolution text to image synthesis. To overcome the limitation of traditional discrete diffusion models which lack self correction capabilities during inference, SCULPT incorporates a dynamic token editing mechanism. This allows the model to iteratively revise previously unmasked tokens, significantly enhancing image fidelity. Furthermore, to mitigate the extreme gradient sparsity associated with large vocabulary codebooks, the paper introduces a Grouped Cross Entropy objective that applies one hot cross entropy at multiple hierarchical cluster levels to supply positive learning signals to semantically similar tokens, complemented by a highly efficient custom fused operator.

Strengths and weaknesses

Strengths

  1. The introduction of the token editing mechanism successfully endows masked discrete diffusion models with the crucial ability to self correct and iteratively refine visual textures
  2. The Grouped Cross Entropy objective provides an elegant and effective solution to the sparse training signal problem by leveraging hierarchical clustering to supply positive learning signals to semantically similar tokens.
  3. The custom fused operator significantly optimizes the training process by reducing both the latency and the VRAM overhead, making the scaling of the model practically feasible.

Weaknesses

  1. Although the token editing mechanism substantially improves generation quality, the model still occasionally generates erroneous outputs and cannot completely eliminate all structural artifacts.
  2. The Grouped Cross Entropy objective relies on fixed offline K means clustering, which might lack the dynamic flexibility required to adapt if the feature space shifts significantly during training.
  3. The token editing performance depends heavily on manually tuned hyperparameters including the confidence threshold and corruption level, which require extensive empirical grid search to optimize.
Questions

Since token editing evaluates probabilities at all token positions rather than only masked positions, can the authors supply a detailed quantitative breakdown illustrating the exact inference latency per step compared to the baseline?

Limitations

Yes.

Paper formatting concerns

No concerns.

Final justification

I appreciate the authors' rebuttal. Their responses have generally addressed my concerns. I am keeping my original positive score.

1 comment

W1 Token Editing Does Not Completely Remove Artifacts

We thank the reviewer for recognizing this limitation, which we also acknowledged in appendix Section D. We note that no current generative model removes all artifacts; token editing reduces them and is a meaningful contribution in the right direction.

W2 Offline K-means may sacrifice flexibility if features are shifted.

We clarify that the VQ tokenizer is frozen during training, which means that the corresponding encoder embeddings will not change during training. The feature spaces are not shifted, and offline K-means remains valid.

W3 Token editing performance heavily depends on hyperparameters.

We conducted a thorough analysis of the effect of these hyperparameters. First, as noted in results from Appendix B.5, we see no significant differences in image quality when the corruption rate lies within a reasonable range. The only exception is that image quality degrades when corruption becomes too large. This is because high corruption levels (e.g., 0.5) make it substantially more difficult to distinguish clean tokens and corrupted tokens due to the lower signal-to-noise ratio, increasing optimization difficulty.

For the confidence threshold, we provided ablation studies in appendix B.3 and Figure 6, evaluating the performance of SCULPT with different thresholds. Overall, enabling token editing consistently outperforms the no-editing baseline, suggesting our method is not dependent on a particular choice of hyperparameters.

Q1 Compute Cost

We note that all clean and masked tokens are passed to the transformer at each inference step even in vanilla sampling without editing. The only additional cost is the final linear head, softmax normalization, and sampling. The average per step latency gap is only 4.32 ms when editing is enabled. The end-to-end per-image latency is 8.27s with token editing and 7.99s without token editing for a 64 step schedule, which is only 3% difference.

Additionally, we note that in Figure 6, 32 steps generation with editing matches the image quality of 64 steps generation without editing, so token editing is more efficient in that it can achieve comparable quality with fewer steps.

Comments on the paper

1 comment
Meta-review

Summary of Consensus

While SCULPT introduces token editing and Grouped Cross-Entropy (GCE) for masked discrete diffusion models, reviewers agree that critical flaws in evaluation methods, missing baselines, and originality concerns.

Key Points In Rebuttal

  • Confounded Evaluation: The 8B model simultaneously alters architecture, data, and tokenizer. There are no compute- or parameter-matched baselines trained without GCE and token editing to isolate the actual source of the gains.
  • Flawed Ablation: The token-editing ablation only compares inference modes on a model already trained with the corruption objective, failing to prove the training objective itself improves generation].
  • Originality & Baselines: GCE heavily overlaps with the uncited Cluster-oriented Cross-Entropy Loss, and token editing lacks comparison against prior methods like Token-Critic.
  • Unquantified Overhead: The exact inference latency penalty for evaluating probabilities at all token positions during editing is missing.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.