Similarity-Guided Diffusion for Long-Gap Music Inpainting

Sean Turland, Eloi Moliner, Vesa Välimäki
9/19/2025
eess.AScs.LGcs.SD
diffusion-flow

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Music inpainting aims to reconstruct missing segments of a corrupted recording. While diffusion-based generative models improve reconstruction for medium-length gaps, they often struggle to preserve musical plausibility over multi-second gaps.

Show full abstract

We introduce Similarity-Guided Diffusion Posterior Sampling (SimDPS), a hybrid method that combines diffusion-based inference with similarity search. Candidate segments are first retrieved from a corpus based on contextual similarity, then incorporated into a modified likelihood that guides the diffusion process toward contextually consistent reconstructions. Subjective evaluation on piano music inpainting with 2-s gaps shows that the proposed SimDPS method enhances perceptual plausibility compared to unguided diffusion and frequently outperforms similarity search alone when moderately similar candidates are available. These results demonstrate the potential of a hybrid similarity approach for diffusion-based audio enhancement with long gaps.

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. 1 weaker match is hidden by default — 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{turland2025similarityguided,
  title  = {Similarity-Guided Diffusion for Long-Gap Music Inpainting},
  author = {Sean Turland and Eloi Moliner and Vesa Välimäki},
  year   = {2025},
  eprint = {2509.16342},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.16342v1}
}

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

Discussion