HyperAIHyperAI

Command Palette

Search for a command to run...

Qwen-Music 기술 보고서

초록

본 보고서에서는 완전한 보컬 노래를 포함하여 높은 음악성과 고음질의 곡을 생성할 수 있는 강력한 음악 생성 모델인 Qwen-Music을 소개합니다. Qwen-Music은 텍스트 설명, 가사, 음악적 속성으로부터 완전히 새로운 곡을 생성하는 텍스트-음악 생성과 기존 곡을 다른 스타일과 보컬 특성으로 재해석하는 커버곡 생성이라는 두 가지 핵심 작업을 지원합니다. 아키텍처 측면에서 Qwen-Music은 Qwen-Music-Tokenizer, Qwen-Music-LLM, Qwen-Music-Render의 세 가지 핵심 구성 요소를 통합합니다. Qwen-Music-Tokenizer는 오디오를 LLM 예측을 위한 의미적 및 멜로디 정보를 보존하는 Music Semantic Token의 25Hz 단일 코드북 스트림으로 압축합니다. 이러한 토큰을 기반으로 Qwen-Music-LLM은 자기회귀적 음악 의미 모델링을 수행하며, 주요 혁신으로는 전체 곡 생성 전에 멜로디를 계획하는 멜로디 토큰 기반 연쇄 사고(Melody-CoT) 메커니즘이 있어 창의성, 음악성, 구조적 일관성 및 참조 오디오 기반 멜로디 복제를 향상시킵니다. 이산적 의미 토큰의 충실도 한계를 극복하기 위해 Qwen-Music-Render는 생성적 스테레오 렌더링을 수행하여 음향적 세부 사항을 풍부하게 하고 고음질 스테레오 파형을 생성합니다. 마지막으로, 수백 개 언어를 포괄하는 500만 시간 이상의 다국어 음악 데이터로 Qwen-Music-LLM을 훈련합니다. 먼저 품질 인식 사전 훈련 커리큘럼을 적용한 후, 지도 초기화, 오프라인 DPO, 온라인 GSPO로 구성된 점진적 사후 훈련을 사용하여 음악성과 지시 따르기 능력을 더욱 향상시킵니다. 600개의 중국어 및 영어 프롬프트에서 Qwen-Music은 16개의 객관적 음악성 및 오디오 품질 지표 중 13개에서 최첨단 결과를 달성합니다. 전문 평가자들도 주요 독점 시스템보다 Qwen-Music을 선호합니다. 커버곡 생성의 경우, Qwen-Music은 AI 생성 참조 세트에서 Suno V5.5, Suno V5, MiniMax Cover보다 참조 멜로디를 더 정확하게 보존하며, 실제 인기곡 참조 세트에서는 대부분의 지표에서 MiniMax Cover를 능가합니다.

One-sentence Summary

The Qwen Team presents Qwen-Music, a music generation model that integrates a 25 Hz single‑codebook tokenizer, a Melody‑CoT‑augmented autoregressive LLM, and a generative stereo renderer, trained on more than 5 million hours of multilingual data with quality‑aware pre‑training and progressive post‑training, achieving state‑of‑the‑art results on 13 of 16 objective metrics and outperforming commercial systems such as Suno V5.5, Suno V5, and MiniMax Cover in both text‑to‑music and cover song generation while preserving reference melodies more accurately.

Key Contributions

  • Qwen-Music is a unified music generation system that combines a compact 25 Hz single-codebook Music Semantic Tokenizer, an autoregressive LLM with a melody-aware chain-of-thought (Melody-CoT) mechanism, and a generative stereo renderer, enabling both text-to-music and cover song generation.
  • The training pipeline pre-trains on over 5 million hours of multilingual music data using a quality-graded curriculum, then applies a progressive post-training stage with supervised initialization, offline DPO, and online GSPO to improve musicality, controllability, and instruction following.
  • Extensive evaluations show that Qwen-Music achieves state-of-the-art results on 13 of 16 objective text-to-music metrics, wins professional human preference tests against leading proprietary systems (e.g., 59.1% vs. MiniMax Music 2.5+), and preserves reference melodies more accurately than Suno V5.5, Suno V5, and MiniMax Cover in cover song generation.

