Introduction

Depression is the second most common human disease after coronary heart disease [1]. Studies show that the detection rate of depressive symptoms among college students in China is 24.71% [2], and depression is a common mental health problem among college students [3]. The main symptoms of depression in college students are reduced volitional activity, sleep disorders, low learning efficiency, interpersonal difficulties, and in severe cases, even self-harm or suicidal intention or behavior [4]. It is estimated that by 2030, depression will account for the first place in the world in terms of years lost due to disability [5].

Electroencephalography (EEG) recording is a non-invasive quantitative diagnostic tool for detecting rhythmic electrophysiological activity of neuron clusters in the cerebral cortex, and its signals can reflect mood-related physiological and pathological changes with the advantages of high temporal resolution and convenience [6, 7]. It has been found that there is a specificity in the EEG signals of people with depressive symptoms, such as low δ power during sleep [8, 9] and high β power during wakefulness [10,11,12], lateralization of left and right brain regions in θ and α waves [13,14,15] and asymmetry in power values of the high (β) and low (δ, θ) frequency bands [16]. Measuring depressive symptoms objectively and searching for EEG biomarkers in people with depressive symptoms has been one of the focuses of researchers [17,18,19].

Physical activity is associated with depressive symptoms, and insufficient physical activity is a risk factor for depressive symptoms [20, 21]. Studies reveal that exercise reduces the risk of depression in college students [22, 23]. Exercise negatively affects depressive symptoms. The EEG signal can provide a quantitative basis for exercise to alleviate depressive symptoms in college students. Exercise induces an immediate increase in cortisol after exercise, which affects brain oscillatory activity and alpha asymmetry of EEG. Exercise can effectively alleviate negative emotions in college students with depressive symptoms [24, 25]. However, the selection of subjects, exercise protocols, EEG frequency bands, and electrodes varied from study to study, as did the conclusions [26]. It has also been noted that existing studies are not yet sufficient to evaluate the effects of exercise interventions on EEG signals [27].

There is a negative correlation between physical activity and depressive symptoms, and EEG is a method to obtain pathological changes in the brain of people with depressive symptoms and to objectively assess depressive symptoms [19]. We found that there are still inconsistencies in the specific indicators of EEG in people with depressive symptoms, and it is particularly important to establish an EEG model to identify college students with depressive symptoms, to observe the relationship between physical activity levels, EEG indicators, and depressive symptoms, and to explore the moderating role of different types of physical activity in physical activity levels and EEG indicators. The present study adopts a cross-sectional research design and aims to clarify the specific indicators of EEG in college students with depressive symptoms, construct a model for detecting depression in college students based on resting EEG, clarify the relationship between physical activity level and depressive symptoms in college students, and reveal the possible mechanisms by which different types of physical activity affect depressive symptoms.

Methods

Study design and participants

This study used a cross-sectional research paradigm, and was approved by the Ethics Committee of Shanghai University of Sport (102772021RT007). All participants provided informed consent.

Inclusion criteria: (1) Participants must be willing to provide informed consent to participate in the study. (2) Participants must be undergraduate students aged between 18 and 22 years. (3) Participants must be right-handed. Exclusion Criteria: (1) Participants with a history of neurological disorders or head injuries that may affect EEG readings will be excluded. (2) Participants with physical diseases and dysplasia. (3) Participants who had used psychotropic drugs in the previous 3 months, or had consumed alcohol and caffeine in the previous 24 h as EEG measurement.

The measurement period was from November 2021 to April 2023. The recruitment process is shown in Fig. 1.

Fig. 1
figure 1

Recruiting flow chart

Research methods

Questionnaire survey

The questionnaire was distributed to the subjects, in which it was clarified that the data obtained were used for scientific research only, and the principle of voluntary completion was adhered to. In the process of filling out the questionnaire, the subjects were actively guided to read the instructions carefully and prompted to complete the questionnaire carefully as required. After the questionnaire was completed, the investigators checked for logical errors or missing items to ensure that the information was filled in perfectly.

Self-Rating Depression Scale (SDS)

The Self-Rating Depression Scale (SDS) was developed by Professor Zung at Duke University School of Medicine, reflecting the depressed mood of the subjects over the last week. There are 20 items in the scale, and the answer options for each item are “no or little time”, “some of the time”, “good part of the time”, and “most of the time”, “Most of the time”, which are scored from 1 to 4 respectively. Ten of the entries are scored positively and the other 10 scored negatively. The scores of all entries are added together and multiplied by 1.25, which are rounded up to the standard score (score range 25–100). A standard score of < 53 is normal and ≥ 53 indicates depression. The internal consistency coefficient of this scale is 0.89.

International Physical Activity Questionnaire (IPAQ)

The questionnaire assesses the subjects’ exercise in the past week and classifies different physical activities into high, medium, and low intensity with metabolic equivalent (MET) values of 8.0, 4.0 and 3.3, respectively. The level of physical activity of a certain intensity = MET corresponding to that physical activity * frequency per week (day) * time per day (min). The sum of three intensity levels of physical activity is the total physical activity level. The criteria for classifying high physical activity are that the total of all types of high-intensity activities is greater than or equal to 3 days, and the total weekly physical activity level is greater than or equal to 1,500 MET, or the total of three types of physical activities is equal to 7 days, and the total weekly physical activity level is greater than or equal to 3,000 MET. Medium physical activity is classified as meeting the criteria of at least 20 min per day of all types of high-intensity activity combined greater than or equal to 3 days, or at least 30 min per day of all types of medium-intensity activity combined greater than or equal to 5 days, or three types of physical activity combined greater than or equal to 5 days, and the total weekly physical activity level greater than or equal to 600 MET. Low physical activity is classified as not reporting any activity or reporting some activity but not meeting the above criteria for medium and high grouping. The retest reliability coefficient of the International Physical Activity Questionnaire was 0.718 [28].

EEG signal acquisition

The test period was 13:30–16:30, and the subjects performed resting EEG tests, and the test procedure is shown in Fig. 2.

Fig. 2
figure 2

Test flow chart

EEG signals were recorded using the electroencephalograph (NCERP-190012) produced by Shanghai NCC Electric Co., Ltd., equipped with a preamplifier and 16 unipolar leads. Set the sampling frequency at 500 Hz, high-pass filtering at 0.3 Hz, low-pass filtering at 30 Hz, and trapping at 50 Hz. This instrument divides the EEG into delta band (1 to 4 Hz), theta band (4 to 8 Hz), alpha1 band (8 to 10.5 Hz), alpha2 band (10.5 to 13 Hz), beta1 band (13 to 20 Hz), and beta2 band (20 to 30 Hz) based on frequency.

The test environment was a quiet dark room. The subject was first seated in a chair and adjusted to a comfortable sitting position (Fig. 3). The tester set up Fp1, Fp2, F3, F4, C3, C4, P3, P4, F7, F8, O1, O2, T3, T4, T5, T6 leads according to the 10/20 system electrode placement method prescribed by the International EEG Society, with the ground electrode as Fpz and the reference electrodes as bilateral earlobes (A1 and A2) and tuned the impedance of each electrode to below 20 kΩ. At this point, the tester told the subjects to stay awake, relax their bodies as much as possible at rest, place their hands naturally at their sides, close eyes and do not clench their teeth or swallow saliva, sit still for 10 min to collect the EEG signal. The data segments of the first 2 min and the last 1 min and those with serious artifacts were removed.

Fig. 3
figure 3

Diagram of brain electrode leads

Mathematical statistics

First, the EEG data were preprocessed. (1) The raw EEG signal data in edf format were imported into the EEGLAB tool in MATLAB and parsed into time series data in multiple channels. (2) We located the electrodes, removed the useless ones, and kept the Fp1, Fp2, F3, F4, C3, C4, P3, P4, F7, F8, O1, O2, T3, T4, T5, T6, A1, and A2 leads. Then, we selected the bilateral mastoid (A1 and A2) for re-referencing. (3) The ICA algorithm was utilized to eliminate artifacts such as ophthalmologic and electromyographic traces. (4) The spectrum was partitioned into distinct frequency bands, specifically setting the delta wave (1–4 Hz), theta wave (4–8 Hz), alpha1 wave (8–10.5 Hz), alpha2 wave (10.5–13 Hz), beta1 wave (13–20 Hz) and beta2 wave (20–30 Hz). (5) The frequency or power spectrum was computed using the Fourier transform (FFT) method. (6) The power values within each frequency band were calculated using the mean value calculation method for each electrode. (7) The signals in each lead have been categorized into appropriate brain regions, including orbital frontal (Fp1, Fp2), prefrontal (F3, F4), lateral frontal (F7, F8), central (C3, C4), parietal (P3, P4), occipital (O1, O2), temporal (T3, T4) and posterior temporal (T5, T6). The index of EEG power values for each brain region was determined by adding P left to P right. The index of EEG lateralization for each pair of homologous electrode sites in the left and right brain was calculated by (P right—P left)/(P left + P right). Higher values indicate greater right lateralization (P indicates absolute power value and left and right refer to the symmetrical electrode sites on the left and right sides of the brain).

Frequency histograms were utilized to observe data distribution. Measures that adhered to normal or approximate normal distribution were reported with mean ± standard deviation, and group comparisons were made through an independent samples t-test. Bonferroni was adopted to correct for multiple comparisons of frequency bands, with a corrected P-value of 0.05/6 = 0.0083. Median (interquartile range) was used to describe significantly skewed measures and group comparisons were conducted using the nonparametric Mann–Whitney U test. Count data were presented as n (%) and χ2 tests were used for group comparisons.

The dataset collected was randomly divided into training and validation cohorts at a ratio of 7:3, and the variables were compared. Non-normal data were presented as median (interquartile ranges). In the univariate analysis, chi-square test or Fisher’s exact test was used to analyze the categorical variables, while the Student’s t-test or rank-sum test was used to examine the continuous variables. In the training cohort, the least absolute shrinkage and selection operator (LASSO) logistic regression analysis was used for multivariate analysis to screen the independent risk factors and build a prediction nomogram for whether or not to be depressed. The performance of the nomogram was assessed using the receiver operating characteristic (ROC) curve and calibration curve, with the area under the ROC curve (AUC) ranging from 0.5 (no discriminant) to 1 (complete discriminant). A decision curve analysis (DCA) was also performed to determine the net benefit threshold of prediction. All statistical analyses were performed using the R software (version 4.2.2).

Pearson correlation analysis was used to explore the relationship between physical activity level and EEG indicators related to depressive symptoms, and to analyze the moderating effects of different types of physical exercise.

Results

Comparison of differences with depressive symptoms and normal college students

As depicted in Table 1, there were no notable differences in gender, age, BMI, and physical activity levels between depressed and normal college students. The power values of δ and α2 in the central (C3, C4) and parietal (P3, P4) regions of depressed college students were significantly higher than those of normal college students. And the degree of lateralization of δ, θ, α1, and α2 in the prefrontal regions (F3, F4) of depressed college students was significantly higher than that of normal college students (all P < 0. 008).

Table 1 Comparison of differences with depressive symptoms and normal college students

Construction of a resting EEG-based depression recognition model for college students

Construction of depression recognition model

The dataset collected was randomly divided into training and validation cohorts at a ratio of 7:3. Basic information is shown in Table 2, and there is homogeneity between the two groups.

Table 2 Patient demographics and baseline characteristics

All EEG indicators as candidate predictors were included in the original model, which were then reduced to 5 potential predictors using LASSO regression analysis performed in the training cohort. The coefficient profile is plotted in Fig. 4 and cross-validated error plot of the LASSO regression model is also shown in Fig. 5. The most regularized and parsimonious model, with a cross-validated error within one standard error of the minimum, included 5 variables. ROC curves for each factor are shown in Fig. 6.

Fig. 4
figure 4

Lasso regression coefficient path plot

Fig. 5
figure 5

Lasso regression cross-validation plot

Fig. 6
figure 6

ROC curve analysis of 5 candidate diagnostic indicators

