Skip to main content
Nature Communications logoLink to Nature Communications
. 2023 May 11;14:2729. doi: 10.1038/s41467-023-38253-7

Spectro-spatial features in distributed human intracranial activity proactively encode peripheral metabolic activity

Yuhao Huang 1,#, Jeffrey B Wang 1,2,#, Jonathon J Parker 1, Rajat Shivacharan 1, Rayhan A Lal 3,4,, Casey H Halpern 1,
PMCID: PMC10174612  PMID: 37169738

Abstract

Mounting evidence demonstrates that the central nervous system (CNS) orchestrates glucose homeostasis by sensing glucose and modulating peripheral metabolism. Glucose responsive neuronal populations have been identified in the hypothalamus and several corticolimbic regions. However, how these CNS gluco-regulatory regions modulate peripheral glucose levels is not well understood. To better understand this process, we simultaneously measured interstitial glucose concentrations and local field potentials in 3 human subjects from cortical and subcortical regions, including the hypothalamus in one subject. Correlations between high frequency activity (HFA, 70–170 Hz) and peripheral glucose levels are found across multiple brain regions, notably in the hypothalamus, with correlation magnitude modulated by sleep-wake cycles, circadian coupling, and hypothalamic connectivity. Correlations are further present between non-circadian (ultradian) HFA and glucose levels which are higher during awake periods. Spectro-spatial features of neural activity enable decoding of peripheral glucose levels both in the present and up to hours in the future. Our findings demonstrate proactive encoding of homeostatic glucose dynamics by the CNS.

Subject terms: Feeding behaviour, Circadian rhythms and sleep, Metabolism


How human brain activity relates to peripheral metabolism is not known. Here, the authors find that intracranial activity is strongly coupled to peripheral glucose variations across multiple brain regions and is sufficient for decoding of glucose levels.

Introduction

Maintenance of peripheral glucose levels represents one of the most vital homeostatic control loops. The central nervous system (CNS) is heavily reliant glucose as a fuel, as it has the highest energy demand in the body1. As such, there is a teleologic basis to hypothesize that the CNS closely surveils and regulates body glucose levels. Growing evidence suggests the presence of distributed CNS ‘glucose-responsive’ neuronal populations, which respond either directly through glucose sensing or indirectly as a part of the glucose-modulatory circuit24. The most well-studied location of these neurons is the hypothalamus, whereby multiple nuclei, including the arcuate, paraventricular, ventromedial and lateral nuclei, have demonstrated effector functions that alter peripheral glucose levels47. The amygdalohippocampal complex (AHC) has also been shown to harbor these neurons810 and recently, the rodent hippocampus was reported to exert a modulatory effect on peripheral glucose level changes through sharp wave-ripples (SPW-Rs)9. Further, the habenular nucleus has been implicated in regulation of glucose metabolism, as lesion in this area increased insulin sensitivity11. Other direct glucose-sensing neurons have also been found in the nucleus accumbens12, the thalamus13, and the prefrontal cortex14.

In humans, direct evidence supporting intracranial regulation of peripheral metabolism remains limited. Thus far, non-invasive functional imaging studies coupled with an insulin or glucose challenge in humans have implicated various corticolimbic regions such as the insula and orbitofrontal cortex as potential regulators of glucose homeostasis15,16. Further support for an anatomically distributed brain network involved in glucose regulation comes in part via coupling of spectral power measured by scalp EEG with glucose fluctuations17. However, a longitudinal human (i.e., over the course of days) study simultaneously assessing large-scale neuronal activity across multiple brain regions and peripheral glucose levels has not been performed.

Here, we provide an in-human study combining longitudinal intracranial recordings with continuous glucose monitoring (CGM), a similar technology used in previous CNS-glucose studies9,17,18. Given known presence of glucose-responsive neuronal populations in the hypothalamus and across multiple corticolimbic structures, we hypothesize that distributed CNS population neural activity encodes information regarding ongoing and future energy demand that are reflected in peripheral glucose dynamics. To test this hypothesis, we obtained intracranial electrographic recordings from corticolimbic structures alongside time-synchronized interstitial glucose concentrations using a CGM device over a multi-day period. In one subject, we had the unique opportunity to directly record from the ventral diencephalon including the hypothalamus.

First, we found that HFA in the bilateral hypothalami was strongly correlated with peripheral glucose variations in a diurnally mediated fashion. Across several corticolimbic sites, we also observed significant HFA-glucose correlations that were diurnally mediated. Second, to understand the source of correlation, we performed wavelet coherence analysis and identified strong circadian coupling across corticolimbic areas between HFA and peripheral glucose variations, which was partly explained by hypothalamic connectivity. Removal of circadian influence in the signals revealed significant but diminished correlations in non-circadian (ultradian) HFA and glucose variations. This correlation of ultradian rhythms in HFA and glucose variations was in turn higher during wakeful periods. Finally, we trained a multivariate decoder using spectral profiles of all gray matter recordings to predict peripheral glucose variations. This model was able to proactively decode glucose levels both in the present and hours in advance using circadian and ultradian signal dynamics. Taken together, these results suggest CNS activity may be a leading indicator of glucose dynamics.

Results

Study participants

Three subjects were included in the study, and all had simultaneous coverage of hippocampus, amygdala, insula, cingulate, orbitofrontal cortex, and frontal and temporal cortices (Supplementary Table 1). Continuous peripheral glucose measurements were recorded in conjunction with time-synced intracranial activity (Fig. 1A). Subject 1 (S1) had two depth electrodes targeted at bilateral hypothalami. The number of days with continuous glucose monitoring and intracranial recordings were 5.5, 6.5, 9.3 for S1, S2, and Subject (S3), respectively. The sleep chronotype for each subject demonstrated distinct sleep/wake cycles (Supplementary Fig. 1).

Fig. 1. Human hypothalamic and corticolimbic activity is correlated with interstitial glucose dynamics in a diurnally mediated fashion.

Fig. 1

A Clinical recording system comprising stereo-encephalography (sEEG) and continuous glucose monitoring (Dexcom G6) in patients undergoing invasive monitoring. This illustration was created with BioRender.com B Anatomical location of electrodes in the bilateral hypothalamus of Subject 1. C Interstitial glucose levels as a function of time over six recording days in Subject 1 with corresponding mean high-frequency activity (HFA; 70–170 Hz) from the hypothalamic electrodes. The black lines denote periods of sleep while the blue lines denote start and end of ad libitum meals. D Scatter plots of hypothalamic HFA and interstitial glucose variations with 0-h (top) and −2.8 h lags (bottom). Pearson’s correlation (R) and associated P-value are shown. N = 1588 datapoints. E Mean cross-correlogram between hypothalamic HFA and interstitial glucose variations. The error bar indicates the standard error. Cross-correlograms using shuffled glucose data with 2 standard deviations is shown in gray. N = 1588 datapoints. F Mean lag-corrected correlation between hypothalamic activity and interstitial glucose variations across conventional powerband (N = 7 hypothalamic channels, one-way ANOVA; F(5,36) = 17, P < 0.001). G Lag-corrected hypothalamic HFA-glucose correlation stratified by sleep and wake states (N = 7 hypothalamic channels, one-sample T-test: t(6) = 23, P < 0.001). H Subcortical and corticolimbic lag-corrected HFA-glucose correlation stratified by sleep and wake states across three subjects. All tests were Paired t-test with statistics and P-value shown per region. All error bars indicate standard error of the mean (SEM). Source data are provided as a Source data file. *P < 0.05, **P < 0.01, ***P < 0.001.

Coupling of hypothalamic and corticolimbic activity to peripheral glucose variations is diurnally mediated

Given the established role of hypothalamus in both sensing and regulating peripheral glucose levels, we first examined the relationship between hypothalamic HFA and peripheral glucose variations in S1 (Fig. 1B–G). Glucose concentrations in the interstitial fluid was continuously monitored alongside HFA (Fig. 1C) while the subject had ad libitum meals and self-determined sleep-wake cycle. Mean hypothalamic HFA was significantly correlated to interstitial glucose variations with no lag correction (Fig. 1D: R = 0.36, N = 7 hypothalamic channels). Higher correlation was found by using HFA as a leading indicator and coupling it with future interstitial glucose levels (R = 0.55, temporal lag: 2.8 h). This was visualized using a cross-correlogram which showed overall higher hypothalamic HFA correlation to interstitial glucose levels when HFA has a leading temporal shift (Fig. 1E). Across conventional powerbands, hypothalamic HFA was associated with the highest correlation (Fig. 1F: one-way ANOVA: F(5,36) = 17, P < 0.001). To evaluate if the correlation was driven purely by day-night cycling, we stratified the time-series by sleep and wake periods. The hypothalamic HFA-glucose correlation was significantly higher during sleep periods (Fig. 1G: Paired t-test: t(6) = 23, P < 0.001). Having observed hypothalamic HFA is strongly correlated to peripheral glucose dynamics, we asked if the broader subcortical and corticolimbic regional activity also reflected glucose variations. Across three subjects, mean regional lag-corrected HFA-glucose correlation ranged from 0.23 to 0.38 with subcortical regions exhibiting the highest mean correlation (Supplementary Fig. 2A: one-way ANOVA: F(6,287) = 13, P < 0.001). When evaluating the distribution of temporal lag accounting for the highest correlation across all regions, we observed high intra- and inter-individual variability, with median being −1.8, −1.2, and +7.3 h, respectively, for subject 1, 2, and 3 (Supplementary Fig. 2B). In a similar fashion to hypothalamic HFA-glucose coupling, mean correlation between HFA and interstitial glucose variations was higher during periods of sleep across subcortical and corticolimbic regions (Fig. 1H, Paired t-test: all P < 0.05). As there have been studies associating interictal epileptiform discharges (IEDs) to glucose levels19, we evaluated the extent to which IEDs were correlated to glucose levels in our dataset. In Subject 1 and Subject 3 with epilepsy, we found that IEDs in the seizure onset zone had lag-corrected correlation 0.22 and 0.20 with interstitial glucose variations, respectively (Supplementary Fig. 3). We also evaluated the relationship between hypothalamic HFA and the derivative of glucose levels (i.e., rate of change) (Supplementary Fig. 4). Hypothalamic HFA showed significant but modest correlation with glucose rate of change (R = 0.31) and was highest at a slight lagging temporal shift (5 min). This correlation was also modulated by powerbands with HFA exhibiting the highest correlation (Supplementary Fig. 4B: one-way ANOVA: F(5,36) = 15, P < 0.001). Across three subjects, mean regional lag-corrected HFA-glucose rate of change correlation ranged from 0.16 to 0.22 (Supplementary Fig. 4C).

Circadian rhythm contributes to coupling between intracranial HFA and interstitial glucose dynamics

To understand the timescales of correlation underlying HFA and interstitial glucose variations, we evaluated the mean hypothalamic HFA-glucose wavelet coherence spectrum (Fig. 2A). This revealed high coherence at circadian periodicity, with a constant HFA-glucose phase lag. The corresponding spectral periodogram (Fig. 2B) showed peaks in ultradian (0.7, 1.8, 7.8 h) and circadian periodicities (27 h). The spectral periodogram for glucose rate of change also exhibited multiple ultradian (1.6, 4, 6, and 10 h) and circadian periodicities (20 h, Supplementary Fig. 4D). The mean circadian coherence varied by regions ranging from 0.39 to 0.57 with subcortical, amygdalohippocampal and frontal regions exhibiting the highest magnitudes (Fig. 2C: one-way ANOVA: F(6,287) = 13, P < 0.001). Across all gray matter electrodes, the mean circadian coherence was 0.49, 0.40, and 0.44 with a mean leading HFA phase lag of 1.8, 9.5, and 7.3 h for Subjects 1, 2, and 3, respectively (Supplementary Fig. 2C). In channels with significant circadian coherence, the HFA-glucose circadian phase lag was linearly associated with the correlational temporal lag (Supplementary Fig. 2D: Pearson’s correlation, R = 0.36, P < 0.001), indicating that the circadian phase lag as a contributing source to the correlational temporal lag. We conducted a secondary analysis evaluating circadian coherence using a narrow circadian window (20–28 h vs 16–36 h; Supplementary Fig. 5A, B). This revealed similar circadian coherence values with similar regional trend in mean values, indicating circadian coherence did substantially depend on the circadian window employed.

Fig. 2. Circadian and ultradian rhythms underlie coupling of intracranial activity and interstitial glucose dynamics.

Fig. 2

A Wavelet coherence spectrum between hypothalamic HFA and interstitial glucose levels revealing high coherence at circadian periodicity. Arrows denote phase lag. B Corresponding coherence periodogram showing peaks in ultradian and circadian periodicity. C Circadian coherence between HFA and interstitial glucose across subcortical and corticolimbic regions (Nsubj = 3, Nchannels = 288, one-way ANOVA; F(6,287) = 13, P < 0.001). D Average cortico-cortical evoked potentials (CCEP) elicited by left hypothalamic stimulation in S1 stratified by whether channels’ HFA were significantly coupled to glucose in a circadian manner. Channels with significant glucose coupling showed an overall larger CCEP with left hypothalamic stimulation. Shaded error bars indicate error of the mean (SEM). E Average CCEP magnitude (0.01–0.1 s) was significantly higher in channels with significant circadian coherence to glucose (two-sample t-test, t(118) = 2.9, P < 0.001). F Left hypothalamic CCEP magnitude correlates directly with HFA-glucose lag-corrected correlation across all channels in S1 (Nchannels = 121, Pearson’s R = 0.42, P < 0.001). G Wavelet decomposition of circadian and non-circadian rhythms in interstitial glucose dynamics and mean hypothalamic HFA (Subject 1). Combining the circadian and non-circadian rhythms reconstruct the original signal trace. H Removal of circadian contribution to HFA and interstitial glucose variations resulted in significant reduction of correlation across 3 subjects (Paired t-test with statistic shown for each subject). I Lag-corrected non-circadian correlation between HFA and interstitial glucose across subcortical and corticolimbic regions (Nsubj = 3, Nchannels = 288, one-way ANOVA; F(6,287) = 3, P = 0.007). J Subcortical and corticolimbic lag-corrected non-circadian HFA-glucose correlation stratified by sleep and wake states across three subjects (Nchannels per region is noted by the degree of freedom, all tests were Paired t-test with statistics and P-value shown per region). All error bars indicate SEM. Source data are provided as a Source data file. *P < 0.05, **P < 0.01, ***P < 0.001.

In Subject 1, CCEP mapping allowed for interrogation of functional connectivity amongst brain regions with high HFA-glucose coherence. Specifically, channels with significant HFA circadian coupling to glucose levels had larger CCEP waveforms when the left hypothalamus was stimulated, implying that these regions are functionally connected to the hypothalamus (Fig. 2D). Accordingly, the mean CCEP amplitude was significantly higher in channels with circadian coupling (Fig. 2E; two-sample t-test, t(118) = 2.9, P = 0.005). The same was observed with right hypothalamic stimulation (Supplementary Fig. 6A, B; two-sample t-test, t(121) = 3.6, P < 0.001). Further, the magnitude of raw correlation across regions correlated with mean CCEP (Fig. 2F, Pearson’s correlation, R = 0.42, P < 0.001), which was present with right-sided stimulation (Supplementary Fig. 6C, Pearson’s correlation, R = 0.42, P < 0.001).

