Electrophysiologists have long identified cell types partly by ear. They route an electrode's signal to a loudspeaker and recognize the slow, irregular pops of a dopamine neuron or the rapid chatter of a fast-spiking interneuron. What they hear is a mix of two cues: the shape of each spike, which sets its "timbre," and the timing between spikes, which sets its "rhythm." This proposal turns that practice into a machine-learning test. We render several seconds of a recorded neuron's activity as an audio clip, slowed down so that its content falls inside the range general-purpose audio models were trained on. We then ask whether frozen audio foundation models identify the cell type from that clip better than current methods. These models are large networks trained without labels on millions of clips of speech, music, environmental sound and animal calls.
The opportunity matters because extracellular cell typing needs two things at once, and existing tools handle them in separate pieces. It must combine waveform shape with firing rhythm: primate retinal ganglion cells are typed well only when both are used (Recognizing retinal ganglion cells in the dark). It must also hold up under noise and transfer across recording preparations, with very few ground-truth labels. Audio models trained across many domains are known to learn exactly this kind of transient-plus-rhythm structure while ignoring background noise, and they transfer to biological signals far from their training data (AVEX, Capuchin individual identification). Nobody has pointed them at neurons.
Core Claim
A neuron's activity, time-stretched by a factor $k$ and rendered as a multi-second clip, is a sound in which spike shape and firing pattern appear together. Our claim is that frozen embeddings from cross-domain audio models, read out by a linear classifier, will type cells more accurately than two alternatives. The first is an image model on firing-interval plots. The second is a same-size network pre-trained only on neural data. We expect the advantage to be largest in the conditions where prior methods break: low signal-to-noise units, classes finer than excitatory versus inhibitory, and training on one dataset while testing on another.
The stretch factor is the key design variable. Slowing by $k$ maps a spike frequency $f$ to $f/k$ and maps $T$ seconds of neural data to $kT$ seconds of audio. The rendering must therefore satisfy
$$\frac{f_{\max}}{k} < \frac{f_s}{2}, \qquad kT \le L,$$
where $f_{\max}$ is the highest informative spike frequency (a few kHz), $f_s = 16$ kHz is the model's sampling rate, and $L$ is its clip length (about 10 s for AudioSet-style models). Small $k$ keeps many spikes per clip but crowds spike detail into a few frames of the model's roughly 10 ms analysis steps. Large $k$ resolves spike shape but shows fewer spikes per clip. We expect an intermediate $k$ to do best, and the location of that optimum is itself a finding.
Relation to Prior Work
The closest work transfers pre-trained models from outside neuroscience, but uses the wrong source domain and only half the signal. Frontal Cortex Neuron Type Classification with Deep Learning and Recurrence Plot turns 25-spike firing-interval sequences into recurrence-plot images, which chart when the interval sequence revisits similar values. It feeds these to an ImageNet AlexNet and discards the waveform. We keep both cues and swap the image model for an audio model. The audio literature argues that image priors fit the time and frequency axes poorly (SSAST).
HuiduRep supplies the in-domain comparison. It is a small Transformer trained from scratch with contrastive and denoising objectives on single spike waveforms, it is robust to probe drift, and it targets spike sorting rather than cell typing. We reuse its training recipe as our strongest in-domain baseline, not as our method.
Three results motivate expecting transfer. AVEX finds that adding general audio to bioacoustic pre-training beats bioacoustics alone. Vega-Hidalgo et al. find that bird-trained models transfer to monkey identification better than speech models do. BEATs predicts discrete tokens instead of raw spectrogram pixels, specifically to avoid spending capacity on background noise.
Two results constrain the design. BirdSet found that AudioSet pre-training lost to training from scratch when in-domain data was plentiful. This is a real threat, and it is why low-label and cross-dataset regimes are the focus. Separately, speech models encode phonetic structure and fail on non-vocal textures (La Quatra et al., Pepino et al.), so speech-only models serve as a negative control.
The hand-crafted and clustering work defines what learned features must beat. Spline-interpolated spike widths (Thiele et al.) and width combined with firing intervals (Sakata) handle the broad/narrow split. Binary width thresholds miss medium-spiking units (Wang et al.). Template parameterization of 44 kHz human recordings yields six anatomical clusters (Baker et al.).
Research Program
We will build a rendering pipeline with two clip types per unit. The rendered clip places the unit's mean waveform at each of its real spike times. It then adds residual noise taken from the same channel at the same local amplitude, then time-stretches and resamples to 16 kHz. The raw clip stretches the band-passed voltage trace around the unit's peak channel directly. This keeps overlapping neighbors and true noise, the neural analog of a soundscape as opposed to a clean single-source "focal" recording.
For multi-channel arrays we add a channel sweep variant, in which the waveform on each channel is played in order of distance from the peak channel. This lets the model hear the spatial footprint and axonal propagation that retinal typing depends on.
Each unit contributes many clips. Clip embeddings are averaged per unit, and a regularized logistic regression is trained on the frozen features. We sweep $k$ over powers of two from 1 to 32. Encoders are BEATs (general audio), SSAST (joint speech and AudioSet pre-training), the AVEX bioacoustic BEATs variant, and a speech-only model as the negative control.
A second stage tests whether light adaptation helps. The best encoder receives a short round of continued masked pre-training on unlabeled sonified clips from the International Brain Laboratory (IBL) recordings. This adaptation step also tests whether BirdSet's in-domain-wins result reappears.
Baselines
The naive reference point is the majority-class predictor together with a one-feature spike-width threshold. On the rat frontal cortex dataset (CRCNS fcx-1), 995 of 1,121 units are putatively excitatory, so always predicting "excitatory" scores about 88.8% accuracy. This exceeds the 81.33% Naive Bayes accuracy reported by the recurrence-plot paper (Alkan). We therefore report balanced accuracy and macro-F1, and treat raw accuracy on that dataset as uninformative.
The strongest simple competitor is hand-crafted biophysical features fed to gradient-boosted trees. The features are spline-interpolated peak-to-trough width, repolarization time, and asymmetry (Thiele et al.), plus firing-interval statistics such as the coefficient of variation, a burst index, and log-interval histogram bins (Sakata). It is strongest because the biophysics behind excitatory and inhibitory spike widths is well understood, and trees need few labels. The trees receive the same unit splits and a tuning budget matched to the probe's hyperparameter search.
The existing published method is ImageNet AlexNet on recurrence plots. We reproduce it on fcx-1 against its reported 81.33% accuracy and 83.11% inhibitory specificity, and we rescore it with balanced accuracy.
The strongest learned in-domain competitor is a HuiduRep-style encoder pre-trained on IBL, which reports 71.9 adjusted Rand index for sorting on the IBL test set. To make it a fair typing baseline, we give it the same input information: its spike-waveform embedding concatenated with a learned firing-interval embedding. It uses the same probe and the same splits, with pre-training compute matched to our adaptation stage.
For the retina, the reference is the dictionary-learning result of 93.5% three-class accuracy and 81.5% single-cell ON/OFF polarity accuracy (Recognizing retinal ganglion cells in the dark), where we can obtain comparable data.
Three ablations isolate the proposal's ingredients. The same audio architecture with random weights isolates pre-training from input format. A waveform-only clip (template at perfectly regular times) and a rhythm-only clip (true spike times, generic click) isolate the joint sonification. A single-spike spectrogram fed to the same model isolates the multi-second rhythm context.
Beating the baselines means two things. The first is a statistically significant balanced-accuracy gain, with confidence intervals from resampling units, over both boosted trees and the matched in-domain encoder. The second is a larger margin under cross-dataset transfer and at 10 to 50 labels per class. The audio model does not need to win when labels are plentiful and training and test data come from the same dataset.
Why not just…?
Why not just use width plus firing-interval features with boosted trees? For the binary excitatory/inhibitory split this may well be enough, and we expect it to be hard to beat on fcx-1. Our claim therefore rests on harder settings. These are the finer classes where thresholds fail (Wang et al.), the six human pallidal morphology clusters (Baker et al.), and single-cell retinal polarity, where waveform metrics reached only 81.5%. If trees match audio features there, the proposal fails, and we will report it that way.
Why not just pre-train in-domain, as HuiduRep does? BirdSet shows in-domain training can beat AudioSet transfer when domain data is large, so this is the main threat. The neural counter-argument is that ground-truth cell-type labels are scarce and recording preparations differ. That is the regime where AVEX and the capuchin study found cross-domain priors helped. The matched-compute comparison, run while varying the amount of in-domain pre-training data, will show where the two curves cross.
Why not just feed a spectrogram of the single spike to the audio model? A spike lasts well under a few milliseconds, which covers only a fraction of one frame of a standard 25 ms analysis window. Such an input also discards rhythm, which the retinal work found essential. The single-spike ablation tests this directly. We predict it performs near the random-weight model.
Why not keep the ImageNet backbone and just add the waveform? We include ImageNet features computed on the same clips' spectrograms. If they match the audio features, the benefit comes from joint rendering, not from acoustic priors, and we would recast the contribution around rendering.
Proposed Experiments
The first experiment runs on fcx-1: excitatory versus inhibitory classification with balanced accuracy, sweeping $k$ and label budget. The second is a transfer test. We use IBL units whose type is inferred from narrow/broad widths and characteristic firing patterns. We train on some brain regions or labs and test on others. This label is imperfect, so it is used only for transfer comparisons against baselines trained with the same labels. For MEA64C Yger, no reported typing result was found on Lacuna, and we use it only to verify that rendered clips preserve spike shape at chosen $k$.
The third is the human 44 kHz intraoperative recordings. There we measure how well unsupervised clusters of the embeddings agree with anatomical location (adjusted Rand index against internal pallidum, external pallidum, and white matter). The fourth, subject to data access, is retinal three-class and polarity typing using the channel-sweep clips. Robustness is tested by adding recorded noise at controlled signal-to-noise levels, as a neural analog of BirdSet's shift from clean focal recordings to noisy soundscapes.
The decisive checks are short. The pre-trained model must beat its random-weight twin, or pre-training contributes nothing. The joint clip must beat both single-cue clips, or the sonification idea adds nothing. The speech-only model must do worse than general and bioacoustic models, as the audio literature predicts. Finally, the advantage over boosted trees and the in-domain encoder must grow as labels shrink and as test data moves away from the training source. If the last check fails, audio priors are not buying anything that biophysics or in-domain learning does not already provide.
References
- Recognizing retinal ganglion cells in the dark
- AVEX: What Matters for Animal Vocalization Encoding
- Acoustic Individual Identification of White-Faced Capuchin Monkeys Using Joint Multi-Species Embeddings
- Frontal Cortex Neuron Type Classification with Deep Learning and Recurrence Plot
- SSAST: Self-Supervised Audio Spectrogram Transformer
- HuiduRep: A Robust Self-Supervised Framework for Learning Neural Representations from Extracellular Recordings
- BEATs: Audio Pre-Training with Acoustic Tokenizers
- BirdSet: A Large-Scale Dataset for Audio Classification in Avian Bioacoustics
- Benchmarking Representations for Speech, Music, and Acoustic Events
- EnCodecMAE: leveraging neural codecs for universal audio representation learning
- Attention Induced Gain Stabilization in Broad and Narrow-Spiking Cells in the Frontal Eye-Field of Macaque Monkeys
- Laminar-dependent effects of cortical state on auditory cortical spontaneous activity
- Laminar compartmentalization of attention modulation in area V4 aligns with the demands of visual processing hierarchy in the cortex
- Parameterization of intraoperative human microelectrode recordings: Linking action potential morphology to brain anatomy