<<

Downloaded by guest on September 24, 2021 agShen Yang online discrimination for odor algorithm neural a as Habituation xouet noo tmlsadlssfraohr3 i after min www.pnas.org/cgi/doi/10.1073/pnas.1915252117 30 another for lasts and stimulus odor an to exposure melanogaster Drosophila computation. circuit-level dynamical abstract, and affects active process an cognition sensory how describing and and by neurophysiology neuroscience physiology classical systems bridge sensory helps high- perspective between This to (15). connection perspective a algorithmic of an light mechanism biological from specific habituation a otherwise); interpret olfactory to or to is (biological not goal literature our is rather, the here subtraction in background goal proposed other Our algorithms model against 14). not approach do (13, our most circuit benchmark however, biological 12)]; specific habituation (11, system [e.g., any visual biology toad from the inspiration in take Some models (10). these detection of novelty and algo- classification, powerful information pattern for more filtering, habituation used even have to models Additional lead rithms. could habituation additional machine begun incorporate of in that features have habituation models that using studies suggest of and These applications benefits (9). the reveal recognition to object networks learning enhance been deep in to have and (5–8) subtraction) applications robotics background in primary used (i.e., the habituation demonstrate of that effects methods Computational (4). Parkinson’s tists and autism including linked been diseases, 3). has (2, neural impairment its various and process- systems, to sensory neural nose of represents many dog’s aspect in the smell ubiquitous entering ing a coyote’s odor is the raw Habituation the 1A). that of (Fig. fact component small the a despite only of dog, detected smell be the likely the by more to a distance—would example, the habituates environment—for in the appearing garden to coyote a change any in For then sitting noise. flowers, the dog background a high if if even within environment, example, embedded the are in signals signals salient these their most focus the to on organisms enables attention computation This (1). time over H neuroscience habituation systems. neural sophisticated more of other effects in the perception. habituation understanding toward odor help affect also to may can framework perspective Our physiology this sensory use how the and understand on habituation perspective of algorithmic mechanism an biological propose odor in we components Overall, novel mixtures. of detection improve similar and a background, share that odors a between infor- discrimination redundant derive enhance out mation, filter and to to empirically able is system both algorithm show, this olfactory that analytically, We fly habituation. known for fruit follow algorithm we the simple Here, in environment. mechanisms the circuit salient in most features the novel toward attention and guide neural organisms suppresses crit- helping is that process in This ical stimuli. neutral simple repeated, to of 13, response April in form Turrigiano activity G. a Gina Member is Board Editorial Habituation by accepted 2019) and 5, Kingdom, September United review Cambridge, for Cambridge, (received of 2020 University O’Leary, Timothy by 92093 Edited CA Jolla, La Diego, San California of University Department, a iosCne o uniaieBooy odSrn abrLbrtr,Cl pigHro,N 12;and 11724; NY Harbor, Spring Cold Laboratory, Harbor Spring Cold Biology, Quantitative for Center Simons pcfial,hr efcso hr-emhbtainin habituation short-term on focus we here Specifically, scien- computer of attention the attracted also has Habituation btaini yeo oascaiepatct nwhich in plasticity suppressed nonassociative are stimuli neutral of repeated, to type responses neural a is abituation | a | drdiscrimination odor ajyDasgupta Sanjoy , nuevsdalgorithm unsupervised 1) hc cusatraot3 i of min 30 about after occurs which (16), | akrudsubtraction background b n ae Navlakha Saket and , | systems a,1 aadpsto:Cd o h aiuto loihshv endeposited been have algorithms habituation the for odor-discrimination Code GitHub, on deposition: Data the under Published doi:10.1073/pnas.1915252117/-/DCSupplemental at online information supporting contains article This 1 Editorial the by invited editor guest a is T.O. Submission. Direct PNAS Board. a is article This interest.y competing paper.y no the declare wrote authors S.N. The and S.D., Y.S., performed and S.N. and data; S.D., analyzed Y.S., Y.S. research; research; designed S.N. and S.D., Y.S., contributions: Author of across system in olfactory The work (25). and scales mechanisms habituation time two multiple both (23, these facilitate itself how to bulb unclear tandem olfactory remains the it in and effects observed 24), the also cor- that are the body) suggests habituation in mushroom of evidence fly cells experimental the principal in However, and [KCs] (19). (analogous cells lobe) Kenyon bulb antennae to fly (analogous olfactory tex the the in in PNs cells to mitral synaptic of between habitua- depression body, short-term strength models, via mushroom mice implemented the been in in has Similarly, tion not representa- occurs. and odor learning (22) odor on lobe where focuses antennae model the this in tions However, as (PNs), flies. neurons fruit projection in between and is (LNs) strength habituation neurons synaptic inhibitory (21), of down- local potentiation models occurs the honeybee through that in achieved identification example, processing odor sensory For and early stream. coding in but odor habituation (19–22), how affects circuits is olfactory honeybee understood and less mouse the in ation is effect. it lasting yet a decay, have and rela- to initiation enough a its stable requires for also it mechanism online because (1). fast system interest habituation tively olfactory of of vertebrate is scales the habituation in time Short-term described Different been days. habituation also long-term for have as lasts such which milliseconds, habituation, of (16), of hundreds forms of order longer the and on adapta- occurring (ORN) 18) neuron (17, receptor forms tion odorant faster as with such contrast in habituation, is of This stimulus. the of extinction the owo orsodnemyb drse.Eal [email protected] Email: addressed. be may correspondence whom To h a ewe esr erbooyadcognition. subtracting and neurobiology sensory by between bridge gap detection helps the perspective this foreground broadly, similar More noise. improves background between demonstrate We and discrimination flies. habituation odors enhances fruit odor in habituation for circuit how olfactory algorithm the challenge. neural on this a unsupervised based overcome propose to an we uses stimuli—is Here, brain the neutral respon- method in repeated, learning reduction sensory to many Habituation—the by brain. siveness faced the challenge in a systems is background constant noisy a and within embedded information relevant Identifying Significance ro okhssuidtemcaim fsottr habitu- short-term of mechanisms the studied has work Prior y https://github.com/aspen-shen/Habituation-as-a-neural-algorithm-for-online- .y NSlicense.y PNAS b optrSineadEngineering and Science Computer . y https://www.pnas.org/lookup/suppl/ NSLts Articles Latest PNAS .melanogaster D. | f9 of 1

COMPUTER SCIENCES NEUROSCIENCE AB

CD

Fig. 1. Illustration of the fruit fly olfactory circuit and two habituation-related problems. (A) Cartoon illustration of the effects of short-term habituation. (B) Overview of the fruit fly olfaction circuit. For each input odor, ORNs each fire at some rate, denoted by gray shade. ORNs send feed-forward excitation to PNs of the same type. A single lateral inhibitory neuron (LN1) also receives feed-forward inputs from ORNs and then sends inhibition to PNs. The net firing rate of each PN is the summation of the excitation it received from its ORN minus the inhibition received from the LN1. The locus of habituation lies at the LN1 → PN synapse, and the weights of these synapses are shown via red line thickness. PNs then project to KCs, and each KC samples sparsely from a few PNs. KCs that receive a summed input above a threshold will output to a single inhibitory neuron, called APL. APL sends strong feed-back inhibition to the KCs, which silences about 95% of the lowest-firing KCs; the remaining 5% of highest-firing KCs form a “neural tag” for the odor. (C) Illustration of fine discrimination. Prior to habituation, three similar odors (sA, sB, and sC ) share overlapping neural tags. After habituation to odor sA, many of the KCs shared by all three odors stop firing. As a result, the differences between sB and sC are heightened leading to improved discrimination. (D) Illustration of foreground (mixture) discrimination. Before habituation, the neural tag of the odor mixture with 80% of odor s and 20% of odor s0 is similar to the neural tag of pure odor s. After habituation to s, the neural tag of the mixture resembles the tag for pure odor s0, since the s component of the mixture has been subtracted. KCs activated by odor s (blue); KCs activated by odor s’ (green).

is attractive to study because its anatomy and physiology, from ORN responds to almost every odor with a different activation level, and the receptor level to the mushroom body, have been relatively only a few ORNs respond highly to a given odor. well mapped (26–34), allowing us to interpret the effects of 2) In the second step, ORNs extend axons into structures called glomeruli in habituation on downstream odor coding, learning, and behavior. the antennae lobe, where they synapse onto dendrites of PNs. There are Short-term habituation has also been described in other systems, approximately 50 PN types, and ORNs of the same type send odor infor- mation to corresponding PNs of the same type. This step normalizes PN such as in mice, cats, and worms (35–38), and may follow similar responses such that the mean firing rate of PNs is nearly the same for all mechanisms. odors (47–50). In addition, PNs receive inhibition from lateral inhibitory Here, we follow experimentally derived mechanisms of short- neurons in the antennae lobe, including LN1 interneurons, which are term habituation in the fruit fly olfactory circuit to develop an involved in habituation, as described below. unsupervised algorithm (39) for enhancing odor discrimination. 3) In the third step, the dimensionality of the representation expands: The Our algorithm is based on the “negative image” model of habit- 50 PNs project to about 2,000 KCs in a structure called the mushroom uation (16, 40), in which a simple plasticity rule is used to store body. Each KC receives input from approximately six random PNs (30), an inhibitory image of a background odor signal, which is then and KCs respond by thresholding the sum of their PN inputs (26, 51, 52). Thus, KCs have a rectilinear threshold activation function, which helps subtracted from future inputs. Our model can replicate three suppress PN noise (53, 54). general features of habituation: stimulus adaptation (reduced 4) In the fourth step, each KC sends feed-forward excitation to a single responsiveness to neutral stimuli that do not have a learned or anterior paired lateral inhibitory neuron (APL) (55), which, in turn, sends innate valence associated with them), stimulus specificity (habitu- inhibitory feedback to each KC. As a result of this feedback loop, only ∼5% ation to one stimulus does not reduce responsiveness to other, of the most highly activated KCs fire for each odor in what is called a “win- distinct stimuli), and reversibility (dishabituation to the back- ner take all” computation (28, 29). Thus, an odor is finally encoded as a ground in case it becomes relevant). We also demonstrate the sparse point in a 2,000-dimensional space. We refer to the 5% of KCs that relevance of these features for computational problems, such fire for a given odor as the neural “tag” (the term used in neuroscience) or as online similarity search (41) and background subtraction (42, “hash” (the term used in computer science) for the odor. Because this cir- cuit generates tags that are similarity preserving (41), tags for similar odors 43), using both neural and machine learning datasets. share more overlapping KCs than tags for different odors. 5) In the fifth step, KCs send feed-forward excitation to mushroom body Methods output neurons (MBONs) (31) that “decode” the input and drive behav- Basic Anatomy of the Fruit Fly Olfactory Circuit. Odors in the fruit fly olfactory ior. For example, there are MBONs involved in learning approach and circuit are encoded using five main steps (Fig. 1B). avoidance behavior. When an odor is paired with some reward or pun- 1) In the first step, ORNs are activated when odor molecules bind to specific ishment, the strength of synapses between KCs activated for the odor receptors. There are approximately 50 types of odorant receptors in the and downstream approach and avoidance MBONs are modified (32). fruit fly antennae, and a single ORN contains only one type of receptor. While there are many complexities in the decoding process still to be d Thus, an odor is initially encoded as a point in R+, where d = 50. The determined, it is generally accepted that it is easier to learn to associate coding of odors across the ORNs is combinatorial (44–46), such that every different behaviors to two different odors when the KCs activated for