Ultradian rhythm underlies correlation between intracranial HFA and interstitial glucose dynamics during wakeful periods

To evaluate if circadian coupling accounted for the HFA-glucose correlations entirely or if there was coupling on faster timescales, wavelet decomposition was used to separate the raw signals into its circadian (18–36 h) and ultradian components (0–18 h) (Fig. 2G). Removal of circadian influence to the HFA and interstitial glucose time series reduced mean correlation by 52%, 35%, and 41%, respectively, for S1, S2, and S3, respectively (Fig. 2H: S1 mean correlation: 0.31 to 0.15, S2 mean correlation: 0.23 to 0.15, S3 mean correlation: 0.29 to 0.17, Paired t-test: all P < 0.001). Across subcortical and corticolimbic regions, the ultradian correlation ranged 0.14 to 0.18, with subcortical regions having the highest magnitude of correlation (Fig. 2I: one-way ANOVA: F(6,287) = 3.0, P = 0.007). When stratified by sleep and wake cycles, ultradian correlation across regions showed significantly higher magnitude during wakeful periods than compared to sleeping periods (Fig. 2J, Paired t-test; all P < 0.05). Finally, as recent studies in non-diabetic patients have implicated meal-context and post-prandial interstitial glucose changes are related to appetite, changes in hunger level, and overall energy intake20,21, we compared ultradian correlation between HFA-glucose during pre-prandial and prandial periods. These analyses revealed variable direction of magnitude change based on region (Supplementary Fig. 7). Specifically, HFA-glucose ultradian correlation was decreased during prandial periods in majority of insula channels (Paired t-test: t(64) = 4.7, P < 0.001), whereas it was increased in the AHC and frontotemporal cortical channels (Paired t-test: all P < 0.05). Within individual subcortical structures, we also observed different sleep and meal-related changes in strength of both raw and ultradian HFA-glucose correlations (Supplementary Fig. 8A–C).

Spatially variant spectral features of intracranial activity proactively decodes glucose levels

Given the significant correlation between distributed intracranial activity and glucose levels, we sought to design a decoder for predicting glucose levels over time (Fig. 3A). We used LASSO regression, a machine learning method that identifies a subset of most important features and subsequently fits a linear regression model using reduced the set of features. This reduces the risk of overfitting given many features compared to a relatively limited number of datapoints. In this case, the feature space for this model included all power band activity (delta, theta, alpha, beta, gamma, and HFA) across gray matter contacts on a single subject level. Using this model, we found that we were able to accurately predict blood glucose across a wide range of glucose levels for each subject (Fig. 3B; Pearson’s Coefficient, average R = 0.73, P < 0.001). This model was repeatedly trained at consecutive time intervals to account for temporal lag and revealed that the model performance was highest when the intracranial features were hours prior to the glucose recording (Fig. 3C; temporal lag with highest decoding performance was 1.5, 7.5, and 7.5 h with powerband features leading for Subjects 1, 2, and 3, respectively). Compared to the zero-delay model, the proactive decoder captured faster variation in glucose variations in addition to the general temporal trend (Fig. 3D, Subject 2).

Fig. 3. Human intracranial activity proactively decodes peripheral glucose at a fidelity beyond simple circadian dynamics.

Fig. 3

A Schematic of LASSO for interstitial glucose decoding. First, all 6 frequency bands across our N electrodes for each subject are flattened into a single feature vector. LASSO selects a subset of these features for regularization, and then trains a linear model to predict the interstitial glucose level. B Decoder performance for predicting interstitial glucose from iEEG oscillations. Different colored dots represent three separate subjects. C Model performance, as quantified by average Pearson Correlation between the actual and predicted interstitial glucose during 5-fold cross validation, given different temporal shifts between the iEEG data and interstitial glucose. Negative shifts indicate current iEEG data leading in prediction of interstitial glucose in the future (i.e., proactively). Shaded regions are ±1 SEM (N = 5 folds). D Moving-average time-trace of actual interstitial glucose (blue), predicted interstitial glucose given no temporal delay (orange), and proactively predicted interstitial glucose (green). E Cross-validated model performance given several conditions, with optimal temporal shifts. Error bars are ±1 SEM. *** indicates p < 0.001 when compared to shuffled control (N = 5 folds of cross-validation, two-sample Student’s T-test, exact P-values of all comparisons given in Source data file). F Percent difference in RMSE when compared to RMSE for all datapoints for all decoded interstitial glucose levels when asleep and awake (Nsubj = 3, two-sample Student’s T-test, p = 0.68). G Percent difference in RMSE when compared to RMSE for all datapoints for all decoded interstitial glucose levels preprandial and prandial. Comparison is insignificant (Nsubj = 3, two-sample Student’s T-test, p = 0.55). H Plots of contacts (denoted as circles) that contributed to at least 99% of LASSO models with randomized training and test sets in our three subjects. Individual subjects are given in Supplemental Fig. 11. I Scatterplot of model coefficients and how often LASSO selects this feature. Labeled datapoints appeared in at least 99% of models. Source data are provided as a Source data file.

To validate that the glucose decoder is not simply relying on the coupled circadian rhythm of glucose and intracranial activity, we tested the decoder in several conditions (Fig. 3E). First, as a negative control, we found that decoder performance declines significantly when predicting glucose levels shuffled in 1-h windows. Second, using average glucose at a given time of day as a circadian control, we found this model performed better than chance, but was significantly inferior to the decoder trained on intracranial data (two-sample t-test, 0.50 vs 0.73, P < 0.001). Finally, we found that the decoder performance did not decline when using intracranial data to predict solely circadian glucose dynamics or non-circadian glucose levels, indicating that the decoder considers contributions from both circadian and ultradian rhythms in glucose levels over time. As a secondary analysis, we evaluated decoding for the derivative of interstitial glucose (Supplementary Fig. 9A). Modest decoding performance was only achieved in Subject 1.

To assess whether decoder fidelity varied across sleep cycle, we evaluated our decoder’s root mean square error (RMSE) across both wakeful and asleep periods of the day. We found that the percent difference in RMSE during wakeful vs asleep periods of the day compared to RMSE during the entire day was not significantly different (Figs. 3F, 31.2% vs −0.8%, Paired t-test, t(2) = 0.87, P > 0.05). In addition, we calculated the RMSE between actual and decoded glucose levels during sleep stages (N1, N2, N3, and REM) as scored by the SleepSEEG algorithm22. This calculated RMSE was compared to overall RMSE of the decoder and we found no significant difference in decoding performance (Supplementary Fig. 10A, B, one-way ANOVA, F(4,2) = 1.5, P > 0.26). Similarly, RMSE was not significantly different during pre-prandial vs prandial periods (Figs. 3G, 4.4% vs −1.9%, Paired t-test, t(2) = 0.93, P > 0.05).

To identify electrode channels selected by the LASSO-based glucose decoder, we performed a boot-strap Monte Carlo analysis. We found that across the 3 patients, a distributed set of corticolimbic structures were consistently used for LASSO regression (Fig. 3H, I). Across multiple training-test set permutations, there was a strong correlation between the number of permutations a specific channel was used in the decoder and the median linear weight in the decoder model, which can be interpreted as the strength of contribution of an electrode to the model (Fig. 3I). Commonly used structures that were shared across subjects include the insula and cingulate cortex (Fig. 3H, Supplementary Fig. 11). Notably, the hypothalamic contacts were consistently used in Subject 1 for decoding of both absolute glucose levels and glucose rate of change (Supplementary Fig. 9B).

