Summary
- The authors propose “learnable lattice vector quantization,” a method for discretizing autoencoder representations in the VQ-VAE framework.
- Their method, based on Babai rounding with a diagonal basis, only requires O(D) learned quantization parameters and is faster than nearest neighbor search with a codebook.
- They control the size of the codebook with careful initialization and a “size loss term” that increases the spacing between lattice points.
- Results on FFHQ-1024, FashionMNIST, and Celeb-A show that the proposed method achieves lower reconstruction error and trains faster than VQ-VAE.
Strengths
- The paper focuses on the discrete representation learning problem, an active field of research where improvements would be really useful.
- The method is described reasonably clearly.
- Results are shown on 3 different datasets, and there are visualizations of reconstructions from each model.
Weaknesses
- Missing key evaluation: Method is only evaluated on reconstruction, which is not the point of discretization. Since the beginning, discretization methods have been evaluated on how they enable generative modeling as a downstream task. The foundational models in this area, VQ-VAE and VQ-VAE-2, all have results on training autoregressive models on the discretized latents. [1] trains MaskGIT, another generative model, on its discretized latents. Without these generative modeling results, it’s hard to tell whether this discretization approach is actually useful.
- I’m not convinced that the codebook size K is actually small (the paper reports K=1,405 for their method).
- The “size loss term” (Eq. 7) $-\gamma \|diag(B)\|_1$ is not bounded below, so the entries of B should rapidly explode. This would quantize everything to 0 but minimize the total loss. The fact that this doesn’t happen makes me suspicious of the results in the paper.
- The results in this paper could just be explained by having a very fine discretization that barely modifies the input into the quantization layer.
- Baselines: There are papers like [1] that improve the VQ training process, but this paper does not compare against them.
[1] Huh, M., Cheung, B., Agrawal, P., & Isola, P. (2023). Straightening Out the Straight-Through Estimator: Overcoming Optimization Challenges in Vector Quantized Networks. arXiv preprint arXiv:2305.08842.
Questions
Major:
- How do you compute the codebook size K for your approach?
- Can you share pretrained models and code to reproduce the metrics? This would help me gain confidence in the validity and importance of the results.
Minor:
- page 1, paragraph 2: “leveraged to train language models over continuous data (Yan et al., 2021; Bao et al., 2021).” Neither of these are about language models. The first is about video generation and the second is about representation learning via BERT-style masking.
- Should use \citep more consistently.
- Eq. 5 notation is not typical for a diagonal matrix.
- Should move the B initialization to the main paper, since it seems like a crucial part of the method.
- Could move the architectural details in 4.1 to appendix if short on space.
- Section 4.1: What is the setting for $\gamma$?
- Section 4.1: I’m not convinced 5 epochs is enough.
- Table 2: I’m assuming duration is the training time?
- Table 2: What does No. embeddings/dataset mean? For VQ-VAE (EMA), why is it larger than the layer size?
- Page 7, where does 84/235 and 84/86 come from for the training time fraction?
Rating
3: reject, not good enough
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.