TL;DR
Brain-computer interfaces (BCIs) built for decoding smell usually lose their minds after a few weeks because the olfactory bulb is constantly moving with every breath and generating brand-new neurons. This paper introduces the Long-term Neural Decoding Network (LNDN), an architecture that disentangles a neuron's physical identity from its noisy firing activity and aligns shifting neural geometries over time. Trained on just four weeks of mouse brain recordings, LNDN accurately decodes odors over the next two months without needing daily recalibration or tedious neuron-by-neuron tracking.
What Problem Does This Paper Address?
Imagine trying to eavesdrop on a crowded room where the microphones jitter every time someone breathes, and the people in the room are constantly leaving and being replaced by strangers. That is the olfactory bulb. While motor BCIs have made huge strides, olfactory BCIs face a brutal version of representational drift—the neural code for the exact same smell warps significantly over weeks. This happens not just because scar tissue builds up around electrodes, but because breathing creates constant mechanical micro-motion, and the olfactory bulb is one of the rare brain regions with active adult neurogenesis (continuous cell turnover).
Worse yet, you can't just throw massive, data-hungry foundation models at the problem. Unlike motor tasks where a monkey can reach for a target thousands of times a day, biological noses adapt and go "nose-blind" if overstimulated, restricting experiments to tiny datasets (here, just 40 trials a week). Traditional fixes require either manually tracking the exact same "common neurons" across weeks—which throws away rich data from newly born or transient cells—or forcing the subject to sniff a calibration panel every single day. The authors wanted a label-free, tracking-free decoder that stays accurate for months on sparse data.
Methods
Instead of tracking individual neurons across days, LNDN treats each session as an unordered set of neural triplets—firing activity, spike waveform shape, and 2D electrode position—extracted automatically via Kilosort4 without manual cleanup. It then tackles drift using a novel tri-level hierarchy:
- Physical Level (Decoupling & Gating): Rather than lumping everything together, LNDN separates who is speaking from what they are saying. Waveform and position are projected into an invariant "physical identity" key, while firing rates form a transient "state." A learnable dynamic gate acts as a bouncer, filtering out noisy or degraded channels before fusing identity and state.
- Decision Level (Mixture-of-Experts): A parallel cross-attention Mixture-of-Experts (MoE) module uses independent learnable queries to read out different facets of the neural population, averaging their votes (soft-voting) so a few dead channels don't tank the prediction.
- Manifold Level (Geometric Alignment): Even as individual neurons drift, the underlying low-dimensional geometry ("manifold") of odor representations stays relatively stable. The authors anchor this geometry using a combination of standard domain-adaptation tools: Deep CORAL (aligning second-order covariance matrices across sessions during training), supervised contrastive learning (keeping different odor clusters separated), and test-time Adaptive Batch Normalization (AdaBN), which updates batch statistics on unlabeled target data to cancel out baseline shifts.
They also introduce two clever, biologically inspired data augmentations: Activity Dropout (zeroing out firing rates while keeping physical identity intact to mimic signal loss) and Stochastic Temporal Shift (jittering time bins by ±200 ms).
Datasets
Because long-term olfactory benchmarks are scarce, the authors collected a new in vivo longitudinal dataset:
- Subjects & Task: 9 adult mice implanted with 32-channel flexible microelectrodes in the olfactory bulb, exposed to 4 liquid odorants.
- Duration & Scale: 12 consecutive weekly sessions per mouse, with only 40 trials per session (10 per odor)—exemplifying the small-sample, high-dimensional regime. Weeks 1–4 were used for training, and Weeks 5–12 for testing.
Key Insights and Ideas
- Separating identity from activity is the biggest lever: In ablation studies, simply decoupling waveform/position identity from firing rates jumped accuracy from a 59.24% MLP baseline to 76.82%. Knowing where and what kind of unit is firing anchors the decoder even when units appear or vanish.
- Big sequence models choke on olfactory data: High-capacity models like Transformers (56.91%) and pretrained neural foundation models like POYO (~50.5%) performed worse than a classic SVM (77.43%). With only 40 trials a week, heavy architectures overfit to session-specific noise rather than learning invariant odor codes.
- Smaller batches beat bigger batches at test time: Usually, statistical alignment prefers large batches. Here, shrinking the test-time AdaBN batch size from 32 down to 4 boosted accuracy from 83.67% to 87.86%. Why? Because noses adapt within a single session! Smaller batches capture local, minute-by-minute sensory adaptation states instead of blurring them across the whole session.
Key Results
- Severe biological drift confirmed: Within Week 1, odd vs. even trials correlated strongly ($R^2 = 0.916$). By Week 3, correlation with Week 1 plunged to $R^2 = 0.254$, and by Week 9 it hit rock bottom ($R^2 = 0.096$).
- State-of-the-art longevity: Evaluated across Weeks 5–12 without any supervised recalibration or manual neuron tracking, LNDN achieved 83.67% mean accuracy (and 82.98% F1-score).
- Outperforming tracked and calibrated baselines: LNDN beat conventional classifiers even when those baselines were gifted manually tracked "common neurons" (e.g., CEBRA at 78.81%, SVM at 77.43%), and outperformed modern neural decoders like SPINT (67.39%) and amLDS (65.14%, which even used 10% labeled target-week trials for calibration).
Limitations and Future Work
LNDN isn't completely plug-and-play yet. First, while it skips cross-day neuron matching, it still relies on an upstream spike-sorter (Kilosort) to extract waveforms and coordinates; if an electrode degrades so badly that spike detection fails, the physical identity module loses its anchor. Second, test-time AdaBN requires accumulating a small batch of trials before making predictions, introducing a waiting period (collection latency) that isn't ideal for instantaneous real-time sensing. Finally, classifying four pure odors at saturated concentrations is a controlled starting point. Next, the authors aim to bypass spike sorting entirely—decoding directly from raw continuous signals or local field potentials (LFPs)—and test the system on messy, dynamic odor mixtures and changing concentrations.
Summary updated