DubClean Neural Network Scrubs English From Russian Voice-Over Tracks, Trained on 98K Synthetic Examples
In old films, the Russian voice-over plays on top of the English original, and two voices at once make the film hard to watch. The author of DubClean gave a neural network the English track of the same film as a reference, and it removes the English speech while keeping the Russian voice and the music. It was trained on 98K six-second synthetic examples with a known correct answer. Takeaway: if you know what to remove, give the model a sample of the interference rather than guessing from loudness.
AI-processed from Хабр: NLP; edited by Hamidun News
In old films with voice-over translation, the Russian voice is recorded directly on top of the finished soundtrack, and the English speech stays audible. Otherwise the music, footsteps and gunshots would have disappeared along with it. Most viewers don't mind, but the author of a project on Habr admits that two simultaneous voices keep him from getting absorbed in a film.
He decided to scrub the English from such a track without touching the translation itself and without synthesizing a new voice. The result is a service called DubClean. For it, the author generated about 98 thousand six-second training examples: in each one, it is known in advance what was Russian, what was English, and what should remain at the output.
The story is useful to anyone who builds audio pipelines out of off-the-shelf models and their own small neural networks.
Why the Simple Idea Didn't Work
The first hypothesis sounded logical: the translator is usually louder than the original and comes in slightly later, so a model should be able to separate the voices by those cues. On one film the result looked decent; on others everything fell apart. The loudness of the original jumps around: it can be quieter than the translation, louder, or at the same level. The translator sometimes lags, sometimes finishes early, and sometimes talks over the next line. A single phrase could alternate between Russian and English fragments, and the music and effects got damaged along the way.
So the author changed the setup. The English speech already exists separately in the original track of the same film, which means it can be shown to the model as a sample of what needs to be removed. Plain subtraction in time produced muffled sound and "chewed-up" words. In the translated track, the original is compressed, run through a different codec and slightly shifted, so there is no exact copy of the sample in it. The two-input idea did work, though: the model receives the mix of voices plus the English sample, and outputs clean Russian.
How the Data Was Built and the Model Trained
Most of the time went into the training examples. The author drew up a plan with 18 factors and more than a hundred variants: voice age and timbre, emotion, line length, delays, loudness ratio, noise, cut-off frequencies, bad encoding. The material came from 25 films and 45 tracks, including Russian tracks with clean translation and no English underlay. These are needed to assemble a mix and know the correct answer in advance. The catalog was annotated with Silero VAD (finds segments with speech), pyannote.audio (splits lines by speaker), openSMILE, SpeechBrain and wespeaker embeddings. The result was about 13 thousand clips totaling 25 hours.
From the catalog, about 98 thousand examples were assembled: roughly 82 thousand for training and 8 thousand each for validation and testing. Repeats are included in that count, so the number of unique source recordings is smaller. The set contains 32 thousand hard cases where the English underlay and its sample go through different processing, as on real releases. About 20% are "touch nothing" examples: only a Russian voice, silence, a sample from a different scene. Without them, a model trained to remove things looks for work even where there is none. Films were split between the subsets before the mixes were generated, so that no single film ends up in both training and test.
The main model, DubClean Voice, has 3,883,906 parameters (about 3.9M) and runs at 24 kHz. Early versions could only attenuate the sound by roughly 4–6 dB (a decibel is a unit of loudness), which is not enough when the voices overlap in frequency.
In the final version, it was allowed to amplify the signal and shift its phase. Training ran on a GTX 1060 with 6 GB: one epoch took about 3 hours, and the best result came at epoch 37, which means more than four days of computation. On the synthetic test, error against the clean Russian reference dropped by about 7.
5 dB, and the SI-SDR signal-cleanliness metric came to about 24.2 dB (higher means fewer stray residues). The author himself warns that these figures are good for comparing versions but do not describe the quality of a whole film.
What Had to Be Built Around the Model
A single neural network wasn't enough. The MossFormer2 speech extractor sometimes lost the Russian voice before cleanup even started, so it was fine-tuned for this translation task to preserve both layers. Music and effects are restored by a second model, DubClean M&E with 2,076,290 parameters: it takes the original and the speech extracted from it and builds a background without dialogue. Words that sound similar, such as "plan", were removed by the model in both languages at once, so a protection module appeared that brings back the lost Russian remnants. Along with them, a little English sometimes comes back too, and the author is fine with that trade-off.
A second pass through MossFormer2 sometimes removes artifacts and sometimes damages the speech, so it is optional and runs with a check: if a phrase is lost, the first result is kept. For songs, EfficientAT was added so that vocals are not removed as an "extra voice", but the problem is not fully solved. Time alignment of the tracks that accounts for drift was also added. On the film "Bronson", the English was barely removed: the chosen original matched the underlay poorly. That is why the service now has a preliminary check on five scenes from different parts of the film.
The practical takeaway: if the nature of the interference is known, it pays more to give the model a sample of the interference and carefully build diverse synthetic data with a known answer than to rely on clever cues such as loudness. The limitations are stated honestly: a suitable original is required, songs remain at risk, and the author did not run an independent comparison of models for the background.
- Oct 8, 2026miniCOIL EN-ES: how to search across a language barrier without translation
- Jul 7, 2026Sakana AI launches Sakana Translate for Japanese, English and Chinese
- Oct 27, 2026MWS AI Builds 153,000 Russian Docstring Examples for Coding Models
- Nov 12, 2026Translation and AI Editing Failed to Fool Detectors: Doumate Raised the AI Share by 5–25% Afterward
Key Questions Answered
Why the Simple Idea Didn't Work?
The first hypothesis sounded logical: the translator is usually louder than the original and comes in slightly later, so a model should be able to separate the voices by those cues. On one film the result looked decent; on others everything fell apart. The loudness of the original jumps around: it can be quieter than the translation, louder, or at the same level. The translator sometimes lags, sometimes finishes early, and sometimes talks over the next line.
How the Data Was Built and the Model Trained?
Most of the time went into the training examples. The author drew up a plan with 18 factors and more than a hundred variants: voice age and timbre, emotion, line length, delays, loudness ratio, noise, cut-off frequencies, bad encoding. The material came from 25 films and 45 tracks, including Russian tracks with clean translation and no English underlay. These are needed to assemble a mix and know the correct answer in advance.
What Had to Be Built Around the Model?
A single neural network wasn't enough. The MossFormer2 speech extractor sometimes lost the Russian voice before cleanup even started, so it was fine-tuned for this translation task to preserve both layers. Music and effects are restored by a second model, DubClean M&E with 2,076,290 parameters: it takes the original and the speech extracted from it and builds a background without dialogue.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.