atlas

Research map / Architectures and efficiency / Quantization

Finite Scalar Quantization: VQ-VAE Made Simple

ICLR 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of ViTs · 13 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes finite scalar quantization (FSQ), which bounds and rounds each of a few latent dimensions to yield an implicit codebook, as a drop-in replacement for VQ in VQ-VAEs, and shows competitive results with MaskGIT and UViM without auxiliary losses.

Problem

Vector quantization in VQ-VAEs suffers from underutilized codebooks and requires complex auxiliary machinery (commitment losses, codebook reseeding, splitting, entropy penalties) to learn expressive discrete representations.

Approach

Project the encoder output to a few dimensions, bound each channel to L_i fixed values via a bounding function, and round to integers with straight-through gradients; the product of per-channel level sets forms an implicit codebook with near-full utilization and no auxiliary losses.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace VQ with FSQUViM · NYU Depth v2RMSE: 0.468±0.012 -> 0.473±0.012Hurt
Replace VQ with FSQUViM · COCO PanopticPQ: 43.4±0.0008 -> 43.2±0.0014Hurt
Replace VQ with FSQUViM · ImageNet ColorizationFID-5k: 16.90±0.056 -> 17.55±0.057Hurt
Remove VAE context input (ablation)UViM (VQ) · COCO PanopticPQ: 43.4±0.0008 -> 39.0±0.0023Hurt
Remove VAE context input (ablation)UViM (FSQ) · COCO PanopticPQ: 43.2±0.0014 -> 40.2±0.0019Hurt
Disable codebook splitting (ablation)UViM (VQ) · NYU Depth v2RMSE: 0.468±0.012 -> 0.490±0.0037Hurt
Increase FSQ codebook sizeMaskGIT · 128×128 ImageNetReconstruction FIDHelped
Increase VQ codebook size beyond 2^11 codesMaskGIT · 128×128 ImageNetReconstruction FIDHurt
Use FSQ instead of VQ at large codebook sizesMaskGIT · 128×128 ImageNetSampling FIDHelped
Use FSQ instead of VQ for codebooks larger than 2^11MaskGIT · 128×128 ImageNetCodebook usageHelped
Use FSQ instead of VQMaskGIT · 256×256 ImageNetSampling FIDNo clear effect
Use FSQ levels below 5 in any channel (ablation)FSQ MaskGIT · 128×128 ImageNetSampling FIDHurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet NYU Depth v2 COCO Panoptic

Benchmarks: ImageNet NYU Depth v2 COCO Panoptic

Metrics: FID precision recall reconstruction FID codebook usage compression cost RMSE PQ FID-5k

Baselines: MaskGIT (VQ) ADM UViM (VQ) DenseDepth DETR-R101 ColTran

Builds on: VQ-VAE VQ-GAN MaskGIT UViM straight-through estimator

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy