Introduction

Diagnosing disorders of consciousness (DoC) and prognosing patients’ evolution remain a major medical challenge. Current classifications of DoC are based primarily on clinical evaluations of arousal and awareness, leading to the categorization of patients into a heterogeneous set of categories with definitions that are still evolving1,2. However, these assessments, which rely on overt behavioral responses, are inherently limited and are susceptible to bias from factors affecting motor output (e.g., locked-in syndrome)3,4 or language function (e.g., aphasia)5,6. As a result, diagnostic errors are common, with misdiagnosis rates estimated as high as 40%7, often leading to critical treatment decisions.

Given these limitations, there is a growing need for objective, neurophysiological markers that can provide a more accurate assessment of consciousness. One promising avenue of research lies in the study of brain signal complexity and information dynamics. In this context, entropy, a measure of the unpredictability or disorder within a system, has emerged as a powerful tool to characterize different states of consciousness, with theoretical and practical implications. Studies in neuroscience have extensively explored the relationship between entropy and consciousness, particularly in the contexts of coma, anesthesia, and sleep8,9,10. Higher entropy has been associated with wakefulness and cognitive flexibility, whereas lower entropy reflects diminished neural complexity, often observed in unconscious states11,12. Recent findings indicate that brain entropy systematically decreases in coma, anesthesia, and deep sleep, reflecting a shift toward more predictable and less integrated neural states8,13. This pattern is consistent with the loss of long-range functional connectivity and thalamocortical disruptions observed in unconscious states14. A set of studies have proposed that consciousness emerges from the brain’s dynamic organization, following the MaxCon (Maximization of Configurations) principle15,16,17. This framework suggests that conscious states arise when the brain optimally balances integration and segregation of information, maximizing network complexity. By analyzing entropy and brain connectivity across different states (e.g., anesthesia, coma, wakefulness), the authors provide evidence that consciousness corresponds to maximal configurational diversity and information distribution.

However, entropy-based approaches alone may not fully capture the complexity of conscious states. Sanz Perl et al.18 demonstrated that macroscopic brain activity deviates from equilibrium during wakefulness, a property that is lost in unconscious states. Using entropy production and the curl of probability flux in phase space, they showed that wakefulness is characterized by persistent non-equilibrium dynamics, whereas unconscious states, including those induced by propofol and ketamine anesthesia, shift toward equilibrium conditions. In active states such as wakefulness, the number of possible system configurations, representing the different ways in which brain regions can connect, is maximized. From the standpoint of statistical physics, this corresponds to a tendency to maximize entropy. In contrast, altered states such as sleep19, anesthesia20, or DoC21 show a reduction in the number of possible configurations, leading to lower entropy16. This perspective aligns with the idea that a rich repertoire of network configurations, rather than just a high level of entropy, is essential for conscious experience. Beyond traditional measures of neural complexity, recent work has framed consciousness as a non-equilibrium phenomenon, highlighting the brain’s deviation from thermodynamic equilibrium as a fundamental signature of awareness18. Various theories of consciousness have incorporated entropy as a fundamental principle to explain conscious states and their fluctuations. In general, these theories suggest that consciousness emerges from neural dynamics that balance order and disorder, where entropy reflects the brain’s ability to process information flexibly and adaptively. From a thermodynamic perspective, the theory of the brain as a non-equilibrium system posits that consciousness arises when the brain operates far from thermodynamic equilibrium, maintaining a stable yet highly variable dynamic18,22. According to this view, unconscious states reflect a reduction in neural complexity and a shift toward more predictable, equilibrium-like dynamics. Signal entropy has been widely studied as a correlate of consciousness, with measures derived from EEG time-series (e.g., spectral entropy, Lempel-Ziv complexity) consistently showing reduced complexity in unconscious states. However, these approaches primarily capture local neural signal variability rather than large-scale network coordination. In contrast, connectivity entropy quantifies the diversity of functional interactions across brain regions, offering a complementary perspective on the neural dynamics of consciousness. Together, these theories suggest that consciousness is deeply linked to the regulation of entropy in the brain. While conscious states are characterized by high but structured entropy, unconscious states reflect a decline in complexity and a shift toward equilibrium-like dynamics. Understanding how entropy interacts with other neural properties remains a key challenge in consciousness research.

