Skip to content
AI.info

Research

Seemingly Redundant Modules Enhance Robust Odor Learning in Fruit Flies

Overview Research area: Computational neuroscience and spiking neural networks (cs.NE), specifically modeling the fruit fly olfactory circuit. Technical level: Intermediate. The paper combines a biolo

arXiv
2510.21315
Published
2025-10-24
Authors
Haiyang Li, Liao Yu, Qiang Yu, Yunliang Zang

AI summary

Overview

  • Research area: Computational neuroscience and spiking neural networks (cs.NE), specifically modeling the fruit fly olfactory circuit.
  • Technical level: Intermediate. The paper combines a biologically constrained spiking network model with standard deep-learning training machinery (BPTT, Adam, cross-entropy), so readers need some familiarity with both neuroscience and neural network training.
  • Scope: A simulation study comparing lateral inhibition (LI) and spike-frequency adaptation (SFA) as two putatively redundant sparsification mechanisms in fly odor discrimination across varying noise levels.

What This Paper Is About

The fly olfactory circuit contains two mechanisms, lateral inhibition and spike-frequency adaptation, that both seem to do the same job: make neural odor representations sparser and easier to separate. It is unclear whether these mechanisms are truly redundant or whether they serve different purposes. The authors build a spiking model of the circuit and test whether each mechanism helps odor discrimination when odors are corrupted by different amounts of noise, simulating complex natural environments. The code is available at https://github.com/L-0cean/Fly-SNN.

Key Contributions

  1. A spiking neural network model of the fly olfactory circuit spanning 50 olfactory receptor neurons (ORNs), 50 projection neurons (PNs), local interneurons (LNs), 2,000 Kenyon cells (KCs), and mushroom body output neurons (MBONs) as readout units, with a single MBON per odor class.
  2. A systematic comparison of the Baseline (no LI, no SFA), LI-only, SFA-only, and combined LI+SFA models across noise intensities and odor class counts (1,000, 2,000, 5,000).
  3. The finding that LI and SFA are complementary rather than redundant: LI dominates at low and medium noise, SFA dominates at high noise, and their benefits are additive when combined.
  4. Robustness checks using Ornstein–Uhlenbeck noise (which captures temporal correlations in natural odors) and a parameter sensitivity analysis over random seed, learning rate, and batch size.

Main Findings

  • Baseline already discriminates well without sparsification: In noise-free conditions, the Baseline model reaches 91.7% accuracy for 1,000 odor classes, declining to 74.72% for 10,000 classes.
  • LI wins in clean and low-noise conditions: At noise intensity (N.I.) 0, accuracy was 91.70% (Baseline), 98.30% (LI), and 93.50% (SFA) for 1,000 classes; 88.85%, 96.85%, 90.90% for 2,000 classes; and 82.00%, 92.15%, 85.06% for 5,000 classes.
  • SFA wins under high noise: At N.I. = 0.2, accuracy for 1,000 classes was 72.64% (Baseline), 74.78% (LI), 78.77% (SFA); for 2,000 classes 58.80%, 58.87%, 67.34%; for 5,000 classes 32.70%, 31.91%, 43.04%. At N.I. = 0.3, SFA reached 69.34%, 55.78%, and 30.38% versus Baseline 59.03%, 43.34%, 20.26% and LI 53.82%, 37.50%, 16.55%.
  • The noise crossover point scales with class count: Low and medium noise were defined as N.I. < 0.20 for 1,000- and 2,000-class discrimination and N.I. < 0.15 for 5,000-class discrimination; above those thresholds the LI advantage disappears.
  • LI can reverse and hurt performance: Strong inhibition improved accuracy by 6.80% at N.I. = 0.0 and 18.52% at N.I. = 0.1, but impaired discrimination by -4.5% at N.I. = 0.30.
  • SFA helps at every noise level: Improvements of 1.80% at N.I. = 0.0, 3.65% at N.I. = 0.1, and 11.56% at N.I. = 0.30.
  • Combining both is best at low and medium noise: The Full (SFA + LI) model outperformed either mechanism alone under low and medium noise, while only under high noise did SFA alone outperform the other models.
  • Learning speed trades off differently than accuracy: In the low-noise range the Baseline converges fastest, then SFA, then LI. In high-noise ranges LI converges fastest, followed by the Baseline, with SFA consistently slowest. Convergence was defined as average accuracy improvement over n = 10 consecutive epochs falling below a threshold of 0.003.
  • Results hold under Ornstein–Uhlenbeck noise: For 1,000-class discrimination, LI remained best at low and medium noise (97.98% at N.I. = 0.1, 96.43% at N.I. = 0.3 versus Baseline 86.02% and 78.66%), while SFA was best at N.I. = 1.5 (77.49% versus Baseline 67.55% and LI 69.72%). Unlike the Gaussian case, LI did not impair performance at high OU noise, only diminished.
  • Hyperparameter robustness: Varying the random seed changed accuracy by less than 1.3%; learning rate scaled to 0.5–2.0 of default changed accuracy generally under 1.6%; batch size scaled to 0.5–2.0 produced differences typically below 3.0%.

Methodology in Plain English

The authors built a spiking model of the fly olfactory pathway using leaky integrate-and-fire neurons. Odor stimuli enter through 50 receptor neurons, pass to 50 projection neurons, and are then relayed to 2,000 Kenyon cells, each of which samples input from about six projection neurons on average. Kenyon cells converge onto mushroom body output neurons, one per odor class, which act as the classifier readout.

Two mechanisms were added. Lateral inhibition comes from local interneurons that send inhibitory currents onto projection neurons, sharpening which neurons respond most strongly. Spike-frequency adaptation is a self-inhibitory current triggered by a neuron's own recent spikes, implemented in projection neurons, local interneurons, and Kenyon cells.

Odor data were generated artificially: each class has a prototype 50-dimensional response vector drawn from a uniform distribution on (0,1), and individual samples are that prototype plus Gaussian noise, clipped at zero to keep firing rates non-negative. The dataset contained 30,000 training samples and 10,000 test samples. A variant used Ornstein–Uhlenbeck noise instead to mimic temporally correlated natural odors.

Only the Kenyon cell to mushroom body output neuron weights were trainable, initialized uniformly in [0, 0.08]. Classification used the time-averaged membrane potential of the output neurons over the stimulus window rather than spike counts, passed through a softmax with cross-entropy loss, and trained with backpropagation through time using an arctan-based surrogate gradient for the spiking nonlinearity, Adam optimizer (initial learning rate 1.0 × 10⁻⁴), and a ReduceLROnPlateau scheduler that reduced the learning rate by a factor of 0.2 if accuracy did not improve for 10 epochs. Training ran for 100 epochs with mini-batches of size 256.

Simulation details: Python with snnTorch on an NVIDIA A800 GPU, 1-ms time step, a 10-ms pre-stimulus baseline followed by 30-ms odor presentation, a 10-ms membrane time constant shared across neurons, firing thresholds of 0.8 for projection neurons, local interneurons, and Kenyon cells and 1.2 for output neurons, a fixed projection-to-Kenyon weight of 0.3, a 5-ms trace time constant for lateral inhibition, and a 50-ms adaptation time constant for spike-frequency adaptation. To keep firing rates comparable across conditions when a mechanism was enabled, the authors adjusted input drive or bias currents. The paper reports no theoretical proofs; results rest on simulation data.

Why This Matters

The work argues against treating biological redundancy as mere backup. Two mechanisms that look functionally interchangeable turn out to be specialized for different environmental regimes, and a circuit that has both can handle a wider range of conditions than one with either alone. This is a concrete, testable framing for why brains maintain apparently duplicated machinery, and it links circuit-level neuroscience to noise-robust machine learning design.

Real-world applications:

  • Neuromorphic hardware and spiking chips: Knowing when to deploy inhibition versus adaptation currents could guide on-chip sparsification that saves energy in edge devices.
  • Robust sensor processing: Odor, chemical, or gas sensor arrays operating in variable background interference could adopt noise-dependent sparsification rules inspired by this division of labor.
  • Bio-inspired machine learning architectures: The results support designs that switch or blend sparsification strategies based on estimated input noise, rather than committing to one fixed mechanism.
  • Fault-tolerant system design: The finding that overlapping modules cover different operating regimes is relevant to redundancy planning in engineered systems that must degrade gracefully.

Industry relevance: the paper explicitly connects to neuromorphic computing and notes that fly olfactory circuit features motivated the FlyLoRA architecture for task decoupling and parameter efficiency. Companies building low-power sensing or spiking inference hardware have a direct stake in which sparsification mechanism to implement, since inhibition and adaptation differ in cost and in when they help.

Future Directions

  1. More realistic odor stimuli: The authors note their odors were artificially generated and call for validation with more naturalistic, physiologically realistic stimuli.
  2. Biologically plausible learning: Training currently relies on backpropagation through time, which the authors acknowledge is generally considered biologically implausible, and plasticity is confined to Kenyon cell to output neuron synapses. They suggest exploring alternatives and allowing plasticity at ORN–KC synapses, for example unsupervised learning via Oja's rule.
  3. Broader environmental and model coverage: The parameter ranges and noise characteristics tested remain limited; wider environmental conditions and increased model complexity could strengthen the conclusions.
  4. Optimal arbitration between mechanisms: The results show that LI and SFA suit different noise regimes, but how a biological circuit decides which to recruit, and how quickly, remains an open question. The learning-speed results suggest convergence time may be part of that decision.

Target Audience

Computational neuroscientists studying olfactory circuits and sensory coding; spiking neural network researchers interested in biologically grounded architectures; neuromorphic engineers looking for noise-adaptive sparsification strategies; and machine learning practitioners working on robust classification under distribution shift and input noise. Readers without a neuroscience background can follow the modeling and results, but the paper assumes comfort with spiking neuron dynamics and standard training pipelines.

Authors’ abstract

Biological circuits have evolved to incorporate multiple modules that perform similar functions. In the fly olfactory circuit, both lateral inhibition (LI) and neuronal spike frequency adaptation (SFA) are thought to enhance pattern separation for odor learning. However, it remains unclear whether these mechanisms play redundant or distinct roles in this process. In this study, we present a computational model of the fly olfactory circuit to investigate odor discrimination under varying noise conditions that simulate complex environments. Our results show that LI primarily enhances odor discrimination in low- and medium-noise scenarios, but this benefit diminishes and may reverse under higher-noise conditions. In contrast, SFA consistently improves discrimination across all noise levels. LI is preferentially engaged in low- and medium-noise environments, whereas SFA dominates in high-noise settings. When combined, these two sparsification mechanisms enable optimal discrimination performance. This work demonstrates that seemingly redundant modules in biological circuits can, in fact, be essential for achieving optimal learning in complex contexts.

Read the original paper