Introduction

As life expectancy increases, the world’s elderly population is growing [1] and more than 60 million patients worldwide undergo surgical treatment yearly [2]. Perioperative neurocognitive disorders are common complications, which serve as overarching terms for cognitive impairments identified in the preoperative or postoperative period. Cognitive decline diagnosed within 30 days after surgery is called delayed neurocognitive recovery (dNCR) [3]. The main manifestations are impaired memory, comprehension, and attention in patients after surgery and anesthesia. The incidence of dNCR ranges from 25.8% [4] to 41.4% [5] at 1 week after major noncardiac surgery or at discharge. This severely affects the patient’s quality of life, prolongs their hospital stay, increases medical costs, and raises the long-term risk of cognitive disorders such as dementia [6]. However, the current understanding of the mechanisms is still unclear, and there are no specific treatments. Thus, early preventive measures and enhancing cognitive reserve are crucial.

The neuroinflammatory response is one of the mechanisms being investigated [7, 8]. Peripheral inflammation caused by trauma or surgical insults triggers an increase in the expression of inflammatory cytokines by macrophages, particularly IL-6, IL-1β, and TNF-α [9, 10]. Inflammatory cytokines can enter the central nervous system via the vagus nerve, through a compromised blood-brain barrier, or directly into the peri arachnoid spaces of the brain, where they can stimulate microglia to produce pro-inflammatory cytokines, leading to neurotoxic symptoms and cognitive dysfunction [11, 12]. Animal experiments have detected increased levels of inflammatory cytokines (IL-1β, IL-6, and TNF-α) in the central nervous system following non-craniotomy surgery, positively correlated with the levels in peripheral blood [13]. This finding further corroborates the mechanism by which peripheral injury incites a central inflammatory response. Regulation of these inflammatory cytokines may improve postoperative neurocognitive function.

Physical activity (PA) is an acknowledged strategy for reducing the risk of age-related diseases [14]. Insufficient PA is associated with an increased risk of diseases such as Alzheimer’s and dementia [15, 16]. Higher levels of habitual PA are associated with a 14–24% reduction in dementia risk and a 33–48% reduction in cognitive risk [17]. Some studies have shown that exercise can improve the inflammatory state of the body and reduce levels of inflammatory biomarkers such as CRP, IL-1β, TNF-α, and IL-6 [18,19,20].

However, there is little research on whether PA offers a protective effect against dNCR. Elderly patients often have limited PA, particularly those with chronic conditions such as osteoarthritis in the lower limbs. The authors examined the primary hypothesis that light to moderate PA was associated with dNCR. The secondary hypothesis was that pro-inflammatory cytokines might mediate this association.

Materials and methods

Institutional review board and consent

The study was approved by the Third Hospital of Hebei Medical University (No. 2023-018-1, approval date: March 21, 2023) and was registered on the Chinese Clinical Trial Registry (http://www.chictr.org.cn, registration No. ChiCTR2300070834, registration date: April 24, 2023). Written informed consent was obtained from all participants. This manuscript adheres to the recommendations of the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) initiative.

Study design and participants

This study employed a prospective nested case-control design. Between April 25 and August 30, 2023, a total of 694 patients at the Third Hospital of Hebei Medical University underwent unilateral knee arthroplasty. The inclusion criteria were as follows: (1) patients aged 60 to 90 years under a combination of general anesthesia and nerve block; (2) American Society of Anesthesiologists (ASA) classification of I to III; (3) body mass index (BMI) between 18 and 30 kg/m²; and (4) willingness to participate in the study and the ability to communicate effectively. The exclusion criteria were: (1) a Mini-Mental State Examination (MMSE) score below 24; (2) preexisting central nervous system disorders, including cerebrovascular and neurodegenerative diseases; (3) continuous use of sedatives, antipsychotics, anti-inflammatory drugs, or anticholinergic medications; (4) patients with severe hearing or vision impairments; and (5) preoperative systolic blood pressure exceeding 190 mmHg or diastolic blood pressure exceeding 100 mmHg. The criteria for elimination included: (1) patients who temporarily canceled their surgery or changed the anesthesia method; (2) those with incomplete or inadequate blood sample collection; and (3) patients who developed postoperative severe systemic inflammatory infections. One researcher assessed the eligibility of each patient, collected relevant clinical data, and conducted assessments of PA. Another researcher, blinded to the patient’s PA and other clinical information, was responsible for conducting the neuropsychological assessment.

Perioperative care

All patients were managed following the institution’s standardized protocols. Before the surgical procedure, patients were instructed to refrain from food and drink for eight hours. Thirty minutes before the surgical procedure, an ultrasound-guided femoral nerve block was administered using 20 ml of 0.375% ropivacaine. Anesthesia induction was facilitated with midazolam (0.05–0.07 mg/kg), sufentanil (0.2–0.4 µg/kg), propofol (2-2.5 mg/kg), and rocuronium (0.6 mg/kg). Anesthesia was maintained with propofol and remifentanil, with dosages adjusted based on vital signs and surgical stimulation, to maintain a bispectral index (BIS) of 40–60. Invasive arterial blood pressure monitoring was conducted through the radial artery to maintain blood pressure within 20% of baseline levels. There were no limitations on the administration of vasoactive medications. Within the first 48 h postoperatively, all patients received patient-controlled intravenous analgesia (PCIA) with the same types and dosages of medication. And the postoperative Visual Analogue Scale (VAS) scores were also assessed and recorded.

Exposures: assessment of PA

The Physical Activity Scale for the Elderly (PASE) is a widely utilized instrument in epidemiological research for the assessment of PA in older adults. Its reliability and validity have been consistently confirmed by various studies [21, 22]. This scale integrates data on leisure, household, and work-related activities, and can be completed in a relatively brief period, typically around five minutes. Leisure activities encompass a range of activities, including outdoor walking, exercises of varying intensities, recreational activities, and muscle strengthening, among others. The frequency of participation is recorded as never, seldom (1–2 days per week), occasionally (3–4 days per week), or often (5–7 days per week). The duration of each activity is quantified by the mean time spent on it daily. Only those activities associated with PA at work are recorded, with the time spent on these activities calculated about the number of weekly working hours. Household labor, including light and heavy housework, gardening, home maintenance, and caregiving, is recorded in a binary format of yes/no, with no specific guidelines for the frequency and duration of household activities. The cumulative PASE score is calculated based on the weights of activity items established by the scale’s creators [22].

In the present study, two forms of categorization were employed to distinguish patients’ physical activity levels: a continuous variable and a binary variable. The continuous variable represents the total weighted activity score. By contrast, the binary variable employs a second-order clustering method to categorize patients into physical activity and sedentary behavior (Supplementary Fig. 1).

Outcomes: neuropsychological test battery and diagnosis of dNCR

Neuropsychological evaluations were conducted one to three days before surgery and five to seven days after or after discharge. Before assessment, the Confusion Assessment Method (CAM) scale was employed to exclude patients who were in a delirious state. To minimize the impact of learning effects and reduce the overall testing time, a dual-version test format was employed for the assessment scale. The test sequence included immediate word recall at the outset and delayed word recall at the conclusion, with the remaining tests following a fully Latin square design. The assessments were conducted in a quiet room, with only the evaluating physician and the patient present.

The assessment methodology utilized a neuropsychological test battery similar to that of the International Study of Postoperative Cognitive Dysfunction (ISPOCD) research group [23, 24], comprising: (1) Rey Auditory Verbal Learning Test (RAVLT) [25]: Comprising word learning and word recall sections, the test recorded the number of words correctly recalled immediately and after a 20-minute delay; (2) Trail Making Test (TMT) [26]: Consisting of Parts A and B, the test recorded the time taken to complete each part; (3) The Symbol Digit Substitution Test (SDST) [27]: recorded the number of correct substitutions made by the patient within 90 s; (4) Part C of the Stroop Color-Word Interference Test (SCWT) [28]: recorded the time taken made by the patient when reading 20 color-word interferences.

To minimize the potential for redundancy within the cognitive tests and reduce the data’s dimensionality, the six scores obtained from the tests were subjected to principal component analysis with orthogonal rotation (a linear transformation of the data) [29]. This resulted in the identification of four uncorrelated factors, which collectively represent four primary cognitive domains: (1) Verbal Learning; (2) Verbal Memory; (3) Executive Function; and (4) Attention/Concentration. The utilization of the baseline rotation factor scores of the subjects to determine the scoring coefficients at all time points ensures consistency within the cognitive domain over time. The dNCR is defined as a decrement of at least one standard deviation or more in at least one of the four cognitive domains, irrespective of the presence or absence of concomitant functional impairments in daily living activities [3].

Mediator variable: detection of pro-inflammatory cytokines

The plasma samples were collected to detect the levels of IL-6, IL-1β, and TNF-α before surgery and one day after the surgery. The blood samples were incubated at room temperature for 30 min. Subsequently, centrifugation at 3,000 g for 15 min at 4 °C was performed to separate the serum, which was then stored at -80 °C. The levels of IL-6 (EK106, Multi-Sciences, China), IL-1β (EK101BHS, Multi-Sciences, China), and TNF-α (EK182, Multi-Sciences, China) were quantified using ELISA kits following the manufacturer’s instructions.

Covariates

Potential confounders and effect modifiers were identified from guidelines or expert consensus documents [30, 31] related to postoperative cognitive function. Patient demographics, medical history, lifestyle, and laboratory test results were documented from the clinical case management system or self-reported by the patients preoperatively. Specific indicators were shown in Table 1.

Table 1 Baseline characteristics, laboratory examination and the distribution of dNCR
Table 2 Logistic regression model showing associations between PA and dNCR

DAGs

Using the online Directed Acyclic Graphs (DAGs) tool DAGitty (https://www.dagitty.net), we can establish the causal logical relationships between relevant variables to select independent variables and control for confounding factors [32] (Fig. 1).

Fig. 1
figure 1

Directed Acyclic Graph (DAG)

Green circles represent exposures, blue circles represent outcomes, red circles represent common ancestors of exposure and outcomes (i.e. confounding factors), light blue circles represent ancestors of the outcome (i.e. causal determinants of the outcome), and brown circles represent other variables. Green lines depict causal pathways from exposure, while red lines indicate biased pathways to the outcome. Variables preceding arrows pointing to exposures or outcomes signify potential influencing factors, and variables linking exposures to outcomes may serve as mediating variables

Sample size calculation

The calculation of the sample size was conducted using PASS software (version 11.0.7; NCSS, LLC., United States) to ascertain the anticipated effect size, with a significance level set at 0.05 and the statistical power at 90%. In alignment with the findings from the ISPOCD study, the incidence of dNCR within one week following non-cardiac surgery in subjects aged 60 years and older was noted to be 25.8% [4]. The anticipated odds ratio (OR), indicative of the influence of PA on dNCR, was adopted from prior literature, where an OR of 0.26 was reported, with the control group having an 80% exposure to PA [33]. At least 140 cases of patients are required for statistical requirements.

Statistical analysis

The analytical process aimed to address three interrelated questions: (1) the correlation between PA and dNCR; (2) the correlation between pro-inflammatory cytokines and dNCR after controlling for PA and other risk factors; (3) the mediation of the relationship between PA and dNCR by pro-inflammatory cytokines.

The IBM SPSS Statistics software (version 26.0.0.0; IBM Corporation, Armonk, United States) was used for statistical analyses. Data were presented as mean ± standard deviation for normally distributed continuous variables and median (interquartile range) for non-normal distributions. Categorical variables were reported as frequencies (%). Serum IL-6, IL-1β, and TNF-α levels were analyzed in four forms: preoperative, postoperative, absolute change (postoperative minus preoperative), and relative change [(postoperative minus preoperative)/preoperative]. Comparative analyses between groups were conducted using t-tests, Mann-Whitney U tests, chi-square tests, and Fisher’s exact tests, as warranted.

Univariate logistic regression was initially performed to screen for prognostic indicators associated with dNCR. Variables with a p-value below 0.05 were considered for a multivariate regression model. The variance inflation factor was used to assess multicollinearity between variables. The model’s fit was evaluated through the Hosmer-Lemeshow test, and its discriminatory ability was determined by the area under the receiver operating characteristic (ROC) curve. All p-values were calculated using a two-tailed approach, with a significance level of 0.05. We conducted a sensitivity analysis by categorizing the PASE-weighted total score through median and tertiles. Additionally, patients under the age of 65 were excluded to observe the correlation between PA and dNCR.

The mediation analysis was conducted using the SPSS PROCESS macro developed by Andrew F. Hayes (https://processmacro.org/index.html), utilizing Model 4 to explore the mediation pattern. Mediation effect, direct effect, and proportion mediated were calculated. This strategy used statistical evidence to elucidate potential mechanisms. In this case, the direct effect indicated the association between PA and dNCR, while the mediation effect elucidated the mediation of pro-inflammatory cytokines in this association. The proportion mediated described the percentage of the mediation effect. Parameter estimates were performed using bias-corrected non-parametric percentile bootstrapping. If the 95% confidence interval (CI) did not include zero, the coefficients and indirect effects were considered significant.

Results

Patient characteristics

In a cohort of 694 patients who underwent unilateral knee arthroplasty, 175 surgical patients were identified and included in the study based on the established criteria. However, 23 participants were subsequently eliminated for various reasons: 4 patients had their surgeries suspended, 10 had inadequate or improperly collected blood samples, 6 did not complete postoperative neuropsychological assessments, and 3 developed systemic infection symptoms postoperatively. Ultimately, 152 patients were included in the study, providing complete medical history follow-up information and blood specimen test data. Among them, 36 patients experienced dNCR in the early postoperative period, leading to an incidence rate of 23.68%.

The baseline characteristics of the patients are presented in Table 1. The median age of the participants was 71 years old, with an interquartile range of 63 to 73 years. The gender distribution was predominantly female, accounting for 80.26% of the participants. Despite this notable gender imbalance, the current data analysis reveals no significant difference in the incidence of dNCR between the genders. Baseline data revealed significant differences between the two groups regarding age, CCI, ASA, CES-D 10, MMSE, and physical activity (P < 0.05). Regarding pro-inflammatory cytokines, significant differences were observed between the two groups in terms of preoperative IL-1β, preoperative and postoperative IL-6, as well as both absolute and relative variations in IL-6, preoperative and postoperative TNF-α (P < 0.05).

PA is Associated with dNCR

We found a significant association between PA and dNCR in the early postoperative period [PA for continuous variable: OR = 0.986, (95%CI: 0.980; 0.993), P < 0.05] (Model 1). After adjusting for age, CCI, ASA, and CES-D 10, the trend remained consistent [OR = 0.986, (95% CI: 0.976; 0.995), P < 0.05] (Model 2). After categorizing the PASE scores through second-order cluster analysis, the incidence rate of dNCR was significantly reduced in the physical activity group compared to the sedentary behavior group [OR = 0.137, (95% CI: 0.055; 0.340), P < 0.05] (Model 1). Upon further adjustment for the same factors, the trend remained consistent [OR = 0.199, (95% CI: 0.061; 0.649), P < 0.05] (Model 3). The positive predictive ability of the multivariate logistic regression model 2 and 3 validated by ROC analysis is indicated by the area under the curve of 0.93 (95% CI: 0.89; 0.97) and 0.92 (95% CI: 0.88; 0.96), respectively (Supplementary Fig. 2). To further validate the robustness of the results, we conducted three sensitivity analyses (Supplementary Table 1), which indicated that the association between PA and dNCR remained significant.

Pro-inflammatory cytokines were associated with dNCR

In the univariate logistic regression analysis, pro-inflammatory cytokines that achieved statistical significance (P < 0.05) were subjected to multivariate logistic regression analysis. Models 7–13 in Table 3 sequentially represent the multivariate regression analysis of the three pro-inflammatory factors after full adjustment. When PA was considered as a continuous variable, postoperative IL-6 levels, the absolute and relative changes in IL-6 retained statistical significance (P < 0.05). When PA was treated as a binary variable, postoperative IL-6 levels, the absolute change in IL-6, and preoperative TNF-α were statistically significant (P < 0.05).

Table 3 Multivariate logistic regression model showing associations between pro-inflammatory cytokines and dNCR

Pro-inflammatory cytokines mediate the relationship between PA and dNCR

These findings led us to explore whether pro-inflammatory cytokines mediated the relationship between PA and dNCR. Notably, through mediation analysis, we observed that both postoperative IL-6 and the absolute change in IL-6 significantly mediated this relationship (Fig. 2). When PA was treated as a continuous variable, after adjusting for age, ASA, CCI, and CES-D 10, postoperative IL-6 and the absolute change in IL-6 accounted for 56.04% and 22.68% of the association, respectively. As PA was considered as a binary variable, with the same adjustments, postoperative IL-6 and the absolute change in IL-6 explained 77.68% and 27.58% of the association, respectively. The mediating effect of postoperative IL-6 was particularly pronounced.

Fig. 2
figure 2

Mediation models of PA, pro-inflammatory biomarkers, and dNCR after adjusting for age, ASA, CCI, and CES-D 10

The graphs in a and b represent the mediating roles of postoperative IL-6 and the absolute change in IL-6, respectively, with PASE as a continuous variable. In contrast, graphs c and d represent the mediation models for patients with active labor compared to those with a sedentary lifestyle, when PASE is considered as a binary variable. Direct effect refers to the relationship between PA (exposure) and dNCR (outcome). The mediation effect refers to the relationship between PA (exposure) and IL-6 (mediator), as well as the relationship from IL-6 (mediator) to dNCR (outcome). Proportion mediated (%) = Mediation effect / (Direct effect + Mediation effect)

Discussion

Our research investigated the relationship between PA and dNCR in elderly patients undergoing total knee arthroplasty. The study revealed a significant correlation between the two variables, with the association being significantly mediated by serum pro-inflammatory cytokines, particularly IL-6. The findings suggest that engaging in preoperative PA may confer a protective effect against dNCR, potentially by reducing the levels of serum pro-inflammatory factors.

In this study, we observed an incidence of dNCR of 23.68%. This rate is comparable to the 25.8% incidence of cognitive dysfunction reported within one week after non-cardiac surgery in the ISPOCD1 multicenter study [4]. However, Monk et al. [5], employing a similar study design, noted a higher incidence rate of cognitive dysfunction at 41.4%. The lower incidence rate observed in our study could be due to the strict control of potential confounding factors at the outset of the study and slight differences in the definition of dNCR. Additionally, among the 175 patients ultimately included in the study, 23 cases were excluded for various reasons. Of these, 14 cases were randomly missing data (including 4 patients whose surgeries were postponed and 10 with inadequate or improperly collected blood samples). Another 9 cases had potentially non-random missing data, which constituted approximately 5% of the total sample size. Consequently, no special statistical treatment was applied to the missing data.

Neuroinflammatory response is widely recognized as a major mechanism of postoperative cognitive dysfunction [12, 34]. Our previous research findings [35], as well as the results of this study, have both confirmed this perspective. Elevated levels of pro-inflammatory cytokines in the circulation, such as TNF-α, can disrupt the blood-brain barrier and promote the migration of monocytes/macrophages to the brain parenchyma [36]. Animal experiments have also indicated that an increase in pro-inflammatory cytokines, such as IL-6, can decrease the expression of tight junction proteins in the blood-brain barrier [37], leading to its impairment. Pro-inflammatory cytokines can cross the impaired blood-brain barrier and activate central astrocytes and microglia. This increases pro-inflammatory cytokines, such as IL-1β and TNF-α, causing neuroinflammation and neuronal apoptosis. Studies on neurodegenerative diseases have indicated that microglia exhibit a stronger response to systemic inflammatory attacks, referred to as ‘microglial priming’ [11, 38]. Similar phenomena may be experienced by elderly patients undergoing surgery.

PA has been shown to improve age-related cognitive impairment. Lack of PA ranks the fourth leading cause of global mortality [39]. Active PA can help alleviate or delay age-related cognitive decline, dementia, Alzheimer’s disease, and other conditions [16, 40]. Even low levels of PA have been reported to reduce the risk of insomnia, sleep disorders, and cognitive decline [41, 42]. In a meta-analysis of 15 international cohorts, it was found that an increase in daily steps was associated with a gradual decrease in the risk of all-cause mortality [43]. Our findings also suggest that for elderly surgical patients, even moderate levels of preoperative PA may have protective effects on early postoperative cognitive function.

PA has been shown to have beneficial effects on cognitive function, which may be associated with a reduction in systemic inflammation levels. In older adults, exercise has been demonstrated to decrease levels of inflammatory biomarkers, thereby reducing the risk of age-related diseases [44]. A systematic review and meta-analysis of 11 randomized controlled trials found that aerobic exercise in middle-aged and older adults was associated with lower levels of inflammatory markers [45]. However, some studies have reported that exercise reduces CRP and IL-6 levels in older adults, but no statistical significance was found for TNF-α [46]. Our study results indicate that the correlation between PA and dNCR is primarily mediated by IL-6, while the statistical significance of TNF-α and IL-1β is not pronounced, possibly due to the limited size of our sample.

What type of PA should be recommended for elderly patients during the perioperative period? The guidelines from the American College of Sports Medicine [47] and the World Health Organization [48] suggest that in the elderly population, PA refers to any activity that results in energy expenditure. This typically includes activities such as housework, shopping, and gardening, rather than organized exercise programs. PA holds significant importance for health-related outcomes in elderly patients, such as falls, fall-related injuries, physical function, frailty, and osteoporosis. In our study, the results of the PASE score categorized by hierarchical clustering indicate that elderly patients, even if they actively engage in daily household chores, such as active engagement in gardening and caring for others as shown in Supplementary Fig. 1, can still exert a protective effect on postoperative cognitive function. Therefore, we should encourage elderly patients undergoing elective surgery to actively participate in daily household chores and engage in physical activities within their capabilities. Both can promote postoperative recovery and reduce the occurrence of complications.

This is a prospective nested case-control study, carefully designed to control for potential confounders from the outset, thereby strengthening the inference of a causal relationship between PA and dNCR. The significance of this study lies in its novel perspective and approach for the prediction, assessment, and prevention of dNCR in elderly patients through preoperative PA. Moreover, the PA we explored is not high-intensity specialized training in sports, which is difficult for elderly patients to achieve, but rather the daily basic household chores that elderly patients are capable of performing. Additionally, through mediation analysis, a preliminary exploration of its mechanism of action was conducted, revealing that PA may exert a protective effect by reducing systemic levels of pro-inflammatory cytokines.

However, the study has several limitations. First, it is an exploratory, single-center study with a limited sample size. Despite efforts to adjust for known confounders at baseline, there may still be residual factors that were not controlled for. Second, the study primarily focuses on elderly patients undergoing total knee arthroplasty under general anesthesia with nerve block to observe the effect of PA on dNCR. It is important to note that this model may not be generalizable to a broader elderly population or patients undergoing different types of surgery. The primary objective of this study is to preliminarily explore the association between moderate-to-low levels of physical activity and delirium in the postoperative period. Third, the assessment of PA is based on the PASE scale, which relies largely on patient self-report, potentially introducing measurement bias. It is expected that future large-scale, multicenter studies will use more objective measures to assess PA. However, the simplicity and convenience of this scale make it advantageous for implementation in clinical practice, providing immediate information. In addition, this study primarily targets three commonly studied pro-inflammatory cytokines as markers of inflammation, with serum samples measured only preoperatively and on the first postoperative day. Future research could include other serologic indicators related to PA to explore potential mechanisms.

Conclusions

PA exerts a protective effect against dNCR, possibly by reducing serum pro-inflammatory cytokines, particularly IL-6. In elderly patients, engaging in active PA before surgery, even if it is daily household chores, may have a protective effect on postoperative cognitive function.