Residual Vector Quantization for Capturing Complex Vocal Characteristics in Neural Music Generation

Authors

  • Tola Zbylut Department of Computer Science, University of New Hampshire, Durham, NH, USA. Author
  • Jaqueline Trapp Department of Computer Science, University of North Texas, Denton, TX, USA. Author
  • Rolf-Peter Tasche Department of Computer Science, University of Central Florida, Orlando, FL, USA. Author

Keywords:

residual vector quantization; neural audio codec; singing voice synthesis; discrete audio tokens; source-filter model; music generation

Abstract

Neural music generation systems increasingly operate on discrete audio tokens, yet the singing voice remains the hardest component to represent with adequate fidelity. Pitch inflections, phonation types, formant transitions, breath noise, and rapid articulatory events occupy very different time scales and dynamic ranges, while any tokenizer must compress them into a bounded number of discrete symbols. This manuscript develops a methodological framework for residual vector quantization (RVQ) as a tokenization interface specifically tuned to complex vocal characteristics in neural music generation. We formalize RVQ as a cascade of stage-wise codebooks that recursively quantize the residual of a source-filter audio representation, and we show analytically how its multi-stage structure aligns with the hierarchical organization of vocal production: coarse stages absorb the slowly varying spectral envelope and the pitch contour, whereas fine stages specialize in glottal detail, noise components, and expressive micro-variation. Building on high-resolution quantization theory, we derive the approximate geometric error-decay behavior that motivates stage-wise capacity allocation, formulate a training objective combining reconstruction, commitment, and codebook terms, and recast codebook sizing as a rate–distortion problem under a token-budget constraint. We further discuss codebook utilization diagnostics, the trade-off between token granularity and autoregressive modeling cost, and the implications of hierarchical token streams for controllable style transfer. The framework yields concrete design guidance — stage counts, per-stage codebook sizes, frame rates, and monitoring metrics — for building tokenizers that preserve vocal expressivity without inflating generative sequence length. These considerations are relevant to singing voice synthesis, lyric-conditioned music generation, and any pipeline that couples discrete audio tokens to controllable music models.

References

1. van den Oord, A., Dieleman, S., Zen, H., Simonyan, K., Vinyals, O., Graves, A., Kalchbrenner, N., Senior, A., & Kavukcuoglu, K. (2016). WaveNet: A generative model for raw audio. arXiv preprint arXiv:1609.03499.

2. van den Oord, A., Vinyals, O., & Kavukcuoglu, K. (2017). Neural discrete representation learning. Advances in Neural Information Processing Systems, 30, 6306–6315.

3. Gray, R. M. (1984). Vector quantization. IEEE ASSP Magazine, 1(2), 4–29.

4. Borsos, Z., Marinier, R., Vincent, D., Kharitonov, E., Pietquin, O., Sharifi, M., Roblek, D., Teboul, O., Grangier, D., Tagliasacchi, M., & Zeghidour, N. (2023). AudioLM: A language modeling approach to audio generation. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 31, 2523–2533.

5. Agostinelli, A., Denk, T. I., Borsos, Z., Engel, J., Verkuil, R., Caillon, A., Huang, Q., Jansen, A., Roberts, A., Tagliasacchi, M., Sharifi, M., & Zeghidour, N. (2023). MusicLM: Generating music from text. arXiv preprint arXiv:2301.11325.

6. Zeghidour, N., Luebs, A., Omran, A., Skoglund, J., & Tagliasacchi, M. (2022). SoundStream: An end-to-end neural audio codec. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 30, 495–507.

7. Défossez, A., Copet, J., Synnaeve, G., & Adi, Y. (2022). High fidelity neural audio compression. arXiv preprint arXiv:2210.13438.

8. Baevski, A., Zhou, H., Mohamed, A., & Auli, M. (2020). wav2vec 2.0: A framework for self-supervised learning of speech representations. Advances in Neural Information Processing Systems, 33, 12449–12460.

9. Hsu, W.-N., Bolte, B., Tsai, Y.-H. H., Lakhotia, K., Salakhutdinov, R., & Mohamed, A. (2021). HuBERT: Self-supervised speech representation learning by masked prediction of hidden units. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 29, 3451–3460.

10. Wang, C., Chen, S., Wu, Y., Zhang, Z., Zhou, L., Liu, S., Chen, Z., Liu, Y., Li, H., Zhao, S., & Wei, F. (2023). Neural codec language models are zero-shot text to speech synthesizers. arXiv preprint arXiv:2301.02111.

11. Copet, J., Kreuk, F., Gat, I., Remez, T., Kant, D., Synnaeve, G., Adi, Y., & Défossez, A. (2024). Simple and controllable music generation. Advances in Neural Information Processing Systems, 36, 47704–47720.

12. Dhariwal, P., Jun, H., Payne, C., Kim, J. W., Radford, A., & Sutskever, I. (2020). Jukebox: A generative model for music. arXiv preprint arXiv:2005.00341.

13. Razavi, A., van den Oord, A., & Vinyals, O. (2019). Generating diverse high-fidelity images with VQ-VAE-2. Advances in Neural Information Processing Systems, 32, 14866–14876.

14. Liu, J., Li, C., Ren, Y., Chen, F., & Zhao, Z. (2022). DiffSinger: Singing voice synthesis via shallow diffusion mechanism. Proceedings of the AAAI Conference on Artificial Intelligence, 36(10), 11020–11028.

15. Zhang, Y., Huang, R., Li, R., He, J., Xia, Y., Chen, F., ... & Zhao, Z. (2024, March). Stylesinger: Style transfer for out-of-domain singing voice synthesis. In Proceedings of the AAAI Conference on Artificial Intelligence (Vol. 38, No. 17, pp. 19597-19605).

16. Williams, W., Ringer, S., Ash, T., MacLeod, D., Hughes, J., Moore, J., Meyer, A., & Turek, M. (2020). Hierarchical quantized autoencoders. Advances in Neural Information Processing Systems, 33, 4524–4535.

17. Łańcucki, A. (2021). Fastpitch: Parallel text-to-speech with pitch prediction. In ICASSP 2021–2021 IEEE International Conference on Acoustics, Speech and Signal Processing (pp. 6588–6592). IEEE.

18. Kong, J., Kim, J., & Bae, J. (2020). HiFi-GAN: Generative adversarial networks for efficient and high fidelity speech synthesis. Advances in Neural Information Processing Systems, 33, 17022–17033.

19. Kumar, K., Kumar, R., de Boissiere, T., Gestin, L., Teoh, W. Z., Sotelo, J., de Brébisson, A., Bengio, Y., & Courville, A. C. (2019). MelGAN: Generative adversarial networks for conditional waveform synthesis. Advances in Neural Information Processing Systems, 32, 14910–14921.

20. Engel, J., Resnick, C., Roberts, A., Dieleman, S., Norouzi, M., Eck, D., & Simonyan, K. (2017). Neural audio synthesis of musical notes with WaveNet autoencoders. In Proceedings of the 34th International Conference on Machine Learning (pp. 1068–1077). PMLR.

21. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30, 5998–6008.

22. Polyak, A., Wolf, L., & Taigman, Y. (2021). Speech resynthesis from discrete disentangled self-supervised representations. In Proceedings of Interspeech 2021 (pp. 3585–3589).

Downloads

Published

2026-09-14