Introduction

The authors address the challenge of generating full songs that are musically coherent, lyrically intelligible, and acoustically realistic, a task that requires joint modeling of lyrics, melody, vocal performance, and instrumentation over long time spans. Prior work struggles with the mismatch between high-level semantic planning and low-level waveform rendering: discrete-token language models can handle long-range composition but lose fine acoustic detail, while cover generation adds the extra constraint of preserving a reference melody under new stylistic conditions. The authors’ main contribution is Qwen-Music, a unified system that decouples song generation into a semantic composition stage and a generative acoustic rendering stage. It compresses music into a compact 25 Hz single-codebook token stream, uses an explicit melody-planning mechanism with a Melody-CoT approach, and employs a quality-graded training curriculum with multi-stage preference alignment to enable controllable text-to-music and reference-melody-based cover song generation.

Dataset

The authors use a large-scale collection of raw music tracks from diverse sources to train Qwen-Music-Render. Before training, every file passes through an acoustic quality pipeline that identifies and removes low-fidelity audio. The pipeline is detailed in the paper and summarized below.

  • Raw collection: The initial dataset consists of music files in lossless containers, but many are transcoded from MP3, duplicated mono, clipped, or upsampled with empty high-frequency content. No specific source list or total size is given; the pipeline is applied to the entire raw pool.

  • Quality filtering pipeline: Noise-floor estimation: The first and last 10% of the mono waveform are used as edge segments. Hann-windowed 8192-point RFFTs are computed over non-overlapping windows, peak-normalized, and averaged. The empirical noise floor η̂ is the 20 log₁₀ of the median magnitude of the top 10% bins. Cutoff detection: Five equally spaced interior windows (skipping near-silent regions) are processed similarly. The cutoff frequency f_c is the highest FFT bin whose mean magnitude stays above −80 dB relative to the peak. Drop measurement: A local energy drop Δ_dB is measured across ±2 kHz around f_c. If no reliable content exists above f_c, the post-cutoff maximum is replaced by η̂. Labels: Files are labeled hard_cutoff when f_c/f_Nyquist < 0.85 and Δ_dB ≥ 40 dB (or ≥ 25 dB near η̂). They are labeled suspicious when the ratio is < 0.90 with Δ_dB ≥ 20 dB. All others are natural.

  • Training usage: Only files that pass the quality check (i.e., are labeled natural) are kept for training the Qwen-Music-Render model. The filtering ensures that the renderer learns from genuine high-fidelity music, avoiding artifacts from lossy transcodes, upsampling, or clipping. The paper does not mention further cropping, metadata construction, or mixture ratios for this subset.

Method

The authors leverage an inference pipeline that transforms a user request into a complete high-fidelity stereo song. Given a natural-language description, the system first rewrites it into a structured textual condition containing musical tags and generated lyrics. Conditioned on this rewritten text, Qwen-Music-LLM autoregressively predicts Music Semantic Tokens, optionally incorporating reference melody tokens via Melody-CoT conditioning for cover song generation. Qwen-Music-Render then takes both the rewritten textual condition and the generated Music Semantic Tokens as input and performs generative rendering to produce high-fidelity 48 kHz stereo waveforms.

As shown in the figure below:

This pipeline is supported by three core components: Qwen-Music-Tokenizer, Qwen-Music-LLM, and Qwen-Music-Render.

Qwen-Music-Tokenizer is a low-bitrate discrete tokenizer that maps a raw music waveform into a single stream of 25 Hz Music Semantic Tokens. It uses a single backbone consisting of a convolutional frontend followed by a Conformer encoder. The authors train the backbone in four stages: bidirectional self-supervised pretraining with BestRQ, causal adaptation of the pretrained encoder, multi-task supervised fine-tuning with lyric and spectral targets, and VQ tokenizer training.

As illustrated in the figure below:

In the first stage, the encoder is trained bidirectionally with a masked-prediction objective. The loss is defined as: LBestRQ=1MtMCE(p(ht),q(xt))\mathcal{L}_{\mathrm{BestRQ}} = \frac{1}{|\mathcal{M}|} \sum_{t \in \mathcal{M}} \mathrm{CE}(p(h_t), q(x_t))LBestRQ=M1tMCE(p(ht),q(xt)) where M\mathcal{M}M is the set of masked frames, hth_tht is the encoder output at frame ttt, q()q(\cdot)q() is the frozen random-projection quantizer, and p()p(\cdot)p() is the prediction head. In the third stage, multi-task supervision is applied using a combined objective: LSFT=λctcLCTC+λmelLspecmel+λchrLspecchroma\mathcal{L}_{\mathrm{SFT}} = \lambda_{\mathrm{ctc}} \mathcal{L}_{\mathrm{CTC}} + \lambda_{\mathrm{mel}} \mathcal{L}_{\mathrm{spec}}^{\mathrm{mel}} + \lambda_{\mathrm{chr}} \mathcal{L}_{\mathrm{spec}}^{\text{chroma}}LSFT=λctcLCTC+λmelLspecmel+λchrLspecchroma The final stage inserts a single VQ codebook of 32768 entries under a cosine metric, trained with a straight-through estimator and a commitment loss.

Qwen-Music-LLM adopts an autoregressive backbone initialized from a 3B dense variant of Qwen3.5-Omni. To address the challenge of text-to-music generation where text prompts typically specify style and lyrics only at a high level, the authors introduce Melody-CoT, a melody-token-based chain-of-thought for explicit melody planning. Before generating full-mixture Music Semantic Tokens, the model is trained to produce an intermediate sequence of melody tokens that describes a coarse-grained vocal melody contour.

