Introduction

The human immunodeficiency virus (HIV) has been associated with impaired executive function, working memory, processing speed, and general intelligence in people of all ages living with HIV (Boivin et al. 1995; Nozyce et al. 2006; Hoare et al. 2016; Phillips et al. 2016). Most neuroimaging studies of cognitive impairment investigate adult onset HIV in Western populations, and note differences primarily in frontostriatal regions (Chang et al. 2001; Melrose et al. 2008; Du Plessis et al. 2014) and the hippocampus (Maki et al. 2009). In HIV-infected children, numerous studies have revealed worse performance than controls on cognitive tasks (Hoare et al. 2012, 2018), but generally, no differences are seen in children’s cognition in relation to age of antiretroviral treatment (ART) initiation (Smith et al. 2008; Puthanakit et al. 2010, 2013). In some of these cases, where the median age of initiation is 9 years old, the lack of findings might be due to missing the crucial infancy stage of neurodevelopment (Puthanakit et al. 2010, 2013). When ART initiation is before the age of 3 months, improved neurodevelopment using the Griffiths Mental Development Scale is noted (Laughton et al. 2012). There is a small amount of research on the effects of HIV and ART initiation age, on white matter structures in perinatally infected children before the age of 2 years (Geng et al. 2012), but the effects on grey matter are less well studied. Overall, the effects of HIV infection and ART initiation on neurocognitive-relevant brain activity and structural development remain understudied in young South African populations, where the HIV burden is the highest in the world.

Members of our laboratory have previously used the N-back task to assess working memory using only the first two N-back levels in a study of methamphetamine users (Brooks et al. 2016), and other laboratories have also used this version of the task (Ragland et al. 2002; Rac-Lubashevsky and Kessler 2016; Hur et al. 2017; Meule 2017). The version using 0-back and 1-back levels has been described as involving maintenance of information held in working memory systems, while 2-back and higher levels involve manipulation thereof (Ragland et al. 2002; Rac-Lubashevsky and Kessler 2016). The said maintenance level of working memory task activates the inferior parietal gyrus, dorsolateral prefrontal cortex (DLPFC), right ventrolateral prefrontal cortex (VLPFC), and left lingual gyrus, while the manipulation levels result in further activation of these regions with additional activation in the DLPFC and anterior cingulate.

Here, perinatally infected youth from the Cape Town Antiretroviral Adolescents Cohort (CTAAC) underwent functional magnetic resonance imaging (fMRI) while completing the N-back task with alternating 1-back and 0-back blocks to examine the effect of HIV infection on task performance and underlying neural activity. Structural MRI was also used to examine the volume, cortical thickness, and surface area of the brain regions utilized while completing the maintenance working memory (MWM) task, in relation to ART age of initiation. The task requires participants to proactively monitor the presentation of randomized stimuli, and as such, the ongoing processing of visual stimuli, and shifts in attention, was expected. Altered brain activity and structure underlying divergent neurodevelopment in the HIV-infected and control participants was also expected, dependent upon ART initiation being earlier or delayed.

Methods

Participants

Sixty-four HIV-infected youth (mean age 10.42, SD = 0.87; range = 9–12) and twenty demographically matched controls (mean age = 10.43; SD = 1.3; range = 9–13) enrolled in CTAAC were recruited to participate in the current study. Previous HIV research has used similar patient to control sample size ratios (Maki et al. 2009). All participants and their legal guardians provided written informed consent and were excluded for: an uncontrolled medical condition, identified central nervous system condition (other than HIV), past or present meningitis, cerebrovascular trauma or head injury with loss of consciousness of greater than 5 min, skull fracture, a history of perinatal complications, or neurodevelopmental disorder not attributed to HIV. All patients were on a personalized ART programme. The fMRI task used here was part of a larger neurocognitive study in which 248 demographically similar youth were recruited. Only the 84 included here completed the version of the N-back task described below. All (n = 20) of the control participants were black African, 63 of the patients were black African, and one patient was of mixed ethnicity. Each participant was accompanied by a guardian to all testing sessions and the guardian was paid 200ZAR for travel expenses.

Working memory maintenance task

Participants completed 0-back and 1-back levels of the classic N-back task (Kirchner 1958). This version of the N-back task was used, due to the young age and earlier educational abilities of the participants, and given its validity as a MWM task as described above. Participation involves watching a screen on which letters of the alphabet are flashed. For the 0-back block, participants pressed a button when they saw the letter ‘X’. For the 1-back block, they pressed a button when they saw two of the same letter presented consecutively. The participants completed the task while undergoing the fMRI scanning. Alternating 1-back and 0-back blocks were presented six times each with a rest period between blocks. 1-back and 0-back blocks consisted of 20 letters, each letter presented separately on the screen for 1.5 s, with 1.5 s for the participant to respond using the space bar. Rest periods between the blocks were 9 s long during which the participant was presented with a blank screen, and so the total experimental run was approximately 14 min. The MWM task was presented in the scanner using Neurobehavioural Systems Presentation software (www.neurobs.com/menu_presentation), and subjects viewed the task on a mirror attached to the front of the head coil. Subjects were requested to respond by pressing a button on an MRI-compatible button box. Independent sample t tests were done in SPSS25 to assess for divergent response times in the MWM task. Based on previous publications using the same task (Brooks et al. 2016, 2017), commission errors (pressing the response button without the appropriate cue) and omission errors (not pressing the response button when presented with the appropriate cue) were recorded.

Neurocognitive impairment

Each participant completed a comprehensive neuropsychological battery that assessed cognitive functioning in the following 10 cognitive domains: general intellectual functioning, attention, working memory, verbal memory, visual memory, visual spatial ability, motor coordination, language processing speed, and executive function. The full list of tests is described in a previous study (Hoare et al. 2012). Each participant’s neuropsychological profile was classified according to the youth Neurocognitive Disorders classification (Hoare et al. 2016) into one of three categories: no impairment, mild impairment, or major impairment.

fMRI scanning parameters

All scans were obtained using a 3-Tesla Magnetom Allegra Siemens MRI head scanner (Siemens Medical Systems GmBH, Erlangen, Germany) with a four-channel phased array head coil, at the Cape Universities Body Imaging Centre (CUBIC). Whole-brain T2*-weighted 2D echo planar imaging (EPI) functional volumes were acquired with 36 ascending axial slices. The following parameters were used: EPI factor = 64; TR/TE: 3 s/25 ms; FOV (anterior-posterior, inferior-superior, left-right), 64 × 64 × 36 slices; voxel size, 3.1 × 3.1 × 3.5 mm. A T1-weighted high-resolution structural scan was obtained once for each participant using the following parameters: TR/TE: 2.53/6.6 ms; FOV 256 × 256 × 128 mm; voxel size, 1 × 1 × 1.33 mm, with an acquisition time of 8 min and 6 s.

fMRI data analysis

MR scans were analysed using SPM12 (Wellcome Department of Imaging Neuroscience, London, UK). Pre-processing included slice-time correction, motion correction of the 6 motion parameters, volume realignment to the middle volume, and AC-PC realignment to improve co-registration. Functional and structural volumes were co-registered and subsequently normalized to standard (MNI152) space using an indirect normalization procedure (Ashburner and Friston 1997) and resampled into 4-mm isotropic voxels using 4th degree B-spline interpolation. Finally, all images were smoothed using an 8-mm FWHM Gaussian kernel, which addresses residual between-subject variance.

Statistical analysis of fMRI data at the individual subject level was performed within the general linear model framework. The onsets and durations of three task conditions were included as regressors. The conditions of the experiment were entered into the model. The six conditions were control/1-back, control/0-back, control/rest, HIV+/1-back, HIV+/0-back, and HIV+/rest. Six rigid body transformation parameters obtained during realignment were also included as regressors. High pass filter cut-off was set at 1/128 Hz. For each participant, contrast maps were generated for the main effect of HIV status across sessions, and the interaction of task condition with HIV status.

Second-level random effects modelling tested the null hypothesis of zero difference across participants between the drug and placebo conditions. Whole brain analyses were run using family-wise error rate (FWE)–corrected voxel level significance, thresholded at p < 0.05 throughout. A three-factor full factorial 2 × 3 ANOVA (control/HIV+, 1-back/0-back/rest) was modelled using block onset and duration times of the task stimuli and tested for whole brain effects. After the primary analyses, covariates were included into the model to test for the possibly confounding effects. The main effect of HIV status was tested, as well as main effects of the task conditions. Contrast maps of condition interactions were also made. For visualization of results in Figs. 1, 2, 3, and 4, statistical parametric maps have been superimposed onto a high-resolution canonical T1 scan with thresholds set at p < 0.001. Mango (Research Imaging Institute, UTHSCSA) was used to create the figures.