Recent advancements in neuroimaging, guided by the aforementioned findings on entropy and complexity, as well as connectionist theories of consciousness8,23,24,25,26, have sought to characterize conscious states by identifying brain activity patterns that may not be detectable through behavioral assessments. These techniques have emerged using active cognitive tasks21,27,28,29, spontaneous brain activity9,30,31,32, and external stimulation paired with EEG responses33,34,35, providing clinicians with new tools to detect consciousness. Among these methods, one of the most promising approaches is based on studying signatures of consciousness through the detection of fMRI-based “brain states”13,36,37,38,39, which is especially well suited to detect spontaneous, transient shifts in brain activity. These brain states refer to recurring patterns of functional connectivity obtained through unsupervised clustering of dynamical connectivity matrices that can reveal these shifts (typically lasting from 5 to 60 seconds36). Research indicates that the properties of the brain states are strongly modulated by levels of arousal and consciousness. In awake humans and monkeys a diverse range of brain states exists, including those with high connectivity, high entropy, and negative correlations13,36,38,39. Conversely, in cases of DoC or under sedation, there are significant changes in the observed brain states: the richer variety of brain states diminishes, and only low-connectivity, low-entropy states ―shaped by the underlying structural connectivity― persist9,37. These findings are in line with dynamical systems simulations40,41 showing that, for low coupling strength between brain areas —a configuration resembling DOC condition—spontaneous neuronal activity remains but it is restricted to a single stable connectivity pattern, defined by the fixed network of structural connectivity. As connectivity between brain regions increases, the system undergoes a transition to multistability, allowing for a diverse set of possible patterns. This transition is considered crucial for sustaining conscious states.

However, the reliance on fMRI for detecting brain states presents significant practical challenges in the clinical management of DoC. Transporting patients with life-supporting devices to MRI scanners is often unfeasible, and repeated scanning over long periods is required to capture the transient periods of heightened brain activity, which is impractical in a scanner setting. In contrast, EEG offers a more accessible and real-time alternative, allowing bedside assessments that could provide critical insights into patients’ residual brain function and consciousness. By leveraging EEG-based brain state detection, we can move toward more personalized patient care, allowing clinicians to monitor transient changes in brain dynamics.

In this study, we analyzed one of the largest cohorts of DoC patients to date, comprising 237 patients and 101 healthy controls from three independent clinical centers, aiming to bring EEG-based consciousness detection closer to clinical application. We expanded upon previous work that focused mainly on chronic DoC, such as Unresponsive Wakefulness Syndrome (UWS) and Minimally Conscious State (MCS), by including both chronic and acute patients. The acute group included comatose individuals with low Glasgow Coma Scale (GCS) scores, with an average of 14 days since brain injury. Our goal was to identify EEG-based brain states and explore their diagnostic and prognostic potential across the full spectrum of DoC. (Fig. 1A). Our findings revealed and characterized five distinct EEG functional connectivity brain states, whose occurrence probability was closely associated with the level of consciousness. High-entropy brain states were predominantly observed in conscious subjects, while low-entropy states became more probable with increasing DoC severity. Moreover, we found that transient patterns of high-entropy connectivity — akin to those seen in healthy individuals — could occasionally be detected in DoC patients. The occurrence probability of these patterns provided valuable diagnostic information and offered predictive insights into patient outcomes. Finally, we demonstrated that these transient states of enhanced connectivity could be detected in real-time using bedside EEG, highlighting the feasibility of this method for continuous patient monitoring and neuroprognostication (Fig. 1).

Fig. 1: Analysis pipeline.
figure 1

A Offline calculation of brain states: We utilized three datasets from different centers, comprising healthy controls and three patient categories (Minimally Conscious Syndrome [MCS], Unresponsive Wakefulness Syndrome[UWS], and Acute patients). Windowed wSMI matrices were computed from EEG data, followed by clustering analysis to identify 5 distinct brain states. The probability and association with patient prognosis were then evaluated. B Real-time calculation of brain states: Simulating a bedside scenario, we processed 16 s of raw EEG data every 24 s to generate raw-data wSMI matrices. By matching these matrices to the pre-defined brain states obtained offline, we established real-time brain state identification.

Results

Methodological overview

The analyses applied in this work are illustrated in Fig. 1. EEG data from three distinct sites were first transformed into symbolic representations using weighted Symbolic Mutual Information (wSMI)21 (see Supplementary Methods and Supplementary Fig. 1 for a full description of the process). This measure identifies non-random joint fluctuations between two EEG signals, allowing for the detection of meaningful patterns in brain connectivity. Next, k-means clustering was employed on these wSMI connectivity matrices to identify recurring connectivity patterns across all subjects, referred to as “brain states”13,37,38 (Fig. 1A). These brain states were then sorted based on the Shannon entropy of the distribution of connectivity values. Each brain state was classified by its proximity to the connectivity matrices, resulting in a probability distribution for each subject (Fig. 1A, right). To summarize the properties of these brain states, we calculated the Weighted Entropy (WE), which represents the average entropy weighted by the probabilities. The WE metric reflects the diversity and complexity of connectivity patterns across brain states, with higher WE values indicating more varied and complex connectivity. To investigate the relationship between these brain states and clinical outcomes, patients were categorized into three groups based on their clinical evolution: improvement (e.g., transition from UWS to MCS), no change (e.g., staying in the same condition), and deterioration (e.g., transition from MCS to UWS). All numerical source data for graphs is available at a Figshare repository42.

Detection of EEG brain states

We identified five distinct EEG brain states, with the value of five determined using the Elbow method43 (Supplementary Fig. 2; see Supplementary Material, subsection Clustering Analysis, for details), each characterized by unique connectivity patterns. To streamline analysis and comparison, we ranked the brain states by entropy levels (Fig. 2A), assigning numbers in descending order. Consistent with previous findings in fMRI studies, brain states 1 and 2 displayed the highest entropy and complexity (Fig. 2D). These states displayed a broad spectrum of connectivity values, ranging from weak to strong connections across electrodes in a topographical map, suggesting the presence of connectivity hubs in parietal regions (Fig. 2A). On the opposite end of the entropy scale, brain states 4 and 5 exhibited a completely different connectivity pattern. These states showed a narrow connectivity range with uniformly low connectivity values, leading to a homogeneous distribution of connections across the scalp (Fig. 2A, right). Using hierarchical decomposition analysis of the brain state space, we observed similarities according to the Manhattan distance and positions between the different brain states (Fig. 2C). Brain states 4 and 5 formed a cluster with the highest similarity, followed by their merging with brain states 3 and 2 (Fig. 2C). Brain state 1 exhibited the greatest distance from the other brain states, indicating its distinctiveness in the multidimensional space.

Fig. 2: EEG brain states and their distribution in DoC.
figure 2

A Brain states ordered by entropy from 1 (high entropy) to 5 (low entropy). The upper triangular part of the matrices represents the centroids, or brain states, obtained from the clustering analysis. The value at row i and column j indicates the wSMI connectivity between electrode i and electrode j. The topographical plots illustrate the average of wSMI values for each electrode. B Probability distributions of brain states across all groups. Brain state 1 is predominantly observed in healthy subjects, whereas the probability of brain state 5 increases with the severity of DoC (nHealthy = 101, nMCS = 95, nUWS = 101, nAcute = 41 participants). C Dendrogram clustering displaying the Manhattan distances between brain states. D Lempel-Ziv complexity as a function of entropy for each brain state. Brain States with higher variance exhibit greater entropy and Lempel-Ziv complexity. E Weighted entropy across all groups, highlighting changes in entropy as a function of DoC severity (p-values corrected for multiple comparisons. *p < 0.05, ***p < 0.001). Error bars represent S.E.M.

EEG brain states rates of occurrence across levels of consciousness

Figure 2B depicts the distribution of brain states across different groups based on the severity of DoC. Both the probability of each brain state (Fig. 2B) and the average WE (Fig. 2E) were consistently modulated by the participant’s condition. Compared to controls, the patients’ probability of high-entropy brain states diminished (Fig. 2B), the probability of low-entropy states increased, and the average weighted entropy decreased (Fig. 2E). As DoC severity increased from MCS to UWS to Acute, the WE progressively shifted towards lower values in patients compared to controls (Fig. 2E) (F3, 153.1 = 25.45, p = 2 × 10⁻¹³). Significant differences in WE were observed between the control group and all patient groups (Healthy vs. MCS [(−0.01141 ± 0.00254), t-ratio(294.8) = −4.497, p = 0.0001], Healthy vs. UWS [(−0.01521 ± 0.00250), t-ratio(294.9) = −6.081, p < 0.0001], Healthy vs. Acute [(−0.02627 ± 0.00440), t-ratio(82.1) = −5.967, p < 0.0001]). However, within the patient group, significant differences in WE were found only between MCS and Acute ([(−0.01486 ± 0.00515), t-ratio(54.1) = −2.883, p = 0.028]).

To ensure the robustness of our findings, we conducted separate analyses for each center, confirming that the observed patterns held across all datasets (Supplementary Figs. 3A and Supplementary Methods, subsection Cross-Validation analysis). To further validate our results, we performed a cross-validation approach, using centroids calculated in one center and testing them in another, which confirmed the generalizability of our findings (Supplementary Fig. 3B, C). Additionally, these findings remained stable even when reducing the number of EEG channels, as analyses with 64 and 32 channels yielded similar results to those obtained with 128 channels (Supplementary Fig. 4). This consistency across datasets, channel configurations, and validation methods strengthens the reliability of our results.

Patient-specific EEG brain states

To refine our analysis, we re-ran the clustering algorithm, this time excluding data from healthy controls. This approach allowed us to focus exclusively on the portion of the multidimensional space occupied by the patient’s data, enabling a more detailed characterization of their EEG brain specific to the patients. To differentiate these newly identified states from those obtained in the full dataset, we refer to them as Patient-Specific Brain States (PBS), labeled as PBS1, PBS2, and so on. For this analysis, we combined data from the Paris and Shanghai datasets while excluding the Toulouse dataset to avoid collinearity issues, as the Toulouse dataset contained only acute patients. By restricting the analysis to the Paris and Shanghai datasets, we were able to perform a mixed model analysis on chronic patients and evaluate the method’s potential for both prognosis and diagnosis.

As expected, the newly identified brain states exhibited significantly lower wSMI values and more diffuse topographies (Fig. 3A) and lower levels of LZ complexity and entropy (Fig. 3C). Consistent with our previous findings, the probability of each individual brain state (Fig. 3B), and WE (Fig. 3D) varied across patient groups, indicating that as the severity of DoC increased from MCS to UWS, WE progressively shifted towards lower values (Fig. 3D) (F3, 183.82 = 18.7, p = 1.2 × 10⁻¹⁰). Using centroids obtained exclusively from patient data, we observed significant differences between MCS and UWS (95% CI [0.00344, 0.00728], t-ratio(332.1) = 2.793, p = 0.0282).

Fig. 3: Patient-specific brain states.
figure 3

A Brain states defined using data exclusively from chronic patients. The upper triangular part of the matrices correspond to the centroids, a.k.a brain states resulting from the clustering analysis, and the value at row i and column j represents the wSMI connectivity value between electrode i and electrode j with brain states sorted by entropy from 1 (high entropy) to 5 (low entropy). The topographical plots show the average wSMI value for each electrode. B Probability distribution of all 5 brain states for MCS and UWS. (nMCS = 95, nUWS = 101 participants) C Lempel-Ziv complexity as a function of entropy for each patient-specific brain state. D WE for both groups. The weighted entropy values follow the same trend, supporting the differentiation of brain states based on the level of consciousness. (p-values were corrected for multiple comparisons, **p < 0.01). Error bars represent S.E.M.

Prognostic value of EEG brain states

Next, we investigated the potential of our methodology in predicting patient prognosis. In chronic patients, we found a significant relationship between patient outcomes and WE (F2, 178.6 = 4.808, p = 0.009; Fig. 4A and Supplementary Fig. 5). Specifically, patients who showed improvement in their condition (i.e., transitioning from UWS to MCS) had higher WE (including patients who transitioned from MCS to MCS+ in the improvement group did not change the results; however, we excluded them from the analysis as they represented only three cases), while those who experienced deterioration (transitioning from MCS to UWS or dying) had lower WE. Pairwise comparisons adjusted for multiple comparisons revealed significant differences between the Deteriorate and Improve groups (95% CI [0.000759, 0.00740] p = 0.0115). However, no significant differences were observed between the Deteriorate and No change groups (95% CI [−0.00245, 0.00448], p = 0.77) or the No change and Improve groups (95% CI [−0.000156, 0.00628], p = 0.065).

Fig. 4: Relationship between brain states and patients’ prognosis.
figure 4

A WE as a function of chronic patients’ outcome. The graph shows that in chronic patients, the WE tends to be higher as the probability of patient improvement increases. (nImprove = 67, nNo-change = 59, nDeteriorate = 53 participants). B WE as a function of acute patients’ outcomes. Similarly, in acute patients, the WE tends to be higher in patients who show improvement in their condition. (nTo-MCS = 17, nTo-UWS = 11, nDeceased = 12 participants). (p-values were corrected for multiple comparisons, *p < 0.05, **p < 0.01). Error bars represent S.E.M.

Similarly, in acute patients we found a significant relationship between patient outcomes and WE (F2, 38 = 5.947, p = 0.00566; Fig. 4B). Significant differences were observed between the No change group (patients transitioning to UWS) and the Deceased group (0.0521, 95% CI [0.0085, 0.0958], p = 0.016), as well as between the Improve group (patients transitioning to MCS) and the Deceased group (0.0522, 95% CI [0.0121, 0.0922], p = 0.008). However, no significant differences were found between the Improve and No change groups (5 × 10⁻⁵, 95% CI [−0.039, 0.039], p = 0.99).

Towards real-time EEG monitoring of patients

To assess the practical potential of this methodology, its performance was tested in a simulated real-time bedside setting. Although real-time data were not available, we conducted a simulation of real-time assessment on acute patients using our pipeline (see Supplementary Methods, section Real time Analysis and Classification for a detailed explanation of the procedure). We classified segments of raw EEG signals into one of the five brain states previously defined for the patients (Fig. 1B). We compared the similarity between offline and real-time brain state distributions in patients, along with their corresponding WE values. Statistical analysis revealed no significant differences in WE values between the two conditions (F1, 78 = 0.713, p = 0.401), indicating that the real-time classification effectively replicated the distribution observed in the offline analysis (Fig. 5A). Figure S5B displays the high degree of similarity between offline and real-time classifications. The average WE values for each patient remained highly stable between the two conditions (R = 0.98) (Fig. 5B), suggesting that our methodology can reliably capture patient-specific brain states in a real-time context. We also quantified the similarity between real-time and offline distributions using a bootstrap method (see Supplementary Methods for details). To assess this similarity, we computed the Jensen-Shannon divergence between the distributions (Fig. 5C). The results showed that the divergence between real-time and offline distributions was not significantly different from random fluctuations when classifying real-time data based on the offline brain states of the same acute patients (p = 0.47).

Fig. 5: Real-time EEG brain states.
figure 5

A WE values calculated for acute patients, using both offline and real-time methods. (nOffline = 40, nRealtime = 40 participants). B Individual WE values calculated in real-time closely matched those obtained through the offline procedure, which included EEG signal cleaning and proper preprocessing. C The null distribution of Jensen-Shannon distance values between random partitions of the offline data is shown. The error bar represents the estimated value and uncertainty for the real-time calculations, which fall within the distribution, demonstrating the reliability of real-time WE estimation. D Prognosis as a function of WE values calculated in real-time. (nTo-MCS = 17, nTo-UWS = 11, nDeceased = 12 participants). E Classification of patients versus controls based on real-time data. (p-values were corrected for multiple comparisons, *p < 0.05, **p < 0.01). Error bars represent S.E.M.

We further explored the potential of our simulated real-time method by assessing its ability to predict prognosis, as we previously did in the offline analysis. In acute patients, we found that real-time mean values, obtained from a single real-time recording, could distinguish between patients who improved and those who deteriorated just as effectively as the offline analysis (F2, 38 = 7.47, p = 0.001). We found significant differences in No change vs. Deteriorate (0.05, 95% CI [0.01, 0.09], p = 0.004) and Improve vs. Deteriorate (0.05, 95% CI [0.01, 0.08], p = 0.003) but no significant difference between in No change vs. Improve (−0.002, CI [−0.03, 0.03], p = 0.97). Next, we used the probability values of each brain state as features to train a Logistic Regression classifier to differentiate between the control and acute groups. The model, evaluated using a leave-one-out cross-validation approach, achieved an AUC of 0.80, an accuracy of 0.76, and an F1-score of 0.81. These results demonstrate that the real-time classification framework effectively captures meaningful differences between conditions, highlighting its potential for practical application.

Discussion

In this study, we investigated EEG brain states in healthy individuals and patients with DoC, identifying distinct brain states and demonstrating their relevance to patient categories and recovery probabilities. We also established the feasibility of real-time, bedside brain state detection, offering a reliable estimation of the patient’s current brain state.

EEG brain states and their link to consciousness

Our findings align with previous research on functional connectivity in DoC patients, as the EEG brain states we identified reflect topographical patterns consistent with those seen in prior research on wakefulness and DoC states13,36,37. Specifically, brain states 1 and 2 exhibit striking similarities with the topographies from healthy individuals in time-averaged wSMI estimations28,29. These topographies indicate a temporal organization characterized by long-range coupling between brain regions, resulting in distinct functional connectivity patterns. Notably, these patterns encompass both low and high magnitude wSMI values and feature a prominent connectivity hub located at bilateral parietal cortices. Conversely, brain states 4 and 5 resemble those observed in fMRI studies conducted on anesthetized monkeys39,44 and DoC patients13 using both EEG and fMRI modalities. These patterns are featured by highly distributed and homogeneous low connectivity with diminished or very weak correlation or mutual information.

These results reinforce theories of consciousness emphasizing long-distance connectivity and dynamic interaction between brain regions as critical for the emergence and maintenance of conscious states24,26. According to current models of consciousness, rich and dynamic functional interactions, along with a diverse repertoire of connectivity patterns, are considered key aspects of conscious processing. These dynamics rely on a certain level of coupling between brain regions, enabling the integration of segregated neural processes and supporting potential conscious awareness34,45,46. Conversely, in conditions such as anesthesia, DoC, or non-rapid eye movement (NREM) sleep, brain regions exhibit decreased coupling and functional connectivity converges into a low connectivity pattern that aligns with the underlying anatomical connections. This state is characterized by spatially homogeneous and weak connectivity, with limited segregation or integration of neural activity. It represents a stable and long-lasting brain state associated with reduced conscious awareness38,44.

The role of entropy in brain state classification

An essential consideration in entropy-based assessments of consciousness, such as our approach, is that variability in connectivity, rather than the absolute strength of connections, is the primary factor driving changes in entropy. Our analysis comparing connectivity entropy with local signal entropy revealed that while both measures decrease in unconscious states, local signal entropy showed limited classification power in our dataset (Supplementary Fig. 6C), suggesting that large-scale functional network diversity is a stronger marker of consciousness than local neural complexity alone. This distinction is crucial when analyzing brain states such as epilepsy and coma. In epilepsy, for instance, neural connections are abnormally strong and highly synchronized, yet this excessive rigidity results in low entropy due to a lack of flexible state transitions. A similar pattern is observed in coma, where patients predominantly remain in state 5, a highly stable neural configuration with minimal variation over time. Despite having wSMI values that may appear comparable to wakefulness in absolute terms, the key difference lies in the lack of fluctuation in these values. This reflects the brain’s failure to dynamically adapt and process both internal and external information. Thus, entropy-based approaches should not only consider connection strength but also the capacity of the system to transition between different states, as this flexibility is likely a crucial feature of conscious processing. Another crucial aspect to consider is the role of connection variability in entropy, rather than just the strength of connectivity. Studies using wSMI and similar metrics indicate that high entropy is associated with dynamic, flexible neural connections, not necessarily stronger connections9. In conditions such as epilepsy, brain activity is highly synchronized, with strong but rigid connections, leading to a low entropy state despite intense neural activity. This suggests that entropy-based measures should account for connection variability rather than absolute connectivity strength when assessing consciousness. While WE is not a direct measure of complexity, it provides insights into the variability of brain state organization, reflecting both the range of connectivity values and the temporal changes in these patterns. This aligns with previous studies that have used temporal dynamics to understand functional connectivity in the brain8,47.

