TL;DR
Reading individual spinal motor neuron spikes from skin-surface electrodes is the holy grail for controlling next-generation prosthetics and exoskeletons, but standard algorithms fail the moment you actually move a muscle. HarmonICA solves this by placing a lightweight, time-varying "lens" in front of a classic static unmixing filter, continuously undoing the physical distortions caused by movement. By keeping the distortion-corrector and the neuron-finder strictly separated during training, it recovers more than twice as many high-accuracy motor neurons during dynamic movement as standard baselines.
What Problem Does This Paper Address?
Every time you flex your wrist, spinal motor neurons fire electrical spikes into your muscle fibers. High-density surface electromyography (HD-EMG) captures these signals through grids of skin electrodes, creating a classic "cocktail party" problem: many neurons talking at once, recorded by many microphones.
Standard algorithms—like Independent Component Analysis (ICA)—unmix these signals brilliantly, provided you don't move. They assume the physical path from neuron to electrode is frozen in time (isometric contraction). During actual movement, muscle fibers shorten, tissues deform, and electrodes shift. The electrical waveform of a single neuron morphs continuously, causing static ICA filters to lose track of the spikes outside a narrow time window.
Existing workarounds chop recordings into tiny "locally stationary" windows or try to adapt filters on the fly, which breaks down during fast movements. Conversely, throwing deep, unconstrained nonlinear ICA at the problem fails mathematically: without extra side-information, unsupervised nonlinear ICA isn't identifiable—it can scramble the true sources arbitrarily.
Methods
HarmonICA introduces a quasi-time-invariant formulation. Instead of using one complex, time-varying filter, it splits the job into two distinct stages:
- A time-varying compensator $A_j(t)$: Because physical tissue deformation changes the signal smoothly within a low-dimensional subspace, HarmonICA models this drift using a low-rank Woodbury layer ($A_j(t) = I + U_j(t)V_j^\top$, with rank $r=3$) borrowed from normalizing flows. Driven by a small neural network taking either blind sinusoidal positional encodings of time (like NeRFs) or measured joint angles, it rotates the distorted signal space back into alignment.
- A static linear separator $\mathbf{w}_j$: Once the signal space is stabilized, a standard, fixed vector plucks out the individual neuron's spike train.
What makes this tick is alternating, decoupled optimization and neural peel-off:
- Decoupled losses: $\mathbf{w}_j$ is trained using a classic sparsity-seeking ICA loss on the uncompensated signal. Meanwhile, the compensator $A_j(t)$ is trained (with $\mathbf{w}_j$ frozen/detached) using a custom stationarity loss: a two-component Gaussian Mixture Model (GMM) that squeezes the extracted signal into two tight clusters—"baseline noise" and "clean spike."
- Neural peel-off: Once a neuron is found, you subtract its waveform from the recording to find quieter neurons underneath. Classical peel-off subtracts a static template, leaving messy residuals when waveforms drift. Because the Woodbury layer has a fast, closed-form analytical inverse ($O(rK)$ cost), HarmonICA computes a clean template in the stabilized space, warps it backward into each spike's exact moment in time, and subtracts a dynamically shifting waveform.
Datasets
muniverse-benchmark-dynamic: A simulated dynamic HD-EMG dataset built on the public MUniverse stack (coupling NeuroMotion volume-conductor deformation with BioMime waveform synthesis) providing exact ground-truth spike trains. The test split features 168 10-second recordings per electrode grid (70-channel and 320-channel) across 5 virtual subjects performing sinusoidal or triangular wrist sweeps ($\pm 32.5^\circ$ or $\pm 65^\circ$) at 20 or 25 dB SNR.- Real dynamic HD-sEMG: Two 65.5-second forearm recordings (64-channel grid) from a human participant flexing digits while a motorized platform steps the wrist from $0^\circ$ to $-40^\circ$.
Key Insights and Ideas
- Divide and conquer preserves identifiability: By refusing to share gradients between the separator and the compensator, HarmonICA prevents the neural network from hallucinating fake spikes or jumping between different neurons mid-recording. Source identification stays anchored in provable linear ICA, while the network only flattens out amplitude drift.
- Kurtosis is a trap for compensator training: Standard ICA uses kurtosis (fourth-order moments) to find spiky signals. When the authors tried training the compensator with kurtosis instead of their GMM stationarity loss, yield collapsed by up to 81%. Kurtosis happily rewards blowing up a single outlier spike rather than making all spikes uniform across time.
- Blind time-encodings nearly match physical sensors: Feeding the compensator blind sinusoidal functions of time performs almost as well as feeding it the exact, measured joint angle—meaning you don't necessarily need external motion-capture hardware to track moving muscles.
Key Results
- More than double the yield of standard ICA: On the dynamic benchmark at a strict recall threshold ($R \ge 0.95$), HarmonICA recovers 2.5$\times$ as many motor units per recording as unrefined linear ICA on the 320-channel grid (~3.2 vs. ~1.3 MUs/recording) and 2.2$\times$ on the 70-channel grid.
- Dominates adaptive baselines: Across all motor-unit density tiers at $F_1 \ge 0.95$ on the 320-channel grid, blind HarmonICA recovers 515 total motor units (rising to 571 when given joint angles), compared to 249 for standard ICA and 350 for the strongest tuned adaptive baseline (Mendez Guerra 2024).
- Fast runtime & real-world reliability: Processing a 10s recording takes ~45s on an NVIDIA A40 GPU (vs. ~28s for batch FastICA). On the slow-drifting real human forearm data, HarmonICA improved linear ICA on every unit (mean $F_1$ rising from 0.854 to 0.918) and tied the top online baseline without suffering any catastrophic tracking failures (worst run $F_1$ of 0.732 vs. 0.102 and 0.079 for adaptive competitors).
Limitations and Future Work
- Offline only: HarmonICA optimizes over an entire recording at once. Deploying it for real-time prosthetic control would require conditioning on live joint-angle sensors rather than blind time encodings—a setup not yet tested on unseen incoming streams.
- Bounded by its starting seed: Because the compensator cannot discover new neurons on its own, HarmonICA relies on an initial FastICA warm-start; if a neuron is completely invisible to the seed, HarmonICA won't find it (random initialization drops yield to zero).
- Simplified physiology: The benchmark covers single-joint movement under constant neural drive, without neurons turning on or off (recruitment/derecruitment). Multi-joint movements will likely require a higher-rank compensator, and real-data validation remains small (one participant, five units, no invasive needle-EMG ground truth).
Summary updated