Abstract
The “Pain Overlap Theory”1 proposes that the experience of social pain overlaps with and amplifies the experience of physical pain by sharing parts of the same underlying processing systems 2-6. In humans, the insular cortex has been implicated in this overlap of physical and social pain, but a mechanistic link has not been made2,4,5,7-9. To determine whether social pain can subsequently impact responses to nociceptive stimuli via convergent electrical signals (spikes) or convergent chemical signals (neuromodulators), we designed a novel Social Exclusion paradigm termed the Fear of Missing Out (FOMO) Task which facilitates a mechanistic investigation in mice. We found that socially-excluded mice display more severe responses to physical pain, disrupted valence encoding, and impaired neural representations of nociceptive stimuli. We performed a systematic biosensor panel and found that endocannabinoid and oxytocin signaling in the insular cortex have opposing responses during trials where mice were attending or not attending to the Social Exclusion events respectively, demonstrating distinct neuromodulatory substrates underpin different states of Social Exclusion. We also found that intra-insular blockade of oxytocin signaling increased the impact of Social Exclusion on physical pain. Together these findings suggest Social Exclusion effectively alters physical pain perception using neuromodulatory signaling in the insular cortex.
Evolutionarily, social bonds endow survival advantages, facilitating access to food resources, protection from predators, and higher rates of mating10-14. To maintain these bonds, it has been suggested that as sociality emerged throughout evolution, social species repurposed neural systems initially designed to prevent physical harm to additionally safeguard against social separation by eliciting social pain8,15.
Social pain, the emotional pain caused by aversive experiences with other individuals 1,16-18, is an umbrella term that includes experiences such as social isolation, social exclusion, social rejection, and social loss and can be used as a signal to drive a need state that can serve to maintain an individual’s social homeostasis 16,19-23. Social pain is a unique aversive experience, which is typically prolonged and multidimensional5, and acts as an internal state that can modify future responses to environmental stimuli24-30.
Multiple theories have proposed that the experience of social pain can modulate both emotional valence31 and physical pain1,2. Using fMRI studies, social and physical pain overlap has been implicated in multiple brain regions associated with physical pain, including the anterior insular cortex (aIC)8. However, there are many possible mechanisms that could underlie an increase in BOLD signal, and these possibilities include increased blood flow in the absence of changes in neural activity, or as an indication of neural dynamics. This led us to ask, how is social pain represented within the brain and how can its perception modulate physical pain?
There are multiple animal models that exist to generate an aversive social experience, including social rejection, social isolation, and social defeat stress32-35. To establish a paradigm that would allow us to investigate specifically social exclusion, which would simultaneously also avoid physical injury and have a repeatable trial structure, we developed a novel Social Exclusion paradigm which we termed the Fear of Missing Out (FOMO) task. During the FOMO task, standard physical pain assays, and a valence discrimination task, we performed cellular-resolution microendoscopic calcium imaging, collected biosensor-mediated endogenous neuropeptidergic dynamics, and applied intra-insular pharmacology to understand how social pain can have a sustained influence on physical pain responses.
Social Exclusion enhances behavioral responses to physical pain
We speculated that the Social Exclusion condition of the FOMO task may be aversive in multiple dimensions, including: (1) “frustration” at inability to access resources, (2) “envy” from observing others obtain rewards, and (3) “social pain” associated with exclusion from the social group. While the specific subjective experiences of do not have a ground truth readout, we predicted an escalation of responses with each additional dimension included in the Social Exclusion condition.
To represent each level of the gradient, the FOMO task contained three behavioral conditions (Fig. 1a). First, in all conditions, four co-housed mice were trained to associate a cue with delivery of a chocolate milkshake reward to a communal food basin. During each of the conditions, mice underwent 60 trials within a ~1hr session. During the onset of each trial, a conditioned stimulus (CS) is presented and a switchable glass barrier changed from opaque to transparent, allowing for visual access of the experimental side. Chocolate milkshake is then dispensed to the experimental side. All mice have demonstrated that they will pursue the reward, both individually and in a group setting (each mouse drinks 5 μl each trial during an individual setting, and collectively 15 μl during Social Exclusion).
Figure 1. Social Exclusion enhances physical pain responses, reflected by increased licking on the hot plate.
a, Experimental design for the Fear of Missing Out (FOMO) Task, which contains three behavioral conditions: Social Exclusion (SE), One Mouse (OM), and Tone Only (TO). Mice were presented with 60 trials for each session. At the beginning of each trial, the cue is on for 10 seconds, followed by the delivery of chocolate milkshake 1s into the cue. The switchable glass barrier between the social group and the excluded mouse turns transparent for 15 s upon cue onset. Afterwards, we presented mice from all conditions with the hot plate assay to assess for changes in nociceptive thresholds. Each mouse only went through one of the three social conditions. b, Mice that underwent Social Exclusion displayed enhanced licking behavior while on the hot plate. Normalized Lick Duration, (which is normalized post-social condition licking / baseline licking) and Difference Lick Score (which is a difference score of post-social condition licking – baseline licking) was calculated with hot plate behaviors taken at a different baseline session. (Top: n = 38, One-Way ANOVA, F(2, 35) = 3.85, *p = 0.03, Tukey’s multiple comparisons test, SE vs OM p = 0.72, SE vs TO *p = 0.028, OM vs TO p = 0.14, Bottom n = 38, One-way ANOVA, F(2, 35) = 3.82, *p = 0.03, Tukey’s multiple comparisons test, SE vs OM p = 0.18. SE vs TO *p = 0.027, OM vs TO, p = 0.62, Inset: n = 38, Linear Regression R2 = 0.17 **p = 0.009). c, Behavioral analysis pipeline for the Social Exclusion condition. The subject mouse’s body parts were extracted first with SLEAP, then selected features of the excluded mouse were calculated. Next, we ran Uniform Manifold Approximation and Projection (UMAP) for dimensionality reduction and Density-Based Spatial Clustering of Applications with Noise (DBSCAN) for behavioral clustering. Displayed are example clusters generated through this pipeline and the UMAP for all frames. d, Example Frames of “Attending” and “Not Attending” frames used to train AlphaClass, a new 2-D supervised machine learning algorithm for behavioral classification. e, “Attending” frames were used to train AlphaClass and all videos were run through the model to obtain “Attending” frames across the entire session. f, Quantification of time spent “Attending” during the 0-15s post cue period. ΔAttending is calculated based on the baseline period 5 seconds before the trial starts. g, AUC taken from (f). Mice that undergo Social Exclusion spend more time engaging in “Attending” behaviors (n = 39, One-Way ANOVA, F(2,36) = 5.77, *p = 0.01. Tukey’s Multiple Comparisons Test: SE vs OM *p = 0.047, SE vs TO *p = 0.014, OM vs TO p = 0.85). h, AlphaClass classified frames are plotted onto the same UMAP template formed by DBSCAN to identify overlap between the different methods. Red color indicates “Attending” frames. Grey indicates “Not Attending” frames. i, An alternative clustering pipeline included used the behavioral features, combined with syllables from Keypoint-MoSeq (KPMS) into a hidden Markov Model (HMM) to discover four Hidden States. Example frames of four behavioral hidden states discovered through the HMM. State 4 is most similar to “Attending” behaviors identified through AlphaClass. j, Quantification of the time spent for State 4 among the three social conditions SE, OM, TO. Mice that underwent SE spend more time in State 4. (n = 39, One-Way ANOVA, F(2, 36) = 0.54, *p = 0.03, Tukey’s Multiple comparisons test SE vs OM p = 0.15, SE vs TO *p = 0.035, OM vs TO p = 0.76). k, Mice that underwent SE stay in State 4 with a lower dwell time. Stickiness is calculated as a probability of remaining in the same state. (n=39, One-Way ANOVA, F(2,36) = 2.26, *p = 0.026, Tukey’s Multiple Comparisons test, SE vs OM p = 0.09, SE vs TO *p = 0.03, OM vs TO p = 0.85). l, KPMS states are plotted onto the same UMAP clusters formed by DBSCAN. State 4 is overlapping with “Attending” clusters identified through AlphaClass. Error bars indicate s.e.m.
For the first dimension, inaccessible reward, we have a Tone Only (TO) condition, in which the CS tone is played, the switchable barrier becomes transparent, and the inaccessible reward is delivered at the trial onset. The One Mouse (OM) condition accounts for both the first and second dimension, the inability to access the reward and the distress of observing another obtain a reward33,34. Lastly, to include all three dimensions, we have the Social Exclusion (SE) condition, in which mice are now excluded from a group of mice that are consuming the reward together, which is inaccessible to the subject. These conditions may all be aversive, but they allow us to differentiate between the contribution of the social group and/or the social agent relative to the denial of access to the chocolate milkshake.
After experiencing one of the three social paradigms (SE, OM, or TO), subjects were placed on a hot plate to assess nocifensive behaviors (behavioral responses to nociceptive stimuli36) (Fig. 1b). We found that Socially Excluded mice licked their paws more in response to the thermal stimulus following the FOMO Task than before it, thus displaying a greater enhancement of nocifensive behaviors in comparison to the Tone Only group (Fig. 1b). Notably, we see a gradient of increasing nocifensive behaviors that correlates with an increasing number of dimensions of socioemotional challenges, from Tone Only with one, One Mouse with two, and Social Exclusion with three (Fig. 1b). Furthermore, this bias towards sustained, self-soothing behaviors (licking), compared to escape behaviors (jumping) suggests that Social Exclusion may selectively modify coping over escape affective behaviors (Extended Data Fig. 1a-c)37-40.
"Attending” behavior is robustly discoverable with multiple clustering methods
After validating that our novel Social Exclusion paradigm effectively modulates physical pain, we wanted to identify explicit behaviors performed during the paradigm that could help quantify the subjective experience of the excluded mouse. Previous work in the physical pain field has migrated to considering higher-order behavioral sequences to predict pain states41, and we wondered if we could expand these efforts to dissect social distress42.
To do so, we first extracted the subject’s behavioral outputs using pose-estimation software SLEAP43 (Fig. 1c and Extended Data Fig. 2a). Next, we calculated various continuous and discrete behavioral features of the subject mouse, a subset of which included the distance and angle to the chocolate milkshake port, body velocity, acceleration, turning angle, and cage zone of the subject mouse (Extended Data Fig. 2b). We then leveraged dimensionality reduction and clustering methods to identify behaviorally relevant states from these high dimensional behavioral features using Uniform Manifold Approximation and Projection (UMAP) and clustered using density-based spatial clustering of application with noise (DBSCAN)44 (Fig. 1c). Using this approach, we manually assigned clusters into two main subsets of behaviors, which we classified into either “Attending” or “Not Attending” behavioral clusters (Extended Data Fig. 2c). A behavioral cluster was labeled as “Attending” when the behavior occurred when the subject mouse was oriented towards, rearing, or climbing the photoswitchable glass divider separating the subject from the reward delivery port and any other mice. All other behaviors were classified as “Not Attending". Given that these labels were manually selected by human experimenters, we wanted to then use an unbiased approach with both supervised and unsupervised methods.
To validate the existence and relevance of these “Attending” behaviors, we developed a new supervised machine learning algorithm (AlphaClass) to determine if we could identify these behaviors across the entire session (Fig. 1d,e). AlphaClass is a behavioral segmentation method that classifies whether behaviors are occurring directly from single images using a convolutional neural network (CNN) (Extended Data Fig. 3). After training the network, we used AlphaClass to predict the presence of “Attending” behaviors on all frames in our behavioral videos. Using this method, we discovered that during each trial onset, there is a significant increase in “Attending” frames during Social Exclusion, compared to the OM and TO conditions (Fig. 1f,g). We found that if we mapped the frames that were classified as “Attending” back onto the UMAP-generated behavior embedding, AlphaClass successfully targets a subset of “Attending” clusters identified with DBSCAN (Fig. 1h). SE mice that exhibit more “Attending” behaviors also have subsequent enhanced nocifensive behavior (reduced latency to jump) on the hot plate (Extended Data Fig. 4b), as well as licks after formalin injection (Extended Data Fig. 4f) suggesting that not only can these “Attending” behaviors be used as a marker for social effort to reunite with the social group, but also these “Attending” behaviors correlate with multiple modalities of physical pain.
A disadvantage of these UMAP-DBSCAN and AlphaClass methods to identify “Attending” behaviors is that both methods assume static structure of data without incorporating the history of past behaviors, and we wanted to compare this to methods that were designed for kinematic sequences. Thus, to leverage the temporal component of our data, we also used an alternative unsupervised method merging Keypoint-Moseq (KPMS)45 and a hidden Markov model (HMM)25 to identify discrete, but prolonged behavioral states in an unbiased fashion. Within our dataset, KPMS identified 87 syllables (Extended Data Fig. 5b), which we merged with our behavioral features to obtain distinct prolonged behavioral states: Passively Orienting, Rearing, Avoiding, and Attending (Fig. 1i). We found that SE mice spend significantly more time and have a higher dwell time within State 4: “Attending” (Fig. 1j,k). When we map these specific four states back onto the UMAP template, we saw that they overlap with those defined as “Attending” by AlphaClass and DBSCAN (Fig. 1l and Extended Data Fig. 5a). This demonstrates that regardless of the clustering or machine learning algorithm, we can robustly discover an “Attending” social effort state that is elevated during Social Exclusion in methods-agnostic manner.
Insular cortex cellular resolution neural responses to social and physical pain do not overlap
The insular cortex is a component of the “pain matrix” and interacts with higher order brain regions that process the emotional, affective, and cognitive aspects of pain1,46-53. In rodents, the insular cortex has been shown to respond to both acute and chronic pain. Neuromodulators in the insular cortex, such as GABA, oxytocin (OXT), and endocannabinoids (eCBs), can induce antinociception and modify emotional states46,54-58. In addition to the insular cortex’s role in pain behaviors, this region is also activated throughout social interactions and drives avoidance responses to social affective stimuli in rodents59-61. The insular cortex is divided into the anterior and posterior regions, which have been shown to correspond with processing affective and sensory components of pain respectively47,59,62-64. This places the aIC in a unique position to integrate emotional and physical pain information. The aIC is poised to process and integrate aversive social information and utilize this information to regulate the impact of other sensory modalities, including that arising from physical stimuli evoking a nociceptive state.
The Pain Overlap Theory suggests that there would be convergence of social and physical pain signals in the same region7, and there are multiple possibilities to explain the human fMRI co-activation for physical and social pain, which can occur either through cellular or population level convergence. One possibility is that the same cells code for cross-modal pain stimuli (electrical convergence). Second, common neuromodulatory or neuropeptidergic signals could offer a biological mechanism for the Pain Overlap Theory (chemical convergence). Finally, it is also possible that there is no biological mechanism for convergence, and that the circuits that mediate physical and social pain do not actually converge but are just independently adjacent, recruiting a similar BOLD signal7.
To uncover the mechanism of overlap between social and physical pain, we injected adeno-associated virus serotype 1 with a synapsin promoter for the genetically-encoded calcium indicator version 7f (AAV1-syn-jGCaMP7f) in the aIC, implanted a GRIN lens to perform epifluorescent cellular-resolution calcium imaging (Fig. 2a) and recorded pan-neuronal aIC activity during the FOMO task (SE, OM, and TO) as well as during innocuous and nociceptive stimulus applications (Fig. 2a). For this study, we transitioned to more transient physical pain stimuli that could be repeatedly administered. To select for specific trials in which “Attending” behavior was highest and lowest, we used the top and bottom 15 trials with the most and least “Attending” frames respectively. We aligned neural activity to the onset of the cue during both “Attending” and “Not Attending” trials in the FOMO Task, and to the onset of pinprick on nociceptive trials (Fig. 2b). We co-registered neural responses to track the same neurons across all social conditions and physical pain stimuli (Fig. 2a).
Figure 2. Social Exclusion impairs the ability to discriminate painful from innocuous stimuli or rewards.
a, (Top) Example histological image of GCaMP7f expression in the aIC coronal section. Example output from cell co-registration to track the same neurons across different recording sessions. (Bottom) Example schematics of “Attending”, “Not Attending” and pinprick trials that were used for cellular resolution analyses. b, Neuron responses are organized using hierarchical clustering and plotted by condition. aIC AF/FO responses to “Attending” and “Not Attending” trials are shown during SE, OM and TO, as well as during pinprick stimuli presented after each of the social conditions. Social trials are aligned to trial onset. At trial onset, the cue is played, and the switchable glass divider becomes transparent. Pain trials are aligned to stimulus application onset. Neurons are co-registered per social condition and physical pain stimulus presentation. Colors indicate clusters obtained using hierarchical clustering. c, Cluster enrichment calculated between social conditions. d, Population PSTHs to “Attending” (black), “Not Attending” (grey), and pinprick (red) trials for each cluster. e, Charts depicting the responsiveness of all neurons to “Attending”, “Not Attending” and pinprick trials. Colors in the bar graphs match the right graph. f, Dendrogram showing excitation and inhibition of neurons in response to the “Attending”, “Not Attending” and pinprick trials. For example, the first row of neurons is excited in response to “Attending” (A+), “Not Attending” (NA) and pinprick (P+) trials. Specific clusters that represent pain-overlapping neurons (responds to “Attending” and pinprick), social context specific neurons (responds to “Attending” and “Not Attending” trials), or pinprick specific neurons are indicated in dotted lines. There is no difference between conditions for any stimulus group. (Two-Way ANOVA, Main Effect across conditions p = 0.61, F(2, 15) = 0.52, Main Effect Across Responsiveness Types p <0.0001, F(4,60) = 160, Interaction p = 0.67, F(52 390) = 0.9). g, Decoding schematic using a generalized linear model (GLM) to decode between different innocuous and nociceptive stimuli in each condition. Input data is PC transformed neural activity per animal during light touch, pressure, pinprick, and hot water trials. The number of PCs required to explain 90% of the variance was used in this analysis, and decoding was done using 5-fold cross validation (5 animals, 5 trials per animal per stimulus). Each stimulus was tested against a trial matched number of responses to other stimuli. This process was repeated 3 times to account for the total number of other stimuli trials. All trials were trial matched. h, Decoding performance for physical pain stimuli after SE, OM, and TO social conditions across all timepoints. i, Average decoding performance from 0-10s decoding between innocuous (light touch) vs nociceptive stimuli (pressure, pinprick, and hot water stimuli). Each data point represents the decoding performance per k-fold. Innocuous vs nociceptive stimuli are distinct after Tone Only, but not after One Mouse or Social Exclusion. (Two-way ANOVA, Main Effect Shuffled Control. **p=0.008, F(1,54)=7.582. Paradigm Effect: F((2, 54) = 4.65, *p=0.01. Paradigm x Shuffled Interaction: F((2, 54) = 4.50. *p=0.0156. Tukey’s multiple comparisons test, SE vs SE shuffled p = 0.88, OM vs OM shuffled p = 0.18, TO vs TO shuffled **p = 0.002). j, Schematic for Pavlovian discrimination behavioral task. Mice first went through one of the three social conditions: TO, OM, or SE, and then underwent a two-tone discrimination task. k, Decoding schematic using a GLM. Input data is PC transformed shock and reward trial data within each condition, with reward or shock trial labels. The number of PCs required to explain 90% of the variance was used in this analysis, and decoding was done using 5-fold cross validation (5 animals, 30 trials per animal per stimulus). l, Decoding performance at each timepoint between reward and shock trials using a GLM from 0-15s. Shock onset occurred at 9.8s for 200 ms. CS onset occurred at 0s. Reward was delivered at 1s. Colors indicate behavioral condition, and the grey colored trace represents the shuffled control. m, AUC under the ROC curve from 0-5s post cue onset, to represent decoding performance of the conditioned stimulus. Mice that underwent SE have decreased decoding performance. Each data point represents the decoding performance per k-fold. (Two-way ANOVA, Paradigm F(2, 84) = 54.51 ***p<0.0001, Shuffled Control F(1, 84) = 1018 ***p<0.0001, Paradigm x Shuffled Control F(2, 84) = 55.33 ***p<0.0001. Tukey’s multiple comparisons test SE vs SE shuffled ***p<0.0001. OM vs OM shuffled ***p<0.0001, TO vs TO shuffled ***p<0.0001. SE vs OM: ***p<0.0001, SE vs TO: ***p<0.0001, OM vs TO p= 0.37). n, AUC under the ROC curve from 10-15s post cue onset, to represent decoding performance of the unconditioned stimulus. Each data point represents the decoding performance per k-fold. There is no difference between the decoding performance for Social Exclusion compared to each of the controls. (Two-way ANOVA, Shuffled Control F(1,84) = 2302, ****p<0.0001. Paradigm F(2, 84) = 0.45, p = 0.64, Paradigm vs Shuffled F(2, 84) = 1.11, p = 0.33). Error bars and solid shaded regions around the mean indicates s.e.m.
Previous work has suggested that specific ensembles of neurons can mediate state-dependent changes in behavior65,66. To test if physical pain and Social Exclusion activate the same pain-responsive ensembles, we sorted these neural responses using hierarchical clustering and found clusters of neurons that differentially responded to social and physical stimuli (Fig. 2c,d and Extended Data Fig. 6e). We observed that all response profiles (Clusters 1-8) were seen in all conditions (SE, OM, TO) (Extended Data Fig. 6). To explore whether it is possible that Social Exclusion modulates physical pain through a separate and distinct pain-responsive population, we calculated the proportion of neurons that are excited by both social conditions and physical pain and found that there was no difference between the SE, OM, and TO groups (Fig. 2e, f). While this does not preclude the possibility that there still may be neurons that co-represent physical and social pain, we were unable to find significant evidence to support the biological model that physical and social pain converges onto the same neurons in aIC when using these stimuli.
Ability of aIC neurons to decode painful stimuli is abolished after Social Exclusion
Since multiple groups have demonstrated that large scale cortical changes due to social behavior are spread across the entire population67,68, we explored the possibility that pain could be represented via distributed coding across the aIC. To test for population level changes in physical pain encoding, we reduced the dimensionality of all population neural activity into principal components (PCs) using principal component analysis (PCA) (Fig. 2g). Using a support vector machine (SVM) trained on PC responses to innocuous and nociceptive stimuli, we found that the unique encoding of pinprick stimuli is abolished after both OM and SE conditions, but not the TO condition (Fig. 2h,i). We speculate this may underlie the heightened pain behaviors observed following Social Exclusion, mediated by enhanced sensory or emotional sensitivity to stimuli that are normally innocuous or only mildly painful. This demonstrated that the experience of Social Exclusion effectively modified physical pain encoding and led us to wonder if the changes in the representation of nociceptive stimuli within the aIC are due to changes in the representation of the sensory detection, or the affective, emotional component of physical pain.
Social Exclusion disrupts valence representations within the aIC
Divergent ensembles within various cortical and subcortical regions have been demonstrated to play a differential role in mediating either the sensory-discriminative, cognitive, or affective components of pain51,69-72. To test for changes in aIC encoding of the sensory or affective component of pain, mice underwent each of the social conditions and then performed a Pavlovian Discrimination task afterwards to evaluate changes in valence and sensory processing (Fig. 2j). We found that mice express no detectable single unit changes in either reward (Extended Data Fig. 8g) or shock trials (Extended Data Fig. 8h).
At the population level, we used a GLM to decode between reward and shock trials (Fig. 2k) and found that decoding performance is lower for Socially Excluded mice at the onset of the conditioned stimulus (CS) (Fig. 2l,m). However, this decoding performance change was not detected at the onset of the unconditioned stimulus (Fig. 2l, n), suggesting impaired discrimination of positive and negative associative memories with the reward- and punishment-predictive cues. This evidence supports the notion that Social Exclusion could change physical pain representation by modulating the affective emotional component of pain, while leaving the sensory component of pain intact.
aIC encoding of social rank dynamically shifts based on FOMO Task condition
Next, we wanted to test if past social history could modulate responses to Social Exclusion by assessing the relationship between social rank and “Attending” behaviors. We hypothesized that social rank would differentially influence the amount of “Attending” behaviors but found no correlation between the number of “Attending” frames and the social rank of mice (Extended Data Fig. 9c). While we did not detect evidence that a single session of Social Exclusion impacts social rank decoding, it is possible with repeated Social Exclusion experiences that this would induce lasting changes to the group dynamics.
Although we did not observe a behavioral difference in “Attending” behaviors depending on social rank, we wondered if the representation of “Attending” and “Not Attending” social trials induced a different internal state depending on rank. Using a generalized linear model (GLM) to decode between social ranks based on aIC neural responses to all social trials, we And that rank information is decodable in all animals selectively during the Tone Only condition (Extended Data Fig. 9h). This is consistent with previous work that has shown social rank is encoded even when animals are alone73. In contrast, during Social Exclusion, subordinate rank information is not decodable within the aIC, and during the One Mouse condition, intermediate rank decoding was impaired (Extended Data Fig. 6h). This suggests that the aIC dynamically shifts the encoding of rank information following conditions that may induce social pain, in a way that we speculate may be distinct for emotional primitives74 of “envy” and “exclusion.”
Oxytocinergic (OXT) and endocannabinoid (eCB) dynamics are time-locked to task events during Social Exclusion
After demonstrating impairments at the population level encoding of physical pain and valence after Social Exclusion, we searched for a molecular mechanism that could mediate this shift. Neuromodulation has been previously shown as a mechanism to bridge neural activity occurring at different timescales to guide behavior18,66,75. It is possible that experiences of Social Exclusion trigger the release of neuromodulators, which could drive a negative motivational state or change neuronal excitability and thereby alter physical pain processing by recruiting more neurons to the pain-responsive ensemble.
Given that dorsal raphe nucleus (DRN) dopamine neurons play an important role in mediating an aversive state of social isolation33 and that dopamine recruitment can be protective76-80, we wondered if dopamine would, in addition to affecting the quantity of social interactions, also influence the quality of social interactions to preserve a level of social homeostasis19. To test this, we expressed the GRABDA3h sensor81, containing a G protein-coupled receptor (GPCR) with a circularly permutated fluorescent protein inserted into the third intracellular loop of the dopamine receptor, in the aIC and recorded neural activity during the Social Exclusion assay (Fig. 3a). We did not detect any significant differences in dopaminergic dynamics across the three conditions, SE, OM, and TO, between the “Attending” and “Not Attending” trials (Fig. 3a-d), nor were we able to decode trial type (“Attending” versus “Not Attending”) using a random forest classifier (Fig. 3e). Together, this suggested that dopamine in the aIC is not predictive of any of the experimental variables.
Figure 3. Genetically encoded fluorescent sensors reveal the role of oxytocin and endocannabinoid signaling dynamics in decoding trial types selectively during Social Exclusion.

a, Fiber photometry and viral injection schematic using a genetically encoded dopamine sensor GRABDA3h. b-d, Dopaminergic dynamics during Social Exclusion (SE), One Mouse (OM), and Tone Only (TO) conditions. The dotted line for each trace marks the onset of each trial. Each trial lasts 15 seconds. 15 trials were taken to generate a trial average response, which was determined using the local thresholds per animal. The AUC was taken from 0-20s to account for sensor dynamics. b, Tone Only responses (n = 8, two-tailed paired t-test; p= 0.35, t7 = 0.99). (c) One Mouse responses (n=8, two-tailed paired t-test; p = 0.49, t7 = 0.72). d, Social Exclusion responses (n = 8, two-tailed paired t-test; p = 0.68, t7 = 0.43). Error bars and solid shaded regions around the mean indicates s.e.m. e, Decoding “Attending” and “Not Attending” trials within each social condition (SE, OM, and TO) using a random forest model and 5-fold cross validation. ROC values obtained from using dopaminergic dynamics to decode between Attending and Not Attending (2-Way ANOVA, Main Effect across conditions p = 0.61, F(2, 24) = 0.50, Main Effect Data vs Shuffled p = 0.43, F(1, 24) = 0.64). f, Fiber photometry and viral injection schematic using a genetically encoded oxytocin sensor GRABOT1.0
g-i, Oxytocinergic dynamics during Social Exclusion, One Mouse, and Tone Only paradigms, extracted from “Attending and “Not Attending” Trials. Baseline for z-score was −5 – 0s prior to cue onset. Dotted lines at 0 represent cue onset. Area under curve was taken from 0-20s post cue. g, Tone Only responses (n = 14, two-tailed paired t-test; p = 0.53, t13 = 0.64). (h) One Mouse responses (n = 13, two-tailed paired t-test; p = 0.29, t12 = 1.12). i, Social Exclusion responses (n = 14, two-tailed paired t-test; *p = 0.039, t13 = 2.29). j, ROC values obtained from using oxytocinergic dynamics to decode between “Attending” and “Not Attending” (Two-Way ANOVA, Main Effect across conditions *p = 0.02, F(2, 24) = 4.4, Main Effect Data vs Shuffled *p = 0.047, F(1, 24) = 4.4, Interaction **p = 0.007, F(2, 24) = 6.1. Sidak’s Multiple Comparisons Test, SE vs SE shuffled **p = 0.003, OM vs OM shuffled p = 0.7, TO vs TO shuffled p = 0.6). k, Fiber photometry and viral injection schematic using genetically encoded endocannabinoid sensor GRABeCB2.0. l-n, Endocannabinoid dynamics during Tone Only, One Mouse and Social Exclusion paradigms, extracted from “Attending” and “Not Attending” Trials. Area under curve was taken from 0 – 15s post cue. l, Tone Only responses (n = 13, two-tailed paired t-test; *p = 0.01, t13 = 2.9). m, One Mouse responses (n = 14, two-tailed paired t-test, p = 0.05, t14 = 2.2). n, Social Exclusion responses (n = 14, two-tailed paired t-test, *p = 0.02, t13 = 2.6). n, o, ROC values obtained from using endocannabinoid dynamics to decode between Attending and Not Attending (Two-Way ANOVA, Main Effect across conditions p = 0.2, F(2, 24) = 1.7, Main Effect Data vs Shuffled *p=0.01, F(1, 24) = 7.6, Sidak’s Multiple Comparisons Test, SE vs SE shuffled **p = 0.002, OM vs OM shuffled p = 0.9, TO vs TO shuffled p = 0.99).
The oxytocinergic system is well known to be a key regulator of social bonds46,76,76,82-89, and could contribute to a neuropeptidergic mechanism that protects against Social Exclusion. Furthermore, oxytocin has also been shown to have widespread analgesic properties in the central nervous system46,84,90,91. Thus, it is possible that oxytocin could modulate both Social Exclusion and physical pain and act as a neural substrate that bridges the distinct timescales of Social Exclusion and physical pain. To test if oxytocinergic signaling occurs during Social Exclusion, we expressed the GRABOT1.0biosensor92, which has a circularly permutated GFP, inserted into the third intracellular loop of the oxytocin receptor, in the aIC and recorded oxytocinergic activity using bulk fluorescence (Fig. 3f). No detectable difference was observed during Tone Only and One Mouse conditions in OXT signaling during “Attending” and “Not Attending” trials (Fig. 3g,h). However, in the Social Exclusion condition, oxytocin signaling is increased during “Not Attending” trials, compared to “Attending” trials (Fig. 3i), suggesting a protective effect of oxytocin that is selective for social exclusion. Further, the same random forest classifier that returned null results for the dopamine sensor (Fig. 3e) showed significant decoding of “Attending” and “Not Attending” trials based on the GRABOT1.0readout in the Social Exclusions condition, but not the One Mouse or Tone Only conditions (Fig. 3j), further supporting the notion that Oxytocin is reduced during “Attending” trials, in a manner specific to being excluded from a social group.
The endocannabinoid (eCB) system has been implicated in the regulation of physical pain behaviors93,93-96, and has also been shown to induce antinociception, suppress nociceptive behaviors, and alter affective behaviors96-99. eCBs have also been implicated in social reward and social interest100-103, and therefore, could also play a role during Social Exclusion. Finally, the eCB system has long been recognized to be important for modulating food intake104,105, and eCBs in the aIC have been implicated in water intake106.
To test the role of endocannabinoid signaling during Social Exclusion, we expressed the GRABeCB2.0biosensor107, containing a circular-permutated EGFP and the human CB1 cannabinoid receptor, in the aIC using viral transduction and recorded endocannabinoid activity using bulk fluorescence (Fig. 3k). We discovered that eCB signal was also present during “Attending” behaviors during the Tone Only condition as well and experiencing omission of the chocolate milkshake reward (Fig 3l-n) suggesting that it is possible that the eCB signal integrates food reward and social information. Notably, this eCB signal contrasts with the OXT signaling during Social Exclusion and demonstrates that both “Attending” and “Not Attending” behaviors selectively recruit opposing neuromodulatory signals for the different responses to Social Exclusion. Even so, when we used the same random forest classifier to decode “Attending” versus “Not Attending” trials from the GRABeCB2.0biosensor, we were only able to get significant decoding in the Social Exclusion condition, and not in the Tone Only nor One Mouse conditions (Fig. 3o).
Taken together, we used 3 different biosensors in the aIC to measure dopaminergic, oxytocinergic and endocannabinoid dynamics during each condition of the FOMO Task, and found that bulk fluorescence from both oxytocin (Fig. 3j) and endocannabinoid (Fig. 3o), but not dopamine (Fig. 3e), biosensors were able to selectively decode trial types in the Social Exclusion condition, but not in the One Mouse nor Tone Only conditions. Notably, the directionality of the signals measure by the oxytocin (Fig. 3f-j) and endocannabinoid (Fig. 3k-n) biosensors had opposing directionality with the GRABOT1.0readout elevated during “Not Attending” trials and the GRABeCB2.0fluorescence elevated during “Attending” trials (Fig. 3f-o). Despite this opposing signal directionality, both biosensors allowed trial types to be significantly decodable selectively during the Social Exclusion condition (Fig. 3j and 3p). To our knowledge, this represents the first neural substrate specific to social exclusion, and this neuropeptidergic signature points to a vast space capable of multiplexing to mediate complex socioemotional states.
Blockage of Oxytocinergic (OXT) signaling enhances physical pain responses after Social Exclusion
Given the analgesic properties of oxytocin and endocannabinoids46,96,108, we speculated that the blockade of oxytocinergic signaling could promote active coping in response to painful stimuli, including “Attending” behavior in the FOMO Task or licking on the hot plate. Previously, it has been shown that direct injection of oxytocin into the aIC has anti-nociceptive effects46. To first test the causal role of oxytocin or endocannabinoids, we injected an oxytocin receptor antagonist (OXTRA) L-368,899 or cannabinoid receptor 1 agonist (CB1RA) WIN55,212-2 into the aIC and exposed mice to Social Exclusion followed by the hot plate (Fig. 4a). To better visualize the specific granular behaviors modified by these pharmacological agents, we mapped behavioral responses back onto the same UMAP in Figure 1 to reveal the detailed behavioral profiles produced by CB1 receptor agonism and OXT receptor antagonism relative to their respective vehicle controls (Fig. 4b-d). Here, we focus on behaviors related to Attending to the other side of the chamber, but this detailed quantitative readout can be used to inform future research on other aspects of behavior.
Figure 4. Intra-aIC pharmacology reveals the casual role of oxytocin in support of the chemical convergence model for social and physical pain overlap.

a, Schematic of intracranial injection of L-368,899 oxytocin receptor antagonist and WIN55.212-2 cannabinoid receptor agonist into the aIC. Mice are run 10 minutes post-injection through Social Exclusion, and subsequently, the hot plate. b, UMAP plots depicting the amount of frames that belong to each cluster in conditions: (top) OXTRA and Vehicle or (bottom) CB1RA and Vehicle c, Enrichment of behavioral frames for each cluster. Bars are obtained by %Drug frames in cluster - %Vehicle frames in cluster. d, Example frames of clusters that are enriched after OXTRA or CB1RA administration. e, “Attending” behavior between CB1RA and vehicle controls. There is no difference in “Attending” behavior. Normalized time spent “Attending” was calculated throughout the entire 15 second trial, (n = 8 vehicle, n = 8 CB1RA, two-tailed unpaired t-test, p = 0.39, t14 = 0.89. f, (Left) Normalized lick duration during CB1RA pharmacology experiments, (n = 16, two-tailed unpaired t-test p = 0.48, t14 = 0.72) (Right) Hot plate difference lick score between CB1RA and Vehicle controls, (n = 16, two-tailed unpaired t-test p = 0.94, t14 = 0.07). g, “Attending” behavior between OXTRA and vehicle controls. There is no difference in “Attending” behavior. Normalized time spent “Attending” was calculated throughout the entire 15 second trial, (n = 10 vehicle, n = 10 OXTRA, two-tailed unpaired t-test, p = 0.37, t18 = 0.92). h, (Left) Normalized lick duration during OXTRA pharmacology experiments after Social Exclusion, Lick duration is increased with OXTRA injection. Oxytocin antagonism increases social exclusion-induced pain (two-tailed unpaired t-test *p = 0.045, t18 = 2.16) (Right) hot plate difference lick score between OXTRA and vehicle controls. Normalized licks are increased with OXTRA injection, (n = 20, two-tailed unpaired t-test, *p = 0.023, t18 = 2.49). Error bars and solid shaded regions around the mean indicates s.e.m.
Then we used AlphaClass to quantify the total “Attending” behavior during Social Exclusion and found that neither of the manipulations changed total “Attending” behavior during Social Exclusion (Fig. 4e,g). However, we did find that OXTRA mice exhibit an increase in affective nocifensive behaviors during hot plate (licking; Fig. 4h), providing evidence that OXT is protective against increased affective physical pain behaviors following Social Exclusion.
Collectively, our work provides the framework for a novel paradigm to induce Social Exclusion and the first evidence for a specific neural mechanism for the overlap between Social Exclusion and physical pain. Our findings support the “Pain Overlap Theory” and suggest that the oxytocinergic system as key mediator of Social Exclusion within the aIC, which can successfully act as a bridge between different types of aversive experiences by modulating negative affect. Furthermore, this advances our general understanding of neural strategies that are employed within emotional pain processing systems within the brain and paves the way for targeted interventions aimed at alleviating the distress associated with social disconnection and pain dysregulation.
Methods and Materials
Animals and housing
Adult, male C57/BL6J mice (8-12 weeks) from Jackson Laboratory were used for all experiments described. Mice were housed 4 mice/cage on a 12-h reverse light/dark cycle with ad libitum access to food and water unless otherwise specified. All experiments were conducted during the dark cycle phase and performed either in low white light or red light. All experimental procedures were carried out in accordance with NIH guidelines and approval of the Salk Institutional Animal Care and Use Committee.
Stereotaxic surgeries
All surgeries were conducted under aseptic conditions. Briefly, mice were anesthetized with an isoflurane/oxygen mixture (4-5% for induction, 1-2% for maintenance) and placed in a stereotaxic head frame (David Kopf Instruments, Tujunga, CA, USA). A heating pad was placed under the mice to maintain body temperature, and Sterile Lubricant Eye Ointment (Stye INSIGHT Pharmaceuticals Corp. Langhorne, PA) was applied to the eyes to prevent drying. The incision area was shaved, and the skin was cleaned with alternating washes of 70% alcohol and betadine. A subcutaneous injection of lidocaine (0.5%) was placed at the incision site for 3-5 minutes prior to surgery. An incision was made along the midline to expose the skull, and a dental drill was used to perform a craniotomy. During all surgeries, animals were injected subcutaneously with 1 mL of Ringer’s solution, Buprenorphine (1 mg/kg), and Meloxicam (5 mg/kg). For recovery animals, were placed in a clean cage on a heating pad. Animals were given >28 days for recovery before starting behavioral paradigms.
All stereotaxic coordinates were measured relative to bregma and the top of the skull. Injections of viral vectors were performed using glass pipettes (Drummond Scientific) pulled to a 100-200 μm tip diameter with a pipette puller (Narishige PC-10, Amityville, NY, USA). Pipettes were either attached to 10 μL microsyringes (Hamilton Microlitre 701, Hamilton Co., Reno, NV, USA) with a microsyringe pump (UNP3; WPI, Worcester, MA, USA) and digital controller (Micro4; WPI, Worcester, MA, USA), or to the Nanoject III Programmable Nanoliter Injector (Drummond Scientific, Broomall, PA, USA) with digital controller (Drummond Scientific, Broomall, PA, USA). For each injection, micropipettes were slowly lowered to the target site and viral vectors were delivered at a rate of 1.0 nL per second. After the injection was completed, micropipettes were raised to 0.1 mm above the injection site and held for 10 minutes. After 10 mins, the pipette was slowly withdrawn, and the skin incision was closed with nylon sutures.
To perform calcium imaging recordings, mice underwent surgery as described previously. For nonspecific aIC recordings, 200 nl of AAV1-Syn-jGCaMP7f-WPRE (Addgene), encoding GCaMP7f, was injected into the aIC (AP: +1.9 mm, ML: +2.85 mm, DV: −3.4 mm) and a 0.6 mm diameter by 7.3 mm length gradient refractive index lens with integrated baseplate (GRIN lens, Inscopix) was slowly lowered above the aIC (AP: +1.9 mm, ML: +2.85, DV: −3.15 mm). No tissue was aspirated. All lens implants were secured to the skull with a thin layer of adhesive cement (C&B Metabond, Parkell), followed by black cranioplastic cement (Ortho-Jet, Lang). The implant was allowed to completely dry before closure of the incision with nylon sutures.
To record oxytocinergic, dopaminergic and endocannabinoid dynamics within the aIC, mice underwent surgery as described previously. An AAV9 carrying either the dopamine, oxytocin, or endocannabinoid fluorescent sensor (AAV9-hSyn-GRABDA3h, AAV9-hSyn-GRABOT1.0 AAV9-hSyn-GRABeCB2.0) was injected (AP: +1.9 mm, ML: +2.85 mm, DV: −3.4 mm) and a 400 μm diameter optical fiber was implanted into the aIC. All fiber implants were secured to the skull with a thin layer of adhesive cement followed by black cranioplastic cement. The implant was allowed to completely dry before closure of the incision with nylon sutures. Behavioral experiments were conducted 4-7 weeks after surgery.
To perform intracranial pharmacology within the aIC, mice underwent surgery as described previously. Bilateral cannulas (Protech Technologies) were implanted 1 mm above the aIC (AP: +1.9 mm, ML: +2.85 mm, DV: −2.4 mm). The incision was closed with nylon sutures. Behavioral experiments were conducted 2-3 weeks after surgery. During experiments, an internal cannula with 1 mm projection was used to deliver drug into the brain.
Behavioral assays
Prior to behavioral testing, mice were habituated for one week to all experimenters to reduce stress during experiments.
Food Restriction
Subjects were fed ad libitum until initiation of experiments requiring food restriction (reward conditioning and FOMO tasks). Prior to these experiments, subjects were weighed to the nearest gram to attain a baseline for free-feeding body weight. During experiments requiring restriction, subjects were weighed daily and food-restricted to a limit of 85% of this baseline weight. Restriction was attained through limiting daily access to food pellets, providing approximately 2.0g/animal per day. Animals had free access to water throughout.
Reward conditioning
Food-restricted mice were conditioned in sound-proof boxes (MedAssociates, St Albans, VT) for five days. Each box contained a modular test cage assembled with a 3D-printed reward port, a speaker, a red LED indicator light, and 2 house lights. The first trial began after a 245 second habituation period. The CS consisted of a pure 3.5kHz tone cue, which ended 400 ms after a port entry infrared beam break by the mouse was detected. One second after CS onset, 15 ul of chocolate milkshake, Ensure™, was delivered. The first chocolate milkshake delivery was given freely but subsequent chocolate milkshake deliveries only occurred if the mouse had entered the port after the CS onset. Inter-trial time intervals varied between 40-60 seconds. Each conditioning session consisted of 120 trials. Mice were considered successfully trained if they reached a 70% probability of port entry during the CS.
Three days into reward conditioning, the mice were placed in the same sound-proof boxes (MedAssociates, St Albans, VT) with a switchable glass barrier connected through an IoT relay. Each mouse was individually placed on the side of the wall opposite of the reward port. Each habituation session consisted of 60 trials, during which no tones or reward were delivered. The purpose of this session was to habituate mice to the sound of the switchable glass barrier.
FOMO Task: Social Exclusion, One Mouse, and Tone Only conditions
Reward conditioned mice were placed in sound-proof boxes (MedAssociates, St Albans, VT), which contained a switchable glass barrier, connected through an IoT relay, which divided the arena in half and was used to enforce a trial structure. Socially excluded mice were placed on one side of the wall, opposite of the chocolate milkshake-dispensing port and 3 cagemates. Similar to the reward conditioning trials, at the beginning of each trial, a 3.5kHz tone cue was presented and the dividing barrier turned transparent. This allowed the socially excluded mouse to visualize the other half of the box. One second after each trial onset, 80uL of chocolate milkshake was delivered to the port to the cagemates. The 3.5kHz tone was turned off after 10 seconds, and the switchable glass wall transitioned back to opaque after 15 seconds. Inter-trial time intervals varied between 40-60 s with an initial 245 s delay for habituation preceding the first CS onset. Each session consisted of 60 trials.
For the One Mouse control, only 1 cagemate is on the other side and 30 uL of chocolate milkshake is delivered to the port during each trial. All other experimental methods are consistent with the Social Exclusion condition. For the Tone Only control, no cagemates are present on the other side, and 30 uL of chocolate milkshake is delivered to the port during each trial.
Hot Plate
To measure thermal sensitivity after the Social Exclusion, One Mouse, or Tone Only behavioral conditions, mice were placed inside a cylindrical, transparent Plexiglass chamber (Diameter = 11 cm, Height = 15 cm) on a hot plate (54°C, IITC Life Science) for 60 seconds. The latency and duration of each behavioral response (hind paw shake, lick or jump) was manually recorded using Behavioral Observation Research Interactive Software (BORIS) scoring software109. To ensure unbiased evaluations, the manual scoring on BORIS was done without the knowledge of the experimental conditions. Because individual mice have been known to have variable responses on hot plate depending non-nociceptive factors (weight, age, activity, habituation and repeated testing), we calculated baseline values for each mouse’s baseline pain response110,111. Baseline values were determined for each mouse’s baseline pain responses, based on a baseline hot plate session. Normalized Lick Duration for hot plate was calculated Paradigm / Baseline. Difference Lick Score was calculated using Paradigm-Baseline.
Formalin Assay
To measure inflammatory responses after Social Exclusion, One Mouse, or Tone Only behavioral conditions, animals were injected in the right hindpaw with 1% formalin solution and placed in a rectangular, transparent Plexiglass chamber for 1 hour. The number of licks and duration of lick bouts was quantified using AlphaClass, which was trained on a model using 3,700 frames.
Innocuous and Nociceptive Stimulus Application
To measure time locked responses to various mechanical and thermal stimuli, mice were habituated to a clear plexiglass container (Animal enclosure, IITC #433) on top of a mesh stand (IITC #410). On test day, after running through one of the three social paradigms, mice were placed within the plexiglass enclosure, and 5 rounds of four stimuli (0.16g Von Frey (IITC), 2.0g Von Frey, Pinprick using a 25g needle, 55°C Water Droplet) were applied. Each stimulus was applied in an alternating fashion to each hindpaw with one minute inter-trial intervals and the neural response during each stimulus application was recorded and analyzed.
Tube Dominance Test
The tube dominance test was used to assay the social rank of each mouse relative to their cagemates112. Mice were individually trained to walk through a clear Plexiglass tube (30 cm length, 3.2 cm inner diameter) over ~2days, until they were comfortably walking across without resistance. To test for rank, all mice in each cage were tested in a pair-wise, round robin design in a randomized order. For each pair, mice were released at opposite ends of the tube simultaneously, so that they met face-to-face in the center of the tube. The mouse that either backed out itself or was pushed out from the end where it was released was designated as “loser/subordinate” whereas the other mouse was designated as “winner/dominant.” Social ranks obtained with the tube test were considered stable when obtaining the same results for 4 or more days in a row. An animal’s “social rank” was measured by the proportion of “wins” across all contests from all days of testing.
Pharmacological manipulation
OXT Receptor Antagonist (L-368,899 hydrochloride, Tocris Cat. No. 2631) was dissolved in sterile phosphate buffered saline (PBS) (50 μg/μl), aliquoted, and then stored in −20 °C. Drug was freshly dissolved each day. Endocannabinoid Receptor Agonist (WIN-55212-2, Cayman Chemical No. 10009023) was dissolved in a 1:1:1:17 mixture of Ethanol, DMSO, Kolliphor, PBS, and then stored in −20°C.
For both drugs,10 minutes prior to the start of the behavioral assay 0.2 μl was infused bilaterally into the anterior insular cortex via dual internal infusion needles connected to a 10 μl microsyringe. The flow rate was kept to 100 nl per min and was regulated by a syringe pump (Harvard Apparatus, MA). Infusion needles were withdrawn 2 minutes after the infusion was complete. Each mouse only received one injection and each condition (OXTRA/CB1RA or Vehicle) utilized separate cohorts.
Freely moving behavior, discrimination task
To test valence discrimination, mice underwent a Pavlovian discrimination assay. Associative reward training was performed as described above in reward conditioning. For shock acquisition, the mice were conditioned using behavioral hardware boxes (MedAssociates, St Albans, VT) placed in custom made sound attenuating chambers. Each box contained a modular test cage with an electric floor grid and a speaker. Videos of the mice were acquired during all sessions. A period of acclimation lasting 4 minutes preceded the presentation of the first tone. During shock conditioning, mice were presented with a 20kHz tone followed by a 0.1s long 0.7mA shock 9.8s later. Inter-trial intervals varied from 40-60s with an initial 10s delay before the first cue onset. Shock-tone association training consisted of 60 trials within one session.
One day after chocolate milkshake reward and shock conditioning, mice completed the Social Exclusion, One Mouse, or Tone Only social paradigm, and immediately underwent the two-cue Pavlovian discrimination task. During each trial, mice were presented with either a 3.5kHz tone (associated with chocolate milkshake reward) or a 20kHz tone (associated with shock) using the same trial structures as described above. Reward (56) and shock (34) trials were presented in pseudorandom order. Inter-trial intervals were varied from 40-60s with an initial 4-minute delay for habituation preceding the first CS onset. An LED light was toggled on and off for the period of the tone and used to sync videos to trial start for data processing. Videos were recorded to monitor animal behavior during all sessions. Neural recordings using the Inscopix system described below were also obtained during each session. Each session consisted of 90 trials and the protocol was repeated for each of the Social Exclusion, One Mouse, and Tone Only social conditions for each mouse.
Freezing and dashing behavior were scored in Matlab by setting a threshold for velocity and acceleration for movement. Frames below this threshold were scored as freezing behavior.
SLEAP automated pose tracking analysis
To automatically detect mouse social interaction behavior, Social LEAP Estimates Animal Poses (SLEAP), version 1.3.0 43, was used to estimate animal poses in behavioral videos. Behavioral videos were taken using a video camera (Arducam 1080P, 30 fps). A training data set was labeled using a 9-point skeleton on the mouse (nose, right ear, left ear, torso, left forepaw, right forepaw, left hindpaw, right hindpaw, and tail base). All annotators were instructed to annotate the ears within the middle of each ear, the nose at the tip of the mouse nose, and the tail base where the tail began. Any body parts that were not clearly visible were empirically estimated to their most likely location given the mouse’s position. This data set was used to train a top-down model with 2955 frames, with −180° to 180° augmentation because videos were taken from above. All frames were visually confirmed for correct tracking of identity and manually corrected into a consistent track for the excluded animal.
Low Dimensional Embedding of Behavioral Features and Unsupervised Clustering
We performed unsupervised classification of mice behaviors during the FOMO task. Each mouse was video recorded performing the social task and videos were subsequently labeled using automated pose estimation algorithms SLEAP as described above. To identify specific behavioral motifs, we extracted various behavioral features of the excluded mouse from SLEAP-predicted coordinates of labeled body parts. These coordinates were smoothed using the smoothdata function in MATLAB and interpolated to account for any missing keypoints. We extracted both continuous and discrete features: including the distance to port, angle to port, body velocity, body acceleration, orientation of head to body, orientation of head to tail, turning angle, 1second tortuosity, 5second tortuosity, distance of nose to tail, and change in distance of nose to tail, zone of excluded mouse, huddle quality (1, 2, 3), touching barrier, oriented to port, oriented and touching barrier. All continuous features were z-scored. Tortuosity is calculated as the ratio between the length of the path and the distance between the beginning and endpoints of the path. This feature can function as a proxy of the mouse’s path and can capture behavioral motifs in which the mouse takes longer or sharper turns. Each of these features were extracted for the 15 seconds following each cue onset during the FOMO task.
To identify distinct behavioral motifs mice exhibited during social interaction, we applied Uniform Manifold Approximation and Projection (UMAP) onto these behavioral features and obtained unsupervised clusters using DBSCAN. Clusters were manually annotated as an “Attending” or “Not Attending” cluster based on visualization of each cluster by generating a video from the frames included in that cluster.
Keypoint Moseq (KPMS)
To perform unsupervised classification of mouse behaviors during the Social Exclusion, One Mouse, and Tone Only social paradigms using keypoint-MoSeq45 (KPMS), which is built from an auto-regressive hidden Markov model (AR-HMM). The output of SLEAP, raw “keypoint” data for each frame, was used as training data for KPMS. The initial AR-HMM model was run through 200 iterations on a sample of 20 collected videos using a kappa value of 10e12. The full model was then run using a kappa value of 10e9 for 500 iterations. The final KPMS output was 87 “syllables” representing behavioral motifs in the data.
Together, the KPMS syllables were combined with 7 other features: 5 continuous features: (distance of nose to port, angle of nose to port, body velocity, turning angle) and 2 discrete features (zone, oriented to port). KPMS syllables and seven features were run through a second HMM (adapted code from Vidaurre et al., 2017113) to further consolidate the syllables into hidden states. To determine the optimal number of hidden states, the log-likelihood using 2-12 states was calculated and determined to be 4 states.
AlphaClass
Generation of Algorithm:
AlphaClass is a supervised behavior segmentation method that employs a similar approach to pose estimation methods to instead detect localized instances of behaviors within an image. Contrary to other existing methods for behavior segmentation that operate on keypoint timeseries (SimBA114, Keypoint-MoSeq45), AlphaClass predicts the likelihood of the presence of behaviors directly from images, similar to DeepEthogram115 Unlike DeepEthogram, however, AlphaClass operates on single images and predicts the location of where the behavior is occurring by regressing a heatmap, as employed by pose estimation methods for keypoint localization.
Users first begin by defining areas of behavior by placing a point (circle) at the location of a particular behavior, such as placing a point on a grooming mouse, or placing a point at the joint between a mouse’s tail and another mouse’s nose to label chasing behaviors. This is done using makesense.ai. Multiple behaviors can be labeled at a time, such as labeling two mice in a scene that are fighting, while simultaneously labeling a third mouse that is rearing. AlphaClass receives this training data and performs feature detection and keypoint estimation to estimate the likely location of those same user-defined behaviors in untrained frames of video. First, AlphaClass receives an image as an input, such as a single frame from a video of behaving mice. Next, AlphaClass extracts features from these single frames using convolutional neural networks (CNN). The network uses a Resnet50 backbone followed by 3 upsampling layers, which creates a sigmoid output. This sigmoid output is an input for non-maximum suppression, which is used to identify local peaks and filter our ambiguous detections. The existence of the peaks is interpreted as a positive prediction that the behavior is occurring within the frame whose confidence is the value of the identified peak.
This approach enhances the interpretability of behavior segmentation predictions by providing an estimate of the location where a behavior is occurring, in addition to the confidence. As this bypasses the need for pose estimation, AlphaClass provides a more direct method to detect behaviors that are difficult to classify from pose tracking, such as close social interactions where poses are often noisy due to occlusion. Since AlphaClass only operates on single images, it is limited to classes of behaviors where static image features (e.g., body shape, relative locations) are sufficient to discern whether the behavior is occurring.
Data Analysis:
AlphaClass was adapted to quantify the number of “Attending” frames during the Social Exclusion, One Mouse, and Tone Only paradigms, as well as the number of “licking” frames during the formalin assay. Sample frames of the desired behaviors were curated from multiple videos and these frames were labeled using an object detection program, makesense.ai. These frames were then used as training data for AlphaClass and all videos were run through the completed model. A final h5 file was produced for each video and analyzed using custom MATLAB scripts.
The total number of “Attending” frames was normalized to the baseline number of “Attending” frames present for 5 seconds preceding the onset of the trial. Each 5 second interval following trial onset was separately normalized to baseline and total “Attending” frames were calculated by summing the total A “Attending” frames over the 3 time bins from 0-15 seconds.
To characterize the identity of each of the 60 trials and classify them as “Attending” trials or “Not Attending” trials, we applied a global and local threshold analysis using the median value. For the global analysis, the number of “Attending” frames across 60 trials was consolidated across all animals and all paradigms, and the median value of these responses was set as the global threshold. To calculate the local threshold, the number of “Attending” frames across 60 trials was consolidated across each animal for all three paradigms and the median value of these responses was set as the local threshold. Trials that contained more “Attending” frames than this global or local threshold were classified as “Attending” trials, and the rest were classified as “Not Attending” trials. For neural analysis, the local threshold was used per mouse, and the top 15 trials with the most “Attending” frames and bottom 15 trials with the least “Attending” frames were selected to align neural activity to.
Fiber Photometry
Data acquisition.
For fiber photometry experiments, the Neurophotometrics system was used (Neurophotometrics LLC), where a 415 nm LED was used for the reference channel. Frames were captured at 40 Hz and each LED was modulated at 20 Hz in an alternating fashion, resulting in a 20 Hz sample rate in the reference and signal channels. LED and camera timing as well as recording of timestamps from behavioral equipment was achieved using a data acquisition board (National Instruments NI BNC-2110). Prior to the start of each session, the entire system was shielded from outside light using blackout cloth. Patch cords were obtained from Thor Labs and were photobleached for 24 hours prior to the start of recordings.
LED power was calibrated to emit 470 nm light at ~50 μW for GCaMP activation and 405 nm light at ~ 50 μW (measured at the end of the patch cable) through each ferrule, which then interfaced with a ferrule implanted in the mouse (carrying fibers of efficiencies between 80-95%). LEDs were turned on and data was collected continuously for the entire session. Each trial and cue onset were marked through a TTL pulse sent to the Neurophotometrics system.
Data analysis.
Both the calcium signal (responses to 470 nm excitation) and reference signals (responses to 405 or 415 nm excitation) were filtered to reject high frequency noise using a forward only median filter with a span of 200ms. Data from the reference channel was then regressed from data in the 470 nm channel. Regression coefficients were computed using data averaged across trials in a session in a time window of −1s to 0s from the start of the CS to minimize any possible regression artifacts introduced by calcium transients recorded in the 470 nm channel evoked by the sensory stimuli or the animal’s response. Residuals from the regression were z-transformed using data from a baseline window of −1s to 0s relative to the start of the CS.
Cellular Resolution Calcium imaging
Data acquisition:
for both Calcium imaging data acquisition and calcium signal extraction nVoke Inscopix systems were used to collect calcium imaging data. During behavior, a TTL signal was used to trigger the miniscope recording to begin. The miniscope was connected to an active commutator (Inscopix). Image processing was accomplished using IDEAS software (Inscopix).
Data analysis:
Raw videos were pre-processed by applying 4x spatial downsampling to reduce file size and processing time. A temporal downsampling was applied for a final frame rate of 10hz. Images were cropped to remove post-registration borders and sections in which cells were not observed. Motion was corrected for by using the first frame as a reference frame. Videos were then exported as TIFF stacks for analysis and converted to an 8-bit TIF file in Fiji ImageJ.
TIFF stacks were then loaded into MATLAB, and additional non-rigid motion correlation was performed using the NoRMCorre package 116. We then used the constrained non-negative matrix factorization algorithm optimized for micro-endoscopic imaging (CNMF-E) 117 to extract fluorescence traces from neurons. Since cellular calcium fluctuations can exhibit negative transients associated with decreases in firing, we did not apply non-negative constraints on temporal components. All neurons were visually confirmed, and neurons exhibiting abnormalities in morphology and calcium traces were excluded. Neuron curation was performed by experimenters blinded to the experimental condition.
To calculate the neuronal response to social and physical pain, the GCaMP7f fluorescence signal for each neuron was z-score normalized to a 1 second baseline period immediately preceding the onset of the trial. Trial onset was recorded using the Inscopix system with a single TTL pulse that marked each trial. Z-scores were calculated as where is the at time and is the mean of in a baseline period. The z-scored normalized trace was then averaged across a matched number of social trials (Attending/Not Attending), discrimination trials (reward/shock), and pain trials (0.16gVF, 2.0gVF, pinprick, hot water) for each condition for each neuron. The population mean response was then calculated by averaging the mean z-scored normalized trace of all neurons. The proportion of responsive neurons was calculated using the Wilcoxon signed-rank test.
To co-register neurons between social and physical sessions, we used the cell registration algorithm through an open sourced MATLAB based GUI, CellReg 118. Briefly, spatial footprints of neurons, from CNMF-E output, for all sessions were aligned to a reference session through rotational and translational shifts. Cell pairs were identified by employing a Bayesian probability method that considers the centroid distance between cells and their spatial correlation.
Decoding
To test if trial types (reward/shock), (Attending/ Not Attending), (dominant, intermediate, subordinate), (0.16gVF, 2.0gVF, pinprick, hot water), could be decoded from single trial aIC population activity, a generalized linear model (GLM) or a support vector machine (SVM) was used. All animals were pooled together to perform global principal component analysis (PCA) over all animals. PCA was only performed on averages of neural activity that would be used for the training set, while omitting the test set. To obtain single trial aIC population activity we used the coefficients obtained for each neuron in the global PCA and created a single trial neural trajectory using the calcium activity for that trial. We used the number of PCs required to explain 90% of the variance, and trained the GLM using these PCs as features, and the trial type as labels. In cases where there were more than two potential categories, as in rank or pain decoding, we used a one-vs-all strategy, where we convert the multi-class problem into four binary primaries (i.e., dominant vs others. intermediate vs others, light touch vs others). We did a 5-fold cross validation for all decoding analyses besides the rank decoding. For these datasets, the data were split into five parts, for 5-fold cross validation and in each iteration the training consisted of a different 80% subset of the data and the testing was done with the remaining 20% of the data. For the rank decoding, we used 10-fold cross validation because more trials were available. For conditions where there were an unequal number of trials, such as reward and shock, where the number of reward trials exceeded shock trials, we randomly subsampled the reward trials to match the number of shock trials for each iteration. We generated the binary classification output in a receiver operating characteristic (ROC) curve, as a function of time. To quantify results, we took the average of the ROC curve over a relevant window, depending on the analysis. For shuffled controls, we repeated the same process with the training data labels shuffled to see the performance of a chance model.
To test if trial type (Attending vs Not Attending) could be decoded from single trial aIC bulk fluorescence reflecting neuromodulator dynamics for all three of the biosensors used, a random forest (RF) classifier was used. All animals were pooled together and only animals that had successfully undergone all three conditions were included. We did 5-fold cross validation for all decoding, and the data was split into five parts and in each iteration, the training contained 80% of the data and the testing was done on the remaining 20%. All timepoints were pooled together over a relevant window and the ROC obtained using all these data was obtained. For shuffled controls, we repeated the same process using shuffled training data labels.
Trajectories
To visualize the neural population dynamics in a lower dimensional space, PCA was used to perform dimensionality reduction. A single global PCA was done on a matrix containing all the data for all groups such that neural trajectories could be compared across groups (SE/OM/TO). This matrix had neurons in rows, and in the columns had mean firing rates during −5 to 15 seconds post task-relevant event. All neurons were co-registered across groups so the same neurons would be represented once and horizontally concatenated. The neural trajectories for each task-relevant event were created per group by multiplying the coefficients obtained in the PCA by the mean firing rates across trials.
For each trajectory, the geodesic length was calculated as the sum of Euclidean distances between adjacent 100 timepoints. Distance between trajectories was calculated as the Euclidean distance between the two trajectories bin-by-bin. To allow for statistical comparisons, the neural trajectory metrics were calculated using the leave one out (LOO) method, leaving out all the neurons from a single animal per group, thus the number of iterations is the number of mice in that group. The n reported in trajectory quantifications corresponds to the number of mice utilized for the LOO. Importantly, in every iteration the same PCA coefficients per cell were used for the neural trajectory, since the PCA was done prior to this step, but the neurons included varied. Distance between trajectories was calculated as the Euclidean distance between the two trajectories bin-by-bin. LOO was completed in the same process as for trajectory length calculations. For visualization purposes we plotted the first 2 or 3 PC subspaces, but for quantification of trajectory lengths and distance between trajectories the number of PCs that captured 90% of the variance was used. For just the PC space visualizations, we smoothed the trajectories using MATLAB’s smoothdata function.
Agglomerative hierarchical clustering
Prior to clustering, the data were pre-processed as follows: The peristimulus time histogram (PSTH) was computed using 5s baseline, 15s postcue. Z-scores were calculated using the mean and standard deviation during the baseline period (-1 second to cue onset) individually for each neuron. Data from each experiment protocol (Attending, Not Attending, and pinprick) were concatenated to calculate universal clusters, allowing for comparisons between each of the social conditions (SE, OM, and TO).
Using custom MATLAB code, a hierarchical cluster tree was generated using Ward’s method, which uses inner squared distance to determine hierarchy using correlation for the distance metric. A cutoff threshold was used to determine clusters; the value selected was 30% of the maximum value of the linkage distance. Heatmaps plotted for each region are the smoothed z-score input data; clusters for each region are color-coded based on the original cluster tree. All neurons from each cluster were then averaged to create a peri-event time histogram of activity for each cluster during “Attending”, “Not Attending”, and pinprick trials associated with each of our three social sessions. To calculate cluster enrichment, for each social session (SE/TO/OM), the percentage of neurons in each cluster was calculated, and then plotted in comparison with other paradigms.
To determine if a cell was significantly responding to an event, we compared the firing rate in a baseline period vs the event onset (5 second window for baseline and event) using a Wilcoxon sign rank test. If firing rate change was significant, excitation or inhibition was determined based on the average Z-score during the 15 second response window (if it was positive the cell was considered excited, while if it was negative the cell was considered inhibited). The number of responsive neurons was calculated and overlapping neurons responsive to both “Attending/Not Attending” and pinprick trials were calculated. Comparisons across different social conditions were done using the chi-squared test. Overlapping excited and inhibited neurons were averaged to plot a per-event time histogram for their responsiveness to pinprick to assess changes in amplitude.
To visualize the quantity of neurons that overlap across social conditions, the Alluvial Flow Diagram (MATLAB, Alexander Carmeli) function in Matlab was used.
Histology
Following experiments, mice were deeply anesthetized with sodium pentobarbital (200 mg/kg, intraperitoneal injection). Animals were transcardially perfused with 10 mL of Ringer’s solution followed by 10 mL of cold 4% PFA in 1X PBS. For viral injection, optic fiber, GRIN lens or cannula verification, mice were immediately decapitated after experiments and the whole head was submerged in 4% PFA in 1X PBS for 24 hours at 4°C. The following day the fiber optic implants/GRIN lens/cannulas were removed, and the brains were extracted. Brains were then transferred to 30% sucrose in 1X PBS at 4°C for 12 hours on a shaker. Brains were sectioned coronally at 50μm using a microtome (ThermoScientific) and sections were mounted directly onto glass microscope slides and cover slipped with EMS-Shield Mounting Medium w/ DAPI. Slides were then imaged at 4x magnification using a Keyence BZX710 Fluorescence microscope. Injection sites and implants relative to the mouse atlas were annotated.
Confocal microscopy
Confocal fluorescence images were acquired on an Olympus FV1000 confocal laser scanning microscope using a 20x/0.75NA objective or a 40x/1.30NA oil immersion objective. Serial Z-stack images were acquired using the FluoView software (Olympus, Center Valley, PA) to confirm viral injections and fiber placements. The tip of the fiber was determined by the ~50 μm thick gliosis generated by the fiber. The number of cells were quantified with the Imaris software (Bitplane Inc., South Windsor, CT). Regions were located and reported in accordance with the mouse brain atlas.
Statistics
Statistical analyses were performed using GraphPad Prism 8 (GraphPad Prism, La Jolla, CA) and MATLAB 2023b (Mathworks, Natick, MA). Data with a Gaussian distribution were compared using a paired or unpaired t-test (non-directional) for two experimental groups, and a one-way or two-way ANOVA with repeated measures for three or more experimental groups. To assess responsive neurons, we used a one-sided Wilcoxon rank-sum test. Correlation between two variables was assessed using the Pearson’s correlation coefficient. Kolmogorov-Smirnov statistics were used to detect differences in distribution between two groups. Threshold for significance was placed at p<0.05. All data are shown as mean ± standard error of the mean (SEM).
Sample size
Sample sizes were based on similar studies in the literature. Sample size is reported in the legends and methods.
Data exclusions
For calcium experiments, animals were excluded based on histological verification criteria. Histological verification was done by an experimenter blind to the experimental manipulation. Included experimental animals successfully completed 60 trials of SE, OM, and TO, as well as non-nociceptive and nociceptive stimulus application afterwards. Out of 8 animals, one animal was excluded based on the histological criteria, and another based on incomplete experimental data collection in Figure 2 and 3. For the Pavlovian discrimination task, one mouse was excluded for learning how to effectively escape from the shock. In photometry experiments, mice were excluded based on histological verification criteria. One animal was excluded for OXT sensor analysis based on lack of expression. One animal was excluded out of OXT sensor OM group analysis based on Grubbs’ test for outliers. For eCB sensor experiments, 3 animals were excluded for light leak, and 7 for lack of expression.
Reproducibility
Behavioral experiments included in Figure 1 were repeated over 2 cohorts with multiple investigators. Experiments in Figure 4 were repeated two times.
Randomization
For behavioral experiments, mice in each cage were randomly divided into SE, OM, and TO groups. Four mice were present in each cage, and each cage had at least one mouse undergoing SE, OM, or TO. The total number of mice undergoing each behavioral paradigm was counter-balanced across mice. For imaging experiments, mice in each cage were randomly divided between experimental and control groups, with 2 experimental and 2 control mice in a cage of 4.
Blinding
During behavioral testing investigators were not always blind to the group affiliation (experimental vs control) given familiarity with the subjects. However, for histology, calcium imaging and biosensor experiments, the experimenters were blinded to the group assignment of the animals (experimental vs control). During data processing and analysis experimenters were blinded to the group affiliation until the point that all data was processed such that group comparisons could be made.
Acknowledgments:
This work was supported by the Machine Shop of the Salk Institute and Bryan Nielsen.
Funding:
Salk Institute for Biological Sciences (KMT)
HHMI (KMT)
Kavli Foundation (KMT)
Clayton Foundation (KMT)
Dolby Family Fund (KMT)
NIMH R01-MH115920 (KMT)
NIMH R37-MH102441 (KMT)
NICCIH Pioneer Award DP1-AT009925 (KMT
Salk Women in Science (CJ)
NIMH 1RF1MH132653-01 (TDP)
NIDA R00DA055111 (HL)
Footnotes
Competing Interests: The authors declare no competing interests.
Data and Materials Availability: All experimental data are available in the main text or supplementary material. Raw neural recordings and simultaneously recorded behavioral outputs are available on DANDI. Custom MATLAB codes as well as AlphaClass are available on the Tyelab GitHub.
Contributor Information
Kay Tye, Salk Institute for Biological Studies.
Caroline Jia, Salk Institute for Biological Studies.
Andrea Tran, Salk Institute for Biological Studies.
Faith Aloboudi, Salk Institute for Biological Studies.
Ella Say, Salk Institute for Biological Studies.
Nick Thao, Salk Institute for Biological Studies.
Christopher Lee, Salk Institute for Biological Studies.
Kanha Batra, The Salk Institute for Biological Studies.
Amanda Nguyen, Salk Institute for Biological Studies.
Aneesh Bal, Salk Institute.
Jeremy Delahanty, Salk Institute for Biological Studies.
May Chan, Salk Institute for Biological Studies.
Laurel Keyes, Howard Hughes Medical Institute.
Reesha Patel, Feinberg School of Medicine.
Romy Wichmann, Salk Institute.
Felix Taschbach, Salk Institute.
Yulong Li, Peking University.
Marcus Benna, University of California, San Diego.
Talmo Pereira, Salk Institute for Biological Studies.
Hao Li, Salk Institute.
Nathaniel Nono, Salk Institute for Biological Studies.
Data availability
All mouse illustrations included in the main figures were created with BioRender.com. Source data needed to recreate the primary statistical results shown in Figures and Supplementary Figures have been provided as a Supplementary Source Data File. Raw and processed calcium recordings are available on DANDI, and where available we will also include simultaneously recorded behavior videos.
Code availability
AlphaClass used to process data shown in this manuscript is available on the Tyelab GitHub (https://github.com/Tyelab/AlphaClass).
References
- 1.Eisenberger N. I. The Neural Bases of Social Pain. Psychosom. Med. 74, 126–135 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Eisenberger N. I., Lieberman M. D. & Williams K. D. Does Rejection Hurt? An fMRI Study of Social Exclusion. Science 302, 290–292 (2003). [DOI] [PubMed] [Google Scholar]
- 3.Hsu D. T. et al. It still hurts: altered endogenous opioid activity in the brain during social rejection and acceptance in major depressive disorder. Mol. Psychiatry 20, 193–200 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Kross E., Berman M. G., Mischel W., Smith E. E. & Wager T. D. Social rejection shares somatosensory representations with physical pain. Proc. Natl. Acad. Sci. 108, 6270–6275 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.MacDonald G. & Leary M. R. Why Does Social Exclusion Hurt? The Relationship Between Social and Physical Pain. Psychol. Bull. 131, 202–223 (2005). [DOI] [PubMed] [Google Scholar]
- 6.Novembre G., Zanon M. & Silani G. Empathy for social exclusion involves the sensory-discriminative component of pain: a within-subject fMRI study. Soc. Cogn. Affect. Neurosci. 10, 153–164 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Eisenberger N. I. The pain of social disconnection: examining the shared neural underpinnings of physical and social pain. Nat. Rev. Neurosci. 13, 421–434 (2012). [DOI] [PubMed] [Google Scholar]
- 8.Zhang M., Zhang Y. & Kong Y. Interaction between social pain and physical pain. Brain Sci. Adv. 5, 265–273 (2019). [Google Scholar]
- 9.Bungert M. et al. Pain Processing after Social Exclusion and Its Relation to Rejection Sensitivity in Borderline Personality Disorder. PLOS ONE 10, e0133693 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Seyfarth R. M. & Cheney D. L. Grooming, alliances and reciprocal altruism in vervet monkeys. Nature 308, 541–543 (1984). [DOI] [PubMed] [Google Scholar]
- 11.Wrangham R. W. An Ecological Model of Female-Bonded Primate Groups. Behaviour 75, 262–300 (1980). [Google Scholar]
- 12.Croft D. P. et al. Social structure and co-operative interactions in a wild population of guppies (Poecilia reticulata). Behav. Ecol. Sociobiol. 59, 644–650 (2006). [Google Scholar]
- 13.Micheletta J. et al. Social bonds affect anti-predator behaviour in a tolerant species of macaque, Macaca nigra. Proc. R. Soc. B Biol. Sci. 279, 4042–4050 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Cameron E. Z., Setsaas T. H. & Linklater W. L. Social bonds between unrelated females increase reproductive success in feral horses. Proc. Natl. Acad. Sci. 106, 13850–13853 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.LIEBERMAN N. I. E. M. D. Why It hurts to be left out. [Google Scholar]
- 16.Fan Z. et al. Neural mechanism underlying depressive-like state associated with social status loss. Cell 186, 560–576.e17 (2023). [DOI] [PubMed] [Google Scholar]
- 17.Grammer J. & Zelikowsky M. Neuroscience: The sting of social isolation. Curr. Biol. 32, R572–R574 (2022). [DOI] [PubMed] [Google Scholar]
- 18.Sterley T.-L. et al. Social transmission and buffering of synaptic changes after stress. Nat. Neurosci. 21, 393–403 (2018). [DOI] [PubMed] [Google Scholar]
- 19.Lee C. R., Chen A. & Tye K. M. The neural circuitry of social homeostasis: Consequences of acute versus chronic social isolation. Cell(2021) doi: 10.1016/j.cell.2021.02.028. [DOI] [PubMed] [Google Scholar]
- 20.Liu D. et al. A Hypothalamic Circuit Underlying the Dynamic Control of Social Homeostasis. bioRxiv 2023.05.19.540391 (2023) doi: 10.1101/2023.05.19.540391. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Matthews G. A. & Tye K. M. Neural mechanisms of social homeostasis. Ann. N. Y. Acad. Sci. 1457, 5–25 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Sadino J. M. et al. Prolonged partner separation erodes nucleus accumbens transcriptional signatures of pair bonding in male prairie voles. eLife 12, e80517 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Liu D. A hypothalamic circuit underlying the dynamic control of social homeostasis. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Baptista-de-Souza D. et al. Mice undergoing neuropathic pain induce anxiogenic-like effects and hypernociception in cagemates. Behav. Pharmacol. 26, 664–672 (2015). [DOI] [PubMed] [Google Scholar]
- 25.Calhoun A. J., Pillow J. W. & Murthy M. Unsupervised identification of the internal states that shape natural behavior. Nat. Neurosci. 22, 2040–2049 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Deutsch D. et al. The neural basis for a persistent internal state in Drosophila females. eLife 9, e59502 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Flavell S. W., Gogolla N., Lovett-Barron M. & Zelikowsky M. The emergence and influence of internal states. Neuron 110, 2545–2570 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Langford D. J. et al. Varying Perceived Social Threat Modulates Pain Behavior in Male Mice. J. Pain 12, 125–132 (2011). [DOI] [PubMed] [Google Scholar]
- 29.Likhtik E., Stujenske J. M., Topiwala M. A., Harris A. Z. & Gordon J. A. Prefrontal entrainment of amygdala activity signals safety in learned fear and innate anxiety. Nat. Neurosci. 17, 106–113 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Martin L. J. et al. Reducing Social Stress Elicits Emotional Contagion of Pain in Mouse and Human Strangers. Curr. Biol. 25, 326–332 (2015). [DOI] [PubMed] [Google Scholar]
- 31.Padilla-Coreano N., Tye K. M. & Zelikowsky M. Dynamic influences on the neural encoding of social valence. Nat. Rev. Neurosci. 23, 535–550 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Krishnan V. et al. Molecular Adaptations Underlying Susceptibility and Resistance to Social Defeat in Brain Reward Regions. Cell 131, 391–404 (2007). [DOI] [PubMed] [Google Scholar]
- 33.Matthews G. A. et al. Dorsal Raphe Dopamine Neurons Represent the Experience of Social Isolation. Cell 164, 617–631 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Zelikowsky M. et al. The Neuropeptide Tac2 Controls a Distributed Brain State Induced by Chronic Social Isolation Stress. Cell 173, 1265–1279.e19 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Takahashi A. et al. Establishment of a repeated social defeat stress model in female mice. Sci. Rep. 7, 12838 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Walters E. T. Injury-Related Behavior and Neuronal Plasticity: An Evolutionary Perspective on Sensitization, Hyperalgesia, and Analgesia. (1994). [DOI] [PubMed] [Google Scholar]
- 37.Han S., Soleiman M., Soden M., Zweifel L. & Palmiter R. D. Elucidating an Affective Pain Circuit that Creates a Threat Memory. Cell 162, 363–374 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Wang L.-B. et al. Parallel Spinal Pathways for Transmitting Reflexive and Affective Dimensions of Nocifensive Behaviors Evoked by Selective Activation of the Mas-Related G Protein-Coupled Receptor D-Positive and Transient Receptor Potential Vanilloid 1-Positive Subsets of Nociceptors. Front. Cell. Neurosci. 16, 910670 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Corder G. et al. Loss of μ opioid receptor signaling in nociceptors, but not microglia, abrogates morphine tolerance without disrupting analgesia. Nat. Med. 23, 164–173 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Huang T. et al. Identifying the pathways required for coping behaviours associated with sustained pain. Nature 565, 86–90 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Bohic M. et al. Mapping the neuroethological signatures of pain, analgesia, and recovery in mice. Neuron (2023) doi: 10.1016/j.neuron.2023.06.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Anpilov S. et al. Group Social Dynamics in a Seminatural Setup Reflect the Adaptive Value of Aggression in Male Mice. Biol. Psychiatry Glob. Open Sci. 5, 100399 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Pereira T. D. et al. SLEAP: A deep learning system for multi-animal pose tracking. Nat. Methods 1–10 (2022) doi: 10.1038/s41592-022-01426-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.McInnes L., Healy J. & Melville J. UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction. arXiv(2018) doi: 10.48550/arxiv.1802.03426. [DOI] [Google Scholar]
- 45.Weinreb C. et al. Keypoint-MoSeq: parsing behavior by linking point tracking to pose dynamics. bioRxiv 2023.03.16.532307 (2023) doi: 10.1101/2023.03.16.532307. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Gamal-Eltrabily M. et al. The Rostral Agranular Insular Cortex, a New Site of Oxytocin to Induce Antinociception. J. Neurosci. 40, 5669–5680 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Geuter S., Boll S., Eippert F. & Buchel C. Functional dissociation of stimulus intensity encoding and predictive coding of pain in the insula. eLife 6, e24770 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Lu C. et al. Insular Cortex is Critical for the Perception, Modulation, and Chronification of Pain. Neurosci. Bull. 32, 191–201 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Namboodiri V. M. K. & Stuber G. D. Interoceptive Inception in Insula. Neuron 105, 959–960 (2020). [DOI] [PubMed] [Google Scholar]
- 50.Pomares F. B., Faillenot I., Barral F. G. & Peyron R. The ‘where’ and the ‘when’ of the BOLD response to pain in the insular cortex. Discussion on amplitudes and latencies. NeuroImage 64, 466–475 (2013). [DOI] [PubMed] [Google Scholar]
- 51.Peirs C. & Seal R. P. Neural circuits for pain: Recent advances and current views. Science 354, 578–584 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Bornhovd K. et al. Painful stimuli evoke different stimulus-response functions in the amygdala, prefrontal, insula and somatosensory cortex: a single-trial fMRI study. Brain 125, 1326–1336 (2002). [DOI] [PubMed] [Google Scholar]
- 53.Lindsay N. M., Chen C., Gilam G., Mackey S. & Scherrer G. Brain circuits for pain and its treatment. Sci. Transl. Med. 13, eabj7360 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Alonso-Matielo H. et al. Electrical stimulation of the posterior insula induces mechanical analgesia in a rodent model of neuropathic pain by modulating GABAergic signaling and activity in the pain circuitry. Brain Res. 1754, 147237 (2021). [DOI] [PubMed] [Google Scholar]
- 55.Centanni S. W. et al. Endocannabinoid control of the insular-bed nucleus of the stria terminalis circuit regulates negative affective behavior associated with alcohol abstinence. Neuropsychopharmacology 44, 526–537 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Kim M. J., Tanioka M., Um S. W., Hong S.-K. & Lee B. H. Analgesic effects of FAAH inhibitor in the insular cortex of nerve-injured rats. Mol. Pain 14, 1744806918814345 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Putnam P. T. & Chang S. W. C. Interplay between the oxytocin and opioid systems in regulating social behaviour. Philos. Trans. R. Soc. B 377, 20210050 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Tan L. L. et al. A pathway from midcingulate cortex to posterior insula gates nociceptive hypersensitivity. Nat. Neurosci. 20, 1591–1601 (2017). [DOI] [PubMed] [Google Scholar]
- 59.Gehrlach D. A. et al. Aversive state processing in the posterior insular cortex. Nat. Neurosci. 22, 1424–1437 (2019). [DOI] [PubMed] [Google Scholar]
- 60.Miura I. et al. Encoding of social exploration by neural ensembles in the insular cortex. PLOS Biol. 18, e3000584 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Rieger N. S. et al. Insular cortex corticotropin-releasing factor integrates stress signaling with social affective behavior. Neuropsychopharmacology 1–13 (2022) doi: 10.1038/s41386-022-01292-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Ramos-Prats A. et al. VIP-expressing interneurons in the anterior insular cortex contribute to sensory processing to regulate adaptive behavior. Cell Rep. 39, 110893 (2022). [DOI] [PubMed] [Google Scholar]
- 63.Gehrlach D. A. et al. A whole-brain connectivity map of mouse insular cortex. eLife 9, e55585 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Fazeli S. & Buchel C. Pain-Related Expectation and Prediction Error Signals in the Anterior Insula Are Not Related to Aversiveness. J. Neurosci. 38, 6461–6474 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Livneh Y. & Andermann M. L. Cellular activity in insular cortex across seconds to hours: Sensations and predictions of bodily states. Neuron (2021) doi: 10.1016/j.neuron.2021.08.036. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Paquelet G. E. et al. Single-cell activity and network properties of dorsal raphe nucleus serotonin neurons during emotionally salient behaviors. Neuron 110, 2664–2679.e8 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Markovic T. et al. Pain induces adaptations in ventral tegmental area dopamine neurons to drive anhedonia-like behavior. Nat. Neurosci. 24, 1601–1613 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Remedios R. et al. Social behaviour shapes hypothalamic neural ensemble representations of conspecific sex. Nature 550, 388–392 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 69.Corder G. et al. An amygdalar neural ensemble that encodes the unpleasantness of pain. Science 363, 276–281 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.Smith M. L., Asada N. & Malenka R. C. Anterior cingulate inputs to nucleus accumbens control the social transfer of pain and analgesia. Science 371, 153–159 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 71.Wiech K. Deconstructing the sensation of pain: The influence of cognitive processes on pain perception. Science 354, 584–587 (2016). [DOI] [PubMed] [Google Scholar]
- 72.Zhang M., Wu Y. E., Jiang M. & Hong W. Cortical regulation of helping behaviour towards others in pain. Nature 626, 136–144 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 73.Padilla-Coreano N. et al. Cortical ensembles orchestrate social competition through hypothalamic outputs. Nature 603, 667–671 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 74.Anderson D. J. & Adolphs R. A framework for studying emotions across species. Cell 157, 187–200 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.Lohani S., Martig A. K., Deisseroth K., Witten I. B. & Moghaddam B. Dopamine Modulation of Prefrontal Cortex Activity Is Manifold and Operates at Multiple Temporal and Spatial Scales. Cell Rep. 27, 99–114.e6 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Carcea I. et al. Oxytocin neurons enable social transmission of maternal behaviour. Nature 596, 553–557 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 77.Huang S. et al. Dopamine Inputs from the Ventral Tegmental Area into the Medial Prefrontal Cortex Modulate Neuropathic Pain-Associated Behaviors in Mice. Cell Rep. 31, 107812 (2020). [DOI] [PubMed] [Google Scholar]
- 78.Meyer P. J., Morgan M. M., Kozell L. B. & Ingram S. L. Contribution of dopamine receptors to periaqueductal gray-mediated antinociception. Psychopharmacology (Berl.) 204, 531–540 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 79.Willmore L., Cameron C., Yang J., Witten I. & Falkner A. Behavioral and dopaminergic signatures of resilience. bioRxiv 2022.03.18.484885 (2022) doi: 10.1101/2022.03.18.484885. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 80.Yu W. et al. Periaqueductal gray/dorsal raphe dopamine neurons contribute to sex differences in pain-related behaviors. Neuron (2021) doi: 10.1016/j.neuron.2021.03.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 81.Zhuo Y. et al. Improved green and red GRAB sensors for monitoring dopaminergic activity in vivo. Nat. Methods 21, 680–691 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 82.Borie A. M. et al. Social experience alters oxytocinergic modulation in the nucleus accumbens of female prairie voles. Curr. Biol. 32, 1026–1037.e4 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 83.Ferretti V. et al. Oxytocin Signaling in the Central Amygdala Modulates Emotion Discrimination in Mice. Curr. Biol. 29, 1938–1953.e6 (2019). [DOI] [PubMed] [Google Scholar]
- 84.Liu Y. et al. Oxytocin promotes prefrontal population activity via the PVN-PFC pathway to regulate pain. Neuron 111, 1795–1811.e7 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 85.Marlin B. J., Mitre M., D’amour J. A., Chao M. V. & Froemke R. C. Oxytocin enables maternal behaviour by balancing cortical inhibition. Nature 520, 499–504 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 86.Marsicano G. & Kuner R. Cannabinoids and the Brain. 161–201 (2008) doi: 10.1007/978-0-387-74349-3_10. [DOI] [Google Scholar]
- 87.Shang H. et al. Neuronal and astrocytic CB1R signaling differentially modulates goal-directed behavior and working memory by distinct temporal mechanisms. Neuropsychopharmacology 1–12 (2023) doi: 10.1038/s41386-023-01533-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 88.Soria-Gomez E. et al. Subcellular specificity of cannabinoid effects in striatonigral circuits. Neuron 109, 1513–1526.e11 (2021). [DOI] [PubMed] [Google Scholar]
- 89.Viviani D. et al. Oxytocin Selectively Gates Fear Responses Through Distinct Outputs from the Central Amygdala. Science 333, 104–107 (2011). [DOI] [PubMed] [Google Scholar]
- 90.Xin Q., Bai B. & Liu W. The analgesic effects of oxytocin in the peripheral and central nervous system. Neurochem. Int. 103, 57–64 (2017). [DOI] [PubMed] [Google Scholar]
- 91.Eliava M. et al. A New Population of Parvocellular Oxytocin Neurons Controlling Magnocellular Neuron Activity and Inflammatory Pain Processing. Neuron 89, 1291–1304 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 92.Qian T. et al. A genetically encoded sensor measures temporal oxytocin release from different neuronal compartments. Nat. Biotechnol. 41, 944–957 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 93.Fine P. G. & Rosenfeld M. J. The Endocannabinoid System, Cannabinoids, and Pain. Rambam Maimonides Med. J. 4, (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 94.Fu R. et al. Endocannabinoid signaling in the lateral habenula regulates pain and alcohol consumption. Transl. Psychiatry 11, 220 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 95.Hohmann A. G. & Suplita R. L. Endocannabinoid mechanisms of pain modulation. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 96.Sagar D. R. et al. Dynamic Regulation of the Endocannabinoid System: Implications for Analgesia. Mol. Pain 5, 1744-8069-5-59 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 97.Piomelli D., Hohmann A. G., Seybold V. & Hammock B. D. A Lipid Gate for the Peripheral Control of Pain. J. Neurosci. 34, 15184–15191 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 98.Martin W. J., Patrick S. L., Coffin P. O., Tsou K. & Walker J. M. An examination of the central sites of action of cannabinoid-induced antinociception in the rat. Life Sci. 56, 2103–2109 (1995). [DOI] [PubMed] [Google Scholar]
- 99.Petrie G. N., Nastase A. S., Aukema R. J. & Hill M. N. Endocannabinoids, cannabinoids and the regulation of anxiety. Neuropharmacology 195, 108626 (2021). [DOI] [PubMed] [Google Scholar]
- 100.Wei D. et al. Endocannabinoid signaling mediates oxytocin-driven social reward. Proc. Natl. Acad. Sci. 112, 14084–14089 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 101.Trezza V. et al. Endocannabinoids in Amygdala and Nucleus Accumbens Mediate Social Play Reward in Adolescent Rats. J. Neurosci. 32, 14899–14908 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 102.Terzian A. L. B., Micale V. & Wotjak C. T. Cannabinoid receptor type 1 receptors on GABA ergic vs. glutamatergic neurons differentially gate sex-dependent social interest in mice. Eur. J. Neurosci. 40, 2293–2298 (2014). [DOI] [PubMed] [Google Scholar]
- 103.Wei D., Allsop S., Tye K. & Piomelli D. Endocannabinoid Signaling in the Control of Social Behavior. Trends Neurosci. 40, 385–396 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 104.Di Marzo V. & Matias I. Endocannabinoid control of food intake and energy balance. Nat. Neurosci. 8, 585–589 (2005). [DOI] [PubMed] [Google Scholar]
- 105.Di Marzo V. et al. Leptin-regulated endocannabinoids are involved in maintaining food intake. Nature 410, 822–825 (2001). [DOI] [PubMed] [Google Scholar]
- 106.Zhao Z. et al. Cannabinoids regulate an insula circuit controlling water intake. Curr. Biol. 34, 1918–1929.e5 (2024). [DOI] [PubMed] [Google Scholar]
- 107.Dong A. et al. A fluorescent sensor for spatiotemporally resolved imaging of endocannabinoid dynamics in vivo. Nat. Biotechnol. 40, 787–798 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 108.Castillo P. E., Younts T. J., Chavez A. E. & Hashimotodani Y. Endocannabinoid Signaling and Synaptic Function. Neuron 76, 70–81 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 109.Friard O. & Gamba M. BORIS: a free, versatile open-source event-logging software for video/audio coding and live observations. Methods Ecol. Evol. 7, 1325–1330 (2016). [Google Scholar]
- 110.Plone M. A., Emerich D. F. & Lindner M. D. Individual differences in the hotplate test and effects of habituation on sensitivity to morphine: Pain 66, 265–270 (1996). [DOI] [PubMed] [Google Scholar]
- 111.Gunn A., Bobeck E. N., Weber C. & Morgan M. M. The Influence of Non-Nociceptive Factors on HotPlate Latency in Rats. J. Pain 12, 222–227 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 112.Fan Z. et al. Using the tube test to measure social hierarchy in mice. Nat. Protoc. 14, 819–831 (2019). [DOI] [PubMed] [Google Scholar]
- 113.Vidaurre D., Smith S. M. & Woolrich M. W. Brain network dynamics are hierarchically organized in time. Proc. Natl. Acad. Sci. 114, 12827–12832 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 114.Goodwin N. L. et al. Simple Behavioral Analysis (SimBA) as a platform for explainable machine learning in behavioral neuroscience. Nat. Neurosci. 27, 1411–1424 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 115.Bohnslav J. P. et al. DeepEthogram, a machine learning pipeline for supervised behavior classification from raw pixels. eLife 10, e63377 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 116.Pnevmatikakis E. A. & Giovannucci A. NoRMCorre: An online algorithm for piecewise rigid motion correction of calcium imaging data. J. Neurosci. Methods 291, 83–94 (2017). [DOI] [PubMed] [Google Scholar]
- 117.Zhou P. et al. Efficient and accurate extraction of in vivo calcium signals from microendoscopic video data. eLife 7, e28728 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 118.Sheintuch L. et al. Tracking the Same Neurons across Multiple Days in Ca2+ Imaging Data. Cell Rep. 21, 1102–1115 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
All mouse illustrations included in the main figures were created with BioRender.com. Source data needed to recreate the primary statistical results shown in Figures and Supplementary Figures have been provided as a Supplementary Source Data File. Raw and processed calcium recordings are available on DANDI, and where available we will also include simultaneously recorded behavior videos.
AlphaClass used to process data shown in this manuscript is available on the Tyelab GitHub (https://github.com/Tyelab/AlphaClass).


