continuous_tokenizer icon indicating copy to clipboard operation
continuous_tokenizer copied to clipboard

Confusion about generation process of the auto-regressive soft-VQVAE

Open Jimmy3141 opened this issue 1 year ago • 2 comments

Good work! Your soft-VQVAE has surpassed some classical words like MaskGITT.

Image

In traditional autoregressive models, the process typically involves two main steps: first, quantizing the images into discrete tokens, and then training an autoregressive model such as Pixel-CNN or a bidirectional transformer. These models predict the next-state distribution based on previously decoded categories, relying on sequential decoding.

However, in the softVQ-VAE framework, each token is represented as a continuous distribution rather than a discrete category. How did you model this distrubution? I have seen that you used KL divergence to constrain this distrubtion to a uniform distribution. In the generation process, did you randomly sample from uniform distribution to form the input to the decoder?

Jimmy3141 avatar Apr 07 '25 12:04 Jimmy3141

Thanks for your question. For AR generation of continuous tokens, one only need to replace the cross-entropy objective with a diffusion objective (using a diffusion head). Please refer to MAR paper: https://arxiv.org/abs/2406.11838 for more details.

Hhhhhhao avatar May 29 '25 00:05 Hhhhhhao

Thanks for your question. For AR generation of continuous tokens, one only need to replace the cross-entropy objective with a diffusion objective (using a diffusion head). Please refer to MAR paper: https://arxiv.org/abs/2406.11838 for more details.

I see. Thank you for your reply.

Jimmy3141 avatar May 29 '25 02:05 Jimmy3141