🟧 UPDATE — Remove this note before publishing. Legend: 🟧 UPDATE marks text to replace once a decision or final version exists; 🟦 ADD RESULT marks a result still to be produced or inserted. To bring the figures into Notion, import igem_wiki_v3_notion.docx (Notion → Import → Word), which has every figure embedded; if you import this Markdown file instead, upload each figure at its image line.
The olfactory system of the fruit fly

The olfactory system of the fruit fly
The olfactory system of the fruit fly Drosophila melanogaster. Olfactory sensory neurons (OSNs) in the antenna each express one type of olfactory receptor and send their signals to the antennal lobe (AL). Projection neurons (PNs) carry the signal from the AL to the mushroom body (MB), where odors are learned, and to the lateral horn (LH), which drives innate responses. Our model follows the path antenna → AL → PNs → MB: sensor or receptor responses play the role of the OSNs, and the mushroom body is modeled as Kenyon cells read out by output neurons (MBONs). The lateral horn is not modeled.
🟧 UPDATE — Add the image credit (who drew it, or its source and license).
Animals recognize odors with remarkable reliability. The fruit fly Drosophila melanogaster identifies odors across large changes in concentration and against a background of other chemicals, and keeps learning new odors throughout its life, all with a very small brain. Its olfactory circuit is one of the best-characterized learning systems in biology (figure above). Odorants are detected by olfactory receptors (ORs) on sensory neurons in the antenna; each receptor responds to many odorants, so an odor is encoded by the pattern of activity across receptors. This pattern is collected in the antennal lobe and relayed by projection neurons (PNs) to the mushroom body, where a much larger population of Kenyon cells (KCs) receives sparse, largely random PN→KC connections [2], [3]. This random expansion into a high-dimensional space, combined with global feedback inhibition from the anterior paired lateral (APL) neuron that keeps KC activity sparse, produces decorrelated, near-orthogonal representations of different odors that are easier to tell apart [4], [12], [13]. These KC representations are read out by mushroom body output neurons (MBONs) through synapses whose weights are shaped by spike-timing-dependent plasticity to drive behavior [5], [15]. Learning happens at this last step: the random PN→KC wiring stays fixed, while the KC→MBON synapses change with experience.
This “expand and sparsify, then learn the readout” motif has proven attractive well beyond neuroscience: it underlies fly-inspired algorithms for similarity search and locality-sensitive hashing [6], and it has been adapted into insect-inspired classifiers for chemical sensing data [7], [8].
The fly’s circuit offers three properties that an odor-recognition system needs:
| Challenge | Fly mechanism | Our model |
|---|---|---|
| Each receptor responds to many odors | Random expansion and sparse coding make patterns easier to separate | Random sparse PN→KC connections and APL inhibition |
| New odors | Only the KC→MBON synapses change, so learning can continue | KC→MBON synapses learn with a local rule and can be trained in stages |
| Limited computing on a small device | Neurons fire only when needed (event-driven) | A spiking network, shown to run in pure integer arithmetic |
AeroSense’s modeling team implements a fly-inspired spiking neural network (SNN) that follows this PN→KC→MBON architecture — a sparse random PN→KC projection, APL-mediated global inhibition of the KCs, and a plastic KC→MBON readout — in the Brian2 simulator [10], and applies it to two kinds of input (Figure 2). The first is UCI-270 [1], [14], a public gas-classification dataset with six gases and many repeated measurements, which we use as a benchmark for the classifier. The second is closer to AeroSense’s own sensor: the published responses of the same 10 Drosophila olfactory receptors that our wet lab expresses in cell lines, taken from the DoOR database [16] as a stand-in until the wet-lab measurements mature. In both cases the response vectors are standardized, reduced with linear PCA, and encoded as PN spike patterns before the KC→MBON network classifies them (Figure 1).
Our central question is whether this fly-inspired circuit — random expansion, sparse coding and a locally learned readout — can identify odors from a pattern of responses across many receptors or sensors, and, where it falls short, at which step the information is lost. So far, on a random split of UCI-270 the network reaches a macro F1 of 0.79–0.83. Following the information layer by layer, a linear SVM still reads 0.92 from the PN spikes and 0.89 from the KC spikes, against 0.97 from the original features: the encoding keeps almost all of it, and most of the loss happens in the last step, from KC to MBON (Sections 3.1 and 3.2). On DoOR, where each class is a chemical family of different odorants, the task is harder: the SNN reaches 0.52, against 0.71 for a linear readout of the same receptor data (Section 3.3).
Figure 1

Figure 1. The complete neural network. An odor (Odor A) enters the sensory unit (PN), is projected onto the coding unit (KC), and the output unit (MBON) gives the answer. Red neurons are global regulators: ALLN activation and inhibition at the PN layer, APL inhibition at the KC layer, and global inhibition at the MBON layer. The forced answer on the right is the teacher signal used during training. The experiments on this page use PN, KC, APL, MBON, MBON global inhibition and the forced answer; the RPE (DAN) and ALLN neurons drawn in the figure are not part of the model used here.
Figure 2

Figure 2. The inputs of the model. UCI-270 (6 gases, 128 features per measurement) and DoOR (published responses of the 10 fly olfactory receptors that our wet lab expresses, one 10-value vector per odorant) are each standardized, reduced with linear PCA and passed through the PN→KC→MBON network; the most active MBON is the predicted class. The wet lab’s OR cell lines (dashed) are the planned input: their first plate does not yet match DoOR (Section 3.4), so the results on this page do not use them. Italic labels under the inputs give the sections that use them; under the network, the fly counterpart of each stage.