Abstract
The mechanisms by which sleep benefits learning and memory remain unclear. Sleep may further strengthen the synapses potentiated by learning or promote broad synaptic weakening while protecting the newly potentiated synapses. We tested these ideas by combining a motor task whose consolidation is sleep-dependent, a marker of synaptic AMPA receptor plasticity, and repeated two-photon imaging to track hundreds of spines in vivo with single spine resolution. In mouse motor cortex, sleep leads to an overall net decrease in spine-surface GluA1-containing AMPA receptors, both before and after learning. Molecular changes in single spines during post-learning sleep are correlated with changes in performance after sleep. The spines in which learning leads to the largest increase in GluA1 expression have a relative advantage after post-learning sleep compared to sleep deprivation, because sleep weakens all remaining spines. These results are obtained in adult mice, showing that sleep-dependent synaptic down-selection also benefits the mature brain.
Subject terms: Neuroscience, Circadian rhythms and sleep, Cortex
The synaptic mechanisms of how sleep benefits cognitive functions are not well characterised. Here, the authors show that sleep leads to an overall net decrease in spine-surface GluA1-containing AMPA receptors and that this is correlated with changes in performance after sleep.
Introduction
There is ample evidence that sleep benefits cognitive functions. Lack of sleep impairs many aspects of cognition, from response time, working memory, and sustained attention, to executive functions, affect, and mood1–4. On the other hand, sleep promotes memory consolidation and integration, gist extraction as well as forgetting, and restores the ability to learn5,6. Still, the synaptic mechanisms underlying the positive effects of sleep on cognition are poorly characterized7–9. Two main hypotheses have been proposed. One is that sleep consolidates memories by further strengthening the synaptic connections potentiated by learning5,7. According to this view, sleep-dependent potentiation is mediated by the sequential reactivation of specific sets of neurons and synapses, which occurs during hippocampal sharp-wave ripples and during the UP states of the cortical slow oscillations10–12. The other hypothesis is that sleep promotes broad synaptic weakening while still protecting from renormalization the synapses coherently reactivated during sleep, including those engaged by new learning6,13,14. This down-selection process results in the relative strengthening of recently activated synapses, without the need for an absolute increase in their efficacy. By avoiding synaptic saturation, the same down-selection process can also explain why sleep restores the capacity for new learning, which cannot be accounted for by sleep-dependent potentiation alone.
The majority of synapses in the mammalian brain are excitatory, established by glutamatergic axons that contact protrusions of the dendritic shaft called spines15,16. Whether the weakening of some axospinous synapses during sleep can co-occur with the absolute strengthening of other synapses remains unclear. The few available studies of well-characterized brain regions, including primary motor cortex, measured different aspects of synapses, such as number or size, under different waking conditions and learning paradigms, after different periods of wake and sleep, and at different developmental ages. Specifically, one study in adolescent mice found that, after motor training during the day, spinogenesis was impaired by a few hours of sleep deprivation, but continued at similar levels whether motor training was followed predominantly by sleep (during the day) or by wakefulness (during the night)17. The study focused on the apical tuft dendrites of layer 5 pyramidal neurons and did not measure changes in spine size, which are substantial even in the adult cortex, outnumber the changes in spine number18,19, and are correlated with changes in synaptic strength15,20. On the other hand, two other studies of mouse primary motor cortex21,22 found a sleep-dependent decrease in different markers of synaptic strength, but did not assess the effects of sleep after a specific learning task, nor did they follow the same synapse after defined periods of waking and sleep.
In the present study, we aimed at characterizing the effects of sleep on memory consolidation by tracking longitudinally many spines with single spine resolution, both during the sleep-wake cycle and in response to learning. To do so, we applied repeated two-photon imaging in vivo to measure spine number and size, as well as the expression of a molecular marker of synaptic strength, in layer 2/3 of the mouse primary motor cortex after several hours of sleep without prior motor training, immediately after motor learning, and after several hours of post-learning sleep or sleep deprivation. We targeted the superficial layers because they are known to remain highly plastic even after early development (e.g., refs. 23–27). We find that sleep still leads to a net decrease in synaptic strength even after skill learning, and the weakening of most spines, those not directly engaged by learning, accounts for sleep-dependent offline consolidation.
Results
Learning and the induction of long-term potentiation are associated with a sustained increase in the number and activity of the glutamatergic AMPA receptors. A key step in this process is the incorporation of GluA1-containing AMPA receptors in the postsynaptic membrane, often in association with the growth of the dendritic spine harboring the synapse28,29. We used in utero electroporation of mouse embryos (aged 14.5 embryonic days) to transfect layer 2/3 pyramidal neurons of primary motor cortex with the red fluorescent protein dsRed2, a morphological marker that labels dendritic arbors and spines, and with the GluA1 subunit of the AMPA receptors tagged with Super Ecliptic pHluorin (SEP30). SEP is a pH-sensitive variant of the green fluorescent protein that reports cell-surface receptors selectively28,29. Low concentrations of DNA were used for electroporation to minimize the overexpression of AMPA receptors, and GluA2 was included to approximate the natural GluA1/GluA2 ratio. Immunostaining of GluA1 in slices of electroporated mice confirmed that GluA1 was only minimally overexpressed (Supplementary Fig. 1). Transfected mice were implanted with a cranial window over the primary motor cortex at around two months of age (postnatal day 56–78) and allowed to recover for 2–3 weeks before repeated two-photon imaging started (Fig. 1a). Mice (n = 12) were imaged several times in the course of two consecutive days (Fig. 1a), starting at the beginning of the light phase, 7 h later, and the following morning immediately after training in a complex wheel task that engages the primary motor cortex31. After training mice were split in two groups (n = 6 mice/group) that were either kept awake or allowed to sleep for 6–7 h. Afterward all animals were imaged again and then left undisturbed until a second training session occurred the next morning, 24 h after the first session, followed by the final imaging session.
Sleep promotes the consolidation of motor learning
Sleep/waking behavior was constantly monitored across the 48 h. During the first day all mice were mostly asleep during the first 6–7 h of the light phase (−24 h to −17 h) and awake at night (−12 h to 0 h), as expected for nocturnal animals entrained to the 12:12 light/dark cycle (Fig. 1b, c). After motor training the next morning, mice left undisturbed were again mostly asleep for 6–7 h, while during the same post-training period sleep deprived mice were awake 99% of the time (0 h to 7 h; Fig. 1b, c). In the motor task animals trained to run on a wheel equipped with an uneven rung pattern that rotates at increasing speed31. The first training session lasted ~1 h, and performance in all mice improved by the end of the session (first 3 trials vs. last 3 trials, paired t test; p = 0.0004, n = 12 mice; Fig. 1d; Supplementary Table 1), with no difference in the mean performance across all trials between the two groups (Student’s t-test, S vs. SD; p = 0.4977). The next day, by contrast, there was a significant difference between the S and SD groups in the mean performance across the first 3 trials of the second session (Student’s t test, S vs. SD; p = 0.0236), with the sleeping mice outperforming the sleep deprived mice (Fig. 1e; Supplementary Table 1). Thus, as in our previous study31, we found that sleep promotes the consolidation of the complex wheel task.
The balance between newly formed and lost spines is unaffected by sleep or learning
The first imaging session, which occurred at light onset (−24 h), confirmed that only a small number of pyramidal neurons in layer 2/3 were transfected, leading to sparse labeling of dsRed2 and SEP-GluA1 in the dendritic shafts (Fig. 1a). Moreover, spine size (dsRed2 expression) and SEP-GluA1 expression varied greatly among spines and followed a lognormal distribution (12 mice, 1530 spines; Fig. 2a; Supplementary Fig. 2), in agreement with previous data in mouse cortex21. DsRed2 and SEP-GluA1 expression were strongly positively correlated (Fig. 2b; Supplementary Table 2), consistent with the close link between spine size and synaptic strength; a weaker, but significant correlation was also present between SEP-GluA1 intensity in spines and in the adjacent shaft (Fig. 2b; Supplementary Table 2).
We first counted the number of spines newly formed or eliminated in each imaging session relative to the previous one, and found that both spine formation and spine elimination were rare and balanced at all times (formation vs. elimination, Wilcoxon signed-rank test; p > 0.3 for all time points in both S and SD mice) (Fig. 2c). Across the entire experimental period (48 h), persistent spines accounted for 98.8 ± 0.60% of all spines in S mice and for 98.7 ± 0.60% in SD mice (Fig. 2c).
Sleep leads to a net decrease in SEP-GluA1 expression
Next, we measured the normalized difference (ND = (xpost – xpre)/(xpost + xpre)) in SEP-GluA1 expression in each spine before and after 7 h of sleep in the absence of any motor training (pre-learning sleep, −24 h to −17 h). We applied a linear mixed effect (LME) model that used time as a categorical fixed effect, and spine, dendrite, and mouse as random effects (see “Methods”). Across all spines, we found a significant decrease in the mean SEP-GluA1 expression after sleep (−24 h > −17 h, p = 0.00003, Fig. 2d, e; Supplementary Table 3). We next subdivided all spines in 3 groups—up, down, no change—based on their ND after sleep as compared to before sleep. Using a threshold of ±0.15 ND (equivalent to a post/pre ratio >135% and <74%, respectively), we found that 17.9% of spines (per mouse) were down after sleep, significantly more than the percentage of spines that were up (12.8%; paired t-test; p = 0.0120) (Fig. 3a). Similar results were found when other ND thresholds were used (±0.2 ND, 10.9% down and 7.7% up, paired t test; p = 0.0386; ±0.1 ND, 26.5% down and 18.8% up, paired t-test; p = 0.0048; Supplementary Table 4). We also classified each of the 56 dendritic branches as up, down, or same, based on the number of up or down spines that it contained, to determine whether the described changes in spines were restricted to some dendritic branches (4-6 dendrites/mouse; 27.3 ± 14.2 spines/dendrite, mean ± std). Independent of ND threshold, after sleep there were roughly twice as many branches down as there were branches up, and together they accounted for the great majority of dendrites (±0.15 ND: 31 down and 17 up; ±0.2 ND: 30 down and 18 up; ±0.1 ND: 37 down and 13 up) (Fig. 3b). Spines were also subdivided in quintiles and ranked in strength based on the average between post-sleep SEP-GluA1 expression (−17 h) and pre-sleep SEP-GluA1 expression (−24 h). Rankings were calculated on the mouse level and based on the average of −24 h and −17 h (as opposed to solely −24 h) to mitigate any potential effects of regression to the mean (Supplementary Fig. 3)32. We found that both up and down spines could occur in any quintile (Fig. 3c).
The log-normal distribution of spine SEP-GluA1 expression present before sleep was maintained after sleep (−24 h and −17 h, Supplementary Fig. 4a). Because log-normal distributions are thought to emerge from multiplicative dynamics18, we tested whether the changes in SEP-GluA1 expression after sleep were proportional to the expression of SEP-GluA1 before sleep, and found that this was the case (Supplementary Fig. 4b). Consistent with the result reported by22, spine SEP-GluA1 expression before sleep (−24 h) was also negatively correlated with the ratio between GluA1 levels after sleep and GluA1 levels before sleep (Supplementary Fig. 4b’, left panel). The changes in spine SEP-GluA1 intensity after sleep were positively correlated with the changes in the intensity of spine dsRed2, but not with the changes in the intensity of shaft SEP-GluA1 (Supplementary Fig. 5a).
Learning leads to a net increase in SEP-GluA1 expression
We then applied an LME model to assess the effects of motor learning, using again time as a categorical fixed effect, and spine, dendrite and mouse as random effects (see “Methods”). SEP-GluA1 expression in the spines was compared across 24 h, the first day without motor learning and the next day immediately after the first training session in the complex wheel task (−24 h to 0 h). Mice were compared at the same time of day (light onset) to rule out effects due to time of day and sleep/waking behavior. We found a significant increase in mean SEP-GluA1 expression of spines after motor learning (ND 0 h > −24 h, p = 0.00004, Fig. 2e; Supplementary Table 3). Opposite to the results after pre-learning sleep, the percentage of spines up after training significantly outnumbered that of the spines down (±0.15 ND, 19.5% up and 13.4% down, p = 0.0097; ±0.2 ND, 13.5% up and 8.9% down, p = 0.0006; ±0.1 ND, 28.4% up and 22.4% down, p = 0.0476; Supplementary Table 4) (Fig. 3d). There were also roughly twice as many dendritic branches up as there were down, and together they accounted for most branches (±0.15 ND: 15 down and 33 up) (Fig. 3e), suggesting that the effects of motor learning, like those of sleep, were widespread. Up and down spines occurred in all quintiles (Fig. 3f).
The changes in SEP-GluA1 expression after training were proportional to the expression of SEP-GluA1 before training, in line with the results before and after sleep (Supplementary Fig. 4c). Moreover, the changes in spine SEP-GluA1 intensity after learning were positively correlated with the changes in the intensity of spine dsRed2 (Supplementary Fig. 5b).
A net, post-learning decrease in SEP-GluA1 occurs only with sleep
Next, we assessed changes in AMPA receptor plasticity and spine size when training in the complex wheel task was followed by sleep or sleep deprivation. Specifically, we asked whether the sleep-dependent decline in mean SEP-GluA1 expression observed in the spines during pre-training sleep also occurred in mice that slept after the first training session, but not in mice that were kept awake. For this analysis, we compared the third imaging sessions immediately after training (0 h), with the fourth imaging session 7 h later (7 h) (Fig. 2d, right panels). After the 0 h measurement, half of the mice were allowed to sleep (S), while the other half were kept awake (SD). We found a significant interaction between time and condition (likelihood ratio test: p = 0.0238; Supplementary Table 3). Post-hoc comparisons showed that mean SEP-GluA1 expression in the spines decreased after sleep but not after sleep deprivation (ND 0 h > 7 h, S mice, p = 2.2e−6; SD mice, p = 0.202; Fig. 2e). After post-learning sleep the number of down spines significantly outnumbered that of up spines (±0.15 ND, 20.3% down and 12.3% up, p = 0.0349; ±0.2 ND, 12.4% down and 7.7% up, p = 0.0810; ±0.1 ND, 30.2% down and 19.9% up, p = 0.0450; Supplementary Table 4) (Fig. 3g). Similar results were found at the dendrite level (Fig. 3h) and both up and down spines could occur in any quintile (Fig. 3i). By contrast, when sleep deprivation followed motor training, a similar number of spines went up or down (±0.15 ND, 15.6% down vs. 13.5% up, p = 0.3242; ±0.2 ND, 8.9% down vs. 8.2% up, p = 0.6754; ±0.1 ND, 25.6% down vs. 23.5% up, p = 0.5704; Supplementary Table 4) (Fig. 3j). Similar results were found at the dendrite level (Fig. 3k). Up and down spines were present in all quintiles (Fig. 3l). In both conditions (S, SD) the changes in spine SEP-GluA1 expression were proportional to the expression of spine SEP-GluA1 immediately after training (Supplementary Fig. 4d, e). Also, the changes in spine SEP-GluA1 expression correlated with the changes in the expression of spine dsRed2 (Supplementary Fig. 5c, d).
Only a minority (24%) of the spines that changed after post-learning sleep had also changed after pre-learning sleep (±0.15 ND; spines up 16/173 = 9.2%; spines down 39/267 = 14.6%). To compare the two types of sleep more directly we fitted an LME model with sleep, training, and their interaction as fixed effects (see “Methods”; before sleep = −24 h, 0 h; after sleep = −17 h, 7 h; no training = −24 h, −17 h; training = 0 h, 7 h) and tested for an interaction to determine if the overall effect of sleep was the same with or without training. We found no significant interaction (p = 0.7167; Supplementary Table 3), indicating that despite affecting largely different spines, the overall effect of sleep was the same with or without training.
The post-learning decrease in SEP-GluA1 is linked to offline consolidation
We focused next on max spines, defined as those that underwent the largest increase in SEP-GluA1 expression after learning (ND > 0.2 between 0 h and −24 h; p = 6.5e−10; max spines as % of all spines = 13.5 ± 4.1%, 207/1530; mean ± sd; range per mouse = 6.3–20%; Supplementary Fig. 6), while all the remaining spines were defined as “other” spines (Supplementary Fig. 6). The underlying assumption was that at least some of the max spines are related to learning. In line with this, the max spines maintained high SEP-GluA1 levels 7 h as well as 24 h after the first training session, our last imaging timepoint (Fig. 4a). In the other spines, by contrast, SEP-GluA1 levels did not change in SD mice but decreased in S mice at 7 h as compared to −24 h (Fig. 4b). To further test the hypothesis that max spines remain potentiated after learning while fully correcting for regression to the mean effects, we fitted an LME model with time (7 h and 24 h), learning, and their interaction as fixed effects, and dendrite as a random effect. We found no significant interaction between time and learning (Supplementary Table 3), indicating that the difference between max and the other spines persisted at 7 h and 24 h. Finally, to further test the link between max spines and learning we took advantage of a minimal training control. We used the second training session, in which mice performed the same number of trials but there was limited new learning (Fig. 1d). Consistent with some of the max spines being linked to learning, there were significantly fewer spines with ND > 0.2 between 0 and +24 h (second training session) than between −24 h and 0 (0–24 h = 154, 10% vs −24 h-0 = 207, 13.5%; p = 0.0386).
The max spines remained potentiated after the first training session despite losing some SEP-GluA1 in the first 7 h after learning (Fig. 4a). These changes occurred in both S mice and SD mice, indicating that sleep has no specific effect on the max spines. In the other spines, however, SEP-GluA1 levels decreased after the first training session if mice were allowed to sleep but not if they were kept awake (Fig. 4b). Thus, sleep may still provide a relative advantage to the max spines by weakening all the remaining spines. To test this hypothesis we computed the difference in SEP-GluA1 expression between time 0 h (immediately after learning) and time 7 h (after S or SD) for each spine and fitted an LME model for this difference with condition, learning, and their interaction as categorical fixed effects, and dendrite and mouse as random effects. Using a likelihood ratio test, we found a significant interaction between condition and learning (p = 0.04396; Supplementary Table 3). Specifically, after sleep max spines were, in relative terms, in a stronger position than after sleep deprivation, because the expression of SEP-GluA1 decreased in the other spines after sleep but not after sleep deprivation (Fig. 4c). Note that the decrease in SEP-GluA1 expression in the max spines (Fig. 4a) may have been due, at least in part, to regression to the mean effects, even if we applied a correction for these effects33. Crucially, however, the significant interaction that we found was not confounded by any residual effect due to regression to the mean, which would affect the sleep and the sleep deprivation condition to the same extent.
We then asked whether the relative advantage afforded by sleep applied to all max spines, or to those more likely to be related to learning. We found that the relative advantage was also present in the subset of spines with ND > 0.2 both between 0 h and −24 h and between 0 h and −17 h (likelihood ratio test, p = 0.0328; Supplementary Table 3). This was not true for the subset of spines with ND > 0.2 between 0 h and −17 h but not between 0 h and −24 h (likelihood ratio test, p = 0.84; Supplementary Table 3). In this subgroup the increase in SEP-GluA1 expression may be linked to circadian, stochastic, or other factors rather than to learning.
Finally, we found that performance at the beginning of the second session, a measure of offline consolidation, was negatively correlated with the change in SEP-GluA1 expression between 0 h and 7 h, when considering all spines (r = −0.6406; p = 0.0248; Fig. 4d) or just the other spines (r = −0.5946, p = 0.0414; max spines: r = −0.3924, p = 0.2071). Thus, performance was low in mice that showed a net increase in spine SEP-GluA1 expression at 7 h (positive ND at 7 h) and high in mice with a net decrease in spine SEP-GluA1 expression (negative ND at 7 h).
Up spines during sleep are best explained by spontaneous periods of wake
Our results show that, for a majority of spines, SEP-GluA1 expression went up during wake and down during sleep. However, a minority of spines showed an increase of SEP-GluA1 expression during nominal sleep periods. We note, however, that the percentage of wake during these nominal sleep periods was on average 36%, higher than in our previous study21, and possibly a consequence of the experimental paradigm that required the mice to undergo several repeated imaging sessions across 48 h. Therefore, it is an open question whether the up spines observed after the nominal pre-learning sleep period should be attributed to the majority of sleep epochs or to the intervening minority of wake epochs, especially if these occurred during the last few hours before imaging. To try to distinguish between these possibilities we evaluated two different models for the effects of sleep. Fitting the models took into account the proportion of spines that increased (ND > 0.15) and decreased (ND < −0.15), ensuring that the models capture the behavior of individual spines and not just population level statistics. The first model was a sleep-dependent potentiation model, according to which some spines are downscaled during sleep while others are upscaled, combined with an additive independent noise source. This model captures the hypothesis that an increase in SEP-GluA1 intensity of some spines is a specific effect of sleep. The second model was an intervening-wake potentiation model, according to which spines are downscaled during sleep, but some spines are upscaled due to intervening wake epochs, again combined with an additive independent noise source. Using a similar number of free parameters (5 for the sleep-dependent potentiation model; 4 for the intervening-wake potentiation model), the two models accounted equally well for the mean, variance and correlation of the SEP-GluA1 intensities before and after sleep (−24 h to −17 h; 3.39% relative error for the sleep-dependent potentiation model, 3.26% relative error for the intervening-wake model; Supplementary Table 5). However, the intervening-wake model accounted better for upscaling and downscaling behavior in each quintile (relative error, 2.22% for wake-noise model; 4.32% for upscaling model) (Supplementary Fig. 7). Specifically, while both models replicated the overall proportion of spines that scaled up or down, the sleep-dependent potentiation model overestimated the number of small spines that scaled and underestimated the number of large spines that scaled (Supplementary Fig. 7).
Discussion
In this study, we assessed the effects of learning and sleep on the strength of excitatory glutamatergic synapses by measuring the surface expression of GluA1-containing AMPA receptors on dendritic spines in the superficial layers of the mouse primary motor cortex. Motor training resulted in a net increase in spine-surface GluA1 expression, consistent with a net increase in synaptic strength, while sleep had the opposite effect. Both the average change in spine SEP-GluA1 expression and the percentage of spines undergoing learning-related and sleep-related changes are comparable to what was reported in previous studies that measured the same marker in response to sensory experience, motor training, and behavioral state22,34,35. Moreover, the upregulation of spine SEP-GluA1 levels after training in the complex wheel task is in line with previous work showing that the acquisition of motor skills leads to long-term potentiation of cortical connections, to the formation and enlargement of spines, as well as to increased firing of task-related neurons in primary motor cortex19,25,35–38. After training, as after sleep, the changes occurred in most dendritic branches, but we do not know whether these results would apply to the whole dendritic tree, nor do we know whether they would extend to the deep layers.
The net decrease in spine-surface GluA1 expression after sleep, on the other hand, is consistent with a net decrease in synaptic strength and in line with ultrastructural evidence. Specifically, in a previous study using serial block-face electron microscopy, we reconstructed ~7000 synapses in primary motor and sensory cortex of adolescent mice (postnatal day 30) and showed that the axon–spine interface, the direct area of contact between pre-synapse and post-synapse, decreases on average by 18% after 6–8 h of sleep relative to 6–8 h of either spontaneous waking or sleep deprivation using novel objects21. A subsequent study in which we reconstructed 3750 spines in primary motor cortex of mouse pups (postnatal day 13) found a net average decline of more than 30% in the size of the axon–spine interface after sleep relative to sleep deprivation39. Since structural and functional plasticity are correlated15,20, these ultrastructural findings strongly suggested that in the immature and adolescent cortex most synapses weaken after several hours of sleep. The present results confirm the ultrastructural demonstration that sleep leads to a net reduction of synaptic strength using selective molecular markers and extend it to the adult primary motor cortex.
We also found no net change in spine SEP-GluA1 levels between time 0, immediately after motor training, and the end of the sleep deprivation 7 h later, suggesting that the exposure to novel objects could not induce further synaptic strengthening in the area where learning-induced synaptic potentiation had just occurred. Previously, we had found that in the rat barrel cortex long-term potentiation could be induced by electrical stimulation after a few hours of sleep but not after a few hours of sleep deprivation40. After short periods of sleep deprivation the induction of long-term potentiation is often impaired, while the induction of long-term depression is spared or promoted (reviewed in ref. 41). Together, these results point to a limited daily capacity of the cortex to undergo synaptic strengthening unless sleep occurs.
We have proposed that the reestablishment of synaptic homeostasis through synaptic down-selection may be a central function of sleep, which may be thus considered as ‘the price’ the brain pays for plasticity during wake6. So far, sleep-dependent synaptic renormalization had been demonstrated following periods of wake in enriched environments that promote plasticity throughout the brain21,39,40. However, sleep-dependent synaptic renormalization should also occur in the cortical circuits involved in learning a specific task. Here we tested this prediction, by focusing on the superficial layers of primary motor cortex, where plastic changes in response to motor skill learning are well characterized25,31,35–38. We found that the spine-surface expression of the GluA1-containing AMPA receptors does in fact increase in the superficial layers of primary motor cortex after training in the complex wheel task, as was also the case after learning a reaching task35. Crucially, we also found that the spine-surface expression of the GluA1-containing AMPA receptors declines during post-learning sleep and does so to an extent comparable to that occurring when sleep is not preceded by motor training. Thus, at least in the superficial layers of primary motor cortex, the results are consistent with sleep leading to an overall decline in synaptic strength also in networks that are directly engaged in learning. Whether this result generalizes to other layers or areas of the adult brain is unknown, but we predict that the need to rebalance overall synaptic strength during sleep should apply to all synapses undergoing a net increase in synaptic strength due to learning. Note also that we assessed the overall, net effect of several hours of sleep but could not determine whether NREM sleep and REM sleep played similar, different, or even opposite effects on synaptic strength, as suggested8.
In these experiments, both the number and the strength of the spines could be measured with single spine resolution. At each time point there was a balance between spine formation and elimination, consistent with the previous evidence42. Notably, spine density did not change 24 h after learning, or after 7 h spent mainly asleep or awake. On the other hand the strength, as indexed by the spine-surface expression of GluA1-containing AMPA receptors, increased after learning and decreased after sleep. Furthermore, these changes were positively correlated with changes in spine size, as measured by the structural marker dsRed2 (in line with previous studies using the same markers34,35. Thus, sleep-dependent plastic changes in the excitatory synapses of the adult cortex were mediated by changes in spine size and SEP-GluA1 expression, but not in spine number. By contrast, in the adolescent cortex spine formation and spine elimination happen at all times, independent of behavioral state, but sleep and wake significantly bias spine turnover, with more spines being eliminated than formed after several hours of sleep, and the other way around after wake43,44.
Another recent study applied two-photon laser-scanning microscopy to track spine SEP-GluA1 expression in the primary cortex of young adult mice22. In that study, GluA1 expression was measured for 3 consecutive days after the first 4 h of the dark phase, when mice are likely to be awake, and after the first 4 h of the light phase, when mice are likely to be asleep, yielding an average light/dark ratio in SEP-GluA1 expression. The ratio was smaller than one in 58% of the 383 spines that were analyzed and greater than one in the remaining 42%22, in line with the current results that during sleep the spines that lost some surface GluA1-containing AMPA receptors outnumbered those that showed the opposite change. However, this study did not attempt to control for the contribution of regression to the mean and for the role of wake periods in accounting for the up spines. In the same study, a negative correlation was observed between spine-surface GluA1 expression during wake and the sleep/wake ratio in GluA1 levels. A negative correlation was also present in our data, but with no indication of size-dependence and even for completely independent observations (Supplementary Fig. 3b’, right panel). In other words, our data do not support the hypothesis that the sleep-dependent decline in SEP-GluA1 expression occurs mainly or exclusively in the largest spines. To the contrary, small spines were more likely to change than big spines, both after learning and after sleep. This result is consistent with ultrastructural findings in adolescent mice, in which the sleep-dependent decrease in the size of the axon–spine interface occurred in small and medium size synapses but not in the largest ones21. Numerous previous studies have also reported that small spines change their shape and size quickly, while large mushroom spines are more stable15,45,46.
Sleep-dependent synaptic down-selection may offer a relative advantage to the subsets of synapses involved in learning due to synaptic tags or a more coherent reactivation during sleep, which may allow these synapses to escape the overall downregulation6,14. Another possibility is that the reactivation of synapses causally involved in learning during wake leads to their further strengthening during sleep10–12. A direct test of these mechanisms is challenging, because it requires the ability to identify task-related synapses and measure changes in their strength in vivo after learning and after sleep. Here we attempted to address this point by focusing on the max spines, defined as those whose levels of surface GluA1 expression increased the most immediately after the first training session. We assume that at least a subset of them was specifically linked to skill learning. This assumption is supported by the findings that the max spines remained potentiated after learning, as indicated by high levels of SEP-GluA1 24 h after the first training session. Furthermore, the difference in SEP-GluA1 expression between max and other spines, which was present immediately after learning, persisted 24 h later, after the second training session. Also, compared to the first training session, there were fewer max spines after the second training session, when little additional learning occurred. Because this was our last imaging timepoint, we do not know for how long max spines maintained high GluA1 expression. In a recent study using the reaching task, SEP-GluA1 levels increased in 8.3% of all spines and remained elevated 1 week after the last day of training35. Of note, we also found that the relative advantage afforded by sleep only applied to the max spines more likely to be involved in learning. However, more direct evidence is needed to prove that max spines are specifically linked to learning, and that the effects of sleep are specific to the learned spines. Note that the levels of SEP-GluA1 in the max spines decreased to some extent after both sleep and sleep deprivation but, even after applying a statistical correction33, it is possible that regression to the mean effects contributed to this decrease (spines that went up the most are more likely to go down). Crucially, however, after sleep the max spines were, in relative terms, in a stronger position than after sleep deprivation, because the other spines lost some GluA1 only after sleep. This result is not confounded by any residual effect due to regression to the mean, which would affect the sleep and the sleep deprivation condition to the same extent. Finally, the analysis of max and the other spines assumes the presence, in both spine groups, of a linear relationship between the intensity of the SEP signal and the expression levels of SEP-GluA1. While this is difficult to prove, there is no reason to think that any deviation from linearity, if present, would differentially impact the S and SD groups.
At the beginning of the second training session all mice remembered well how to perform the task. However, mice allowed to sleep performed significantly better than sleep deprived mice, consistent with previous findings in rodents and humans5. Max spines are likely to reflect successful skill learning, and indeed they remained strong post-learning in both S and SD mice. On the other hand, max spines did not differ between the two groups, and their level was not correlated with performance at the beginning of the second training session, suggesting that they are not directly involved in the performance advantage afforded by post-learning sleep. Conversely, good performance in the second session correlated with the downregulation of SEP-GluA1 after the first learning session in all spines or in the other spines, which were the great majority of spines. Together, these findings suggest that sleep benefits memory consolidation by increasing the signal-to-noise ratio, and does so by decreasing the noise (other spines) rather than by increasing the signal per se (max spines). In other words, the advantage provided by sleep seems to depend on its weakening effect on the other spines, rather than on a direct effect on the max spines. In a rat model of neuroprosthetic learning, the firing of a small group of task-related neurons whose activity was causally linked to learning the task increased slightly after post-learning sleep, whereas firing decreased substantially in a larger set of task-unrelated neurons47,48. Future experiments in which both neuronal and synaptic activity are measured in the same animal after learning and post-learning sleep could in principle determine whether the weakening effect of sleep on the other spines can account for the effects on neuronal firing. Similar experiments could also clarify why visual deprivation leads to an early, acute drop in the firing of cortical neurons followed by a slow recovery phase, during which a net increase in neuronal activity is confined to the wake period and does not occur during sleep49.
Previous studies have shown that although newly formed spines are in general significantly less stable than pre-existing spines, they are more likely to stabilize after motor learning, especially when training continues for several days37,50. In young mice the percentage of new spines formed after a single training session correlated with the number of successful reaches during the same session37. Moreover, in both young and adult mice the percentage of new spines that persisted after 7–10 days of repetitive training correlated with skill retention and performance improvement over the course of training50,51. Together, these studies were able to link the formation of new spines with learning and skill refinement, but did not test for any specific role of sleep. Other experiments found that the loss of NREM sleep after motor training reduced spine formation17, and the post-training loss of REM sleep decreased the elimination of new spines52, but did not test whether the sleep-dependent changes in spine turnover correlated with the changes in task consolidation. Here we confirmed that sleep promotes the consolidation of the complex wheel task and found that this effect depends on the extent to which the other spines are weakened during post-learning sleep. We speculate that, because of their relative advantage, the max spines may have been in the best position to undergo further strengthening, as indexed by SEP-GluA1, during the second training session.
While the majority of spines showed a decrease in SEP-GluA1 expression during pre- and post-learning sleep periods, a minority of spines showed an increase in SEP-GluA1 expression. These up spines may result from the sleep-dependent potentiation of a select group of synapses. Alternatively, since mice were awake on average 36% of the time during the 7 h of sleep opportunity, up spines may result from synaptic potentiation occurring during the intervening periods of wake. Note that the expression of SEP-GluA1 reflects the turnover of surface GluA1-containing AMPA receptors, which can occur rapidly28,29, hence it may be more sensitive to short periods of wake than, say, ultrastructural synaptic markers such as the axon–spine interface. The current experimental paradigm cannot provide direct evidence in support of either sleep-dependent potentiation or intervening-wake potentiation, because the sleep group was not always asleep. Our statistical modeling showed that the intervening-wake potentiation model matched closely the proportion of both up and down spines and did so across all quintiles. By contrast, the sleep-dependent potentiation model overestimated both up and downscaling in small spines and underestimated scaling in large spines. We recognize, however, that these results cannot be taken as direct evidence in favor of the intervening-wake potentiation model.
The current results support the hypothesis that sleep is needed to reduce overall synaptic strength following learning-induced net synaptic potentiation, raising the question of which homeostatic mechanisms are involved53. Several such mechanisms have been identified in response to sensory deprivation, and their contribution may differ depending on the experimental model. For instance, monocular and whisker deprivation trigger early changes in excitation/inhibition followed by global synaptic upscaling54, while the recovery of synaptic strength after dark rearing occurs through metaplasticity, by sliding the threshold to induce Hebbian, synapse-specific plasticity in favor of long-term potentiation55. Global downscaling, in which all synapses decrease proportionally to their size, is an attractive candidate for sleep-dependent synaptic weakening and could result from the neuromodulatory changes that occur during sleep, including low levels of catecholamines, which span the entire brain and promote synaptic depression6. However, we found that at the population level, the decrease in synaptic size during sleep is widespread but not global in cortex, sparing on average the largest synapses21. More crucially, sleep promotes memory consolidation as well as memory integration and gist extraction, suggesting at least some specificity in its synaptic effects. Such specificity could arise by a process of smart down-selection by which some of the molecular changes that occur during learning and the induction of synaptic potentiation, could make some synapses more resistant to depression. Candidate mechanisms include the phosphorylation of GluA1 at Ser845, which makes these receptors resistant to downscaling56, and/or of GSK-3beta57. Other mechanisms could also help confining synaptic strengthening during wake. For instance, synaptic inhibition is upregulated during the light/sleep period in visual and prefrontal cortex and hippocampal CA1, while synaptic excitation is greater at night, during the major wake period58. Moreover, short sleep deprivation also increases the expression of the NR2A subunit of the NMDA receptor, a change that facilitates long-term depression40,59 and depotentiation60. Independent of the specific mechanisms involved, these results demonstrate that sleep-dependent synaptic renormalization is not confined to specific developmental periods but extends to the adult brain.
Methods
Animals
C57BL/6J mice (Jackson Laboratory) were maintained on a 12 h light/12 h dark cycle with food and water available ad libitum (21–23 °C, 30–40% relative humidity). All animal procedures and experimental protocols followed the National Institutes of Health Guide for the Care and Use of Laboratory Animals and were approved by the licensing committee. Animal facilities were reviewed and approved by the institutional animal care and use committee (IACUC) of the University of Wisconsin-Madison and were inspected and accredited by the association for assessment and accreditation of laboratory animal care (AAALAC).
In utero electroporation (IUE)
Embryos from timed pregnant C57BL/6 mice were transfected by IUE at embryonic day 14.5 (E14.5), in order to restrict expression to cortical layers 2/3 excitatory neurons. Under isoflurane anesthesia (2% induction, 1–1.5 % maintenance in 100% O2) ~1 μl of plasmid DNA solution containing the marker Fast Green (0.1 μg/μl) was pressure injected into the lateral ventricle in the right hemisphere of each embryo through a pulled-glass pipette. The DNA solution contained SEP (super-ecliptic pHluorin)-GluA1, myc-GluA2, and dsRed2 at a 4:4:1 ratio (2, 2, 0.5 μg/μl). GluA2 was included to approximate the natural GluA1/GluA2 ratio in transfected cells. After the DNA injection, 6 pulses of 25–26 V (50 ms on, 950 ms off at 1 Hz) were delivered, targeting the fronto-parietal cortex, using 5-mm tweezer electrodes connected to a square wave electroporator (CUY21, π Protech).
Immunostaining
Adult mice (3–4 months old) with expression in primary motor cortex were transcardially perfused under deep anesthesia (2% isoflurane in oxygen) with 4% paraformaldehyde (PFA) with a 24-h post-fix in PFA. Brains were subsequently sectioned with a vibratome (Leica) into 40 μm thick coronal sections. Sections were washed with PBS (pH 7.4) and treated with a blocking solution (PBS with 5% NGS, 1% BSA) for 1 h, incubated overnight in the blocking solution containing mouse anti-GluA1 antibody conjugated to Alexa Fluor 647 (1:50, Santa Cruz Biotechnology, sc-55509 AF647) at 4 °C, washed three times with PBS, mounted, and air-dried. 512 × 512 pixels (298 µm × 298 µm) Z-stack images with 1 µm Z-step were acquired with a confocal microscope (Olympus BX61W1, objective lens; UPlanFL N40x, NA 1.30). Based on Alexa 647-GluA1 signal (700/75 emission filter), regions of interest (ROIs) were manually drawn for 28 SEP-GluA1 positive (525/70 emission filter) cell bodies and 28 nearby SEP-GluA1 negative cell bodies. Average intensity was summed across best ±1 Z planes (Supplementary Fig. 1).
Sleep/waking behavior and sleep deprivation
Sleep and waking states were determined by continuous monitoring with infrared cameras (OptiView Technologies) starting at least 24 h before the first training session. This method cannot distinguish NREM sleep from REM sleep, but it consistently estimates total sleep time with ≥90% accuracy43. Motor activity was quantified by custom-made video-based motion detection algorithms (Matlab)61. Sleep deprivation was enforced by exposure to novel objects, in which toys and other objects of different shape, color, and texture were introduced in the cage. Mice were stimulated only when they appeared drowsy, assumed a typical sleeping position, and/or closed their eyes. Mice were never disturbed when they were spontaneously awake, feeding or drinking. Mice were adapted to the procedure for several days before the experiment. It is well established that this method almost completely abolishes sleep for up to 7 h, with mice spending asleep only 1–5% of the entire sleep deprivation period31,62,63.
Complex wheel task
The complex wheel task was previously optimized in our laboratory31. Specifically, we used a modified accelerating rotarod system (EZRod, Omnitech Electronics, Inc.) equipped with a wheel in which 20 of the original 50 rungs have been removed, to generate 2 identical complex sequences of rungs in one rotation. Mice were handled for 3 days in the room used for two-photon microscopy (1–2 min/day) before receiving two sessions of training spaced 24 h apart. Mice did not receive any habituation or pretraining using the complex wheel or a regular wheel. Each session included 20 trials (with a 5 min rest after the first 10 trials) and occurred during the last hour of the dark period. At the beginning of each session the mouse was placed onto the stationary complex wheel, and acceleration increased until the mouse fell off the wheel (0–40 rpm in 10 min; acceleration = 223.3 cm/min2). Time and speed when mice fell off the wheel were recorded and used to assess performance. After the first 10 trials, mice were returned to their home cage for a 5-min rest period, during which they mainly groomed but never slept. At the end of the first session mice were imaged using two-photon microscopy and then returned to the home cage and either allowed to sleep, or sleep deprived for 6 h. The second training session occurred 24 h later.
Craniotomy and two-photon laser scanning microscopy
Pups born after in utero electroporation (males and females) underwent stereotaxic surgery at the age of P56–P78 under isoflurane anesthesia (2% induction, 1–1.5% maintenance in 100% O2) to make a 3 mm diameter craniotomy and implant a round glass coverslip over the primary motor cortex in the right hemisphere. Cranial windows were centered at AP: 0–0.5 mm and LM: 1.8–2 mm from bregma. Acquired imaging windows were centered at AP: 0.62 ± 0.30 mm, LM: 1.47 ± 0.037 mm for S mice and AP: 0.60 ± 0.23 mm LM: 1.47 ± 0.13 mm for SD mice (mean ± SEM, n = 6 mice for each group). A custom-made metal head bar was glued to the skull with dental cement for head-fixation during imaging. Mice were housed individually after surgery. Two to three weeks after surgery, in vivo imaging was performed under isoflurane anesthesia (2% induction, 1.5% maintenance in 100% O2) for ~30 min per session with a two-photon microscope (Ultima, Prairie Technologies/Bruker, Middleton, WI) and a Ti:Sapphire laser (Cameleon Coherent, Coherent Inc., Santa Clara, CA) tuned to the excitation wavelength of 910 nm. Mice were run in separate experiments, alternating between the two experimental conditions (sleep, sleep deprivation) as much as possible. Images were taken using a water immersion ×60 objective (0.8 numerical aperture, Olympus, LUMPlanFI/IR, Tokyo, Japan) at <50 mW laser power at back aperture. Image stacks from the pial surface to a depth of 70–100 μm were acquired at 1024 × 1024 pixels with a voxel size of 0.12 μm in x and y and a z-step of 1 μm. Each plane was scanned 4 times for frame average with 1.2 μs dwell time per pixel. The same target area was imaged in each session. Although we cannot completely rule out that a few of the spiny dendrites that we imaged did not belong to layer 2/3 excitatory neurons, we think this is very unlikely because electroporation was precisely timed in order to target this cell group. Moreover, among the non pyramidal inhibitory neurons, Martinotti cells have the highest number of dendritic spines but their somas are rare in layer 1 and in the most superficial part of layer 2, and their spine density is ~0.3/μm, lower than in pyramidal neurons64. The average spine density of the dendritic branches that we imaged was ~0.5/μm.
Image analysis
For pre-processing, each z-stack was aligned and registered using the MultiStackReg plugin of ImageJ65. As previously described34, manually marked spine heads using the structural dsRed2 channel were automatically connected to each traced dendrite, using a custom-written Map Manager software (http://robertcudmore.org/) on IGOR Pro (Wavemetrics, Lake Oswego, OR), kindly shared by Dr. Robert Cudmore (University of California, Davis). Spines included in the analysis had to have more than 3 pixels (>0.36 μm) width and protrude from the dendritic backbone by more than 6 pixels (>0.72 μm) and be primarily parallel to the imaging plane. Spines that were present from one time point to the next were categorized as persistent, spines that were present at a given time point but absent at the preceding time point were categorized as formed and spines that were present at a given time point but not in the next were categorized as eliminated. For the intensity analysis, only spines that could be identified in all sessions were considered. Each spine was assigned to three regions of interests (ROIs): spineROI, shaftROI, and backgroundROI. The spineROI enclosed the spine head and did not include pixels within the radius of the dendritic backbone. The width of each spineROI (0.5–1.0 μm) was manually adjusted to avoid contamination by nearby spines. We carefully examined the z-planes above and below the spineROIs to confirm that the intensity values were not contaminated by signal from spines protruding out of the imaging plane. The shaftROI was constructed from the backbone line and radius of the dendrite, centered on each spine and expanded (±2 μm) along the dendrite. At nearby background region, same-shape ROIs for the spine and the shaft were defined for background subtraction. All ROIs extended in z-direction up and down (±1 plane) from the best imaging plane manually selected based on the dsRed2 channel. To measure the spine intensity for the green/SEP-GluA1 channel, the same three ROIs for each spine were applied to the SEP-GluA1 channel. The backgroundROI for each channel was separately translated in x/y to a nearby region of the image to minimize the background intensity. To compare intensity values across imaging sessions, after background subtraction, the spine SEP-GluA1, spine dsRed2, or adjacent shaft SEP-GluA1 signals were normalized to the mean of the adjacent shaft dsRed2 signal. Representative images shown in the figures were median filtered, upscaled, and contrast enhanced. For 3D visualization, image stacks were acquired at 1024 × 1024 pixels with a voxel size of 0.19 µm in x and y and a z-step of 3 µm. In Fig. 1a, a representative stack was 3D-reconstructed using the 3D viewer plugin66 in the Fiji image analysis software67.
Statistical analysis
Statistical analysis of SEP-GluA1 intensities was performed using linear mixed effect (LME) models68 (Supplementary Table 3). For the current work, LME models are preferred over traditional repeated measures ANOVA because of their ability to handle unbalanced designs (e.g., differing numbers of spines sampled from each mouse), and nested random effects (spine is nested in dendrite, which is nested in mouse). However, analysis using repeated measures ANOVA yields similar results throughout. Maximum likelihood estimation of model parameters was performed in R using the lme4 package69. Significance of main effects and interaction terms was done using likelihood ratio tests (LRT), and Cohen’s f2 was used as a measure of effect size. For significant effects, post-hoc tests with p-values corrected for multiple comparisons were performed using the glht() function in the multcomp package70. Analysis was performed using four separate models, and all models used a square-root transformation of the SEP-GluA1 intensity to stabilize variance. After the square-root transformation, diagnostic plots of the residuals were used to validate the normality and constant variance assumptions.
For the first model (effects of sleep or learning), the response variable was the SEP-GluA1 intensity (Supplementary Table 3). The model contained time (with levels −24 h, −17 h, and 0 h) as a categorical fixed effect, and mouse, dendrite and spine as random effects. For these times, there is no difference between the S and SD mice, thus no condition factor was included in the model. In this model we found a significant effect of time (LRT, p < 2.2e−16), and post-hoc comparisons found a decrease after sleep (−24 h > −17 h, p = 0.00003) and an increase after learning relative to pre-sleep (−24 h < 0 h, p = 0.00004) and post-sleep (−17 h < 0 h, p < 1e−16).
For the second model (effects of post-learning sleep or sleep deprivation), the response variable was again the SEP-GluA1 (Supplementary Table 3). The model contained time (with levels 0 h and 7 h) and condition (with levels S and SD) as categorical fixed effects, and mouse, dendrite and spine as random effects. We found a significant interaction between time and condition (LRT; p = 0.0238), and post-hoc comparisons found a significant decrease for the S condition (0 h > 7 h, p = 2.2e−6) but not for the SD condition (0 h = 7 h, p = 0.202).
For the third model (max spines), we used the difference in intensities (7 h–0 h) as the response variable. This model had condition (S and SD) and learning (max, ND > 0.2; other, ND < 0.2) and their interaction as categorical fixed effects, and dendrite and mouse as random effects. We found a significant interaction between condition and learning (LRT; p = 0.0440). The significance of the interaction term was robust to the choice of threshold, being significant (p < 0.05) or at least trending (p < 0.1) for most ND thresholds between 0.17 and 0.28 but not below 0.17, possibly because below that ND threshold the spines were not strongly affected by learning. For ND thresholds larger than 0.28 there were too few spines to reliably test the interaction. We found that the interaction was also significant if we defined the max spines to have ND > 0.2 relative to both −17 h and −24 h (p = 0.0328), but not if we defined the max spines to have ND > 0.2 relative to −17 h but not −24 h (p = 0.8411). To study the prolonged effects of learning, we extended this analysis by including time (7 h–0 h or 24 h–0 h) and its interaction with learning as categorical fixed effects. We found no significant interaction between time and learning (LRT; p = 0.4164), suggesting that the effect of learning is maintained after 24 h.
For the fourth model (comparison between pre-learning sleep and post-learning sleep), we used sleep (before sleep, −24 h and 0 h; after sleep, −17 h, 7 h), training (before training, −24 h and −17 h; after training 0 h and 7 h), and their interaction as categorical fixed effects, and dendrite and mouse as random effects. For this model, we only used the spines from the mice in the S condition. We found no significant interaction between sleep and training (LRT; p = 0.7167), suggesting that mean effect of sleep was the same with and without training.
Further statistical analyses (performance data, Supplementary Table 1; correlations, Supplementary Table 2; proportion of spines that change Supplementary Table 4) were performed using paired-sample t-tests, independent-sample t-tests, and one-sample t-tests as appropriate. All tests were two-sided, and normality was assessed graphically using qq-plots with no major departures. For all two-sample tests, Cohen’s d was used as a measure of effect size.
Sleep-dependent potentiation model and intervening-wake potentiation model
We evaluated two different models for the effects of sleep (−24 h to −17 h) on spine SEP-GluA1 intensity. The first model (sleep-dependent potentiation model) was a selective up/downscaling model with additive independent noise (normally distributed). The model had five parameters: the proportion of spines to upscale, the magnitude of upscaling, the proportion of spines that downscale, the magnitude of downscaling, and the variance of the independent noise. The second model (intervening-wake potentiation model) was a selective downscaling model with two noise sources, additive independent noise and additive size-dependent wake noise. The wake noise was generated by bootstrap sampling from the effect of pure wake (SD mice from 0 h to 7 h); to be size-dependent, the spines are divided into quintiles based on GluA1 intensity and the wake noise is sampled from the corresponding quintile of the SD data. This model has four parameters, the proportion of spines that downscale, the magnitude of downscaling, the variance of the independent noise and the variance of the size-dependent noise.
We used the observed GluA1 intensities at −24 h and −17 h to estimate the parameters of each model. Both models start by simulating a sample of spine SEP-GluA1 intensities at −24 h from a log-normal distribution with the mean and variance set to match the observed data. A sleep mechanism (either selective down/upscaling or selective downscaling with wake noise) is applied to each individual spine at −24 h to create a sample of intensities at −17 h. For each spine, we then compute the ND at −17 h relative to −24 h, and classify the spines as downscaled, upscaled, or no change. To evaluate the fit of the model, in the simulated data we compute the mean and variance of the intensities at −17 h, the correlation between spine intensity at −24 h and −17 h, and the proportion of spines that up/downscale (based on a threshold of ND = 0.15). For each quantity, we compare the value obtained by simulation with the value in the real sample by computing the relative error (relative error = (true value – estimated value)/true value) and then sum the relative errors. The parameters of each model were tuned numerically to minimize the total relative error of the model (Supplementary Table 5). Note that, by considering the proportion of spines that up/downscale, we ensure that the model captures the behavior of individual spines, not just simply population mean and variance.
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Supplementary information
Acknowledgements
Supported by NIH grants DP 1OD579 (G.T.), 1R01MH091326 (G.T.), 1R01MH099231 (G.T. and C.C.), 1P01NS083514 (G.T. and C.C.), Department of Defense W911NF1910280 (C.C. and G.T.), Human Frontier HFSP long-term fellowship LT000009/2017 and Japan-US Brain Research Cooperation Program grant (DM). We thank Robert H. Cudmore (UC Davis) for help with the Map Manager software and Richard L. Huganir and David J. Linden (Johns Hopkins U) for providing SEP-GluA1/myc-GluA1/dsRed2 plasmids and helping with spine imaging.
Source data
Author contributions
D.M. collected the data; D.M. and W.M. analyzed the data; D.M., G.T., and C.C. designed the experiments; D.M., W.M., G.T., and C.C. wrote the paper.
Data availability
Source data are provided with this paper. All relevant data are available from the authors upon reasonable request.
Code availability
Image analysis was performed using a custom-written Map Manager software (http://robertcudmore.org/) on IGOR Pro (Wavemetrics, Lake Oswego, OR), kindly shared by Dr. Robert Cudmore.
Competing interests
The authors declare no competing interests.
Footnotes
Peer review information Nature Communications thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Giulio Tononi, Email: gtononi@wisc.edu.
Chiara Cirelli, Email: ccirelli@wisc.edu.
Supplementary information
The online version contains supplementary material available at 10.1038/s41467-021-23156-2.
References
- 1.Goel N, Rao H, Durmer JS, Dinges DF. Neurocognitive consequences of sleep deprivation. Semin. Neurol. 2009;29:320–339. doi: 10.1055/s-0029-1237117. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Krause AJ, et al. The sleep-deprived human brain. Nat. Rev. Neurosci. 2017;18:404–418. doi: 10.1038/nrn.2017.55. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Della Monica C, Johnsen S, Atzori G, Groeger JA, Dijk DJ. Rapid eye movement sleep, sleep continuity and slow wave sleep as predictors of cognition, mood, and subjective sleep quality in healthy men and women, aged 20-84 years. Front. Psychiatry. 2018;9:255. doi: 10.3389/fpsyt.2018.00255. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Lowe CJ, Safati A, Hall PA. The neurocognitive consequences of sleep restriction: a meta-analytic review. Neurosci. Biobehav. Rev. 2017;80:586–604. doi: 10.1016/j.neubiorev.2017.07.010. [DOI] [PubMed] [Google Scholar]
- 5.Rasch B, Born J. About sleep’s role in memory. Physiol. Rev. 2013;93:681–766. doi: 10.1152/physrev.00032.2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Tononi G, Cirelli C. Sleep and the price of plasticity: from synaptic and cellular homeostasis to memory consolidation and integration. Neuron. 2014;81:12–34. doi: 10.1016/j.neuron.2013.12.025. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Frank MG, Cantera R. Sleep, clocks, and synaptic plasticity. Trends Neurosci. 2014;37:491–501. doi: 10.1016/j.tins.2014.06.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Niethard N, Burgalossi A, Born J. Plasticity during sleep is linked to specific regulation of cortical circuit activity. Front. Neural Circuits. 2017;11:65. doi: 10.3389/fncir.2017.00065. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Seibt J, Frank MG. Primed to sleep: the dynamics of synaptic plasticity across brain states. Front. Syst. Neurosci. 2019;13:2. doi: 10.3389/fnsys.2019.00002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Pfeiffer BE. The content of hippocampal “replay”. Hippocampus. 2020;30:6–18. doi: 10.1002/hipo.22824. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Joo HR, Frank LM. The hippocampal sharp wave-ripple in memory retrieval for immediate use and consolidation. Nat. Rev. Neurosci. 2018;19:744–757. doi: 10.1038/s41583-018-0077-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Giri B, Miyawaki H, Mizuseki K, Cheng S, Diba K. Hippocampal reactivation extends for several hours following novel experience. J. Neurosci. 2019;39:866–875. doi: 10.1523/JNEUROSCI.1950-18.2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Tononi G, Cirelli C. Sleep function and synaptic homeostasis. Sleep. Med. Rev. 2006;10:49–62. doi: 10.1016/j.smrv.2005.05.002. [DOI] [PubMed] [Google Scholar]
- 14.Tononi G, Cirelli C. Sleep and synaptic down-selection. Eur. J. Neurosci. 2020;51:413–421. doi: 10.1111/ejn.14335. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Holtmaat A, Svoboda K. Experience-dependent structural synaptic plasticity in the mammalian brain. Nat. Rev. Neurosci. 2009;10:647–658. doi: 10.1038/nrn2699. [DOI] [PubMed] [Google Scholar]
- 16.Harris, K. M. & Weinberg, R. J. Ultrastructure of synapses in the mammalian brain. Cold Spring Harb. Perspect. Biol.4, a005587(2012). [DOI] [PMC free article] [PubMed]
- 17.Yang G, et al. Sleep promotes branch-specific formation of dendritic spines after learning. Science. 2014;344:1173–1178. doi: 10.1126/science.1249098. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Loewenstein Y, Kuras A, Rumpel S. Multiplicative dynamics underlie the emergence of the log-normal distribution of spine sizes in the neocortex in vivo. J. Neurosci. 2011;31:9481–9488. doi: 10.1523/JNEUROSCI.6130-10.2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Hayashi-Takagi A, et al. Labelling and optical erasure of synaptic memory traces in the motor cortex. Nature. 2015;525:333–338. doi: 10.1038/nature15257. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Nishiyama J, Yasuda R. Biochemical computation for spine structural plasticity. Neuron. 2015;87:63–75. doi: 10.1016/j.neuron.2015.05.043. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.de Vivo L, et al. Ultrastructural evidence for synaptic scaling across the wake/sleep cycle. Science. 2017;355:507–510. doi: 10.1126/science.aah5982. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Diering GH, et al. Homer1a drives homeostatic scaling-down of excitatory synapses during sleep. Science. 2017;355:511–515. doi: 10.1126/science.aai8355. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Fox K. Anatomical pathways and molecular mechanisms for plasticity in the barrel cortex. Neuroscience. 2002;111:799–814. doi: 10.1016/S0306-4522(02)00027-1. [DOI] [PubMed] [Google Scholar]
- 24.Kida H, et al. Motor Training Promotes Both Synaptic and Intrinsic Plasticity of Layer II/III Pyramidal Neurons in the Primary Motor Cortex. Cereb. cortex. 2016;26:3494–3507. doi: 10.1093/cercor/bhw134. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Rioult-Pedotti MS, Friedman D, Donoghue JP. Learning-induced LTP in neocortex. Science. 2000;290:533–536. doi: 10.1126/science.290.5491.533. [DOI] [PubMed] [Google Scholar]
- 26.LeMessurier, A. M. et al. Enrichment drives emergence of functional columns and improves sensory coding in the whisker map in L2/3 of mouse S1. Elife8, e46321 (2019). [DOI] [PMC free article] [PubMed]
- 27.Jiang B, Trevino M, Kirkwood A. Sequential development of long-term potentiation and depression in different layers of the mouse visual cortex. J. Neurosci. 2007;27:9648–9652. doi: 10.1523/JNEUROSCI.2655-07.2007. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Roth RH, Zhang Y, Huganir RL. Dynamic imaging of AMPA receptor trafficking in vitro and in vivo. Curr. Opin. Neurobiol. 2017;45:51–58. doi: 10.1016/j.conb.2017.03.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Park M. AMPA receptor trafficking for postsynaptic potentiation. Front Cell Neurosci. 2018;12:361. doi: 10.3389/fncel.2018.00361. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Miesenbock G, De Angelis DA, Rothman JE. Visualizing secretion and synaptic transmission with pH-sensitive green fluorescent proteins. Nature. 1998;394:192–195. doi: 10.1038/28190. [DOI] [PubMed] [Google Scholar]
- 31.Nagai, H. et al. Sleep consolidates motor learning of complex movement sequences in mice. Sleep40, zsw059 (2017). [DOI] [PMC free article] [PubMed]
- 32.Miyawaki H, Watson BO, Diba K. Neuronal firing rates diverge during REM and homogenize during non-REM. Sci. Rep. 2019;9:689. doi: 10.1038/s41598-018-36710-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Kelly C, Price TD. Correcting for regression to the mean in behavior and ecology. Am. Nat. 2005;166:700–707. doi: 10.1086/497402. [DOI] [PubMed] [Google Scholar]
- 34.Zhang Y, Cudmore RH, Lin DT, Linden DJ, Huganir RL. Visualization of NMDA receptor-dependent AMPA receptor synaptic plasticity in vivo. Nat. Neurosci. 2015;18:402–407. doi: 10.1038/nn.3936. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Roth RH, et al. Cortical synaptic AMPA receptor plasticity during motor learning. Neuron. 2020;105:895–908 e895. doi: 10.1016/j.neuron.2019.12.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Costa RM, Cohen D, Nicolelis MA. Differential corticostriatal plasticity during fast and slow motor skill learning in mice. Curr. Biol. 2004;14:1124–1134. doi: 10.1016/j.cub.2004.06.053. [DOI] [PubMed] [Google Scholar]
- 37.Xu T, et al. Rapid formation and selective stabilization of synapses for enduring motor memories. Nature. 2009;462:915–919. doi: 10.1038/nature08389. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Monfils MH, Teskey GC. Skilled-learning-induced potentiation in rat sensorimotor cortex: a transient form of behavioural long-term potentiation. Neuroscience. 2004;125:329–336. doi: 10.1016/j.neuroscience.2004.01.048. [DOI] [PubMed] [Google Scholar]
- 39.de Vivo, L. et al. Evidence for sleep-dependent synaptic renormalization in mouse pups. Sleep42, zsz184 (2019). [DOI] [PMC free article] [PubMed]
- 40.Vyazovskiy V, Cirelli C, Pfister-Genskow M, Faraguna U, Tononi G. Molecular and electrophysiological evidence for net synaptic potentiation in wake and depression in sleep. Nat. Neurosci. 2008;11:200–208. doi: 10.1038/nn2035. [DOI] [PubMed] [Google Scholar]
- 41.Cirelli C. Sleep and synaptic changes. Curr. Opin. Neurobiol. 2013;23:841–846. doi: 10.1016/j.conb.2013.04.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Berry KP, Nedivi E. Spine dynamics: are they all the same? Neuron. 2017;96:43–55. doi: 10.1016/j.neuron.2017.08.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Maret S, Faraguna U, Nelson AB, Cirelli C, Tononi G. Sleep and waking modulate spine turnover in the adolescent mouse cortex. Nat. Neurosci. 2011;14:1418–1420. doi: 10.1038/nn.2934. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Yang G, Gan WB. Sleep contributes to dendritic spine formation and elimination in the developing mouse somatosensory cortex. Dev. Neurobiol. 2012;72:1391–1398. doi: 10.1002/dneu.20996. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Kasai H, Matsuzaki M, Noguchi J, Yasumatsu N, Nakahara H. Structure-stability-function relationships of dendritic spines. Trends Neurosci. 2003;26:360–368. doi: 10.1016/S0166-2236(03)00162-0. [DOI] [PubMed] [Google Scholar]
- 46.Bourne J, Harris KM. Do thin spines learn to be mushroom spines that remember? Curr. Opin. Neurobiol. 2007;17:381–386. doi: 10.1016/j.conb.2007.04.009. [DOI] [PubMed] [Google Scholar]
- 47.Gulati T, Guo L, Ramanathan DS, Bodepudi A, Ganguly K. Neural reactivations during sleep determine network credit assignment. Nat. Neurosci. 2017;20:1277–1284. doi: 10.1038/nn.4601. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Kim J, Gulati T, Ganguly K. Competing roles of slow oscillations and delta waves in memory consolidation versus forgetting. Cell. 2019;179:514–526 e513. doi: 10.1016/j.cell.2019.08.040. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Hengen KB, Pacheco AT, McGregor JN, Van Hooser SD, Turrigiano GG. Neuronal firing rate homeostasis is inhibited by sleep and promoted by wake. Cell. 2016;165:180–191. doi: 10.1016/j.cell.2016.01.046. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Yang G, Pan F, Gan WB. Stably maintained dendritic spines are associated with lifelong memories. Nature. 2009;462:920–924. doi: 10.1038/nature08577. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Clark TA, Fu M, Dunn AK, Zuo Y, Jones TA. Preferential stabilization of newly formed dendritic spines in motor cortex during manual skill learning predicts performance gains, but not memory endurance. Neurobiol. Learn Mem. 2018;152:50–60. doi: 10.1016/j.nlm.2018.05.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Li W, Ma L, Yang G, Gan WB. REM sleep selectively prunes and maintains new synapses in development and learning. Nat. Neurosci. 2017;20:427–437. doi: 10.1038/nn.4479. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Cirelli, C. & Tononi, G. The why and how of sleep-dependent synaptic down-selection. Semin. Cell Dev. Biol.10.1016/j.semcdb.2021.02.007 (2021). [DOI] [PMC free article] [PubMed]
- 54.Gainey, M. A. & Feldman, D. E. Multiple shared mechanisms for homeostatic plasticity in rodent somatosensory and visual cortex. Philos. Trans. R Soc. Lond. B Biol. Sci. 372, 20160157 (2017). [DOI] [PMC free article] [PubMed]
- 55.Bridi MCD, et al. Two distinct mechanisms for experience-dependent homeostasis. Nat. Neurosci. 2018;21:843–850. doi: 10.1038/s41593-018-0150-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Diering GH, Huganir RL. The AMPA receptor code of synaptic plasticity. Neuron. 2018;100:314–329. doi: 10.1016/j.neuron.2018.10.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Peineau S, et al. LTP inhibits LTD in the hippocampus via regulation of GSK3beta. Neuron. 2007;53:703–717. doi: 10.1016/j.neuron.2007.01.029. [DOI] [PubMed] [Google Scholar]
- 58.Bridi MCD, et al. Daily oscillation of the excitation-inhibition balance in visual cortical circuits. Neuron. 2020;105:621–629 e624. doi: 10.1016/j.neuron.2019.11.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Longordo F, Kopp C, Luthi A. Consequences of sleep deprivation on neurotransmitter receptor expression and function. Eur. J. Neurosci. 2009;29:1810–1819. doi: 10.1111/j.1460-9568.2009.06719.x. [DOI] [PubMed] [Google Scholar]
- 60.Massey PV, et al. Differential roles of NR2A and NR2B-containing NMDA receptors in cortical long-term potentiation and long-term depression. J. Neurosci. 2004;24:7821–7828. doi: 10.1523/JNEUROSCI.1697-04.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Bellesi M, et al. Effects of sleep and wake on oligodendrocytes and their precursors. J. Neurosci. 2013;33:14288–14300. doi: 10.1523/JNEUROSCI.5102-12.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Rodriguez AV, et al. Why does sleep slow-wave activity increase after extended wake? Assessing the effects of increased cortical firing during wake and sleep. J. Neurosci. 2016;36:12436–12447. doi: 10.1523/JNEUROSCI.1614-16.2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Bourdon AK, et al. Metabolomic analysis of mouse prefrontal cortex reveals upregulated analytes during wakefulness compared to sleep. Sci. Rep. 2018;8:11225. doi: 10.1038/s41598-018-29511-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Kawaguchi Y, Karube F, Kubota Y. Dendritic branch typing and spine expression patterns in cortical nonpyramidal cells. Cereb. Cortex. 2006;16:696–711. doi: 10.1093/cercor/bhj015. [DOI] [PubMed] [Google Scholar]
- 65.Micheva KD, O’Rourke N, Busse B, Smith SJ. Array tomography: semiautomated image alignment. Cold Spring Harb. Protoc. 2010;2010:pdb prot5527. doi: 10.1101/pdb.prot5527. [DOI] [PubMed] [Google Scholar]
- 66.Schmid B, Schindelin J, Cardona A, Longair M, Heisenberg M. A high-level 3D visualization API for Java and ImageJ. BMC Bioinforma. 2010;11:274. doi: 10.1186/1471-2105-11-274. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Schindelin J, et al. Fiji: an open-source platform for biological-image analysis. Nat. methods. 2012;9:676–682. doi: 10.1038/nmeth.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Laird NM, Ware JH. Random effects models for longitudinal data. Biometrics. 1982;38:963–974. [PubMed] [Google Scholar]
- 69.Bates D, Maechler M, Bolker B, Walker S. Fitting linear mixed-effects models using lme4. J. Stat. Softw. 2015;67:1–48. doi: 10.18637/jss.v067.i01. [DOI] [Google Scholar]
- 70.Bretz, F., Hothorn, T. & Westfall, P. Multiple Comparisons using R (CRC Press, 2011).
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Source data are provided with this paper. All relevant data are available from the authors upon reasonable request.
Image analysis was performed using a custom-written Map Manager software (http://robertcudmore.org/) on IGOR Pro (Wavemetrics, Lake Oswego, OR), kindly shared by Dr. Robert Cudmore.