AI engineering glossary · Generative media multimodal

What is RVQ (residual vector quantisation)?

Residual vector quantisation (also called RVQ): A compression method that applies several codebooks in sequence, each one encoding the error left by the previous one. More codebooks give higher fidelity, and the stack of indices per frame forms the tokens used by neural audio codecs.

Level: advancedTopic: Generative media multimodal

Residual vector quantisation: an example

A codec uses 8 codebooks per frame: the first captures the coarse sound and later ones add fine detail, so dropping the last few lowers bitrate.

Related terms

More Generative media multimodal terms

Where you learn it

Residual vector quantisation is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.