Introduction

Obsessive–compulsive disorder (OCD), is characterized by obsessions and compulsions, resulting in impaired quality of life1. OCD has a lifetime prevalence of 2–3% among the general population2. The pathophysiology of OCD remains unclear after extensive research, which is still under debate due to inconsistent findings. Prior research on the pathophysiology of OCD has reported some inconsistent findings, including: different mechanisms of inherited pathologies, inconsistent structural/functional neuroimaging results, and divergent neurochemical hypotheses2,3,4. Numerous neuroimaging studies suggest structural and functional abnormalities play a crucial role in OCD pathophysiology2,5. However, inconsistent results have been reported regarding both structural and functional alterations, which have not sufficiently explained the biological basis of OCD2,3. More studies are warranted to elucidate the neural mechanisms of OCD.

Resting-state functional magnetic resonance imaging (rs-fMRI) has been widely used to describe the features underlying the functional organization of brain, and to measure the inter-regional temporal correlations6. Specifically, rs-fMRI can provide information on regional brain function in living humans, such as amplitude of low-frequency fluctuation (ALFF) which reflects the intensity of spontaneous brain activity6,7. In addition, regional homogeneity (ReHo) measures local synchronization of brain activity, assessing regional brain functional connectivity8,9. Secondly, functional connectivity (FC) provides information of the integration level to show abnormal brain network topology across brain regions7. Regional and remote functional connectivity has proven to be mutually complementary in characterizing brain functional connectomes9. Network-based analyses are an interesting alternative to explore FC abnormalities in networks like the default mode network10, which provides new insights into brain functional activity. Regarding FC and network analysis findings in OCD patients from fMRI studies, several studies have reported abnormal functional connectivity patterns in OCD patients, particularly involving the fronto-striatal, fronto-parietal, limbic, and default mode networks)11,12,13. Graph theory-based network analyses have revealed disrupted global and local efficiency, clustering, and small-worldness properties in OCD, indicating suboptimal brain network organization14.

Rs-fMRI has been increasingly used to identify potential biomarkers for different psychiatric conditions, such as depression and OCD15. Numerous fMRI studies revealed abnormal FC between OCD and controls in regions like the frontal cortex, thalamus and cerebellum16,17, meta-analysis results indicated hypoconnectivity within corticostriato-thalamo-cortical circuit, frontoparietal and salience network, and between salience, frontoparietal and default-mode network5,11. Abnormal ReHo values in the frontal gyrus, and cerebellum were found in the patients with OCD18,19,20. Altered ALFF value of the posterior cingulate cortex, hippocampal gyrus, and cerebellum network in OCD21,22. However, fMRI findings remain inconsistent across studies. Regarding brain networks, the cortico-striato-thalamo-cortical (CSTC) circuit has been associated with OCD12,13,23,24. More evidence has emerged regarding abnormal cerebellar-cerebral functional connectivity in OCD25,26,27. Beyond CSTC, other networks involving the default mode network (DMN), frontoparietal networks (FPN), and salience network (SN)11,28, have been linked to OCD. These networks are not specific to OCD, but also contribute to multiple psychiatric disorders29. The inconsistent fMRI findings could be attributed to heterogeneity within OCD patients.

By controlling for the clinical heterogeneity of OCD, insight may be gained in exploring its pathophysiology30. Empirical evidence suggests that childhood trauma may be a vulnerability factor of OCD31,32. Childhood trauma involves physical, psychological, and/or sexual abuse or neglect during childhood33. Childhood trauma correlates with symptoms severity in OCD patients34,35,36. However, whether childhood trauma contributes to OCD onset remains inconsistent, with some studies demonstrating increased childhood trauma before onset37,38, but others not reaching this conclusion39,40. The mechanisms linking childhood trauma and OCD remain unclear and further study is needed to elucidate the area. Previous studies suggested this relationship is mediated by other factors, like alexithymia41, anxiety/depression symptoms42, serotonin transporter levels43. Additionally, studies have examined gene-environment interactions, where certain gene polymorphisms may moderate the association between childhood trauma and OCD symptoms31,44, rather than acting as mediators. Prior studies have examined the association between childhood trauma and brain structural and functional activity. Patients with higher levels of exposure to childhood trauma showed increased brain grey matter volume in the caudate nucleus45. One study focused on thalamic functional connectivity by comparing thalamic functional connectivity between patients with varying trauma levels in OCD patients46. To date, no study has specifically examined the associations between childhood trauma and whole-brain activity and functional connectivity in OCD patients. More studies are warranted to firmly establish the evidence by exploring how childhood trauma affects brain abnormalities in OCD patients.

In summary, this study aimed to characterize regional brain activity and functional connectivity alterations in OCD patients using two approaches: ALFF and ReHo. We also explored associations between brain functional changes and childhood trauma in OCD patients to understand the neural mechanisms. We hypothesized OCD patients would show impaired functional activity and connectivity compared to healthy controls, which would be associated with childhood trauma. This study provides empirical evidence for further insights into the pathogenesis of OCD.

Methods

Participants

Forty-eight drug-naive OCD patients were recruited from outpatient clinics of Ningxia Medical University General Hospital, and forty-two healthy controls (HC) were recruited from the local community. The study was approved by the Ethics Committee of Ningxia Medical University General Hospital (KYLL-2022-1101), adhering to the principles of the Declaration of Helsinki.

The OCD group inclusion criteria were as follows: (1) 18–60 years old; (2) meet the diagnostic criteria of OCD in DSM-5; (3) Yale–Brown OCD Scale (Y–BOCS) total score > 16; (4) no family history of mental illness; (5) right-handed; (6) have not taken any psychiatric drugs; (7) OCD treatment naïve. The HC group inclusion criteria were as follows: age, gender and education match those of the OCD group and meet inclusion criteria (1), (4), (5) (6) above.

The exclusion criteria for the two groups of participants were as follows: (1) presence of serious physical diseases; (2) history of suicide; (3) presence of other mental disorders, such as schizophrenia, bipolar disorder, mental retardation, and alcohol dependence.

Clinical assessment

We conducted psychiatric interviews with participants using the MINI-International Neuropsychiatric Interview (M.I.N.I)47 to exclude other psychiatric disorders. We employed the Chinese version of the Yale–Brown Obsessive Compulsive Scale (Y–BOCS)48 to measure the overall severity of OCD symptoms. The 24-item Hamilton Depression Rating Scale (HAMD)49 and the 14-item Hamilton Anxiety Rating Scale (HAMA)50 were used to assess depressive and anxiety symptoms. The Chinese version of Childhood Trauma Questionnaire-Short Form (CTQ-SF)51 was used to evaluate childhood trauma. The CTQ-SF is a 28-item self-report questionnaire that retrospectively assesses five types of childhood maltreatment: emotional abuse, physical abuse, sexual abuse, emotional neglect, and physical neglect. The CTQ-SF has demonstrated good psychometric properties, including high internal consistency, test–retest reliability, and convergent and discriminant validity51. We calculated the total and subscale CTQ scores by summing the scores of all items, with higher scores indicating greater exposure to childhood trauma.

Data acquisition and preprocessing

All brain imaging was performed on a GE 3.0-T imaging system (SIGNA EXCITE 3.0T HDMR) with an 8-channel head coil. Resting-state BOLD-fMRI date was acquired using a gradient-recalled echo echo-planar imaging (GRE-EPI) sequence (repetition time 3000 ms, echo time 35 ms, flip angle = 90°, FOV = 240 × 240 mm2, matrix = 64 × 64, slice thickness = 5 mm, 35 contiguous axial slices with no slice gap, and volumes = 240). During the 12-min scan, the participants were instructed to relax, stay awake, and let their minds wander freely without focusing on any particular thought or task. They were asked to keep their eyes closed to minimize visual input and facilitate the resting state. Earplugs and foam padding were used to reduce scanner noise and minimize head movements.

