SandHouse
Pages

Fast Decoding in Sequence Models

https://arxiv.org/pdf/1803.03382

When the size of the discrete latent space K is large, then an issue with the approach of Section 2.3 is index collapse, where only a few of the embedding vectors get trained due to a rich getting richer phenomena. In particular, if an
embedding vector ej is close to a lot of encoder outputs enc(y1),...,enc(yi), then it receives the strongest signal
to get even closer via the EMA update of Equations (9) and (10). Thus only a few of the embedding vectors will
end up actually being used. To circumvent this issue, we propose two variants of decomposing VQ-VAE that make
more efficient use of the embedding vectors for large values of K.