Further multivariate logistic analyses were carried out in different cohorts. Results are shown in Table 3. The final logistic model included 5 independent predictors and was developed as a simple-to-use nomogram, which is illustrated in the Fig. 7.

Table 3 Results of multivariate logistic regression for training cohort
Fig. 7
figure 7

Nomogram prediction model

Evaluation of the testing effectiveness of the model

As shown in Table 4, The self-fitting confusion matrix of this recognition model revealed that 21 college students with depressive symptoms were correctly identified in 14 cases and incorrectly identified in 7 cases. Twenty-three normal college students were correctly identified in 15 cases and incorrectly identified in 8 cases, with a recognition recall of 66.67% and a precision of 69.05% (Table 4). The AUCs of the model in the different cohorts were shown in Fig. 8.

Table 4 Confusion matrix for recognition models
Fig. 8
figure 8

ROC curves of the nomogram prediction model

The internal validation and calibration of the nomogram were performed using 1,000 bootstrap analyses. The calibration plots of the nomogram in the different cohorts are plotted in Fig. 9, which demonstrate a good correlation between the observed and predicted whether depressive symptoms are detected. The results showed that the original nomogram was still valid for use in the validation sets, and the calibration curve of this model was relatively close to the ideal curve, which indicates that the predicted results were consistent with the actual findings.

Fig. 9
figure 9

Calibration curve of the nomogram prediction mode

The following Fig. 10 displays the DCA curves related to the nomogram. A high-risk threshold probability indicates the chance of significant discrepancies in the model’s prediction when clinicians encounter major flaws while utilizing the nomogram for diagnostic and decision-making purposes. This research shows that the nomogram offers substantial net benefits for clinical application through its DCA curve.

Fig. 10
figure 10

Decision curve analysis of the nomogram

Relationship between physical exercise and EEG-specific indicators of depression

Table 5 demonstrates significant correlations between all five EEG metrics selected and SDS scores. However, only δ (C3 + C4) and α1 (F4-F3) exhibited significant correlations with IPAQ scores.

Table 5 Correlation between EEG indicators with SDS score and IPAQ score

On this basis, a further analysis was carried out to determine whether different forms of physical activity could moderate the correlation between IPAQ scores and two indicators of δ (C3 + C4) and α1 (F4-F3). The results, as shown in Fig. 11, demonstrated that students at the university who were most often engaged in ball games have lower levels of δ (C3 + C4) and higher levels of α1 (F4-F3) with increasing physical activity, whereas those who were most often engaged in resistance sports have lower levels of δ (C3 + C4) with increasing physical activity.

Fig. 11
figure 11

Relationship between physical exercise and EEG: the moderating effect of exercise type

Discussion

The current study demonstrates that resting EEG exhibits specificity for college students with depressive symptoms. The power values of δ and α2 in the central (C3, C4) and parietal (P3, P4) regions of depressed college students were significantly higher than those of normal college students. And the degree of lateralization of δ, θ, α1, and α2 in the prefrontal regions (F3, F4) of depressed college students was significantly higher than that of normal college students. Most of the δ-wave activity occurs in the temporal and occipital lobes during sleep. In normal adults experiencing extreme fatigue and lethargy, there is a synchronized presentation throughout the cortex [29, 30]. Increased δ-waves can also be associated with impaired brain function or loss of consciousness. It has been found that depressed college students exhibit increased delta-wave activity, slower brain functioning in the waking state, and disrupted regulation of their EEG rhythms, which can disturb sleep cycles [31]. α2-waves are generally related to increased cognitive activity and alertness. Individuals with symptoms of depression may experience imbalances in their neurotransmitters, increased activity within the neurons, or a lack of inhibitory control over excitatory regions of the brain. These factors may result in heightened α2 power values. Increased α-band power values may trigger hypervigilant behavioral performance in individuals with depression [13, 32]. The prefrontal slow wave and fast wave showed lateralization in this population, with the left and right dorsolateral prefrontal cortex corresponding to the F3 and F4 electropole points, respectively. Researchers have discovered that left frontal activity correlates with positive emotions, while right frontal activity correlates with negative emotions, leading individuals to exhibit “approach” and “withdrawal” behaviors, respectively [33]. The lateralization of α-waves might indicate excessive processing of negative emotions and a deficit in emotional regulation [34].