The Melody Tokenizer converts a reference vocal pitch contour into a compact sequence of discrete melody tokens. The pitch curve is downsampled by a factor of 8 with median pooling: f~=MedianPool8(f)\tilde{\mathbf{f}} = \text{MedianPool}_8(\mathbf{f})f~=MedianPool8(f) To prevent the melody condition from leaking absolute pitch range or singer-dependent timbre information, the authors use a relative MIDI representation. The melody token ziz_izi is computed as: mˉ=median{round(hz2midi(f~i))f~i>0}\bar{m} = \text{median}\{\text{round}(\text{hz2midi}(\tilde{f}_i)) \mid \tilde{f}_i > 0\}mˉ=median{round(hz2midi(f~i))f~i>0} zi={clip(round(hz2midi(f~i))mˉ,127,127)+127,f~i>0,255,f~i=0,z_i = \begin{cases} \operatorname{clip}(\text{round}(\mathrm{hz2midi}(\tilde{f}_i)) - \bar{m}, -127, 127) + 127, & \tilde{f}_i > 0, \\ 255, & \tilde{f}_i = 0, \end{cases}zi={clip(round(hz2midi(f~i))mˉ,127,127)+127,255,f~i>0,f~i=0,

Qwen-Music-Render is a three-stage neural render that turns discrete output into a high-fidelity waveform. The first stage is a Diffusion Transformer that produces a continuous latent through conditional flow matching. The second stage is Spec-VAE, whose Spec Decoder inverts the latent sequence back to a coarse complex STFT. The third stage is a Band-Mode Refiner that predicts frequency-adaptive magnitude and phase residuals.

To improve reconstruction quality, the authors introduce Spec-SnakeBeta, a frequency-aware extension of the SnakeBeta activation. While the original SnakeBeta uses channel-wise learnable parameters, Spec-SnakeBeta parameterizes α\alphaα and β\betaβ along the frequency axis: Spec-SnakeBeta(x)b,c,t,f=xb,c,t,f+1exp(βf)+ϵsin2(xb,c,t,fexp(αf))\text{Spec-SnakeBeta}(\mathbf{x})_{b,c,t,f} = x_{b,c,t,f} + \frac{1}{\exp(\beta_f) + \epsilon} \sin^2(x_{b,c,t,f} \cdot \exp(\alpha_f))Spec-SnakeBeta(x)b,c,t,f=xb,c,t,f+exp(βf)+ϵ1sin2(xb,c,t,fexp(αf)) The parameter αf\alpha_fαf is initialized with a log-frequency prior: αf=log(freqffˉ+ϵ),fˉ=1Fffreqf\alpha_f = \log\left(\frac{\mathrm{freq}_f}{\bar{f}} + \epsilon\right), \quad \bar{f} = \frac{1}{F} \sum_f \mathrm{freq}_fαf=log(fˉfreqf+ϵ),fˉ=F1ffreqf

As shown in the figure below:

This frequency-dependent parameterization provides the activation prior used by the Spec-VAE decoder.

The authors train Qwen-Music-Render only on files whose acoustic evidence matches a genuine high-fidelity music target. They apply an automated pipeline to filter out lossy-transcoded or upsampled files. The key idea is to estimate the noise floor from track edges and detect the spectral cutoff from interior segments. The empirical noise floor is estimated as: η^=20log10(median(Mˉedge[top 10% bins]))\hat{\eta} = 20 \log_{10}(\text{median}(\bar{\mathbf{M}}_{\text{edge}}[\text{top } 10\% \text{ bins}]))η^=20log10(median(Mˉedge[top 10% bins])) The local energy drop across a ±2\pm 2±2 kHz band around the cutoff fcf_cfc is measured as: ΔdB=maxMˉint[fc2kHz:fc]maxMˉint[fc:fc+2kHz]\Delta_{\mathrm{dB}} = \max \bar{\mathbf{M}}_{\mathrm{int}}[f_c - 2\mathrm{kHz}: f_c] - \max \bar{\mathbf{M}}_{\mathrm{int}}[f_c: f_c + 2\mathrm{kHz}]ΔdB=maxMˉint[fc2kHz:fc]maxMˉint[fc:fc+2kHz]

As shown in the figure below:

The detector flags files as hard cutoff or suspicious based on the cutoff ratio and the drop magnitude, ensuring only high-quality data is used for renderer training.

The authors adopt a quality-graded pre-training curriculum for the backbone LLM. They organize the corpus into quality levels and schedule them progressively. Stage 1 trains on lower-quality data to learn a general mapping from text conditions to music semantic tokens. Stage 2 trains on mid-quality data with a learning-rate decay schedule for quality consolidation. Stage 3 focuses on high-quality data for refinement, improving musicality, controllability, and instruction following.

After pre-training, the authors further align Qwen-Music-LLM with human musical preferences through a multi-stage post-training pipeline. Phase I performs supervised fine-tuning on curated high-quality data to establish a clean generation prior. Phase II performs iterative offline alignment with Direct Preference Optimization, progressively improving musicality and controllability. Phase III applies on-policy Group Sequence Policy Optimization for fine-grained musicality and audio-quality improvement.

Experiment

The evaluation setup covers text-to-music and cover song generation, assessed through blind A/B human preference tests, objective metrics, and genre-wise Bradley-Terry analysis, with Qwen-Music outperforming or matching leading commercial systems like Suno V5.5 across diverse musical styles. It validates the model's strong balance of musicality, controllability, lyric intelligibility, and melody preservation, while rendering ablations confirm that rewritten textual conditioning with text-drop classifier-free guidance and a Band-Mode Refiner improve audio fidelity and stereo reconstruction. Overall, Qwen-Music combines robust generation quality with high-fidelity rendering, showing competitive performance across a wide range of tasks and genres.

On the Artificial Analysis Music with Vocals Leaderboard, Qwen-Music (entered as JazzCat) achieved third place, trailing only Suno V5.5 and Mureka V8. It outperformed several strong competitors including Suno V5 and multiple MiniMax models, despite having fewer evaluation samples. JazzCat ranked third with an Elo score just behind Mureka V8 and Suno V5.5. JazzCat's Elo exceeds that of Suno V5 and MiniMax Music 2.5+ and 2.6, placing it among the top English vocal music generation systems.

The four-stage recipe progressively builds a discrete music tokenizer by first learning continuous representations via bidirectional masked prediction on 30-second crops, then adapting to causal attention, followed by multi-task supervised fine-tuning on full songs, and finally training a vector-quantized bottleneck. All stages use the same 0.6B-parameter Conformer backbone and are initialized from the previous checkpoint, except the first stage which starts randomly. Training advances from bidirectional BestRQ pretraining to causal adaptation, then to supervised lyric and spectral fine-tuning, and finally to VQ tokenizer training. Audio length increases from 30-second crops in the first two stages to full songs up to 300 seconds in the final two stages. The backbone is a 24-layer Conformer with 1024 width, 16 attention heads, and a 25 Hz latent rate, shared across all stages.

The training configuration evolves across three stages: reconstruction-only pretraining, adversarial fine-tuning with a waveform discriminator, and refiner training with frozen encoder-decoder using separate waveform and spectral discriminators. Optimizer choice shifts from Muon for the generator in early stages to AdamW for the refiner, while generator learning rate increases and batch size drops to 1. Discriminator learning rates are low, and only the spectral discriminator receives a warmup period. Stage 3 freezes the encoder-decoder and trains only the refiner, switching the generator optimizer to AdamW and using separate discriminators for waveform and spectral domains. The waveform discriminator learning rate is set to 10^-6, two orders of magnitude lower than the generator’s 1.5×10^-4, while the spectral discriminator uses 10^-5 and includes a 15k-step warmup. Generator learning rate is raised from 10^-4 in stage 1 to 1.5×10^-4 in stages 2 and 3, and per-GPU batch size is reduced from 4 to 1 in the later stages.

An automated quality gate inspects music files for encoder metadata, bitrate sufficiency, loudness compliance, genuine stereo separation, and genuine high-frequency content. The frequency cutoff module estimates noise floor from track edges independently of the spectral cutoff from interior segments, enabling reliable detection of upsampled or lossy-transcoded files. Only tracks that pass all rule-engine checks are admitted for renderer training. Metadata and encoder checks flag files carrying conversion tool signatures such as lavf, lavc, ffmpeg, or lame, or explicit transcode/convert tags. Bitrate quality is assessed through multiple criteria, including monotonic presentation timestamps, realized-to-nominal bitrate ratio, complex-segment mean bitrate, and coefficient of variation, with a tiered quality label from HiRes to Trash. Loudness is constrained to broadcast-standard ranges: integrated loudness between -25 and -5 LUFS, true peak between -1 and +2 dBFS, loudness range 3–15 LU, and peak-to-loudness ratio at least 6 LU. Fake stereo duplicates are rejected when the fraction of zero absolute difference between left and right channels exceeds 0.99. Frequency cutoff detection uses noise-floor estimates from the first and last 10% of the waveform to avoid silent-edge bias, then requires a hard energy gap of at least 40 dB around the cutoff, with suspicious cases flagged at 20 dB, and demands at least one valid interior segment where the cutoff ratio relative to Nyquist ranks above 0.5.

Across seven genres, Qwen-Music achieves the highest Bradley–Terry rating in four genres (Electronic/EDM, Jazz & Blues, Punk & Hardcore, and R&B/Soul), indicating strong listener preference in diverse styles. It remains competitive with Suno V5.5, ranking first or second in five genres, while Mureka V8 leads in Metal & Hard Rock and Suno V5.5 leads in Hip-Hop/Rap. These within-genre comparisons show that Qwen-Music is broadly preferred but not universally dominant. Qwen-Music is rated best in Electronic/EDM, Jazz & Blues, Punk & Hardcore, and R&B/Soul. In Hip-Hop/Rap, Suno V5.5 leads, and in Metal & Hard Rock, Mureka V8 leads, while Qwen-Music remains competitive (second in Pop and Hip-Hop/Rap).

Qwen-Music is evaluated as a top English vocal music generation system, ranking third on the Artificial Analysis leaderboard despite fewer evaluation samples. The model's tokenizer is built through a four-stage recipe that progressively moves from bidirectional pretraining to vector quantization on a Conformer backbone, while the renderer training advances through reconstruction, adversarial, and refiner stages with carefully tuned optimizers and discriminators. A rigorous automated quality gate filters training data by rejecting tracks with metadata issues, low bitrate, mono duplication, or missing high frequencies, ensuring only genuine high-fidelity stereo files are used. Across seven genres, listener preference tests show Qwen-Music achieves the highest rating in four genres and remains competitive overall, though it is not universally dominant.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp