Recent advancements in genetically encoded activity reporters have revolutionized neuroscience by providing real-time, highly specific insights into neuronal activity. These reporters, such as calcium or voltage sensors1,2,3,4,5,6,7,8,9, allow researchers to track the electrical and chemical signals within neurons with unprecedented temporal precision and spatial resolution. By enabling the monitoring of specific, single neurons to neural networks across different brain regions, these tools have deepened our understanding of how neuronal firing patterns relate to cognitive processes like learning, memory, or decision-making10,11,12,13,14.
To take advantage of these genetically encoded indicators, researchers developed advanced methods to prepare their model organism for in vivo imaging. The first report of neuronal plasticity by in vivo functional imaging, often referred to as a "memory trace", was discovered in the antennal lobe of the honeybees following appetitive olfactory conditioning15. This discovery inspired research in the genetically versatile model organism, Drosophila melanogaster, leading to the development of innovative in vivo imaging techniques10,16,17,18.
Drosophila serves as an excellent model for understanding learning and memory due to its robust ability to form olfactory memories via classical conditioning, where an odor (the conditioned stimulus-CS) becomes associated with either an aversive or rewarding stimulus (the unconditioned stimulus-US)19,20,21,22. In Drosophila, odors are sparsely represented in the mushroom body (MB)23, a critical brain region for associative memory that consists of approximately 2,000 Kenyon cell neurons (KCs) per hemisphere24. Olfactory information is transmitted from the calyx to the MB lobes via KC axons, which bundle together to form the lobes. During olfactory conditioning, the US, such as an electric shock or a sugar reward, is conveyed to the MB lobes through distinct dopaminergic neurons (DANs): PPL1 neurons for aversive stimuli and PAM neurons for rewarding stimuli25,26,27,28,29,30. Memory acquisition is thought to involve the simultaneous activation of CS and US pathways, resulting in a synergistic increase in cyclic AMP (cAMP), which encodes the memory31,32. This process induces plasticity at the KC→MBON synapses, modifying their synaptic weight11,12,13,33,34,35,36,37. DAN-mediated plasticity ultimately drives the mushroom body output neurons (MBONs) to elicit either an approach or avoidance behavior toward the learned odor34. The current model suggests that the information flow from KCs to the MBONs transforms the representation of odor from odor identity in KCs to more abstract information in the MBONs, such as the valence of an odor based on prior experience34,38. Unlike KCs, MBONs have broadly tuned odor responses; any given odor results in a response to most MBONs39. The odor tuning of the MBONs is modified by synaptic plasticity and varies significantly between individual flies, suggesting that MBONs change their response to odors based on experience. There are 34 MBONs, with the majority of the MBON network seemingly divided into two mutually antagonist classes that drive either approach of avoidance behavior34. For this reason, using in vivo imaging to study memory retrieval by recording in different MBONs has been widely used.
Early methods for in vivo functional imaging include conducting surgeries to remove a section of the cuticle from the top of the head capsule, which was then covered with a small piece of plastic wrap18. While this marked the beginning of in vivo imaging in Drosophila, there have since been significant advancements in fly preparation techniques and the delivery of stimuli under the microscope to investigate processes like learning and memory. However, even today, most techniques for fly preparation for in vivo imaging involve anesthetizing the flies. This practice presents challenges, as there is extensive evidence - and an entire field of research- demonstrating how anesthesia impacts memory, as well as other cognitive and physiological processes. For instance, a study was conducted to understand the effects of different anesthetics that are very commonly used in the lab setting (carbon dioxide, isoflurane, sevoflurane, and cold shock). They found that the longer the exposure to anesthesia, there was an increase in recovery time, changes in locomotor activity, lower fecundity, and may impact water and lipid stores40. In addition, it has been reported that giving cold shock anesthesia immediately after training can completely disrupt short-term memory21. From this initial study, it is now known that in Drosophila, there is unconsolidated memory (anesthesia-sensitive memory) that decays within 6-8 h, and a form of consolidated memory (anesthesia-resistant memory) that is formed gradually after learning and can last around 24 h41. Based on this, anesthesia can affect cognitive processing and the activity of neurons, which eventually allows for proper memory expression.
The effects of anesthesia on memory are not confined to Drosophila. Numerous human and other mammalian studies have demonstrated similar findings. For example, a cross-sectional study done in a university hospital found that short-term memory was significantly reduced in patients 24 h after general anesthesia42. Another study done in mice found that general anesthesia robustly reduced spiking dynamics, decorrelated cellular ensembles, and altered spine dynamics in the CA1 region of the hippocampus, an important brain area involved in learning and memory in mammals43. To overcome these difficulties, the goal of this study is to provide a novel protocol that eliminates the use of anesthesia during fly preparation for in vivo imaging, leaving the fly's body completely free. This approach allows more accurate neuronal activity recordings, improves fly health for longer recordings, and eliminates possible confounding effects of anesthesia compared to other approaches. This protocol is designed to record activity from neurons in Drosophila, specifically looking at how neurons exhibit plasticity during and after the learning experience. However, the dissection protocol is versatile and can be adapted to various applications in live imaging research.