Fig. 1
figure 1

Neuronal activations during N-back task conditions in the combined sample. Activation in the precentral gyrus (panels a and b) and left and right upper temporal/inferior parietal gyri (panels b and c). On the bottom right is a colour legend indicating T values. Panel a: y = − 2; panel b: z = 64; panel c: x = − 56

Fig. 2
figure 2

Neuronal deactivations during N-back task conditions in the combined sample. Deactivation in the bilateral temporal gyri (panel a), pons (panel b), and parietal and frontal gyri (panel c). On the bottom right is a colour legend indicating T values. Panel a: y = − 43; panel b: z = − 14; panel c: x = 41

Fig. 3
figure 3

Neuronal deactivation in the HIV patients during N-back task conditions. Clusters in the left insula (panel a), left hippocampus (panels a and b), and left superior temporal gyrus/rolandic operculum (panels a and c). On the bottom right is a colour legend indicating T values. Panel a: y = − 11; panel b: z = − 16; panel c: x = − 53

Fig. 4
figure 4

Neuronal activation in the earlier ART initiation HIV patients during N-back task conditions. Clusters in the cingulate cortex (panels a and c), left temporal gyrus (panel a), and thalamus (panels a and b). On the bottom right is a colour legend indicating T values. Panel a: y = − 23; panel b: z = 4; panel c: x = − 3

Covariates were added to the model mentioned above in order to test for contributing effects to group differences and thus were applied to the controls vs HIV, N-back vs rest interaction contrast (i.e. checking for increased activation in the control sample in the MWM conditions). All covariates were tested with a FWE-corrected significance level of p < 0.05.

In order to investigate the effects of ART initiation on the developing brain, the HIV-infected youth were split into two groups: those who began ART before the age of 2 years (24 months; n = 20), and those who began ART after the age of 2 years (n = 42). Two subjects from the original 64 patients had to be excluded as their date of ART initiation was unknown. These tests were run in the same fashion as the HIV vs control contrasts. A two-way ANOVA (ART age group × N-back condition) was modelled to check for differential activations and deactivation between the two groups in the N-back task conditions.

Results

Demographic data

The groups were matched on age, sex, home language, and ethnicity. The HIV-infected group had a higher number of repeated grades and a higher rate of mild neurocognitive impairment. None of the included subjects had major neurocognitive impairment. More details on the group demographics are in Table 1.

Table 1 Demographic and clinical characteristics

Behavioural data

The N-back response times did not differ significantly according to HIV status (see Table 2), although a slight trend can be seen where all response times are marginally slower, and the number of errors marginally higher in the HIV group across task conditions. When errors and response times were compared between the participants who initiated ART under the age of 2 and over the age of 2, there were no significant differences.

Table 2 N-back button press responses

fMRI results

Main effects of task

Initially, both HIV-infected and control groups were combined to detect overall task effects. The main effect of the N-back stimuli compared with the rest blocks resulted in robust activation the superior temporal, precentral, and lingual gyri. Analyses were run in which both N-back conditions (1-back and 0-back) were combined to form a maintenance working memory (MWM) vs rest contrast. A 1-back vs 0-back sensitivity contrast was also tested, in order to control for visual stimuli. In the MWM vs rest contrast, a whole-brain analysis revealed increased activation in large bilateral clusters in the superior temporal gyri, extending into the rolandic operculum and insula, as well as large clusters bilaterally in the precentral gyri, extending into the postcentral gyri, supplemental motor area, and mid cingulate, with an additional cluster in the right occipital lobe incorporating the calcarine and lingual areas (see Table 3A and Fig. 1). For the same contrast, areas of deactivation were noted in the bilateral inferior and superior parietal lobules, the bilateral middle temporal gyri, the midbrain/pons, and the right middle frontal gyrus, extending into the superior frontal gyrus and including the opercularis and triangularis (see Table 3A and Fig. 2). These findings were at the cluster level using a FWE-corrected significance level of p < 0.05.

