Introduction

Since the onset of the pandemic caused by the SARS-CoV-2 virus, evidence has accumulated that some recovered patients from the acute infection episode exhibit cognitive impairment and brain alterations.1,2,3 Studies have found that even months after recovery from COVID-19 infection, some individuals continue to experience neurological, psychiatric, and cognitive effects.4,5 Persistent cognitive symptoms have been linked to brain alterations, including cerebral hypoperfusion6 and hypometabolism.7 Indeed, patients recovering from non-severe COVID-19 without cognitive symptoms present cortical thickness alterations and changes in white matter integrity.1 Although specific brain alterations may not always be directly related to detectable cognitive changes in COVID-19 patients,2 a specific visuoconstructive deficit was detected in approximately one-quarter of mild COVID-19 individuals. This deficit was associated with molecular and structural brain imaging changes and correlated with the upregulation of peripheral immune markers.3

Despite the increasing body of evidence, the specific clinical factors associated with brain alterations remain elusive, presenting challenges in identifying populations at risk of developing long-term brain and cognitive impairments following SARS-CoV-2 infection. The severity of acute infection is the most studied clinical factor that leads to brain and cognitive alteration. A longitudinal cohort study has revealed that the severity of the acute episode correlates with cognitive impairments in long-term follow-up.8 Furthermore, patients who experienced a severe episode and exhibited neurological symptoms during the infection displayed cognitive impairment and brain alterations one-year post-infection.9 Moreover, even patients with mild COVID-19 also present subtle brain alterations.1,2,3 It remains unknown which risk factors or clinical profiles distinguish mild COVID-19 patients who may present this alteration from those who do not.

Anosmia is a commonly reported symptom in COVID-19 patients that frequently occurs early in the course of the disease and may persist as a long-term symptom.10,11 SARS-CoV-2 infection has been suggested to cause the death of support cells in the olfactory epithelium, with consequences for neuronal function. This mechanism aligns with the rapid onset of anosmia in COVID-19 and its swift recovery following the regeneration of support cells. However, host immune responses that downregulate genes involved in olfactory signal transduction may also contribute to the persistence of olfactory dysfunction.12,13,14 Although the virus primarily affects non-neuronal cells in the olfactory epithelium,15,16 the presence of SARS-CoV-2 in nasal brushings and olfactory mucosa biopsies of COVID-19 patients further supports the notion that the virus can invade olfactory neurons following the primary involvement of non-neuronal cells.17 These potential mechanisms are further bolstered by evidence from animal models.18 However, exhaustive research has not provided categorical evidence demonstrating the virus's direct infection of the central nervous system in humans.19 Additionally, anosmia during the acute phase may suggest susceptibility to brain damage through other mechanisms. 13,16 This symptom can serve as a clinical, and in some cases a preclinical, indicator of neurological diseases such as Alzheimer's disease, Huntington's disease, Parkinson's disease, vascular dementia, and mild cognitive impairment, among others.20,21,22 Therefore, objective evaluations and follow-up are required. In this line, the presence of anosmia is associated to the UGT2A1/UGT2A2 locus that encodes for an enzyme expressed in the olfactory epithelium.13 Interestingly, this enzyme is also expressed in the brain and other tissues, serving as a chemical barrier to protect against xenobiotics.23 To date, no reports have evaluated anosmia and the severity of respiratory symptoms as independent risk factors for brain alterations caused by SARS-CoV-2 infection.

Taking this evidence together, we evaluated whether anosmia during the acute phase or the requirement for hospitalization could serve as potential markers of neurological involvement and disease severity, respectively in adults recovering from mild to moderate COVID-19. Our findings indicated that both hospitalization and anosmia had differential impacts on behavior in a cognitive flexibility task. However, only anosmia was consistently correlated with alterations in brain function across several parameters, including functional activity, cortical thickness, and white matter integrity.

Results

Demography

We aimed to evaluate for cognitive, structural, and functional alteration in patients recovering from COVID-19 and how this alteration depends on the clinical profile of the patients (see Figs. 1 and 2). Two clinical factors were assessed: Anosmia (An, involving anosmia and hyposmia/microsmia, see below) during the acute episode as a potential marker for neurological involvement, and hospitalization (HR) during the acute episode to indicate the severity of respiratory symptoms. Using linear modeling, we observed variations in age and the time elapsed between diagnosis and the first session, which includes MRI, behavioral task and clinical anamnesis (see Methods), among patients exhibiting these factors. Concerning age, there were no significant differences observed between patients with and without COVID-19 (age in z-score, beta = 0.05, se = 0.2, t = 0.2, p = 0.8) or between patients with and without anosmia (beta =  − 0.05, se = 0.2, t =  − 0.2, p = 0.8). However, patients with COVID-19 who required hospitalization were older than those with COVID-19 who did not require hospitalization (beta = 0.7, se = 0.2, t = 3.4, r = 0.35 [0.15 0.55], p = 0.0008). Additionally, patients with COVID-19 requiring hospitalization presented a longer time interval between diagnosis and the first session (time in z-score, beta = 0.6, se = 0.2, t = 3.1, r = 0.32 [0.12 0.52], p = 0.002). We did not find a difference in educational level between groups (betas < 0.2, ts < 1, ps > 0.3). Consequently, age and time between diagnosis and the first session were used as control regressors in all analyses comparing clinical factors, as indicated in Fig. 2A.

Figure 1
figure 1

Reversal learning task. (A) Timeline of a trial. (B) Earnings for the three phases of the task for the complete sample. (C) Trial means and standard errors of the evaluation of earnings during the three phases of the task for the complete sample.

Figure 2
figure 2

Behavioral and functional results. (A) Model applied to behavioral and brain data. B-C. Behavioral data from Reversal Learning Task. (B) Regressor effects over the rate of option change after a negative outcome during shift periods. (C) Regressor effects over learning rate following a negative outcome. (D) BOLD activity during the Reversal Learning Task. The left panel shows the global effect of the task. The right panel indicates the negative effect of the Anosmia regressor. HR: Hospitalization required; An: Anosmia; CTD: cluster-threshold detection.

Persistent symptoms

All patients were queried about persistent post-COVID symptoms during initial anamnesis in the first session (see Methods).24 Twenty-two patients diagnosed with COVID-19 reported experiencing some degree of attention and memory issues, which persisted at the time of cognitive assessment battery administered in the study (second sessions, see Methods). The frequency of these reported cognitive symptoms did not show modulation by clinical factors (linear model dof = 93, Anosmia: beta = 0.05, se = 0.09, t = 0.5, r = 0.06 [− 0.17 0.29], p = 0.6; Hospitalization required: beta = 0.08, se = 0.09, r = 0.09 [− 0.13 0.32], t = 0.8, p = 0.4). Additionally, seven patients reported cephalea, and six reported fatigue. Only four patients reported persistent olfactory alteration post-acute episodes. Patients reported an average duration of 1.3 months (range: 0.5–14 months) for their olfactory dysfunction. Of these patients, 68% (n = 29) experienced a complete loss of smell (anosmia), while 32% (n = 14) experienced varying degrees of changes in their sense of smell (hyposmia/microsmia). For the following analysis, we pooled these categories as 'patients with anosmia.' Patients underwent screening for olfactory alterations associated with SARS-CoV-2 using the KOR test.25 In addition to self-reported olfactory alterations, 6 out of 43 patients with anosmia during the acute episode identified less than 5 odors, suggesting a persistent olfactory dysfunction (for details, see Methods). Despite this, when evaluating the KOR test scores with the model (Fig. 2A), no group differences were observed (linear model dof = 93, Anosmia: beta =  − 0.39, se = 0.24, t =  − 1.6, r =  − 0.19 [− 0.44 0.05], p = 0.11; Hospitalization required: beta =  − 0.14, se = 0.24, t =  − 0.5, r =  − 0.07 [− 0.30 0.17], p = 0.5). Functional capacity was also evaluated using 6MWT.26 We did not find differences in this score between groups (linear model dof = 93, An beta =  − 0.003, se = 0.02, t =  − 0.16, r = 0.06 [− 0.17 0.29], p = 0.8; HR beta = 0.007, se = 0.02, t = 0.3, r = 0.09 [− 0.13 0.32], p = 0.7).

Psychological assessment

Patients were evaluated using cognitive and psychological assessment batteries. ACE-III evaluation showed that the sample had a mean score of 92 with no differences between groups (linear model, df = 93, COVID-19 diagnosis beta =  − 1.9, se = 3.0, t =  − 0.6, r =  − 0.08 [− 0.33 0.17], p = 0.5; Anosmia beta = 3.2, se = 2.6, t = 1.1, r = 0.15 [− 0.10 0.39], p = 0.2; Hospitalization required beta = -3.0, se = 2.7, t =  − 1.0,r =  − 0.13 [− 0.3 0.11], p = 0.2). In the same way, IFS-Ch frontal screening evaluation showed a mean of 21.8 with no differences between groups (COVID-19 diagnosis beta = 1.8, se = 0.9, t = 1.8, r = 0.22 [− 0.02 0.46], p = 0.06; Anosmia beta = 0.4, se = 0.8, t = 0.4, r = 0.05 [− 0.18 0.28], p = 0.6; Hospitalization required beta = -0.37, se = 0.8, t =  − 0.4, r =  − 0.05 [− 0.29 0.18], p = 0.6). We found similar results when analyzing the PHQ-9 (COVID-19 diagnosis beta = 2.0, se = 1.4, t = 1.4, r = 0.18 [− 0.07 0.43], p = 0.15; Anosmia beta =  − 0.9, se = 1.2, t =  − 0.7, r =  − 0.09 [− 0.34 0.15], p = 0.4; Hospitalization required beta = -0.5, se = 1.2, t =  − 0.4, r =  − 0.05 [− 0.29 0.19], p = 0.6), and GAD-7 screenings (COVID-19 diagnosis beta = 2.5, se = 1.4, t = 1.8, r = 0.22 [− 0.02 0.47], p = 0.07; Anosmia beta = 0.2, se = 1.2, t = 0.1, r = 0.02 [− 0.22 0.26], p = 0.8; Hospitalization required beta = -0.07, se = 1.2, t =  − 0.06, r =  − 0.007 [− 0.24 0.23], p = 0.9).

Behavioral task

Initially, we assessed whether participants adapted their behavior during the game (Fig. 1). For this purpose, we analyzed three phases during the game: a phase we labeled as 'Shift,' which encompasses the five trials following the programmed probability change; a 'Pre-Shift' phase, comprising the last five trials of the initial stable phase of each game, and a final ‘Post-Shift’ phase, representing the final five trials of each game (corresponding to the conclusion of the second stable phase, see Fig. 1C).

All participants decreased their earnings during the Shift phase, but increased them in the Post-Shift phase, reflecting learning and adaptation (Friedman test, stat = 44.8, df = 2, Kendall W = 0.22, p = 2e− 10; mixed model over single trials, b =  − 0.14, se =  − 0.01, t =  − 10.29, r =  − 0.11 [− 0.13− 0.09], p = 2e− 16, Fig. 1B). Subsequently, we investigated an indicator of the strategies individuals employ during transitions. To do so, we assessed the rate of alternative change following a negative outcome. An exceedingly low value in this indicator suggests a tendency for individuals to uphold the value of the chosen option after experiencing negative outcomes, a phenomenon known as perseverative decision-making27. Conversely, exceedingly high values in this indicator may signify impulsive shifts or the tendency to alter one's choice immediately following an error without updating the value. This indicator decreases in value during the Shift compared to the Pre-Shift phase, reflecting the tendency to accumulate more evidence before shifting from the previously advantageous option (linear model, averaged data: beta =  − 0.04, se = 0.01, t =  − 2.6, r =  − 0.11 [− 0.19 -0.03], p = 0.008; mixed-effects logistic model over single trials: beta =  − 0.24, se = 0.05, t =  − 4.4, r =  − 0.11 [− 0.15 -0.06], p = 9e-6). These initial analyses indicate that the entire sample exhibited the expected behavior in the task, adapting their decisions after a shift with a cost in the transition.

Next, we applied the strategy indicator during the Shift phase to investigate potential differences among groups using the model described in Fig. 2A. We observed that the clinical characteristics of COVID-19 patients differentially influenced the strategy indicator. The diagnosis of COVID-19 did not significantly impact the indicator (linear model: beta = 0.01, se = 0.03, t = 0.4, r = 0.03 [− 0.13 0.20], p = 0.6); however, patients requiring hospitalization exhibited a decrease in this parameter (linear model: beta =  − 0.1, se = 0.03, t =  − 3.2, r =  − 0.26 [− 0.43 -0.10], p = 0.001, similar results from Bayesian estimation shown in Fig. 2B). In contrast, patients presenting anosmia demonstrated an increase in this parameter (linear model: beta = 0.09, se = 0.03, t = 2.9, r = 0.25 [0.08 0.41], p = 0.003, similar results from Bayesian estimation shown in Fig. 2B). None of this modulation occurred in the other phase of the task (ps > 0.1). This strategic modulation significantly impacted total earnings, leading to higher earnings among patients with anosmia (linear model, beta = 0.02, se = 0.01, t = 2.43, r = 0.10 [0.02 0.19], p = 0.015).

Then, we test if this behavioral modulation is related to specific cognitive computation. We fitted a cognitive model of participants’ responses using prospect theory and a Rescorla-Wagner algorithm to estimate the individual learning of the probability of each desk. We used a different learning rate estimated following a win and a no-win. Based on the preceding results, we tested if the clinical condition of hospitalization and anosmia modulated the differences between the learning rates. We found a similar pattern to the prior results: COVID-19 diagnosis per se did not affect the learning rate (linear model df = 90, b = 0.1, se = 0.2, t = 0.6, r = 0.1 [− 0.11 0.21], p = 0.3), Hospitalization generated a decrease in the learning rate after negative outcome (b =  − 0.44, se = 0.16, t =  − 2.7, r =  − 0.21 [− 0.37 -0.06], p = 0.007, similar results from Bayesian estimation shown in Fig. 2C), and Anosmia presents an increased learning rate (b = 0.4, se = 0.15, t = 2.5, r = 0.2 [0.05 0.35], p = 0.01, similar results from Bayesian estimation shown in Fig. 2C).

In summary, participants adjusted to the changing probabilities, resulting in increased earnings following the decreases caused by the shift in probability. A behavioral indicator shows participants' ability to employ different strategies during reversals. Clinical characteristics of COVID-19-recovered patients influenced this indicator, with hospitalized patients decreasing and anosmic patients increasing, impacting total earnings. When testing specific cognitive computations, the modulation due to hospitalization affected the individual learning rate.

Brain functional differences

We evaluated the BOLD signal of the participants while they engaged in the Reversal Learning Task. Cognitive modeling was used to estimate the utility of the chosen option (see Materials and Methods). During the feedback period, we contrasted wins and no wins.

Initially, we assessed the consistent activity across the entire sample to identify the activity associated with value and feedback as classically described in this type of task. We found that during the decision-making process, the value of the chosen option correlated with an extensive frontal-parietal-striatal network, consistent with the literature, including ventromedial prefrontal, medial parietal, and striatal regions.28,29 Conversely, during feedback, we observed that the contrast between win and non-win revealed activity in the ventral striatum, consistent with prior research.29 Subsequently, we assessed the modulation of clinical parameters on BOLD activity. COVID-19 diagnosis and hospitalization required regressors did not show modulation in decision-related or feedback-related activity. However, the regressor associated with anosmia negatively modulated the BOLD signal during decision-making in a network that includes lateral prefrontal, medial frontal, and left temporoparietal regions.

Brain structural differences

Cortical thickness

The gray and white matter were segmented using T1w and T2w images. Cortical thickness was analyzed using the specified model in the methods (Fig. 2A). We found that neither the COVID-19 diagnostic regressor nor the hospitalization requirement showed significant modulation in cortical thickness. However, the anosmia correlated with a thinning of the cortical thickness in parietal areas (Fig. 3A).

Figure 3
figure 3

Brain structural results. (A) The anosmia regressor effect over the cortical thickness. (B) The anosmia regressor effect over the fraction of anisotropy in a whole-brain analysis of white matter integrity. (C) Regressor effects over axial diffusivity measured in segmented white matter tracts. HR: hospitalization required, CTD: cluster-threshold detection, TFCE: threshold-free cluster enhancement.

White matter integrity

The integrity of the white matter was assessed through diffusion images. First, we conducted a whole-brain analysis, evaluating changes in the fractional anisotropy (FA). Statistical modulations were calculated using the specified model outlined in the methods (Fig. 2A), and cluster-based statistics were performed using TFCE. Anosmia was the only regressor with significant modulation, demonstrating decreased FA (Fig. 3B). The main tracts involved in the affected areas were the corticospinal tract, arcuate fasciculus, inferior fronto-occipital fasciculus, thalamus-parietal fasciculus, thalamus-occipital fasciculus, and posterior corpus callosum.

Next, we conducted statistical analyses for individual tracts. Long and short fibers were segmented using deterministic tractography. Various diffusion measures were evaluated to assess the integrity of each tract (FA, radial diffusion, axial diffusion, and mean diffusion). Each tract was evaluated using the model specified in the methods. The analysis revealed that no modulation survived multiple comparisons (Bonferroni correction). However, when applying an uncorrected threshold (Z > 3.1, commonly used for cluster detection in whole-brain functional and structural imaging studies), it was observed that frontal and parietal fascicles exhibited an increase in axial and mean diffusion, indicating a disruption in white matter integrity. This white matter integrity disruption correlated with the hospitalization requirement and COVID-19 diagnosis (Fig. 3C).

Discussion

The results of our study give new insight into the cognitive, structural, and functional alterations observed in patients recovering from COVID-19, with a particular focus on how these alterations relate to the patient's clinical profiles. We assessed two key clinical factors, anosmia during the acute episode and the requirement for hospitalization, as proxies for potential markers of neurological involvement and disease severity, respectively.

Previous reports have found a high prevalence of smell or taste dysfunction in long-term COVID-19, with a percentage of patients being functionally anosmic even one year after SARS-CoV-2 infection.30 Those patients with persistent COVID-19-related anosmia showed altered olfactory network connectivity correlated with hyposmia severity and neuropsychological performance.31 Also, memory and mood disturbances in long-COVID patients with mild or moderate disease correlated with hyposmia or ageusia.32 Our findings build upon prior research by indicating that the presence of anosmia during the acute phase, despite transient symptoms, indicates possible brain alterations. Only six patients present indicators of persistent olfactory deficit; thus, our results are not due to actual deficit. Hence, anosmia could serve as both a potential marker of virus-induced damage to neuronal tissues and a marker for individuals susceptible to brain damage.

Regarding cognitive assessment screening administered in the study, our findings revealed no significant differences in cognitive performance between groups based on COVID-19 diagnosis, anosmia, or hospitalization requirements. Most of the research that has identified manifest cognitive deficits typically involves more severe respiratory cases of COVID-1933,34,35 or those who present neurological symptoms during the acute episode.9 Additionally, these patterns of results are more likely to be found when focusing on a subset of the population that likely represents a more susceptible group, such as those individuals who report subjective cognitive symptoms persisting for more than a month after infection 9. Similarly, women groups who have contracted COVID-19 are more exposed to post-traumatic and depressive symptoms.36 A study using web-based assessments over a large sample of subjects found that individuals recovering from COVID-19 exhibited alterations in cognitive tests, with more pronounced effects observed in those who were hospitalized.37 However, significant alterations were also evident in those who did not require hospitalization.37 While no differences were observed in our cognitive screening evaluation, intriguing patterns emerged in behavioral task performance. All participants displayed adaptive behavior during the game, as evidenced by increased earnings after the shift phase. Particularly, the distinct decision-making strategy observed in patients with anosmia was characterized by more impulsive option shifts during reversals. In our task’s context, marked by high uncertainty and volatility, this resulted in higher total earnings than other groups. Conversely, patients requiring hospitalization exhibited an opposing pattern, showing a decrease in the strategy indicator and more perseverative decision-making. A prior study has reported decision-making alterations in patients who recovered from COVID-19.38 Our results provide further insight into this previous evidence, highlighting the existence of distinct patterns of behavioral alteration, which are related to the clinical profile and may also reflect different physiological mechanisms.

Corresponding patterns in brain activity accompanied these behavioral differences. Anosmia was associated with decreased BOLD signal during decision-making in specific brain regions, including lateral prefrontal, medial frontal, and left temporoparietal regions. The change corresponds to a decrease in value-related activity during decision-making. Thus, a weak value signal can generate a more impulsive option change after negative results. Most studies investigating functional brain activity in patients recovered from COVID-19 have been conducted using resting-state methods. Alterations in signal properties and functional connectivity have been found in COVID-19 patients,39,40 and have been associated with hospitalization,41 and persistent symptoms such as headaches,42 persistent olfactory dysfunction 31,43,44 and other behavioral markers such as working memory performance,45,46 anxiety,47 psychotic-like experiences in adolescents,48 and post-traumatic stress symptoms.49 Also, some studies found no functional alteration in recovered COVID-19 patients.50 Taking this evidence into account, our results reveal a more nuanced landscape concerning the functional alterations following COVID-19 infections. While a clear pattern emerges regarding persistent symptoms reflected in functional brain activity, an additional pattern is likely an indicator of subtle brain damage or susceptibility among patients who exhibit alterations without clearly manifesting cognitive or persistent symptoms. A history of anosmia during acute infection could serve as a potential risk factor for this latter group. Additionally, an EEG/fNIRS study showed that post-COVID-19 patients with persistent hyposmia exhibit mild deficits in prefrontal function, even 4 months after the end of the infection. The researchers suggest that these deficits, although subtle, could have long-term implications for quality of life and cognitive performance.51.

Our structural results support this interpretation, where the main findings are related to a history of olfactory dysfunction and not hospitalization. Specifically, cortical thickness analysis revealed thinning in parietal areas among patients with anosmia, indicating structural alterations in these regions. Moreover, analysis of white matter integrity demonstrated significant alterations in patients with anosmia, as evidenced by decreased fractional anisotropy in various white matter tracts, including the corticospinal tract and arcuate fasciculus. Studies of large samples of patient recovery from COVID-19 have shown alteration of these brain structural parameters.1,2 These studies indicate that subtle brain changes are present even in non-severe cases of COVID-19 without manifest cognitive alterations.1,2 However, research has failed to find a specific marker of neuroinflammation,52 or structural alterations were not found in other samples.31,46 As with functional alterations, the severity of the acute episode and the presence of persistent symptoms are more closely related to structural alterations, primarily in white matter integrity. 50,53.

Overall, our results highlight the importance of a history of olfactory dysfunction in relation to the presence of brain alterations. Given the substantial number of patients recovering from COVID-19 worldwide, it is crucial to identify risk factors associated with potential brain damage. In this context, a history of olfactory dysfunction can be a useful criterion for prioritizing deeper follow-up of these patients. To what extent does anosmia reflect a specific neuropathology of brain damage derived from COVID-19, or is it a marker of patient susceptibility to different neuropathological mechanisms? This remains an open question that necessitates further research. Some evidence suggests that anosmia may reflect more on a patient's susceptibility to brain damage rather than being part of the neuropathology of brain damage. Most of our patients experience olfactory dysfunction as a transient symptom during acute episodes yet still exhibit brain alteration signatures. Moreover, alterations in the central olfactory system related to persistent olfactory deficits are less severe in patients who recovered from COVID-19 than those with other causes of persistent olfactory deficits.54 Interestingly, studies on the presence of anosmia due to different SARS-CoV-2 variants and genetic associations have shown that these symptoms are associated with the UGT2A1/UGT2A2 locus, which encodes an enzyme expressed in the olfactory epithelium and the brain.13 How this finding reflects the mechanism of the association between anosmia and brain alteration requires further investigation.

Our study has limitations, such as using the KOR screening test and self-reported olfactory symptoms to assess olfactory alterations. Despite being a validated screening tool for olfactory function in COVID-19 patients, the KOR test is not designed to establish a diagnosis or describe specific olfactory dysfunctions, such as anosmia, hyposmia, or microsmia.25 Replication of our findings within a cohort using objective clinical assessments can provide additional validation and enhance the robustness of the results.55 Another limitation of the study is that we could not access laboratory tests to determine the specific types of SARS-CoV-2 variants.14 It is known that the prevalence of anosmia varies across different variants, and it is possible that the mechanisms by which these variants affect cognitive aspects could also differ14.

Our study provides valuable insights into the complex interplay between clinical factors, cognitive performance, and brain alterations in COVID-19 recovery patients. These findings contribute to our understanding of the neurological consequences of COVID-19 and underscore the importance of early detection and intervention in at-risk populations. Additional research is necessary to clarify the underlying mechanisms and identify potential therapeutic targets for mitigating long-term neurological sequelae in COVID-19 patients.

Methods

Sample

We investigated a cohort of 100 adult patients with respiratory infections, recruited from public and private hospitals in Santiago, Chile during the pandemic, from February 2020 to May 2023. This cohort included patients with mild and moderate symptoms based on severity classification criteria 56,57,58, who showed no signs of respiratory failure and did not require invasive mechanical ventilation support, as well as respiratory asymptomatic patients for at least four weeks before the assessments. Participants were aged between 19 and 65 years at the time of the study (median = 39, mean = 40.1), of whom 73 were confirmed to have a respiratory infection caused by SARS-CoV-2 through PCR diagnosis. Statistical tests showed no significant differences in participant’s age between COVID-19 and non-COVID-19 patients (t-test, t = − 1.2, df = 45.6, p-value = 0.2, r = 0.12). The remaining 27 patients presented with a respiratory infection attributable to an infectious agent other than SARS-CoV-2, as evidenced by at least two negative PCR tests for SARS-CoV-2 during the acute episode or subsequent periods, and no history of COVID-19 symptoms or positive PCR for SARS-CoV-2 up to the time of evaluation. The enrollment of participants ranged from 2 to 27 months post-diagnosis (median = 9, mean = 9.09), with no significant differences observed between COVID-19 and non-COVID-19 patients (t-test, t = -1.4, df = 42.7, p = 0.15, r = 0.2). Exclusion criteria included the need for invasive ventilatory support or admission to intensive care units, pre-existing brain lesions, neuropsychiatric disorders, or vascular injuries either before or during the COVID-19 episode, and neurological symptoms other than anosmia during acute episodes, including seizures. All participants gave their written informed consent.

Participants were evaluated in two sessions. Session 1 involved conducting anamnesis and requiring the participants to complete the GAD-7 and PHQ-9 screenings. Additionally, participants performed the Reversal Learning Task outside the scanner (without imaging), followed by a magnetic resonance imaging scan. Session 2 included a cognitive assessment battery of two screenings (IFS-Ch and ACE-III), a rapid psychophysical olfactory screening (KOR) test, and the Six Minute Walk Test (6MWT). The mean time between the first and second sessions was 15 days (range: 5–30 days). Experiments were conducted in the Unidad de Imágenes Cuantitativas Avanzadas (UNICA) at Clínica Alemana de Santiago (Session 1) and at the Social Neuroscience and Neuromodulation Laboratory at the Centro de Investigación en Complejidad Social (neuroCICS) at Universidad del Desarrollo (Session 2).

Assessment

All participants underwent a cognitive assessment battery using the following 2 screening tests to estimate their overall functioning: (i) Executive functioning was evaluated using the Chilean version of the Ineco Frontal Screening (IFS-Ch)59. This test assesses performance in response inhibition, set-shifting, working memory, and abstraction capacity. (ii) The assessment of cognitive impairment was conducted using the Chilean version of the Addenbrooke's Cognitive Examination – ACE-III60. This cognitive screening test consists of 5 subscales representing specific cognitive domains (orientation and attention, memory, verbal fluency, language, and visuospatial skills). (iii) The presence of anxiety symptoms was assessed using the Spanish version of the Generalized Anxiety Disorder 7-item (GAD-7).61 The GAD-7 is a brief self-report scale comprising 7 items designed to identify probable cases of Generalized Anxiety Disorder based on the diagnostic criteria of the Diagnostic and Statistical Manual of Mental Disorders—Fourth Edition (DSM-IV). (iv) The assessment of depressive symptoms was conducted using the Spanish version of the Patient Health Questionnaire-9 (PHQ-9)62. The PHQ-9 consists of 9 items that assess the presence of depressive symptoms (corresponding to DSM-IV criteria) experienced in the past 2 weeks. Additionally, the olfactory function was evaluated using KOR test,25 and the functional capacity was evaluated using the Six Minute Walk Test (6MWT).26 The KOR test is a screening validated for use in detecting olfactory deficits associated with the diagnosis of COVID-19.25 The KOR test presents 6 clearly distinguishable aromas (for example, mint, peach, or onion) that individuals must associate with images displayed randomly by an online platform. A score of less than 4 points suggests a suspicion of olfactory dysfunction.

Behavioral task

The participants completed the Reversal Learning Task (RLT, Fig. 1A) in two rounds during Session 1: one behavioral session outside the scanner (without imaging) and one concurrent with functional magnetic resonance imaging (fMRI) acquisition. The rounds were jointly analyzed to enhance the robustness of the behavioral analysis.

In this task, participants had to choose between two decks of cards presented to them on the computer screen. In each trial, each deck was associated with a score indicating the potential winnings if that chosen deck was the paying deck for that trial. Once participants selected one of the two decks, it was revealed whether the chosen deck paid the indicated score or not. The payout probabilities for each deck were unknown to the participants, and they had to approximate them through experience. The programmed probabilities for the decks were 0.85/0.15 or 0.75/0.25. After 10 to 15 trials, the probabilities of the decks were inadvertently switched for the participant, and this arrangement remained stable for another 10 to 15 rounds until the end of the game. Each participant played four games outside the scanner and four games inside the scanner.

Participants were instructed that the goal was to accumulate the highest possible number of points and that the probability of the decks in some games might change inadvertently. The underlying logic of this task is that subjects must optimize their responses based on the scores offered and what they have learned about the payout probabilities of the decks. Additionally, during the changes, subjects must adapt and alter the learned probability for each deck to optimize their responses in these new circumstances. Therefore, the task represents an environment with high volatility that demands continuous adaptation and a balance between maintaining a stable representation of the value of the options and detecting environmental changes to adjust the values.63.

Cognitive modeling

The participants' responses were analyzed using a computational cognitive methodology (see, for example,29). All computational cognitive models were calculated utilizing Prospect Theory, which postulates that an option's expected subjective value or utility (U) is determined by the individuals following Eq. (1).

$$[{{\text{U}}_{\text{l}}} = {\text{ v}}\left( {{{\text{x}}_{\text{l}}}} \right)\pi \left( {{{\text{p}}_{\text{l}}}} \right)\; - {\text{ v}}\left( {{{\text{x}}_{\text{r}}}} \right)\pi \left( {{{\text{p}}_{\text{r}}}} \right)]$$
(1)

In Eq. (1), subindices 'l' and 'r' represent the left and right options. v(.) represents the value function, xl and xr denote the potential outcome of each option associated with the left or right option, respectively. The value function was calculated using Eq. (2).

$$[{\text{v}}\left( {\text{x}} \right) \, = \, {{\text{x}}^{\upalpha }}]$$
(2)

Here, α determines the concavity of the value function. ‘p’ is the probability of a gain, whereas π(.) is the subjective decision weights assigned to these probabilities. To accommodate for the learning of the unknown probabilities, the subject estimated probability by which the outcome x occurs is defined by Eqs. (3, 4, and 5).

For t = 1,

$$[{\text{p}} = 0.5,]$$
(3)

for t > 1,

$$[{{\text{p}}_{\text{t}}} = \, {{\text{p}}_{{\text{t}} - 1}} + \;\;{\text{LR }}\left( {{\text{ Feedbac}}{{\text{k}}_{{\text{t}} - 1}} - \, {{\text{p}}_{{\text{t}} - 1}}} \right)]$$
(4)
$$[\pi \left( {\text{p}} \right) = {{\text{p}}^{\upgamma }}/{\left( {{{\text{p}}^{\upgamma }} + {{\left( {1 - {\text{p}}} \right)}^{\upgamma }}} \right)^{1/{\upgamma }}}]$$
(5)

In the preceding equations, 'γ' is the subjective probability distortion given by Prospect- Theory, 't' represents the trials during a game, and 'LR' represents the learning rate parameter of the Rescorla-Wagner algorithm. 'Feedbackt-1' is a dummy parameter that takes the value of one if the preceding subject's choice was rewarded and zero otherwise. We explored two variations in this algorithm: one involved fitting different learning rates (LR) following negative or positive feedback, and the other involved updating the value for only the chosen option or updating both options, assuming the opposite outcome for the other option (counterfactual updating). Since the model with different LR for positive and negative feedback and counterfactual updating provided the best data fitting, we utilized this variation for all subsequent analyses, as shown below.

The probability of choosing the left option for a given subjective value is computed using a logistic choice rule wherein β1 is the inverse temperature parameter representing the degree of stochasticity in the choice process, and β0 is a bias parameter.

$$[\theta \left( {{U_l}} \right) = \frac{1}{{1 + {e^{ - {\beta _l}\left( {{U_l} - {\beta _0}} \right)}}}}]$$
(6)

All parameters were estimated using a Bayesian approach for each individual rather than a hierarchical model due to computational limitations in using this approach in a large sample with a complex model. At the trial level, choices were modeled following a Bernoulli process:

$$[{\text{y}}\left( {\text{i}} \right) \, \sim {\text{ bern }}\left( {{\uptheta }\left( {{{\text{U}}_{\text{l}}} - \, {{\text{U}}_{\text{r}}}} \right)} \right)]$$
(7)

The posterior inference of parameters within the Bayesian models was executed through the Gibbs Sampler utilizing the Markov Chain Monte Carlo (MCMC) technique, implemented in JAGS via R software. An initial burn-in sequence yielded a minimum of 10,000 samples. Then, 10,000 new samples were drawn across three chains, each generated by a random number generator engine employing different seeds. In cases where convergence criteria were not met, the length of the burn-in sequence was extended. Thinning by a factor of 10 was applied to this sample set, resulting in a final collection of 3000 samples for each parameter. Thinning was employed to mitigate autocorrelation among the ultimate parameter samples of interest. Gelman-Rubin Tests were conducted for each parameter to affirm chain convergence. The Gelman-Rubin statistic for all latent variables in our models approached 1, indicating convergence of all three chains toward the target posterior distribution.

Imaging acquisition

All participants underwent (i) a sagittal 3D anatomical MPRAGE T1-weighted imaging (repetition time [TR]/ echo time [TE] = 2530/2.19 ms, inversion time [TI] = 1100 ms, flip angle = 7°; 1 × 1 × 1 mm3 voxels), (ii) a sagittal 3D anatomical SPC T2-weighted (TR/TE = 3200/412 ms, flip angle = 120°; echo train length [ETL] = 258; 1 × 1x1 mm3 voxels), (iii) a sagittal 3D fluid attenuation inversion recovery (FLAIR) imaging (TR/TE = 5000/388 ms, TI = 1800 ms, ETL = 251; flip angle = 120º, 1-mm slice thickness, 1 × 1 × 1 mm3 voxels), (iv) an axial 3D echo-planar imaging (EPI) (TR/TE = 8600/95 ms, 2 × 2 × 2 mm3 voxels, flip angle = 90°) with diffusion gradients applied in 30 non-collinear directions and two optimized b factors (b1 = 0 and b2 = 1000 s/mm2) with three repetitions, and (v) a functional image (fMRI) weighted echo-planner T2* (TR/TE = 2390/35 ms, flip angle = 90°, 3 × 3 × 3 mm voxels). All imaging was acquired on a 3 T Siemens Skyra (Siemens AG, Erlangen, Germany) MR scanner with a gradient of 45 mT/m and a maximum slew rate of 200 mT/m/s.

Imaging analyses

The whole brain was acquired for fMRI imaging while the experimental task was executed. Participant volumes were coregistered to 2-mm standard imaging using the nonlinear algorithm, FNIRT, implemented in FSL.64 The BOLD signal was analyzed using different models, including motion correction parameters (MC). During decision-making periods, we fitted a model as follows.

$$[{\text{BOLD}} \sim \;{\text{U}}\left( {\text{t}} \right) + {\text{LS}}\left( {{\text{t}} - 1} \right) + {\text{RT}}\left( {\text{t}} \right) + {\text{MC}}]$$
(8)

In Eq. (8), U(t) represents the utility of the choice option for the current trial (t), estimated through the mean of prospect theory and adjusted using subject responses (refer to Eq. 1). LS represents the learning signal from the preceding trial (t-1), derived from the unsigned prediction error of the feedback from the prior trial. By employing this regressor, we can control for signals derived from previous trials rather than the actual evaluation of the option, and it also functions as a proxy to assess the perceived uncertainty of the environment. RT represents the reaction time used as a proxy to control for the choice difficulty. During the feedback period, we fitted a model as follows.

$$[{\text{BOLD}} \sim {\text{WIN}}\left( {\text{t}} \right) + {\text{PE}}\left( {\text{t}} \right) + {\text{MC}}]$$
(9)

In Eq. (9), WIN(t) indicates whether the subject obtained positive feedback in the trial, and PE represents the prediction error of the received feedback calculated based on the behavioral model.

Structural Image processing was conducted using the first two steps of the Human Connectome Project (HCP) pipeline, detailed elsewhere.65 Briefly, the "PreFreeSurfer" phase generated an undistorted native structural volume space, aligned T1-weighted (T1w) and T2-weighted (T2w) images, corrected bias fields derived from both images, and registered the native space to the common MNI coordinate space using a rigid affine registration, and them, a non-linear registration to standard space. Utilizing FreeSurfer version 6, the "FreeSurfer" stage conducted volume segmentation and cortical surface reconstructions, including delineation of the "white" (gray/white matter boundary) and "pial" (gray/cerebrospinal fluid [CSF] boundary) surfaces, followed by registration to a common template (fsaverage). Whole-brain analyses were conducted across cortical surface vertices, and corrections were applied to minimize the Type II errors.66 These analyses utilized Surfstat, a MATLAB toolbox (available at http://www.math.mcgill.ca/keith/surfstat/). Corrections based on random field theory (RFT) were applied (cluster-corrected p < 0.05, cluster threshold detection, CTD, z > 3.1) to address multiple comparisons (see an example in67).

Diffusion imaging processing was computed using DSI Studio software (http://dsi-studio.labsolver.org/), which performs Eddy current and motion correction and calculates the DTI model. It also extracts diffusion measures such as fractional anisotropy (FA), mean diffusivity, axial diffusivity, and radial diffusivity. Deterministic tractography algorithm68 was applied using the following parameters: angular threshold = 60°, step size = 1 mm, minimum length = 30 mm, maximum length = 250 mm, smoothing = 0.5, and QA threshold = 0. The fiber segmentation was performed using a DWM bundle atlas,69 which consists of 36 known bundles, and a SWM bundle atlas,70 composed of 525 short bundles, from which the 209 most stable bundles for deterministic tractography were selected. An automatic segmentation algorithm was used based on the maximum Euclidean distance between the corresponding points of two fibers.71.

Voxelwise statistical analysis of the diffusion data was conducted using TBSS.72 Initially, FA data from all subjects were aligned to the 1 × 1 × 1 mm3 FMRIB58_FA standard space atlas via nonlinear registration. Subsequently, a mean FA image was generated from the aligned FA images and then thinned to form a skeletonized mean FA, representing the central axes of all tracts common to all subjects in the analysis. The mean FA skeleton was thresholder to FA ≥ 0.2 to include major white matter pathways, excluding peripheral tracts and cortical gray matter. Each subject's aligned FA data were projected onto the skeleton by searching perpendicularly from the skeleton for maximum FA values in each individual's FA maps. Statistical comparisons of FA maps were subsequently confined to voxels within the white matter skeleton. We utilized Randomise (FSL program package) to conduct voxelwise statistics on the skeletonized FA data. A multiple linear regression model used FA data as the dependent variable. The independent variables are shown in Fig. 2A. Permutation-based testing (5000 permutations) and statistical inference were performed with correction for multiple comparisons conducted through threshold-free cluster enhancement (TFCE).

Statistical analyses

We employed general linear models (GLM) using the R software to analyze the sample's demographic characteristics. The same modeling approach, as depicted in Fig. 2A, was utilized to compare all parameters between patients and controls and between clinical factors (anosmia and hospitalization requirement). In addition, we included educational levels as a control variable in the analysis for cognitive performance (ACE-III and IFS-Ch tests, and reversal learning indexes). In this approach, target measurements were used as dependent variables, while COVID-19 diagnosis, anosmia during the acute episode, and hospitalization requirement during the acute episode were utilized as independent variables. Given the statistical differences observed in some demographic variables between COVID-19 patients who required hospitalization and those who did not (see below), we augmented the model by including age and the time between diagnosis and the initial session as control regressors. Residual analysis was applied to assess the validity of the fitted model and verify underlying assumptions using the observed data. We used normalized parameters to indicate effect sizes per regressors in regression analyses, displaying their respective 95% confidence intervals. All key findings of behavioral results derived from GLM were replicated using Bayesian estimation. The results were presented in the figures depicting the posterior distribution of the parameters and the pMCMC derived from this analysis (pMCMC is a p-value derived by comparing the posterior distributions of the estimated parameters sampled via Markov Chain Monte Carlo; see section “Cognitive modeling” for details). Additionally, for testing behavioral indicators in the Reversal Learning Task, we employed non-parametric statistics (since these indicators generally have a non-normal distribution73,74,75,76,77) and their respective effect size measures, together with mixed linear models.

Ethics declarations

All participants gave their informed consent, and all experimental procedures were approved by the Ethics Committee of Clínica Alemana—Universidad del Desarrollo, Chile (Folio 2020–102). These consent processes and all procedures were conducted in compliance with Chilean national legislation, institutional guidelines, and the Declaration of Helsinki.