Skip to main content
StemGrabGet a pass

How AI stem separation actually works

Full-quality stems. No account, no per-track fee. Same 192 kbps (or lossless WAV) as the paid tier: tracks up to 15 minutes. With a pass, vocal removal and karaoke can run on our best vocal model.

Explainer · honest edition

A mixed song is like a baked cake: the eggs and flour are in there, but you can't pull them back out.

So how does a neural network hand you the isolated vocal from a 40-year-old record? Here's the real story, including what still doesn't work.

Related: Free Moises alternative, Split Any Song Into 7 Separate Tracks: Free Stem Splitter.

This page explains how AI stem separation works, from the old phase-cancel trick to today's models, and where it still goes wrong. Reverb and echo stay ambiguous, and heavily autotuned vocals may partly end up in the other stem. We also measured our own model: 2,264 separations in 40 days.

What our own model actually does, measured

Before the history lesson, the numbers from running this model ourselves: across every tool on the site, we've run 2,264 separations in the 40 days we've been measuring, rejecting 1,336 uploads before they ever reached the model at all, wrong format, no file extension, or a track past the length cap, not the separation itself failing. Of the uploads that do go through, most finish fast: the backend has logged typical runs of 2.6 and 2.5 seconds on its quicker jobs (15 and 12 times respectively in that window), but a long or dense upload can push well past that. The slowest runs we've logged take over two minutes, which is still a fraction of what the same separation would cost on rented cloud GPU time. None of that tells you how it works, though, or why some stems come out cleaner than others: for that, here's the actual mechanism, phase tricks included.

Before AI: the phase-cancel trick

For decades, "vocal remover" meant one thing: phase inversion. In many mixes the lead vocal is panned dead centre: identical in the left and right channel. Flip the polarity of one channel and sum the two, and everything identical in both channels cancels out. The vocal disappears.

So does everything else in the centre: the kick drum, the snare, the bass. What's left sounds hollow and phasey, like the band playing at the end of a hallway. And the trick only ran one way: it could (sort of) remove the centre, but it could never isolate the vocal by itself. It also failed completely on mono recordings, on vocals with stereo reverb, and on anything not mixed exactly down the middle. Phase-cancelling was a party trick, not a tool.

The spectrogram era: masking

The first real machine-learning separators (around 2015-2019) worked on spectrograms: an image of the song showing which frequencies are loud at each moment. A neural network was trained to look at that image and paint a mask over it: "these pixels belong to the voice, those belong to the drums." Multiply the mix by the mask, convert back to audio, done.

This was a leap: suddenly you could isolate a vocal, not just cancel it. But masking has a built-in ceiling: when a vocal and a guitar occupy the same frequency at the same moment (which happens constantly in real music), a mask has to split that energy somehow, and the result is the watery, underwater warble early users remember. Spectrograms also discard phase information, which the model then has to fake on the way back to audio.

How AI stem separation works today: hybrid models

