Music Inpainting With Similarity-Guided Latent Diffusion

Sean Turland, Eloi Moliner, Vesa Välimäki
11/8/2026
cs.SDcs.LGeess.AS
diffusion-flow

No confident code implementation found for this paper.

Abstract

We propose a music inpainting technique combining similarity matching and a diffusion-based generative model to replace large segments of audio recordings with suitable alternatives. The proposed hybrid method, Similarity-Guided Diffusion Posterior Sampling (SimDPS), retrieves candidate replacement segments from the wider signal based on contextual similarity and uses them to guide the diffusion process toward coherent reconstructions.

Show full abstract

Being model-agnostic, the framework is compatible with any pre-trained diffusion model operating in either the waveform or latent domain. Objective evaluations demonstrate that SimDPS outperforms widely adopted RePaint and DPS methods across acoustic features and neural-embedding distance metrics. Subjective evaluations on multi-genre music datasets confirm that SimDPS enhances perceptual plausibility compared to previous diffusion-based methods and demonstrates robustness to poorly matched similarity candidates. These findings pave the way for improved music restoration and context-aware audio editing.

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{turland2026music,
  title  = {Music Inpainting With Similarity-Guided Latent Diffusion},
  author = {Sean Turland and Eloi Moliner and Vesa Välimäki},
  year   = {2026},
  eprint = {2611.11522},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.11522v1}
}

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/2611.11522.svg)](https://codeofpaper.com/paper/2611.11522)

Discussion