Peeling Fading Neurons Out of Chronic Brain Recordings

Electrodes implanted in the brain gradually lose the neurons they were meant to hear. Over weeks and months, scar tissue builds up around the electrode, nearby neurons die, and the insulation cracks. Spikes that were once large and easy to isolate shrink into the crowded background of many distant neurons firing at once. Standard spike sorters are the programs that assign each electrical spike to the neuron that produced it. They work on one recording session at a time, so once a neuron's spike falls below the detection threshold on a given day, it is lost for good. Yet on earlier days that same neuron was recorded clearly, and we knew its waveform shape exactly.

This note proposes to treat that earlier knowledge the way a wireless receiver treats a known signal. Successive interference cancellation (SIC) is how a cellular receiver separates several overlapping transmissions. It decodes the strongest one first, subtracts its reconstructed waveform, and then decodes the weaker ones in the cleaner remainder. It succeeds only if the receiver keeps accurate, continuously updated estimates of how each channel is fading. We propose a chronic spike sorter built on the same principle. Each neuron's waveform, learned when the neuron was strong, is carried forward as a known signal. A per-neuron, per-day "channel gain" and a small shape correction model how degradation attenuates and distorts that waveform. Neurons are then peeled out strongest-first, with signal strength re-estimated after every subtraction. The aim is to keep tracking neurons after they have dropped below the level at which any single-session sorter can find them, while keeping false detections under statistical control.

Core Claim

Chronic signal loss is largely a slowly fading channel acting on known sources, not the appearance of unknown new ones. A decoder that uses the sources' past waveforms as priors, and tracks the fading, should recover neurons in a lower-amplitude regime than session-by-session sorting plus post-hoc matching allows. The evidence that the channel fades rather than the sources vanishing comes from several longitudinal studies. The first is Layer-dependent stability of intracortical recordings and neuronal cell loss, which tracked rat somatosensory probes for 16 weeks. It found signal-to-noise ratio (SNR) decaying steadily at −0.338 units per month, spike amplitude rising about 12.8% over the first three weeks, and surviving neurons near the shank changing shape. The second is Explant Analysis of Utah Electrode Arrays Implanted in Human Cortex, which found peak-to-peak voltage declining at about −4.0 µV per month, along with insulation cracks and fluid gaps that shunt signal away from the recording site. Both describe gradual amplitude and shape change: a drifting gain and a mild distortion on an otherwise identifiable waveform. The third is Time Stability and Coherence Analysis, which motivates the problem sharply. Detectable single units fell from 53 to 6 over 227 days, while multiunit power did not decline. That pattern suggests much of the lost spiking still reaches the electrode, only below threshold and mixed into the background.

What is new here is the combination of three ingredients. The first is cross-day template priors used during detection, not only for matching afterwards. The second is an explicit per-neuron gain and low-rank shape trajectory across days. The third is SINR-ordered peeling that re-estimates each neuron's signal-to-interference-plus-noise ratio after every subtraction, with a calibrated rule for stopping. Existing SIC-like spike sorters already peel collisions within a session. Existing longitudinal tools only link units that were sorted independently each day. None does detection across days.

Research Program

We model the filtered voltage on day $d$ as

$$Y_d(t) = \sum_{k} a_{k,d}\,\big(W_k + U_k c_{k,d}\big) * s_{k,d}(t) + B_d(t) + N_d(t).$$

Here $W_k$ is neuron $k$'s spatiotemporal template estimated on its best-SNR days. $a_{k,d}$ is a scalar gain for that neuron on day $d$. $U_k$ is a small basis of shape deformations with day-specific coefficients $c_{k,d}$. $s_{k,d}$ is the neuron's spike train, and $*$ denotes convolution. $B_d$ is the multiunit background, modeled as a spatially local, low-rank Gaussian process; the short correlation length follows the finding that multiunit activity is independent at 0.4 mm. $N_d$ is electronic noise. The gain and shape coefficients get a smoothness prior across days, since degradation is gradual. That prior allows a jump in the first week, to match the rapid early phase of the bi-exponential yield decay reported in An approach for long-term, multi-probe Neuropixels recordings in unrestrained rats.

Inference alternates between two steps. In the first step, we detect spikes by peeling. At each pass we take the unit with the highest current estimated SINR, $a_{k,d}^2\lVert W_k\rVert^2$ divided by the residual interference power on its channels. We run a matched filter for that unit against the residual, subtract the detected events, and recompute every unit's SINR. The ordering and re-estimation borrow directly from the dynamic SINR-guided cancellation of Dynamic SINR-Guided Iterative Interference Cancellation for ODDM Systems. That work showed that recomputing SINR after each subtraction limits error propagation, gaining about 1 dB at bit error rate $10^{-5}$ over naive initialization. In the second step, given the detected spikes, we update $a_{k,d}$, $c_{k,d}$ and the background by penalized least squares.

A unit's detections on a day are accepted only if its log-likelihood ratio exceeds a threshold calibrated against null controls. These controls run the same matched filter with sign-flipped and time-reversed templates, which have identical energy but no matching biology. This bounds the false discovery rate. Error propagation is the known failure mode of SIC, and in low-SNR tissue it is the main risk. The calibrated stop rule is how the design confronts that risk rather than assuming it away. Units are seeded from standard sorts on early sessions. Genuinely new units can still enter through a conventional sort of the final residual.

