Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2012;8(11):e1002788.
doi: 10.1371/journal.pcbi.1002788. Epub 2012 Nov 29.

Reconstructing mammalian sleep dynamics with data assimilation

Affiliations

Reconstructing mammalian sleep dynamics with data assimilation

Madineh Sedigh-Sarvestani et al. PLoS Comput Biol. 2012.

Abstract

Data assimilation is a valuable tool in the study of any complex system, where measurements are incomplete, uncertain, or both. It enables the user to take advantage of all available information including experimental measurements and short-term model forecasts of a system. Although data assimilation has been used to study other biological systems, the study of the sleep-wake regulatory network has yet to benefit from this toolset. We present a data assimilation framework based on the unscented Kalman filter (UKF) for combining sparse measurements together with a relatively high-dimensional nonlinear computational model to estimate the state of a model of the sleep-wake regulatory system. We demonstrate with simulation studies that a few noisy variables can be used to accurately reconstruct the remaining hidden variables. We introduce a metric for ranking relative partial observability of computational models, within the UKF framework, that allows us to choose the optimal variables for measurement and also provides a methodology for optimizing framework parameters such as UKF covariance inflation. In addition, we demonstrate a parameter estimation method that allows us to track non-stationary model parameters and accommodate slow dynamics not included in the UKF filter model. Finally, we show that we can even use observed discretized sleep-state, which is not one of the model variables, to reconstruct model state and estimate unknown parameters. Sleep is implicated in many neurological disorders from epilepsy to schizophrenia, but simultaneous observation of the many brain components that regulate this behavior is difficult. We anticipate that this data assimilation framework will enable better understanding of the detailed interactions governing sleep and wake behavior and provide for better, more targeted, therapies.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Figure 1
Figure 1. Computational models of the sleep-wake regulatory system and their outputs.
A) Diniz Behn and Booth (DB) Model circuit diagram, illustrating the cell groups, their output neurotransmitters, and connections. Inhibitory connections are represented by minus and excitatory connections are represented by plus signs. Locus coeruleus (LC), dorsal raphe (DR), ventrolateral preoptic nucleus (VLPO), laterodorsal/pendunculopontine tegmentum (LDT/PPT), gamma-aminobutyric acid (GABA), seretonin (5-HT), norepinephrine (NE), acetylcholine (ACh), homeostatic sleep-drive (h), non rapid-eye-movement sleep (NREM), rapid-eye-movement sleep (REM). B) Typical output of the DB model for three of the cell group firing rates, plus the scored sleep-state plotted as a hypnogram. C) Fleshner, Booth, Forger and Diniz Behn (FBFD) Model circuit diagram, which expands on the DB model to include circadian modulation by and feedback to the suprachiasmatic nucleus (SCN), and allows for diurnal variations in behavior with light periods dominated by sleep activities and dark periods by periods of extended awake activity. Dashed lines indicate SCN additions to DB model. D) 36 hour hypnogram from the FBFD model, with 24-hour periodic CIRC input input to the SCN superimposed.
Figure 2
Figure 2. Reconstruction of DB Model Dynamics (A) with default values for covariance inflater , and (B) after optimization of and .
Noisy measurements of formula image (blue) were passed to the unscented kalman filter (UKF) framework to track and reconstruct all other variables. Shown are the firing rates for the Wake-active (LC), NREM-active (VLPO), and REM-active (LDT/PPT) cell groups, along with thalamic noise formula image. The framework was given the same parameters used to generate the original data. In both A and B the same data was tracked with model initial conditions chosen randomly. After a transient period, reconstructed (red) Wake and NREM dynamics are close to true (black) dynamics. Without formula image optimization the dynamics of formula image are essentially ignored. After formula image optimization at least some of the stochastic formula image dynamics - those that measurably affect the dynamics of formula image - are reconstructed and reconstruction of REM dynamics is improved.
Figure 3
Figure 3. Empirical Observability Coefficient (EOC) matrix.
formula image for the DB model with no thalamic noise and default values of formula image. formula image is an empirical measure of how well variable formula image is reconstructed from measurement of variable formula image. formula image with perfect reconstruction being 1. Here formula image was computed using 12 hours of data. From the formula image matrix, we observe that formula image (row) is poorly observed - poorly reconstructed - from most variables, although its measurement (column) yields good reconstruction of almost all other variables.
Figure 4
Figure 4. Optimization of Covariance Inflater .
Although the individual EOCs are metrics of reconstruction fidelity, the ranked observability, from the full formula image can be used to guide optimization of the covariance inflater formula image: Poorly observed variables across their rows - low formula image - should have decreased formula image. Variables whose measurement yields poor reconstruction columnwise- low formula image - should have increased formula image. Algorithmically, we iteratively adjust formula image for the variable formula image with the overall lowest mean row or column. In A–C are shown the formula image matrix after each optimization iteration for the full DB model with thalamic noise. A) formula image computed with default values for formula image, i.e. formula image. Note that the lowest mean row/column corresponds to the measurement of formula image, therefore we optimize formula image first. B) formula image after optimization of formula image. C) formula image after optimizing formula image. Shown are formula image as a function of D) formula image for optimization step between A and B and E) formula image for optimization steps between B and C. Optimal values of formula image are chosen from the peaks of these plots.
Figure 5
Figure 5. Parameter estimation with multiple shooting method for reconstruction of DB model from measurement of and with unknown value for parameter .
Parameter estimation is performed by minimizing the divergence between the UKF reconstructed dynamics and short model-generated trajectories that originate on the reconstructed trajectories. To sample the full state space, each step of this minimization averages this divergence over time windows longer than the cycle time of the dynamics. Here we use half hour windows, with 80% overlap. A) Convergence of the estimated parameter formula image to the true value. B) Trajectories for the short model generated (magenta), reconstructed (red), and true (black) formula image dynamics for different periods of the convergence of formula image. Note that initially, for formula image significantly different than the true value, the short trajectories diverge quickly from the reconstructed values, and the reconstructed values of of formula image are different from the true values. When formula image approaches the true value, both short model-generated and reconstructed trajectories approach the true values. C) Reconstruction metric formula image computed for each data assimilation window for three of the variables. As a reference point, the reconstruction metric for the original noisy observation of formula image is shown in blue. Note that although the parameter estimation essentially optimizes short model generated forecasts, it has the effect of optimizing hidden variable reconstruction.
Figure 6
Figure 6. Parameter Tracking to accommodate circadian dynamics.
Noisy measurements of formula image and formula image from the full FBFD model were assimilated with a version of the DB model that represented input from the SCN as a quasi-static parameter formula image whose value was estimated and tracked in 80% overlapping half hour windows. SCN activity imposes circadian and light-driven dynamics that modulate sleep-wake cycles and prevalence of either sleep or wake activity. A) Short excerpts of reconstructed dynamics for various phases of the circadian cycle. B) Estimated (magenta) and true (black) value of the tracked parameter formula image. Note that the tracked value is an estimate, with inherent smoothing on the time scale of a half hour, and therefore does not reconstruct all of the detailed dynamics of the true value which oscillates due to the interplay between the core sleep-wake regulatory cell groups and the SCN. C) Normalized reconstruction error for various variables. As a reference, the reconstruction error for the noisy formula image measurement is shown in blue. The reconstruction of unobserved variables formula image and homeostatic sleep drive formula image is quite good as indicated by small formula image values.
Figure 7
Figure 7. Reconstruction of DB dynamics from measured hypnogram.
SOV is used along with an inferred observation function to translate an observed hypnogram into state conditioned observations for formula image, formula image, and formula image, and their variances. We use the UKF to reconstruct the full variable state space from these observations. A) Probability distributions of firing rates for formula image, formula image and formula image during Wake (black), NREM (red), and REM (blue). These firing rates were generated from the filter-model. B) Hypnogram of observed SOV for a 1 hour time series, with colors to match (A). C) Reconstructed (red) and true (black) traces for formula image, formula image, formula image, and formula image. The inferred observation for formula image is also shown (blue). After a transient period, the reconstruction converges to the true value, even for the homeostatic drive variable formula image which was not observed. However, details of the dynamics that are not accounted for by the state-of-vigilance (SOV) such as brief awakenings and transitions into and out of NREM are not reconstructed well.
Figure 8
Figure 8. Parameter estimation from observed hypnogram for reconstruction of DB model from inferred measurement of , , and with unknown value for parameter .
A) Convergence of the estimated parameter(magenta) to the true value (black). B) Trajectories for the short model-generated (magenta), reconstructed (red), and true (black) formula image dynamics for different periods of the convergence of formula image. C) Reconstruction metric formula image computed for each data assimilation window for three of the variables. Horizontal dashed lines correspond to formula image computed from the state-conditioned discrete map used to translate the SOV to model space. Note that once the parameter is optimized, the UKF reconstruction far outperforms the observation map.

Similar articles

Cited by

References

    1. Saper CB, Scammel TE, Lu J (2005) Hypothalamic regulation of sleep and circadian rhythms. Nature 437: 1257–63. - PubMed
    1. Tamakawa Y, Karashima A, Koyoma Y, Katayama N, Nakao M (2006) A quartet neural system model orchestrating sleep and wakefulness mechanisms. J Neurophysiol 95: 2055–69. - PubMed
    1. Diniz Behn CG, Brown EN, Scammel TE, Kopell NJ (2007) Mathematical model of network dynamics governing mouse sleep. J Neurophysiol 97: 3828–40. - PMC - PubMed
    1. Diniz Behn CG, Booth V (2010) Simulating microinjection experiments in a novel model of the rat sleep-wake regulatory network. J Neurophysiol 103: 1937–1953. - PubMed
    1. Phillips JK, Robinson PA (2007) A quantitative model of sleep-wake dynamics based on the physiology of the brainstem ascending arousal system. J Biological Rhythms 22: 167–179. - PubMed

Publication types

LinkOut - more resources