Stylus: Repurposing Stable Diffusion for Training-Free Music Style Transfer on Mel-Spectrograms

Heehwan Wang, Joonwoo Kwon, Sooyoung Kim, Jungwoo Seo, Shinjae Yoo +2 more
11/24/2024
cs.SDcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Music style transfer enables personalized music creation by blending the structure of a source with the stylistic attributes of a reference. Existing text-conditioned and diffusion-based approaches show promise but often require paired datasets, extensive training, or detailed annotations. We present Stylus, a training-free framework that repurposes a pre-trained Stable Diffusion model for music style transfer in the mel-spectrogram domain. Stylus manipulates self-attention by injecting style key-value features while preserving source queries to maintain musical structure. To improve fidelity, we introduce a phase-preserving reconstruction strategy that avoids artifacts from Griffin-Lim reconstruction, and we adopt classifier-free-guidance-inspired control for adjustable stylization and multi-style blending. In extensive evaluations, Stylus outperforms state-of-the-art baselines, achieving 34.1% higher content preservation and 25.7% better perceptual quality without any additional training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2024stylus,
  title  = {Stylus: Repurposing Stable Diffusion for Training-Free Music Style Transfer on Mel-Spectrograms},
  author = {Heehwan Wang and Joonwoo Kwon and Sooyoung Kim and Jungwoo Seo and Shinjae Yoo and Yuewei Lin and Jiook Cha},
  year   = {2024},
  eprint = {2411.15913},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.15913v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.15913.svg)](https://codeofpaper.com/paper/2411.15913)

Discussion