Introduction

Borderline personality disorder (BPD) is a complex type B personality disorder characterized by affective and interpersonal instability and self-perception disturbance1. It often presents with dysphoria, emotion dysregulation, anger rumination, impulsivity, self-injury, and suicidal attempts2. Subgroups within BPD have been identified, including an "extrovert/externalizing" type characterized by traits linked to histrionic, narcissistic, or antisocial personality disorders, and a smaller subgroup with marked schizotypal and paranoid features. The inherent complexity of BPD significantly challenges treatment efforts, with only 50% of patients achieving recovery within a decade of diagnosis3. Moreover, BPD results in persistent impairments in social and occupational functioning, exacerbating the burden of the disorder3.

To address these challenges, the Alternative Model for Personality Disorders (AMPD) was introduced in the fifth edition of the Diagnostic and Statistical Manual of Mental Disorders (DSM-5)4. This model provides a flexible and precise framework that shifts the focus from rigid diagnostic criteria to the assessment of personality dysfunction and maladaptive traits, promoting a dimensional approach to diagnosis and research5.

This model is particularly relevant for studying complex conditions such as BPD, as it captures individual differences in traits and functioning that previous diagnostic methods may overlook. The AMPD includes tools such as the Personality Inventory for DSM-5 (PID-5), which evaluates maladaptive personality traits described as 25 facets grouped in 5 domains (see Table 1 for a detailed description), similarly featuring the Big Five Personality dimensions6. Specifically, patients with BPD commonly present with an impairment in the domains of negative affectivity and disinhibition; emotional liability, impulsivity, depressivity, and hostility are the most predictive facets of BPD4. The PID-5 demonstrated significant utility in assessing traits associated with BPD, achieving a sensitivity of 81% and specificity of 76% when applied to BPD diagnostic frameworks, highlighting its effectiveness in identifying the previously mentioned core maladaptive traits7. Hence, compared to traditional diagnostic models, such as those defined by the DSM-5, the PID-5’s dimensional framework offers a more detailed and systematic approach to evaluating personality pathology7.

Table 1 List of personality inventory for DSM-5 domains and facets.

Despite its high prevalence, the neurobiological underpinnings of BPD remain poorly understood, posing challenges for diagnosis and treatment. While recent neurobiological research identified structural and functional brain changes associated with BPD, evidence linking neurobiological findings to the clinical features of the disorder remains limited and contradictory.

One major area of investigation focuses on abnormalities in fronto-limbic circuits, which are critical for emotion regulation and impulsivity, core symptoms of BPD8. Morphometric, functional and structural alterations were detected using multimodal magnetic resonance imaging (MRI)9,10,11, revealing reductions in gray matter volume (GMV) in regions such as the amygdala12, anterior cingulate cortex (ACC), orbitofrontal cortex (OFC), dorsolateral and medial prefrontal cortex (dlPFC and mPFC)13, and hippocampus14. A reduction in cortical thickness was also observed in the insular cortex15, correlating with psychopathological features such as violent and impulsive behavior, in advanced stages of BPD16. Similarly, decreased GMV in the prefrontal regions, particularly the ACC were associated with emotional dysregulation and impulsivity12,17, However, contrasting results revealed an increase in the GMV in limbic structures17.

In these studies, clinical assessment was performed using psychometric tools such as the Borderline Symptom List-23 (BSL-23), the Barratt Impulsive Scale-11 (BIS-11), and the Difficulty in Emotion Regulation Scale (DERS). However, these tools lack the comprehensive dimensional approach offered by the PID-5.

Functional alterations have also been studied using resting-state functional magnetic resonance imaging (rs-fMRI), which investigates brian connectivity at rest11. Rs-fMRI data can be analyzed via a variety of approaches; an introduction to these methods is described by Smitha et al.18. Among them, graph analysis is currently a widely used technique that is based on generating a model of the brain as a set of nodes (brain regions) connected between each other through links describing their “functional connectivity” (FC). The resulting networks are investigated on the basis of a consolidated mathematical theory, the graph theory, which provides an in-depth characterization of the network structure and connectivity19,20. An exemplary application of this technique in BPD patients is presented by Xu et al.21, where altered connectivity features are observed at the whole-network level, as well as locally in key limbic (amygdala, entorhinal cortex) and several frontotemporal areas, as supported by other findings22,23,24. Further studies have reported the pathological involvement of the default mode and salience networks24,25,26.

While MR studies identified consistent structural changes in brain regions implicated in BPD, the relationship between neurobiological correlates and the clinical features of BPD remains unclear17. Furthermore, despite the considerable potential of the PID-5, few clinical studies have used this psychometric tool in samples of patients with BPD1.

In this study, we aim to address these gaps by investigating the correlation between key personality traits, as defined by the PID-5, and alterations in brain connectivity identified through rs-fMRI. By using the dimensional framework of the PID-5, this research aims to provide a more detailed understanding of how personality traits are linked to specific neurobiological patterns in BPD. Ultimately, this approach may advance diagnostic accuracy and guide the development of more effective, personalized treatments for individuals with BPD.

Results

Demographic and psychiatric results

With respect to the PID-5 evaluation, comparisons between the BPD and HC samples revealed significantly increased impairment in patients with BPD across the greatest part of personality trait facets and all domain scores (p < 0.01). The mean domain scores obtained for the BPD and HC groups respectively were 1.91 (± 0.41) and 0.67 (± 0.52) for Negative Affect, 1.06 (± 0.5) and 0.47 (± 0.41) for Detachment, 0.90 (± 0.62) and 0.25 (± 0.32) for Antagonism, 1.56 (± 0.41) and 0.38 (± 0.31) for Disinhibition and 0.78 (± 0.39) and 0.19 (± 0.24) for Psychoticism, respectively. A table reporting all the group average scores for the PID-5 domains and facets and the significance of their difference between patients and controls is reported in Supplementary Table 1.

fMRI results

No subjects had to be removed from the data analysis due to excessive motion and there were no significant differences between patients (relative root mean square displacement = 0.05 ± 0.03; absolute = 0.23 ± 0.19) and controls (relative = 0.03 ± 0.01; absolute = 0.25 ± 0.16) in terms of motion during the acquisition.

The graph analysis of the FC matrices derived from the resting-state data demonstrated significant differences both at global and local levels.

At the global level, the dimension of the largest connected component, i.e., the number of nodes having at least one connection within the network, was significantly lower in patients than in HCs. There were no significant correlations between the global graph measures and the head motion during the fMRI acquisition, as shown in Supplementary Table 1.

At the nodal level, the centrality, measured by degree and strength, of several nodes in the limbic and frontotemporal regions was significantly altered between the two groups. The complete list of results is reported in Table 2 and is graphically represented in Fig. 1.

Table 2 List of nodal features significantly altered between individuals with BPD and HCs. Differences between the two groups were observed in terms of centrality (degree and strength). The brain regions are reported in descending order of statistical significance.
Fig. 1
figure 1

Graphical representation of nodes with altered degree (top) and strength (bottom). The node size indicates greater statistical significance of the alteration. L left, R right, AMY amygdala, CAU caudate, IT inferior temporal, ParaC paracentral, THA thalamus, cAC caudal anterior cingulate, MT middle temporal, PERIC pericalcarine, HIP hippocampus, LING lingual, TP temporal pole, ENTH entorhinal, LOC lateral occipital, FP frontal pole, PC posterior cingulate.

Correlation analyses

In the BPD group, significant correlations were found between the facet of separation insecurity and global efficiency (R = 0.60, adjusted-p = 0.035) and characteristic path length (R = -0.60, adjusted-p = 0.035). Additionally, a positive correlation emerged within the female BPD subgroup between the facet of depressivity and the degree of the left middle temporal gyrus (R = 0.69, adjusted-p = 0.023). Scatterplots of these correlations are shown in Supplementary Fig. 1.

Discussion

The aim of the present study was to assess whether the core psychopathological features of BPD are associated with different neurobiological alterations. By focusing on a sample of young adults at an early stage of the disorder, we aimed to identify distinctive neurobiological patterns of BPD, unrelated to the comorbidities commonly arising in the advanced stages.

Despite the growing interest in functional brain imaging studies of personality disorders24, research on the neurobiological networks implicated in BPD remains limited, and there is still little consensus on their possible correlations with specific psychopathological dimensions. Therefore, we adopted a graph analysis approach to investigate the whole-brain functional network at global and local levels.

Our exploratory findings, which are consistent with the alternative model for personality disorders proposed in the DSM 5-TR4, revealed a partial correlation between functional connectivity alterations amd specific trait domains. Specifically, the facets of separation insecurity and depressivity, both within the negative affectivity domain4, showed significant correlations with alterations in brain connectivity. Notably, these correlations with global efficiency and characteristic path length measures and the degree of the left middle temporal gyrus remained significant after multiple comparisons.

Separation insecurity is defined as “fears of rejection by—and/or separation from—significant others, associated with fears of excessive dependency and complete loss of autonomy”. Since the introduction of BPD in the DSM-III, feelings of loneliness and emptiness, along with hypervigilance to rejection, have represented the core psychopathological features of this disorder27. These features are mainly responsible for the inappropriate emotional dysregulation of BPD patients, particularly in response to perceived threats of separation or abandonment, which may not necessarily reflect actual events28. Consistently, in the alternative DSM-5 model for personality disorders, separation insecurity was introduced as a diagnostic criterion for BPD4. This was further supported by a correlational observational study showing robust association between the dimensional item separation insecurity and the categorical BPD criterion fear of abandonment29. Moreover, separation insecurity was identified as a distinguishing trait of BPD compared to other personality disorders in a cross-sectional study30. Psychoanalytic theories suggest that the intolerance of loneliness and rejection in BPD arises from early developmental disruptions in the processes of separation and individuation31. Few authors have previously tried to find a neurobiological correlate for this important trait facet, and the issue remains open. For instance, in children, MRI data revealed that preschool separation anxiety was linked to reduced FC between the dmPFC and the vmPFC, with subsequent inhibition of the amygdala in response to fearful faces32. In BPD-specific research, a study investigating the neurobiological basis of separation insecurity and fear of abandonment using fMRI found that female BPD patients experiencing attachment distress presented increased ACC activation without effective top-down control of the dlPFC toward limbic structures33. These findings suggest that hypoactivation of prefrontal areas, coupled with poor connectivity to limbic regions, may underlie the inability to regulate emotional reponses. This dysregulation could explain why perceived rejection easily triggers emotional disturbances in BPD. Additionally, an exploratory pilot study found that prefrontal dysfunction was associated with increased impulsivity and aggressiveness, further interfering with adherence and the effectiveness of pharmacological and psychotherapeutic interventions34.

Taken together, these network impairments seem to underpin separation insecurity. This vulnerability may amplify fear of abandonment and rejection, which have been related to the intolerance of ambiguity observed in BPD in a cross-sectional research35. Indeed, BPD patients share difficulties in recognizing and responding to neutral facial expressions, tipically reacting with a negative affectivity36. Based on this evidence, we can deduce that higher levels of separation insecurity correspond to a more pronounced dysfunction in interpreting social norms and managing interpersonal relationships. These difficulties likely contribute to impaired social functioning and diminished self-control, ultimately resulting in increased negative affective states such as anxiety and depressive symptoms.

Depressivity is intended as “frequent feelings of being down, miserable, and/or hopeless, difficulty recovering from such mood, pessimism about the future, pervasive shame, feelings of inferior self-worth, thoughts of suicide and suicidal behavior”. This dimension is particularly relevant in BPD, as evidenced by the high rate of comorbidity between BPD and major depressive disorder (MDD) documented in previous literature37,38,39,40. Although both disorders share affective symptoms, it is still debated whether these symptoms differ in their underlying neurobiological networks. In the present study, we observed functional impairments in regions associated with the medial temporal network, including the middle and inferior temporal gyri and the amygdala. These findings are consistent with previous investigations examining the structural correlates of affective disturbances in BPD. For instance, prior research reported that patients with BPD showed greater GMV reductions in medial temporal regions, whereas patients with MDD tend to show more pronounced GMV reductions in frontostriatal regions41,42. We propose that the predominant involvement of the medial temporal cortex in BPD may be explained by its anatomical and functional connections with the PFC, which are critical for the regulation of emotion and impulse control.

This distinctive neurobiological pattern may help clarify the subtle differences in depressive features observed in BPD compared to MDD. According to a review, depressivity in BPD is typically a reactive and impulsive experience of feeling miserable, lasting a few hours or days or, at most, a few weeks38. Unlike MDD, where depressive episodes are more prolonged and persistent, BPD-realted depressivity quickly changes according to the nature of the trigger event, resulting in BPD depressivity, an ontological instability that poorly responds to antidepressant medications38. Further supporting our findings, another VBM study reported GMV reductions in different areas of the medial temporal cortex only in women with BPD and not in HCs, underscoring the unique neural signature of depressive symptoms in BPD43.

From a clinical perspective, the observed correlations between separation insecurity, depressivity, and altered brain functional connectivity may highlight opportunities for early identification of BPD. Neurobiological signatures, particularly involving the middle temporal gyrus and global network efficiency, may be potential biomarkers for identifying vulnerable individuals in the early stages of the disorder. Early identification is particularly critical as BPD often develops during late adolescence or early adulthood, a window during which targeted interventions may yield the most significant and lasting benefits44. By detecting neurobiological dysfunctions before full symptomatology manifests, clinicians may implement early, preventive strategies, potentially mitigating the course of the disorder. The correlation between the degree of the left middle temporal gyrus and depressivity identified exclusively in the female subgroup aligns with findings from prior research showing sex-specific differences in the neural correlates of BPD symptoms. For example, Soloff and colleagues43 reported that women with BPD show GMV reductions in the temporal lobe compared to healthy females, a pattern not consistently observed in males. These differences may be partly explained by the neuroprotective effects of estrogen45,46, which may modulate the function and connectivity of brain regions involved in emotional regulation. These brain alterations likely contribute to difficulties in interpreting social signals and regulating emotional responses, which are core features of the disorder, as supported by previous findings41,42. Such findings emphasize the need for therapeutic interventions that address emotion recognition and interpersonal sensitivity.

Despite the novelty of this study, the results should be considered preliminary and interpreted in the context of some limitations. First, there are different methodological approaches for the investigation of brain functional connectivity, and from the same dataset, variable (and complementary) results may be obtained on the basis of the method used. Analogously, in the specific case of graph analysis, different definitions of nodes and edges of graphs may lead to different findings. Moreover, our sample size was limited and consisted predominantly of young females, precluding the examination of potential gender-based differences in network alterations. Therefore, gender-dependent conclusions drawn from our results (specifically) Future research should include larger and more diverse samples and consider additional analytical methods to strengthen the validity and generalizability of these findings.

To the best of our knowledge, this is the first study to correlate the PID-5 score in a BPD patient sample with functional neuroimaging results, expanding our knowledge on the “social brain”47 and revealing potentially valuable insights towards the application of psychiatric therapy targeted at improving emotion regulation and social cognition. Our work revealed correlations between alterations in global network mesures and in the middle temporal gyrus and the PID-5 facets of separation insecurity and depressivity. The delineation of specific neurobiological patterns is particularly interesting, as it provides promising avenues to further define the heterogeneity of BPD in different phenotypes with more homogenous psychopathological features and patterns of response to treatments.

Our results emphasize the need to correlate both structural and functional brain MRI patterns not only with the categorical diagnosis of BPD but also with dimensional features. From the earliest stages of the disease, specific psychopathological facets, which were explored in the present study through psychometric instruments such as the PID-5, may correlate with specific brain connectivity and functioning patterns. The latter may not only provide a greater understanding of behavioral changes over time but also increase the possibility of tailoring psychotherapeutic and pharmacological treatment choices, predicting the response to these treatments from the perspective of increasing personalized and precision medicine. Similarly, patients could achieve higher levels of recovery, better integration, and quality of life. Therefore, we suggest that longitudinal studies aimed at assessing and correlating the evolution of clinical characteristics, as well as brain functional and structural neuroplasticity, would be of great interest.

We highlight the relevance of the graph analysis approach that generated hypotheses for future studies to strengthen the validity of the PID-5 to predict morphometric and functional neuroradiological patterns in BPD patients. We suggest extending this approach to further personality traits and domains of BPD and other personality disorders, thereby bridging the gap between psychopathology and neurobiology.

Methods

Participants