We deliberately do not build the more speculative bridges suggested by the source material. We do not attempt blind cancellation of insulation-shunt noise, and we do not attempt a rate-splitting split between superficial and deep channels. Both require a shunt model that no cited dataset measures directly. We use the layer and depth findings only as analysis axes.

Baselines

The naive reference is independent per-session sorting with Kilosort4 (Spike sorting with Kilosort4), which already performs within-session template subtraction and drift correction. Kilosort4 establishes how many units a strong single-session sorter recovers each day. No reported result for Kilosort4 on these chronic datasets was found on Lacuna. For context on the lineage, the original KiloSort reported 53% of ground-truth units recovered at score above 0.9, versus 35% for KlustaKwik.

The strongest existing competitor for tracking is per-session Kilosort4 followed by UnitMatch. UnitMatch matches independently sorted units across days using waveform similarity and a Naive Bayes classifier. It reports tracking up to 235 days, with about 30% of units tracked beyond 100 days, and functional fingerprint AUCs of 0.85 to 0.98. It is the right opponent because it answers the same question, namely how long we can follow a neuron. It is also what practitioners would use today.

The strongest competitor for handling motion is DARTsort. DARTsort uses drift-registered, depth-binned templates with iterative subtraction. It reports about 75% accuracy versus about 57% for Kilosort 2.5 under high noise, and 25 versus 0 well-detected units under "bump" drift in MEArec simulations. We will run it both per session and on concatenated sessions. The concatenated run tests whether geometric drift correction alone explains any gains we find.

All sorters get the same preprocessing, the same raw data, and a matched GPU-hour budget. Each receives the same hyperparameter search budget, tuned on a held-out animal. Beating a baseline means one of two things. The first is recovering more ground-truth units at matched false discovery rate below the low-SNR boundary where the baselines lose them. The second is extending median tracking duration on real data without a drop in the functional-fingerprint AUC that UnitMatch itself uses as validation.

Three ablations isolate the key ingredient. The first freezes templates at day one, with no gain or shape tracking. The second tracks gain but not shape. The third peels in fixed amplitude order instead of re-estimated SINR order.

Why not just…?

Why not just carry day-one templates forward as fixed matched filters and lower the threshold? This is the most serious threat. If waveforms mostly scale rather than distort, it may capture most of the benefit. The histology argues against pure scaling: Layer-dependent stability of intracortical recordings and neuronal cell loss reports neuron flattening and early amplitude rises, and Explant Analysis of Utah Electrode Arrays Implanted in Human Cortex reports shunting that changes the recording pathway. Lowering the threshold also inflates false positives without any principled stopping rule. The frozen-template ablation settles this directly. If it matches the full model at equal false discovery rate, the contribution collapses to "use old templates," and we would report that.

Why not just sort each day with Kilosort4 and link with UnitMatch? UnitMatch requires a unit to be sorted on each day before it can be matched. Its paper does not attempt recovery below that floor. The comparison on hybrid data with decaying units measures exactly what is lost at that floor.

Why not just correct drift better with DARTsort? Drift registration corrects position, not amplitude loss from gliosis, neuron death or shunting. The concatenated DARTsort run shows how much of the gain is geometric. We then stratify the gains by depth, using the depth-dependent loss in the Neuropixels rat data, to see whether they concentrate where tissue damage rather than motion dominates.

Why not just decode from multiunit activity or local field potentials? Inferring entire spiking activity from local field potentials predicts aggregate spiking with correlation 0.70 to 0.75. That is a strong answer for population-level decoding, but it cannot follow individual neurons over time. Where behavior is available, we will report decoding from recovered units alongside decoding from the multiunit envelope. We accept that the envelope may win for decoding while losing for single-neuron tracking.

Proposed Experiments

The first experiment is a hybrid ground truth built from real chronic recordings. We take real chronic Neuropixels data, such as the Luo et al. rat sessions or the UnitMatch mouse library if raw data are available. Into these we insert synthetic units whose amplitude follows the bi-exponential decay and the −0.338 units per month SNR slope. Their shape distortion is drawn from within-unit change observed in well-tracked real units. We also run matched MEArec simulations with drift so the results can be compared with DARTsort. The metrics are recovery curves as a function of true per-day SNR, reported at a fixed 5% false discovery rate. We measure the calibration of that false discovery rate itself on inserted-null controls.

The second experiment uses real longitudinal data with no ground truth. Here we measure median tracking duration and how many units remain tracked past 100 days. Each extended track must pass a set of checks that the tracker was not optimized for. Refractory-period violations must stay low. Spike-interval distributions and population coupling must remain consistent across days, scored with the same fingerprint AUC used by UnitMatch. Finally, for units that intermittently rise back above threshold, the sub-threshold detections must predict the unit's firing on the days when conventional sorting can see it again.

The decisive check for the whole proposal is the combination of three results. Sub-threshold tracks must pass these functional tests at rates indistinguishable from above-threshold tracks. The frozen-template ablation must fall measurably short at the same false discovery rate. The concatenated DARTsort run must not close the gap. If recovered "units" fail the fingerprint and refractory tests, the method is hallucinating from template priors, and the claim fails.