1. Introduction
Pain and cognitive function have garnered increasing research interest, due to their intertwined influences on cognition and behavior. Working memory involves a limited amount of information in a temporarily heightened state of accessibility (
Cowan, 2017) and supports executive functioning via prefrontal mechanisms that maintain task-relevant representations and cognitive control (
Kimberg et al., 1997;
Baddeley, 2003). Meanwhile, pain is not merely a sensory event, but also a complex phenomenon affecting emotional, cognitive, and motivational states (
Melzack, 1999).
As a widely used paradigm for probing working memory updating and monitoring under load, the n-back task requires participants to continuously monitor a stimulus stream and respond when the current item matches one presented n items earlier. The n-back task effectively engages multiple components of working memory and has been utilized to explore the neural underpinnings of these processes (
Owen et al., 2005). At the same time, the construct validity of the n-back task has been debated, with some accounts viewing it as reflecting broader working memory functioning, whereas others emphasize its closer ties to updating, monitoring, and attentional control (
Jaeggi et al., 2010;
Kane et al., 2007). This debate aligns with the broader view that working memory comprises multiple facets and task demands (
Cowan, 2017). Accordingly, in the present study, we use the n-back task as an operational paradigm for examining how nociceptive versus visual information is maintained and updated under increasing cognitive load.
Moreover, evidence suggests that pain significantly impairs working memory.
Attridge et al. (
2015) demonstrated that both acute and chronic pain disrupt performance on the n-back task. Pain impairs working memory primarily by commandeering attentional resources needed for other tasks, as it shifts focus toward the body’s urgent need for escape and repair (
Eccleston & Crombez, 1999). This cognitive resource competition can lead to decreased performance on tasks like the n-back (
Moriarty et al., 2011). Moreover, prior work suggests that individual differences in pain perception and working memory performance, influenced by factors like pain catastrophizing, trait anxiety, and mindfulness, further modulate this effect (
Tabry et al., 2020). These findings suggest that psychological traits and coping strategies play significant roles in the relationship between pain and working memory.
Although the disruptive effects of pain on working memory have been documented, several questions remain unanswered. For instance, the degree to which various pain types (e.g., acute vs. chronic) and differing levels of working memory load influence cognitive performance remain unclear. Meanwhile, interventions such as cognitive training and mindfulness are being explored for their potential to reduce pain’s impact on working memory (
Jaeggi et al., 2010;
Soveri et al., 2017). The interplay among cognitive, emotional, and neural processes underlies the relationship between pain and working memory. Studies using the n-back task have significantly advanced our understanding of pain’s cognitive costs and its influence on working memory vulnerability.
Previous studies have established a foundational understanding of the relationship between pain and working memory, yet they have typically treated pain as either a distracting influence or an independent state factor that modulates task performance (
Boselie et al., 2016;
Buhle & Wager, 2010;
Lithfous et al., 2023;
Nakae et al., 2013;
Vogel et al., 2022). Research has rarely examined whether thermal sensations themselves can serve as the to-be-remembered content in a working memory updating task. Thermal stimulation provides a useful modality for this purpose because it can be delivered with precise experimental control and spans both painful (e.g., hot/cold nociceptive) and non-painful (warm/cool) sensory intensities, making it well suited for probing how bodily signals are encoded, maintained, and updated over time (
Belmonte et al., 2009;
Dubin & Patapoutian, 2010). Accordingly, the present study had three aims. First, we compared thermal and visual single n-back tasks across 1-, 2-, and 3-back cognitive loads to test whether updating performance differed by stimulus modality, expecting lower accuracy and longer response times for thermal cues. Second, we examined whether thermal input functioned differently when task-relevant versus task-irrelevant in cross-modal single task conditions, expecting task-irrelevant thermal input to disrupt visual performance, particularly under lower load, and task-irrelevant visual input to influence thermal-task performance under higher load. Third, we assessed the cost of concurrently monitoring nociceptive and visual information in a dual n-back task. Because the role of thermal information in dual-task updating remains unclear, analyses of this condition were treated as informative but exploratory.
2. Materials and Methods
2.1. Participants
During the recruitment phase of the experiment, participants were preliminarily screened based on their scores on the Short Form of Raven’s 2 (Raven’s 2 Progressive Matrices) (
Langener et al., 2022). Those with Raven IQ scores significantly below the average for their age group were excluded because of their potential to have lower working memory performance (
Unsworth & Engle, 2005). In this study, none of the participants had a Raven IQ below average in their respective age groups.
In addition, participants completed a brief health screening questionnaire at recruitment. Individuals were excluded if they reported any current or recurrent pain condition (acute or chronic), a history of clinically diagnosed pain-related disorders, ongoing medical evaluation or treatment for pain, regular use of analgesic or psychoactive medication, or a recent injury/trauma that could affect somatosensory or pain processing. Participants included in the study reported no relevant medical conditions, had not sought medical care for pain-related complaints, and reported no recent injury or trauma, thereby minimizing the likelihood of including individuals with acute or chronic pain.
Twenty individuals participated in this study. One participant was excluded owing to fatigue, which resulted in withdrawal from the experiment. Consequently, data from 19 participants (
Table 1) aged between 22 and 28 years (mean age = 25, standard deviation [SD] = 1.5 years) were analyzed. Sample size was determined based on feasibility for an intensive within-subject, multi-condition protocol. To facilitate interpretation of statistical sensitivity, we report standardized within-subject effect sizes (Cohen’s d) for key contrasts and provide a sensitivity analysis indicating that, with
N = 19 and α = 0.05 (two-tailed), the design has 80% power to detect within-subject effects of approximately d ≈ 0.68 (medium-to-large). All participants were in good physical health, did not take any medication, and had normal or corrected-to-normal vision. This study was approved by the Ethics Committee of Osaka University Hospital, and all participants provided written informed consent before inclusion in this study.
2.2. Instrument and Software
For the presentation of stimuli and the recording of participant responses in the n-back tasks, a desktop computer equipped with a 24-inch monitor featuring a resolution of 1024 × 768 pixels was positioned 55 cm in front of the participant. The TSA2 (Medoc-TSA2 Advanced Thermosensory Stimulator, Ramat Yishai, Israel) was used to generate temperatures and apply stimulation to target areas. In addition to the main unit, a contact thermode measuring 30 mm × 30 mm was connected to apply thermal stimuli to the target area (
Figure 1).
PsychoPy (version 2021.1.2) and dedicated software for TSA2, MMS (Medoc Main Station Version: 7.0.0.13.2), were used to create stimulus prompts and collect the experimental data. Specifically, visual stimuli were created using PsychoPy, whereas thermal stimuli were generated using MMS. Using PsychoPy’s Python (Version: 3.8.1) partial program, to access the External Control feature in MMS, we were able to conduct a series of tasks that included thermal stimuli in conjunction with visual stimuli. The performance scores and reaction times (RTs) were saved in real time during the tasks.
2.3. Stimuli
All tasks in this study were based on the standard n-back task, by requiring participants to identify if a current stimulus matches one presented “n” steps earlier in a sequence (
Figure 2). During task execution, the display was configured to show a 3 × 3 grid in white (RGB: 1, 1, 1) centered on a gray background (RGB: 0, 0, 0). The task stimuli were categorized into two types: visual and thermal. Each trial lasted 7 s and consisted of a 2 s stimulus presentation period and a 5 s rest period. Depending on the task condition, the trial contained a visual stimulus, a thermal stimulus, or both. During the rest period, a “+” symbol was presented at the center of the screen to maintain participants’ focus. Visual stimuli were represented using blue squares (RGB: −1, −1, 1) within a 3 × 3 grid, facilitating mnemonic cues for the participants (
Figure 2). Thermal stimuli were delivered via a contact thermode, connected to TSA2, and applied to the purlicue on the back of the hand (
Figure 1). Thermal stimulation was initiated from a baseline temperature of 32 °C, with four distinct stimulus intensities (
Belmonte et al., 2009;
Dubin & Patapoutian, 2010;
Salminen et al., 2013): strong stimuli (hot at 48 °C and cold at 16 °C), which are typically perceived as thermal pain stimuli, and mild stimuli (warm at 38 °C and cool at 26 °C). The transition from baseline to target temperatures occurred at the onset of stimulus presentation, with both heating and cooling durations precisely timed at 1.23 s, facilitating a controlled experimental environment for the assessment of thermal and visual stimuli integration. When the stimulus presentation period ended, the temperature transitioned from the target temperature back to the baseline, requiring an identical duration of 1.23 s (
Figure 3). During the subsequent 5 s rest period within each trial, the thermode was maintained at the baseline temperature. During the inter-block rest period, the thermode was likewise held at 32 °C until participants reported no residual thermal sensation, thereby providing a perceptual reset and minimizing carryover effects.
2.4. General Procedure
The room temperature was maintained at 25 °C. The participants were asked which thumb they normally used to press the space bar while using a keyboard and were instructed to use the same thumb for all task responses during the experiment (
Wilimzig et al., 2012). Subsequently, contact mode was maintained. Prior to the commencement of the tasks, the participants were subjected to temperatures of 48 °C and 16 °C for 5 s each, using the TSA2 devices. During this time, they were required to assess their pain sensations using the visual analog scale (VAS) once for the hot condition and once for the cold condition. For the exposures to 38 °C (warm) and 26 °C (cool), the participants were only asked to experience these temperatures without providing VAS assessments. The VAS consists of a horizontal line, 100 mm in length, anchored by two endpoints representing the extremes of “no pain/no feeling” and “worst imaginable pain/most severe discomfort.” The participants were instructed to indicate their current level of pain by marking a point on the line that best represented their perceived intensity at the time of assessment (
Aitken, 1969;
Delgado et al., 2018;
Huskisson, 1974). Prior to the main task, all four target temperatures (48 °C, 38 °C, 26 °C, and 16 °C) were presented at least once (5 s per stimulus) for familiarization and a brief discriminability check. Participants verbally categorized each stimulus as “hot,” “warm,” “cool,” or “cold” and confirmed that the four sensations were distinguishable. If any difficulty was reported, additional practice exposures were administered until the participant indicated clear discriminability before proceeding. The experiment lasted approximately 1–1.5 h, varying with task completion pace.
Each n-back task comprised three levels of cognitive/memory load (
Carlson et al., 1998;
Jaeggi et al., 2010;
Kane et al., 2007): 1-back (low load), 2-back (medium load), and 3-back (high load), with each run lasting 3.7 min (32 trials) at n-back level. The stimuli were arranged in a pseudo-random order to ensure balanced target location and temperature changes across the different runs. All runs were matched for the number of target (50%) and non-target (50%) occurrences. In the dual n-back task, the numbers of visual and thermal stimulus targets were equal. In addition to the dual n-back task, each task was performed once at the same load level. Each load level in the dual n-back task comprised two runs to maintain consistent target/non-target frequencies and probabilities with the other tasks.
The participants were required to complete the following five distinct experimental tasks:
Visual single n-back: Participants were instructed to remember the location of a blue square and judge whether it matched the location presented n trials earlier. They pressed the spacebar when the current square appeared in the same location as the square presented n trials earlier (
Figure 2);
Thermal single n-back: Participants were instructed to remember the sensation of a temperature change and judge whether it matched the thermal sensation presented n trials earlier. They pressed the spacebar when the current thermal sensation matched the one presented n trials earlier (
Figure 3);
Visual single n-back with thermal stimulation: Participants were instructed to remember the location of a blue square, as in the visual single n-back task, while disregarding the thermal stimulation. Thermal stimuli were presented pseudo-randomly with equal probability across trials. They pressed the spacebar when the current square appeared in the same location as the square presented n trials earlier (
Figure 4);
Thermal single n-back with visual stimulation: Participants were instructed to remember the sensation of a temperature change while disregarding the location of the square. Visual stimuli were presented pseudo-randomly with equal probability across trials. They pressed the spacebar when the current thermal sensation matched the one presented n trials earlier (
Figure 4);
Dual (visual and thermal) n-back: Participants were instructed to remember both the location of the square and the sensation of the temperature change and judge whether either dimension matched that presented n trials earlier. They pressed the spacebar when either the current square location or the current thermal sensation matched the corresponding stimulus presented n trials earlier, with the two types of target events arranged not to occur simultaneously (
Figure 4).
The participants were advised to respond as quickly and accurately as possible using their dominant thumb to press the space bar for the target stimuli and not to respond to non-target stimuli. The task conditions were explained to the participants, followed by a practice trial. Ten participants started with the visual single n-back task and then proceeded to the thermal single n-back, followed by the visual single n-back with distractive thermal stimulation and thermal single n-back with distractive visual stimulation. The remaining participants performed the tasks in the reverse order: thermal single n-back, visual single n-back, thermal single n-back with distractive visual stimulation, and visual single n-back with distractive thermal stimulation. All the participants completed the experiment using a dual-n-back task. Within each type of task, runs commenced with the 1-back task, followed by the 2-back and 3-back tasks, with a 1–5 min rest period between tasks. Performance was evaluated based on RTs (for hits only) and accuracy scores (hits minus false alarms). After all tasks were completed, each participant was interviewed to document the strategies employed in n-back tasks involving thermal stimuli. Strategies for the visual task were not probed, as encoding strategies in the visual location n-back paradigm are already well characterized in the literature; therefore, the interviews focused on the novel thermal n-back task.
In the visual single n-back task with thermal stimulation, the participants were instructed to solely focus on memorizing visual stimuli without memorizing thermal stimuli. In the single thermal n-back with visual stimulation task, the focus shifts to memorizing the thermal stimuli, with no memorization of the visual stimuli required. In the dual n-back task, the participants were tasked with memorizing both visual and thermal stimuli.
2.5. Statistical Analysis
SPSS Statistics (version 29.0.2) was used for the analysis. Correlation analyses between accuracy and RT were conducted as an exploratory assessment of whether better task performance was associated with faster responding within each task/load condition, thereby providing descriptive information about potential speed–accuracy trade-offs. Pearson’s correlation coefficient was used for these analyses. Paired t-tests were used to compare accuracy and RTs across cognitive load conditions in the visual, thermal, and dual n-back tasks. Additional comparisons were made across modality (thermal vs. visual), presence of distractive stimulation, and thermal intensity (e.g., hot vs. cold). Two-tailed tests were conducted. Given the large number of comparisons, statistical significance was determined using FDR-adjusted q-values (q < 0.05). Results with q ≥ 0.05 and <0.10 were described as trend-level findings. Uncorrected p-values are reported for completeness.
3. Results
Participants had a mean age of 25 years (SD = 1.5). Of these, 7 (39%) were male, and 8 (42%) reported predominantly using their right thumb when pressing the space bar. The mean Raven IQ score was 104 (SD = 7.5). The VAS scores were significantly higher in hot conditions (mean VAS score = 88.3 mm, SD = 10.75) than in cold conditions (mean VAS score = 70.5 mm, SD = 12.29), with a mean difference of 17.79 (t = 5.38, SD = 14.47,
p < 0.001) (
Table 1). This suggests that the participants’ perception of hot temperature stimuli at 48 °C is more intense than that of the cold temperature stimuli at 16 °C.
Performance for each task under all conditions is shown in
Table 2. Although performance was lower for thermal than for visual cues, participants still achieved meaningful accuracy across loads in the thermal n-back task (Accuracy (prop.): 1-back, 0.87; 2-back, 0.78; 3-back, 0.70), suggesting that thermal sensations could serve as reliable mnemonic cues within the n-back structure. The results of Pearson’s correlations showed a negative correlation between accuracy scores and RTs in the thermal single n-back task under the 1-back condition (r = −0.49,
p = 0.032), indicating that a better score performance correlates with shorter RTs. No statistically significant correlations were found for the other n-back tasks across all conditions (
Table A1).
To explore changes in task performance under various cognitive load conditions, comparisons were conducted for each pair of conditions (1-back vs. 2-back, 2-back vs. 3-back, and 1-back vs. 3-back) in both visual and thermal single n-back and dual n-back tasks (
Figure 5,
Table 3). Results summarized in
Table 3 indicated that, in the visual single n-back and most components of the dual n-back tasks, higher cognitive load levels were associated with lower accuracy scores and longer RTs. However, in the thermal single n-back tasks, although higher cognitive load levels were associated with lower accuracy scores, RTs were not influenced by cognitive load levels (1- vs. 2-back,
p = 0.288; 2- vs. 3-back,
p = 0.585; 1- vs. 3-back,
p = 0.342) (
Figure 5,
Table 3).
In terms of accuracy scores, the visual single n-back performance was superior to the thermal single n-back performance across all cognitive load levels (
Table 4) (1-back,
p < 0.001, q < 0.001; 2-back,
p < 0.001, q < 0.001; 3-back,
p < 0.001, q < 0.001). Visual single-n-back tasks exhibited shorter RTs than thermal single-n-back tasks across all cognitive load levels (
Table 4) (1-back,
p < 0.001, q < 0.001; 2-back,
p < 0.001, q < 0.001; 3-back,
p < 0.001, q < 0.001). In the dual n-back task, while visual and thermal stimuli were presented concurrently, participants were not required to respond to both simultaneously. Specifically, responses were prompted by either the visual or the thermal stimulus alone at any given time. This design allowed for separate analysis of the visual and thermal components. We compared performance in these components in terms of both accuracy and RTs (
Table 4). These results were consistent with those obtained in the single n-back task, where visual stimuli outperformed thermal stimuli in terms of accuracy scores (1-back,
p = 0.037, q = 0.037; 2-back,
p < 0.001, q < 0.001; 3-back,
p = 0.014, q = 0.021) and RTs (1-back,
p < 0.001, q < 0.001; 2-back,
p < 0.001, q < 0.001; 3-back,
p < 0.001, q < 0.001).
We compared the visual single n-back with distractive thermal stimulation to the visual single n-back alone (
Table 4), and found no statistically significant differences in accuracy scores or RTs after FDR correction. The RT difference in the 1-back condition was significant at the uncorrected level (
p = 0.033) but did not survive FDR correction (q = 0.099) and was therefore treated as a trend-level effect. In the comparison between the thermal single n-back with distractive visual stimulation and the thermal single n-back alone (
Table 4), the 3-back accuracy difference was significant at the uncorrected level (
p = 0.020) but did not survive FDR correction (q = 0.060), indicating a trend-level advantage for the condition with task-irrelevant visual input. The corresponding RT difference (
p = 0.040) did not survive FDR correction (q = 0.108).
To explore the effects of different temperature intensities on task performance in visual tasks, we analyzed performance under various temperature conditions in the single visual n-back with thermal stimulation, differentiating between hot vs. warm and cold vs. cool comparisons. We also analyzed conditions categorized as strong stimuli (average performance in hot and cold conditions) and mild stimuli (average performance in warm and cool conditions). The analysis revealed no statistically significant differences between the conditions across different temperature intensities (
Table 5). We analyzed data from the thermal single n-back task under different cognitive load conditions. Hot stimuli achieved higher accuracy and shorter RTs than warm ones (except in the 3-back), while cold stimuli exhibited better accuracy than cool stimuli. No significant differences were observed between hot and cold stimuli (described in
Table 6).
Our post-task interview records showed that, in the thermal single n-back tasks used in this study, 17 participants indicated that they needed to memorize perceived temperature as verbal cues (e.g., the word “hot”) to successfully perform the task. The other two participants used numbers as cues for temperature (e.g., using “4” to represent “hot”). In the dual n-back tasks, all participants reported relying on word labels for the thermal sensations during task execution.
4. Discussion
To our knowledge, this study is the first to implement an n-back task employing thermal stimuli as cues. The main result of our study was that thermal stimuli showed lower accuracy and longer RTs compared to visual stimuli. This effect was consistent across both single and dual n-back tasks, at all levels of cognitive load, and for both single and simultaneous stimulus presentations. The dual n-back condition extends the single-task findings by showing that the disadvantage for thermal information persists even when participants must monitor both sensory streams concurrently. This suggests that the cost associated with thermal cueing is not limited to isolated encoding demands, but generalizes to a context requiring concurrent monitoring of internal and external sensory information. Importantly, this pattern should not be interpreted as failure of the thermal task; rather, it indicates that although thermal information can be maintained and updated in working memory, doing so incurs greater executive costs than processing visual–spatial information. At the same time, the present findings should not be interpreted as exclusively pain-specific. Because the thermal task included both painful and non-painful temperature categories, the observed cost likely reflects a broader somatosensory/thermal encoding burden, to which pain-related salience may contribute but which is not reducible to nociception alone. Additionally, our interviews revealed that during the thermal single n-back tasks, all participants adopted either word-based or numerical cues to encode temperature information. During the dual n-back tasks, participants relied exclusively on word-based cues to encode the thermal sensations. These qualitative interview data provide a potential mechanistic explanation for the observed disparity. Participants consistently reported translating subjective thermal sensations into verbal or numerical labels (e.g., “level 2 hot”) to facilitate maintenance. In the framework of Baddeley’s working memory model (
Baddeley, 1992;
Baddeley, 2003), this suggests a strategic reliance on the phonological loop to compensate for the inherently transient and difficult-to-rehearse nature of thermal representations. In this sense, the additional cost observed in the thermal conditions may arise not only from pain-related salience, but also from the more general requirement to recode transient somatosensory input into a stable representational format for working memory maintenance. Unlike visual–spatial stimuli, which can be more directly maintained in the visuospatial sketchpad, thermal stimuli may require an additional transcoding step—from sensory intensity to linguistic symbols—thereby increasing the computational demand on the central executive. Consequently, the limited-capacity central executive must allocate additional attentional control to coordinate this cross-modal translation, leaving fewer resources available for efficient updating (
Eccleston & Crombez, 1999;
Moriarty et al., 2011). Accordingly, we propose that working memory processing for hot and cold thermal stimuli in this study likely involved an interaction between the visuospatial sketchpad and the central executive to assess perceived temperature, while simultaneously encoding the perceived thermal stimulus into linguistic information via the phonological loop to support working-memory-based task performance.
Previous studies have used similar methodologies to examine the effects of visual and auditory stimuli on working memory (
Amon & Bertenthal, 2018;
He et al., 2022), while others have explored the interaction between thermal/pain perception and working memory (
Boselie et al., 2016;
Buhle & Wager, 2010;
Lithfous et al., 2023;
Nakae et al., 2013;
Vogel et al., 2022). However, no prior research has specifically investigated somatosensory thermal pain as the stimulus stream within an n-back paradigm. By comparing performance on the visual single n-back task under thermal stimulation with visual-only conditions, we found that random thermal stimuli tended to increase RTs under low cognitive load (1-back), whereas this interference was not evident under higher cognitive loads (2- and 3-back). Thus, the present findings speak most directly to load-dependent interference in n-back monitoring/updating performance, rather than to global working memory capacity.
At lower cognitive loads, participants may remain more perceptually and attentively sensitive to thermal pain, allowing task-irrelevant nociceptive input to capture attention and thereby prolong RTs; as cognitive load increases, resource-allocation strategies may shift toward task engagement, reducing sensitivity to the thermal signal. Importantly, this interpretation fits the broader bidirectional relationship between pain and cognition. Prior work has shown that engaging in demanding working memory tasks can attenuate pain perception—often referred to as cognitively induced analgesia (
Paris et al., 2013;
Buhle & Wager, 2010). Our findings complement this literature by highlighting the reciprocal cost: when nociceptive input is present, its biological salience (
Eccleston & Crombez, 1999) can compete for executive control resources, producing a near “zero-sum” trade-off between task processing and pain processing. This framework provides a plausible account of why pseudo-random thermal stimulation increased RTs under low load (1-back) but not under higher loads (2- and 3-back), as stronger task engagement at higher loads may elicit greater top-down suppression of nociceptive processing, consistent with evidence linking working memory performance and pain modulation (
Nakae et al., 2013). Neuroimaging evidence supports close interactions between pain processing and working memory, with n-back performance consistently engaging frontoparietal regions implicated in executive control, including prefrontal and parietal cortices (
Owen et al., 2005). Building on this,
Anderson et al. (
2021) integrated neuroimaging with self-report measures of affective distress in healthy individuals and showed that pain is associated with poorer performance on working memory tasks, underscoring the broader coupling among nociception, cognition, and affect. Within this context, our cross-modal manipulation yields an additional and more nuanced insight: when comparing the thermal single n-back with task-irrelevant visual input to the thermal-only single n-back, we observed that the presence of a visual stream improved accuracy and shortened RT specifically under high load (3-back). We propose that, under maximal working memory demands, a stable visual stream may provide cross-modal scaffolding that facilitates the encoding and retrieval of thermal information—potentially by offering a “temporal anchor” that helps participants discretize, segment, and track fluctuating thermal sensations, consistent with interactions between top-down visual processing and working memory control (
Kveraga et al., 2007). Importantly, this finding points to a potential translational implication for multimodal cognitive interventions: rather than relying solely on distraction, structured, non-painful sensory cues may help the brain manage nociceptive information more efficiently by supporting organization or “chunking” of pain-related representations during cognitively demanding situations.
Recent studies have increasingly highlighted the interplay between pain perception and cognition, demonstrating that cognitive interventions may alleviate pain and improve functioning (
Higgins et al., 2018;
Holzer et al., 2024;
Khera & Rangasamy, 2021). For example,
Holzer et al. (
2024) reported that neurocognitive training targeting cognitive flexibility, memory, attention, and processing speed not only improved cognitive flexibility but also reduced pain severity relative to usual care, underscoring the clinical potential of targeted cognitive tasks and motivating closer examination of pain-related working memory processes. Building on this literature, our paradigm may serve as a candidate mechanism-oriented assessment tool. Whereas traditional cognitive tasks primarily index global cognitive decline or broad executive dysfunction, our thermal n-back variant assesses the efficiency of encoding, maintaining, and updating nociceptive information within a controlled working memory framework. This feature may help to operationalize and quantify the “cognitive interference” frequently reported by individuals with persistent pain, thereby informing more tailored neurocognitive rehabilitation strategies (
Holzer et al., 2024;
Khera & Rangasamy, 2021).
This study has several limitations. Although the within-subject design increases statistical power, the modest sample size may have limited our ability to detect smaller effects and to test moderators reliably. The design also minimized variability in age and individual differences, which may constrain generalizability. Another limitation is that subjective VAS ratings were collected for the painful hot (48 °C) and cold (16 °C) stimuli, but not for the non-painful warm (38 °C) and cool (26 °C) stimuli; collecting ratings for all four temperatures would provide a stronger check that perceived intensity aligned with the intended stimulus categories. Replication in larger samples, especially in clinical pain cohorts, is needed to test robustness and potential moderators. In addition, future studies combining this paradigm with functional magnetic resonance imaging (fMRI) may help clarify the neural overlap between pain processing and executive control and strengthen translational relevance.