Clinical applications and real-time monitoring

Using EEG brain states, we successfully differentiated healthy participants from patients and discriminated between DoC categories. Moreover, we have shown that applicability of our methods is not reliant on high-density EEG systems. While our approach does not achieve exceptional classification scores compared to recent multimodal approaches that combine multiple metrics, it offers unique advantages. One advantage of our approach is the ability to detect specific windows of enhanced brain activity in real time. This could improve the classification performance of multivariate models that currently do not account for individual fluctuations over time. By combining current EEG classification methods with the identification of these transient brain states, we may develop a powerful tool for the diagnosis and prognosis of patients. Moreover, these tools could foster more productive interactions between healthcare providers and patients by focusing on moments when the patient exhibits brain states 1 and 2. Furthermore, our findings suggest that even the presence of complex brain states can offer valuable insights into the DoC category and patient outcomes. The real-time detection of EEG brain states presents an opportunity for bedside diagnosis and intervention. Although richer brain states are rare in DoC patients, traces of these states can still be identified across all DoC categories. This suggests that patients’ brains briefly visit richer connectivity patterns. Detecting these transiently rich brain states could potentially be valuable for identifying windows of momentarily enhanced cognition in patients, which can inform optimal communication and intervention strategies. Interventions during these brief states of altered brain dynamics may lead to sustained exploration of the brain state repertoire and possibly associated behavioral changes. Similar approaches, such as deep brain stimulation, have shown promising results in modulating fMRI brain states in anesthetized monkeys39, suggesting its potential applicability in DoC patients to drive the brain state towards cognitively rich configurations.

Limitations and open questions

We were able to discriminate between different DoC subcategories only after excluding healthy controls from the analysis, due to the variability introduced by healthy individuals. The use of k-means clustering posed limitations, as it partitions data into equally sized clusters, impacting the granularity of our findings. Future research should explore more advanced clustering methods that can adjust cluster sizes dynamically to improve discrimination between patient subcategories.

A significant methodological challenge in using EEG to study brain states is the lack of direct information on specific brain regions, unlike fMRI. EEG signals cannot directly map functional to structural connectivity, although structural connectivity plays a crucial role in shaping brain states, especially under low vigilance. Our approach addressed this by classifying brain states based on entropy. This allowed us to capture the dynamics of brain states without needing direct structural data. Notably, our entropy-based sorting closely mirrored the anatomical organization observed in fMRI studies, suggesting that EEG could offer a reliable means of characterizing brain state dynamics. Future work should explore how to model these results without relying on structural matrices, potentially developing EEG-based models grounded in functional connectivity backbones.

A key limitation of this study, and of research on brain states in general, is the uncertainty regarding their relationship to subjective experience. Neither our study nor previous works have systematically examined whether the same brain state corresponds to similar cognitive or perceptual experiences. While high-entropy states are predominantly observed in conscious individuals, their occasional presence in DoC patients does not necessarily imply awareness. Likewise, the frequent occurrence of low-entropy states in healthy controls does not indicate unconsciousness during those periods. Understanding the functional significance of these brain states requires further investigation into their cognitive content, ideally incorporating experience sampling alongside neurophysiological monitoring.

A particularly intriguing finding is the persistence of low entropy brain states such as number 5 in healthy controls, which aligns with previous fMRI studies but remains poorly understood. This state could reflect transient microsleep episodes, a common but often overlooked phenomenon in resting-state paradigms. Alternatively, it may not indicate a loss of consciousness but rather effortful information processing, occurring between cognitively demanding tasks while subjects remain vigilant. Without direct experience sampling, it is unclear whether this state corresponds to altered awareness. Future research should aim to distinguish between these possibilities by combining EEG-based connectivity analysis with subjective reports and objective wakefulness measures such as eye-tracking or polysomnography.

More broadly, the classification of brain states is constrained by the assumption that they represent discrete functional configurations with distinct cognitive correlates. One key limitation is the lack of direct association between these states and specific mental content. Neither our study nor previous works have systematically investigated whether the same brain state corresponds to similar subjective experiences, leaving open the possibility that distinct cognitive or perceptual states could map onto the same connectivity configuration. Additionally, k-means clustering assumes that the identified states are equally distributed and well-separated in the feature space. However, the robustness of our clustering analysis regarding the number of brain states to identify (Supplementary Fig. 2), and the stability of brain states across resting-state and task conditions (Supplementary Data 2), highlight both strengths and challenges in defining brain states. On one hand, the consistency of results across different clustering solutions and experimental conditions suggests that these findings are not an artifact of arbitrary parameters. On the other hand, this same robustness raises fundamental questions about what constitutes a “brain state”—if states remain unchanged across cognitive conditions, does this imply they are purely structural in nature, or do they reflect intrinsic, flexible neural dynamics that transcend task engagement? To advance our understanding of this topic, future research should integrate experience sampling methods with neuroimaging clustering approaches. This combined strategy would allow us to assess whether fluctuations in brain connectivity correspond to variations in conscious experience, shedding light on the functional significance of these brain states and their role in shaping cognition and awareness.

Our findings also align with in-silico theoretical models48,49. From a neural dynamics perspective, high-entropy states may reflect a system operating in a metastable regime, allowing for flexible transitions between functional connectivity configurations, a characteristic often associated with wakefulness and cognitive engagement46,50. In contrast, low-entropy states may indicate a system trapped in a more rigid, structurally constrained configuration, which is commonly observed in unconscious states such as deep sleep, anesthesia, and DoC. Notably, the presence of transient high-entropy states in DoC patients suggests that residual network flexibility is preserved to some extent, potentially reflecting brief windows of increased neural complexity that could be relevant for recovery46. The prevalence of low-entropy states in healthy controls further underscores that entropy alone is not a direct measure of consciousness but rather one aspect of a broader dynamical framework. Future research should explore how interventions targeting neural network dynamics, such as non-invasive brain stimulation or pharmacological modulation, might influence the stability and transition probabilities of these states, with potential implications for prognosis and therapeutic strategies in DoC.

Conclusion

This study highlights a strong relationship between EEG brain state properties and levels of consciousness. High-entropy brain states are predominantly observed in conscious individuals, while low-entropy states are more prevalent in patients with severe DoC. The occurrence probabilities of these brain states offer crucial insights into patient prognosis. Moreover, we have demonstrated that transient, enhanced connectivity states can be reliably detected in real-time, paving the way for novel diagnostic and therapeutic interventions in DoC patients. By leveraging EEG as a non-invasive, bedside tool, our research contributes to the growing field of digital medicine, enabling continuous, real-time monitoring of brain function. This approach not only deepens our understanding of the neural mechanisms underlying consciousness but also holds the potential to revolutionize clinical workflows with advanced, data-driven diagnostic tools that could transform the care of DoC patients.

Methods

Ethics statement

All data collections have been approved by their respective ethical committees. The Shanghai study was approved by the Ethical Committee of the Huashan Hospital of Fudan University (approval number: HIRB-2014-281). The Paris study was approved by the Ethical Committee of the Pitié Salpêtrière under the French label of ‘Recherche en soins courants’ [routine care research]. The Toulouse study was approved by the ethics committee of the University Hospital of Toulouse, Toulouse, France (approval number: RC 31/20/0441). All data collections and analyses were carried out in accordance with the Declaration of Helsinki. All ethical regulations relevant to human research participants were followed.

Participants, recordings and preprocessing

EEG data were collected from a total of 237 patients and 101 control subjects across three independent datasets (Shanghai, Paris, and Toulouse), resulting in 267 patient recordings and 101 control recordings (see Supplementary Data 1 for the demographic information). The Shanghai and Paris datasets included chronic patients diagnosed with Minimally Conscious State (MCS) or Unresponsive Wakefulness Syndrome (UWS), while the Toulouse dataset focused on acute patients (see Supplementary Data 3 for a description of datasets). EEG signals were recorded using Electrical Geodesics systems with high-density electrode nets (HCGSN 257-channel for Shanghai and 128-channel for Paris and Toulouse). Sampling rates varied across datasets (1000 Hz in Shanghai, 250 Hz in Paris and Toulouse); therefore, the Shanghai data were downsampled to 250 Hz for consistency. Additionally, all datasets were band-pass filtered between 1–40 Hz to ensure spectral uniformity. To facilitate cross-center comparisons, we interpolated the Shanghai and Paris datasets to match a common 128-channel electrode configuration using spherical interpolation (see Supplementary Methods, section Participants for details). Preprocessing pipelines followed standard artifact rejection procedures. Clinical assessments were performed using the Coma Recovery Scale-Revised (CRS-R), and only EEG recordings from patients off sedation for at least 24 hours were included.

Dynamic wSMI calculation

wSMI was used to assess non-random joint fluctuations between EEG signals across electrode pairs. A detailed description of the procedure is provided in the Supplementary Methods, section Calculation of Weighted Symbolic Mutual Information. Briefly, EEG signals were transformed into symbolic representations using ordinal patterns with an embedding dimension of d = 3 (resulting in six possible symbols) and a temporal separation of τ = 8 ms, optimizing sensitivity to a broad frequency range. Mutual information was computed using a modified approach that accounts for symbol similarity, reducing spurious correlations from common EEG sources. A Current Source Density transformation (spherical spline surface Laplacian) was applied before computing wSMI. To capture temporal dynamics, EEG sessions were segmented into overlapping 16-second windows with a 1-second shift, balancing sensitivity to brain state transitions while maintaining robust statistical estimation. Connectivity matrices (128×128) were derived for each window and subject. The number of windows varied across datasets due to differences in recording durations, ranging from approximately 8 minutes per subject in the Shanghai dataset to 31 minutes in the Toulouse dataset. All analyses were implemented in Python using NICE Tools, MNE, and scikit-learn51.

Unsupervised clustering of connectivity matrices

We applied k-means clustering to identify recurring connectivity patterns, a method widely used in fMRI research13,37. To optimize computational efficiency and ensure equal representation of all EEG recordings, we downsampled each subject’s data to 300 windows, distributing selections evenly across the session to avoid temporal biases (see Supplementary Methods, section Clustering Analysis). For clustering, we used the Manhattan distance as the similarity metric and determined the optimal number of clusters (k = 5) using the Elbow method (Supplementary Fig. 2). To account for the deterministic nature of k-means, we performed 10,000 replicates with randomized centroid initialization to prevent convergence to local minima. Once the centroids were established, all original connectivity matrices were assigned to the closest brain state based on Manhattan distance. Additionally, we computed topographical plots for each centroid by averaging column values across rows in the centroid matrices to obtain a single value per electrode. This analysis was conducted on two datasets: one including all participants (brain states 1–5) and another including only chronic patients (patient-specific brain states PBS1–PBS5), resulting in two distinct sets of brain states.

Brain state complexity and distribution across DoC

The brain states obtained by k-means clustering were sorted in descending order based on their entropy. To achieve this, we calculated the entropy of the distribution of wSMI values for each centroid by dividing the values into \(\sqrt{N}\) bins where N = 128*(128-1)/2 is the number of independent values of the matrix. Additionally, we calculated the Lempel-Ziv complexity (LZC) for each centroid, which quantifies the irreducible information present in a sequence (see Supplementary material, subsection Entropy and Complexity for details). The probability of occurrence for each brain state was estimated by determining the proportion of times each individual connectivity matrix was classified as belonging to that specific brain state. This probability was estimated based on all available recording windows, not just the 300 windows selected for clustering.

To quantify the shift of brain state distributions towards specific brain states, we introduced a weighted entropy (WE) defined as follows:

$${WE}=\mathop{\sum }\limits_{i=1}^{5}\;{p}_{i}{H}_{i}$$
(1)

Where \({p}_{i}\) is the probability of each brain state and \({H}_{i}\) is its entropy.

Instead of relying solely on the probability distribution of k-means centroids, we calculated the entropy of each centroid’s connectivity values, reflecting the variability within each pattern. This approach accounts for the fact that some centroids represent more homogeneous and stable connectivity states (lower entropy), while others capture more heterogeneous or rich configurations (higher entropy). If we would only consider the probability of each state we wouldn’t capture these lower or higher entropy. Additionally, WE offers a more robust means of comparison across groups, as it ensures that differences in brain dynamics are not solely attributed to frequency shifts but also to changes in the underlying informational structure.

Patients’ outcome

We conducted an analysis of the patients’ evolution to examine how brain states might provide information regarding their prognosis. For chronic patients, we defined the potential outcomes as improvement in their clinical condition (e.g., UWS patients transitioning to MCS), deterioration (e.g., patients dying or transitioning from MCS to UWS), or no change in their clinical condition. Similarly, for acute patients, the outcomes were determined based on their progression from an acute condition to a chronic condition, including evolution to MCS, evolution to UWS, or death. A summary of the outcomes since recording can be found in Supplementary Data 1. Patients for whom the outcome was unknown were denoted as “N/A”, and their data were excluded from the prognosis analysis.

Real-time simulation

As a proof of concept, we conducted a real-time simulation to assess the feasibility of EEG brain state classification in acute patients. EEG segments were processed at regular intervals, and their functional connectivity patterns were compared to pre-defined offline brain states. We evaluated the consistency between real-time and offline classifications, confirming that the real-time approach reliably captured brain state distributions. These findings support the potential for bedside, real-time monitoring of brain states in disorders of consciousness. Full methodological details are provided in the Supplementary Materials, section Real time Analysis and Classification.

Statistics and reproducibility

Group differences were assessed using mixed linear models to evaluate the relationship between WE and levels of consciousness across different patient groups. Specifically, WE was modeled as a function of group category (Healthy, MCS, UWS, and Acute), with dataset center (Shanghai, Paris, and Toulouse) included as a random effect. Multiple comparison corrections were applied to account for differences across conditions, ensuring statistical robustness. In addition, a separate ANOVA was conducted to assess differences within each dataset, followed by post-hoc Tukey HSD tests to determine pairwise significance.

To examine the prognostic value of EEG brain states, we analyzed the relationship between WE and patient outcomes in both chronic and acute groups. For chronic patients, a mixed linear model was used to assess whether WE varied across patients who improved, remained stable, or deteriorated. For acute patients, where data were available only from a single center, we performed an ANOVA to compare outcome groups. These analyses allowed us to determine whether specific EEG connectivity patterns were predictive of recovery trajectories in disorders of consciousness.

To validate the real-time classification approach, we compared real-time and offline brain state distributions using a bootstrap method and Jensen-Shannon distance analysis. This approach quantified the divergence between the two classification methods, ensuring that real-time EEG monitoring reliably captured the same brain state probabilities as offline analyses. We repeated this comparison across multiple random groupings of patients, demonstrating the robustness of the real-time approach. Full statistical details, model specifications, and additional validation steps are provided in the Supplementary Materials, section Statistical Analyses.

Reporting summary

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