English

Token-Based Audio Inpainting via Discrete Diffusion

Sound 2026-02-18 v4 Artificial Intelligence Information Theory Machine Learning Audio and Speech Processing math.IT

Abstract

Audio inpainting seeks to restore missing segments in degraded recordings. Previous diffusion-based methods exhibit impaired performance when the missing region is large. 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. Visit our project page for examples and code.

Keywords

Cite

@article{arxiv.2507.08333,
  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},
  journal= {arXiv preprint arXiv:2507.08333},
  year   = {2026}
}
R2 v1 2026-07-01T03:56:03.934Z