Dark Mode Light Mode
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.
Chemistry, medicine, materials and the technology shaping tomorrow — the best science stories from trusted sources, every day.

A cortical basis for perception of internal gut sensations

A cortical basis for perception of internal gut sensations A cortical basis for perception of internal gut sensations


Animals

We conducted all mouse care and experiments in accordance with protocols approved by the Institutional Animal Care and Use Committee at the Weizmann Institute of Science. We used 8–24-week-old mice for all experiments. We used the following mouse lines: Oxtr-t2a-cre (Jackson Laboratories, 031303) and C57BL6/OlaHsd (Envigo). Mice were housed under a standard 12 h–12 h light–dark cycle with controlled temperature at ~22.5 °C and humidity at ~55%. Sample sizes were chosen to reliably measure experimental parameters while keeping with standards in the relevant fields, and remaining in compliance with ethical guidelines to minimize the number of animals used. Experiments did not involve experimenter blinding, but randomization was used with respect to trial order and data collection.

Surgical procedures

Brainstem injections

We anaesthetized mice in an induction chamber with 3% isoflurane and maintained anaesthesia at 1–1.5% through a nose cone. Once anaesthetized, we secured each mouse in a stereotaxic frame (WPI). After removing fur, we made a midline scalp incision to expose the skull, and identified bregma as the reference point for stereotaxic targeting. Using a micro-drill (WPI), we performed craniotomies at the following coordinates for bilateral NTS injections: anteroposterior (AP): −7.5 mm, mediolateral (ML) ±0.4 mm, dorsoventral (DV): −5.2 to −4.8 mm. We injected a retrograde AAV vector (retro-AAV-EF1a-DIO-ChRmine-mScarlet; plasmid 130998 from Addgene, produced by the Hebrew University ELSC Virus Core Facility) into the NTS of OxtR-Cre mice to retrogradely label NG-OxtR+ neurons. For controls, we either used Oxtr-cre mice, injected bilaterally with retro-AAV-CAG-FLEX-tdTomato (28306, Addgene) into the NTS, or C57BL6 mice. Specifically for visualizing vagal innervation of the aortic arch, mice were injected with AAV-Retro9-CBA-mScarlet3 (produced by the Hebrew University ELSC Virus Core Facility). After the injections, we sealed the craniotomy sites with bone wax and affixed a custom-designed head-post to the skull using Metabond (C&B Metabond Quick Adhesive Cement System, S380, Parkell).

Throughout all of the procedures, we continuously monitored the respiration rate and anaesthetic depth, including regular assessments of reflexive responses (for example, toe pinch). We lubricated the eyes with eye ointment (Duratears, Alcon) and provided analgesia using carprofen (5 mg per kg) and slow-release buprenorphine (3.25 mg per kg). We also closely monitored the mice during recovery.

Microprism assembly and surgery

