Abstract
Epilepsy surgery, particularly for temporal lobe epilepsy (TLE), remains a vital treatment option for patients with drug-resistant seizures. However, accurately predicting surgical outcomes remains a significant challenge. This study introduces a novel biomarker derived from brain connectivity, analyzed using non-Euclidean network geometry, to predict the surgery outcome in TLE. Using structural and diffusion magnetic resonance imaging (MRI) data from 51 patients, we examined differences in structural connectivity networks associated with surgical outcomes. Our approach uniquely utilized hyperbolic embeddings of pre- and post-surgery brain networks, successfully distinguishing patients with favorable outcomes from those with poor outcomes. Notably, the method identified regions in the contralateral hemisphere relative to the epileptogenic zone, whose connectivity patterns emerged as a potential biomarker for favorable surgical outcomes. The prediction model achieves an area under the curve (AUC) of 0.87 and a balanced accuracy of 0.81. These results underscore the predictive capability of our model and its effectiveness in individual outcome forecasting based on structural network changes. Our findings highlight the value of non-Euclidean representation of brain networks in gaining deeper insights into connectivity alterations in epilepsy and advancing personalized prediction of surgical outcomes in TLE.
Similar content being viewed by others
Introduction
Epilepsy is one of the most prevalent neurological disorders, affecting ~1% of the global population1. Temporal lobe epilepsy (TLE) is the most common form of drug-resistant focal epilepsy, often leading to a significant reduction in quality of life due to recurrent and unpredictable seizures1. For drug-resistant epilepsies, which comprise about 30% of cases, resective epilepsy surgery has become a widely accepted therapeutic option aiming at removing the epileptogenic regions2,3,4. However, ~30% of these patients continue to experience persistent seizures after surgery3. One potential explanation is that seizures may originate from abnormal brain regions that were not resected. Emerging evidence suggests that in TLE, structural abnormalities extend beyond the epileptogenic zone, forming a broader network involved in seizure generation5,6. These studies indicate that a more comprehensive understanding of brain connectivity changes associated with favorable surgical outcomes could enhance surgical planning and postoperative care7,8.
Although some scoring systems correlate with surgical outcomes9,10,11, existing models remain insufficient to reliably guide clinicians in predicting surgical success, leaving a gap in personalized treatment strategies12,13. Over recent decades, clinical data have been combined with markers from preoperative magnetic resonance imaging (MRI), scalp electroencephalography (EEG), intracranial EEG (iEEG), or magnetoencephalography (MEG) data, to develop predictive tools14,15,16,17,18. Features from interictal pathological iEEG activity, such as spikes and high-frequency events in the epileptogenic zone, have been used as biomarkers of surgical success19,20. Connectivity patterns of these events, however, provide more accurate outcome predictions21,22. For example, preoperative iEEG analyses show that resecting weakly homogeneous networks in TLE often leads to poor outcomes23. Noninvasive studies have demonstrated the predictive utility of spectral power and coherence features from presurgical scalp EEG24,25, and MEG-derived cortical networks, with localized epileptic regions correlating with seizure-free outcomes17. Structural abnormalities in MRI, including the morphology of temporal structures, also predict surgical success when compared to normative data26,27,28. Functional connectivity from presurgical fMRI has been associated with postoperative seizure freedom29, with poor outcomes linked to regional network segregation30.
Interestingly, recent evidence shows that integrating connectivity information from fMRI and diffusion MRI data could serve as a reliable biomarker for predicting surgical outcomes31. Several studies have linked presurgical white matter properties to surgical outcomes, including tract density32 and diffusion abnormalities in white matter bundles from DTI data33. Patient-specific white matter features from Diffusion-weighted magnetic resonance imaging (dMRI) data have been shown to be reliable biomarkers of postoperative seizure outcomes34. Structural networks derived from DTI provide accurate, individualized outcome predictions16,35,36,37. Surgical outcomes depend not only on presurgical networks but also on how resection affects brain connectivity36,38,39. Predictive modeling of multivariate iEEG data has enabled seizure propensity predictions by simulating channel resection40,41. Network-based in-silico simulations assess the “ictogenicity” of brain areas and predict outcomes of virtual resections42,43,44,45. Our study leverages MRI and dMRI data to analyze pre- and postoperative structural brain connectivity changes, aiming to identify novel biomarkers for more precise surgical outcome predictions.
In recent years, brain connectivity networks have emerged as a powerful framework for studying a range of neurological diseases, including neurodegenerative disorders46,47, schizophrenia48, and epilepsy49,50. Representing the brain as a network of nodes (e.g., brain regions, sensors, voxels) and edges (functional or anatomical connections) offers a comprehensive view of brain architecture, surpassing traditional region-based approaches51,52,53. Rather than identifying a single cortical area responsible for seizures, network-based approaches have highlighted the critical role of widespread altered connectivity beyond the epileptogenic zone6,49,54.
Brain connectivity networks are typically represented as adjacency matrices or edge lists, but their high dimensionality complicates statistical analysis (e.g., node classification, clustering, and link prediction)53. To simplify analysis, networks are generally projected into low-dimensional vector spaces while preserving their structural properties. Although Euclidean embeddings are commonly used, they often require high dimensions and fail to capture key features of large-scale brain networks like hierarchical structure55,56,57.
Hyperbolic graph embedding has gained attention for its effectiveness in representing complex networks. Unlike Euclidean space, where distances grow linearly, hyperbolic space features exponentially expanding distances, making it ideal for capturing hierarchical and scale-free structures common in real-world networks58. This allows for lower distortion embeddings that preserve both local and global connectivity structures more effectively than Euclidean projections59,60.
Hyperbolic embeddings offer key advantages for studying brain connectivity. Brain networks exhibit a small-world and hierarchical structure, with local clusters of tightly connected regions and long-range connections integrating functional modules53. Hyperbolic space naturally captures these properties in a lower-dimensional space61. Recent studies have shown that hyperbolic embeddings are effective for exploring brain network disruptions in neurological conditions. For example, hyperbolic embedding has been used to investigate brain network alterations linked to cognitive decline in Alzheimer’s disease62,63, and autism spectrum disorder57.
In epilepsy research, hyperbolic mapping of brain networks has shown potential for localizing connectivity disruptions caused by surgery64, and identifying brain states at high risk of seizures65. In this study, we used hyperbolic graph embedding to analyze pre- and post-surgical brain networks in 51 patients who underwent anterior temporal lobe resection (ATLR) surgery36. Connectivity networks were constructed from diffusion and structural MRI data before and after surgery. Embedding these networks into hyperbolic space enabled a direct comparison of connectivity changes linked to surgical outcomes, allowing us to assess whether pre- and post-surgical network differences could serve as biomarkers for favorable outcomes.
Analysis of embedded networks allowed us to evaluate how surgical resection affects brain connectivity by identifying both short- and long-range effects around the surgical region. This approach highlighted specific brain regions contributing to surgical outcome differentiation, providing insights into the anatomical and network-level changes linked to surgical success. In addition to comparing network structures, hyperbolic embeddings were used to build a predictive model for surgical outcomes. Our approach yielded a good prediction performance (area under the curve (AUC) = 0.87). This performance was significantly enhanced (AUC = 0.90) for patients who underwent a left hemisphere surgery. Our results demonstrate that hyperbolic geometry offers a novel framework for analyzing brain network changes in TLE surgery, with potential to improve understanding of surgical effects and patient-specific outcome prediction.
Results
Comparison of pre- and post-surgery brain networks
The impact of surgery on brain connectivity was quantified by comparing the displacement of a node in the embedding space caused by a network perturbation. To quantify this change, we estimated the HypDisp score of each node from the pre- and post-surgery networks embedded in the hyperbolic disk64. This displacement score is based on the idea that a local perturbation in a node’s connectivity will alter its embedding coordinates relative to those of the original graph. Figure 1 illustrates the procedure for one patient. Interestingly, the embedding separates nodes corresponding to the left and right hemispheres in an unsupervised manner.
Pre- and post-surgery brain networks are embedded and aligned in the disk. The HypDisp score is calculated for each node and interpolated across the disk for each patient. Red squares represent left hemisphere nodes, blue dots represent right hemisphere nodes, and the black dot marks the origin (0, 0) of the disk. White-faced nodes correspond to the temporal lobes (left or right, based on edge color). The surgery network represents the connections that were removed during the surgery. Brain figures generated in Python with Nilearn.
The interpolated HypDisp scores from the two patient groups (good and poor outcomes) were compared inside the embedding disk using a Student’s t test to identify regions in the disk (referred to as “Region of Interest” or ROI) with significant differences (p ≤ 0.05). As shown in Fig. 2, for patients with left hemisphere surgery, the ROI consists of a single component, while for those with right hemisphere surgery, three ROIs are identified. It is worthy of notice that the representation of networks in the Euclidean space (via diffusion maps66) did not reveal any discriminating node associated to the surgical outcome. These results suggest that embedding brain networks in the hyperbolic disk effectively capture surgery-related differences in brain connectivity associated with outcomes. For more clarity, the mean disk of each group are plotted in Supplementary Fig. 2.
As seen in Fig. 1, the interpolated HypDisp values clearly delineate a region in the hyperbolic disk where surgery mainly alters network structure. Notably, the surgical region does not entirely overlap with the regions whose connectivity is associated with the surgical outcome, indicating that surgery, as a perturbation of the connectivity graph, affects both local and global network structures.
Balanced accuracy
Given the class imbalance present in our dataset (i.e., unequal number of favorable and unfavorable outcomes), we report the balanced accuracy in addition to the standard accuracy. Balanced accuracy is particularly suitable in this context, as it accounts for the performance on both classes equally, regardless of their proportions in the dataset.
Formally, the balanced accuracy is defined as the average of the true positive rate and the true negative rate:
where TP, TN, FP, and FN represent the number of true positives, true negatives, false positives, and false negatives, respectively. This metric ensures that both sensitivity (recall of the positive class) and specificity (recall of the negative class) are taken into account, which is essential in medical applications where both false positives and false negatives can have significant clinical implications.
Surgery outcome prediction
To assess the impact of embedding alignment on surgery outcome prediction, we repeated the leave-one-patient-out procedure multiple times with different control network references. Evaluating the model across various reference networks from the healthy group, we obtained an AUC of 0.87 ± 0.003 and a balanced accuracy of 0.81 ± 0.02 (mean value ± SD). The reduced variability in performance indicates that the choice of reference network had no effect on outcome prediction.
Six patients from the favorable outcome group (n = 42) were misclassified as having a poor outcome. Three of these patients relapsed at years 3, 4, and 5, while three others withdrew after 3 years. Conversely, two patients from the poor outcome group (n = 9) were misclassified as favorable outcomes, and both became seizure-free at years 3 and 4. One of these had a marginal probability of 0.51 of being classified as favorable. Prediction analysis for each subgroup yielded an AUC = 0.90 ± 0.003 and a balanced accuracy of 0.84 ± 10−16 for the 30 patients who underwent left hemisphere surgery, and an AUC of 0.80 ± 0.01 and accuracy of 0.79 ± 0.05 for the 21 patients who underwent right hemisphere surgery.
To assess the impact of connections number on predicted outcomes, we applied our model to graphs obtained by randomly rewiring the original networks while preserving the degree distribution. For 25% rewiring, the model yielded a mean AUC = 0.59 and a balanced accuracy of 0.52. As the number of rewired connections increased, the model could no longer distinguish between the two groups (no ROIs identified). These results clearly demonstrate that the predicted outcome is influenced by changes at the level of the entire network, rather than merely the number of resected connections.
Brain regions associated with the surgery outcome
To better interpret the nodes in the regions of interest, we back-projected them from the hyperbolic disk into brain space. Figure 3 shows the nodes in brain space affected by the surgery and those in the discriminant ROIs of the hyperbolic disk. The nodes impacted by the surgery are concentrated in a small region of the operated hemisphere (In blue). For clarity, only nodes with ≥40% of connections removed are shown. In contrast, the nodes differentiating favorable and poor outcomes are mostly located in the contralateral hemisphere (In red), except for one node in the right surgery group. Visual inspection reveals clear hemispherical symmetry between regions impacted by the surgery. We define discriminant nodes as those located within the region of interest (ROI) in at least 80% of the patients. This criterion ensures that the selected nodes represent brain regions that are consistently affected by resection across the cohort.
The first row shows patients operated on the right hemisphere, and the second row, those operated on the left. Blue points indicate brain areas directly affected by surgery, while red points represent key areas associated with outcome differences, as defined by the ROIs in the hyperbolic disk. Figures generated in Python with Nilearn.
For patients who underwent left hemisphere surgery, the discriminant nodes associated with surgical outcome are concentrated in a small region of the contralateral hemisphere (Fig. 3, bottom plots). In contrast, for those with right hemisphere surgery, the discriminant nodes are more dispersed in the left hemisphere (Fig. 3, top plots). This contralateral localization in both groups highlights the importance of examining the large-scale network of each patient, beyond the local regions directly affected by surgery, to accurately assess its impact.
Discussion
This study developed a framework to map and characterize the effects of surgery on neuroanatomical connectivity in epileptic patients. We explored embedding brain connectivity networks in non-Euclidean space to predict surgical outcomes in TLE patients. By mapping brain networks onto the hyperbolic disk, we identified connectivity changes that may serve as biomarkers for predicting surgical outcomes. Our results suggest that this framework can assess surgical resection impacts and predict outcomes by simulating disconnections in preoperative networks.
In patients with drug-resistant TLE epilepsy, current prognostic models combine clinical, neuroimaging, and electrophysiological data to predict surgical outcomes10,12. However, no method has consistently demonstrated robust predictive power12,67. In this study, we explored embedding brain connectivity networks in hyperbolic space to predict surgical outcomes in TLE patients. Our findings show that mapping pre- and post-surgical networks in this non-Euclidean space reveals key connectivity discrepancies that could contribute to developing a predictive tool for surgical outcomes. Our approach, which analyzes brain networks in latent hyperbolic space, offers a novel framework for characterizing and mapping surgery’s effects on neuroanatomical connectivity. We expect these low-dimensional, informative representations to be crucial for brain network studies, surpassing standard network measures and Euclidean embeddings. Notably, representations of pre- and post-surgery networks on Euclidean space fail to distinguish surgical outcome differences (See Supplementary Fig. 1).
In a previous study, the use of pre-surgical fMRI connectivity networks provided an accuracy of 76% for outcome prediction68. Similarly, preoperative brain connectivity from iEEG recordings predicted epilepsy surgery outcomes with 87% accuracy23. A connectivity-based simulation model achieved an AUC of 87%43, while a functional ECoG connectivity model predicted surgery outcomes with 83% accuracy44. A dynamical iEEG model predicted surgical outcomes with an AUC of 89% by extracting virtual resection network features45. Combining presurgical functional networks (iEEG) with structural connectivity (dMRI) yielded an AUC of =81% for predicting seizure outcomes18. Using structural and functional MRI, connectivity anomalies predicted postsurgical seizure outcomes with 76% accuracy29. Evidence suggests that integrating neuroimaging data (including connectivity) with clinical information can improve predictions, achieving accuracy above 91%15,18.
Prediction models based on anatomical connectivity from presurgical DTI data have yielded accuracy values ranging from 7069 to 83%34. However, these models focus on partial networks, specifically the ipsilateral temporal lobe’s links to extratemporal regions34. A deep learning model using presurgical DTI-based connectomes achieved 88% precision16. Using high-resolution reconstructions of cortical networks, a local connectivity group selection predicted surgical outcomes with 95% accuracy, compared to 88% for low-resolution parcellations70. Alternatively, quantifying postsurgical changes in dMRI connectivity predicted seizure outcomes with 79% accuracy38. Another study used postsurgery connectivity changes to predict outcomes with an AUC of 84%18.
Our prediction performances (AUC = 87% and balanced accuracy of 81%) are comparable to these studies, though we note that some of the previously reported accuracy values may be biased due to an overrepresentation of patients with favorable outcomes. In contrast, our study addressed this imbalance by utilizing balanced accuracy, ensuring a more reliable assessment. Interestingly, the prediction model performed better for patients who underwent left hemisphere surgery (mean AUC = 0.90 ± 0.003), identifying a more compact region of interest in the brain. This aligns with studies showing differences between left and right hemisphere surgeries71,72. These differences may be due to larger fiber tracks in left TLE patients compared to right TLE patients and healthy subjects6,73. We identified brain regions potentially involved in surgical failure, aiding in the differentiation of patient groups with distinct outcomes. Notably, the discriminant regions were consistently located in the contralateral hemisphere. While contralateral effects are not widely described, they are observed in TLE. Studies have shown contralateral abnormalities in preoperative DTI74, positron emission tomography (PET)75, and interictal scalp EEG data71. These abnormalities have also been noted in baseline imaging and electrophysiological data76. Brain connectivity studies have found contralateral differences linked to seizure recurrence, with TLE patients showing more connections in the contralateral hemisphere compared to healthy controls68, along with reduced long-range connections29,30. This reduction in contralateral centrality was also observed in DTI-derived structural networks35. Additionally, metabolic network analysis using PET data has linked contralateral connectivity differences to surgical failure77. Our findings indicate that connectivity alterations associated with surgery exert a broad influence at the level of the entire network.
Our approach has some limitations that future studies should address. First, brain networks here are based on structural connections derived from MRI and dMRI data. However, structural imaging techniques generally assume bi-directional connections, which may inaccurately represent brain connectivity in primates78. Additionally, deterministic tractography methods can yield connectivity errors due to the crossing fiber problem79. Probabilistic tractography should be preferred for more reliable connectivity networks80. To estimate structural connectivity, MRI data are mapped to networks depicting anatomical connections between a reduced number of brain areas, typically based on an atlas. However, the method of node determination may affect network estimates of brain connectivity81. Different brain atlases should therefore be evaluated to create networks with more nodes, enhancing spatial resolution53, and predictive capabilities70. Ultimately, our methodology, based on anatomical brain networks in TLE, can be extended to connectivity networks from other imaging modalities (e.g., fMRI, iEEG) and extra-temporal epilepsies51,52,82. Furthermore, studying noninvasive connectivity networks (e.g., from EEG and MEG data) could provide a promising presurgical clinical tool.
Our results should be viewed in the context of a limited-sized dataset from a previously published study36. Postoperative network changes were able to statistically differentiate between favorable and poor outcomes only within the first year after surgery. However, for this limited dataset, creating more refined patient groups, such as those experiencing relapse at 3 or 5 years, would have led to more moderate differentiation and prediction. While short-term failure may result from incomplete resection, long-term relapse is influenced by many factors, including changes in medical treatment, lifestyle, and other variables not included in the current database83. Incorporating connectivity markers from larger patient groups, along with clinical data, should improve long-term predictions67.
Computational models informed by brain imaging have provided insights into the networks involved in seizure generation and propagation43,44,45. Using patient-specific structural connectivity from DTI data, network-based simulations have predicted post-surgical outcomes through simulated resections42. Our approach offers an alternative to dynamic models for assessing the impact of disconnections and predicting seizure outcomes by performing in silico resections. If validated in larger studies, it could improve localization of epileptogenic networks, enhance surgical outcome predictions, and aid in estimating post-injury or post-intervention network changes, leading to better follow-up and prognosis.
Methods
Dataset
The dataset includes 51 patients who underwent ATLR for epilepsy and 29 healthy subjects36. Patients are divided into two groups: those who had left (n = 30) or right (n = 21) temporal lobe surgery. Patients were followed for 5 years post-surgery and classified according to the International League Against Epilepsy (ILAE) seizure outcome scale at annual intervals84. Some patients in the favorable outcome group (seizure-free) experienced relapses at 1, 2, 3, 4, or 5 years36. Due to the dataset’s limited size, we focused on the ILAE outcome at 1 year, resulting in two groups: (i) 9 patients (2 males, 7 females) with poor outcomes (ILAE 3–5) who continued to experience seizures, and (ii) 34 patients (16 males, 18 females) with favorable outcomes (ILAE 1, seizure-free), plus 8 patients (2 males, 6 females) who had auras but no seizures (ILAE 2). Due to the small sample size, we did not predict outcomes for subgroups at two, three, or 5 years. For a complete description of the patients’ demographic and clinical data, see ref. 36 (Table 1).
Brain networks
The brain connectivity networks in this study were derived from anatomical neuroimaging data. dMRI and structural MRI were performed pre-surgery, with only MRI conducted postoperatively. Presurgery networks were constructed using pre-surgery MRI and dMRI data. Post-surgery networks were generated by removing the resected brain regions from the pre-surgery dMRI using post-surgery MRI. The connections between brain regions were then identified through the dMRI data, revealing the underlying white matter fiber pathways. Data were discretized using a brain atlas of 114 regions (nodes). Further details on data acquisition and network reconstruction are given in ref.36.
Network’s embedding in the hyperbolic space
Hyperbolic geometry provides a natural framework for embedding complex networks due to its ability to efficiently capture hierarchical and tree-like structures. In the hyperbolic disk model, nodes of a graph are mapped to points within a disk, where distances grow exponentially as they approach the boundary. The hyperbolic distance disthyp(i, j) between each pair of nodes i and j, assigned with radii (ri, rj) and angles (θi, θj) at coordinates (ri, θi) and (rj, θj) in the disk, is computed according to the hyperbolic law of cosines85:
Various techniques (e.g., Mercator86, HyperMap87, or Hydra88, among others) have been developed for projecting graphs into hyperbolic space. These methods typically project the graph onto a hyperboloid, which is then mapped onto a 2D hyperbolic space model like the Poincaré or Klein disk. In this study, we project our networks directly onto the hyperbolic disk \({{\mathbb{D}}}^{2}\) using the coalescent embedding method89, a machine learning-based approach known for its versatility and computational speed64. Starting with a binary connectivity graph, this method assigns effective edge weights using a repulsion-attraction rule that prioritizes edges with a significant role in information transmission89: \({\omega }_{ij}=\frac{{d}_{i}+{d}_{j}+{d}_{i}{d}_{j}}{1+C{N}_{ij}}\), where di is the degree of node i and CNij is the number of common neighbors between node i and j. The resulting network ωij is then projected onto the two-dimensional disk \({{\mathbb{D}}}^{2}\) using Isomap66,89, a nonlinear dimensional reduction technique. The angular coordinates of the embedded nodes are adjusted uniformly, while maintaining their angular order. Finally, the radius of each node is determined by its rank in descending node degree: \({r}_{i}=\frac{2}{\zeta }(\beta \ln i+(1-\beta )\ln N)\), i = 1, 2,. . ., N; where N denotes the number of nodes, ζ a parameter determining space curvature, and β a fading parameter. Here, we used ζ = 1 and β = 0.9. Finally, we rescale the radial coordinates to fit the embedded nodes into a unitary disk.
This method maps network’s nodes to points within the disk \({{\mathbb{D}}}^{2}\), with radial coordinates reflecting the degree of centrality of each node. Nodes closer to the center are more central, while angular coordinates represent the degree of similarity between nodes. Nodes with smaller angular distances are more interconnected or similar. This approach combines radial centrality and angular similarity, providing a compact representation of both hierarchical and relational structures in the network89.
Before comparing pre- and post-surgery brain connectivities, the embedded networks were realigned, as very often, a small perturbation may introduce a random angular offset to the nodes’ positions in the hyperbolic disk. A weak perturbation may, thus, result in two embeddings with similar connectivity between nodes but with a different structure regarding the embedding coordinates. All networks were aligned with a reference connectivity network randomly drawn from the healthy control group. The alignment was achieved by rotating the embedding data until the minimum sum of HypDisp, calculated between all the nodes of the whole reference and aligned embedded networks, is reached. To assess the effect of the reference network, we performed the outcome prediction using various reference networks from the healthy group.
Comparison of pre- and post-surgery networks
To compare the brain networks before and after surgery, and to elucidate the local impact of the surgical procedure, we employ the HypDisp score, as described in ref. 64. After aligning the two embeddings, the score assigned to each node is given by its hyperbolic displacement within the disc between the pre- and post-surgery networks. The score HypDisp(i) attributed to each node i is given by :
where Poso(i) and Posp(i) denote the position on \({{\mathbb{D}}}^{2}\) of node i from the original and perturbed networks, respectively. \({{\rm{dist}}}_{hyp}\left(a,b\right)\) is the hyperbolic distance (Eq. (2)) between the two points a and b on the disk. The HypDisp score quantifies the local topological disruption experienced by each node following a network alteration by measuring the dispersion of its embedding coordinates between the original and perturbed configurations, thus highlighting the brain regions most impacted by resection.
Interpolation of HypDisp scores in \({{\mathbb{D}}}^{2}\)
To compare local perturbations between patient groups, we interpolated the nodes’ HypDisp(i) scores across the entire disk. The space was discretized into pixels, with the number of pixels balancing computation time and node count. Using too few pixels led to information loss, while an excessive number increased computation time without enhancing precision. Here, we used a regular grid of 80 by 80 pixels for discretization, discarding pixels outside the disk. While alternative pixel distributions (e.g., hyperbolic) were possible, they had no significant impact on statistical comparisons.
To reduce the computational burden, the value assigned to each pixel j was calculated as the weighted average of the HypDisp scores from its k closest nodes (with the pre-surgery positions) on the disk \({{\mathbb{D}}}^{2}\):
Weights of each neighbor are given by the inverse of their hyperbolic distance to pixel j with the power α. The more a node is distant from a pixel, the less its value contributes to the final averaged value. The two parameters k and α do not depend on the data, and were set here to k = 20 and α = 0.1. One can notice that for low values of α, the interpolation results in a very smooth map. Conversely, large values of α assign a greater influence to the closest neighbors of the interpolated pixel, resulting in a map formed by a mosaic of tiles. Similarly, low values of k yield irregularity in the interpolation, whereas an interpolation over a large number of neighbors is highly costly. Through experimentation, the value of k = 20 was found to reduce the computational burden without significantly affecting the smoothness of the interpolation.
Statistical prediction of the surgery outcome
Due to the limited database size, we used a leave-one-patient-out approach to assess our model’s predictive capabilities. This method involves removing one patient, training the model on the remaining patients to identify ROIs in \({{\mathbb{D}}}^{2}\), and testing the model on the removed patient. For each patient, the median value of the interpolated HypDisp scores across all pixels within the previously defined group-level ROI on the hyperbolic disk was used as a feature in a logistic regression model to predict the probability of a favorable surgical outcome. This process was repeated for each patient.
Prediction performance was evaluated using the area under the receiver operating characteristic curve (AUC) and balanced accuracy. Since accuracy can be biased toward the majority class (group of patients with favorable outcomes), we used balanced accuracy, which combines sensitivity and specificity, to account for the dataset imbalance.
Data availability
The brain networks used in this study are publicly available in the supplementary material of Sinha, N. et al. Intracranial EEG structure-function coupling and seizure outcomes after epilepsy surgery. Neurology 101, e1293 (2023). https://doi.org/10.1212/WNL.000000000020766118.
References
Chan, B. & Lowenstein, D. Epilepsy. N. Engl. J. Med. 349, 1257–1266 (2003).
Wiebe, S., Blume, W. T., Girvin, J. P. & Eliasziw, M. A randomized, controlled trial of surgery for temporal-lobe epilepsy. N. Engl. J. Med. 345, 311–318 (2001).
De Tisi, J. et al. The long-term outcome of adult epilepsy surgery, patterns of seizure remission, and relapse: a cohort study. Lancet 378, 1388–1395 (2011).
Jobst, B. C. & Cascino, G. D. Resective epilepsy surgery for drug-resistant focal epilepsy: a review. JAMA 313, 285–293 (2015).
Bernhardt, B. C., Hong, S., Bernasconi, A. & Bernasconi, N. Imaging structural and functional brain networks in temporal lobe epilepsy. Front. Hum. Neurosci. 7, 50812 (2013).
Besson, P. et al. Structural connectivity differences in left and right temporal lobe epilepsy. Neuroimage 100, 135–144 (2014).
Hsieh, J. K. et al. Beyond seizure freedom: dissecting long-term seizure control after surgical resection for drug-resistant epilepsy. Epilepsia 64, 103–113 (2023).
Spencer, S. & Huh, L. Outcomes of epilepsy surgery in adults and children. Lancet Neurol. 7, 525–537 (2008).
Radhakrishnan, K. et al. Predictors of outcome of anterior temporal lobectomy for intractable epilepsy a multivariate study. Neurology 51, 465–471 (1998).
Tonini, C. et al. Predictors of epilepsy surgery outcome: a meta-analysis. Epilepsy Res. 62, 75–87 (2004).
Garcia Gracia, C. et al. Seizure freedom score: a new simple method to predict success of epilepsy surgery. Epilepsia 56, 359–365 (2015).
Uijl, S. G. et al. Prognosis after temporal lobe epilepsy surgery: the value of combining predictors. Epilepsia 49, 1317–1323 (2008).
Garcia Gracia, C. et al. Predicting seizure freedom after epilepsy surgery, a challenge in clinical practice. Epilepsy Behav. 95, 124–130 (2019).
Armañanzas, R. et al. Machine learning approach for the outcome prediction of temporal lobe epilepsy surgery. PLoS ONE 8, e62819 (2013).
Memarian, N., Kim, S., Dewar, S., Engel, J. & Staba, R. J. Multimodal data and machine learning for surgery outcome prediction in complicated cases of mesial temporal lobe epilepsy. Comput. Biol. Med. 64, 67–78 (2015).
Gleichgerrcht, E. et al. Deep learning applied to whole-brain connectome to determine seizure control after epilepsy surgery. Epilepsia 59, 1643–1654 (2018).
Aydin, Ü. et al. Magnetoencephalography resting state connectivity patterns as indicatives of surgical outcome in epilepsy patients. J. Neural Eng. 17, 035007 (2020).
Sinha, N. et al. Intracranial EEG structure-function coupling and seizure outcomes after epilepsy surgery. Neurology 101, e1293 (2023).
Haegelen, C. et al. High-frequency oscillations, extent of surgical resection, and surgical outcome in drug-resistant focal epilepsy. Epilepsia 54, 848–857 (2013).
Thomas, J. et al. A subpopulation of spikes predicts successful epilepsy surgery outcome. Ann. Neurol. 93, 522–535 (2023).
González Otárula, K. A., von Ellenrieder, N., Cuello-Oderiz, C., Dubeau, F. & Gotman, J. High-frequency oscillation networks and surgical outcome in adult focal epilepsy. Ann. Neurol. 85, 485–494 (2019).
Lin, J. et al. High frequency oscillation network dynamics predict outcome in non-palliative epilepsy surgery. Brain Commun. 6, fcae032 (2024).
Antony, A. R. et al. Functional connectivity estimated from intracranial EEG predicts surgical outcome in intractable temporal lobe epilepsy. PLoS ONE 8, e77916 (2013).
Varatharajah, Y. et al. Quantitative analysis of visually reviewed normal scalp EEG predicts seizure freedom following anterior temporal lobectomy. Epilepsia 63, 1630–1642 (2022).
Sheikh, S. R. et al. Machine learning algorithm for predicting seizure control after temporal lobe resection using peri-ictal electroencephalography. Sci. Rep. 14, 21771 (2024).
Feis, D.-L. et al. Prediction of post-surgical seizure outcome in left mesial temporal lobe epilepsy. NeuroImage 2, 903–911 (2013).
Bernhardt, B. C., Hong, S.-J., Bernasconi, A. & Bernasconi, N. Magnetic resonance imaging pattern learning in temporal lobe epilepsy: classification and prognostics. Ann. Neurol. 77, 436–446 (2015).
Morita-Sherman, M. et al. Incorporation of quantitative MRI in a model to predict temporal lobe epilepsy surgery outcome. Brain Commun. 3, fcab164 (2021).
Larivière, S. et al. Functional connectome contractions in temporal lobe epilepsy: microstructural underpinnings and predictors of surgical outcome. Epilepsia 61, 1221–1233 (2020).
DeSalvo, M. N., Tanaka, N., Douw, L., Cole, A. J. & Stufflebeam, S. M. Contralateral preoperative resting-state functional MRI network integration is associated with surgical outcome in temporal lobe epilepsy. Radiology 294, 622–627 (2020).
Morgan, V. L. et al. Presurgical temporal lobe epilepsy connectome fingerprint for seizure outcome prediction. Brain Commun. 4, fcac128 (2022).
Alizadeh, M. et al. Hemispheric regional based analysis of diffusion tensor imaging and diffusion tensor tractography in patients with temporal lobe epilepsy and correlation with patient outcomes. Sci. Rep. 9, 215 (2019).
Keller, S. S. et al. Preoperative automated fibre quantification predicts postoperative seizure outcome in temporal lobe epilepsy. Brain 140, 68–82 (2017).
Bonilha, L. et al. The brain connectome as a personalized biomarker of seizure outcomes after temporal lobectomy. Neurology 84, 1846–1853 (2015).
Gleichgerrcht, E. et al. Temporal lobe epilepsy surgical outcomes can be inferred based on structural connectome hubs: a machine learning study. Ann. Neurol. 88, 970–983 (2020).
Sinha, N. et al. Structural brain network abnormalities and the probability of seizure recurrence after epilepsy surgery. Neurology 96, e758 (2021).
Johnson, G. W., Doss, D. J. & Englot, D. J. Network dysfunction in pre and postsurgical epilepsy: connectomics as a tool and not a destination. Curr. Opin. Neurol. 35, 196–201 (2022).
Taylor, P. N. et al. The impact of epilepsy surgery on the structural connectome and its relation to outcome. NeuroImage 18, 202–214 (2018).
da Silva, N. M. et al. Network reorganisation following anterior temporal lobe resection and relation with post-surgery seizure relapse: a longitudinal study. NeuroImage 27, 102320 (2020).
Steimer, A., Müller, M. & Schindler, K. Predictive modeling of EEG time series for evaluating surgery targets in epilepsy patients. Hum. Brain Mapp. 38, 2509–2531 (2017).
Müller, M. et al. Evaluating resective surgery targets in epilepsy patients: a comparison of quantitative EEG methods. J. Neurosci. Methods 305, 54–66 (2018).
Hutchings, F. et al. Predicting surgery targets in temporal lobe epilepsy through structural connectome based simulations. PLoS Comput. Biol. 11, e1004642 (2015).
Goodfellow, M. et al. Estimation of brain network ictogenicity predicts outcome from epilepsy surgery. Sci. Rep. 6, 29215 (2016).
Sinha, N. et al. Predicting neurosurgical outcomes in focal epilepsy patients using computational modelling. Brain 140, 319–332 (2017).
Kini, L. G. et al. Virtual resection predicts surgical outcome for drug-resistant epilepsy. Brain 142, 3892–3905 (2019).
Seeley, W. W., Crawford, R. K., Zhou, J., Miller, B. L. & Greicius, M. D. Neurodegenerative diseases target large-scale human brain networks. Neuron 62, 42–52 (2009).
Perovnik, M., Rus, T., Schindlbeck, K. A. & Eidelberg, D. Functional brain networks in the evaluation of patients with neurodegenerative disorders. Nat. Rev. Neurol. 19, 73–90 (2023).
Van Den Heuvel, M. & Fornito, A. Brain networks in schizophrenia. Neuropsychol. Rev. 24, 32–48 (2014).
Chiang, S. & Haneef, Z. Graph theory findings in the pathophysiology of temporal lobe epilepsy. Clin. Neurophysiol. 125, 1295–1305 (2014).
Gleichgerrcht, E., Kocher, M. & Bonilha, L. Connectomics and graph theory analyses: novel insights into network abnormalities in epilepsy. Epilepsia 56, 1660–1668 (2015).
Reijneveld, J. C., Ponten, S. C., Berendse, H. W. & Stam, C. J. The application of graph theoretical analysis to complex networks in the brain. Clin. Neurophysiol. 118, 2317–2331 (2007).
Stam, C. J. Modern network science of neurological disorders. Nat. Rev. Neurosci. 15, 683–695 (2014).
Fornito, A., Zalesky, A. & Bullmore, E. Fundamentals of Brain Network Analysis (Elsevier Academic Press, 2016).
Richardson, M. P. Large scale brain models of epilepsy: dynamics meets connectomics. J. Neurol. Neurosurg. Psychiatry 83, 1238–1248 (2012).
Nickel, M. & Kiela, D. Poincaré embeddings for learning hierarchical representations. Adv. Neural Info. Process. Syst. 30, https://proceedings.neurips.cc/paper_files/paper/2017/file/59dfa2df42d9e3d41f5b02bfc32229dd-Paper.pdf (2017).
Sala, F., Sa, C. D., Gu, A. & Ré, C. Representation tradeoffs for hyperbolic embeddings. In Proc 35th International Conference on Machine Learning (eds Jennifer & Krause, A. D.) 4460–4469 (PMLR, 2018).
Whi, W., Ha, S., Kang, H. & Lee, D. S. Hyperbolic disc embedding of functional human brain connectomes using resting-state fMRI. Netw. Neurosci. 6, 745–764 (2022).
Krioukov, D., Papadopoulos, F., Kitsak, M., Vahdat, A. & Boguñá, M. Hyperbolic geometry of complex networks. Phys. Rev. E 82, 036106 (2010).
Papadopoulos, F., Kitsak, M., Ángeles Serrano, M., Boguñá, M. & Krioukov, D. Popularity versus similarity in growing networks. Nature 489, 537–540 (2012).
Boguñá, M., Krioukov, D. & Claffy, K. C. Navigability of complex networks. Nat. Phys. 5, 74–80 (2008).
Allard, A. & Ángeles Serrano, M. Navigable maps of structural brain networks across species. PLoS Comput. Biol. 16, e1007584 (2020).
Baker, C. et al. Hyperbolic graph embedding of MEG brain networks to study brain alterations in individuals with subjective cognitive decline. IEEE J. Biomed. Health Inform. 1–11, https://doi.org/10.1101/2023.10.23.563643 (2024).
Longhena, A., Guillemaud, M., De Vico Fallani, F., Migliaccio, R. L. & Chavez, M. Hyperbolic embedding of brain networks detects regions disrupted by neurodegeneration in Alzheimer’s disease. Phys. Rev. E. 111, 044402 (2025).
Longhena, A., Guillemaud, M. & Chavez, M. Detecting local perturbations of networks in a latent hyperbolic embedding space. Chaos 34, 63117 (2024).
Guillemaud, M., Cousyn, L., Navarro, V. & Chavez, M. Hyperbolic embedding of brain networks as a tool for epileptic seizures forecasting. Phys. Rev. Res 7, 023182 (2025).
Von Luxburg, U. A tutorial on spectral clustering. Stat. Comput. 17, 395–416 (2007).
Eriksson, M. H. et al. Predicting seizure outcome after epilepsy surgery: do we need more complex models, larger samples, or better data? Epilepsia 64, 2014–2026 (2023).
He, X. et al. Presurgical thalamic “hubness” predicts surgical outcome in temporal lobe epilepsy. Neurology 88, 2285–2293 (2017).
Munsell, B. C. et al. Evaluation of machine learning algorithms for treatment outcome prediction in patients with epilepsy based on structural connectome data. Neuroimage 118, 219–230 (2015).
Chen, X., Wang, Y., Kopetzky, S. J., Butz-Ostendorf, M. & Kaiser, M. Connectivity within regions characterizes epilepsy duration and treatment outcome. Hum. Brain Mapp. 42, 3777–3791 (2021).
Pustina, D., Doucet, G., Skidmore, C., Sperling, M. & Tracy, J. Contralateral interictal spikes are related to tapetum damage in left temporal lobe epilepsy. Epilepsia 55, 1406–1414 (2014).
Fernandes, D. A. et al. Long-term postoperative atrophy of contralateral hippocampus and cognitive function in unilateral refractory MTLE with unilateral hippocampal sclerosis. Epilepsy Behav. 36, 108–114 (2014).
Ahmadi, M. E. et al. Side matters: diffusion tensor imaging tractography in left and right temporal lobe epilepsy. Am. J. Neuroradiol. 30, 1740–1747 (2009).
Concha, L., Beaulieu, C. & Gross, D. W. Bilateral limbic diffusion abnormalities in unilateral temporal lobe epilepsy. Ann. Neurol. 57, 188–196 (2005).
Cahill, V. et al. Metabolic patterns and seizure outcomes following anterior temporal lobectomy. Ann. Neurol. 85, 241–250 (2019).
Jehi, L. E., Silveira, D. C., Bingaman, W. & Najm, I. Temporal lobe epilepsy surgery failures: predictors of seizure recurrence, yield of reevaluation, and outcome following reoperation. J. Neurosurg. 113, 1186–1194 (2010).
Strýček, O., Říha, P., Kojan, M., Řehák, Z. & Brázdil, M. Metabolic connectivity as a predictor of surgical outcome in mesial temporal lobe epilepsy. Epilepsia Open 9, 187–199 (2024).
Markov, N. T. et al. A weighted and directed interareal connectivity matrix for macaque cerebral cortex. Cereb. Cortex 24, 17–36 (2014).
Mori, S. & Van Zijl, P. C. Fiber tracking: principles and strategies–a technical review. NMR Biomed. 15, 468–480 (2002).
Bonilha, L. et al. Reproducibility of the structural brain connectome derived from diffusion tensor imaging. PLoS ONE 10, e0135247 (2015).
Zalesky, A. et al. Whole-brain anatomical networks: does the choice of nodes matter? Neuroimage 50, 970–983 (2010).
Smith, S. M. et al. Network modelling methods for fMRI. Neuroimage 54, 875–891 (2011).
Bell, G. S. et al. Factors affecting seizure outcome after epilepsy surgery: an observational series. J. Neurol. Neurosurg. Psychiatry 88, 933–940 (2017).
Wieser, H. G. et al. ILAE Commission Report. Proposal for a new classification of outcome with respect to epileptic seizures following epilepsy surgery. Epilepsia 42, https://doi.org/10.1046/j.1528-1157.2001.35100.x (2001).
Kitsak, M., Voitalov, I. & Krioukov, D. Link prediction with hyperbolic geometry. Phys. Rev. Res. 2, 043113 (2020).
García-Pérez, G., Allard, A., Serrano, M. Á. & Boguñá, M. Mercator: uncovering faithful hyperbolic embeddings of complex networks. N. J. Phys. 21, 123033 (2019).
Papadopoulos, F., Psomas, C. & Krioukov, D. Network mapping by replaying hyperbolic growth. IEEE/ACM Trans. Netw. 23, 198–211 (2014).
Keller-Ressel, M. & Nargang, S. Hydra: a method for strain-minimizing hyperbolic embedding of network-and distance-based data. J. Complex Netw. 8, cnaa002 (2020).
Muscoloni, A., Thomas, J. M., Ciucci, S., Bianconi, G. & Cannistraci, C. V. Machine learning meets complex networks via coalescent embedding in the hyperbolic space. Nat. Commun. 8, 1–19 (2017).
Acknowledgements
M.G. and A.L. acknowledge financial support from the Ecole Normale Supérieure de Lyon and the doctoral school EDITE from Paris Sorbonne University, respectively.
Author information
Authors and Affiliations
Contributions
M.G. and M.C.: conceptualization, methodology, investigation, result visualization, and writing-original draft; A.L., L.C., and V.N.: methodology, writing-review and editing; V.F. and B.M.: conceptualization, writing-review and editing.
Corresponding author
Ethics declarations
Competing interests
V.N. reports fees from Boards with UCB Pharma, EISAI, Liva Nova, and GW Pharma. The remaining authors have no conflicts of interest.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Guillemaud, M., Longhena, A., Cousyn, L. et al. Geometric representations of brain networks can predict the surgery outcome in temporal lobe epilepsy. npj Syst Biol Appl 11, 79 (2025). https://doi.org/10.1038/s41540-025-00562-6
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41540-025-00562-6





