← Latest papers
💬 NLP

Multi Codec Discrete Diffusion Model for Text Guided Speech Inpainting and Editing

The paper introduces SIEDD, a multi-codec discrete diffusion model that leverages hierarchical token generation and text-guided conditioning to achieve state-of-the-art performance in speech inpainting and editing while preserving speaker identity and prosody.

Original authors: Iftach Shoham, Tali Dror, Oren Gal, Haim Permuter, Gilad Katz, Eliya Nachmani

Published 2026-08-10
📖 5 min read🧠 Deep dive

Original authors: Iftach Shoham, Tali Dror, Oren Gal, Haim Permuter, Gilad Katz, Eliya Nachmani

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are listening to a favorite song, but suddenly a few seconds of the melody are missing, or perhaps someone whispered a word you didn't want to hear. In the world of audio science, fixing these holes without ruining the rest of the track is a bit like trying to repair a torn tapestry. You can't just glue a new piece of fabric on top; the new thread has to match the color, the weave, and the tension of the surrounding fabric perfectly. For decades, computers struggled with this. They could fix tiny scratches, but if a whole sentence was missing, they often sounded robotic or out of sync with the speaker's voice.

Recently, scientists have started using a clever trick called "diffusion" to solve this. Think of diffusion like a game of "telephone" played in reverse. Imagine a clear picture that gets slowly covered in static noise until it's just a blur of gray. A diffusion model is a smart AI that learns how to take that blurry gray mess and slowly peel away the noise, step-by-step, until the original picture reappears. While this works great for images, doing it for speech is tricky because speech isn't just one smooth line; it's built in layers, like a cake with different flavors stacked on top of each other. This paper dives into how to use this "reverse noise" game to fix speech, but with a special twist that respects those layers.

The researchers behind this study, Iftach Shoham and his team, introduce a new system called SIEDD (Speech Inpainting and Editing via Discrete Diffusion). Their main goal was to create a tool that can either fill in missing parts of a recording (inpainting) or swap out words for new ones (editing) while keeping the speaker's voice, rhythm, and emotion exactly the same. They found that previous methods, which tried to build speech one word after another like a train on a track, often made mistakes that piled up. If the AI got the first word slightly wrong, the rest of the sentence would sound off.

Instead, SIEDD uses a "discrete diffusion" approach. Imagine the speech isn't a train, but a sculpture being carved. The AI starts with a rough block of stone (the basic shape of the sound) and then slowly chips away to reveal the fine details. The paper's big discovery is that you have to respect the order of these layers. The AI first figures out the "coarse" structure—the big, rough shape of the sound—and locks that in as a solid foundation. Only then does it move to the next layer to add the "fine" details, like the specific texture of the voice. By treating the lower layers as a clean, committed context and only "denoising" the current layer, the model avoids the confusion of trying to guess the fine details before the rough shape is settled.

The team tested this on a benchmark called RealEdit, which involves realistic scenarios like fixing damaged recordings or changing what someone said. The results suggest that SIEDD is quite good at its job. On the speech-editing tests, it achieved the best overall performance among the methods they compared, with the lowest error rates in understanding the words (WER) and the highest similarity to the original speaker. For filling in missing gaps, it outperformed other popular methods, especially when there were multiple gaps to fill at once. The authors suggest that this success comes from explicitly modeling the "hierarchy" of the sound—acknowledging that some parts of the audio code are more important for the big picture, while others are just for the tiny details.

One of the clever tricks in their system is a "localized guide." Imagine you are editing a sentence, and you want to change the word "cat" to "dog." The AI needs to know exactly where to change the sound and where to leave the rest alone. The researchers built a mechanism that focuses its attention only on the specific span of words being changed, ensuring the new words fit perfectly with the old ones without messing up the surrounding conversation. They also added a way to predict how long the new words should be, so the edited speech doesn't sound rushed or dragged out.

In short, this paper suggests that by treating speech like a multi-layered cake and fixing it layer by layer—starting from the bottom and working up—computers can repair and edit audio much more naturally than before. While the system isn't perfect (it still struggles a bit as the gaps get larger), it represents a significant step forward in making AI sound less like a robot and more like a human who can seamlessly fix a broken sentence or swap a word without anyone noticing the edit. The authors conclude that this "hierarchy-aware" approach is a promising alternative to the older, step-by-step methods, offering a way to preserve the soul of a speaker's voice even when the words change.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →