Token-based Audio Inpainting via Discrete Diffusion

Tali Dror, Iftach Shoham, Moshe Buchris, Oren Gal, Haim Permuter +2 more
7/11/2025
cs.SDcs.AIcs.IT
diffusion-flow

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

Abstract

Audio inpainting seeks to restore missing segments in degraded recordings. Previous diffusion-based methods exhibit impaired performance when the missing region is large.

Show full abstract

We introduce the first approach that applies discrete diffusion over tokenized music representations from a pre-trained audio tokenizer, enabling stable and semantically coherent restoration of long gaps. Our method further incorporates two training approaches: a derivative-based regularization loss that enforces smooth temporal dynamics, and a span-based absorbing transition that provides structured corruption during diffusion. Experiments on the MusicNet and MAESTRO datasets with gaps up to 750 ms show that our approach consistently outperforms strong baselines across range of gap lengths, for gaps of 150 ms and above. This work advances musical audio restoration and introduces new directions for discrete diffusion model training. Audio examples of our proposed method can be found at https://iftach21.github.io/.

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{dror2025tokenbased,
  title  = {Token-based Audio Inpainting via Discrete Diffusion},
  author = {Tali Dror and Iftach Shoham and Moshe Buchris and Oren Gal and Haim Permuter and Gilad Katz and Eliya Nachmani},
  year   = {2025},
  eprint = {2507.08333},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.08333v3}
}

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

Discussion