2 of 9 | www.pnas.org/cgi/doi/10.1073/pnas.1915252117 Shen et al. Downloaded by guest on September 24, 2021 Downloaded by guest on September 24, 2021 hne al. et Shen the assume we generality, the of of loss activation (i.e., without total 1 and, be the constant, to that constant a such is normalized ORNs, neuron is all LN1 input from each input assume receives We that (w (`) weight neuron the inhibitory and LN1 single a type, component odor the pure modify the (21). to to mixture exposure shown the after in been mixture honeybees, odor have an in PNs to Finally, response and (22). PN LNs habituation represen- between to mixture’s due synapses odor lobe inhibitory an ORN antennae of than the shift rather in the PNs, tation explains to reliably LNs most inhibitory Heb- from adaptation, that and synapses shown have modeling of system modification computational olfactory bian honeybee addition, the in In work (16). experimental that habituation have and for habituation studies sufficient short-term PNs, for and required LN1 is γ LN1 between inhibitory strength that synaptic shown amount in the potentiation that of and PN. the suppressed, of be activity important odor the is to an related it for is suppression active habituation, of PNs odor-specific the LN1 achieve only the To that corresponding of time. the weight over active, persistently the decrease is increases ORN PN the LN1 that If and such model, synapse. LN1 plasticity, inhibitory our an Hebbian PN In of activity-dependent PNs. firing to and subject coincident LN1s is between neurons, driven project- synapse strength is inhibitory to this Habituation synaptic firing. LN1 addition increased their to inhibit in the to excitation ORNs, by PNs onto feed-forward 1B). synapse turn, send (Fig. in also 59) which, PNs, 40, PNs and (16, to interneurons lobe ing inhibitory antennae LN1 the between synapses in the and at system, occurs odors. olfactory ation similar fly between discrimination fruit enhance to the used in be may 40) it (16, how Habituation. habituation of for Model mechanism Image” “Negative The (56–58). reviews previous in found be can system ple eoePsps nomto ontemt KCs. are to habituation downstream of information effects pass time the (via PNs that the inhibited before ensuring being make applied small, PNs be would and to This excitation) LN1) ORN fast. from to feedback is (due PNs firing long PNs as to between feed-back, LN1 lag or from model) inhibitory inhibition our images, in feed-back inhibitory (as as feed-forward creating either for be can that, inhibit synapses suggests two-step LN1s computational 64) two, a then the (59, and between to differences LN1s, modeling this subtle and be simplify may PNs there We both While excite PNs. PNs. ORNs inhibit which which in excite anatomy procedure, LN1s, ORNs which Second, excite in neuron. process, which three-step LN1 PNs, a actually panglomerular is archi- habituation single that the neuron a shows simplify LN1 we contain each thus to However, and 61). 18 tecture (60–63), (60, about glomerulus rather lobe every but antennae nearly neuron, per innervates inhibitory neurons, LN1 LN1 single 20 a to not is there that shows the rule is update remains weight the what this, input, achieve for To next odor. the the of from component foreground image negative this subtracting to time over converge If n o ahP.Tetidtr losfrgauldsaiuto,controlled rate dishabituation, recovery gradual weight for allows a term by (x third The PN PN. Each each for rate. ent firing weight PN own the its of with magnitude the on depends increases PN and coin- rate, LN1 where the rule update of Hebbian activity activity-dependent cident the is term second The aiouyi cd(AAegctasiso rmL1i eesr and necessary is LN1 from transmission (GABA)ergic acid -aminobutyric s omly eaegvna R (s ORN an given are we Formally, evidence experimental direct no there’s knowledge, our to Although, habitu- for locus primary the above, circuit the of 2 step on Expanding olfactory fly fruit the in physiology and anatomy circuit detailed More hr r w ipictosmd nteaoecrut is,anatomy First, circuit. above the in made simplifications two are There h w dr r ooelpig ota h oie KC (29). modified another the one with that “interfere” so not do nonoverlapping, synapses are odors two the i w sacnitnl iia akrudoo,te ewudlike would we then odor, background similar consistently a is → i α ttime at ∈ Nsnpewih ilices,cuigtefiigo h Nto PN the of firing the causing increase, will weight synapse PN hs h antd fteices nsnpi weight synaptic in increase the of magnitude the Thus, 1]. [0, t is i ftesnpebtenteL1adteP Fg 1B). (Fig. PN the and LN1 the between synapse the of ) w ` i w = n hsteaon fhbtaincnb differ- be can habituation of amount the thus and , s i i t ) hnteP ciiyequals activity PN the Then 1). = = β ofr ngtv mg”o h nu.After input. the of image” “negative a form to x ∈ w w i = = i i t t [ −1 −1 ,1] 0, max(s max(s + + einitialize We . i αx α`x ,iscrepnigP (x PN corresponding its ), i i i t − − −1 i t −1 w `w − w i − 0). , i 0) , i β egtdb h habituation the by weighted , β w enwitoueacircuit a introduce now We w i t −1 w i t −1 i 0 . = o all for 0 i sassociated is ) i ftesame the of ) i . → MBON w i [1] [2] → to h apigrtoo ahK 6goeuiotof out glomeruli (6 KC each In fly. of for the ratio value This in sampling 0. as the to set 50, are to row the 40 in about of row, ratio each expansion dimensionality a serve m y input. an of tag neural the Computing S1. Fig. Appendix, SI and weight Each weight. habituation each the Eq. in is occurs vector that habituation. the normalization Applying of divisive mean mimicking (47). the lobe 10), and antennae to nonnegative (set are constant values a all that such fly vector fruit the in recordings experimental of published using problems two these Setup. and Dataset Experimental (s mixture response. learned the appropriate the to recall odor responding pure the to KCs responding ignoring the or between eliminating overlap by coyote) the (i.e., 1D). (Fig. mixture background the of ponent ratios; (s background foreground to 20% foreground low example, with for regimes in of interested mixture ticularly a is which garden), odor new a Then, flowers). odors is, that odor odor, same the are The odor. in point s e ecnie ihihsterl fhbtainfrdtcignovel detecting for habituation of role mixtures. the odor of highlights components Discrimination. consider Foreground we and lem Habituation 2: Problem for active KCs the is, between to that habituation overlap (27); the low smaller is for the odors active two approach KCs say, the are to, between there interference learn 32, synaptic to (31, that fly smelled tant is the odor For the KCs when 68). odor-activated applied 67, for avoidance be synapses will and these behavior which of approach determine strengths onto relative the synapse and KCs circuits, Biologically, (57). crimination between denote We odor to KCs. odor habituation active to many assigned tag share as the (such will inputs they and two odor, correlated, if that, the highly meaning for 66), active (41, sensitive are locality that function hash KCs a of as set viewed high-dimensional a be in can point transformation sparse a assigned of consisting is space, odor each above, steps to the habituation apply to is goal habituation, between The any discriminate similar. without very thus, smell and would other, each with correlated to easier them making odors, 1C remaining (Fig. expands two discriminate this the subtracted; be between to differences odors the three com- all that some by causes group shared odor control representation one mon a to habituation than Intuitively, accuracy (65). habituate higher not between with three did discriminate scents habituat- as could flower after noses two such untrained that, other other, even the showed each scent, study flower’s to one experimental to similar An humans. ing very flowers. in all rose discrimination of are odor types that fine odors of three observations Imagine by motivated Discrimination. is Fine sider and Habituation 1: Problem A (k r optdas computed are ) = d htde tma o“eet h oerud sbfr,temore the before, As foreground? the “detect” to mean it does What sipt eaegvnasra fodors, of stream a given are we input, As overlap of amount the to related is then, discriminate, to ability The in described As odors? two between “discriminate” to mean it does What odors, of stream a provided are we input, as Formally, , 1 s β = ,0 osand rows 1,000 B ocmueteatvt fec N n hnw pl Eq. apply we then and PN, each of activity the compute to k , s = 4ON epnigt 1 drns(6.W omlzdec input each normalized We (46). odorants 110 to responding ORNs 24 s (i C ie,tots dr olw l he dr (s odors three All follow. odors test two times, ) 1 h feto different of effect The 0.01. hr n dri bevdi ahtm tp ahoo sa is odor Each step. time each in observed is odor one where ], R gi ersn essetbcgon dr(.. adnwith garden a (e.g., odor background persistent a represent again I s (s c + d A (i B = ) where , ; ersn os esoso odor of versions noisy represent s s admpstosaestt ,adters ftepositions the of rest the and 1, to set are positions random 3 00 A s and ) A and (s) background 80% of consisting mixture a be could ,teese ti odsrmnt them. discriminate to is it easier the ), 0 m y .Tega st outydtc h oerudcom- foreground the detect robustly to is goal The ). ). s d d A Θx = = I s = = (s B . ahtm niptvector input an time Each C ,0 C,o hc nyruhy5 r cie This active. are 5% roughly only which of KCs, 2,000 and 0crepnst h 0ONfiigrtsfrthe for rates firing ORN 50 the to corresponds 50 s 4clms hsvlefor value This columns. 24 ; B s s s B Here, . A 0 htaentatv for active not are that and , s s h airi st eettecyt (s coyote the detect to is it easier the , ,weefwrsae C ed obte dis- better to leads KCs shared fewer where ), 00 A (i s ) C = speetd(.. ooeapaigi the in appearing coyote a (e.g., presented is . s s n e odor new a and etse u aiuto loih for algorithm habituation our tested We I A (s Θ B o all for ; sasas admmti,containing matrix, random sparse a is c α, s a eetdt prxmtl match approximately to selected was A w ie Nvector PN a Given β ob h a sindto assigned tag the be to ) i siiilzdt .W set We 0. to initialized is auso aiuto ssonin shown is habituation on values i ∈ |K| s [ S A 1, s NSLts Articles Latest PNAS B ntesmls ae all case, simplest the In . [ = h rtpolmw con- we problem first The = k n avoid and fe xeinigthe experiencing After ]. I s s s h function The 0.05m s : 0 C (1) m speetd eapply we presented, is d R n ievra Thus, vice-versa. and , .W r par- are We 1A). (Fig. s , + d = B a eetdt pre- to selected was s (2) A K → x and 0 3) fe the After (30). 50) h eodprob- second The , h Cresponses KC the , , S s 00 . . . B n h KCs the and ) , [ = s where , s s C s C C , B ti impor- is it , s s r highly are ) s 2 A bt after (both (k A (1) and I oupdate to ) (s s obetter to , , B α B s s | s 00 obe to ) A (2) B and = s 0 K The ]. C and ) f9 of 3 , after are ) 0.05 . . . sa is I s s A (i is C ) ,

COMPUTER SCIENCES NEUROSCIENCE projection step, a rectilinear function is used to filter out noise in the KC Results responses. For each 1 ≤ i ≤ m, we set First, we provide an example of habituation and prove that, ( under our model, habituation weights converge to form a “nega- 0 yi if yi ≥ τo yi = [3] tive image” of a constant input. Second, we use habituation to 0 otherwise, address problem 1 (fine discrimination) and problem 2 (fore- ground discrimination) both empirically and analytically. Third, where τo is a small constant equal to the mean of the input vectors. Finally, we demonstrate applications of habituation for improving online the winner-take-all sparsification step sets the top 5% of the highest firing KCs to 1, and the remaining KCs are set to 0. This gives us a vector z ∈ similarity search. {0, 1}m, where An Example of Habituation and Stimulus Specificity. Fig. 2 shows an ( 0 0 1 if yj ∈ {d0.05me largest nonzero entries of y } example of how PN responses to repeated presentations of the zj = . [4] 0 otherwise same odor (odor A: acetic acid) change over time. Initially, PN firing rates for the odor are not suppressed, and the inhibitory Why is the first KC thresholding step needed, in addition to the second? synaptic weights between the LN1 and PNs are low. With time, The winner-take-all alone always allows about 5% (0.05m) of KCs to fire, these synaptic weights become stronger at different rates accord- even if the KCs are firing at very low rates (which, e.g., could occur when an ing to the firing rate for each PN, and this causes PN firing to odor is close to being habituated). In such a case, the activity of these KCs decrease (Fig. 2A). could drive approach or avoidance behavior, despite mostly encoding noise. Habituation is also stimulus specific (Fig. 2B). Before habitu- As a result, a minimum threshold (τ0) for firing is required to suppress KC noise; this is similar to the notion of a “firing threshold” for a neuron or the ation, about 50 (5% of the 1,000) KCs respond to odor A, but, “rectilinear threshold” of rectified linear units in artificial neural networks. after habituation, these KCs are almost entirely silenced. On the Thus, the tag of an input is a binary vector of length m, with up to 0.05m other hand, KCs remain responsive to a different odor (odor values as ones, and the rest as zeros. Equivalently, the tag can be repre- B: ethyl hexanoate) after habituation to odor A (Fig. 2B), sug- sented as a set of KC indices that are active for the odor: I(x) = {j:zj = 1}. gesting that habituation to one odor does not hamper responses We do not arbitrarily break ties, and thus, if there are ties in the KC firing to different odors. In addition, habituation is reversible, where rates, there may be slightly more ones in the vector. the circuit can dishabituate to one odor when it is not Neural tag similarity. The KC tag I(s) for an odor s is a set of indices (each observed, and then habituate to a different odor (SI Appendix, between 1 and m), corresponding to the KCs active for odor s. The similarity Fig. S2). between the tags of two odors s and s0 is defined as the Jaccard coefficient between I(s) and I(s0), |I(s) ∩ I(s0)| . |I(s) ∪ I(s0)| A The Jaccard coefficient is a widely used measure to gauge the similarity between two sets. Its value lies between 0 and 1, with 0 meaning that the two sets have nothing in common, and 1 meaning the two sets have identical items. Forming binary odor mixtures. Predicting ORN responses to an odor mix- ture remains a challenging problem, with evidence that ORNs for mixtures can respond both linearly (69, 70) and nonlinearly (71–73) with respect to the mixture’s individual components. We explore two models here to form mixtures. For the linear model, given two odors s and s0, the binary mixture is computed simply as s00 = ξs + (1 − ξ)s0, where ξ determines the concentra- B tion of each odor component. For experiments in this paper, we set ξ = 0.8 to explore regimes with a dominant background odor (s) in the mixture, and a low signal foreground (s0). For the nonlinear model, the binary mixture is computed as s00 = sξ + s0(1−ξ). For both models, s00 is normalized to have the same average firing rate as the single odors (45). Nearest neighbors analysis for online similarity search. For each of the 110 odors, we first compute a ground-truth list of the top N nearest neighbors for the odor. For odor s, this list is computed based on the Jaccard similarity between I(s) and the tag for each other odor. For a mixture, s00 = ξs + (1 − ξ)s0, we seek to determine how well the predicted nearest neighbors for s00 C after habituation to s overlap with the ground-truth nearest neighbors of pure s0. The overlap between two lists of N nearest neighbors is computed using the mean average precision (mAP) (74). The mAP measures the similar- ity between two ranked lists. Common items between the two lists are weighted by their ranks in the lists. Formally, assume there are Ntot items (odors), and let l1 and l2 be two ranked lists of N < Ntot of the items. Each list can contain items not present in the other list. The list l1 is the ground-truth list, and l2 is the predicted list whose similarity to l1 we wish to compute. Let Fig. 2. Changes in circuit activity due to habituation. (A) Over time l12 be the list of the Nk common items in l1 and l2, in the same order as they (x axis), the synaptic weights between the LN1 and activated PNs increase appear in l1. Finally, let r12(i) = the rank in l1 of the ith item in l12. Then, (y axis, left), and the corresponding PN firing rates decrease (y axis, right). The weights between the LN1 and all nonactivated PNs remain unchanged N Xk (green line at y = 0). There are 24 total PNs, and each curve corresponds to mAP(l1, l2) = (1/Nk) × i/r12(i). a different PN. (B) Before habituation, about 5% of the 1,000 KCs respond i=1 (vertical bar) to odor A. After habituation to A, only a few KCs respond for A. However, after habituation to odor A, KCs still respond to a different odor We compute the mAP over three values of N = {10, 20, 30} and report the B, suggesting that habituation is odor specific. (C) Left shows that odor A average. The mAP ranges from 0 (least similar) to 1 (most similar). We com- and odor B are relatively distinct odors with little overlap in their tags. Right pare the similarity of two lists using the mAP, as opposed to the Jaccard shows that, after habituation to odor A, a substantial number (44/50 = 88%) coefficient, because the former takes the rank of each nearest neighbor of KCs in original tag of odor B still respond to odor B after habituation to into account, as well. odor A. Odor A: acetic acid. Odor B: ethyl hexanoate.

4 of 9 | www.pnas.org/cgi/doi/10.1073/pnas.1915252117 Shen et al. Downloaded by guest on September 24, 2021 Downloaded by guest on September 24, 2021 hne al. et Shen eetdypeetd uc aclto hw httelimiting the of that value shows calculation quick A presented. repeatedly efrsti n hw emti aeo convergence. of rate geometric a shows and this reaffirms rate, dishabituation the (modulo input that indicating “nega- a form to vector image.” weight tive habituation the of Convergence sdfeetL1P rhtcue,o htmyocrdown- occur odor facilitate may further could that recognition. completion, pattern or as such architectures, such upstream, habituat- stream, occur LN1–PN after that applied different an processes correctly Other as for odor. and another behaviors recalled to learned be ing recognize still the hence, to can Thus, and sufficient odor one- (75). habituation, be about trials may after only (∼65%) across odors here with reliably observed trials, responding overlap multiple KCs responses across of KC odor third in same However, experimentally the biologically. observed unclear, to are remains general- variations odor be can other large odor the one for to behavior ized learned the that such tags in S2. described Corollary habituation, and S2 to Lemma analysis due theoretical robustness by tag supported more of also the are odors, results two These the similar stability. less the stable; relatively remains are biased were odors S3C). odors the real Fig. synthetic Appendix, the to whereas (SI because independently other, due sampled and each likely ORNs) with correlated 50 is the Appendix, more of to spread out (SI compared (24 larger data respectively sampling The the of 63%, data. spread Jac- and synthetic larger median with 61% of S3B)—but and responses of Fig. results—mean with similarity similar but card observed odors, We 110 ORNs. contains also which remains B odor of 2C). tag (Fig. the A, unchanged odor largely to habituation after that, between show (correlation habituation orig- overlap after the unchanged less coefficient remain in KCs the KCs more addition, the of 68%) odor In of of tion. (median tag 67% inal average, on that, between val- s 50 similarity distribution of tag list exponential neural a an is from odor with independently Each sampled odors. 110 ues, to responding ORNs habituation. to due changed constantly tags odor odor if an odor, difficult for different very tag habituation a after KC and to before the unchanged specific, relatively remain stimulus should Odor. Another be to to Habituation habituation after Robust Remain Tags Neural Proof: stimulus of presentation w upon vector updated the α, is, that w 0 and * * em 1: Lemma xcl o ayKsne ob hrdbtentoodor two between shared be to need KCs many how Exactly odor another of tag the odor, an to habituation after Overall, (46), data odorant real for analysis this repeated we Second, of dataset synthetic a generated first we this, test To < β eoeadatrhbtainto habituation after and before − λ w Since 1 w o l drpairs odor all For 10. = 0 w and (1 = = = = scodnt-iels hno qa to equal or than less coordinate-wise is = sthen is w w w w ups h urn egtvco ssome is vector weight current the Suppose * * * Suppose α − − − − −  w + 0.47; (α w * (α αs (1 w < β − * s + − + nedfrsa“eaieiae fthe of image” “negative a forms indeed 0 −  w β .A neape we example, an As A). S3 Fig. Appendix, SI β Let 1. eanatv ntetgatrhabitua- after tag the in active remain β w (1 0 s ))(w )w (1 = )w ehave we , s siiilzdt eoadodor and zero to initialized is − w ned ogtr erigwudbe would learning long-term Indeed, . * − * (α * − − = w α(s − + (1 0 (α α w (1 = I β − − ). + (s α + (s ))w s (α w 0 β β ) − − ) and s s ))(w + and , w epciey efound We respectively. , β β )w β ) .Tefloiglemma following The ). + ))w s * I 0 = + − ecluae the calculated we , (s s α(s w 0 ; − ). I w s (s tetg of tags )—the w − .Assume *. s ) n thus and , IAppendix, SI Then . w and ) + w s ∈ denote d d  I R w 24 = 50 = (s w For 0 d 0 ; * 0  s <  is ), 0 ee eso httilt fsmlrooscnb better be can odors similar s odors. of the of triplets one to that habituating 1). after (Problem show discriminated Odors Similar we of Here, Separation the Enhances Habituation ilgclmcaim,t efr akrudsbrcinin subtraction (SI background from data imaging perform derived streaming we algorithm, to Finally, habituation mechanisms, odor S4). biological simple Fig. this Appendix , used (SI also (Methods), trends mixtures similar form repeated to observed model We and nonlinear 4B). a (Fig. with analysis habituation this before the similarity and their habituation than after odor mixture the of of tag tag sim- the The between mixtures. corresponding ilarity their and odors of pairs ∼6,000 compo- detect. minor the allowed (s to odor nent the habituation of Thus, component similarity). dominant the Jaccard (96% overlap strongly mixture, the of to tag habituated then We similarity). Jaccard between similarity card for fire odors of of perception tags the shape may similar experience between (65). prior odors discriminate how demonstrates better and model help odors our can Thus, in habituation 3D). reduction how (Fig. average habituation an after sus observed habituation We of after overlap odor. then KC and remaining habituation pairwise the before with to odors dataset the the of in two triplets odor of 99 correlation all using above sis odors part for and KCs tags activated posthabituation other become the allowing to of threshold suppressed, 5% are the KCs below odors some previously three result, a all As to correlated. highly common are odors of three all suppression since by to caused is responsive reduction PNs 3 This these distinguish. (Fig. by to 25 shared easier to KCs overlapping reduced of tags number two the that found and odor to uated tags the the of result, out a As 3A). and (Fig. pairwise correlated highly 20%s odor for statistics lar ro oayhbtain h he asaedenoted are tags three and The habituation. any to prior odor pure of tags odor the calculated first we ally, the in downstream coding odor affect body. may mushroom lobe habituation how antennae into mixtures can the insight model in provide to also our that and that responded result show KCs this often we replicate where Below, also component. (69), that component been system containing have one mixture olfactory results to odor locust Similar habituat- respond 22). the after binary (21, components in a component its observed other to of the one responses to to ing PN similar that more become show lobe nae Mix- 2). Odor (Problem in tures Discrimination Foreground Robust of Enables recognition Habituation the hindering not also odors. while these odors, similar two B eepne hsts rmoeeapeoo art all to pair odor example one from test this expanded We odor to habituation though even Critically, .Computation- 4A). (Fig. idea this exemplifies following The sa xml,w eetdtreoos(s odors three selected we example, an As oso htti eutgnrlzs erpae h analy- the repeated we generalizes, result this that show To acetone; : I I s (s 0 (s hr r oeKssae between shared KCs more are there , 0 0 C ehlhxnae,adtermixture, their and hexanoate), (ethyl o“o u”aoetebcgon,mkn tese to easier it making background, the above out” “pop to ) 00 s ) B epciey Because respectively. ), ∼ o odors for eanfiigfor firing remain 50 s s 0 C s 26.7 > 5 f100 C Fg 3 (Fig. KCs 1,000) of (5% s temnrcmoet snal ifl higher sixfold nearly is component) minor (the B -uaoe hs R ersnain are representations ORN whose 2-butanone) : A ecmue h a iiaiybetween similarity tag the computed We 0.80 acltdtetags the calculated , and xeietlsuisi h oebeanten- honeybee the in studies Experimental I ± s (s s A B 15.4% s 00 ,wihas r for fire also which 3C), (Fig. s C and ; C s .Tu,hbtainhlsdiscriminate helps habituation Thus, ). I naeae bu 0 fKsthat KCs of 60% about average, on , fe habituation, After ). (s s i.S5 ). Fig. Appendix, 00 (p C ) s r ihyoelpig hrn 38 sharing overlapping, highly are < B and B, paired 0.001, fe aiuto to habituation after s ,mkn h w odors two the making Right), 00 I s (s scmoe f80%s of composed is B I than ) and NSLts Articles Latest PNAS (s B, s B .W hnhabit- then We Left). n eacltdthe recalculated and ; s s s s A s C 00 00 aei cd,pure acid), (acetic A iehlsulfide; dimethyl : I t 0 = ) (s . s and s et eoever- before test) 00 A and 00 .80s ; and hne the changed s s s I ) B 5%Jac- (59% I (s and s (s 0 + s A and ), 0 C | (simi- I I (32% ; I .20s f9 of 5 (s (s s (s and s A B C 0 0 ), ), ) ) 0 ,

COMPUTER SCIENCES NEUROSCIENCE AB

D

C

Fig. 3. Habituation and fine discrimination. (A) Odors sA, sB and sC are highly correlated with each other. Shaded circles illustrate ORN firing rates. (B)(Left) Before habituation to odor sA, the tags for odors sB and sC highly overlap. (Right) After habituation to odor sA, overlap between the tags of odors sB and sC decreased. Odor sA: dimethyl sulfide. Odor sB: acetone. Odor sC : 2-butanone. (C) Firing rates of PNs for each odor before and after habituation to odor sA. After habituation, PNs that respond highly to odor sA are mostly silent for all three odors, while some activity of other PNs remains intact for odors sB and sC .(D) Comparing Jaccard similarity between odors sB and sC before and after habituation to odor sA, for all odor triplets (sA, sB, sC ) with pairwise correlation r > 0.80. After habituation, the overlap between the tags of odors sB and sC generally decreases, making them easier to discriminate.

Analysis of mixture representations posthabituation. Our empir- tains 80% of s. However, after habituation, this overlap ical results are supported by theoretical results. Recall that the decreased (median mAP = 0.19 ± 0.16), and, instead, the mix- mixture s00 = ξs + (1 − ξ)s0. Detecting the minor component of ture shares almost the same nearest neighbors as odor s0 (median a mixture depends on the concentrations of the two components mAP = 0.84 ± 0.22; Fig. 4C). These results suggest that, after (determined by ξ) and the values of α (habituation rate) and β habituation, the representation assigned for the mixture allows (dishabituation rate). When the concentration of the habituated the retrieval of nearest neighbors that are relevant to pure odor odor s within the mixture surpasses a threshold, KC responses to s0, even though s0 represents only a small component of the the mixture are suppressed. input. In SI Appendix, we discuss additional applications where Lemma 2: If ξ ≥ α/(α + β) and online similarity searches may be beneficial. α + β Discussion ksk , ks0k ≤ · τ , ∞ ∞ cβ o We developed and analyzed an online unsupervised learning algorithm for short-term odor habituation based on the “neg- then I (s00; s) = ∅, where I (s00; s) is the tag associated with s00 after ative image” mechanism in the fruit fly olfactory circuit (16, habituation to s. 40). Our model can replicate three important aspects of habit- Proof: See SI Appendix, Lemma S1.  uation: decreased activity to repeated, neutral stimulus; stimu- On the other hand, the tag for the mixture resembles the tag lus specificity; and reversibility (dishabituation). The algorithm for the unhabituated component when ξ < α/(α + β), which is demonstrates how habituation can filter out background signals, 83% for α = 0.05, β = 0.01. See SI Appendix, Lemma S3. making it easier to discriminate between similar odors and detect novel components in odor mixtures, even if these components Application to Online Similarity Search. The two problems above have relatively low concentration. Our results are consistent with exemplify why only encoding the change of an input with respect previous experimental studies of habituation and potentially lay to data observed in the recent past may better highlight out- out a framework for understanding the effects of habituation liers or novel components of the input in streaming data. We use on downstream sensory coding, behavior, and cognition in other this motivation to present a twist on the classic similarity search systems and species (24, 82, 83). problem (76–81) (SI Appendix). A critical component of the habituation algorithm is the use We calculated the tags I (s) and I (s0) of two odors, and of rectilinear thresholding by KCs, which filters noise prior to the tags of their mixture I (s00) and I (s00; s) before and after the “winner take all” calculation. After habituating to odor A, habituation, respectively. We then calculated the top N nearest there will likely still be small nonzero PN activity in response neighbors for each tag (Methods). Before habituation, I (s00) and to A. Without a rectilinear function, this noise will persist I (s) share a large portion of nearest neighbors (median mAP = in the KCs, and may not be eliminated by APL because the 0.81 ± 0.08, over all pairs s, s0), as expected since s00 con- winner-take-all mechanism adapts the amount of feed-back

6 of 9 | www.pnas.org/cgi/doi/10.1073/pnas.1915252117 Shen et al. Downloaded by guest on September 24, 2021 Downloaded by guest on September 24, 2021 fsottr aiuto,frtreraos is,Dse al. et Das effects First, the reasons. explain three fully for not habituation, does short-term it environments, of cod- odor noisy While of in robustness tim- here. ing ms) the study 90). improves the (∼100 we certainly (89, scale which adaptation use min), time environments ORN (∼30 faster ORNs odor plasticity much LN1–PN a complex 3) than at encode and occurs adaptation to odors, after ORN firing change other can of odor to ing an repeated to exposure after responses reduced prior ORN are 2) responses exposure, results ORN odor 1) Experimental that (85–88). shown environments have help espe- turbulent identity, that odor in law) and cially timing Weber–Fechener odor about the information (e.g., preserve adaptation ORN of of functions. some these and serve (16), may lobe them mecha- several antennae are simple the there targeting Indeed, a neuromodulators habituation. provides undesirable avoid odors danger). to important (e.g., nism valence for strong a LN1 with Inhibiting odors be to neutral to opposed for occur as needs mostly stimuli, should and habituation important Second, to. becomes example, attended for suddenly if, important background LN1 be the could the in This (40). change weight any synaptic by requiring PN occur without quickly LN1, can the dishabituation inhibiting ORN First, as mind. Two the (84), to (LN1)? neuron come at plasticity inhibitory reasons intermediary directly anti-Hebbian an using be via to opposed habituation implemented of synapse, locus PN the have habituation not to due responses. noise behavioral downstream that is triggers chance and This the KCs tag. the activates to function the reduce prior of KC to noise selection rectilinear important KC the suppress and a mechanism to contrast, winner-take-all thresholding In hard apply (28). exci- will feed-forward receives of it amount the tation on based provides it inhibition odor of those to (both similar deviation more absolute are median mixture show the of neighbors nearest odor between odor tags of the the neighbors of to similarity due the overlap comparing high plot has Bar (B) rates. to firing habituation ORN after illustrate circles Shaded odor hexanoate. of ethyl that with overlaps completely almost hne al. et Shen (ξ odor dominant a odors, two contains mixture odor Each (A) component. minor the to similar more (1 becomes mixture the of 4. Fig. − nadto oP aiuto,teeaevrosmechanisms various are there habituation, PN to addition In Why question: design circuit interesting an raises analysis Our ξ = aiuto,frgon iciiain n mrvdsmlrt erh fe aiuto otedmnn opnn nabnr itr,tetag the mixture, binary a in component dominant the to habituation After search. similarity improved and discrimination, foreground Habituation, 20%s 0 .Bfr aiuto,teK a ftemxuehshge vra ihodor with overlap higher has mixture the of tag KC the habituation, Before ). s ihtemxuebfr n fe habituation. after and before mixture the with prxmtl ,0 itrsaetse.Bfr aiuto,temxuehslwoelpwith overlap low has mixture the habituation, Before tested. are mixtures 6,000 Approximately s. s 0 A B opnn ppigot bv h akrud( background the above out” “popping component P values s 0 ugsigta nomto fodor of information that suggesting , < .0,paired 0.001, t C test). Right s 0 hntoeof those than → → hw iia eut fodor of results similar shows htabscmdlo R dpaini o soo specific odor S6 as Fig. not Appendix, is (SI adaptation ORN adaptation show of PN we model model, habitua- as computational short-term basic simple than a a scale in that third, time And faster (92). much tion (91). a also habituation on milliseconds, after short-term recovers initiates for which adaptation, required ORN GABA-A are Second, and PNs interneurons in local receptors GABAergic that showed (16) ogsuh ola h nefc fcmue cec and a science is computer learning of interface machine the improve at to goal computation long-sought behavior neural innate of and behavior learned both flies. antennal fruit the the in affect in originates of may that region habituation a lobe result, a horn, As lateral (94). the iors to the as to well Drosophila signals as sends body lobe scales time mushroom antennae multiple the on Fourth, operate can simultaneously. habituation (25) including how habituation bet- reveal long-term Third, may and a short-term habituation. to both cross-odor for lead mechanisms of may understanding physiologically, ter and once complexities, timing anatomically these or Including mapped (93). interactions, inhibition multiple of LN ability LN1–PN example, of model elaborate aspects the for more simplified increase considering, neurons, firing a without further LN1 used including lobe, may we antennae 66); model Second, KCs the (47, our odors. active rates discriminate in reality, to similar) KCs in whereas, (albeit for tag, rates varied First, KC at detail. binary fire biological a more assumed capturing we potentially while ways, a is algorithm short- habituation step. comprehensive driving next adap- more natural PN mechanism a and form sole ORN to tation combining the Nonetheless, be habituation. term to unlikely adaptation P hl o xlctyorga ee rnltn principles translating here, goal our explicitly not While several in improved be can here proposed algorithm The value s h egto h assostemda au,adteerrbars error the and value, median the shows bars the of height The s. a en“utatd rmtemxue Odor mixture. the from “subtracted” been has < .0,paired 0.001, s ri eivdt ersosbefrint behav- innate for responsible be to believed brain hnwt odor with than s 0 ihtemxue fe aiuto,tepredicted the habituation, After mixture. the with t et.(C test). s 0 fe aiuto,tetgo h mixture the of tag the habituation, After . ) Left s 0 u,atrhbtain h mixture the habituation, after but, , oprstesmlrt fnearest of similarity the compares s 0 n h mixture the and NSLts Articles Latest PNAS ,aanmkn ORN making again ), = n io odor minor a and 80%s) ctcai.Odor acid. acetic s: s 00 eoeand before , | f9 of 7 s’:

COMPUTER SCIENCES NEUROSCIENCE neuroscience (39, 95–97). Specifically, these insights may be Data Availability applicable for deep learning (98) [e.g., to enhance attention- Code for the habituation algorithms is available at GitHub, https:// modulated artificial neural networks (99, 100)], for online sim- github.com/aspen-shen/Habituation-as-a-neural-algorithm-for- ilarity search problems, and in electronic noses for event-based online-odor-discrimination. smell processing. Moreover, recent theoretical work has argued that deep neural networks particularly excel in overcoming real- ACKNOWLEDGMENTS. We thank Mani Ramaswami, Jaiyam Sharma, and world “nuisances”, that is, task-irrelevant variation in inputs such Shyam Srinivasan for helpful discussions and comments on the manuscript. S.N. was supported by the Pew Charitable Trusts, the National Institutes as translations, rotations, and deformations (101, 102). Habitua- of Health under Awards 1R01DC017695 and 1UF1NS111692, and funding tion may further support this advance by reducing background from the Simons Center for Quantitative Biology at Cold Spring Harbor nuisances. Laboratory. Y.S. was supported by a Swartz Foundation Fellowship.

1. D. A. Wilson, C. Linster, Neurobiology of a simple memory. J. Neurophysiol. 100, 2–7 33. S. Y. Takemura et al., A connectome of a learning and memory center in the adult (2008). Drosophila brain. Elife 6, e26975 (2017). 2. G. Vivanti et al., Attention to novelty versus repetition: Contrasting habituation 34. Z. Zheng et al., A complete electron microscopy volume of the brain of adult profiles in Autism and Williams syndrome. Dev. Cogn. Neurosci. 29, 54–60 (2018). Drosophila melanogaster. Cell 174, 730–743 (2018). 3. J. F. Cavanagh, P. Kumar, A. A. Mueller, S. P. Richardson, A. Mueen, Diminished 35. R. F. Thompson, W. A. Spencer, Habituation: A model phenomenon for the study of EEG habituation to novel events effectively classifies Parkinson’s patients. Clin. neuronal substrates of behavior. Psychol. Rev. 73, 16–43 (1966). Neurophysiol. 129, 409–418 (2018). 36. D. L. Glanzman, Habituation in Aplysia: The Cheshire cat of neurobiology. Neurobiol. 4. S. Marsland, Using habituation in machine learning. Neurobiol. Learn. Mem. 92, 260– Learn. Mem. 92, 147–154 (2009). 266 (2009). 37. T. D. Gover, T. W. Abrams, Insights into a molecular switch that gates sensory neuron 5. M. Sha’abani et al., A habituation based approach for detection of visual changes in synapses during habituation in Aplysia. Neurobiol. Learn. Mem. 92, 155–165 (2009). surveillance camera AIP Conf. Proc. 1883, 020038. 38. A. C. Giles, C. H. Rankin, Behavioral and genetic characterization of habituation using 6. S. Marsland, U. Nehmzow, J. Shapiro, Novelty detection on a mobile robot using Caenorhabditis elegans. Neurobiol. Learn. Mem. 92, 139–146 (2009). habituation. arXiv preprint cs/0006007 (2 June 2000). 39. C. Pehlevan, D. B. Chklovskii, Neuroscience-inspired online unsupervised learning 7. E. Ozbilge,¨ On-line expectation-based novelty detection for mobile robots. Robot. algorithms: Artificial neural networks. IEEE Signal Process. Mag. 36, 88–96 (2019). Autonom. Syst. 81, 33–47 (2016). 40. M. Ramaswami, Network plasticity in adaptive filtering and behavioral habituation. 8. Y. Hu, K. Sirlantzis, G. Howells, N. Ragot, P. Rodr´ıguez, An online background subtrac- Neuron 82, 1216–1229 (2014). tion algorithm deployed on a NAO humanoid robot based monitoring system. Robot. 41. S. Dasgupta, C. F. Stevens, S. Navlakha, A neural algorithm for a fundamental Autonom. Syst. 85, 37–47 (2016). computing problem. Science 358, 793–796 (2017). 9. C. Kim, J. Lee, T. Han, Y. M. Kim, A hybrid framework combining background sub- 42. T. Bouwmans, S. Javed, M. Sultana, S. K. Jung, Deep neural network concepts for traction and deep neural networks for rapid person detection. J. Big Data 5, 22 background subtraction: A systematic review and comparative evaluation. Neural (2018). Network. 117, 8–66 (2019). 10. M. Markou, S. Singh, Novelty detection: A review—part 2: Neural network based 43. K. Goyal, J. Singhai, Review of background subtraction methods using Gaus- approaches. Signal Process. 83, 2499–2521 (2003). sian mixture model for video surveillance systems. Artif. Intell. Rev. 50, 241–259 11. D. L. Wang, M. A. Arbib, How does the toad’s visual system discriminate different (2018). worm-like stimuli?Biol. Cybern. 64, 251–261 (1991). 44. B. Malnic, J. Hirono, T. Sato, L. B. Buck, Combinatorial receptor codes for odors. Cell 12. D. Wang, M. A. Arbib, Modeling the dishabituation hierarchy: The role of the 96, 713–723 (1999). primordial . Biol. Cybern. 67, 535–544 (1992). 45. C. F. Stevens, What the fly’s nose tells the fly’s brain. Proc. Natl. Acad. Sci. U.S.A. 112, 13. T. Kohonen, Self-Organization and Associative Memory (Springer-Verlag, Berlin, 9460–9465 (2015). Germany, ed. 3, 1989). 46. E. A. Hallem, J. R. Carlson, Coding of odors by a receptor repertoire. Cell 125, 143–160 14. B. W. Stiles, J. Ghosh, Habituation based neural networks for spatio-temporal (2006). classification. Neurocomputing 15, 273–307 (1997). 47. S. R. Olsen, V. Bhandawat, R. I. Wilson, Divisive normalization in olfactory population 15. A. I. Weber, K. Krishnamurthy, A. L. Fairhall, Coding principles in adaptation. Annu. codes. Neuron 66, 287–299 (2010). Rev. Vis. Sci. 5, 427–449 (2019). 48. K. Asahina, M. Louis, S. Piccinotti, L. B. Vosshall, A circuit supporting concentration- 16. S. Das et al., Plasticity of local GABAergic interneurons drives olfactory habituation. invariant odor perception in Drosophila. J. Biol. 8, 9 (2009). Proc. Natl. Acad. Sci. U.S.A. 108, E646–E654 (2011). 49. C. M. Root et al., A presynaptic gain control mechanism fine-tunes olfactory behavior. 17. P. Szyszka, J. S. Stierle, S. Biergans, C. G. Galizia, The speed of smell: Odor-object Neuron 59, 311–321 (2008). segregation within milliseconds. PloS One 7, e36096 (2012). 50. V. Bhandawat, S. R. Olsen, N. W. Gouwens, M. L. Schlief, R. I. Wilson, Sensory process- 18. S. Haney, D. Saha, B. Raman, M. Bazhenov, Differential effects of adaptation on odor ing in the Drosophila antennal lobe increases reliability and separability of ensemble discrimination. J. Neurophysiol. 120, 171–185 (2018). odor representations. Nat. Neurosci. 10, 1474–1482 (2007). 19. C. Linster, L. Henry, M. Kadohisa, D. A. Wilson, Synaptic adaptation and odor- 51. E. Gruntman, G. C. Turner, Integration of the olfactory code across dendritic claws of background segmentation. Neurobiol. Learn. Mem. 87, 352–360 (2007). single mushroom body neurons. Nat. Neurosci. 16, 1821–1829 (2013). 20. C. Linster, A. V. Menon, C. Y. Singh, D. A. Wilson, Odor-specific habituation arises 52. H. Li, Y. Li, Z. Lei, K. Wang, A. Guo, Transformation of odor selectivity from projection from interaction of afferent synaptic adaptation and intrinsic synaptic potentiation neurons to single mushroom body neurons mapped with dual-color calcium imaging. in olfactory cortex. Learn. Mem. 16, 452–459 (2009). Proc. Natl. Acad. Sci. U.S.A. 110, 12084–12089 (2013). 21. J. Y. Chen et al., Learning modifies odor mixture processing to improve detection of 53. R. H. Hahnloser, R. Sarpeshkar, M. A. Mahowald, R. J. Douglas, H. S. Seung, Digital relevant components. J. Neurosci. 35, 179–197 (2015). selection and analogue amplification coexist in a cortex-inspired silicon circuit. Nature 22. F. F. Locatelli et al., Nonassociative plasticity alters competitive interactions among 405, 947–951 (2000). mixture components in early olfactory processing. Eur. J. Neurosci. 37, 63–79 (2013). 54. X. Glorot, A. Bordes, Y. Bengio, “Deep sparse rectifier neural networks” in Pro- 23. D. Rokni, V. Hemmelder, V. Kapoor, V. N. Murthy, An olfactory cocktail party: Figure- ceedings of the Fourteenth International Conference on Artificial Intelligence and ground segregation of odorants in rodents. Nat. Neurosci. 17, 1225–1232 (2014). Statistics, G. Gordon, D. Dunson, M. Dud´ık, Eds. (Proceedings of Machine Learning 24. H. K. Kato, M. W. Chu, J. S. Isaacson, T. Komiyama, Dynamic sensory representations in Research, Fort Lauderdale, FL, 2011), vol. 15, pp. 315–323. the olfactory bulb: Modulation by wakefulness and experience. Neuron 76, 962–975 55. X. Liu, R. L. Davis, The GABAergic anterior paired lateral neuron suppresses and is (2012). suppressed by olfactory learning. Nat. Neurosci. 12, 53–59 (2009). 25. D. Chaudhury et al., Olfactory bulb habituation to odor stimuli. Behav. Neurosci. 124, 56. N. Y. Masse, G. C. Turner, G. S. Jefferis, Olfactory information processing in 490–499 (2010). Drosophila. Curr. Biol. 19, R700–R713 (2009). 26. G. C. Turner, M. Bazhenov, G. Laurent, Olfactory representations by Drosophila 57. L. N. Groschner, G. Miesenbock,¨ Mechanisms of sensory discrimination: Insights from mushroom body neurons. J. Neurophysiol. 99, 734–746 (2008). Drosophila olfaction. Annu. Rev. Biophys. 48, 209–229 (2019). 27. T. Hige, Y. Aso, M. N. Modi, G. M. Rubin, G. C. Turner, Heterosynaptic plasticity 58. H. Amin, A. C. Lin, Neuronal mechanisms underlying innate and learned olfactory underlies aversive olfactory learning in Drosophila. Neuron 88, 985–998 (2015). processing in Drosophila. Curr. Opin. Insect. Sci.36, 9–17 (2019). 28. A. C. Lin, A. M. Bygrave, A. de Calignon, T. Lee, G. Miesenbock Sparse, decorrelated 59. H. C. Barron, T. P. Vogels, T. E. Behrens, M. Ramaswami, Inhibitory engrams in odor coding in the mushroom body enhances learned odor discrimination. Nat. perception and memory. Proc. Natl. Acad. Sci. U.S.A. 114, 6666–6674 (2017). Neurosci. 17, 559–568 (2014). 60. R. Okada, T. Awasaki, K. Ito, Gamma-aminobutyric acid (GABA)-mediated neu- 29. R. A. Campbell et al., Imaging a population code for odor identity in the Drosophila ral connections in the Drosophila antennal lobe. J. Comp. Neurol. 514, 74–91 mushroom body. J. Neurosci. 33, 10568–10581 (2013). (2009). 30. S. J. Caron, V. Ruta, L. F. Abbott, R. Axel, Random convergence of olfactory inputs in 61. N. K. Tanaka, K. Endo, K. Ito, Organization of antennal lobe-associated neurons in the Drosophila mushroom body. Nature 497, 113–117 (2013). adult Drosophila melanogaster brain. J. Comp. Neurol. 520, 4067–4130 (2012). 31. Y. Aso et al., Mushroom body output neurons encode valence and guide memory- 62. Y. H. Chou et al., Diversity and wiring variability of olfactory local interneurons in the based action selection in Drosophila. Elife 3, e04580 (2014). Drosophila antennal lobe. Nat. Neurosci. 13, 439–449 (2010). 32. Y. Aso et al., The neuronal architecture of the mushroom body provides a logic for 63. I. Twick, J. A. Lee, M. Ramaswami, Olfactory habituation in Drosophila-odor encoding associative learning. Elife 3, e04577 (2014). and its plasticity in the antennal lobe. Prog. Brain Res. 208, 3–38 (2014).

8 of 9 | www.pnas.org/cgi/doi/10.1073/pnas.1915252117 Shen et al. Downloaded by guest on September 24, 2021 Downloaded by guest on September 24, 2021 0 .Wn,H .Se,J og .J,Hsigfrsmlrt erh survey. A search: similarity for hash. to Hashing learning on survey Ji, A Shen, J. H. Sebe, N. Song, Song, J. Zhang, T. J. Wang, J. Shen, 81. T. H. Wang, J. 80. in hashing” via dimensions high in search “Similarity Motwani, R. Indyk, P. Gionis, A. 79. scheme hashing “Locality-sensitive Mirrokni, nearest S. V. approximate Indyk, P. for Immorlica, algorithms N. Datar, hashing M. Near-optimal 78. Indyk, P. Andoni, A. 77. curse the removing Towards neighbors: nearest Approximate Motwani, R. imag- Indyk, P. population Cellular-resolution 76. Turner, C. G. Campbell, A. R. Honegger, S. K. 75. pre- binding Competitive Mainland, D. J. the Balasubramanian, in V. mixtures Murphy, R. odor N. of Singh, patterns Processing V. Friedrich, W. response 73. R. Weislogel, temporal M. J. cell Yaksi, E. Mitral Tabor, R. Chaput, 72. M. Berthommier, F. Giraudet, P. 71. Mohamed M. system. A. olfactory simple A. a in 70. mixtures of Encoding Laurent, G. Tootoonian, S. Shen, K. 69. mechanisms network path- Neural thing: right output the Do Waddell, body S. Felsenberg, J. mushroom Cognigni, P. skews 68. learning Olfactory Waddell, structure data S. neural A Owald, (2018) S. D. Navlakha F., 67. C. Stevens C., T. Sheehan S., Dasgupta 66. Experience- roses: the smell to Learning Gottfried, A. J. Parrish, T. Luxenberg, E. Li, W. bal- plasticity 65. Inhibitory Gerstner, W. Clopath, C. Zenke, F. Sprekeler, H. Vogels, P. T. 64. 2 .C g,J .Rs,M edhae .L lthr latr ubacetyl- bulb Olfactory Fletcher, L. M. Bendahmane, M. Ross, M. J. Ogg, C. M. 82. in hashing” “Compressed Li, X. Yan, S. Cai, D. Jin, R. Lin, Y. 74. hne al. et Shen atr nl ah Intell. Mach. Anal. Pattern 2014). August (13 (Morgan arXiv:1408.2927 Eds. Brodie, L. M. 518–529. pp. Zdonik, 1999), B. CA, S. Francisco, Valduriez, P. San Orlowska, Kaufmann, VLDB’99 , E. Bases, M. Data Large Atkinson, P. Very on M. Conference International 25th the of Proceedings 253–262. pp. 2004), ’04 NY, York, SCG Geometry, Computational on in distributions” p-stable on based dimensions. high in neighbor 604–613. STOC’98 Computing, in dimensionality of the in (2011). coding 11772–11785 sparse robust reveals ing 446–451. pp. Recognition 2013), Pattern Engineers, and Vision Computer on mixtures. U.S.A. complex to Sci. receptors olfactory of responses nonlinear dicts bulb. olfactory zebrafish bulb. olfactory rat the in mixtures odor by evoked the in crosstalk Neuron in (2018). update 51–58 and 49, expression formation, memory of in choice (2015). behavioral steer to ways detection. novelty for cortices. orbitofrontal (2006). and 1097–1108 piriform human in plasticity neural dependent networks. memory and pathways (2011). sensory 1569–1573 in 334, inhibition and excitation ances hln ees ihbtae drrsossadrisae drinvestigation. odor reinstates and responses Commun. odor dishabituates release choline 2616 (2013). 1246–1262 80, 88(2018). 1868 9, 5890 (2019). 9598–9603 116, Drosophila drmxue fopsn aec nelinter-glomerular unveil valence opposing of mixtures Odor al., et rceig fte3t nulAMSmoimo hoyof Theory on Symposium ACM Annual 30th the of Proceedings AscainfrCmuigMciey e ok Y19) pp. 1998), NY York, New Machinery, Computing for (Association rc al cd c.U.S.A. Sci. Acad. Natl. Proc. .Neurosci. J. 6–9 (2018). 769–790 40, nenllobe. antennal omn ACM Commun. rceig fteTetehAna Symposium Annual Twentieth the of Proceedings Drosophila. 6162 (2004). 6611–6620 24, AscainfrCmuigMciey New Machinery, Computing for (Association Drosophila a.Commun. Nat. 1–2 (2008). 117–122 51, Isiueo lcrcladElectronics and Electrical of (Institute ur pn Neurobiol. Opin. Curr. .Neurophysiol. J. 13093–13098. 115, Drosophila. uhombody. mushroom 21(2019). 1201 10, ur pn Neurobiol. Opin. Curr. 03IE Conference IEEE 2013 2–3 (2002). 829–838 88, rc al Acad. Natl. Proc. .Neurosci. J. 178–184 35, Neuron EETrans. IEEE Science Nat. 31, 52, 0.A cil,S oto mrec fivrac n ietnlmn ndeep in learning” deep for disentanglement framework probabilistic and “A Baraniuk, G. invariance R. Nguyen, of T. Patel, B. Emergence A. Soatto, 102. S. the Achille, from learned A. Lessons tell: 101. and Show Erhan, D. Bengio, S. Toshev, A. Vinyals, O. 100. 8 .Liu and W. clustering, 98. sketching, “Random Parter, M. Musco, Neuroscience-inspired C. Botvinick, Lynch, M. N. Summerfield, Hitron, C. Y. Kumaran, 97. D. Hassabis, D. 96. in Dolan dynamics J. M. response 94. population underlying Mechanisms Wilson, I. R. Nagel, I. K. adaptation. 93. odor of basis molecular and odor cellular The for Leinders-Zufall, T. Zufall, code F. primacy 92. A Rinberg, D. Koulakov, Larkin A. A. A. 91. Serrano, O. G. Wilson, D. C. 90. Saha olfac- D. in patterns 89. firing stimulus diverse Temporally Stopfer, structured M. Tang, temporally J. Joseph, a J. Raman, Encoding B. Stopfer, 88. M. Joseph, J. Brown, fidelity the L. S. enhances control 87. gain Weber-Fechner Front-end Emonet, T. Kadakia, N. 86. neu- receptor Olfactory Emonet, T. the Clark, A. in D. responses Long, J. learned Demir, of M. Gorur-Shandilya, Generalization S. Sawtell, 85. B. N. Abbott, F. L. Dempsey, C. 84. 9 .Yn .Sch H. Yin, W. 99. neuroscience. and learning machine of inspirations mutual The Helmstaedter, M. 95. and enhancement contrast Dynamic Raman, B. Chandak, R. Saha, D. Nizampatnam, S. 83. asul emn,22) o.11 p 23:1–23:31. pp. Informatik, 151, in fuer vol. Dagstuhl–Leibniz-Zentrum Proceedings 2020), Germany, (Schloss International Dagstuhl, Ed. Leibniz Vidick 2020), T. (LIPIcs), (ITCS in Informatics Conference networks” Science neural Computer spiking cal in memory short-term intelligence. artificial (2016). the of interneurons inhibitory Sens. in tion identity. recognition. odors. for (2010). codes 1994–2006 neural spatiotemporal underlie neurons receptor tory representation. neural structured (2005). temporally a with coding. odor combinatorial odorant of intermittent encode to kinetics complementary and stimuli. control gain use rons lobe. electrosensory mormyrid d.(urnAscae n. 06,p.2558–2566. pp. 2016), Inc., Associates (Curran Eds. NIPS’16 Systems, ing in representations. (2016). 652–663 challenge. captioning image mscoco 2015 pairs. (2016). sentence modeling for network ral arXiv:1805.06374v2 learning. ment Neuron mushroom the with interactions and functions, body. behavioural diverse outputs, major codes. odor flexible rceig fte3t nentoa ofrneo erlIfrainProcess- Information Neural on Conference International 30th the of Proceedings 7–8 (2000). 473–481 25, eLife Drosophila tal., et Elife 52 (2015). 25–28 86, ptoeprlcdn ehns o akrudivratodor background-invariant for mechanism coding spatiotemporal A al., et a.Commun. Nat. eta yatcmcaim nelesottr latr habitua- olfactory short-term underlie mechanisms synaptic Central al., et 409(2019). e43079 8, ergntcdseto fthe of dissection Neurogenetic al., et a.Neurosci. Nat. 260(2017). e27670 6, atrtnmrhceetsra o ie eonto n reinforce- and recognition video for stream event retinomorphic Fast te .Xag .Zo,Acn teto-ae ovltoa neu- convolutional Attention-based Abcnn: Zhou, B. Xiang, B. utze, ¨ .Mc.Lan Res. Learn. Mach. J. larvae. a.Commun. Nat. .D e,U o ubr,R ant,M uiaa .Guyon, I. Sugiyama, M. Garnett, R. Luxburg, von U. Lee, D. D. , Neuron 47(2017). 1477 8, er.Mem. Learn. 8013 (2013). 1830–1839 16, 4–5 (2017). 245–258 95, eLife Elife Drosophila 02(2018). 3062 9, 402(2019). e44032 8, 1 a 2018). May (19 423(2019). e45293 8, 9718 (2018). 1947–1980 19, 4–5 (2010). 645–653 17, rn.Asc opt Linguist. Comput. Assoc. Trans. nenllobe. antennal EETas atr nl ah Intell. Mach. Anal. Pattern Trans. IEEE NSLts Articles Latest PNAS Drosophila 1hInvtosi Theoreti- in Innovations 11th a.Neurosci. Nat. .Neurosci. J. aea onreveals horn lateral .Neurosci. J. 4325–4338 36, 1568–1576 8, 259–272 4, | Chem. f9 of 9 30, 39,

COMPUTER SCIENCES NEUROSCIENCE