Whole-brain activity dynamic identified from fMRI sleep recording using a Hidden Markov Model. A. Participants slept inside a scanner from ∼23:00 to ∼07:00 for two consecutive nights, with concurrent EEG-fMRI recording. During each night, the fMRI experiments were intermittently disrupted by either acoustical arousals (8 random arousals) or spontaneous awakenings. Sleep stages and slow wave density were derived from EEG signals alone. B. HMM was trained on the principal components of fMRI signals of Night 2. Then the identified HMM states were generalized to Night 1 fMRI signals. Finally, we studied the state-related variations in fMRI activation, FC patterns, and EEG measures. Notes: EEG, electroencephalographic; TR: repetition time; FC, functional connectivity; ROI, region of interest; PCA, principal component analysis.

PSG-based sleep stages and HMM states for each night. A. Distribution of sleep stages for all 12 participants during Night 2. B. Distribution of sleep stages for 21 HMM states during Night 2. C. Distribution of sleep stages for all 12 participants during Night 1. D. Distribution of sleep stages for 21 HMM states during Night 1. The correlation coefficient between sleep stage distributions of HMM states during Night 2 and those during Night 1 is 0.94, p < 0.0001.

Results of the modular analysis based solely on transition probability between HMM states. Each row represents the transition probability of the current HMM state (y-axis) to other states (x-axis). Twenty-one HMM states were categorized into five modules (black boxes): from left to right, light-N2 module (states 5, 7, 9, 14, 15, 18, 21), N3 module (states 4, 8, 10), deep-N2 module (states 1, 2, 3, 12, 17), REM module (states 6 and 19), and Wake module ( states 11, 13, 16, 20). The pie chart under each state represents the sleep stage distribution for the state.

Mean fMRI activation in ROIs within DMN and FPN for each HMM state. Bottom right panel: illustration of DMN (purple) and FPN (green) nodes. Note: DMN: Default Mode Network; FPN: Frontoparietal Network.