Masked Vector Quantization

David D. Nguyen, David Leibowitz, Surya Nepal, Salil S. Kanhere
1/16/2023
cs.LGcs.CV

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Generative models with discrete latent representations have recently demonstrated an impressive ability to learn complex high-dimensional data distributions. However, their performance relies on a long sequence of tokens per instance and a large number of codebook entries, resulting in long sampling times and considerable computation to fit the categorical posterior. To address these issues, we propose the Masked Vector Quantization (MVQ) framework which increases the representational capacity of each code vector by learning mask configurations via a stochastic winner-takes-all training regime called Multiple Hypothese Dropout (MH-Dropout). On ImageNet 64$\times$64, MVQ reduces FID in existing vector quantization architectures by up to $68\%$ at 2 tokens per instance and $57\%$ at 5 tokens. These improvements widen as codebook entries is reduced and allows for $7\textit{--}45\times$ speed-up in token sampling during inference. As an additional benefit, we find that smaller latent spaces lead to MVQ identifying transferable visual representations where multiple can be smoothly combined.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nguyen2023masked,
  title  = {Masked Vector Quantization},
  author = {David D. Nguyen and David Leibowitz and Surya Nepal and Salil S. Kanhere},
  year   = {2023},
  eprint = {2301.06626},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.06626v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.06626.svg)](https://codeofpaper.com/paper/2301.06626)

Discussion