Modern separators (including the engine behind StemGrab) attack the problem from two directions at once (hence "hybrid"). Whether you call it a stem AI, a stem separator or a stem splitter, this two-pronged approach is what does the work:

  • A waveform branch works directly on the raw audio samples, so nothing is lost to a spectrogram conversion, phase included. This is what makes modern bass and drum stems punch instead of smear.
  • A spectral branch still works on the frequency picture, where harmonic patterns (a voice's overtone stack, a piano chord) are easiest to spot.
  • A central AI core (the same family as modern language models) sits across both branches and looks at long stretches of the song at once. That context matters: if the model heard an exposed vocal in the intro, it uses that knowledge to dig the same voice out of the dense final chorus.

How does it know what a "vocal" is at all? Training. The model learned from thousands of songs where the real isolated stems were available, mixing them together and grading itself on how well it recovered each part. After enough of this, it has internalised what voices, kicks, snares and bass lines sound like, well enough to estimate them from mixes it has never heard. This isn't a general tutorial on using AI tools for other tasks: it's specifically how this one model learned to reconstruct a voice, a kick drum and a bassline from a single mixed file. That training is the difference between an AI stem separator and the phase trick above: it has learned what a voice sounds like, rather than assuming the voice sits in the centre.

Key insight: separation is not "un-mixing". The original multitracks are mathematically gone. The model reconstructs what each stem most plausibly was: a very educated guess that happens to be shockingly good.

OLD: PHASE-CANCEL TRICKL channelR channel · polarity flippedSUM → hollow, phasey remainderkick + bass cancelled too · no isolated vocalMODERN: AI SEPARATIONVOCALSDRUMSBASSOTHERfour clean, independent tracks
Old vs new: phase-cancellation only cancels whatever is dead-centre and leaves a hollow, phasey remainder; a trained model estimates each source as its own clean, independent track.

Why six stems is the current ceiling

The classic split is four stems: vocals, drums, bass, other, because that's how the standard research dataset (MUSDB18) is labelled, and models can only learn categories their training data names. Six-stem models like the one StemGrab runs add guitar and piano, carved out of "other".

Going further (splitting a lead vocal from the harmonies behind it, separating the guitars, isolating the synth), mostly isn't a modelling problem, it's a data problem. There is no large public library of songs with, say, a labelled tambourine stem. Until that data exists, "everything else" stays glued together in the other track.

Why guitar and piano lag behind vocals, drums and bass

The easy stems are easy because each occupies a distinctive niche:

  • Vocals have a fingerprint nothing else shares: formants, vibrato, breath, consonants. Human speech is also the single best-studied sound in all of audio research.
  • Drums are transients: short, broadband hits with sharp attacks, rhythmically predictable. Nothing else in a mix looks like a snare hit.
  • Bass owns the bottom octaves nearly alone below ~120 Hz.

Guitar and piano are chameleons. Both span almost the full frequency range, both play chords and melodies, and they overlap heavily: with each other, with synth pads, with strings, with organ. A clean piano and a warm pad playing the same chord are genuinely ambiguous even to human ears. Add distortion to a guitar and it becomes broadband noise-with-pitch, easily confused with synths. And the training data for these two categories is a fraction of what exists for vocals. The result: on a sparse singer-songwriter track, the guitar stem can come out beautifully; in a dense wall-of-sound mix, expect bleed and smearing.

What still goes wrong

  • Reverb and echo stay ambiguous. A vocal's reverb tail is "vocal-coloured room sound", and some lands in the vocal stem, some in the instrumental. No current model resolves this cleanly.
  • Dense mixes cost quality. Metal, orchestral pop and heavily layered EDM force the model to make more hard calls per second: artifacts rise accordingly.
  • Lo-fi sources are hard. Tape hiss, vinyl crackle, mono recordings and low-bitrate rips give the model less to work with. A 128 kbps MP3 has already thrown away detail the separator would have loved to use.
  • Sounds between categories confuse it. Heavily vocoded or autotuned vocals may partially land in "other"; an 808 that's both a kick and a bassline gets split across drums and bass.

None of this means the tech is bad: vocals, drums and bass on a modern mix come out cleaner than anyone would have believed possible in 2018. It means the fair pitch is "remarkably good estimate", not "magic".

Hear it on your own music

The fastest way to calibrate your expectations is to run a track you know inside out. Drop a song into StemGrab: you'll get vocals, drums, bass, guitar, piano, other and a clean instrumental back in about a minute, free, no account. Then put on headphones and listen to what the model got right, and where it guessed. That's really what any stem separation software comes down to in the end: a model's best guess, checked against your own ears.

More from StemGrab: practise any instrument with stems · what you're allowed to do with stems, legally

Sources

More audio tools

Free to use: no account, no sign-up.

What it costs

Everything here is free. A pass lifts the limits on a few tools, such as runs a day, file size or length.

Payment, VAT and refunds