Discussion

Mounting evidence supports that the CNS can directly influence peripheral metabolic activity through not only regulation of caloric intake, but also causal glucose modulatory mechanisms18,2325. This is thought to be achieved through distributed presence of glucose-responsive neurons in the hypothalamus as well as other corticolimbic regions26,26. However, how longitudinal CNS activity in humans relates to peripheral glucose variations has not been examined previously. No multi-day recordings of simultaneous CNS activity and glucose levels are currently available to allow study of physiologic rhythms in these signals. We address these questions through simultaneous sampling of putative glucose-responsive regions and tracking of peripheral glucose variations in humans. This dataset also gives us the unique potential to examine longitudinal changes in neurologic and metabolic activity over several days. Furthermore, we can examine a wide range of subcortical and cortical regions simultaneously, which is normally more difficult to accomplish in rodents and other small animal models.

As the hypothalamus is well implicated in the control of glucose metabolism, we first evaluated hypothalamic activity in relation to interstitial glucose variation. We identified high correlation between hypothalamic HFA and peripheral glucose dynamics, especially when corrected for a leading HFA temporal lag. To evaluate if this correlation was driven by the on and off nature of sleep, we calculated the correlation solely during sleeping or wakeful periods. This revealed a diurnally mediated pattern whereby the HFA-glucose correlation was significantly higher during periods of sleep not only in the hypothalamus, but also across corticolimbic regions. This may reflect a consequence of the robust nocturnal regulation of blood glucose, which is influenced by changes in secretion of hypothalamic and pituitary hormones27,28. Further, to understand the underlying rhythms contributing to HFA-glucose correlation, we used wavelet decomposition to uncover period-specific coupling. We found that circadian coherence was prominent not only in the hypothalamus, but also in channels across corticolimbic regions. This circadian coupling contributed to a large extent the correlation between the HFA and interstitial glucose variations, as suppressing the circadian component of the signal significantly decreased correlation. This was not surprising as the hypothalamus, through the suprachiasmatic nucleus (SCN), has been found to be necessary for diurnal rhythms in plasma glucose concentration29, independent of feeding patterns30,31. In addition, the circadian phase lag predicted the correlation temporal lag, indicating that the circadian component influences both magnitude and the temporal lag of HFA-glucose coupling. The circadian phase lag between regional HFA and glucose levels were also highly uniform across corticolimbic regions, manifesting as HFA circadian signal several hours ahead of the glucose circadian signal. These findings indicate that pervasive circadian coupling may be driven by a central circadian oscillator. To support this, in S1 with hypothalamic recording and CCEP mapping, we found that the magnitude of circadian glucose coupling in other regions was related to their hypothalamic effective connectivity. This suggests that variation in strength of glucose coupling on a regional basis is at least partly explained by functional connection to the hypothalamus. This was not surprising as the hypothalamus, through the suprachiasmatic nucleus, has wide projections and afferents from cortical and subcortical regions32,33. However, future work will be needed to probe whether brain regions with circadian glucose coupling arise from endogenous sensing mechanisms or driven by hypothalamic or other regional inputs. In addition, further work is needed to evaluate the variance in regional correlation strength and temporal lag. Although we found that the circadian phase shift accounted partly for the temporal lag seen in the HFA-glucose relationship, other factors such as sleep chronotype34, which was distinct amongst the three subject subjects, are also contributive. Future studies employing regulated sleep/wake cycle and/or constant routine paradigm will be needed to fully understand the temporal lag observed between brain activity and peripheral metabolism, as well as contribution from circadian versus sleep-related modulation.

As we initial observed multiple time scales of HFA-glucose coherence, we note that even after removal of the circadian component, multiple regions remained significantly correlated with peripheral glucose dynamics. This correlation may reflect a combination of ultradian regulation of gluco-regulatory hormones35,36, meal intake patterns37, and adaptive neural responses to glucose2. Notably, the ultradian correlation between HFA and glucose across regions was higher during waking periods, as compared to the original correlation being higher during sleeping periods. This suggests circadian physiology may predominant during sleep, thus driving correlation between brain activity and glucose, whereas physiologic events during wakefulness may enhance coupling on ultradian timescales (i.e., in the period of time around meals).

Given the distributed correlated activity between intracranial HFA and glucose variations, we sought to build and test a regression-based decoder to predict glucose levels using intracranial spectral activity as features. The decoder reported here accurately predicted glucose variations across three subjects, notably performing at a high fidelity for predicting both current glucose and proactively several hours into the future given current intracranial activity. This indicates that current intracranial activity can be used to decode both current and future glucose variations. This is in alignment with the finding that circadian coupling, which explains a high proportion of the correlation to glucose, has a proactive phase offset of several hours. As such, data realigned according to the circadian phase offset might have higher prediction accuracy. Mechanistically, the phase offset of hypothalamic activity and glucose variations suggests there may be several hours of delay in transmission of circadian CNS output to changes in peripheral metabolism. Prior studies have found the suprachiasmatic nucleus regulates hepatic glucose production and uptake either directly through the autonomic nervous system or indirectly through orexin3840. However, we also found that decoding results could not simply be explained by circadian variations, with the full model performing significantly better than a pure diurnal model. This again highlights that intracranial activity likely couples to glucose on multiple timescales to include circadian, ultradian, and meal-related fluctuations. From a homeostatic perspective, it is possible to speculate based on these findings that the CNS may principally acts as a proactive controller of peripheral metabolism, governing glucose dynamics hours in advance through complex orchestration of feeding, hunger, satiety as well as peripheral glucose uptake and release4143.

Predictive capabilities of blood glucose levels hours holds potential for augmenting current closed-loop insulin controllers for diabetes management, if our findings hold true for diabetic patients44,45. One of the disadvantages of current implementation of closed-loop controllers (and sliding-scale insulin regimens used inpatient) is that they are reactive to currently measured glucose. Playing “catch-up” with boluses of fast-acting insulin is typically inferior to basal-bolus regimens which use a combination of long-acting basal insulin with correctional boluses of fast-acting insulin46. However, optimal dosing of long-acting basal insulin takes weeks of close follow-up47,48. This makes it difficult to achieve optimal glucose control in the outpatient setting and impractical in the inpatient setting. Being able to predict glucose proactively hours in advance, as demonstrated here, could potentially enable the use of long-acting basal insulin in closed-loop controllers to achieve tighter glucose control. Future studies in patients with diabetes mellitus will be needed to evaluate if similar findings observed here can be replicated when glucose homeostasis is already disturbed.

Limitations and future directions

Limited subjects are enrolled in this study given the difficulty and rarity of simultaneously recording multiple brain regions and continuous glucose over at least several days. The inclusion criteria required at least five days of monitoring to allow longer physiologic rhythms to be quantified (e.g., circadian rhythm), multi-site coverage of hypothesized gluco-regulatory regions and agreement to CGM implantation. These criteria resulted in a limited number of subjects, especially in the setting of COVID-19 pandemic. In addition, direct hypothalamic recording is rare given few clinical indications so only one subject had hypothalamic coverage. On a broader note, because recording locations are solely dictated by the clinical need for epilepsy localization, our electrode coverage varies from patient to patient. This makes it infeasible to use models trained on one subject to predict interstitial glucose from another patient. An interesting future direction would be investigating whether models trained on standardized scalp EEG could be used to predict glucose levels across a wide range of subjects. In addition, the use of CGM has not been formally FDA-approved for non-clinical use in patients without diabetes. However, the Dexcom G6 system has been successfully used in for non-clinical contexts, including for patients without diabetes to track post-prandial glucose dynamics20,49. Finally, our study design does not allow for direct causal interpretation, and as such intracranial activity and peripheral glucose variations might be correlated due to a potential third unmeasured variable. Future study employing direct electrical stimulation to activate or inhibit specific brain regions over varying time scales with continuous glucose monitoring may help dissect causal relationships.