Table 3 fMRI effects of N-back task

When contrasting 1-back vs 0-back effects across the combined sample, as a sensitivity analysis, a whole-brain analysis revealed no differences with a cluster level FWE-corrected threshold, but when using a less stringent uncorrected p < 0.001 threshold at the peak level, differences in activation—but not deactivation—were detected in the bilateral precentral gyri (including pars triangularis and pars opercularis), extending to the superior temporal gyrus on the left, and extending into the insula on the right.

Group task effects

A 2 × 3 (HIV status × N-back condition) ANOVA was run to detect differences in BOLD activation between HIV-infected youth and controls during the MWM conditions. At a FWE p < 0.05 cluster level significance threshold, no differences were detected. However, at a less stringent threshold of p < 0.001 (uncorrected), at the peak level, some group differences in activations were noted. In the 1-back vs rest contrast these activations were seen in the control group, predominantly in the left superior temporal gyrus and insula. For full results see Table 3B and also Fig. 3). When 1-back and 0-back were directly compared in a sensitivity analysis, in order to detect differences independent of visual stimuli, and for neural differences between the two levels of the task, clusters of activation were noted in the left lentiform nucleus/putamen, left superior frontal gyrus, and the right mid cingulum, with p < 0.001 at the peak level, while no deactivations were noted. Controlling for age and neurocognitive impairment separately did not change these clusters significantly. These group task effects are listed in Table 3B. Overall, neural activation seen in the task conditions was contributed to more by the control group.

Group effects with covariates

The covariate ‘age’ (as measured in years with one decimal point) contributed significantly to activation in one small cluster in the left precentral gyrus/rolandic operculum (− 58, − 10, 12). The covariate ‘neurocognitive impairment’ contributed significantly to activation in the left amygdala, numerous clusters in the left middle and superior temporal gyrus, and a small cluster in the posterior cingulate cortex, indicating that a proposed neurocognitive deficit correlated with activation in these regions. Both covariates contributed to deactivations (neurocognitive impairment in the bilateral superior parietal lobes, and age in the left parahippocampal gyrus) but only when a less stringent threshold of uncorrected p < 0.001 was applied. Three measures (attention, executive function, working memory) were combined and averaged to create one additional covariate. This covariate contributed to activation in the superior temporal gyrus/rolandic operculum, but only with a less stringent threshold of uncorrected p < 0.001.

Functional findings based on differential age of ART initiation

A comparison of the two ART initiation age groups on primary demographic features is in Table 4. The two groups were matched on all relevant demographic variables. The only measures on which the two groups differ are ‘ART duration’ and ‘age of ART initiation’, which is to be expected. For this analysis, the two N-back conditions were combined to form a MWM vs rest contrast. No effects were detected with a FWE-corrected p < 0.05 threshold, but an uncorrected threshold of p < 0.001 allowed for detection of numerous activations during N-back conditions in the earlier ART initiation group. The full results for this contrast are listed in Table 5 and visually presented in Fig. 4.

Table 4 Demographic and clinical characteristics of HIV-infected youth. Earlier ART initiators began ART by the age of 24 months of age. Late ART initiators began ART after 24 months
Table 5 fMRI effects of N-back task in earlier ART initiation (N = 20) vs late ART initiation (N = 42) groups

Structural differences based on functional findings

Following these functional findings between the ART age groups, structural qualities (volume, cortical thickness, and surface area) of the significantly activated regions were compared. Based on Freesurfer anatomical output (Hoare et al. 2018), the two subcortical regions (thalamus, middle cingulate gyrus) were compared on volume, and the four cortical regions (inferior parietal, superior temporal, insula, inferior frontal/pars opercularis) were compared on surface area and cortical thickness. There were no structural differences between the inferior parietal, superior temporal, and left thalamus regions. However, the middle cingulate volume was significantly greater in the earlier ART initiation group (t = 2.031(59); p = 0.047), the right thalamus volume was almost significantly larger in the earlier ART initiation group (t = 1.89(59); p = 0.064), the surface area of the right insula was greater in the earlier ART initiation group (t = 2.14(59); p = 0.037), and the cortical thickness of the inferior frontal/pars opercularis was almost significantly greater (t = 1.78(59); p = 0.08). In addition, the overall cortex volume was found to be greater in the earlier ART initiation (t = 2(59); p = 0.05), and the subcortical grey volume was almost significantly greater in the earlier ART initiation group (t = 1.97(59); p = 0.054).

Discussion

This study attempted to detect differences in brain activity between HIV-infected youth and controls during a MWM task. Within the patient group, further differences in brain activation were investigated in relation to ART age of initiation, and the brain regions showing differential activation were assessed for differences in volume, cortical thickness, and surface area.

Differences were found in neural activation dependant on HIV status, with the controls showing increased activation in the dorsal-ventral attention networks (Vossel et al. 2014), including large clusters in the superior temporal, inferior frontal, and insula regions, particularly in the left hemisphere. Smaller clusters of activation were also seen in the cingulum and hippocampus in the controls. Patients who started ART before the age of two had increased activation in similar networks, with additional activity in the bilateral thalami. These earlier ART initiators also had larger medial cingulate cortex volumes, increased overall cortex volumes, and larger surface area of the right insula, while late ART initiators had no increased volumes, thickness, or surface area. In both the HIV vs controls and earlier vs late ART initiation groups, it is thought that the increased activation indicated improved sensorimotor recruitment, as it corresponds with lower levels of neurocognitive impairment and slightly faster response times on the N-back task in the case of the controls > HIV contrast, and with larger brain volumes in the case of the earlier ART initiators.

Our findings confirm an attentional processing network used in MWM that includes the temporoparietal junction and nearby regions such as the inferior frontal gyrus and insula. All of these regions have been linked to processing and MWM abilities, including the lateral inferior prefrontal cortex, which is additionally linked to executive functions including decision-making and working memory (Oldrati et al. 2016), and the parietal lobes and thalamus (Tomasi et al. 2006). Although not considered part of the frontostriatal network associated with altered executive function performance in HIV-infected patients, reduced activation has been noted in the hippocampus in adults during verbal recall tasks (Maki et al. 2009). The decreased activation noticed in these regions in the HIV-infected group may be associated to a reduced processing ability. When it is considered that previous studies have found the HIV-infected brain to have microstructural damage and increased inflammation (Hoare et al. 2018), the grey matter deactivations noted here may have associated white matter limitations, thereby inhibiting grey matter activity as detectable in BOLD fMRI.

Previous studies of healthy and clinical adults have found differential effects of the dorsolateral prefrontal cortex (DLPFC) in working memory tasks (Tomasi et al. 2006; Melrose et al. 2008). The lack of DLPFC findings here may have two explanations. First, our task utilized the MWM levels of the N-back task (0-back and 1-back), which presents a lower cognitive load to participants, as compared with a 2-back or 3-back task. The DLFPC is more associated with manipulation of working memory networks that occurs with higher levels of the task (Ragland et al. 2002). Another potential reason for the relative lack of frontal effects is the young age of the subjects (Bunge et al. 2002). It is possible that incomplete myelination of associative cortical regions, as seen in youth, as compared with adults, may also mean fewer frontal differences between the tests groups (Benes 1989; Sowell et al. 1999).

The role of ART initiation age, and also adherence, is known to be important in reducing the negative HIV-related effects in cognition, among other physiological measures. Our findings provide support for the importance of earlier initiation and therefore have implications for privately and publicly funded treatment programmes in perinatally infected youth. In South Africa, there is high risk of delayed treatment, due to limited resources of both patients and public health services. However, findings such as ours indicate a pressing need to enforce early detection and immediate treatment.

Limitations

The inclusion of a 2-back level in the task would have been useful to improve the scope of the task in terms of difference levels of working memory and, as such, the 2-back level has been included in a 3-year follow-up study on this cohort. The group-effect results were significant only with an uncorrected p value of 0.001, likely due to low power, but were included due to the exploratory and novel nature of this research.

Conclusion

Significantly reduced activation in cognitive processing networks was noted in HIV-infected subjects during an MWM task. In the patients with delayed ART initiation, further deactivations and decreased brain volumes were noted in the same networks as well as the thalamus. The findings presented here provide much needed insight into the development of cognitive systems in this population and have implications for ART programmes and their initiation in young perinatally infected children. Namely, earlier ART initiation appears protective of the cognitive and structural neurodevelopment of the young HIV-infected brain.