The preprocessing was performed using the SPM12 (Statistical Parametric Mapping, http://www.fil.ion.ucl.ac.uk/spm/) toolbox, and Data Processing Assistant for Resting-State fMRI (DPARSFA version 4.4, http s://rfmri.org/dpabi) based on MATLAB R2013b. The first 3 volumes were deleted and followed slice-timing and realignment. Subjects were excluded by head motion of > 3 mm in maximum displacement or > 3°rotation in angular motion (5 OCD patients were unqualified; 4 controls were unqualified). Next the high-resolution T1weight images were co-registered to the mean realigned fMRI images and segmented into gray matter, white matter, cerebrospinal fluid (CSF). Then, the images were then spatially normalized to the Montreal Neurological Institute (MNI) space and resliced by 3 × 3 × 3 mm3@@52. Next, functional images were trended and temporal band pass filtered between 0.01 and 0.08 Hz53. Subsequently, several nuisance variances including 24 head motion parameters were regressed by multiple linear regression analysis. Functional images were spatially smoothed with a Gaussian kernel of full-width at half maximum of 6 mm. Framewise displacement (FD) was calculated for each time point, and mean FD value exceeding 0.5 mm was excluded. The quality control procedures involved: (a) Excluding participants with excessive head motion (as mentioned earlier); (b) Calculating FD and excluding participants with mean FD exceeding 0.5 mm; (c) Visually inspecting the preprocessed functional images for potential artifacts or abnormalities. Finally, after MRI quality control, 43 OCD patients and 38 controls were included in the analysis.

Image analysis

The data after magnetic resonance preprocessing were analyzed by the Statistical Parametric Mapping toolbox (SPM12), the Resting-State fMRI Data Analysis Toolkit (REST, www.restfmri.net), and Data Processing Assistant for Resting-State fMRI (DPARSFA). The brain regions were represented based on the use of predefined automated anatomical labeling (AAL)54.

ALFF analysis

We calculated the amplitude of low-frequency fluctuations (ALFF). The time series of each voxel were transformed into the frequency domain using fast Fourier transform to obtain the power spectrum. The averaged square root of power in the frequency band (0.01–0.08 Hz) was taken as the ALFF. For each voxel, the ALFF was standardized by dividing the global mean ALFF value for each subject.

ReHo analysis

The ReHo brain map was constructed by calculating the Kendall coefficient of the time series consistency between each voxel and its neighboring 26 voxels. And then the ReHo was standardized by dividing the global mean ReHo value for each subject to get Kendall's coefficient of concordance, KCC-ReHo. Finaly, The KCC-ReHo value of all single voxel directions was calculated and normalized to the KCC-ReHo z value55.

Statistical analysis

Two sample t tests and Chi-square tests were used to compare the demographic and clinical characteristics of the OCD and HC groups. The statistical analysis of fMRI data was performed in SPM12. We examined the differences in regional functional activity (ALFF map) and connectivity (ReHo map) of the two groups using two sample t-test analysis at the whole-brain voxel level controlling for gender, age, education level, and head movement, running under MATLAB. Statistical significance was set at a voxel height threshold of p < 0.001 and cluster-level threshold of p < 0.05 with family-wise error (FWE) correction. And then, mean ALFF/ReHo values of these impaired brain regions were extracted and their correlations with patients’ OCD symptoms/ CTQ scores were evaluated. Correlation analyses were performed between the severity of obsessive–compulsive symptoms and childhood trauma in the OCD group, with gender, age, education level, and head motion as covariates. To address the issue of multiple comparisons, we applied the False Discovery Rate (FDR) correction using the Benjamini–Hochberg method56. This correction was implemented using the p.adjust function with the "BH" method in R software. Finally, a mediating effect model was constructed using PROCESS version 15.0 to examine how childhood trauma impact the clinical symptoms to further understand the neural mechanism of OCD.

Ethics approval and consent to participate

The study conformed to the principles of the Declaration of Helsinki and was approved by the Ethics Committee of Ningxia Medical University General Hospital (KYLL-2022-1101). Informed consent was obtained from all subjects and/or their legal guardian(s).

Results

Demographic characteristics of participants

Demographic and clinical features were presented in Table 1. The OCD group (N = 43; age, 27.81 ± 9.35; male/female = 20/23; education years, 16.40 ± 5.30) did not differ from HC group (N = 38; age, 28.87 ± 7.23; male/female = 15/23; education years, 17.29 ± 5.58) in terms of gender, age, or educational years (all p > 0.05). Antipsychotic-naive OCD patients are included in our study to avoid the effect of medicine on results. In the 43 OCD patients, the total Y–BOCS was 23.86 ± 4.27, corresponding to moderate and severe OCD symptoms, with obsessive and compulsive subscale scores of 11.77 ± 3.01 and 12.33 ± 2.23, respectively. OCD patients reported mild anxiety and depression levels (HAMA, 7.60 ± 3.50, HAMD, 7.65 ± 3.76, p < 0.001). OCD patients also reported more emotional abuse (t79 = 8.851, p < 0.001), physical abuse (t79 = 6.896, p < 0.001), and emotional neglect (t79 = 2.153, p = 0.034) than HC based on the CTQ scores.

Table 1 Demographic information of drug-naive OCD patients and healthy controls.

Between-group differences in ALFF and ReHo between OCD and HC

Compared with the HC group, the ALFF values of OCD group decreased in the right cerebellum. Similarly, there was a significant group difference of ReHo value in the right cerebellum and the right superior occipital (OCD < HC) (depicted in Fig. 1 and Table 2).

Figure 1
figure 1

fMRI shows brain regions with abnormal ALFF and ReHo values in the OCD group compared with the HC group. Note: voxel p < 0.001, cluster p < 0.05, FWE corrected. (A) Brain regions showing significant differences in ALFF values between the OCD and HC groups. The color bar represents the t-value range, with red indicating higher ALFF values in the OCD group and blue indicating lower ALFF values in the OCD group compared to the HC group. The ALFF of the OCD group was lower than that of HC in the Cerebellum_Crus2_R (MNI coordinates, 12, -87, -30). (B) Brain regions showing significant differences in ReHo values between the OCD and HC groups. The color bar represents the z-score range, with warm colors (yellow–red) indicating higher ReHo values in the OCD group and cool colors (blue) indicating lower ReHo values in the OCD group compared to the HC group. The ReHo of the OCD group was lower than that of HC in the Cerebellum_Crus2_R (MNI coordinates, 9, − 87, -30), and the Occipital_Sup_R (MNI coordinates, 21, − 84, 39).

Table 2 Brain area with abnormal ALFF and ReHo value in OCD patients.

Relationships among childhood trauma, brain functional activity, and symptom severity

In OCD patients, moderate positive correlations were found between various CTQ scores and Y–BOCS scores through multiple correlation analysis (CTQ emotional abuse- Y–BOCS total, r = 0.30, p = 0.047; CTQ physical abuse- Y–BOCS total, r = 0.30, p = 0.047; CTQ physical abuse- Y–BOCS obsession, r = 0.35, p = 0.021; CTQ total- Y–BOCS obsession, r = 0.31, p = 0.040; CTQ total- Y–BOCS total, r = 0.33, p = 0.032). After applying FDR correction, two correlations remained statistically significant: CTQ physical abuse- Y–BOCS obsession (r = 0.35, p = 0.040) and CTQ total- Y–BOCS total (r = 0.33, p = 0.046). These results suggest a potential relationship between childhood trauma levels and OCD symptom severity, though this relationship appears less robust after correction for multiple comparisons (see Fig. 2).

Figure 2
figure 2

The correlation matrix of Y–BOCS scores and CTQ scores. Note: *, uncorrected p < 0.05; *c FDR corrected p < 0.05. The correlation between CTQ-emotional abuse with Y–BOCS total is significant (r = 0.30, p = 0.047); The correlation between CTQ-physical abuse with Y–BOCS -obsessions and Y–BOCS total is significant (r = 0.35, p = 0.021; r = 0.30, p = 0.047; respectively); The correlation between CTQ total with Y–BOCS -obsessions and Y–BOCS total is significant (r = 0.31, p = 0.040; r = 0.33, p = 0.032; respectively). After applying FDR correction, two correlations remained statistically significant: CTQ physical abuse- Y–BOCS obsession (r = 0.35, p = 0.040) and CTQ total- Y–BOCS total (r = 0.33, p = 0.046).

When assessing the association between fMRI values and OCD symptoms, negative correlation between ALFF/ReHo value and Y–BOCS scores were found. (see in Fig. 3) The ALFF value of the Cerebelum_Crus2_R brain area in the OCD group was negatively correlated with the total score of Y–BOCS (r = − 0.372, p = 0.014). No linear correlation was observed among the ALFF value and subscales of Y–BOCS. The ReHo value of the Cerebelum_Crus2_R brain area in the OCD group was negatively correlated with the total score of Y–BOCS and the score of the compulsion subscale (r = − 0.415, − 0.432; p < 0.01). The Y–BOCS total and the compulsion subscale scores of the OCD group was also negatively correlated with the ReHo value of the Occipital_Sup_R (r = − 0.307, − 0.404; p = 0.045, 0.007).

Figure 3
figure 3

The correlation between fMRI and OCD symptoms. Note: (A) Correlation between the ALFF/ReHo value of the impaired brain areas and the total score of Y–BOCS in the OCD group. (B) Correlation between the ALFF/ReHo value of the impaired brain areas and the score of the compulsion subscale in the OCD group.

We conducted the correlation analysis between childhood trauma and ALFF/ReHo value in the brain regions of interest. As demonstrated in Fig. 4, In the OCD patients, the ALFF value of the cerebellum was negatively correlated with the CTQ emotion abuse subscale (r = − 0.514, p = 0.004). When considering all participants together, we found a significant negative correlation between the ALFF value of the cerebellum and the CTQ emotional abuse subscale (r = − 0.505, p < 0.001). However, when analyzing the healthy control group separately, we did not observe any significant correlations between CTQ scores and ALFF/ReHo values in the brain regions of interest.

Figure 4
figure 4

The CTQ emotional abuse subscale correlated with the ALFF value of cerebellum. Note: CTQ: Childhood Trauma Questionnaire; ALFF: amplitude of low-frequency fluctuation; the CTQ emotional abuse was negatively correlated with the ALFF value of cerebellum (r = − 0.514, p = 0.004).

As mentioned before, the cerebellum was found to be correlated to the CTQ emotional abuse and Y–BCOS total scores. To further understand the relationship among them, the mediation analysis was used to show how childhood trauma impact the OCD symptoms. We found that the ALFF value of the cerebellum mediated the relationship between CTQ-emotional abuse and YBCOS total scores (model fit is good, R2 = 0.231, MSE = 14.311, F = 5.721, p < 0.01). It indicated that cerebellar activity alterations may represent one potential neural substrate linking childhood trauma and OCD symptoms The CTQ emotional abuse predicted the OCD symptoms via a totally mediation effect of cerebellum (direct effect, c′ = 0.153, p = 0.247, indirect effect, a*b = 0.191) (See in Fig. 5 and Table 3). These data suggested that the cerebellum functional activity had a total mediating effect on the association between the childhood trauma and OCD symptoms.

Figure 5
figure 5

The CTQ emotional abuse- cerebellum-YBCOS total scores mediation model. Note: *p < 0.05, **p < 0.01; CTQ emotional abuse: measured by the CTQ subscale; cerebellum: the ALFF value of the Cerebelum_Crus2_R, which was the differential brain area of OCD and HC group; Y–BCOS total: measured by the Y–BCOS subscale. The model fit is good, R2 = 0.231, MSE = 14.311, F = 5.721, p < 0.01; a, b, c variables’ value represented the standard coefficient. c′ direct effect of X on Y, c indirect effect of X on Y.

Table 3 The mediation analysis results.

Discussion

Our main findings showed that OCD patients exhibited significantly decreased ALFF value in the right cerebellum, decreased ReHo value in the right cerebellum and right superior occipital lobes, compared to HC; furthermore, the ALFF and ReHo values were negatively correlated with OCD symptoms. In addition, by revealing the relationship among alterations of brain function, childhood trauma, and OCD symptoms, the mediation analysis results further indicated that cerebellum mediated the association between childhood trauma and OCD symptoms. Although some prior studies have explored the association between trauma and neuroimaging alterations45,46, none have used mediation analysis to elucidate how trauma may lead to OCD symptoms through its impact on brain function. The present study is the first to reveal, from the perspective of mediation analysis, that alterations in cerebellar function mediate the relationship between childhood trauma and OCD symptoms, thereby shedding light on the mechanism by which trauma influences OCD.

The first core region closely associated with OCD symptoms in our study was the cerebellum. We found decreased ALFF and ReHo values in the OCD patients, the ALFF and ReHo values of the cerebellum were further negatively correlated with the OCD symptoms, revealing cerebellum was the neural underpinnings of OCD.

The cerebellum comprises distinct subregions that are implicated in diverse processes beyond its traditional role in motor control57,58. The posterior cerebellar regions, including the posterior lobe (hemispheric portions VII-X) and vermis, are crucially involved in cognitive functions such as executive function (working memory, cognitive flexibility, attention)59,60, emotion regulation61, and behavioral regulation62. Focusing on our findings, we will elaborate on the potential roles of the posterior cerebellar abnormalities in the cognitive deficits observed in OCD. Decreased ALFF and ReHo values in these regions, which negatively correlated with symptom severity, may reflect disruptions in the cerebellar modulation of executive function, habit formation, and inhibitory control over repetitive behaviors—core impairments in OCD19,20,63,64,65. Machine-learning technique identified cerebellum as one essential neuroimaging biomarkers of OCD66. Specifically, the posterior cerebellum is implicated in shifting cognitive set and suppressing prepotent responses, processes that are compromised in OCD patients’ inability to disengage from intrusive thoughts and compulsions. Moreover, we will discuss the cerebellum's functional connectivity with large-scale cortical networks, such as the fronto-parietal and cingulo-opercular networks implicated in cognitive control and salience processing67,68. Disruptions in the cerebellum’s integration within these networks may contribute to the pathophysiology of OCD by impairing the coordination of cognitive resources necessary for flexible behavioral regulation. Future studies should examine whether this fMRI regional characteristic of the cerebellum affects other brain regions of large-scale networks responsible for OCD symptoms.

The decreased ReHo values observed in the superior occipital lobes in the OCD group should be carefully interpreted. Few neuroimaging studies found the superior occipital abnormalities of OCD. Previous study suggested the lower FC values of the superior occipital cortex in OCD69. A diffusion tensor imaging study showed impaired white matter integrity of OCD in the superior occipital lobes70. These findings raise the question of how the superior occipital lobes are involved in OCD psychopathology. The superior occipital lobes are located in the visual cortex, which processes information about the location of objects in space. It may entail symptoms of compulsion, such as an intense need to organize and arrange objects and spaces. The question of the superior occipital connectivity in OCD should be further explored in future studies, with a more specific assumption and larger sample sizes.

This study indicated that OCD patients experienced more childhood trauma, including physical abuse, emotional abuse and emotional neglect; further, childhood trauma was positively correlated with OCD symptom severities. Consistent with previous studies indicating a relationship between traumatic experiences and OCD symptoms34,71,72. Other factors that may have an impact on the link between childhood trauma and OCD include anxiety/depression symptoms42, alexithymia41, serotonin transporter levels43, as well as gene polymorphisms in the BDNF, MAOA, and COMT31,44. In line with a prior structural MRI investigation that found a positive correlation between the right cerebellar grey matter volume and physical neglect episodes73, the current study found that childhood trauma negatively linked with the cerebellum neural activity in OCD patients. While, there was different proposal, fMRI study reporting that history of early life trauma positively correlates with DMN networks, rather than cerebellum74. More research is needed to clarify the neuroimaging effects of childhood trauma on OCD severity.

The main goal of our study was to assess the relationship between OCD patients’ brain functions and their experiences of childhood trauma. The results of the present research demonstrated a negative correlation between the cerebellum and childhood trauma, as well as a correlation between the cerebellum and the severity of OCD symptoms. Moreover, our results show, for the first time, that cerebellum mediated the impact of childhood trauma on OCD symptom. The effect of childhood trauma on brain functional connectivity in OCD has only been examined in one study to date, and the results show that OCD patients with high and low levels of childhood trauma had distinct alterations in the thalamus, prefrontal cortex, and caudate46. The current study suggested that trauma childhood trauma impact OCD symptoms via cerebellum neural remodeling. In other words, the patients with OCD who encountered with childhood trauma exhibit specific neural mechanism, i.e., alterations in the cerebellum related to the experiences of childhood trauma. Our findings suggest a potential pathway whereby childhood trauma may contribute to altered cerebellar activity, which in turn could impair cognitive functions involved in the development of OCD symptoms. However, this proposed mechanism is speculative and requires rigorous testing in future longitudinal and experimental studies to establish causal relationships and delineate the precise neural processes involved.

Limitations

This study has a number of limitations. Firstly, the small sample size might have limited the statistical power to perform a stratification based on OCD subtypes. Future studies would benefit of assessing OCD subtypes since different symptomatic profiles seem to be associated with distinct neuroimaging findings. A notable limitation of this study is the lack of an a priori power analysis to determine the appropriate sample size. The absence of a predetermined sample size based on expected effect sizes limits our ability to confidently generalize our findings and may affect the robustness of our conclusions. Recently a growing importance of pre-registering study protocols in neuroimaging research to enhance transparency and reduce potential biases. These practices would have strengthened our study design and should be considered essential components of future research in this field. Secondly, this study was not a longitudinal follow-up study to explore whether the impact of trauma on the OCD brain persist or whether the abnormalities gradually recover as the traumatic event disappears. Thirdly, after applying FDR correction for multiple comparisons, some of our initially significant correlations did not retain statistical significance. This change in results highlights a potential limitation in our study's statistical power. Our sample size, while adequate for our primary analyses, may have been insufficient to detect smaller effect sizes when correcting for multiple comparisons. Finally, Alexithymia is a known confounding factor that would influence the relationship between childhood trauma and OCD symptoms, and its absence in our study design is a limitation. In the further study, we will apply a specific measure for alexithymia (such as the TAS-20).to construct a larger model exploring the roles of alexithymia in the relationship between childhood trauma, cerebellar function, and obsessive–compulsive symptoms.

Conclusions

The study indicated that abnormal spontaneous neural activity and regional functional activity in the cerebellum might be neural underpinnings of OCD. Furthermore, our findings revealed that the cerebellum mediated the impact of childhood trauma on OCD symptoms. It suggested that childhood trauma impacts OCD symptoms through cerebellar neural remodeling, which should be considered when selecting clinical treatment strategies.