The study indicates that the EEG-based depression recognition model for college students can assess the risk of developing depressive symptoms in subjects with strong discriminatory power. The model is reliable and valid. Among these, the main predictors are δ (C3 + C4), δ (F4-F3), α1 (F4-F3), α1 (P4-P3), and α2 (F4-F3). The depression symptom-specific indices showed consistency, indicating that the above-mentioned indices should be considered as significant observation indices when predicting the occurrence risk of depressive symptoms. The depression identification model in this study confirms the EEG index specificity of college students with depressive symptoms in the measured samples. It also confirms the efficacy of EEG in detecting abnormalities in the brain’s functional activities in depressed individuals. In recent years, scholars have utilized EEG signal data in tandem with data mining classification algorithms to conduct depression recognition research [35,36,37]. However, the recognition efficacy calls for improvement. Iterative optimization of the model will necessitate a sustained and collective research effort under large sample sizes over a significantly long time with good application prospect.

In this study, it was discovered that increased physical activity was linked to decreased δ power values in the central area (C3 + C4), normalized α1 lateralization in the prefrontal area (F4-F3), and reduced symptoms of depression. Li Chui-kun et al. discovered a reduction in activity of the δ waves in the pontine gyrus located in the occipital lobe, as well as the subparietal lobule situated in the parietal lobe of the left hemisphere of the brain after exercise [38]. Exercise results in energy expenditure, increases cerebral blood flow, and activates the endogenous peptide and amino acid transport systems resulting in the promotion of sleep [39]. As a result, individuals who regularly exercise experience enhanced sleep quality and decreased depressive symptoms [40]. Exercise improves emotional regulation, induces changes in the functional dynamics of the frontal limbic neural network, and results in the right lateralization of the frontal alpha wave [41]. It also serves as a behavior that evokes emotions, mediates the difference in power values between the left and right hemispheres of the brain, and aids the shift from negative to positive emotions in depressed groups of college students [42]. It is worth noting that different types of physical exercise influence the correlation between physical activity level and the indicators of central area (C3 + C4)δ and prefrontal area (F4-F3)α1. The relationship of physical activity level with central area (C3 + C4)δ and prefrontal area (F4-F3)α1 is more robust among university students who play ball games regularly. Additionally, The relationship of physical activity level with central area (C3 + C4)δ is more robust among those who engage in resistance sports regularly. Exercise stimulates the release of neurotransmitters, such as dopamine and endorphins, which enhance positive emotions and provide feelings of pleasure and relaxation. Resistance exercise promotes mRNA expressions, including IGF-1, mTOR, Akt, Syn, and Syp, and improves protein expressions, including IGF-1, IGF-1R, and p-Akt [43]. While participating in ball games, involving teamwork and social interaction, can foster social support system and communication. Such an environment of social support and teamwork can reduce feelings of isolation, enhance social networks, and provide emotional support. It is recommended that individuals who regularly engage in ball games and resistance sports maintain their exercise habits to reap the long-lasting effects of exercise.

Research limitations and recommendations: Several studies have examined the specificity of EEG metrics in individuals with depression. However, the findings have been inconsistent. It is anticipated that future research will collect larger samples of measurements to minimize the impact of individual differences on conclusions. Also, this study employed a subjective questionnaire to assess symptoms of depression. It is important to note that this method does not qualify as a clinical diagnosis and may therefore be prone to subjective biases. The sample population included college students who reported experiencing symptoms of depression. Therefore, the generalizability of these findings may be limited. Additionally, the depression recognition model for college students based on EEG indexes displays greater homogeneity in the distribution of dichotomous dependent variables, necessitating a large-scale model for future confirmation. Finally, this study relied on a subjective questionnaire to gauge physical activity levels, which may have introduced certain subjective biases, and objective measurement tools such as accelerometers are recommended for future use.