Soft electrode arrays can now stay on skin, muscle and beating heart tissue for days without cracking. They do this by being stretchy: fractal metal meshes (Norton et al.) and laser-stiffened textiles (Luo et al.). That compliance creates a signal-processing problem that current software ignores. As the array and the tissue beneath it stretch, slide and shear by different amounts, the distance between each electrode and each cell changes from moment to moment. Every cell's voltage "fingerprint" across the electrodes changes with it: how strongly it shows up on each channel, and how many microseconds later its spike reaches one electrode than another. Spike sorters, the programs that split a mixed extracellular recording into the firing of individual cells, assume that fingerprint is fixed or drifts only slowly. When that assumption fails, the averaging these arrays were meant to escape comes back. Small or rare cells get absorbed into the clusters of large neighbours, and one cell gets split into several.
We propose to treat this the way asynchronous wireless receivers treat uncoordinated transmitters. Each cell is a "user" that fires sparse bursts at unknown times. Its "channel", meaning its per-electrode gain and per-electrode delay, is not a nuisance to average away. It is a function of a low-dimensional, continuously changing deformation state that all cells share, because they all sit on the same piece of tissue. The sorter estimates this shared deformation trajectory jointly with which cells fired and when, sample by sample, instead of in multi-second blocks. The core claim is simple: because deformation is common to all cells, pooling evidence from every detected spike lets the model track fast non-rigid strain, at heartbeat or gait timescales, that no single cell's spikes could reveal on their own.
What is missing in prior work
Three lines of work each hold part of the problem. Motion correction for rigid silicon probes in soft brain, Boussard et al., locates each spike in 3D with a point-source model and registers histograms of spike positions over time to undo drift. This is the closest existing method, and our physical forward model comes from it. It differs from our proposal in two ways. It estimates drift on coarse time blocks (about 2 s in the Kilosort4 setting the file mentions, Kilosort4), assuming the probe is quasi-static within a block. It also models the probe as rigid, so the electrodes do not move relative to each other. A stretchable array breaks both assumptions. RT-Sort sorts in real time by tracking how a spike propagates across neighbouring electrodes. That makes inter-channel delay a first-class feature, but it assumes a fixed electrode pitch, which is exactly what stretching violates. We motivate the proposal with this failure mode and use RT-Sort as a baseline.
On the communications side, Bian et al. jointly estimate device activity, arrival delay and channel. They use orthogonal and memory approximate message passing, iterative estimators that remain stable when delays make the measurement matrix far from random. They state that their delays are stationary within a block, and the file lists continuously drifting delays as an open problem. Özateş et al. show that preamble-free detection with successive interference cancellation (decode the strongest signal, subtract it, repeat) separates overlapping uncoordinated packets. We should be honest about one point. Greedy template subtraction in spike sorters is already a form of successive interference cancellation, so "apply interference cancellation to spikes" would not be new. What is new is giving the subtracted templates a deformation-dependent gain and delay that is estimated online. The same model is also a concrete instance of the non-stationary-delay problem the communications papers leave open.
Finally, the heterogeneity motivation. Bulk-deconvolution work in genomics, such as Count Bridges and POPPY, shows how much is lost when signals from many cells are summed. Nanopillar interfaces (Gao et al.) recover single-cell detail through intimate contact, but only on rigid chips. Our proposal does not reuse those methods. It takes their lesson as the evaluation target: success means recovering the rare and small units that the composite signal hides.
Core Claim
Write the signal on electrode $c$ at time $t$ as
$$ y_c(t) = \sum_{k} \sum_{i} a_k\big(c;\, s(t)\big)\, w_k\big(t - t_{k,i} - d_k(c;\, s(t))\big) + n_c(t), $$
The symbols are defined as follows.
- $k$ indexes cells.
- $t_{k,i}$ is the $i$-th spike time of cell $k$.
- $w_k$ is that cell's waveform shape.
- $a_k(c; s)$ and $d_k(c; s)$ are its gain and arrival delay on electrode $c$.
- $s(t)$ is a low-dimensional deformation state (for example, coefficients of a smooth strain field over the array plus a tissue-slip term).
- $n_c(t)$ is noise.
The gain and delay functions come from Boussard's point-source model, evaluated at deformed electrode positions. The delays also include a stretch-dependent change in conduction across the tissue. We place a smoothness prior on $s(t)$, a linear-Gaussian state-space model of the kind a Kalman filter tracks, with dynamics allowed to be quasi-periodic for cardiac or gait-driven strain.
The claim is that jointly inferring $s(t)$, the spike times and the cell identities will recover more true units at a fixed false-positive rate than block-wise registration. The gain should be largest for low-amplitude units and at strain rates where the deformation changes substantially within one registration block.
Research Program
We first build the forward model and a deformation simulator. Starting from ground-truth spike trains, we place point sources in 3D under a virtual stretchable array. We then apply time-varying strain fields with amplitudes up to the 30–50% range these devices are rated for (Luo et al.; Norton et al.), at physiological frequencies. Separately, we add a relative slip term between array and tissue.
The slip term matters. If an array conformed perfectly and moved exactly with the tissue, electrodes and cells would co-deform and fingerprints would change only modestly. The damaging case is the residual micro-motion and shear the file lists as an open problem of compliant interfaces. We therefore treat the slip-to-stretch ratio as a primary experimental axis rather than assuming one value.
Inference alternates between two steps. Given the current deformation estimate, it detects and subtracts spikes with deformed templates. Given the detected spikes, it updates $s(t)$ with a filtering-and-smoothing pass. The update pools the position and delay residuals of every spike, which is where the shared-deformation gain should come from.
For the detection step we will compare greedy subtraction against an orthogonal-message-passing estimator adapted from Bian et al.. Spike template dictionaries are highly correlated across neighbouring cells, which is the regime where plain message passing is known to fail. We treat the choice of inference engine as an empirical question and do not assume message passing wins. We will build both an offline version and a causal, filtering-only version, so that latency can be compared with RT-Sort.
Baselines
The naive reference point is sorting with the deformation ignored. We will run Kilosort4 with motion correction disabled and RT-Sort with its nominal electrode geometry. Both see the same simulated and recorded data. This tells us how much damage deformation does before any correction.
The strongest existing competitor is block-wise 3D registration in the style of Boussard et al., as used in Kilosort4. We extend it to allow non-rigid per-region shifts and tune its block length over a grid from 0.1 s to 2 s on held-out data. The tuning grid is matched in size to our method's smoothness and state-dimension search. No numerical RMSE for this registration is reported on Lacuna; the file states only that it significantly beats 2D centre-of-mass. For real-time sorting, the strongest reported numbers are RT-Sort's: 97.5% ± 4.4% precision on patch-MEA ground truth, 98.8% ± 12.4% on simulated Neuropixels, and 7.24 ms ± 1.49 ms latency on high-density arrays (RT-Sort). RT-Sort reports lower recall than offline sorters but gives no number.
Beating these baselines means two things. The first is higher unit recall at matched precision under strain, especially for units in the lowest amplitude quartile. The second is that on the undeformed recordings precision stays within RT-Sort's reported error bars, so we lose nothing when there is no motion. The causal variant must also stay within roughly the same latency band.
Three ablations isolate the key ingredient. One restricts $s(t)$ to rigid translation, which tests whether non-rigid stretch matters. One models only gain changes and holds delays fixed, which tests whether the "synchronization" part, continuously drifting delays, carries signal. One estimates deformation separately per unit rather than shared, which tests the pooling claim directly.
Why not just…?
Why not just shorten the registration blocks in existing motion correction? This is the most serious threat. If spike rates are high enough, 100 ms blocks might track heartbeat-scale strain. The catch is that each block must hold enough spikes to fill a position histogram, so shorter blocks starve the estimate. That is precisely the weakness that pooling across a shared, smooth deformation model addresses. The block-length sweep in our baselines settles this. If tuned short-block registration matches our method across the strain-rate range, we will report that the simpler fix suffices and narrow the claim to the delay-modeling component.
Why not just put strain gauges on the array and correct electrode positions from them? This is also a real threat, and we test it with an oracle ablation in which the true array strain from the simulator is given to the sorter. Gauges measure how much the array itself stretches. They do not measure slip between array and tissue, which we expect to dominate fingerprint changes when the array conforms well. If the oracle-strain sorter performs as well as ours across slip ratios, the right recommendation is hardware sensing, and our contribution reduces to the forward model.
Why not just make the array stiffer or better adhered? Stiff islands protect electronics (Luo et al.), but they break uniform electrode spacing, which propagation-based sorters rely on. Beating tissue also moves under any array that does not fully co-deform with it. Our slip-ratio axis shows where better adhesion alone would make the problem disappear, and where it would not.
Why not just use standard sparse regression or plain message passing? Bian et al. report that plain message passing diverges and group LASSO hits error floors once delays break the random structure of the measurement matrix. Correlated spike dictionaries plausibly behave the same way. We nonetheless include greedy subtraction as the default detection step rather than assuming the heavier estimator is necessary.
Proposed Experiments
The primary benchmark is RT-Sort's patch-MEA ground truth and simulated Neuropixels setting (250 units), re-rendered through our deformation simulator across a grid of strain amplitude (0–50%), strain frequency (0.5–5 Hz) and slip ratio. The metrics are unit precision and recall against ground truth, recall stratified by amplitude quartile, counts of false merges and false splits, and error in the recovered deformation trajectory.
As a real-data check, the Neuropixels actuator displacement dataset from Boussard et al. tests whether our method reduces gracefully to the rigid case. There it should match, not beat, block-wise registration, since rigid motion is what that method was built for.
The decisive check is the amplitude-stratified recall curve as strain frequency rises past the inverse of the registration block length. If the heterogeneity-unmasking claim is right, the gap between our method and tuned registration should open in the smallest-amplitude units and widen with strain rate. If the gap is flat, or present only under oracle strain, the idea is wrong in the way that matters.
A follow-up wet-lab experiment, contingent on access, would record cultured cardiomyocytes on a stretchable array under cyclic stretch. A few sites would carry nanopillar intracellular access (Gao et al.) to supply per-cell ground truth under real deformation.
References
- Soft, curved electrode systems capable of integration on the auricle as a persistent brain–computer interface
- Laser-programmed stiffness and interfaces for textile hybrid electronics
- Three-dimensional spike localization and improved motion correction for Neuropixels recordings
- Spike sorting with Kilosort4
- RT-Sort: An action potential propagation-based algorithm for real time spike detection and sorting with millisecond latencies
- Joint Activity-Delay Detection and Channel Estimation for Asynchronous Massive Random Access
- A Fully Asynchronous Unsourced Random Access Scheme
- Count Bridges enable Modeling and Deconvolving Transcriptomic Data
- Cross-modal transfer learning for mapping bulk transcriptomes at cellular level
- Low-dimensional materials for intracellular electrophysiology: advances from synthesis to applications