arXiv:2610.17187eess.ASOct 2026

Manuscript Offprint

arXiv:2610.17187

MSVAE: Rethinking Musical Semantics in Continuous Latent Spaces

Guobin Ma, Yuepeng Jiang, Dake Guo, Huakang Chen, Yuan Zhou, Lingxin Xiong, Wenkai Cheng, Jingbin Hu, Hanke Xie, Chunbo Hao, Wenhao Li, Ziqian Ning, Jixun Yao, Jian Zhao, Zhonglin Jiang, Yong Chen, Lei Xie, Pengcheng Zhu

Guobin Ma 1,2^{1,2}, Yuepeng Jiang 1^{1}, Dake Guo 1^{1}, Huakang Chen 1^{1}, Yuan Zhou 3^{3}, Lingxin Xiong 2^{2}, Wenkai Cheng 1^{1}, Jingbin Hu 1^{1}, Hanke Xie 1^{1}, Chunbo Hao 1^{1}, Wenhao Li 1^{1}, Ziqian Ning 1^{1}, Jixun Yao 1^{1}, Jian Zhao 2^{2}, Zhonglin Jiang 2^{2}, Yong Chen 2^{2}, Lei Xie 1^{1}, Pengcheng Zhu 4,5^{4,5}

1^{1}Audio, Speech and Language Processing Group (ASLP@NPU), School of Software, Northwestern Polytechnical University, China

2^{2}Geely Automobile Research Institute (Ningbo) Company Ltd, China

3^{3}Independent Researcher, China

4^{4}Faculty of Electronic and Information Engineering, Xi'an Jiaotong University, China

5^{5}WeNet Open Source Community, China

guobin.ma@mail.nwpu.edu.cn, lxie@nwpu.edu.cn, zpcoftts@gmail.com

Abstract

Continuous latent representations underlie recent diffusion-based lyrics-to-song and text-to-music systems, yet aligning lyric conditions with these latents remains difficult: existing systems resort to generator-side machinery such as sentence-level timestamps, auxiliary alignment objectives, or semi-autoregressive decoding, while the latents they predict are still produced by autoencoders trained purely for reconstruction. We address this difficulty from the representation side. We propose MSVAE (Music Semantic Variational Autoencoder) 1^{1}, which structures its continuous latent around two complementary semantic streams—work-level compositional content and lyric-level linguistic-vocal content. Partitioned dual-stream alignment makes both streams explicit by aligning disjoint latent subspaces with frozen lead-sheet and ASR references, while a semantic-first gated residual posterior derives its base from a frozen music-SSL encoder and admits acoustic information only through gated, bounded corrections. MSVAE achieves competitive stereo reconstruction and stronger MARBLE probing than continuous-autoencoder baselines, and improves downstream lyrics-to-song and text-to-music generation. Notably, with only an untimed phoneme prefix and no lyric timing, MSVAE yields the lowest phoneme error rate, whereas all baseline representations require sentence-level alignment to produce intelligible vocals.

Introduction

Continuous latent representations have become a mainstream modeling space for recent diffusion-based generative models, including music generation models. Musical semantics encompass high-level melodic and harmonic organization as well as more explicit content relations such as lyric-vocal correspondence. Yet current continuous-latent systems struggle even with the latter: despite being directly observable and measurable, correspondence between lyric conditions and continuous latent sequences remains difficult to learn. Existing systems address this problem through auxiliary representation-alignment objectives, sentence-level temporal supervision, post-training rewards for alignment, and semi-autoregressive decoding (Ning et al. 2025; Gong et al. 2025, 2026; Jiang et al. 2025). Despite their differences, all of these mechanisms are improvements on model design, while the target latents are mostly produced by autoencoders trained primarily for waveform reconstruction.

Purely reconstruction-oriented training of music autoencoders preserves the rich acoustic detail required for waveform synthesis, but nothing in it ensures that content factors such as melody, harmony, and lyric-related linguistic information are organized in an explicit and predictable way in the latent space. As a result, the downstream generator must learn not only the latent distribution but also how these high-level content factors are organized within an acoustically oriented space, transferring substantial content-modeling pressure to the generator. Consistent with this, recent work in speech and general audio synthesis (Niu et al. 2025; Dinkel et al. 2026; Yang et al. 2026; Zhang et al. 2026; Yan et al. 2025; Li et al. 2026) uses semantic supervision or self-supervised encoder features to learn continuous audio latents. These studies show that semantic guidance can encourage more structured latent spaces that are better suited to downstream generation. This motivates addressing the difficulty from the representation side — designing a music semantic VAE whose latent supports high-fidelity reconstruction while explicitly structuring musical content. This raises a fundamental question: what constitutes musical semantics?

Song-level semantic content comprises two primary, complementary streams: work-level compositional content, including melody and harmony, and lyric-level linguistic-vocal content (Meseguer-Brocal, Cohen-Hadria, and Peeters 2018). The two semantic streams do not correspond to separate audio sources — vocal melody itself belongs to compositional content: a sung phrase carries melodic contour while simultaneously conveying phonetic content. ACE-Step reflects this distinction in practice: its REPA (Yu et al. 2025) objective separately aligns the same DiT representation with MERT (Li et al. 2024) and mHuBERT (Boito et al. 2024), drawing music- and speech-oriented semantic guidance in parallel. Yet the mHuBERT component is reduced to 0.01 during fine-tuning to avoid suppressing instrumental sounds (Gong et al. 2025), indicating that heterogeneous semantic objectives can interfere when imposed on an undi-

1^{1}Demo, code, and weights: https://aslp-lab.github.io/MSVAE/ vided representation. The first challenge is therefore to make both streams explicit within a compact latent without letting them interfere with each other.

An SSL encoder does not explicitly distinguish the two streams defined above, but its output is already organized around content and therefore provides a more structured substrate for making the two streams explicit. At the same time, SSL features do not preserve all the acoustic information required for high-fidelity reconstruction. This motivates combining SSL-derived semantic structure with reconstruction-relevant acoustic information in a shared continuous latent. Without appropriate constraints, however, the reconstruction objective may dominate this fusion and make the latent depend primarily on the acoustic pathway, thereby weakening its semantic organization. The second challenge is therefore to construct a continuous music latent that preserves a clear and predictable semantic organization while retaining the acoustic detail required for high-fidelity reconstruction.

To address these challenges, we propose MSVAE (Music Semantic Variational Autoencoder), built on partitioned dual-stream alignment and a semantic-first gated residual posterior. The partitioned objective aligns disjoint latent subspaces with representations from frozen SheetSage (Donahue, Thickstun, and Liang 2022) and FireRedASR (Xu et al. 2025) encoders, making compositional and linguistic-vocal content explicit while limiting interference between their supervision signals. The gated residual posterior derives its semantic base from a frozen MuQ (Zhu et al. 2025) encoder and admits reconstruction-relevant acoustic information only through bounded residual corrections. MSVAE embeds explicit content organization within the VAE latent rather than leaving it entirely to the downstream generator.

The main contributions are summarized as follows:

• We propose MSVAE, a Music Semantic VAE that addresses lyric–audio correspondence at the representation level by organizing compositional and linguistic-vocal content in separate latent subspaces.

• We introduce a semantic-first gated residual posterior, which derives its semantic substrate from frozen MuQ features and integrates reconstruction-relevant acoustic details via bounded residual corrections.

• MSVAE demonstrates competitive reconstruction, superior MARBLE probing, and improved downstream lyrics-to-song and text-to-music generation. Notably, it enables intelligible vocal synthesis from untimed phoneme prefixes without relying on sentence-level lyric timing.

References (36)