Residual vector quantization — AI Dictionary

Quantizing in layers: each codebook encodes the error the previous one left behind, giving coarse-to-fine tokens.