Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trick

About

Vector quantization is common in deep models, yet its hard assignments block gradients and hinder end-to-end training. We propose DiVeQ, which treats quantization as adding an error vector that mimics the quantization distortion, keeping the forward pass hard while letting gradients flow. We also present a space-filling variant (SF-DiVeQ) that assigns input to a curve constructed by the lines connecting codewords, resulting in less quantization error and full codebook usage. Both methods train end-to-end without requiring auxiliary losses or temperature schedules. In VQ-VAE image compression, VQGAN image generation, and DAC speech coding tasks across various data sets, our proposed methods improve reconstruction and sample quality over alternative quantization approaches.

Mohammad Hassan Vali, Tom B\"ackstr\"om, Arno Solin• 2025

Related benchmarks

TaskDatasetResultRank
Image GenerationCelebA-HQ
FID5.21
92
Image GenerationFFHQ (test)
FID5.11
77
Image GenerationLSUN Bedroom v1 (test)
FID4.87
56
Image GenerationAFHQ v1 (test)
FID5.4
56
Image GenerationLSUN Church v1 (test)
FID3.56
55
Speech DecompressionVCTK (test)
Log Spectral Distance1.01
28
Showing 6 of 6 rows

Other info

Follow for update