Introduction
Score-informed source separation is a powerful technique for isolating individual instrument tracks from polyphonic recordings by using a musical score (MIDI) as a guide. However, human performances rarely align perfectly with digital scores due to expressive timing variations like rubato. These misalignments cause standard algorithms to fail, resulting in "ghost" notes and significant interference between separated tracks. This paper introduces a novel Note Refinement stage that treats the activation matrix of a Non-negative Matrix Factorization (NMF) model as a digital image, applying computer vision techniques to precisely locate note onsets and offsets.
Methods: Note Refinement via Blob Detection
The proposed method builds upon supervised NMF, which decomposes an audio spectrogram into instrument-specific "timbre bases" and "time gains" (activations).
The core innovation is treating the time gains matrix as visual data to perform "blob detection" for each note:
- Initial Estimation: The process begins with a coarsely aligned score to generate an initial activation matrix.
- Image Processing: For each note, a small "patch" of the gains matrix is extracted. Gaussian smoothing is applied to remove noise, and frequency weighting prioritizes the expected pitch.
- Binarization and Blob Selection: The grayscale activations are converted into a binary mask. Connectivity rules identify the "blob"—the actual shape of the note in the performance. A penalty is applied to overlapping blobs to ensure each note occupies a distinct temporal space.
- Re-iteration: These refined, sparse note boundaries are fed back into the NMF algorithm for the final, high-quality separation.
Evaluation and Datasets
The system was tested using the Bach10 dataset, which contains multi-track recordings of J.S. Bach chorales performed by a quartet. The authors evaluated the method against two types of score errors: disA (artificial local shifts of 100–200ms) and dtwJ (errors from real-world Dynamic Time Warping alignment).
Key Results
The refined system (System F) demonstrated superior performance in reducing instrument "leakage." By increasing the sparsity of the model—ensuring energy is only assigned where an instrument is actually playing—the method achieved significantly higher Source-to-Interference Ratios (SIR).
As shown in the alignment rate curves, the refinement process (lines E and D) drastically improves the temporal precision of note boundaries compared to the baseline (line B). For the "disA" dataset, this improved alignment translated to an SIR of 7.37 dB, a substantial increase over the 4.04 dB achieved with the unrefined, misaligned score.
Conclusion
By conceptualizing NMF activations as images, this research successfully applies computer vision techniques to solve a complex audio timing problem. The resulting "Note Refinement" stage makes score-informed source separation more robust to the expressive timing inherent in human performance. Future work will focus on making the binarization thresholds more adaptive and testing the system on dense orchestral textures.
Summary updated