Twenty-eight patients with BPD (6M/22F, mean age = 23.7 ± 3.4 years, range = 18.9–30.3 years) and twenty-eight matched healthy controls (HCs) (6M/22F, mean age = 24.3 ± 2.8 years, range = 19.5–29.5 years) were included in this study. Our sample size, calculated using G*Power 3.1.9.7, showed a post-hoc power of 0.80 to detect differences of at least d = 0.78. Hence, smaller differences could not be detected48. All patients were Italian speakers and received a formal psychiatric diagnosis of BPD through the Structured Clinical Interview for DSM-IV-Axis II (SCID-II)49. These interviews were conducted by experienced professionals, including psychiatrists and clinical psychologists, to ensure diagnostic accuracy and reliability. To focus on core features of BPD and minimize the influence of other clinical factors, patients with current or past comorbid psychiatric diagnoses, including schizophrenia spectrum disorders, other personality disorders, and substance or alcohol use disorders, were excluded. Neurological disorders, intellectual disabilities, and continuous use of multiple psychotropic medications over the previous year were also exclusion criteria.

The study protocol was designed in accordance with the observance of the Code of Ethics of the World Medical Association (Declaration of Helsinki) and approved by the local Intercompany Ethics Committee of Bologna-Imola (Comitato Etico Interaziendale Bologna-Imola, CE-BI; #88866-24/07/2017). Written informed consent was obtained from all participants involved in the study.

The limbic system was previously studied in the same cohort via morphometry analysis (volumetry and cortical thickness) and seed-based analysis of resting-state fMRI data2. Briefly, the study demonstrated a reduction in insula and amygdala volumes, as well as a decrease in the functional connectivity of the amygdala in individuals with BPD. These findings correlated with the clinical scales assessing emotion, rumination, and impulsivity regulation.

Psychiatric assessment

All participants underwent an extensive psychiatric assessment that included the following instruments:

  • The Italian valiudation (Cronbach’s alpha > 0.70 for all PID-5 facet scales and > 0.90 for all PID-5 domain scales)30 of tThe Personality Inventory for the DSM-5 (PID-5)50 consists of 220 items for the assessment of maladaptive personality traits according to the alternative model for personality disorders. Each item can be assigned a Likert score from 0 = “always false/often false” to 3 = “always true/often true” (higher average scores indicate greater dysfunction in a specific personality trait facet or domain, whereas lower scores indicate an adaptive and resilient personality). These traits are described through 25 facets grouped into 5 high-order domains: negative affectivity, detachment, antagonism, disinhibition, and psychoticism. The total scores of the domains were calculated via the APA-all facets approach4.

  • The Italian adaptation (Cronbach’s alpha = 0.90)51 of the Difficulties in Emotion Regulation Scale (DERS)52 is a 36-item self-report questionnaire that provides a comprehensive assessment of overall emotion dysregulation and evaluates the ability to modulate behavior according to individual goals and environmental requirements. It consists of six specific dimensions (i.e., nonacceptance of emotional responses, difficulties engaging in goal-directed behavior when distressed, impulse control difficulties when distressed, lack of emotional awareness, limited access to effective emotion regulation strategies, and lack of emotional clarity). Higher scores on the DERS indicate greater difficulty in emotion regulation.

  • The Italian adaptation (Cronbach’s alpha = 0.79)53 of the Barratt Impulsivity Scale (BIS-11)54 is a 30-item self-report questionnaire that measures three dimensions of impulsivity: motor/behavioral impulsivity (i.e., the tendency to act “on the spur of the moment”, described by items such as “I buy things on impulses”), cognitive/attentional impulsivity (i.e., the failure to maintain concentration, expressed by items such as “I am restless at the theatre or lectures”) and nonplanning impulsivity (i.e., the tendency to act without thinking about the future consequences of action itself, through items such as “I am happy-go-lucky”). Self-reported scores are rated on a 4-point Likert scale, and the total scores range from 30 to 120, with higher scores indicating higher levels of impulsivity.

  • The Self Harm Inventory (SHI)55 is a 22-item, “yes/no” dichotomous, self-report instrument that explores participants’ lifetime histories of self-harm behavior and severity of nonsuicidal self–injury, including eating disorders and high lethality. The SHI total score is obtained through the sum of affirmative responses and can be used both as a screening tool and to estimate the severity of self-harm. While no specific Italian validation was identified, the SHI was included for its broad applicability in clinical populations.

  • The Italian adaptation (Cronbach’s alpha = 0.90)56 of the Ruminative Response Scale (RRS)57 is a 22-item self-report questionnaire designed to assess the tendency to engage in rumination when feeling sad, blue, or depressed. Self-reports are rated on a 4-point Likert scale, and the total score ranges from 22 to 88, with higher scores indicating a greater degree of ruminative symptoms. Ruminative thinking is assessed along the dimensions of “brooding”, “reflection” and “depression”.

  • The Italian adaptation (Cronbach’s alpha = 0.85)58 of the Anger Rumination Scale (ARS)59 is a 13-item self-report questionnaire designed to assess the tendency to focus attention on angry feelings, recall past anger experiences and contemplate their causes and consequences. Self-reports are rated on a 4-point Likert scale, with higher scores indicating a greater tendency to engage in anger rumination. The ARS is subdivided into four subscales: angry afterthought, thoughts of revenge, angry memories, and understanding of causes.

  • The Italian validation (excellent internal consistency as measured by McDonald’s Omega)60 of the Edinburgh Handedness Inventory (EHI)61 quantifies hand dominance on a quantitative scale for ten habitual unimanual everyday acts. The participants are instructed to express their manual preference for each action by placing a “+” in the respective “left (L)” or “right (R)” column. They may also use “++” when they “would never try to use the other hand unless absolutely forced to”. In cases of ambidextrous preference, a “+” must be written in both columns. For scoring, 1 point is assigned to each “+”, and a laterality quotient (LQ) is calculated via the formula LQ = (R − L)/(R + L) × 100. The LQ interval ranges from − 100 (indicating total left-handedness) to + 100 (indicating total right-handedness). Scores between − 100 and − 71 suggest left-handedness, scores between − 70 and + 70 indicate ambidexterity, and scores between + 71 and + 100 suggest right-handedness.

  • The Beck Depression Inventory-II (BDI-II)62 was administered only to the BPD group. It is a 21-item self-administered questionnaire measuring the presence and severity of depressive symptoms during the past two weeks. A total score above 21 indicates a mild–moderate depressive state, whereas a score above 31 indicates a moderate–severe depressive state. The BDI-II was translated into Italian and the authors provided extensive data on the psychometric properties63.

Note that, while all the mentioned scales were assessed for a complete characterization of the patient cohort, only the PID-5 was statistically evaluated in this work, as a novel scale whose neurobiological correlates have not been previously thoroughly investigated.

MRI data acquisition

Patients and HCs underwent a brain MR imaging protocol using a 1.5 T GE scanner (Signa HDx 15) with an 8-channel head coil. The MRI protocol included a 3D high-resolution T1-weighted image acquired via a fast spoiled gradient echo (FSPGR) sequence (pure axial orientation, TR/TE/T1 = 12.3/5.2/600 ms, FOV = 256 mm, 1 mm isotropic resolution) and a 9-min whole-brain resting-state fMRI scan acquired via a gradient EPI sequence (pure axial orientation, TR/TE = 3000/40 ms, FOV = 240 mm, 34 slices, 1.875 × 1.875 × 4 mm3 resolution, 180 volumes). All the participants were instructed to stay in a relaxed state of wakefulness, keeping their eyes closed without falling asleep.

MRI data preprocessing

3D T1-weighted images were skull-stripped, and brain segmentation and parcellation were performed via FreeSurfer 5.3 (https://surfer.nmr.mgh.harvard.edu/) with the Desikan-Killiany atlas64, resulting in 85 regions of interest (ROIs), including 8 bilateral subcortical ROIs, the bilateral cerebellum cortex and the brainstem.

The functional MRI data were preprocessed via a standardized pipeline developed in-house65, which was based on FSL 666. Functional images were corrected for head motion using FSL mcflirt to align volumes to the central one; volumes with relative root mean square displacement higher than 1.5 mm were removed from the subject’s sequence, and fMRI series with 25% or more volumes with excessive motion were excluded from the subsequent analysis; slice timing correction, spatial smoothing (Gaussian kernel FWHM = 6 mm) and a high-pass temporal filter (cutoff = 100 s) were applied; fMR volumes were linearly registered to 3D T1-weighted images, and the latter were nonlinearly warped to the Montreal Neurological Institute (MNI) template with a subsequent resampling to 2 × 2 × 2 mm3. The functional images could then be aligned to MNI space by combining these two transformations. Independent component analysis was performed on the preprocessed data via FSL MELODIC. Noise components were manually classified by an expert following the guileines provided by Griffanti and colleagues67, and regressed out of the functional data.

Functional network construction and analysis

To generate the whole-brain functional connectome, graph nodes were defined for each subject as the 85 ROIs extracted from the FreeSurfer segmentation and parcellation of the brain. The ROIs were linearly registered to the functional images via trilinear interpolation, and the mean ROI time series was calculated as the weighted average of the voxel time series within that region. FC between nodes was defined as the Pearson correlation coefficient between the timeseries of each pair of nodes, thus generating one 85 × 85 FC graph per subject. The negative values were set equal to 0, as their interpretation is debated68. The resulting graphs were proportionally thresholded, as a preferred method to absolute thresholding69, at increasing connection density to preserve the 5–50% of the strongest connections within the network, with a step of 1%70; the 5–50% density range was chosen as it was verified to be that where the property of small-worldness was satisfied19. The graphs were not binarized and were kept weighted for the subsequent analysis. The network construction procedure is summarized in Fig. 2.

Fig. 2
figure 2

Scheme of the functional connectivity network construction. The timeseries was extracted for each ROI, and Pearson’s correlation between the ROI timeseries was subsequently calculated to define the connection (matrix element) between the ROIs. By calculating this quantity for each pair of ROIs, a functional connectivity (FC) matrix for each patient was obtained. Finally, the FC matrices were proportionally thresholded in the range of 5–50% of the network density.

Various network properties were evaluated to characterize the networks fully at both the global and nodal levels. Measures of segregation (modularity coefficient, clustering coefficient, local efficiency, and within-module z score), i.e., the ability for specialized processing to occur within densely interconnected groups of brain regions; integration (global efficiency, characteristic path length, and participation coefficient), i.e., the ability to rapidly combine specialized information from distributed brain regions; and centrality (degree, strength, and betweenness centrality), i.e., the importance of individual nodes within the network, were performed for each patient at each threshold71. Each measure was then integrated within the density interval of 5–50% to obtain a single value per subject. Graph analysis was performed via the Brain Connectivity Toolbox (https://sites.google.com/site/bctnet/) in MATLAB R2019b. Network graphs were generated via the BrainNet viewer toolbox72.

Statistical analysis

The IBM “Statistical Package for the Social Sciences Software for Windows” (SPSS), version 22, was employed to perform the statistical analyses of the clinical data. Quantitative variables were compared through t-tests, which were separately performed on the average values of the main psychopathological ratings and of the PID-5 dimensions and facets. The statistical significance level was set at p < 0.05, and no statistical adjustment was performed.

A Shapiro‒Wilk test was used to check the normality of the distribution of graph measures, and each property was compared between patients and HCs via ANCOVA with sex and age as covariates.

Pearson’s correlation, partialling-out the effects of sex and age, was calculated between each global and local network measure and the average scores of the PID-5 5 domains and the 25 facets. This analysis was conducted in the full sample, in BPD patients only, and exclusively in female BPD patients, considering the skewed sex distribution.

The results were corrected for multiple comparisons via the false discovery rate approach. 35 PID-5 domains (sum and mean) and facets were corrected across each other; local graph metrics were corrected across the 10 graph metrics and the 85 network nodes; the 6 global measures were corrected across each other; Pearson’s correlations between global network measures and PID-5 scores were corrected by 6 (global metrics) × 30 (25 factes, 5 domain average); Pearson’s correlations between local network measures and PID-5 scores were corrected by 10 (local metrics) × 85 (nodes) × 30. Statistical significance was set at adjusted-p < 0.05.

Ethical approval

The study was approved by the local Ethical Committee (#88866-24/07/2017), and written informed consent was obtained from all participants.