Glass microprism implants were fabricated using 2 mm microprisms (MCPH-2.0, Tower Optical) coated with aluminium along their hypotenuse. Microprisms were attached to a cover glass (#1 thickness), both along the hypotenuse (to prevent scratching of the reflective surface) and at the side of the prism that faces the InsCtx, using Norland Optical Adhesive 81 cured using ultraviolet light. The glued prism assembly was then secured to a cannula using Kwik-Cast (WPI), allowing controlled insertion of the prism into the craniotomy.

Mice were anaesthetized and prepared for surgery as described above. Using aseptic technique, a custom-made headpost was secured using C&B Metabond (Parkell). The mouse’s head was then rotated about 70°. A ~2.2 × 2.2 mm2 craniotomy was drilled over the left InsCtx, with the lower edge just above the squamosal plate. AAV8-hSyn-GCaMP7f (Addgene, 104488) mixed with FastGreen (Sigma-Aldrich; for visualization of viral spread) was injected directly into the exposed brain tissue at a depth of 0.2–0.6 mm in four adjacent locations (250 nl each) using a picospritzer with minimal injection pressure and long injection duration (PV850, WPI). The brain surface was kept hydrated throughout the procedure using saline-soaked gelfoam. The mouse’s head was then rotated back and the 2 × 2 mm2 microprism, attached to the cannula, was slowly lowered into the craniotomy until it made contact with the InsCtx. It was then advanced further while being slightly shifted medially (~100 µm), ensuring that the lower edge of the microprism extended below the squamosal plate and contacted the medial wall of the craniotomy. Once properly positioned, the edges of the window were sealed to the skull with Vetbond (3M), followed by reinforcement with C&B Metabond (Parkell). The cannula was gently removed, and additional Metabond was applied to form a permanent seal. Mice were allowed to recover for at least 6 weeks before the start of behavioural training to allow for sufficient viral expression.

InsCtx optogenetic inhibition

To validate the inhibition of excitatory InsCtx neurons using stGtACR2, we combined fibre photometry recordings of InsCtx-to-CeA (central amygdala) projections with direct inhibition of InsCtx neurons in C57Bl6 mice. Specifically, we injected both AAV1-CaMKIIa-stGtACR2-FusionRed (105669, Addgene) and AAV9-CaMKIIα-jGCaMP8m (176751, Addgene) into the InsCtx (stGtACR2 bilaterally; jGCaMP8m to the right InsCtx) at the following coordinates: AP: 0 mm (bregma), DV: −4 to −3.8 mm, ML: ±4 mm (0.25 mm medial from the lateral edge of the skull). After the injection, we implanted optic fibres (diameter, 1.25 mm; ceramic ferrule; 400-µm-diameter core; 0.50 NA; R-FOC-BL400C-50NA; RWD Life Science) above the InsCtx (DV: −3.3 mm) for optogenetic inhibition and another optic fibre (CFML15L05; Fibre Optic Cannula; diameter; 1.25 mm; SS ferrule; 400-µm-diameter Core; 0.50 NA; length, 5 mm; Thorlabs) above the CeA (AP: −1.4 mm, ML: −2.9 mm, DV: −4.5 mm) for fibre photometry recordings. We secured all fibres and a custom-designed head post to the skull using Metabond (C&B Metabond Quick Adhesive Cement System, S380, Parkell).

Mice recovered and were then food restricted before any photometry recordings. We recorded axon fibre photometry signals of InsCtx excitatory neurons innervating the CeA using a pyPhotometry board61 with dedicated optics, together with 465 nm and 405 nm LEDs (Doric Lenses). The session began with a 2 min baseline period without inhibition. The protocol then included 10 trials each of 5 s InsCtx inhibition (~1 mW blue light). We used a 3 second intertrial interval (ITI) with an additional randomized delay of 0–1 s to prevent temporal predictability. We analysed the data by first applying a low-pass filter to denoise the signal. To remove brief artifacts occurring at the onset and offset of inhibition bouts, we excluded points that deviated more than three s.d. from local mean (computed with a sliding window) and interpolated the missing values from neighbouring samples. We corrected photobleaching by fitting an exponential decay function to the signal and subtracting it61. We then removed motion-related artifacts by linearly fitting the isosbestic control signal to the GCaMP signal and subtracting the fitted motion component. Finally, we z-scored the signal using the mean and s.d. of the baseline data.

For inhibition of excitatory InsCtx neurons during interoceptive detection tasks (described below), we used Oxtr-cre mice. We first performed brainstem injections of retro-AAV-EF1a-DIO-ChRmine-mScarlet (as described above) to express ChRmine in NG-OxtR+ neurons. During the same surgery, we bilaterally injected AAV1-CaMKIIa-stGtACR2-FusionRed (105669, Addgene) into the InsCtx at the following coordinates: AP: 0 mm (bregma), DV: −4 to −3.8 mm, ML: approximately ±4 mm (0.25 mm medial from the lateral edge of the skull). After the injections, we implanted optic fibres (diameter, 1.25 mm; ceramic ferrule; 400-µm-diameter core; 0.50 NA; R-FOC-BL400C-50NA; RWD Life Science) above the InsCtx (DV: −3.3 mm) and secured them with Metabond (C&B Metabond Quick Adhesive Cement System, S380, Parkell). Finally, we affixed a custom-designed head-post to the skull using Metabond. Throughout all of the procedures, we monitored anaesthetic depth, reflexes, applied eye lubrication and administered analgesia as described above.

InsCtx pharmacological inhibition

For pharmacological inhibition of the InsCtx during the interoceptive detection tasks described below, we used Oxtr-cre mice. We first performed brainstem injections of retro-AAV-EF1a-DIO-ChRmine-mScarlet, as described above, to express ChRmine in NG-OxtR+ neurons. During the same surgery, we bilaterally implanted guide cannulas (26G, 0.48 mm diameter, M3.5; RWD Life Science, 62003) above the InsCtx and inserted dummy cannulas (0.3 mm diameter, M3.5; RWD Life Science, 6210238MM). The guide cannulas were 2.5 mm long, and the dummy cannulas extended 0.2 mm beyond the guides, such that the dummy cannula tips reached a dorsoventral depth of −2.7 mm. We positioned the cannula at AP: 0 mm relative to bregma, DV: −2.7 mm and ML: approximately ±4 mm (0.25 mm medial from the lateral edge of the skull). For later pharmacological infusions, we used 4-mm infusion cannulas (0.3-mm diameter, M3.5; RWD Life Science 62203), which extended 1.5 mm beyond the tips of the 2.5-mm guide cannulas, resulting in a final infusion depth of 4 mm below the skull surface. We secured the guide cannulas to the skull using Metabond (C&B Metabond Quick Adhesive Cement System, S380, Parkell) and affixed a custom-designed head-post to the skull using the same adhesive cement. Throughout surgery, we monitored anaesthetic depth and reflexes, applied ophthalmic lubricant and administered analgesia as described above.

InsCtx pharmacological inhibition was performed by infusing mice with 0.3 µl of muscimol and baclofen solution (0.05 µg µl−1 and 0.02 µg µl−1, respectively) or saline at a rate of 0.1 µl min−1 to both hemispheres. Then, 1 min after each infusion, the injector cannula was replaced with the dummy cannula. Behavioural testing started 15 min later, following previously established protocols53,62.

Vagal electrophysiological recordings

To enable optogenetic stimulation of NG-OxtR+ neurons, we performed stereotaxic surgery as described above to induce ChRmine expression. We conducted vagal electrophysiology approximately 3 months after viral injection, aligning with the maximal expression time used in the behavioural experiments.

Vagal electrophysiology was conducted as previously described63. In brief, we induced anaesthesia in a chamber using 3% isoflurane and maintained it at 1–1.5% through a nose cone. We made a small midline incision at the ventral neck to expose the cervical vagus nerve. Using a mouse retractor set (InterFocus 18200-20), we gently separated the salivary glands and masseter muscles laterally, and the oesophagus medially, to reveal the carotid artery and adjacent vagus nerve. After carefully lifting the nerve with a spinal cord hook (FST, 10162-12) and clearing the surrounding connective tissue with fine forceps, we proceeded with electrode placement. Before surgery, we had soldered two platinum–iridium wires (WPI, PTT0110), fashioned into hook-shaped cuff electrodes, to thicker platinum-iridium leads (WPI, PPT0502). This assembly was connected to a headstage (A-M Systems Connector Pins, 521200 and 521000) and mounted onto a right-handed micromanipulator (WPI, M3301R) for stable positioning. Once the setup was in place, we gently positioned the cuff electrodes around the exposed vagus nerve.

We amplified neural signals 1,000× and band-pass filtered between 300 Hz and 5 kHz using a differential amplifier (A-M Systems Microelectrode Amplifier). We then digitized the signals with a USB-6001 DAQ (National Instruments) and acquired them in real-time using MATLAB Analog Input Recorder app (MathWorks).

After stable baseline recording, we delivered optogenetic stimulation using a 630 nm LED (UHP-F-5-630 with LLG-5, Prizmatix) which emitted 102 mW mm−2 light pulses at 15 Hz (each pulse 6.67 ms) for 4 s to the exposed neck overlaying the nerve. We manually controlled the stimulation using an Arduino Uno. For small intestine distension, we inserted a 20G gavage needle through the pyloric sphincter into the proximal small intestine and secured it in place with a suture. We clamped the distal small intestine with a bulldog clamp to prevent fluid outflow. To induce distension, we infused saline though the gavage needle until the outer intestinal diameter increased approximately 1.5-fold relative to its pre-distention diameter, corresponding to the range of intestinal distension observed following refeeding (see below).

At the end of the experiment, we euthanized mice using sodium pentobarbital (200 mg ml−1, 0.1 ml per 10 g body weight, intraperitoneal), and collected the NG and brains for histological analysis, as described below.

Vagal electrophysiological data analysis

We analysed data using custom MATLAB scripts. First, we band-pass filtered the signals between 80–2,000 Hz. We identified and removed breathing and cardiac artifacts based on their characteristic amplitude and frequency profiles. We then detected spikes by applying an amplitude threshold to the filtered signal and used 200 ms bins to calculate spike rates.

Measurement of intestinal diameter after fasting and refeeding

To determine the extent of small intestine distension induced by food consumption, we divided mice into two groups (n = 4 mice per group). Before measurements, we habituated mice three times to an overnight fast, followed by free access to food. After habituation, we fasted both groups overnight. We euthanized mice in the fasted group at the end of the overnight fast. We provided mice in the refed group with ad libitum access to food for 2 h after the overnight fast and then euthanized them. Immediately after euthanasia, we exposed the gastrointestinal tract and used callipers to measure the outer diameter at the widest point of the small intestine.

ECG measurements

We performed stereotaxic viral injections to express ChRmine in NG-OxtR+ neurons, as described above. To ensure that mice could perceive and report the optogenetic stimulation, we selected animals that had previously completed both the interoceptive detection VagalOpto→NoReward task and VagalOpto→Reward task (see below). We then recorded electrocardiogram (ECG) signals under anaesthesia while optogenetically stimulating NG-OxtR+ neurons using the same protocol used in the awake behavioural task (for example, 4 s light pulses at 15 Hz; 102 mW mm−2, each pulse 6.67 ms).

Before recording, we connected three 27G stainless steel needles to platinum-iridium leads (WPI, PPT0502) and connected them to a differential amplifier headstage (A-M Systems Microelectrode Amplifier). We induced anaesthesia with 3% isoflurane in an induction chamber and maintained it at 1–1.5% through a nose cone. Once the mice were fully anaesthetized, we attached the needles to the paws: two for signal acquisition and one for ground. We sampled ECG signals at 2 kHz and applied a 200 Hz low-pass filter during acquisition.

Nodose ganglia two-photon imaging

To image NG-OxtR+ neuronal activity, we used Oxtr-cre mice and injected retro-AAV-hSyn-GCaMP7f (104488, Addgene) into the NTS to drive GCaMP7f expression with no genetic specificity in NG neurons. To specifically identify retrogradely labelled NG-OxtR+ neurons, we also injected Cre-dependent retro-AAV-CAG-FLEX-tdTomato (28306, Addgene) into the NTS. This approach allowed us to image calcium dynamics across the NG population while distinguishing the OxtR+ subset based on tdTomato fluorescence.

Then, 4–6 weeks after the injections, we performed a two-photon calcium imaging experiment during intestinal balloon inflation to evoke mechanosensory responses. We anaesthetized mice with an intraperitoneal injection of pentobarbital (100 mg per kg). After confirming full anaesthesia, we removed fur from the ventral neck and upper abdomen. We made a small incision above the anatomical location of the stomach, gently retracted the overlying tissue and identified the stomach and proximal duodenum. We carefully externalized the duodenum, made a small incision in the intestinal wall and inserted a latex balloon (Braintree Scientific, 73-3478) that we had pre-attached to a plastic gavage needle (Instech, ITH-FTP-22-25-50). We secured the balloon with sutures, and intermittently irrigated the exposed tissues with sterile saline. For some mice, we used two adjacent balloons in the small intestine, inflated separately during the experiment. After balloon placement, we returned the intestine to the abdominal cavity and placed saline soaked gauze above, to avoid tissue dehydration. After the abdominal procedure, we made a midline incision at the ventral neck to expose the cervical vagus nerve. Using a mouse retractor set (InterFocus, 18200-20), we gently separated the salivary glands and masseter muscles laterally and the oesophagus medially to expose the carotid artery and adjacent vagus nerve. We carefully lifted the nerve with a spinal cord hook (FST, 10162-12) and removed the surrounding connective tissue using fine forceps. We exposed the NG and positioned it on a microscope slide, covered with a coverslip for stabilization. We filled both the neck cavity and the space between the slide and the coverslip with sterile saline to maintain hydration.

We placed the mouse onto a heating pad to maintain body temperature throughout the surgery and imaging, and positioned the two-photon objective vertically above the exposed nodose ganglion. We connected the balloon to a tube filled with water and attached it to a syringe mounted on a programmable syringe pump (KFTechnology, NE-1000). Intestinal mechanostimulation was achieved by volume-controlled inflation of the implanted gastric balloons. Each stimulus lasted 50 s, including 10 s of inflation and 10 s of deflation.

We imaged NG activity using a two-photon microscope (Thorlabs Bergamo), with 920 nm excitation (Toptica FFUltra 920). We also collected red fluorescence emitted with 920 nm excitation to identify NG-OxtR+ neurons expressing tdTomato. Imaging was performed at a frame rate of 15 Hz.

Direct ablation of NG-OxtR+ and NG-OxtR− neurons

For specific ablation of NG-OxtR+ neurons using caspase 3, we directly injected AAV9-flex-taCasp3-TEVp (plasmid 45580 from Addgene, produced by the Hebrew University ELSC Virus Core Facility) bilaterally into the NG. In brief, we exposed the NG as described above, and used a pulled-glass pipette to inject the viral solution directly into the ganglion. To aid visualization and confirm proper targeting, we mixed the virus with Fast Green dye (Sigma-Aldrich) before injection. These surgeries were performed in two separate procedures, aimed to improve recovery and overall survival rates. The first surgery included the injection of retro-AAV-EF1a-DIO-ChRmine-mScarlet into the NTS of Oxtr-cre mice and headpost implementation as described above. We also directly injected of AAV9-flex-taCasp3-TEVp into the right NG. After sufficient recovery (around 3–4 weeks after the first surgery), we performed the second surgery, where we injected AAV9-flex-taCasp3-TEVp into the left NG.

InsCtx fibre photometry recordings with NG-OxtR+ neuron ablation

For fibre photometry recordings of InsCtx population activity, we injected AAV8-hSyn-GCaMP7f (104488-AAV8, Addgene) into the left InsCtx (AP: 0 mm relative to bregma; ML: approximately −4 mm, 0.25 mm medial to the lateral edge of the skull; DV: −4 to −3.8 mm). We implanted an optic fibre (400 µm core, 0.50 NA, 1.25 mm ceramic ferrule; R-FOC-BL400C-50NA, RWD Life Science) above the injection site at a depth of −3.3 mm. In all mice, we also injected retro-AAV-EF1a-DIO-ChRmine-mScarlet into the NTS, as described above, to express ChRmine in NG-OxtR+ neurons.

For recordings without NG-OxtR+ ablation, we allowed mice to recover and for sufficient viral expression before recording InsCtx activity during optogenetic activation of NG-OxtR+ neurons. Before recordings, we habituated mice to red-light illumination.

Each recording session consisted of eight trials of optogenetic stimulation. In each trial, we stimulated NG-OxtR+ neurons at 15 Hz for 4 s, using the same stimulation parameters as in the behavioural experiments described above. As a control for responses to red-light illumination itself, we performed an additional recording session in which we delivered the same light stimulation but directed the light away from the mouse’s neck, thereby preventing optogenetic stimulation of NG-OxtR+ neurons.

To examine InsCtx responses to the optogenetic stimulation following NG-OxtR+ ablation, we used two experimental approaches. In a subset of mice, we first performed photometry recordings with intact NG-OxtR+ neurons and subsequently performed bilateral NG-OxtR+ ablation using AAV9-flex-taCasp3-TEVp, as described above, allowing us to record from the same mice before and after ablation. In a separate subset of mice, during one surgical procedure, we injected retro-ChRmine into the NTS and GCaMP7f into the InsCtx, implanted the optical fibre above the InsCtx, and performed the first NG injection of AAV9-flex-taCasp3-TEVp. After recovery, we performed the second injection of AAV9-flex-taCasp3-TEVp to the contralateral NG. Once mice were fully recovered from both procedures, we performed InsCtx photometry recordings using the same optogenetic stimulation paradigm.

After completion of the experiments, we collected the NG and brain tissue for histological analysis as described below. We assessed the extent of NG-OxtR+ neuron ablation and verified GCaMP7f expression and optical fibre placement in the InsCtx.

We analysed InsCtx photometry responses across the three experimental conditions by aligning activity to the onset of optogenetic stimulation or red-light delivery. We low-pass filtered the photometry signal, corrected for photobleaching using a double-exponential fit, and z-scored each trial relative to the 5 s prestimulation baseline. For each mouse, we quantified the response as the mean z-scored activity during the 0 s to 4 s stimulation period and compared responses across conditions.

Aortic depressor nerve transection

We anaesthetized mice with 3% isoflurane for induction and maintained anaesthesia at 1.5% isoflurane throughout the surgical procedure. We placed mice in a supine position and exposed the cervical region as described above. We identified the vagus nerve and carotid artery and moved the carotid artery medially to facilitate visualization of the aortic depressor nerve64,65. We visually identified the aortic depressor nerve as a thin nerve running between the vagus nerve and carotid artery and transected it using fine surgical scissors. We then sutured the surgical incision and proceeded with brainstem injections as described above. We verified successful NG infection and aortic depressor nerve denervation post-mortem by observing labelling of neurons in the NG but without labelled axons in the aortic arch.

Behavioural experiments

Initial habituation

After a minimum of 2 weeks of post-surgical recovery, we food-restricted mice (or in a subset of experiments, water-restricted, as noted below) to 80–85% of their free-feeding body weight. Before behavioural training, we habituated animals to head-fixation by gradually increasing head-fixation durations from 10 min to 1 h per session over the course of 2–3 days. If we observed any signs of stress, we immediately removed the animal and conducted additional head-fixation sessions until the animal showed no visible signs of stress. During the final head-fixation session, we provided sugar-water (600 mM sucrose solution, 4072.1000 Mallinckrodt Baker, Avantor) through a lickspout to train the mice to associate licking with a sugar-water reward (~5 μl per drop). We tracked licking behaviour using a custom capacitance-sensing lickspout based on an MPR121 capacitance sensor. We performed all behavioural training using MonkeyLogic266,67 (https://monkeylogic.nimh.nih.gov/).

To habituate animals to the red light used during optogenetic activation, we directed a separate masking red light (Thorlabs, M625F2, 625 nm LED; ~28 mW mm−2, 10 Hz, 20% duty cycle) toward the mice. This light visually masked the optogenetic stimulation light throughout the experiment, turning on at the beginning of every trial and switching off during the ITI. After several days of training with the masking red light, we lightly anaesthetized mice using isoflurane (as described above), and removed fur from the ventral neck using hair-removal cream (Veet). We removed the fur to ensure efficient penetration of light through the skin and underlying tissues for non-invasive optogenetic activation of vagal neurons. We verified that the light guide delivering red LED light for optogenetics (5 mm diameter light guide, LLG-5; LED, UHP-F-5-630, Prizmatix) did not heat up or damage the skin in the stimulation area. We also habituated mice to the presence of two light guides positioned beneath and lateral to the neck, gently touching the skin. In all of the experiments using optogenetic stimulation as a conditioning cue, we also habituated animals to a custom neck cover made of opaque fabric that enclosed both the neck and light guides, further minimizing red-light leakage outside the stimulation area (for example, to the eyes).

Sucrose consumption test

After habituation, we introduced an olfactory cue (isoamyl acetate, W205508, Sigma-Aldrich) using a custom-built olfactometer. We diluted the odour to 10% (volume per volume) in mineral oil solution and applied an additional 10% air dilution in the olfactometer, resulting in an overall 1% concentration. We first trained mice to associate the 2 s odour cue with the unconditional delivery of a sugar-water drop (Pavlovian reward, ~5 μl). Once they consistently licked in anticipation of the odour cue and completed at least 200 trials, we increased the number of sugar-water drops delivered in each trial. The odour cue signalled the start of the trial, during which 3 Pavlovian sugar-water drops were delivered at 1 s intervals. If the mouse continued licking after these initial three drops, it could receive up to seven additional operant drops—drops with delivery contingent upon licking. Mice performed 40 trials with a 30 s ITI. Once performance stabilized (typically after 2–5 sessions), we conducted a test session. During the test, in half of the trials (randomly selected), licks for drops number 3 to 10 triggered both sugar-water delivery and a 1 s non-invasive optogenetic activation of NG-OxtR+ neurons (15 Hz, 10% duty cycle, 102 mW mm−2) delivered through two light guides aimed at the ventral neck to illuminate the NG. Importantly, trials with or without optogenetic stimulation were indistinguishable to the mice before the onset of stimulation, as both used the same odour cue and rewards, and both included the presence of the masking light.

We counted licks during the optogenetic window (defined as the earliest to last time of stimulation across trials) and compared them between optogenetic trials and control trials (without optogenetics) from the same session. We calculated a lick reduction index as:

$$\frac{\mathrm{Licks}\,\mathrm{during}\,\mathrm{opto}-\mathrm{Licks}\,\mathrm{during}\,\mathrm{no}\,\mathrm{opto}}{\mathrm{Licks}\,\mathrm{during}\,\mathrm{opto}+\mathrm{Licks}\,\mathrm{during}\,\mathrm{no}\,\mathrm{opto}}$$

We used the same procedure for both food-restricted and water-restricted cohorts.

In an initial subset of mice (4/14 ChRmine, 1/5 control), we used a slightly different protocol without an olfactory cue. Each trial began with 3 Pavlovian sugar-water drops, followed by up to 17 operant drops (that is, drops with delivery contingent upon licking) for a total of up to 20 drops per trial with a 30 s ITI. In half of the trials (randomly selected), a 1 s optogenetic stimulation was delivered during licking for the final 15 drops. We calculated the lick reduction index as described above. Although this protocol produced licking suppression in response to the optogenetic stimulation, mice were less consistent in recognizing trial onset without an olfactory cue, and the longer trial length reduced the number of completed trials. As a result, licking patterns were also less consistent across trials and across days. We therefore switched to the odour cued protocol described above for most mice.

Head-fixed conditioned taste preference

For conditioned-taste-preference experiments, we water restricted mice. After habituation, we trained mice to associate two distinct olfactory cues with two different non-caloric juice rewards. Ethyl butyrate odour (E15701, Sigma-Aldrich) signalled access to artificial apple juice, and isoamyl acetate odour (W205508, Sigma-Aldrich) signalled artificial grape juice. We presented each odour for 2 s at the start of each trial. We artificially sweetened both Juices (Yachin) with 25 mM acesulfame K (04054-25G, Sigma-Aldrich), and allowed mice to earn up to 15 drops (~5 µl per drop) per trial.

We delivered juices operantly: mice had to lick during a designated response window that began immediately after odour offset, with at least 1 s between drops. If a mouse paused licking, juice delivery stopped and resumed only if licking continued within the response window. We set the ITI to range from 30 s to 2 min, scaling it linearly with the number of drops received: more juice (that is, more licking) resulted in longer ITIs.

We randomly interleaved trials at a 1:1 ratio. Once the mice performed the task reliably, we used the final training session as a preference baseline and calculated the lick preference index:

$$\frac{\mathrm{Licks}\,\mathrm{during}\,\mathrm{apple}\,\mathrm{juice}-\mathrm{Licks}\,\mathrm{during}\,\mathrm{grape}\,\mathrm{juice}}{\mathrm{Licks}\,\mathrm{during}\,\mathrm{apple}\,\mathrm{juice}+\mathrm{Licks}\,\mathrm{during}\,\mathrm{grape}\,\mathrm{juice}}$$

We identified each mouse’s preferred juice based on this index. Over the next three sessions (one per day), we paired the preferred juice with non-invasive optogenetic activation of NG-OxtR+ neurons. These trials began with the same 2 s odour cue and the initial three drops delivered operantly. From the fourth drop onward, we paired each lick that triggered a juice drop with 1 s of optogenetic stimulation. We continued the other trial type (the less preferred juice) as before, without stimulation.

After each session, we calculated a new preference index. On the final day, we conducted a test session with no optogenetic stimulation and calculated a final preference index to assess changes in juice preference due to the previous stimulation pairing.

The VagalOpto→NoReward interoceptive detection task

After habituation, we trained mice to associate an olfactory cue (ethyl butyrate, E15701, Sigma-Aldrich) with the delivery of 1 drop of sugar-water reward. Each trial began with a 2 s odour presentation, followed by a 2 s licking window. If the mice licked during this window, it triggered the delivery of a sugar-water drop (~5 µl). Once the mice consistently performed the operant licking behaviour and completed at least 200 trials, we introduced a second trial type. In these new trials, we delivered a 4 s non-invasive optogenetic activation of NG-OxtR+ neurons before presenting the same odour cue. We directed the stimulation through two light guides aimed at the ventral neck (15 Hz, 10% duty cycle, 102 mW mm−2). Licking during the post-odour window in these trials was considered a false alarm (FA), and was not rewarded with sugar water (but was also not explicitly punished). Each interoceptive detection session included 180–200 trials, with optogenetic and non-optogenetic trials randomly interleaved at a 1:1 ratio. To prevent visual detection of the red light, we used masking red light in all trials (~28 mW mm−2, 10 Hz, 20% duty cycle) that started 5 s before odour presentation and lasted until the beginning of the ITI in all trials. As described above, we additionally used opaque fabric neck covers to limit red light leakage outside the stimulation area (for example, to the eyes).

We maintained the same light level for each individual mouse across all training and testing sessions. For most mice we used 102 mW mm−2, but to have a usable number of FAs, for some mice with higher sensitivity, we used a lower light intensity of optogenetic stimulation (range: 15–102 mW mm−2). We used the same frequency and duty cycle for all mice.

For experiments involving body temperature measurements, we selected animals that demonstrated high performance in the interoceptive detection VagalOpto→NoReward task. On the day of temperature assessment, we ran mice in the same behavioural paradigm (~180 trials with 50% optogenetic stimulation trials), and measured body temperature using a non-contact infrared thermometer (Beurer, FT90) aimed at a part of the mouse’s back from which we removed hair to expose the skin. To ensure accuracy, we positioned the device at a 2–4 cm distance from the mouse’s dorsal surface, avoiding direct skin contact. We took temperature measurements during brief pauses between trials (during the ITI), minimizing disturbance to behaviour.

Training with lower-frequency optogenetic stimulation

To assess learning dynamics across days in the VagalOpto→NoReward task, we trained naive mice using lower-frequency NG-OxtR+ optogenetic stimulation. We trained mice on the task, as described above, but used 1 Hz instead of 15 Hz stimulation. All of the other stimulus parameters remained the same. We selected 1 Hz because this stimulation frequency was near or below the behavioural detection threshold observed in the psychophysics experiments described above, enabling us to track the emergence of interoceptive detection across training. We trained mice with 1 Hz stimulation over multiple consecutive daily sessions. We quantified behavioural performance during learning of the 1 Hz stimulation across training days using hit rate, FA rate and d′. We calculated the hit rate from no-opto trials and the FA rate from 1 Hz opto trials, and calculated d′ from the corresponding hit and FA rates using the Hautus correction.

The VagalOpto→NoReward temporal delay test

To determine the temporal window during which mice could detect optogenetic activation of NG-OxtR+ neurons, we first trained mice to proficiency in the interoceptive detection VagalOpto→NoReward task, as described above. Notably, in this task variant, there is no delay between optogenetic stimulation offset and odour cue onset. Once mice reached stable performance, we performed a delay test session in which we varied the interval between the end of the optogenetic stimulation and the onset of the odour cue. We kept the optogenetic stimulation parameters identical across trials (4 s, 15 Hz, 10% duty cycle, 102 mW mm−2) and randomly varied the delay between stimulation offset and odour onset between 0, 2, 4, 6 and 8 s. We randomly interleaved the different delay conditions at equal proportions. To maintain task engagement and provide sufficient opportunities to obtain rewards, 50% of trials consisted of NoOpto→Reward trials.

We assessed behavioural performance across delay conditions using hit rate, FA rate and d′. We calculated the hit rate from no-opto trials and the FA rate separately for opto trials with 0, 2, 4, 6 or 8 s delays. For each delay condition, we calculated d′ from the corresponding FA rate and the hit rate measured in no-opto trials, using the Hautus correction to avoid infinite values at extreme response rates.

The VagalOpto→NoReward optogenetic stimulus duration test

To determine the minimal duration of NG-OxtR+ neuron activation necessary for robust interoceptive detection, we first trained mice to proficiency in the VagalOpto→NoReward task, as described above, with a 4 s optogenetic stimulus. Once mice reached stable performance, we performed a stimulus duration test session. During this session, we randomly varied the duration of the optogenetic stimulus while maintaining the same stimulus frequency and duty cycle (15 Hz, 10% duty cycle) and presented the odour cue immediately after stimulation offset. Optogenetic stimuli consisted of either 60 pulses (4 s), 15 pulses (1 s), 4 pulses (~0.26 s) or a single pulse. We randomly interleaved the four stimulus durations at equal proportions. To maintain task engagement and provide sufficient opportunities to obtain rewards, 50% of trials consisted of no-opto trials.

We assessed behavioural performance across stimulation conditions using hit rate, FA rate and d′. We calculated the hit rate from no-opto trials and FA rate separately for opto trials with 60 pulses (4 s, 15 Hz), 15 pulses (1 s, 15 Hz), 4 pulses (15 Hz) or a single pulse. For each stimulation duration, we calculated d′ from the corresponding FA rate and the hit rate measured in no-opto trials, using the Hautus correction to avoid infinite values at extreme response rates.

Odour-cue generalization test

To determine whether mice could generalize interoceptive detection across different olfactory cues, we first trained mice to proficiency in the VagalOpto→NoReward task using the original trained odour, as described above. On the test day, mice initially performed 20 trials of the task using the trained odour. We then switched, without previous exposure or training, to a novel odour cue and continued the same task for an additional 180 trials. All other task parameters remained unchanged.

We assessed behavioural performance after the odour change by comparing the overall hit and FA rates between the previously learned and new odour conditions. For each odour, we pooled trials with and without vagal-opto stimulation. We calculated hit rate and FA rate, and calculated d′ using the Hautus correction to avoid infinite values at extreme response rates.

Reversing VagalOpto task contingencies across sessions

Once mice became proficient in the interoceptive detection VagalOpto→NoReward task (that is, hit rate > 75% and FA rate < 25%), we transitioned them to the VagalOpto→Reward version of the task. In this version, we introduced a new olfactory cue (isoamyl acetate, W205508, Sigma-Aldrich) that signalled the availability of a sugar-water reward, but only when preceded by a 4 s non-invasive optogenetic activation of NG-OxtR+ neurons (15 Hz; 10% duty cycle; typically 102 mW mm−2; range: 15–102 mW mm−2; as described above). We began by running 10–20 training trials in which we consistently paired the optogenetic stimulation with the odour cue and delivered a Pavlovian sugar-water reward. We then randomly interleaved two trial types: (1) opto-odour-reward trials; and (2) odour-only trials with no reward, regardless of licking behaviour. Once the mice reliably licked only in response to trials with previous stimulation, we transitioned to a fully operant version of the task. In this version, we delivered a sugar-water reward only if they licked during the response window of trials where the odour cue was preceded by the optogenetic stimulation. FAs were not explicitly punished.

Reversing VagalOpto task contingencies within session

To assess how mice responded to an unexpected reversal of the learned interoceptive contingency, we first trained mice to proficiency in the VagalOpto→NoReward task, as described above. On the reversal test day, mice initially completed 20 trials under the previously learned VagalOpto→NoReward contingency. We then reversed the contingency within the same session, without previous training or explicit indication of the change, and continued the session under the VagalOpto→Reward contingency. After the reversal, optogenetic stimulation of NG-OxtR+ neurons preceding the odour cue signalled reward availability, whereas odour-only trials were not rewarded. In contrast to the training VagalOpto→Reward paradigm described above, we did not provide Pavlovian pairing trials or any other training on the reversed contingency before the switch. All other stimulation and behavioural parameters remained as described above.

We assessed behavioural performance before and after contingency reversal by comparing overall hit and FA rates. We classified responses as hits, misses, CRs or FAs according to the active stimulus–reward contingency. We pooled trials within the original or reversal phases and calculated hit rate, FA rate and d′ using the Hautus correction.

Interoceptive psychophysics

Once mice became proficient in the interoceptive detection VagalOpto→NoReward task, we performed 1–2 days of the psychophysics task. We began each session with 20 trials that followed the same structure as the VagalOpto→NoReward paradigm described above. After this initial phase, we ran approximately 280 additional trials. In half of these, they received a Go cue (odour only), allowing them to earn a sugar-water reward if they licked during the appropriate time window, maintaining task engagement with 50% rewards. In the remaining trials, we paired non-invasive optogenetic activation of NG-OxtR+ neurons with the odour cue. We used one of seven frequencies (0.5, 1, 3, 5, 7.5, 10 and 15 Hz; typically 102 mW mm−2; range: 15–102 mW mm−2; as described above, 10% duty cycle), all presented at equal probability. Licking during the 2 s window following odour presentation in these trials resulted in no reward and counted as a FA. We randomly interleaved all eight trial types throughout the session. Before the psychophysics day, the mice were trained on the VagalOpto→NoReward task at a 15 Hz optogenetic stimulation frequency to achieve the performance criterion. We did not train mice further on the psychophysics task, and only used it 1–2 times to probe their detection threshold.

Behavioural tasks with InsCtx optogenetic inhibition

We expressed the inhibitory opsin stGtACR2 under the CaMKIIa promotor and used implanted optic fibres to deliver continues blue light for 5 s (~10 mW), selectively inhibiting InsCtx neurons. We specifically chose an optogenetic protein that responds to blue light rather than red light to avoid interference with the red light used for optogenetic vagal activation. All of the mice underwent several behavioural tasks as detailed below.

Interoceptive detection VagalOpto→NoReward and VagalOpto→Reward with InsCtx inhibition

Mice were initially trained to perform the VagalOpto→NoReward task before introducing InsCtx inhibition. In the inhibition experiment, optogenetic inhibition began 5 s before odour onset and terminated immediately before odour presentation. This protocol was applied to both trial types (odour-only and vagal-opto stimulation trials). To ensure balanced sampling, inhibition was included in 25% of the trials for each trial type, resulting in around 50 inhibition trials and around 150 non-inhibition trials per condition within a session. Later, the same mice were trained to perform the VagalOpto→Reward version of the task (as described above), and a similar procedure was performed for InsCtx inhibition.

A similar protocol was used for the one-frequency detection VagalOpto→NoReward task with medium, low and very low vagal-opto frequencies (see below). Mice were initially trained to perform the VagalOpto→NoReward task at 15 Hz and were then tested with the chosen frequency.

Partial psychophysics with InsCtx inhibition

For psychophysics with InsCtx inhibition, we selected three different stimulation frequencies for each mouse: medium, low and very low. These frequencies were typically 5 Hz, 3 Hz and 1 Hz, respectively. To avoid floor or celling effects, if a mouse had below 5% FAs at 5 Hz we chose frequencies of 3, 1 and 0.5 Hz. Conversely, if a mouse had above 95% FAs at 1 Hz, we chose frequencies of 7.5, 5 and 3 Hz. Note that we used three frequencies instead of the full range of seven frequencies used for psychophysics task without InsCtx inhibition, to ensure a sufficient number of repetitions for each trial type with/without InsCtx inhibition.

In this task, 50% of trials were Go cue trials (odour only) without vagal optogenetic stimulation, allowing the mice to obtain a sugar-water reward by licking during the response window. In the remaining 50% of trials, we delivered vagal optogenetic stimulation at one of the three selected frequencies before the odour cue.

We randomly interleaved bilateral InsCtx inhibition across all trial types. In vagal stimulation trials, we initiated InsCtx inhibition 1 s before the onset of vagal optogenetic stimulation, maintained it throughout the 4 s stimulation period and ended it immediately before odour presentation. We inhibited InsCtx activity in 50% of vagal stimulation trials, with a minimum of 50 inhibition trials per stimulation frequency to achieve enough trials for quantitative analysis. In odour-only rewarded trials without vagal-opto stimulation (a total of 300 trials), we inhibited InsCtx activity 5 s before odour onset. We inhibited the InsCtx in 60 trials so that we did not have too many trials with InsCtx inhibition, which may reduce the fraction of trials in which mice lick to receive a reward.

Odour Go/No-Go control with InsCtx inhibition

We trained mice to associate two distinct olfactory cues (isoamyl acetate, W205508, Sigma-Aldrich; and Limonene, W263303, Sigma-Aldrich), which they had not previously encountered. One odour cued the availability of a sugar-water reward, while the other signalled ‘no outcome’ (that is, no reward). This task did not include vagal-opto stimulation. After several training sessions, once mice reliably discriminated between the two odours, we performed the inhibition experiments. InsCtx inhibition began 5 s before odour onset and terminated immediately before odour presentation. We randomly interleaved inhibition in 25% of the trials for each odour type, resulting in approximately 50 trials with InsCtx inhibition and 150 trials without inhibition per condition.

Behavioural tasks with InsCtx pharmacological inhibition

Mice were implanted with bilateral guide cannulas to allow injection of drugs directly into the InsCtx as described above. Pharmacological inhibition was performed by infusing mice with 0.3 µl of muscimol and baclofen solution (0.05 µg µl−1 and 0.02 µg µl−1, respectively) or saline at a rate of 0.1 µl min−1 in both hemispheres. Then, 1 min after each infusion, the injector cannula was replaced with the dummy cannula. Behavioural testing started 15 min later, according to previously established protocols53,62.

To assess the effect of pharmacological InsCtx inhibition on interoceptive detection, we first trained mice to proficiency in the VagalOpto→NoReward task, as described above. Before pharmacological testing, we habituated mice to manipulation of the dummy injector and implanted cannulas to minimize the associated stress during drug administration.

Each mouse underwent both a pharmacological inhibition session and a control session on different days. On the inhibition day, we bilaterally infused muscimol and baclofen into the InsCtx as described above. On the control day, we followed the same procedure but bilaterally infused saline instead. After infusion, mice completed ten no-opto trials to obtain sugar-water rewards and engage in the task. Mice then completed 20 or 40 trials of the standard one-frequency VagalOpto→NoReward task, followed by 180 trials of a partial psychophysics test using three vagal optogenetic stimulation frequencies (1, 3 and 5 Hz). Half of the trials consisted of no-opto trials, whereas the remaining 50% consisted of vagal optogenetic stimulation trials, with all trial types randomly interleaved throughout the session. We used the same trial structure and stimulation parameters on the muscimol and baclofen and saline control days.

For verification of injection sites, after completion of all experiments, we bilaterally injected 0.3 µl of 0.1% (w/v) cholera toxin subunit B conjugated to Alexa Fluor 555 (CTB-55; Thermo Fisher Scientific, C34776) through the implanted cannulas. After the injections, we transcranially perfused the mice and collected and processed the brain and NG tissues as described below.

Two-photon imaging of the InsCtx across tasks

Two-photon imaging was performed using a resonant-scanning two-photon microscope (Thorlabs Bergamo) using ThorImage and ThorSync software (v.4.3 for both) at 15 frames per second, through a ×10/0.5 NA air objective (TL10X-2P, Thorlabs) at 1.5× zoom, yielding a 906 × 906 µm field of view (512 × 512 pixels). We used a 920 nm fixed-wavelength laser for GCaMP imaging (Toptica FemtoFiber Ultra 920). All imaged fields of view were at a depth of 90–200 mm below the pial surface, with laser power at 920 nm of 15–80 mW at the front aperture of the objective (power at the sample was likely substantially less due to partial transmission through the microprism). Mice were imaged in consecutive 30 min runs. Imaging depth was adjusted in between runs (every 30 min) to account for slow drift in the z plane (<7 µm).

Both the masking red light and the vagal optogenetic activation were performed between imaging frames. To control light on/off timing, we used an Arduino Uno, which switched states in response to commands sent through the MonkeyLogic2 program.

We note that the anatomical parcellation of the mouse InsCtx into anterior/mid/posterior divisions is quite inconsistent across the literature. The part of the InsCtx that we imaged is sometimes referred to as ‘mid’, and sometimes as ‘posterior’. We refer to our imaging location as the mid-posterior InsCtx as a compromise between these different parcellations. Across multiple analyses, we did not find any clear functional–anatomical organization within mouse or across mice (Extended Data Figs. 3m,n, 4d,e and 5f,g). We therefore did not find a clear distinction between the parts of the mid and posterior insula we imaged.

Histology

Brain tissue collection and processing

For most experiments, we euthanized mice through intraperitoneal injection of sodium pentobarbital (200 mg per kg; 0.1 ml per 10 g body weight), followed by intracardial perfusion. In brief, we began by making a small incision in the right atrium and inserted a needle into the left ventricle. We flushed the circulatory system with PBS to clear the blood, then perfused with 10% formalin to fix the tissues. After perfusion, we removed the heads and post-fixed them in 10% formalin for 24–48 h before extracting the NG (as described below) and the brain.

Before slicing, we cryoprotected brains in 30% sucrose for 24–48 h until the tissue sank. We then sectioned the brains coronally at 50 μm using a sliding microtome (Leica), mounted selected sections onto glass slides and applied DAPI-containing mounting medium (VECTASHIELD Antifade Mounting Medium with DAPI H-1200-10, Vector Laboratories). We placed coverslips and imaged the slides using a slide scanner (VS120-S6-W, Virtual Slide Microscope System, Olympus) at ×10 magnification and viewed using OlyVIA v.4.1 software (Olympus).

Nodose ganglia collection and processing

As described above, we euthanized mice and, in most cases, perfused them to ensure thorough fixation of the head. After fixation, we positioned the head to expose the ventral neck and made a midline incision in the skin using scissors. We carefully removed the salivary glands and excised the digastric muscle to expose the glossopharyngeal nerve, which we used as an anatomical landmark for locating the vagus nerve. We then cleared additional muscle and connective tissue to access the carotid sheath, which encloses the carotid artery, vagus nerve and associated connective tissue. We gently separated the vagus nerve from the artery and traced rostrally toward the base of the skull. This dissection led us to the jugular foramen, where we identified the NG as a small bulb-like structure. Using fine forceps, we carefully isolated and freed the NG. After extraction, we mounted the ganglia onto glass slides, applied mounting medium (VECTASHIELD Mounting Medium, 101098-042, Vector Laboratories), and placed coverslips. We then imaged the slides using a fluorescence microscope (AxioLab, Zeiss).

Intestine collection and processing

To visualize axonal terminals of NG-OxtR+ neurons in the intestine, we injected retrograde AAV encoding ChRmine-mScarlet into the brainstem of Oxtr-cre mice, as described above. After allowing 2–3 months of expression, we euthanized the mice with sodium pentobarbital (200 mg per kg; 0.1 ml per 10 g body weight) and transcardially perfused them to ensure thorough fixation. We carefully removed the entire intestine while minimizing disruption to surrounding connective tissues and placed the tissue in 10% formalin for approximately 1 week of post-fixation. After fixation, we dissected the intestine and cryopreserved it in 30% sucrose solution for at least 48 h. We then sectioned the tissue at a thickness of 100 μm using a sliding microtome (Leica), mounted sections onto glass slides and applied mounting medium (VECTASHIELD Mounting Medium, 101098-042, Vector Laboratories) before placing coverslips. We imaged the sections using a two-photon microscope (Thorlabs Bergamo), with excitation at 920 nm for green tissue autofluorescence (Toptica FemtoFiber Ultra 920) and 1,050 nm for mScarlet fluorescence (Toptica FemtoFiber Ultra 1050). We acquired Images across multiple z planes and processed them using ImageJ to generate maximum-intensity projections.

Aortic arch collection and processing

We collected aortic arches using a dissection procedure adapted from a previous study68. In brief, we euthanized mice with sodium pentobarbital (200 mg ml−1; 0.1 ml per 10 g body weight, intraperitoneally) and placed them into a supine position under a stereomicroscope. We opened the thoracic cavity and removed the rib cage to expose the heart and major blood vessels. We carefully removed the surrounding connective and adipose tissues to expose the aortic arch and its major branches. We excised the aortic arch and flushed the vessel with saline to remove residual blood. We then fixed the tissue in 10% formalin for approximately 1–2 h. After fixation, we mounted the aortic arch on a microscope slide in mounting medium (VECTASHIELD Mounting Medium, 101098-042, Vector Laboratories), covered it with a coverslip and imaged the whole-mounted tissue by fluorescence microscope (AxioLab, Zeiss).

Analysis of stGtACR2-FusionRed expression in the InsCtx

To assess stGtACR2-FusionRed expression in the InsCtx, coronal brain sections were imaged from all of the mice included in the optogenetic inhibition experiments, as described above. For each mouse, all sections in which the tip of the optic fibre tract was visible were included in the analysis. Images were analysed using ImageJ. The boundaries of the InsCtx were manually delineated in each section. The membrane localization of stGtACR2-FusionRed created large patches with tissue fluorescence in which individual somata were not clearly separated. Therefore, to obtain an estimation of the fraction of cells expressing stGtACR2-FusionRed, we examined the areas of tissue fluorescence and manually outlined them. We then quantified the percentage of stGtACR2-FusionRed fluorescence areas out of the total InsCtx area per mouse across all examined tissue sections. Group data are presented as the mean ± s.e.m. across mice.

Statistical analysis

Throughout this study, we used an automated test-selection procedure to ensure that appropriate statistical methods were applied based on data characteristics. For paired comparisons (for example, comparing the same animals across conditions), we first assessed normality of the differences using the Shapiro–Wilk test (α = 0.05). When differences were normally distributed without outliers, we applied paired t-tests; otherwise, we used Wilcoxon signed-rank tests. For independent comparisons between groups, normality was assessed separately in each group using the Shapiro–Wilk test, and variance homogeneity was tested using Levene’s test. When both groups were normally distributed, we selected independent t-tests (for equal variances) or Welch’s t-tests (for unequal variances). When one or both groups deviated from normality, we applied the nonparametric Mann–Whitney U-test. Importantly, when multiple related comparisons were performed within the same analysis (for example, comparing different percentile thresholds between conditions), if any single comparison in that family failed normality assumptions, we applied the nonparametric test to all comparisons within that family to ensure consistency and fairness. For all comparisons, we computed effect sizes (Cohen’s d for parametric tests, rank-biserial correlation for nonparametric tests) and 95% confidence intervals for mean differences using bootstrap resampling (10,000 iterations). Statistical significance was assessed at α = 0.05, with FDR correction applied when multiple comparisons were performed within the same family of tests.

Data analysis

Two-photon imaging data preprocessing

Two-photon imaging data were first processed using Suite2p69 for image registration. Data were then denoised using DeepInterpolation70. The denoised data were then used for region of interest (ROI) extraction using Suite2p. Extracted ROI masks were then manually inspected to ensure typical soma morphology, appropriate size and normal activity patterns. Neuropil contamination was corrected by subtracting 70% of the surrounding neuropil signal from each cellular fluorescence trace (that is, multiplying neuropil values by 0.7), followed by addition of the median neuropil value to preserve baseline fluorescence levels. Motion artifacts were removed using custom-written code in Python, which is based on artifact removal procedures in human EEG recordings71,72. This method involves a multistep approach including z-score normalization for each 30 min imaging run, high-pass filtering to eliminate low-frequency drift, followed by principal component analysis and independent component analysis to identify and exclude components significantly correlated with x–y motion-displacement traces (from the Suite2p registration output). The cleaned signals were then inverse-transformed to recover baseline-corrected fluorescence values in the original scale. Fluorescence signals were converted to relative fluorescence changes (ΔF/F) using a running baseline approach, where the tenth percentile fluorescence value within a 4.5 min sliding window served as the baseline fluorescence for each neuron. This method provided robust normalization against slow baseline drift while preserving rapid calcium transients. Synchronization with behavioural parameters (for example, odour and optogenetic stimulation onset/offset, licking) was achieved by aligning imaging frames with stimulus timing codes recorded by ThorSync (Thorlabs) at 6 kHz, with behavioural signals downsampled to match the imaging frame rate. Continuous imaging data were segmented into individual trials based on the timing of Monkeylogic2 behavioural codes, enabling trial-based analysis of neural responses aligned to task events. All of the preprocessing steps preserved the temporal structure of the data while removing technical artifacts, enabling subsequent analysis of task-related neuronal activity patterns.

Data normalization

Neural activity (ΔF/F) was z scored per neuron to account for differences in baseline fluorescence and dynamic range. For each neuron, ΔF/F values were z scored by subtracting the session mean and dividing by the session standard deviation. Normalization was applied to the continuous trace before trial segmentation to ensure consistent baseline statistics across trial types.

Behavioural psychometric curve analysis

Behavioural performance in the vagal optogenetic detection task was quantified by constructing psychometric curves relating stimulus intensity to detection probability. The initial 20 trials at the beginning of each session, which were only 0 or 15 Hz, were excluded from analysis to allow for task engagement and stabilization of behavioural performance. For each stimulation frequency, the detection rate was calculated as the proportion of trials in which the animal produced a lick response. These empirical detection rates were then fitted with a four-parameter sigmoid function of the form:

$$y=L/(1+\exp (-k(x-{x}_{0})))+b$$

where x represents the stimulation frequency, y represents the detection rate, L is the dynamic range, x0 is the inflection point (perceptual threshold), k controls the slope and b is the baseline offset. Parameter estimation was performed using nonlinear least-squares optimization with initial parameter guesses derived from the data. The quality of the fit was assessed by computing the coefficient of determination (R2). To assess psychometric fit quality, response labels were randomly permuted across trials while stimulation frequencies were kept fixed. For each of 100 shuffles per mouse, the psychometric curve was refitted and its R2 was calculated. The real R2 was then compared with the mean shuffled R2. The perceptual threshold for each animal was defined as the inflection point (x0) of the fitted sigmoid, corresponding to the stimulation frequency at which the fitted detection probability reached the midpoint of its dynamic range. Uncertainty in the perceptual threshold estimates was assessed using bootstrap resampling. For each mouse, trials were resampled with replacement within each stimulation frequency while preserving the original number of trials per frequency. The psychometric function was refitted and the perceptual threshold was recalculated for each of 1,000 bootstrap iterations. The 95% confidence interval was defined by the 2.5th and 97.5th percentiles of the resulting bootstrap threshold distribution. For visualization, detection rates were converted to percentages and plotted as a function of optogenetic stimulation frequency along with the fitted sigmoid curve. When analysing multiple animals, individual psychometric curves were overlaid and the average R2 value across animals was computed and reported along with the standard error of the mean to summarize detection performance consistency across the cohort.

Neural response detection and neurometric analysis

Neural response detection

To quantify neural responses to vagal optogenetic stimulation, we used auROC analysis. For each neuron and trial, we compared neural activity during a baseline period (from 1 s before to 1 s after trial onset, before vagal optogenetic stimulation) with activity during the stimulation period (3–5 s after trial onset). We defined 100 threshold criteria spanning the 0.1st to 99.9th percentile of each neuron’s activity range. For each threshold, we calculated the probability that neural activity exceeded the threshold during baseline and stimulation periods separately. The auROC value was computed using these probability distributions, where values of >0.5 indicate excited responses (increased activity during stimulation), values of <0.5 indicate suppressed responses (decreased activity) and values of approximately 0.5 indicate no response.

Statistical significance testing of auROC values

To determine significant responses, we performed permutation testing for each neuron on a trial-by-trial basis. For each trial, we shuffled baseline and stimulation labels 500 times to create a null distribution of auROC values under the assumption of no stimulus-evoked response. Significance thresholds were set at the 5th and 95th percentiles of this null distribution (α = 0.05). Only trials with auROC values exceeding these thresholds were considered significant responses and retained for further analysis.

Neurometric curve construction

To characterize frequency-dependent neural responses, we constructed neurometric curves for each neuron. For each stimulation frequency, we calculated the fraction of trials showing significant responses. Excited responses were defined as trials with auROC > 0.5, while suppressed responses were defined as trials with auROC < 0.5. This yielded neurometric curves plotting response fraction against stimulation frequency, analogous to the behavioural psychometric curves. We fitted both sigmoid and Gaussian functions to each neuron’s neurometric curve using least-squares optimization.

The sigmoid function was defined as:

$$f(x)=L/(1+\exp (-k(x-{x}_{{0}})))+b$$

where L is the amplitude, x0 is the inflection point, k is the slope and b is the baseline.

The Gaussian function was defined as:

$$f(x)=A\times \exp \left(-|\frac{(x-\mu )}{\sigma }{|}^{\vee }\beta \right)+\mathrm{offset}$$

where A is the amplitude, μ is the centre, σ is the width, β is the shape parameter and offset is the baseline.

For each neuron, we fit both models separately to excited responses and suppressed responses. The goodness of fit was assessed using the coefficient of determination (R2). For each neuron, we selected the model (sigmoid or Gaussian) and response type (excited or suppressed) that yielded the highest R2. Neurons were classified as sigmoid neurons if the sigmoid model provided the best fit (indicating monotonic frequency-response relationships) or Gaussian neurons if the Gaussian model provided the best fit (indicating tuned frequency preferences). An additional permutation test was performed by shuffling condition labels 1,000 times and refitting the curves to determine if the observed fit was higher than chance. Only neurons with fits that were better than chance were finally considered as sigmoidal or Gaussian.

Based on their mean auROC values across all trials, neurons were further classified as excited (mean auROC > 0.5) or suppressed (mean auROC < 0.5). This yielded four categories: sigmoid excited, sigmoid suppressed, Gaussian excited and Gaussian suppressed neurons. Only neurons with significant neurometric fits (R2 above the threshold and significant permutation test) were included in subsequent analyses. We used these response categories and indices in the choice probability (CP) analysis and single-neuron response classification, described in the corresponding sections below.

Population-level analysis and comparison to behaviour

For sigmoid neurons meeting the inclusion criteria, we extracted the half-maximum threshold, defined as the stimulation frequency at which the fitted curve reached 50% of its dynamic range (that is, the midpoint between the minimum and maximum response). For Gaussian neurons meeting the inclusion criteria, we extracted the peak frequency (μ parameter), representing the stimulation frequency that elicited the maximal response probability. These neural thresholds were aggregated across neurons within each animal and compared to the behavioural detection threshold derived from psychometric curve fitting. To visualize the distribution of neural thresholds within individual animals, we created kernel density estimate plots, showing the probability density of sigmoid half-maximum thresholds and Gaussian peak frequencies across the stimulation frequency range. To characterize population-level distributions, we pooled all neurons across animals and binned them into discrete frequency categories. To quantify the variability of neural and behavioural thresholds across animals, we computed the coefficient of variation (CV = s.d./mean × 100%) for behavioural detection thresholds, sigmoid half-maximum thresholds and Gaussian peak frequencies, providing a normalized measure of interanimal diversity in threshold distributions.

Neural population decoding and comparison to behaviour

We trained support vector machine (SVM) classifiers to decode stimulus presence from neural activity patterns and compare them to behaviour. We wanted to train the classifiers on sufficiently high frequencies that could activate neurons, while ensuring that the animal could not reliably detect them behaviourally. Specifically, for each animal, we selected a training frequency based on its behavioural detection threshold, selecting the stimulation frequency that was two frequency levels below the threshold when available (for example, for a behavioural threshold of 7.5 Hz, we trained the classifier on 3 Hz), or the lowest frequency below the threshold if only one existed (for example, for a behavioural threshold of 1 Hz, we trained the classifier on 0.5 Hz). Neural activity patterns during the vagal-opto stimulation period were extracted for all trials at the training frequency, and a binary SVM classifier was trained to discriminate between stimulus-present and stimulus-absent conditions. Classifier performance was evaluated using repeated 70/30 holdout cross-validation. In each of 500 iterations, 70% of the eligible trials was randomly assigned to the training set, while the remaining 30% was reserved for testing and were not used during classifier training. Classification accuracy was averaged across iterations. The trained classifier was then tested on its ability to decode stimulus presence across all stimulation frequencies, generating a frequency-dependent decoding accuracy curve analogous to the psychometric curve. For cell-subset analyses, the classifier was retrained after excluding Gaussian neurons, sigmoidal neurons or a randomly selected set of neurons matched in size to the average number of Gaussian and sigmoidal neurons.

To quantify the difference between neural coding and behavioural performance, we computed the difference between classifier accuracy and behavioural detection rate specifically at the training frequency for each animal (Δ = classifier accuracy − behavioural detection rate, expressed as percentages). This Δ metric represents information present in the neural population that was not translated into behavioural choices. For group-level analysis, we plotted this accuracy gap as a function of each animal’s behavioural threshold, examining whether the magnitude of subthreshold neural information varied systematically with detection sensitivity. Representative individual animal data were visualized by overlaying the psychometric curve with the full classifier decoding curve to illustrate the relationship between behavioural performance and neural population decoding across the entire frequency range.

CP analysis

Neural discrimination between CR (detected) and FA (undetected) trials

To quantify choice-related modulation under identical sensory input, we computed CP54 by comparing neural activity between CR (detected) and FA (undetected) trials. For each neuron, the mean ΔF/F activity during the vagal optogenetic stimulation period (0–4 s after onset) was extracted separately for CR and FA trials. To correct for unequal trial numbers, we used bootstrap resampling: on each of 500 iterations, we randomly subsampled without replacement from the larger condition to match the smaller one and computed the auROC between CR and FA activity. The median auROC across iterations was taken as the neuron’s CP value.

Following established neural-discrimination methods, auROC values were obtained by sweeping 100 threshold criteria across the 0.1th–99.9th percentile of each neuron’s activity range. For each threshold, we calculated the probability that neural activity exceeded the threshold during CR and FA trials, respectively. The auROC value was then computed from these probability distributions, where CP > 0.5 indicates higher activity on CR (detected) trials, CP < 0.5 indicates higher activity on FA (undetected) trials and CP ≈ 0.5 indicates no discrimination.

Trial-history controls

To minimize potential trial-history effects, we applied balanced sampling when sufficient data were available. Trials were labelled as after reward or not after reward. During each bootstrap iteration, CR and FA trials were sampled so that the proportions of these trial history categories were matched between conditions, ensuring that observed CP differences reflected true choice-related modulation rather than trial-history effects.

CR–CR control analysis for establishing null distribution thresholds for significance of CP values

To determine objective statistical thresholds for identifying neurons with CP values significantly above chance, we performed a control analysis separately for each animal. CR trials were randomly split into two groups of equal size while preserving trial history proportions, as described above. One randomly selected subset of CR trials was labelled as pseudo-FA and the other as pseudo-CR. We then computed CP values for all neurons using this CR–CR split, repeating the random split and CP calculation procedure 500 times to generate robust estimates. As both groups consisted of identical trial types (CR trials), any observed CP values in this control analysis would reflect noise, measurement variability and random fluctuations rather than true behavioural discrimination. This procedure generated an animal-specific null distribution of CP values representing the expected range of discrimination (false-positive rate) in the absence of true signal differences.

For each animal, we then calculated percentile-based thresholds from their CR–CR control CP distribution to define statistical significance criteria (false-positive rate). Neurons were separated into excited (CP ≥ 0.5) and suppressed (CP < 0.5) populations based on their CP values. For excited neurons, we computed the 99.5th, 99th, 97.5th and 95th percentiles of the animal’s control distribution, representing the top 0.5%, 1%, 2.5% and 5% of that animal’s null distribution. For suppressed neurons, we computed the 0.5th, 1st, 2.5th and 5th percentiles, representing the bottom 0.5%, 1%, 2.5% and 5% of the animal’s null distribution. These animal-specific thresholds define the extreme values that would occur by chance in the absence of true discrimination for that particular animal.

Neural decoding with sliding-window classifiers

To assess the temporal dynamics of neural population coding during task performance, we implemented a sliding-window classification approach using both linear SVM and naive Bayes classifiers. The continuous normalized signals were divided into individual trial epochs, with each trial including a 4 s pre-trial baseline period. To account for potential sequential dependencies, we explicitly tracked trial history, labelling each trial as either occurring immediately after a reward or not. Classifiers were trained to discriminate between different behavioural outcomes: CR versus FA, hits versus CR, and hits versus FA. We first trained classifiers on all trials regardless of the frequency or trial count. Furthermore, to account for potential behavioural differences between detected and undetected trials at different frequencies (that is, no detected trials at the lowest frequency or no undetected trials at the highest frequency), we used only trials from optogenetic stimulation frequencies in which both classified classes (that is, hit/CR/FA) contained at least two trials at that frequency (before accounting for trial history). For classifier training, we used a stratified bootstrap procedure to balance trial history between the two classes being compared. Specifically, on each iteration, we identified the minority and majority classes, then equalized the proportion of after-reward and not-after-reward trials in both classes by choosing to the minimum available count for each history category. This ensured that classifier performance reflected true differences in neural activity patterns rather than confounds from trial reward history. As an additional safeguard, if either class ended up with fewer than two trials after stratified bootstrap balancing, that bootstrap iteration was skipped to ensure valid 70/30 train-test splits. Balanced trial sets were then split into training (70%) and test (30%) sets separately for each class, with strict enforcement that no trial appeared in both training and test sets. Classifiers were trained on neural population activity during a fixed temporal window (1 to 4 s after vagal-opto stimulation onset). For each trial, we extracted a population (feature) vector consisting of the mean activity of each neuron during this training window. Linear SVMs and naive Bayes classifiers were fit to these features using the training set. The classification accuracy was then evaluated dynamically across time using a sliding-window approach: we computed the mean neural activity in consecutive 0.3 s windows (step size = 1 frame, ~67 ms at 15 Hz), spanning from trial onset to 17 s after onset. At each timepoint, the trained classifier predicted trial identity based on the population activity within that window, and the accuracy was computed by comparing classifier predictions to true labels on the test set. This procedure was repeated for 500 bootstrap iterations, and accuracy curves were averaged to obtain mean ± s.e.m. traces. For group-level analysis, individual-animal classifier results were aggregated across mice.

In silico neural perturbation analysis

To assess the causal contribution of specific neuronal populations to behavioural discrimination, we implemented an in silico perturbation approach in which we selectively altered the activity of neurons suppressed by vagal-opto stimulation and evaluated the impact on classifier performance. For each animal, we selected a single training frequency for the perturbation analysis by training separate classifiers at each available optogenetic stimulation frequency (without perturbation), evaluating their accuracy curves across all test frequencies and selecting the training frequency of which the classifier accuracy curve most closely matched the shape of the behavioural psychometric curve. This ensured that perturbations targeted the neural population most relevant to perceptual discrimination as reflected in behaviour. We first ranked all neurons by their median activity during the stimulation window (0 to 4 s after vagal-opto stimulation onset) on CR trials at the selected training frequency. Neurons were sorted in ascending order, such that the most suppressed neurons (those with the most negative median z-scored ΔF/F) were ranked first. To identify the critical proportion of suppressed neurons required for effective discrimination, we performed an initial exploratory analysis testing perturbations on cumulative subsets of the ranked neurons in 10% increments (top 10%, top 20%, top 30%, …, top 100%), where each subset included all neurons from the most suppressed up to that percentile. This analysis revealed that decoding accuracy plateaued when the top 20% most-suppressed neurons were included, indicating that this subset was sufficient to reach maximal perturbation effects (Extended Data Fig. 4l). On the basis of this result, we focused subsequent perturbation experiments on three neuron populations: (1) the top 20% most-suppressed neurons; (2) the 20% most-excited neurons as a control; and (3) all neurons. To quantify the typical magnitude of inhibition, we computed the median activity across all negative-activity responses from CR trials at the training frequency, which served as a reference inhibition value. We applied perturbations exclusively to FA trials by adding a scaled version of the reference inhibition value to the activity of selected neurons. Specifically, for a given neuron subset and a given scaling multiplier (0, 2 or 5), we modified each selected neuron’s activity on FA trials by adding (reference inhibition × multiplier). Multiplier values of 0 represented no perturbation (original activity). Critically, perturbations were applied only to the stimulation-window activity used as classifier features; all other aspects of the data remained unchanged. For each combination of neuron subset and multiplier, we trained a linear SVM classifier on unperturbed data from the training frequency CR trials versus no vagal-opto hit trials, using the mean activity during the stimulation window as features. The classifier was then tested on perturbed FA trials at all presented optogenetic frequencies, as well as on unperturbed CR and hit trials, using a cross-validation 70/30 train-test split with 500 bootstrap iterations. To prevent train–test contamination, CR trials at the training frequency were split such that training samples were drawn exclusively from the CR pool, while the test set comprised the remaining CR trials plus all FA trials (which received perturbations). The classification accuracy was computed separately for each frequency, yielding accuracy curves as a function of stimulation frequency for each perturbation condition. We quantified the perturbation effect as Δaccuracy = (accuracy with perturbation) − (accuracy at original activity, multiplier = 0). For group-level analysis, we aggregated Δaccuracy across animals for matched perturbation conditions.

As animals had different vagal optogenetic stimulation frequencies in the behavioural InsCtx inhibition experiment, we also selected three corresponding stimulation frequencies for this analysis: medium, low and very low (see the further explanation in the ‘Partial psychophysics with InsCtx inhibition’ section).

Single-neuron response classification

To identify neurons responding to specific behavioural events (that is, vagal optogenetic stimulation and reward delivery), we performed event-specific auROC analyses on z-scored neuronal activity. For each event type, we defined temporal windows for event-related and baseline activity. The baseline window was consistent across all events (0 to 1 s after trial onset). Event windows were as follows. (1) Vagal stimulation: 1 s after vagal optogenetic onset until optogenetic offset (3 s window). (2) Reward delivery: 2 s after reward onset. (3) Lick onset: from lick onset to lick offset.

Adaptive sliding-window auROC for vagal stimulation

To identify neurons responding to vagal optogenetic stimulation, we computed auROC values comparing neural activity during the vagal stimulation window to baseline. We then performed permutation testing (500 iterations): trial labels (event versus baseline) were shuffled, auROC was recomputed and the distribution of shuffled auROC values was generated. Significance thresholds were set at the 10th and 90th percentiles of this null distribution. Neurons with auROC values exceeding the 90th percentile were classified as stimulation excited, those below the 10th percentile were classified as stimulation suppressed and all others were classified as non-responsive.

Control comparison against masking light

To ensure that observed responses were specific to vagal-opto stimulation and not to the visual masking light presented on all trials, we performed a secondary auROC analysis comparing activity during the vagal-opto stimulation window to activity during the equivalent time window on hit trials (which contained only the masking light, no vagal-opto stimulation). Only neurons that passed both the primary comparison (vagal-opto stimulation versus baseline) and this control comparison (vagal-opto stimulation versus masking light) were classified as vagal-opto responsive.

Reward and licking response detection

For reward delivery and lick onset events, we computed auROC values comparing each event window to the baseline window across all trials. Statistical significance was assessed using permutation testing (500 iterations, 10th/90th percentile thresholds). Neurons responsive to reward or lick onset were also compared against the masking light window (from hit trials) as a control to ensure specificity. Neurons passing both the event-versus-baseline comparison and the event-versus-control comparison were classified as event-responsive. Neurons classified as responding to either reward delivery or lick onset were combined into a single ‘reward/licking’ category for population-level analyses, as these events are temporally coupled during hit trials and separating them was not a central goal of this current work.

Correlation of vagal stimulation and reward-related neural activity

We averaged neuronal activity across trials to obtain a single value per neuron for each analysis window, analysing rewarded and correct-rejection trials separately. For rewarded trials, we computed mean activity from 0 to 2 s after reward. For CR trials, we computed the mean activity during the 4 s stimulation window. To assess the relationship between suppressed optogenetic responses and reward-related activity, we computed correlations across neurons separately for each animal between activity during the CR vagal-opto stimulation window and the rewarded-trial measure. We calculated Pearson correlations and used linear fits for visualization.

Spatial organization analysis

To examine the spatial organization of functionally distinct neuronal populations within the imaging field of view, we performed spatial clustering analyses using ROI coordinates from Suite2p segmentation. For each analysis, we extracted the spatial coordinates of each neuron as the median position of its pixel mask (y, x coordinates). We quantified spatial clustering using two complementary approaches: (1) within-group versus across-group distance comparisons, and (2) radial clustering analysis across multiple spatial scales.

Within-versus-across distance analysis

For each comparison, we computed pairwise distances between all neuron pairs and classified them as within-group (both neurons from the same functional category) or across-group (neurons from different categories). To account for unequal group sizes, we used a subsampling approach with 500 iterations per comparison. In each iteration, we randomly sampled neurons from the larger group to match the size of the smaller group, computed the mean within-group distance and mean across-group distance for the balanced subset, and calculated the difference (within minus across). The observed clustering metric was the average of these 500 subsampled differences. Statistical significance was assessed using permutation testing (500 permutations). For each permutation, neuron labels were randomly shuffled while preserving group sizes, and the clustering metric was recalculated using the same subsampling procedure. The two-sided P value was computed as the fraction of permutations yielding clustering metrics at least as extreme as the observed value (relative to the null distribution mean).

Radial clustering analysis

To characterize clustering across spatial scales, we performed radial neighbour analysis at fixed radii (8, 12, 16, 24, 32, 48, 64, 96, 128, 160 and 180 pixels, pixel size = 1.7 µm). For each radius, we counted the number of neighbours within that distance for each neuron, separately tallying same-label neighbours (same functional category) and different-label neighbours (different category). To balance unequal group sizes, we repeated this analysis 500 times with random subsampling (matching the smaller group size), averaging neighbour counts across iterations. We summarized clustering strength by computing the area under the curve (AUC) of the (same-label minus different-label) neighbour count function across radii. The statistical significance of the observed AUC was assessed using permutation testing (500 permutations). For each permutation, neuron labels were randomly shuffled while preserving group sizes, the same-label and different-label neighbour counts were recomputed at each radius using the same subsampling procedure (500 iterations), and the AUC of the permuted (same minus different) curve was calculated. The two-sided P value was computed as the fraction of permutations yielding AUC values at least as extreme as the observed AUC (relative to the null distribution mean).

CP spatial organization

Neurons were divided into two groups based on their CP values: positive-CP neurons and negative-CP neurons, where only neurons passing the 5% false-positive-rate threshold were included. We applied the within-versus-across distance and radial clustering analyses described above to test whether high-CP and low-CP neurons were spatially segregated.

Functional population spatial organization: vagal stimulation versus reward responses

Neurons were classified into three mutually exclusive categories based on their responses to vagal optogenetic stimulation and reward/licking events. (1) Light only: responsive to vagal optogenetic stimulation but not reward/licking. (2) Reward only: responsive to reward/licking but not vagal stimulation. (3) Both: responsive to both vagal stimulation and reward/licking. Responsiveness was determined by passing both the event-versus-baseline auROC comparison and the event-versus-masking-light control comparison (as described in the ‘Single-neuron response classification’ section). For the spatial analysis, we focused on the comparison between the light-only and reward-only populations, testing whether these two functionally distinct groups exhibited spatial segregation using the within-versus-across distance and radial clustering analyses described above.

Neurometric curve spatial organization: sigmoid versus Gaussian neurons

Neurons were classified based on the shape of their neurometric curves (as described in the ‘Neurometric curve construction’ section): sigmoid neurons exhibited monotonic frequency–response relationships, while Gaussian neurons showed tuned frequency preferences. We applied the within-versus-across distance and radial clustering analyses described above to test whether sigmoid and Gaussian neurons were spatially segregated.

Cross-animal pooled spatial clustering analyses

To assess spatial clustering across animals, we summed the observed clustering metrics (either within-minus-across distance or radial AUC) across all mice and compared this pooled sum to a pooled null distribution obtained by summing the mouse-specific permutation distributions. The pooled two-sided P value quantified whether the aggregate spatial clustering across the cohort exceeded chance expectations. Individual mouse results were visualized using forest plots showing observed clustering metrics with 95% confidence intervals derived from mouse-specific permutation distributions.

Dimensionality reduction and clustering

We followed our previously published pipeline55. In brief, data were binned into half-second bins (seven imaging frames per bin) to reduce computational load and smooth noisy fluctuations. Neural activity traces were then filtered to exclude neurons with low mean activity, retaining only cells exhibiting sufficient modulation across the recording session (threshold: absolute mean ≤ 0.5 after normalization). All retained traces were normalized using z-score transformation to standardize response magnitudes across neurons. Dimensionality reduction was performed using a two-stage Laplacian eigenmap embedding procedure. In the first stage, the high-dimensional neural activity matrix was embedded into a 20-dimensional intermediate space using spectral embedding with nearest-neighbour affinity. This intermediate representation was subsequently projected into a six-dimensional space (determined as the optimal dimensionality for our data, typically 5–6 intrinsic dimensions) to capture the dominant modes of population variability while preserving local geometric structure. Clustering the data into eight clusters was subsequently performed as previously described55. This allowed us to assign each timepoint to a specific cluster and describe population dynamics as cluster transition dynamics. Final cluster labels were assigned to all timepoints, based on their nearest cluster centre. Population activity sequences were aligned to trial onset times and organized by behavioural outcomes (hits, CRs, FAs) to examine state dynamics across experimental conditions. One mouse was excluded from the activity manifold cluster analysis. Although this mouse had statistically significant vagal-opto responses, these responses were much more variable with low trial-to-trial correlations, precluding robust manifold activity clustering.

Trial-wise neural state similarity analysis

To quantify the relationship between population activity dynamics and behavioural outcomes, we performed a trial-wise similarity analysis. Clusters were first selected for analysis based on three criteria that ensured we captured reliable task-evoked changes. First, they must appear in at least one behavioural condition in 30% or more of trials; second, they must exhibit sustained activation (at least two consecutive bins above the 30% threshold) in at least one condition; and third, they must not show significant baseline presence, defined as appearing in 20% or more of trials in any of the first three time bins after trial onset. This baseline exclusion criterion ensured that analyses focused on task-evoked rather than pre-stimulus activity patterns. For each trial, a binary feature vector was constructed representing the presence or absence of each selected cluster at each time bin, excluding the baseline period. This yielded a trial-by-feature matrix in which each row represented a trial’s cluster activation pattern across time. Pairwise cosine similarity was then computed between all pairs of trials, generating a trial-by-trial similarity matrix. Within-condition similarity was quantified as the average cosine similarity between all pairs of trials within the same behavioural condition (excluding self-comparisons). Between-condition similarity was computed as the average cosine similarity between trials from different behavioural conditions. This trial-wise approach allowed us to assess whether population activity dynamics were more similar within behavioural conditions than across conditions, and whether specific condition pairs showed higher or lower neural similarity. Values below 10% in proportion vectors were set to zero to reduce noise from sporadic cluster appearances.

Cross-animal population activity analysis

To assess the prevalence of task-evoked population activity dynamics across animals, we computed the fraction of animals exhibiting active cluster states at each timepoint for each behavioural condition. For each animal and time bin, we determined whether any cluster exceeded an activity threshold (present in at least 30% of trials for that condition). The binary indicator of cluster presence was then averaged across animals at each time bin, yielding a time series representing the fraction of animals showing any active cluster. This analysis quantified whether task-evoked population dynamics were consistently present across the population of recorded animals or were animal-specific phenomena.

Statistical aggregation and visualization

Results were aggregated across animals by first computing cluster-level similarity metrics for each mouse independently, then averaging across clusters within each animal to obtain per-mouse summary statistics. Group-level statistics were computed as the mean and s.e.m. across animals, with individual animal datapoints overlaid on bar plots to visualize interanimal variability. For visualization of cluster dynamics, we plotted time courses showing the mean proportion of trials in which each selected cluster was active as a function of time, separately for each behavioural condition.

Nodose ganglion ROI signal extraction and processing

Raw data processing and ROI definition

Two-photon videos were reshaped into time × height × width arrays and split into green (GCaMP) and red (motion control) channels according to the scanning cycle. For each imaging plane, we computed s.d. projections of the green and red channel stacks. Elliptical ROIs were manually placed on these projections to define individual neurons.

Fluorescence trace extraction

Mean fluorescence traces were extracted by averaging pixel intensities within each ROI mask across all frames. This procedure was applied separately to green and red channels for all defined ROIs.

Trace preprocessing and motion correction

Extracted fluorescence traces were low-pass filtered (Butterworth filter, cut-off frequency, 0.02 Hz) to remove high-frequency noise, then bleaching-corrected using constrained double-exponential fits to account for potential photobleaching over the recording session. The traces were further denoised using a 10 s centred running mean. Motion artifacts were corrected by regressing the red control channel signal onto the green channel signal; the fitted motion component was subtracted from the green channel recording. For visualization and statistical testing, traces were z-scored using a baseline window extending 240 s before the first stimulus in each recording segment.

Responder identification

For each ROI, we evaluated the correlation between the motion-corrected green signal and the red control channel. High negative correlations (r < −0.5, indicating over-correction of motion) prompted re-evaluation using single-channel green preprocessing without red channel subtraction. High positive correlations (r > 0.5, indicating uncorrected shared motion artifacts) required testing both channels separately, with responses validated only if the green channel showed stimulus-locked activity distinct from the red channel. Low correlations between channels indicated successful motion correction and standard motion-corrected green channel analysis was applied. Within each stimulus presentation (intestinal balloon inflation to deflation, plus a fixed 50 s post-stimulus window), we applied a dynamic threshold relative to each cell’s pre-stimulus baseline to detect responses. Responses were considered significant if post-stimulus activity exceeded 5 s.d. above the baseline for a minimum duration of 5 s, after verifying a flat baseline slope (≤0.02 Δz per s). When multiple ROIs were defined for the same neuron across planes or channels, indices were applied to retain only non-redundant ROIs for analysis.

Vagal optogenetic response decay analysis

For the decay analysis, we used deconvolved activity obtained using the Suite2p pipeline69. We z-scored signals for each neuron, segmented them into trial-aligned traces with a 4 s pre-trial period, and analysed only on vagal-opto stimulation trials to avoid reward-related activity. To focus on stimulation-selective responses, we restricted analyses to neurons identified in the preceding auROC-based analysis as significantly increasing activity during vagal-opto stimulation but not significantly responsive to reward. For each neuron and trial, we baseline-subtracted activity using the 1 s period immediately preceding stimulation onset and smoothed it with a five-frame (~330 ms) moving average. We retained trials for decay fitting only if they showed a detectable optogenetic response during the stimulation window, defined as activity exceeding baseline by at least 2 s.d. for at least two consecutive frames. Within responsive trials, we identified the response peak as the first significant local maximum during the stimulation window, with criteria on minimum height, prominence and interpeak distance. If we could not detect such a peak, we used the maximal value within the stimulation window. We quantified the time required for the response to decay to one-third of peak amplitude, the mean response at the end of the stimulation period (odour onset) relative to peak. We included trials only if they passed the response-detection criterion, had a peak amplitude of at least 0.25 and showed acceptable fit quality (R2 ≥ 0.2). We computed neuron-level summary measures across valid trials, and retained only neurons with at least five valid trials for subsequent analyses.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.



Source link

Previous Post
Stable microbial states in an unstable Arctic landscape

Stable microbial states in an unstable Arctic landscape

Next Post
Towards large-scale genome editing

Towards large-scale genome editing