Taken together, these results provide compelling evidence that peripheral glucose variations can be decoded from multi-site intracranial activity over days in a proactive manner. The basis of this decoding involves not only circadian coupling but also correlation on ultradian dynamics. Future blood glucose management strategies may thus involve sampling intracranial activity as a modality to enable proactive and tighter control of glucose dynamics.

Methods

Participants and inclusion criteria

Three human subjects (two females) who were observed in an epilepsy monitoring unit for clinical mapping met the inclusion criteria for this study from January 2020 to January 2021. The inclusion criteria included (1) simultaneous coverage of hippocampus, amygdala, insula, and orbitofrontal cortex (regions likely to harbor glucose-responsive neurons and are frequently targeted for epilepsy mapping), (2) no known history of diabetes mellitus, and (3) at least 5 days of continuous monitoring. Subject 1 had electrodes traversing the bilateral hypothalamic region given clinical concern of gelastic seizures arising from the hypothalamus in the absence of radiographic evidence of hamartoma. Summary of patient characteristics and individual subject electrode coverage is provided in Supplementary Table 1. All patients provided individual informed consent as approved by the Stanford University Institutional Review Board (IRB #11354). This includes consent to publication of videos and demographics information.

Statistics and reproducibility

This was a prospective human study between January 2020 and January 2021. The final sample size was based on clinical volume of our host institution, study duration, and patients meeting eligibility. No statistical method was used to predetermine sample size, however N equal or greater than three was required. As there was no intervention, blinding and randomization processes were not applicable to this study.

Electrode registration and anatomical parcellation

Electrode location in 3D space was obtained from post-implant CT co-registered with the subject’s pre-operative MRI. Anatomic location of each contact was determined using FreeSurfer-based automated parcellation50. Electrodes in key limbic regions or outside of FreeSurfer’s anatomical catalog were validated by expert examination. For electrode visualization, the FreeSurfer average brain was used with coordinates in standard Montreal Neurologic Institute (MNI) space.

Data acquisition and signal preprocessing

Using stereoelectroencephalography (sEEG), neural recording from implanted depth electrodes were sampled at 1024 Hz. sEEG preprocessing and analysis were performed using the FieldTrip51. First, a notch filter was used to attenuate power noise (60, 120, and 180 Hz), followed by a laplacian re-referencing scheme to minimize far-field volume conduction52. High-frequency activity (HFA, 70–170 Hz) was obtained by applying an 8th-order Butterworth bandpass filter and subsequently taking the absolute value of the Hilbert transform. This signal was boxcar smoothed using 60 s windows. Thus, the HFA at any given point represents an average of one-minute recording. Similarly, the analytic signals of delta (1–4 Hz), theta (4–8 Hz), alpha (8–12 Hz), beta (15–25 Hz), and gamma bands (25–70 Hz) were obtained using the same approach, except 4th order Butterworth filter was used as the bandpass filter. Interictal epileptiform discharges (IEDs) were computed using an automated algorithm as previously described53. IEDs were calculated in channels of the seizure onset zone (Subject 1) and in the probable seizure onset zone (Subject 3, channels with high IED rates given no electrographic seizures were captured). The seizure onset zone was defined by consensus from the epilepsy team. Continuous interstitial glucose level was obtained using the continuous glucose monitoring (CGM) system similar to that previously published for use in rodents9. The clinical CGM system implanted in the three subjects for the duration of the study was the Dexcom G6 model. The sensor was inserted into the abdominal subcutaneous tissue and sampled interstitial glucose levels at 5-min intervals. For every glucose measurement, the corresponding sEEG data was matched within ±1 s. Gaps in glucose measurements, at most three consecutive values, were interpolated using linear regression. Rate of change in glucose level was calculated as the discretized derivative of interstitial glucose levels over time. The use of CGM in ambulatory and inpatient setting have been previously described20,49.

Discrete states identification

Video recording was used to identify four discrete states analyzed in this study. Ad libitum meals were defined as any substantial consumption of food items lasting at least 15 min. The meals were divided into pre-prandial (−3 to 0 h) and prandial (0 to 3 h) epochs. The index time (0 h) was at the time of meal initiation. Behavioral sleep periods were defined as periods of sustained eye closure without voluntary activity lasting at least 2 h. Any other periods were subsequently defined as wakeful periods. Automated sleep staging based on iEEG recordings was performed using the SleepSEEG algorithm22. For this analysis, we first downsampled our recordings to a sampling rate of 256 Hz. We then remontaged our recordings to a bipolar configuration, with adjacent contacts on the same electrode being subtracted from each other, as required by the SleepEEG algorithm. Finally, the SleepSEEG deep-learning model was applied to our dataset, excluding any electrodes that were determined to have epileptiform activity using their previously described automated detection algorithm22.

Time-series correlation analysis

The lag-corrected correlation between continuous glucose measurements and sEEG signal was determined by first calculating the rectified cross-correlation function (XCF) within temporal lags of ±12 h and subsequently obtaining the Pearson’s correlation at the point of highest XCF (crosscorr.m, Econometrics Toolbox, Matlab). The chance level of correlation at each time lag was obtained by permutation testing whereby randomly shuffled 30-min segment of glucose measurements was correlated with the average gray matter sEEG signal. The time frame used for shuffling was chosen to maintain the temporal structure of the glucose time series, but small enough to allow numerous iterations of shuffling. This procedure was repeated for 1000 iterations. The chance correlation was defined at p-value of 0.05. To determine the lag-corrected correlation during discrete states (sleep, awake, pre-prandial, and prandial), glucose and sEEG timeseries were first corrected for temporal lag. Data indices associated with each discrete state were then applied to the lag-corrected timeseries, and Pearson’s correlation was subsequently obtained.

Time-series wavelet analysis

The coherence between continuous glucose measurements and sEEG powerband were determined using Morlet wavelet coherence analysis (wcoherence.m, Wavelet Toolbox, Matlab)17. The coherence periodogram per powerband was obtained by averaging across the coherence spectrum across time. For regional analysis, the coherence values were calculated on a single channel basis first, then grouped together based on anatomy. The circadian coherence was defined as the mean coherence with periodicity of 24 h ± 33%, as to allow variation in periodicity54. A secondary analysis using a narrower range of 20–28 h as the definition of circadian rhythm was also performed. To determine the chance level of coherence for significance testing, we generated a null distribution whereby randomly shuffled glucose measurements at 30-min segments was used to compute coherence with the average gray matter sEEG signal for 1000 iterations. The chance coherence was defined at p-value of 0.05. To further characterize the timescale of coupling between continuous glucose measurements and sEEG powerband, the circadian component of the signal (24 h ± 33%) was removed using wavelet analysis to generate corresponding non-circadian (ultradian) signal (0–18 h) for both the continuous glucose and sEEG data54.

Cortico-cortical evoked potential (CCEP) analysis

As part of the clinical seizure mapping, CCEPs were collected from Subject 1. We used CCEP mapping to identify regions that were functionally connected to the hypothalamus (i.e., exhibited a significant evoked potential after hypothalamus stimulation)5557. Bipolar stimulation was performed across multiple limbic contacts including on bilateral hypothalamic leads. Approximately 50 (6 mA, biphasic) stimulation pulses were delivered at 1 Hz. CCEP analysis was subsequently performed offline. sEEG data was first preprocessed as described previously56. Briefly, the power line noise was removed, followed by removal of the stimulation artifact and common channel referencing. The preprocessed data was then epoched to 2 s in duration centered on the time of the stimulation pulse. The epoch data was baseline corrected to −150 to 50 ms. The CCEP was quantified by taking the mean signal between 10 and 150 ms. The initial 0 ms to 10 ms was not included to avoid roll-off effects from the stimulation artifact.

Glucose decoder model construction, training, and evaluation

To investigate whether spectro-spatial profiles of intracranial electrophysiology can be used to predict interstitial glucose dynamics, we constructed a glucose decoder based on electrophysiologic features. Because of the large number of potential features present in the data (e.g., channels and powerband combinations), we employed LASSO (Least Absolute Shrinkage and Selection Operator) regression to minimize overfitting. The feature vector was constructed by first creating a N × P × t table, where N is the number of contacts, P is the number of powerbands (6 in this case), and t is the number of time points (sampled in 5-minute intervals). Next, the feature vector was flattened to a two-dimension 6N × t table, representing t different time points for model fitting. We split the time points randomly into a training set consisting of 80% of time points and a test set of the remaining 20%. Intuitively, LASSO regression selects for a subset of channels and powerbands that are best correlated with interstitial glucose and then uses multivariate linear regression for that selected subset to predict glucose levels. To ensure model stability, we use LASSO with Least Angle Regression (LASSO-LAR)58, as implemented in Python’s Scikit-learn package59. Briefly, LASSO regression takes a single parameter α, with higher values of α prioritizing selection of a smaller subset. In the LAR variant, parameters that are equally correlated to glucose levels, if selected, are both weighted equally in the model to ensure stability. To select an optimal α, we utilize 5-fold cross-validation, where we train a LASSO model for a certain α for 80% of the training set and test its performance on the remaining 20% of the data, with model performance defined by Pearson’s correlation between actual and predicted glucose levels. This process is repeated five times for a different 20% of the training set each time. We then repeat this process for different values of α, taking the α with the highest performance. We finally use the optimal α and train a LASSO model on the entire training set and evaluate performance with the test set. In Subject 2, limited time-points where interstitial glucose was greater or equal to 160 mg/dL were identified as times of hyperglycemia, and our model was trained to identify those time periods of hyperglycemia rather than provide an exact value given non-linear relationships observed between spectral activity and higher glucose levels.

Determining glucose decoder circadian dependency

To determine whether glucose decoder performance is primarily attributable to only circadian autocorrelation or statistical features of our dataset, we performed several controls. First, we evaluated model performance for randomly shuffled blood glucose levels in 1-h segments, defined as the shuffled control. Second, we calculated the mean glucose level across all times points during a 24-h period. Correlation coefficients were then determined between the mean glucose levels and the measured glucose values to create the circadian control. In addition to quantifying the decoder performance for predicting actual glucose level, decoder performance was determined for decoding (1) the circadian component of the interstitial glucose dynamics and (2) deviations of the interstitial glucose levels from the average circadian glucose levels. Performance of the model against these two additional outputs provide an assessment of whether the model is better at predicting circadian or non-circadian (ultradian) dynamics.

Identifying significantly used contacts in glucose decoder

As discussed above, LASSO regression only uses a subset of the most correlative channels and powerbands to decode interstitial glucose levels. To identify which regions of the brain are most frequently used in glucose decoding, a bootstrap Monte Carlo approach was utilized. Let t be the number of time points in our dataset. The glucose decoder was trained using data randomly drawn at time t over 1000 trials with replacement. For each training session, channels that were used in the decoder was recorded. Subsequently, an electrode was considered to significantly contribute to the glucose decoder if it was used at least 99% of the time. In addition, the median of the linear coefficients for each feature was reported, with the coefficient being zero if the electrode was not used.

Reporting summary

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

Supplementary information

Reporting Summary (2.1MB, pdf)

Acknowledgements

We would like to thank all the patients who participated in this study, as well as the clinical staff who provided excellent care. The authors received no direct funding for this work.

Source data

Source Data (566.3KB, xlsx)

Author contributions

C.H.H., J.B.W., J.J.P., and Y.H. made substantial contributions to the conceptualization and methodology of the work. J.J.P., R.S., and R.A.L. provided data collection. Y.H. and J.B.W. performed data curation and formal analysis. All authors (Y.H., J.B.W., J.P.P., R.S., R.A.L., and C.H.H.) contributed to writing the original draft and provided substantially to manuscript review and editing. All authors have approved and agree to be personally accountable for the submitted version.

Peer review

Peer review information

Nature Communications thanks Lino Nobili and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.

Data availability

The data that support the findings of this study are available from the corresponding author on an individual request basis due to institutional data sharing agreements and compliance with U.S. Health Insurance Portability and Accountability Act (HIPAA). Source data are provided with this paper.

Code availability

Matlab 2019b was used to perform all electrophysiologic analyses in this study. The dependent toolboxes used were: Fieldtrip-20190828, SPM8 (2013-09-17), SPM12 (2018-11-07), iELVis (2019-09-29), Matlab Signal Processing toolbox (r2019b). Python (>= 3.10) was used for decoding analysis and included these packages: h5py (>= 2.10.0), numpy (>= 1.19.2), scikit_learn (>= 1.1.2), scipy (>= 1.5.4). No new algorithm or preprocessing techniques were performed outside of standard toolbox usages. Customized code for glucose decoding is available on Github (https://github.com/dancingdarwin/CGM-Decoder?fbclid=IwAR2TIiA49gMZpq1CwjMF6oWD9jEw13tgk5yS-54yZAp-Kq7ihK79belUn3w).

Competing interests

A provisional patent application (No. 63/238,583) has been filed by Stanford Office of Technology Licensing on behalf of Y.H., C.H.H., J.J.P., R.S., and J.B.W. for utilizing brain activity to decode peripheral glucose. This patent covers systems and methods regarding using brain activity to decode peripheral glucose. R.A.L. does not have any competing interests. C.H.H. is founder of SynchNeuro, which has an exclusive option agreement in place for the provisional patent. There are no other competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: Yuhao Huang, Jeffrey B. Wang.

Contributor Information

Rayhan A. Lal, Email: inforay@stanford.edu

Casey H. Halpern, Email: casey.halpern@gmail.com

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-023-38253-7.

References

  • 1.Howarth C, Gleeson P, Attwell D. Updated energy budgets for neural computation in the neocortex and cerebellum. J. Cereb. Blood Flow. Metab. 2012;32:1222–1232. doi: 10.1038/jcbfm.2012.35. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Routh VH, Hao L, Santiago AM, Sheng Z, Zhou C. Hypothalamic glucose sensing: making ends meet. Front Syst. Neurosci. 2014;8:236. doi: 10.3389/fnsys.2014.00236. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Fioramonti X, Chrétien C, Leloup C, Pénicaud L. Recent advances in the cellular and molecular mechanisms of hypothalamic neuronal glucose detection. Front Physiol. 2017;8:875. doi: 10.3389/fphys.2017.00875. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Pozo M, Claret M. Hypothalamic control of systemic glucose homeostasis: the pancreas connection. Trends Endocrinol. Metab. 2018;29:581–594. doi: 10.1016/j.tem.2018.05.001. [DOI] [PubMed] [Google Scholar]
  • 5.Shimazu T, Fukuda A, Ban T. Reciprocal influences of the ventromedial and lateral hypothalamic nuclei on blood glucose level and liver glycogen content. Nature. 1966;210:1178–1179. doi: 10.1038/2101178a0. [DOI] [PubMed] [Google Scholar]
  • 6.Song Z, Levin BE, McArdle JJ, Bakhos N, Routh VH. Convergence of pre- and postsynaptic influences on glucosensing neurons in the ventromedial hypothalamic nucleus. Diabetes. 2001;50:2673–2681. doi: 10.2337/diabetes.50.12.2673. [DOI] [PubMed] [Google Scholar]
  • 7.Cone RD. Anatomy and regulation of the central melanocortin system. Nat. Neurosci. 2005;8:571–578. doi: 10.1038/nn1455. [DOI] [PubMed] [Google Scholar]
  • 8.Nakano Y, et al. Feeding-related activity of glucose- and morphine-sensitive neurons in the monkey amygdala. Brain Res. 1986;399:167–172. doi: 10.1016/0006-8993(86)90613-X. [DOI] [PubMed] [Google Scholar]
  • 9.Tingley D, McClain K, Kaya E, Carpenter J, Buzsáki G. A metabolic function of the hippocampal sharp wave-ripple. Nature. 2021;597:82–86. doi: 10.1038/s41586-021-03811-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Izumi Y, Benz AM, Zorumski CF, Olney JW. Effects of lactate and pyruvate on glucose deprivation in rat hippocampal slices. Neuroreport. 1994;5:617–620. doi: 10.1097/00001756-199401000-00021. [DOI] [PubMed] [Google Scholar]
  • 11.Qu P, et al. Habenula lesions improve glucose metabolism in rats with type 2 diabetes by increasing insulin sensitivity and inhibiting gluconeogenesis. BMJ Open Diabetes Res. Care. 2020;8:e001250. doi: 10.1136/bmjdrc-2020-001250. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Papp S, Lukáts B, Takács G, Szalay C, Karádi Z. Glucose-monitoring neurons in the nucleus accumbens. Neuroreport. 2007;18:1561–1565. doi: 10.1097/WNR.0b013e3281667eca. [DOI] [PubMed] [Google Scholar]
  • 13.Labouèbe G, Boutrel B, Tarussio D, Thorens B. Glucose-responsive neurons of the paraventricular thalamus control sucrose-seeking behavior. Nat. Neurosci. 2016;19:999–1002. doi: 10.1038/nn.4331. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Mobbs CV, Kow LM, Yang XJ. Brain glucose-sensing mechanisms: ubiquitous silencing by aglycemia vs. hypothalamic neuroendocrine responses. Am. J. Physiol. Endocrinol. Metab. 2001;281:E649–E654. doi: 10.1152/ajpendo.2001.281.4.E649. [DOI] [PubMed] [Google Scholar]
  • 15.Heni M, et al. Nasal insulin changes peripheral insulin sensitivity simultaneously with altered activity in homeostatic and reward-related human brain regions. Diabetologia. 2012;55:1773–1782. doi: 10.1007/s00125-012-2528-y. [DOI] [PubMed] [Google Scholar]
  • 16.Kullmann S, et al. Selective insulin resistance in homeostatic and cognitive control brain areas in overweight and obese adults. Diabetes Care. 2015;38:1044–1050. doi: 10.2337/dc14-2319. [DOI] [PubMed] [Google Scholar]
  • 17.Farabi SS, Carley DW, Quinn L. EEG power and glucose fluctuations are coupled during sleep in young adults with type 1 diabetes. Clin. Neurophysiol. 2016;127:2739–2746. doi: 10.1016/j.clinph.2016.05.357. [DOI] [PubMed] [Google Scholar]
  • 18.Bentsen MA, Mirzadeh Z, Schwartz MW. Revisiting how the brain senses glucose—and why. Cell Metab. 2019;29:11–17. doi: 10.1016/j.cmet.2018.11.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Pappas A, et al. Does glucose influence multidien cycles of interictal and/or ictal activities? Seizure - Eur. J. Epilepsy. 2021;85:145–150. doi: 10.1016/j.seizure.2020.12.002. [DOI] [PubMed] [Google Scholar]
  • 20.Wyatt P, et al. Postprandial glycaemic dips predict appetite and energy intake in healthy individuals. Nat. Metab. 2021;3:523–529. doi: 10.1038/s42255-021-00383-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Berry SE, et al. Human postprandial responses to food and potential for precision nutrition. Nat. Med. 2020;26:964–973. doi: 10.1038/s41591-020-0934-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Ellenrieder N, von, Peter-Derex L, Gotman J, Frauscher B. SleepSEEG: automatic sleep scoring using intracranial EEG recordings only. J. Neural Eng. 2022;19:026057. doi: 10.1088/1741-2552/ac6829. [DOI] [PubMed] [Google Scholar]
  • 23.Obici S, Feng Z, Karkanias G, Baskin DG, Rossetti L. Decreasing hypothalamic insulin receptors causes hyperphagia and insulin resistance in rats. Nat. Neurosci. 2002;5:566–572. doi: 10.1038/nn0602-861. [DOI] [PubMed] [Google Scholar]
  • 24.Brüning JC, et al. Role of brain insulin receptor in control of body weight and reproduction. Science. 2000;289:2122–2125. doi: 10.1126/science.289.5487.2122. [DOI] [PubMed] [Google Scholar]
  • 25.Mirzadeh Z, Faber CL, Schwartz MW. Central nervous system control of glucose homeostasis: a therapeutic target for type 2 diabetes? Annu. Rev. Pharm. Toxicol. 2022;62:55–84. doi: 10.1146/annurev-pharmtox-052220-010446. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Shimazu T, Minokoshi Y. Systemic glucoregulation by glucose-sensing neurons in the ventromedial hypothalamic nucleus (VMH) J. Endocr. Soc. 2017;1:449–459. doi: 10.1210/js.2016-1104. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Gronfier C, Brandenberger G. Ultradian rhythms in pituitary and adrenal hormones: their relations to sleep. Sleep. Med Rev. 1998;2:17–29. doi: 10.1016/S1087-0792(98)90051-X. [DOI] [PubMed] [Google Scholar]
  • 28.Morselli L, Leproult R, Balbo M, Spiegel K. Role of sleep duration in the regulation of glucose metabolism and appetite. Best. Pr. Res. Clin. Endocrinol. Metab. 2010;24:687–702. doi: 10.1016/j.beem.2010.07.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Yamamoto H, Nagai K, Nakagawa H. Role of SCN in daily rhythms of plasma glucose, FFA, insulin and glucagon. Chronobiol. Int. 1987;4:483–491. doi: 10.3109/07420528709078539. [DOI] [PubMed] [Google Scholar]
  • 30.La Fleur SE, Kalsbeek A, Wortel J, Buijs RM. A suprachiasmatic nucleus generated rhythm in basal glucose concentrations. J. Neuroendocrinol. 1999;11:643–652. doi: 10.1046/j.1365-2826.1999.00373.x. [DOI] [PubMed] [Google Scholar]
  • 31.Kalsbeek A, la Fleur S, Fliers E. Circadian control of glucose metabolism. Mol. Metab. 2014;3:372–383. doi: 10.1016/j.molmet.2014.03.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Yuan X-S, et al. Whole-brain monosynaptic afferent projections to the cholecystokinin neurons of the suprachiasmatic nucleus. Front. Neurosci. 2018;12:807. doi: 10.3389/fnins.2018.00807. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Ma, M. A. & Morrison, E. H. in StatPearls (StatPearls Publishing, 2021).
  • 34.Reutrakul S, et al. Chronotype is independently associated with glycemic control in type 2 diabetes. Diabetes Care. 2013;36:2523–2529. doi: 10.2337/dc12-2697. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Mejean L, et al. Circadian and ultradian rhythms in blood glucose and plasma insulin of healthy adults. Chronobiol. Int. 1988;5:227–236. doi: 10.3109/07420528809079564. [DOI] [PubMed] [Google Scholar]
  • 36.Scheen AJ, Sturis J, Polonsky KS, Van Cauter E. Alterations in the ultradian oscillations of insulin secretion and plasma glucose in aging. Diabetologia. 1996;39:564–572. doi: 10.1007/BF00403303. [DOI] [PubMed] [Google Scholar]
  • 37.Simon C, Follenius M, Brandenberger G. Postprandial oscillations of plasma glucose, insulin and C-peptide in man. Diabetologia. 1987;30:769–773. doi: 10.1007/BF00275742. [DOI] [PubMed] [Google Scholar]
  • 38.Kalsbeek A, La Fleur S, Van Heijningen C, Buijs RM. Suprachiasmatic GABAergic inputs to the paraventricular nucleus control plasma glucose concentrations in the rat via sympathetic innervation of the liver. J. Neurosci. 2004;24:7604–7613. doi: 10.1523/JNEUROSCI.5328-03.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Aston-Jones G, Smith RJ, Moorman DE, Richardson KA. Role of lateral hypothalamic orexin neurons in reward processing and addiction. Neuropharmacology. 2009;56:112–121. doi: 10.1016/j.neuropharm.2008.06.060. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Yi C-X, et al. A major role for perifornical orexin neurons in the control of glucose metabolism in rats. Diabetes. 2009;58:1998–2005. doi: 10.2337/db09-0385. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Ruud J, Steculorum SM, Brüning JC. Neuronal control of peripheral insulin sensitivity and glucose metabolism. Nat. Commun. 2017;8:15259. doi: 10.1038/ncomms15259. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Scherer T, et al. Brain insulin controls adipose tissue lipolysis and lipogenesis. Cell Metab. 2011;13:183–194. doi: 10.1016/j.cmet.2011.01.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Perrin C, Knauf C, Burcelin R. Intracerebroventricular infusion of glucose, insulin, and the adenosine monophosphate-activated kinase activator, 5-aminoimidazole-4-carboxamide-1-beta-D-ribofuranoside, controls muscle glycogen synthesis. Endocrinology. 2004;145:4025–4033. doi: 10.1210/en.2004-0270. [DOI] [PubMed] [Google Scholar]
  • 44.Dovc K, Battelino T. Closed-loop insulin delivery systems in children and adolescents with type 1 diabetes. Expert Opin. Drug Deliv. 2020;17:157–166. doi: 10.1080/17425247.2020.1713747. [DOI] [PubMed] [Google Scholar]
  • 45.Breton MD, et al. A randomized trial of closed-loop control in children with type 1 diabetes. N. Engl. J. Med. 2020;383:836–845. doi: 10.1056/NEJMoa2004736. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Umpierrez GE, et al. Randomized study of basal-bolus insulin therapy in the inpatient management of patients with type 2 diabetes (RABBIT 2 trial) Diabetes Care. 2007;30:2181–2186. doi: 10.2337/dc07-0295. [DOI] [PubMed] [Google Scholar]
  • 47.Pettus J, Santos Cavaiola T, Tamborlane WV, Edelman S. The past, present, and future of basal insulins. Diabetes Metab. Res. Rev. 2016;32:478–496. doi: 10.1002/dmrr.2763. [DOI] [PubMed] [Google Scholar]
  • 48.Rodbard HW, Rodbard D. Biosynthetic human insulin and insulin analogs. Am. J. Ther. 2020;27:e42–e51. doi: 10.1097/MJT.0000000000001089. [DOI] [PubMed] [Google Scholar]
  • 49.Davis GM, et al. Accuracy of dexcom G6 continuous glucose monitoring in non-critically Ill hospitalized patients with diabetes. Diabetes Care. 2021;44:1641–1646. doi: 10.2337/dc20-2856. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Destrieux C, Fischl B, Dale A, Halgren E. Automatic parcellation of human cortical gyri and sulci using standard anatomical nomenclature. Neuroimage. 2010;53:1–15. doi: 10.1016/j.neuroimage.2010.06.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Oostenveld R, Fries P, Maris E, Schoffelen J-M. FieldTrip: Open source software for advanced analysis of MEG, EEG, and invasive electrophysiological data. Comput Intell. Neurosci. 2011;2011:156869. doi: 10.1155/2011/156869. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Li G, et al. Optimal referencing for stereo-electroencephalographic (SEEG) recordings. Neuroimage. 2018;183:327–335. doi: 10.1016/j.neuroimage.2018.08.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Janca R, et al. Detection of interictal epileptiform discharges using signal envelope distribution modelling: application to epileptic and non-epileptic intracranial recordings. Brain Topogr. 2015;28:172–183. doi: 10.1007/s10548-014-0379-1. [DOI] [PubMed] [Google Scholar]
  • 54.Baud MO, et al. Multi-day rhythms modulate seizure risk in epilepsy. Nat. Commun. 2018;9:88. doi: 10.1038/s41467-017-02577-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Lemaréchal J-D, et al. A brain atlas of axonal and synaptic delays based on modelling of cortico-cortical evoked potentials. Brain. 2022;145:1653–1667. doi: 10.1093/brain/awab362. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Huang Y, et al. Intracortical dynamics underlying repetitive stimulation predicts changes in network connectivity. J. Neurosci. 2019;39:6122–6135. doi: 10.1523/JNEUROSCI.0535-19.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Kunieda T, Yamao Y, Kikuchi T, Matsumoto R. New approach for exploring cerebral functional connectivity: review of cortico-cortical evoked potential. Neurol. Med Chir. 2015;55:374–382. doi: 10.2176/nmc.ra.2014-0388. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Efron B, Hastie T, Johnstone I, Tibshirani R. Least angle regression. Ann. Stat. 2004;32:407–499. doi: 10.1214/009053604000000067. [DOI] [Google Scholar]
  • 59.Pedregosa, F. et al. Scikit-learn: machine learning in Python. J. Mach. Learn. Res.12, 2825–2830 (2011).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Reporting Summary (2.1MB, pdf)

Data Availability Statement

The data that support the findings of this study are available from the corresponding author on an individual request basis due to institutional data sharing agreements and compliance with U.S. Health Insurance Portability and Accountability Act (HIPAA). Source data are provided with this paper.

Matlab 2019b was used to perform all electrophysiologic analyses in this study. The dependent toolboxes used were: Fieldtrip-20190828, SPM8 (2013-09-17), SPM12 (2018-11-07), iELVis (2019-09-29), Matlab Signal Processing toolbox (r2019b). Python (>= 3.10) was used for decoding analysis and included these packages: h5py (>= 2.10.0), numpy (>= 1.19.2), scikit_learn (>= 1.1.2), scipy (>= 1.5.4). No new algorithm or preprocessing techniques were performed outside of standard toolbox usages. Customized code for glucose decoding is available on Github (https://github.com/dancingdarwin/CGM-Decoder?fbclid=IwAR2TIiA49gMZpq1CwjMF6oWD9jEw13tgk5yS-54yZAp-Kq7ihK79belUn3w).


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES