<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JSG</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIR Serious Games</journal-id>
      <journal-title>JMIR Serious Games</journal-title>
      <issn pub-type="epub">2291-9279</issn>
      <publisher>
        <publisher-name>JMIR Publications</publisher-name>
        <publisher-loc>Toronto, Canada</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">v14i1e101438</article-id>
      <article-id pub-id-type="pmid">42987306</article-id>
      <article-id pub-id-type="doi">10.2196/101438</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Emotion- and Performance-in-the-Loop: Multimodal Difficulty-Adaptive Exergame System—Controlled Between-Participants Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Baranyi</surname>
            <given-names>René</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Krishnamoorthi</surname>
            <given-names>M</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Novak</surname>
            <given-names>Vesna</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Göbel</surname>
            <given-names>Stefan</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author">
          <name name-style="western">
            <surname>Zhao</surname>
            <given-names>Liang</given-names>
          </name>
          <degrees>MEng</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0009-7884-1989</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Liu</surname>
            <given-names>Dan</given-names>
          </name>
          <degrees>Prof Dr</degrees>
          <xref rid="aff3" ref-type="aff">3</xref>
          <address>
            <institution>Key Laboratory of Advanced Manufacturing Technology, Ministry of Education</institution>
            <institution>Guizhou University</institution>
            <addr-line>No. 515, Jiaxiu South Road</addr-line>
            <addr-line>Huaxi District</addr-line>
            <addr-line>Guiyang, Guizhou, 550025</addr-line>
            <country>China</country>
            <phone>86 189 8418 7485</phone>
            <email>dliu@gzu.edu.cn</email>
          </address>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-1298-9085</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author">
          <name name-style="western">
            <surname>Zhang</surname>
            <given-names>Hanli</given-names>
          </name>
          <degrees>MEng</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0008-7875-3391</ext-link>
        </contrib>
        <contrib id="contrib4" contrib-type="author">
          <name name-style="western">
            <surname>Yang</surname>
            <given-names>Guanci</given-names>
          </name>
          <degrees>Prof Dr</degrees>
          <xref rid="aff3" ref-type="aff">3</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-8761-5195</ext-link>
        </contrib>
        <contrib id="contrib5" contrib-type="author">
          <name name-style="western">
            <surname>Zheng</surname>
            <given-names>Donghua</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0003-5047-3615</ext-link>
        </contrib>
        <contrib id="contrib6" contrib-type="author">
          <name name-style="western">
            <surname>He</surname>
            <given-names>Ling</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff3" ref-type="aff">3</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-5570-1320</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>School of Mechanical Engineering</institution>
        <institution>Guizhou University</institution>
        <addr-line>Guiyang, Guizhou</addr-line>
        <country>China</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>North Alabama International College of Engineering and Technology</institution>
        <institution>Guizhou University</institution>
        <addr-line>Guiyang, Guizhou</addr-line>
        <country>China</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>Key Laboratory of Advanced Manufacturing Technology, Ministry of Education</institution>
        <institution>Guizhou University</institution>
        <addr-line>Guiyang, Guizhou</addr-line>
        <country>China</country>
      </aff>
      <aff id="aff4">
        <label>4</label>
        <institution>Department of Rehabilitation Medicine</institution>
        <institution>The Third People’s Hospital of Guizhou Province</institution>
        <addr-line>Guiyang, Guizhou</addr-line>
        <country>China</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Dan Liu <email>dliu@gzu.edu.cn</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>5</day>
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <volume>14</volume>
      <elocation-id>e101438</elocation-id>
      <history>
        <date date-type="received">
          <day>16</day>
          <month>5</month>
          <year>2026</year>
        </date>
        <date date-type="rev-request">
          <day>8</day>
          <month>7</month>
          <year>2026</year>
        </date>
        <date date-type="rev-recd">
          <day>14</day>
          <month>10</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>14</day>
          <month>10</month>
          <year>2026</year>
        </date>
      </history>
      <copyright-statement>©Liang Zhao, Dan Liu, Hanli Zhang, Guanci Yang, Donghua Zheng, Ling He. Originally published in JMIR Serious Games (https://games.jmir.org), 05.11.2026.</copyright-statement>
      <copyright-year>2026</copyright-year>
      <license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
        <p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Serious Games, is properly cited. The complete bibliographic information, a link to the original publication on https://games.jmir.org, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://games.jmir.org/2026/1/e101438" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Existing exergames predominantly adjust difficulty based on explicit performance metrics, neglecting the player’s implicit affective state, which often leads to early disengagement due to boredom or frustration.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>To address this gap, we present a novel exergame system that implements joint emotion- and performance-driven dynamic difficulty adjustment (DDA), using a closed-loop controller that reasons over both motor performance and affective state.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>The system integrates a computer-vision-based motion evaluation pipeline, a multimodal emotion recognition module that fuses facial action units (AUs), deep facial features, and motion-compensated heart rate variability (HRV) via an adaptive entropy-weighted decision-level fusion strategy, and a closed-loop difficulty controller. A controlled between-participants experiment (N=20) compared the adaptive system against a fixed-difficulty baseline during a 15-minute dance-exergame session.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>Emotion recognition accuracy reached 81.07% (macro-<italic>F</italic><sub>1</sub>: 81.02%) for 7 emotional states. The adaptive group demonstrated significantly lower cognitive load (NASA-TLX [National Aeronautics and Space Administration Task Load Index], <italic>P</italic>&#60;.05), higher positive affect (Positive and Negative Affect Schedule [PANAS], <italic>P</italic>&#60;.05), greater system usability (System Usability Scale [SUS], <italic>P</italic>&#60;.05), improved motion accuracy (82.5% vs 74.8%, <italic>P</italic>&#60;.05), and a physiologically healthier training load indicated by higher HRV root mean square of successive differences (RMSSD; 34.6 vs 24.3 ms, <italic>P</italic>&#60;.05).</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>The joint emotion-and-performance difficulty-adaptation mechanism is feasible and significantly improves user experience and training outcomes compared to a fixed-difficulty baseline.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>affective computing</kwd>
        <kwd>dynamic difficulty adjustment</kwd>
        <kwd>exergame</kwd>
        <kwd>multimodal fusion</kwd>
        <kwd>emotion recognition</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <p>In recent years, sedentary lifestyles have become increasingly common worldwide, leading to a rise in chronic health issues such as obesity and cardiovascular diseases. In fact, insufficient physical activity has been identified as the fourth leading risk factor for mortality worldwide [<xref ref-type="bibr" rid="ref1">1</xref>]. In this context, motion-based video games (exergames) have attracted research attention as an emerging way to combine physical exercise with engaging gameplay, using bodily movement as the primary means of game interaction so that exercise becomes more enjoyable and sustainable. Prior studies exploring the potential of fitness games to promote physical activity and health have shown that such games can increase users’ activity levels, enhance motivation to exercise, and yield certain health benefits [<xref ref-type="bibr" rid="ref2">2</xref>,<xref ref-type="bibr" rid="ref3">3</xref>].</p>
      <p>Despite the initial success of fitness games in motivating users to move, keeping players engaged over the long term remains a major challenge. One key factor is how to maintain sustained user engagement. In traditional games with fixed difficulty, there is a common phenomenon that if the game is too easy, players feel it is monotonous; if too difficult, players become frustrated—neither extreme provides an optimal experience [<xref ref-type="bibr" rid="ref4">4</xref>]. This aligns with the psychological theory of “flow” that players experience immersive enjoyment only when the challenge level matches their skill level [<xref ref-type="bibr" rid="ref5">5</xref>]. For exergames, without personalized difficulty adjustment mechanisms, players of different abilities may quickly experience the aforementioned boredom or frustration in a fixed-intensity exercise game, reducing their willingness to continue playing [<xref ref-type="bibr" rid="ref6">6</xref>]. This necessitates that the game dynamically adjust exercise intensity and task difficulty according to the player’s ability level, always keeping the player in the “optimal challenge zone” that is neither too easy nor overly difficult.</p>
      <p>One effective way to improve the effectiveness and appeal of exergames is to implement dynamic difficulty adjustment (DDA) [<xref ref-type="bibr" rid="ref7">7</xref>]—also referred to academically as dynamic game balancing [<xref ref-type="bibr" rid="ref8">8</xref>], game difficulty adjustment [<xref ref-type="bibr" rid="ref9">9</xref>], or game balancing [<xref ref-type="bibr" rid="ref10">10</xref>]. DDA means the game automatically adjusts its difficulty based on the player’s real-time performance in order to maintain a balance between challenge and skill and thereby enhance player engagement [<xref ref-type="bibr" rid="ref11">11</xref>]. Over the past decade or more, researchers have explored various strategies for implementing DDA. Most current DDA methods rely solely on the player’s external behavioral performance as the basis for adaptation. For example, the system can judge whether the current difficulty is appropriate based on metrics such as the player’s score, number of failures, or reaction time, and accordingly decrease or increase the game challenge. Such performance-based adaptive techniques avoid the drawbacks of fixed difficulty to some extent, helping players of different levels receive an appropriate challenge [<xref ref-type="bibr" rid="ref12">12</xref>]. However, this 1D difficulty adjustment neglects internal feedback such as the player’s emotional and physiological states. Lyons [<xref ref-type="bibr" rid="ref13">13</xref>] note that engagement and enjoyment in exergames are fostered not just by challenge but by how that challenge feels to the player. Recognizing this limitation, a substantial body of work has explored personalized and physiologically adaptive exergames. Martin-Niedecken et al [<xref ref-type="bibr" rid="ref14">14</xref>,<xref ref-type="bibr" rid="ref15">15</xref>] developed the ExerCube and related dual-flow fitness games, implementing real-time in-game adaptation based on both performance and physiological (eg, heart rate) signals. Göbel et al [<xref ref-type="bibr" rid="ref16">16</xref>] and Hardy et al [<xref ref-type="bibr" rid="ref17">17</xref>] proposed personalized exergames and formal adaptation models that integrate users’ vital parameters into gameplay for sustainable training. More recently, Dill et al [<xref ref-type="bibr" rid="ref18">18</xref>] reviewed sensing modalities in exergames and the accuracy of motion-quality and human-pose-estimation measurements, highlighting how motion data is leveraged to assess exergame efficacy.</p>
      <p>The concept of using physiological signals for closed-loop difficulty adaptation in exercise and rehabilitation contexts has a longer history than is often recognized. Seminal work in this area was conducted by Koenig et al [<xref ref-type="bibr" rid="ref19">19</xref>], who developed a real-time closed-loop system to control cognitive load during robot-assisted gait training. Their system used psychophysiological measurements (heart rate variability [HRV], skin conductance, respiration, and skin temperature) combined with task performance data to estimate whether patients who had stroke were cognitively overloaded, appropriately challenged, or underchallenged. An adaptive classifier was trained to recognize these states in real time, and the difficulty of a virtual task was automatically adjusted to maintain patients within an optimal cognitive engagement zone. Similarly, Novak et al [<xref ref-type="bibr" rid="ref20">20</xref>] implemented a biocooperative feedback loop for upper extremity rehabilitation that adjusted task difficulty based on multiple psychophysiological measurements [<xref ref-type="bibr" rid="ref21">21</xref>]. Their study found that psychophysiological measurements alone yielded modest accuracy (approximately 60%), but when combined with task performance and biomechanical data, accuracy improved substantially to 82%-89%. This finding highlighted the value of multimodal fusion and suggested that physiological signals are most effective when used as supplementary information rather than as a sole input. Recently, more and more studies have begun attempting difficulty adaptation that combines emotional and physiological feedback. Subsequent research has expanded affective and physiological closed-loop control to broader exercise contexts. Darzi and Novak [<xref ref-type="bibr" rid="ref22">22</xref>] explored physiological linkage (covariation of participants’ physiological responses) for automated affect classification and difficulty adaptation in competitive exergame scenarios, demonstrating that synchronization between participants’ physiological states can provide additional information beyond individual responses. Other studies have investigated affective adaptation in virtual reality exergames [<xref ref-type="bibr" rid="ref23">23</xref>], multimodal engagement recognition combining physiological signals with performance metrics [<xref ref-type="bibr" rid="ref24">24</xref>], and deep learning approaches to physiological-based difficulty adjustment [<xref ref-type="bibr" rid="ref25">25</xref>]. However, despite these advances, several gaps remain. First, most prior work in rehabilitation-focused affective computing has been conducted with clinical populations using specialized equipment in supervised settings, limiting generalizability to home-based fitness scenarios with healthy users and consumer-grade devices. Second, previous systems have primarily addressed low-intensity, controlled movements (eg, reaching tasks, slow gait) rather than high-intensity, whole-body dynamic exercises such as dance, where motion artifacts and rapid cardiovascular changes pose additional challenges for emotion recognition. Third, difficulty adaptation mechanisms in rehabilitation contexts have typically focused on a single dimension (cognitive load or assistance level), whereas fitness exergames require joint consideration of both emotional state and physical performance to maintain motivation and training effectiveness.</p>
      <p>This paper centers on the concept of “emotion- and performance-in-the-loop” adaptive difficulty for exercise games. First, we construct an emotion-in-the-loop closed-loop adaptive framework for exergames, expanding game difficulty adjustment from relying solely on behavioral performance to a dynamic mechanism that comprehensively senses both the user’s external and internal state. Second, we investigate a multimodal user emotion recognition method using facial expressions and physiological signals, and, combined with motion recognition techniques to capture user performance, we simultaneously characterize physical performance and emotional state in real time, providing a unified and continuous state representation for high-level difficulty decision-making. Finally, we developed a prototype exergame system that implements the above methods for adaptive difficulty, and through controlled user experiments we evaluated its effects on user engagement, subjective experience, and system usability.</p>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Adaptation Framework</title>
        <p><xref rid="figure1" ref-type="fig">Figure 1</xref> shows the proposed “emotion- and performance-in-the-loop” adaptive framework, which consists of multiple interlinked functional modules. The multimodal signal acquisition module uses various sensors to collect the user’s physiological, visual, and motion signals in real time. Through timestamps and synchronization mechanisms, it ensures temporal alignment of multisource data, providing real-time, synchronized raw data for subsequent processing. The signal processing and feature extraction module preprocesses each modality’s data (eg, filtering and denoising) and extracts key features (eg, HRV, facial expression features, and kinematic features). After normalization, these features are fused into a unified high-dimensional feature vector, forming a comprehensive representation of the user’s state. The user emotion and performance output module integrates the recognition results into a 2D emotion-performance state representation, where the emotional dimension and performance dimension form an intuitive coordinate of the user’s state, providing a basis for subsequent adaptive decision-making.</p>
        <p>Ultimately, the system evaluates the user’s motion performance in real time based on information from the action evaluation module and simultaneously captures the user’s emotional state (eg, enjoyment or frustration). Both are used as feedback signals for dynamic game difficulty modulation. By incorporating the user’s emotions into the control loop, the exergame system can more comprehensively sense the user’s immediate state. It can lower the difficulty when the user shows negative emotions such as frustration to alleviate discouragement and appropriately increase difficulty when the user is performing well and feeling positive to intensify the training stimulus.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Emotion- and performance-in-the-loop adaptive difficulty adjustment framework for exergames.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Game and Interaction</title>
        <p>Before describing the sensing and adaptation mechanisms, we outline the game itself. The exergame follows a motion-imitation paradigm common in rhythm-based fitness games. The player stands 1.5-2.5 m in front of a camera and display. An on-screen reference performer demonstrates full-body choreography—arm raises, side steps, squats, jumps, and torso rotations—synchronized to music at 100-140 beats per minute. The player attempts to reproduce each movement in real time. The system compares the player’s skeletal keypoints to the reference pose frame by frame and immediately displays 1 of 6 accuracy ratings (miss, ok, yeah, good, great, and perfect) together with a running score and combo counter. A typical session lasts 10-15 minutes and comprises 3-5 songs, each presenting 40-80 consecutive moves. The camera is positioned to capture the full body from head to knees, and players are instructed to remain facing the camera throughout the session. Two parameters govern how demanding the game is: the similarity thresholds that separate the 6 rating bands (eg, at baseline, ≥90% similarity yields perfect, ≥80% yields great) and the playback tempo of the choreography and music, expressed as a percentage of the original speed. These are exactly the 2 parameters the adaptive controller manipulates (described below). Because both engagement and physical exertion fluctuate rapidly in this whole-body, fast-paced setting, it constitutes a demanding testbed for closed-loop difficulty adaptation.</p>
      </sec>
      <sec>
        <title>Multimodal User State Sensing</title>
        <p>Achieving the above affective closed-loop adaptation hinges on sensing the user’s state accurately and in real time. We use a multimodal sensing approach, simultaneously monitoring the player’s performance and emotional state to obtain a comprehensive quantitative view of their status. The user state monitoring module of our system consists of two parts: (1) motion tracking via computer vision to assess the player’s performance; (2) emotional state detection via physiological signals and facial expressions to infer the player’s psychological state.</p>
      </sec>
      <sec>
        <title>Motion Recognition and Evaluation</title>
        <p>In the motion analysis channel, the system uses Google MediaPipe’s lightweight BlazePose model to extract the user’s skeletal keypoints and their confidence scores in real time, forming a time series of human poses. As shown in <xref rid="figure2" ref-type="fig">Figure 2</xref> [<xref ref-type="bibr" rid="ref26">26</xref>], the BlazePose model can obtain coordinates for 33 keypoints on the human body.</p>
        <p><xref rid="figure3" ref-type="fig">Figure 3</xref> illustrates the multidimensional motion similarity evaluation process based on MediaPipe. First, to eliminate individual differences and motion variations, the raw coordinates undergo normalization preprocessing: using the hip midpoint (equation 1) and shoulder midpoint (equation 2) as references for translation, using trunk length (equation 3) for scaling normalization, and then aligning the body’s principal axis to vertical using rotation matrix <italic>R</italic>. This produces a standardized pose sequence (equation 4), where <italic>s</italic> is the scale factor (equation 5).</p>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig10.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig11.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig12.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig13.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig14.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>The module tracks whole-body, standing dance-type movements (eg, arm swings and raises, trunk rotation, leg raises, and knee flexion). Reliable tracking requires the whole body to remain within the depth camera’s field of view under adequate lighting; accuracy may degrade for very fast movements or severe self-occlusion (eg, limbs occluding one another or rapid turns away from the camera). Transient occlusion and dropped frames are mitigated by keypoint interpolation and by inferring the region of interest (ROI) from the previous frame, and an auto-tracking pan or tilt unit keeps the user centered in the view.</p>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>The 33 skeletal keypoint indices in the BlazePose model.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Multidimensional motion evaluation method based on MediaPipe.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Emotion Recognition and Fusion</title>
        <p>In the emotion recognition channel, we adopt the foundational account of 7 basic emotions by Ekman [<xref ref-type="bibr" rid="ref27">27</xref>]. Two considerations underlie the choice of a categorical model over continuous valence-arousal regression. First, the controller consumes only the sign of valence, and categorical posteriors pooled into a weighted valence score are comparatively robust to head motion, partial occlusion, and nonfrontal viewing that characterize vigorous exergame play, conditions under which direct dimensional regression degrades substantially [<xref ref-type="bibr" rid="ref28">28</xref>,<xref ref-type="bibr" rid="ref29">29</xref>]. Confusions within the negative valence classes leave the resulting decision unchanged, which is desirable for closed-loop control. Second, arousal is dominated by physical exertion in this setting and is therefore weakly diagnostic of affective state, leaving valence as the actionable dimension [<xref ref-type="bibr" rid="ref30">30</xref>,<xref ref-type="bibr" rid="ref31">31</xref>]. This is a pragmatic engineering choice validated by the downstream effectiveness of the adaptation, not a claim that categorical models are theoretically superior. The system infers the user’s emotions through 2 modalities: facial expression analysis and physiological signal processing (<xref rid="figure4" ref-type="fig">Figure 4</xref>). For the image modality, first, we investigate emotion classification methods based on facial keypoints and facial action units (AUs) using images captured by a depth camera. Then, to mitigate accuracy loss from single-modality data dropout, we further develop a method to extract HRV features from a wrist-worn photoplethysmography (PPG) sensor. We also design a motion-compensation technique for the physiological signals to suppress interference from physical activity. Finally, we design a fusion strategy for the image and physiological modalities to obtain the user’s emotional state changes during exercise.</p>
        <p><xref rid="figure5" ref-type="fig">Figure 5</xref> shows the principle of microexpression emotion recognition from facial images, consisting of 4 steps: face detection and image preprocessing, facial feature extraction using a DeepFace framework, AU modeling, and temporal analysis. First, each RGB (red, green, and blue) video frame is processed with face detection and image preprocessing. A Haar cascade classifier is used for rapid face localization, combined with depth data from the camera for validation, ensuring reliable face capture even with head movement or lighting changes. The located and aligned normalized face image is then input for expression feature extraction. Facial emotion classification is performed with the DeepFace framework, invoking its emotion module with the default pretrained convolutional backend and default detector settings; the 7 output classes are happy, sad, angry, surprise, fear, disgust, and neutral (as shown in <xref rid="figure6" ref-type="fig">Figure 6</xref>). After multiple convolutional and fully connected layers, the network’s last fully connected layer (FC) outputs a vector of 7 values, which are raw outputs called logits. Logits are unnormalized scores spanning the real number range; they represent the model’s “raw evidence strength” for each emotion category but cannot be directly interpreted as probabilities. Therefore, a Softmax function is used to convert the logits output by the activation function into a probability distribution between 0 and 1 that sums to 1. The Softmax function is given by equation 6, where <italic>z<sub>k</sub></italic> is the logits value for class <italic>k</italic>. Combining the above, after the 16-layer deep convolutional network, the Softmax classifier outputs a probability distribution over 7 basic emotions (anger, disgust, fear, happiness, sadness, surprise, and neutral).</p>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig15.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>On the other hand, based on the coordinates of facial keypoints, we compute the intensity of specific facial AUs to capture subtle local muscle movements (<xref rid="figure7" ref-type="fig">Figure 7</xref>). For example, a happy emotion can be characterized by the combination of AU6 and AU12; a sad emotion by AUs 1, 7, and 15; and a neutral emotion is not directly tied to any specific AU combination and is determined when no significant AU activation is present. Deep learning features emphasize global expression semantics, while AU intensity features reflect local microexpression changes; the 2 are complementary. The system fuses these 2 types of features and inputs them into an emotion classifier, which outputs a preliminary emotion recognition result and its probability distribution based on facial expression. This approach, which fuses deep semantic features with geometric AU features, helps recognize brief and subtle microexpressions during physical exercise, improving the robustness of visual emotion recognition.</p>
        <p><xref rid="figure8" ref-type="fig">Figure 8</xref> illustrates the principle of using HRV as an emotional physiological feature. The interbeat interval (RR) series was obtained from a wrist-worn PPG sensor based on the MAX30102 module (sampled at 100 Hz). RR intervals were extracted by peak detection on the PPG waveform, from which time-domain HRV features (mean RR interval, SD of Normal-to-Normal intervals [SDNN], root mean square of successive differences [RMSSD], and pNN50 [percentage of successive interbeat intervals differing by more than 50 ms]) and frequency-domain features (low frequency [LF] and high frequency [HF] power and the ratio of low-frequency to high-frequency power [LF/HF]) were computed. HRV indices were computed over a 30-second sliding window of RRs. This length was chosen so the control loop responds within a song rather than across a session. Time-domain indices and RMSSD in particular have been validated at ultrashort window lengths, whereas frequency-domain indices require longer recordings and were therefore not used by the controller [<xref ref-type="bibr" rid="ref32">32</xref>,<xref ref-type="bibr" rid="ref33">33</xref>]. These features reflect the activity level of the autonomic nervous system and are closely related to emotional stress and arousal [<xref ref-type="bibr" rid="ref34">34</xref>]. To eliminate the influence of exercise on emotional physiological features, we use a motion-aware quality-weighting scheme. During vigorous whole-body exercise, wrist-PPG HRV measurement is degraded by 2 factors: motion artifacts in the signal and exercise-induced tachycardia that reflects exertion rather than affect. The wrist unit’s 3-axis accelerometer yields a per-sample magnitude <inline-graphic xlink:href="games_v14i1e101438_fig16.png" xlink:type="simple" mimetype="image"/>; over a 6-second window, we compute σ(a) and normalize it to a motion level m ∈ [0,1], empirically calibrated so that light arm swings and vigorous jumping span the interval. A quality term <italic>q</italic> = 1 – 0.5<italic>m</italic> is attached to the HRV channel, raised by 0.2 (capped at 1.0) when a clean beat series is recovered. This quality term q weights the HRV channel in the decision-level fusion with the facial channel (described below). When no clean beat series is available, m enters a fallback arousal estimate at 10% weight. We deliberately do not apply independent component analysis (ICA), Kalman, or adaptive-filter reconstruction, as these add latency incompatible with a per-move control loop; recent work indicates that under high-motion conditions, artifact detection with selective weighting performs at least as well as reconstruction for downstream inference. The quality-weighted HRV features obtained through this process more accurately reflect emotion-induced physiological responses [<xref ref-type="bibr" rid="ref35">35</xref>,<xref ref-type="bibr" rid="ref36">36</xref>]. Finally, the corrected HRV features are input into a pretrained Sigmoid emotion mapping model. Thus, the system obtains the emotion classification result and probability distribution based on physiological signals.</p>
        <p>To enhance recognition robustness in the exercise setting, the decision-level fusion module applies 3 steps sequentially: confidence evaluation, adaptive entropy-weighted fusion, and temporal smoothing.</p>
        <p>Regarding confidence evaluation, for the probability vector from the facial channel and the probability vector from the physiological channel, we compute their confidences (equation 7) separately. Here, <italic>C<sub>entropy</sub></italic> represents the information entropy of a probability distribution, reflecting classification certainty; <italic>C<sub>quality</sub></italic> represents a modality-specific signal quality metric, which is normalized and used in weighting. This step ensures that a modality with higher reliability carries greater weight in the fusion.</p>
        <p>Regarding adaptive fusion based on entropy weighting, first, we use the confidence values to adjust and normalize the probability vectors. Next, for each emotion category <italic>e<sub>i</sub></italic>, we calculate the consistency entropy of the decisions across modalities. The smaller the entropy <italic>E<sub>i</sub></italic> (equations 8,9), the more consistent the modalities are for category <italic>e<sub>i</sub></italic>, and thus the higher the fusion weight assigned to that category. The final fused probability <italic>P<sub>fused</sub></italic> is computed accordingly (equation 10), where <italic>λ<sub>m</sub></italic> is the base weight for a modality, which can be dynamically adjusted based on the current exercise intensity.</p>
        <p>Regarding temporal smoothing, to suppress single-frame recognition fluctuations, we apply an exponential smoothing filter to the fusion results. Based on the interaction pace of exergames and multiple test experiments, we found that setting the smoothing factor <italic>γ</italic> to 0.7 achieves a balance between stability and responsiveness (equation 11). After smoothing, we take the category with the highest probability as the final emotion output, providing the subsequent difficulty adaptation module with continuous emotional state feedback.</p>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig17.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig18.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig19.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig20.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig21.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>After these 3 steps, the system outputs the final smoothed emotional probability distribution. The emotion category with the highest probability is taken as the recognized result at that moment, and its probability value is also used as an indicator of emotion intensity. This provides a precise, continuous, and robust emotion feedback input for the subsequent difficulty adaptation algorithm.</p>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Workflow of emotion recognition based on facial images and physiological signals. CNN: convolutional neural network; HRV: heart rate variability.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Facial image-based emotion recognition method. AU: action unit; CNN: convolutional neural network.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure6" position="float">
          <label>Figure 6</label>
          <caption>
            <p>DeepFace emotion recognition module architecture. ReLU: rectified linear unit; RGB: red, green, and blue.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig6.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure7" position="float">
          <label>Figure 7</label>
          <caption>
            <p>Relationship between facial AUs and emotions. AU: action unit.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig7.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure8" position="float">
          <label>Figure 8</label>
          <caption>
            <p>Physiology-based emotion recognition method. HRV: heart rate variability.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig8.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Difficulty Adaptation</title>
        <p>The difficulty controller operates on a hand‑crafted, interpretable rule base rather than a learned policy. Machine learning is confined to the upstream modules for emotion recognition and motion scoring; the adaptation rules themselves are explicitly designed and grounded in Csikszentmihalyi’s flow theory.</p>
        <p>The controller first abstracts the continuous 7-class emotion output into 3 discrete valence levels—negative, neutral, and positive. This is achieved in 3 steps.</p>
        <list list-type="bullet">
          <list-item>
            <p>Each of the 7 emotion classes is assigned a fixed valence weight: happy +1.0, surprise +0.5, neutral 0, sad −0.6, disgust −0.7, fear −0.8, and angry −0.9.</p>
          </list-item>
          <list-item>
            <p>The classifier’s posterior probabilities are combined with these weights into a single score <inline-graphic xlink:href="games_v14i1e101438_fig22.png" xlink:type="simple" mimetype="image"/>
, which lies in [−1, +1]. For example, posteriors of 0.60 happy, 0.30 neutral, and 0.10 sad give V = 0.60(+1.0) + 0.30(0) + 0.10(−0.6) = 0.54.</p>
          </list-item>
          <list-item>
            <p>V is thresholded into the 3 levels used by the controller: positive (V ≥ +0.3), neutral (−0.3 &#60; V &#60; +0.3), and negative (V ≤ −0.3). In the example, V = 0.54 yields positive valence. Averaging over posterior probabilities rather than taking the argmax class implies that misclassifications among negative classes—which share the same sign—do not affect the final predicted label.</p>
          </list-item>
        </list>
        <p>In parallel, the motion‑evaluation module produces a composite performance score, denoted as OverallScore, which is a weighted combination of 6 submetrics: average accuracy (weight 0.4), one minus the miss rate (0.2), perfect rate (0.2), consistency (0.1), score trend (0.05), and recent improvement (0.05).</p>
        <p>As shown in <xref ref-type="table" rid="table1">Table 1</xref>, this continuous score is subsequently discretized into 5 performance levels: poor, below average, average, good, and excellent. The core adaptation decision is made by indexing a predefined 3 × 5 decision matrix with the 3 valence levels and 5 performance levels. Each cell of the matrix specifies 1 of 3 possible actions: decrease, maintain, or increase difficulty. The matrix follows flow‑theory principles: when performance is low and affect is negative, the challenge is deemed too high, triggering a difficulty decrease; conversely, when performance is high and affect is positive, the challenge is deemed too low, prompting an increase. All boundary states default to maintain, which provides an observation window that effectively prevents decision oscillation. The matrix deliberately does not raise difficulty on negative valence alone. The costs are asymmetric: raising difficulty on a player who is in fact frustrated prompts immediate withdrawal (stopping or ending the song), whereas failing to challenge a bored player degrades engagement gradually and leaves later opportunities to adjust. With a 3-level valence signal that cannot distinguish frustration from boredom, the conservative policy has the better worst case. The performance axis, not the emotion axis, separates the 2: negative valence with low performance is treated as overload and decreases difficulty, while negative valence with sustained high performance is treated as possible disengagement and returns toward baseline.</p>
        <p>Difficulty in this game is governed by 2 factors: how strictly a movement must match the reference to achieve a given rating and the pace at which targets are presented. These correspond to 2 sets of parameters that the controller manipulates—similarity thresholds and tempo. The 6 rating bands are based on similarity thresholds; by default, ≥90% similarity gives a “perfect” and ≥80% gives a “great.” Increasing all thresholds by a constant amount makes high ratings harder to obtain. Tempo is set as a percentage of the original choreographed speed and is altered only at song boundaries to prevent midsong rhythm disruption. A difficulty-decrease action, for instance, would reduce every threshold by 3 percentage points and drop the tempo from 100% to 90%.</p>
        <p>Once an action is determined, the controller adjusts these parameter sets accordingly. The raw adjustment magnitude per update is given by:</p>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig23.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>where <italic>I</italic> is the decision intensity and <italic>β</italic> is the gain coefficient. Through offline replay of user sessions, the constants were calibrated to <italic>β</italic> = 0.03, Δ<sub>min</sub> = 0.01, and Δ<sub>max</sub> = 0.15, ensuring that each change is large enough to have a noticeable effect yet small enough to remain imperceptible to the user. To avoid abrupt transitions, each threshold <italic>τ</italic> is updated via first‑order smoothing:</p>
        <disp-formula>
          <graphic xlink:href="games_v14i1e101438_fig24.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>with a smoothing factor <italic>α</italic>=0.5. Additionally, a minimum interthreshold spacing is enforced at every step to prevent rating overlap.</p>
        <p>Finally, the controller evaluates the fused state continuously, but it applies at most one adjustment per cooldown interval. This cooldown mechanism, together with temporal smoothing of the emotion output, effectively suppresses transient fluctuations and system oscillation, ensuring that all difficulty changes remain gradual and stable throughout the entire session.</p>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Emotion-performance decision matrix for difficulty adjustment.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="220"/>
            <col width="150"/>
            <col width="200"/>
            <col width="150"/>
            <col width="140"/>
            <col width="140"/>
            <thead>
              <tr valign="top">
                <td>Emotional valence</td>
                <td>Poor</td>
                <td>Below average</td>
                <td>Average</td>
                <td>Good</td>
                <td>Excellent</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Negative</td>
                <td>Decrease</td>
                <td>Decrease</td>
                <td>Decrease</td>
                <td>Maintain</td>
                <td>Maintain</td>
              </tr>
              <tr valign="top">
                <td>Neutral</td>
                <td>Decrease</td>
                <td>Decrease</td>
                <td>Maintain</td>
                <td>Maintain</td>
                <td>Increase</td>
              </tr>
              <tr valign="top">
                <td>Positive</td>
                <td>Decrease</td>
                <td>Maintain</td>
                <td>Maintain</td>
                <td>Increase</td>
                <td>Increase</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec>
        <title>Implementation</title>
        <p>The system is implemented in Python, using MediaPipe for pose estimation, the DeepFace framework (v0.0.75+) for facial emotion classification, and NumPy/SciPy for beat detection and HRV computation. The wrist unit (MAX30102-based PPG sensor with three-axis accelerometer) streams at 50 Hz over serial. On a gaming laptop (16-core CPU, 32 GB RAM, dedicated GPU), the game renders at 60 fps, and the full sensing-to-adaptation path runs at a measured end-to-end latency of 125 ms (SD 17.24; 95% of frames under 156.3 ms).</p>
        <p>Based on the above requirements, we designed the overall system architecture (<xref rid="figure9" ref-type="fig">Figure 9</xref>) using an open-source Just Dance (Ubisoft)–style project (based on camialtr), rather than as a modification of the commercial Ubisoft title. On this open-source dance game, we added (1) a multimodal affective-computing-driven DDA system and (2) an improved interaction and feedback system; baseline functionality already provided by the open-source project is not claimed as a contribution. Just Dance is referenced only as a gameplay paradigm; no proprietary Ubisoft code or assets were used. The architecture consists of a hardware system and a software system. The hardware system includes an auto-tracking module, a data acquisition module, and a PC; the software system includes a front-end interaction module responsible for user interface rendering and interaction, a back-end decision module carrying the core intelligent algorithms, and a data communication module to ensure efficient data flow.</p>
        <fig id="figure9" position="float">
          <label>Figure 9</label>
          <caption>
            <p>System architecture design.</p>
          </caption>
          <graphic xlink:href="games_v14i1e101438_fig9.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Experimental Evaluations</title>
        <p>We conducted a controlled between-participants experiment in which participants were randomly assigned to either the joint emotion-and-performance adaptive condition or a fixed-difficulty control condition. The study had three objectives that together evaluate the joint emotion-and-performance controller: (1) to evaluate the accuracy of the emotion-recognition module under physical activity; (2) to evaluate the reliability of the motion-performance evaluation, which provides the performance input to the joint controller; and (3) to compare the joint emotion-and-performance adaptive mechanism against a fixed-difficulty baseline on users’ subjective experience, engagement, and training outcomes.</p>
        <p>We recruited 20 healthy young volunteers (sedentary university students and office workers), 10 male and 10 female, ages 18-35 years. All participants had no injuries or cardiovascular conditions affecting exercise, normal vision and hearing, and no extreme aversion to exergames. The 20 participants were randomly divided 1:1 into an adaptive difficulty group (n=10) and a fixed difficulty group (n=10). The adaptive group used our proposed difficulty adaptation mechanism based on dual feedback of emotion and performance; the fixed group used the same exergame but with difficulty fixed at a preset level, with no adjustment based on user state during training. The 2 groups had identical training task content, experimental environment, and feedback interface to ensure the comparison’s credibility and validity.</p>
        <p>The experiment was conducted in a quiet indoor environment, using a hardware setup integrating a depth camera and a wrist-worn heart rate sensor. On the software side, Unity3D presented the exergame interface, and a Python backend processed multimodal data in real time. Each participant completed a single 15-minute training session, during which the system recorded skeletal sequences, real-time scores, emotion recognition results, and timestamps; if a participant quit early, their duration was recorded. Immediately after training, we collected questionnaire responses and interview feedback.</p>
        <p>Different data collection and labeling methods were used for the 3 objectives.</p>
        <p>First, regarding motion recognition or evaluation module performance evaluation, we extracted motion segments from the recorded videos and invited exercise rehabilitation experts to manually score them on a 6-level scale (miss to perfect), forming a test set of about 1200 samples. We computed the overall accuracy and macro-<italic>F</italic><sub>1</sub> between the algorithm’s evaluations and the expert ratings and used a confusion matrix to observe confusion between levels. Medical rehabilitation experts manually rated the recorded movements on the 6-level scale to establish a human-rating gold standard against which the automatic ratings were compared.</p>
        <p>Second, we randomly sampled frames containing faces from the experiment videos. Five annotators—all university faculty conducting research in facial expression analysis and affective computing—completed a calibration session on the 7-category scheme before labeling. The 1400 frames were evenly split among the annotators (280 each), so that every frame received 1 expert label as ground truth. To assess interrater reliability, a randomly selected subset of 500 frames was independently reannotated by all 5 raters, yielding Fleiss κ = 0.71—indicating substantial agreement, comparable to values reported for in-the-wild facial affect corpora [<xref ref-type="bibr" rid="ref37">37</xref>,<xref ref-type="bibr" rid="ref38">38</xref>]. We used overall accuracy and macro-<italic>F</italic><sub>1</sub> as evaluation metrics and generated a confusion matrix to analyze the error distribution of our model’s predictions against the expert labels.</p>
        <p>Third, regarding user experience and training effect evaluation, subjectively, we used the NASA-TLX (National Aeronautics and Space Administration Task Load Index; cognitive load), Positive and Negative Affect Schedule (PANAS; positive or negative affect), and System Usability Scale (SUS; system usability) scales. Objective metrics included the action accuracy (the correctness of performing required movements, computed by the system), the duration of gameplay (in minutes that each user kept playing or number of levels completed), and HRV (RMSSD, reflecting physiological load during training). Through between-group comparisons and semistructured interviews, we holistically evaluated the effect of the adaptive mechanism.</p>
      </sec>
      <sec>
        <title>Ethical Considerations</title>
        <sec>
          <title>Ethics Approval</title>
          <p>This study was approved by the Human Medical Experiment Ethics Sub-Committee of Guizhou University (HMEE-GZU-2025-T042).</p>
        </sec>
        <sec>
          <title>Informed Consent</title>
          <p>All participants received a written information sheet describing the purpose of the study, the procedure, the data to be collected, and their right to withdraw at any time without penalty. Written informed consent was obtained from every participant before the experiment began.</p>
        </sec>
        <sec>
          <title>Privacy and Confidentiality</title>
          <p>All data were pseudonymized at the point of collection: each participant was assigned a study ID, and the mapping between study IDs and identities was kept separately from the research data. Video and physiological recordings were stored on a password-protected local server accessible only to the research team and were not transmitted to any third party. For publication, all images of participants have been blurred so that individuals are not identifiable.</p>
        </sec>
        <sec>
          <title>Participant Compensation</title>
          <p>Participants received small gifts for their time. No financial compensation was provided.</p>
        </sec>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Motion Evaluation Module Performance</title>
        <p>On the offline motion scoring test set, the system’s motion evaluation module achieved an overall accuracy of 78.33% and a macro-<italic>F</italic><sub>1</sub> score of 78.55% for the expert 6-level ratings. Per-class precision, recall, and <italic>F</italic><sub>1</sub> scores, along with the confusion matrix, are provided in Figures S1 and S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. This result indicates that the algorithm achieved nearly 80% accuracy under strict scoring consistency criteria and is able to reasonably reproduce the outcomes of manual evaluation. The confusion matrix shows that most of the model’s misclassifications occurred between adjacent motion rating levels. For example, for motions that experts labeled as “good” (moderately high) vs the next higher “perfect,” the model sometimes confused them, but it almost never misjudged an extreme “miss” (failed) as “perfect” or vice versa. This pattern of errors is consistent with the continuous gradation of human motion quality—boundaries between adjacent levels are fuzzy and involve some subjective judgment, whereas the difference between extreme levels is clear and easy for the model to distinguish. The partial confusion among intermediate levels also reflects the subjectivity of manual scoring and the unclear boundaries of motion completion. Techniques such as introducing exponential smoothing and fine-tuning scoring thresholds could further improve the consistency and robustness of the model’s judgments.</p>
      </sec>
      <sec>
        <title>Emotion Recognition Module Performance</title>
        <p>On the constructed offline test set, the emotion recognition module correctly classified 1135 of 1400 (81.07%) samples, with a macro-<italic>F</italic><sub>1</sub> of 81.02%, indicating high emotion classification performance. Per-class precision, recall, and <italic>F</italic><sub>1</sub> scores, along with the confusion matrix, are provided in Figures S3 and S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. The confusion matrix shows that certain negative emotions (such as anger, disgust, fear, and sadness) have some degree of mutual confusion, meaning the model sometimes misclassifies 1 negative emotion as another. This error distribution aligns with the fact that human facial expressions are objectively difficult to distinguish for subtle negative emotions. The main causes of misclassification include (1) some participants exhibited only slight facial changes when experiencing negative emotions, or there were brief occlusions of expressions during data capture; and (2) individual differences in facial muscle movement patterns cause significant intraclass variation for the same emotion category. Despite these challenges, the model still achieved good accuracy for most emotions, especially neutral and positive emotions being recognized reliably. In summary, the emotion recognition module attained high accuracy in offline annotated tests, and its multimodal fusion approach effectively reduced the interference of physical exercise on emotion judgments, providing reliable and continuous emotional state input for subsequent difficulty adaptation.</p>
        <p>Compared to emotion recognition accuracies reported in the literature on public datasets (eg, Database for Emotion Analysis Using Physiological Signals [DEAP], typically in the 60%-85% range), our system’s performance is at the higher end for this field.</p>
      </sec>
      <sec>
        <title>User Experience and Training Effect Results</title>
        <sec>
          <title>Subjective Evaluation Results</title>
          <p>Statistical analysis of the posttraining questionnaire data (independent-samples <italic>t</italic> test) showed that the adaptive group outperformed the fixed difficulty group on all subjective evaluation dimensions, with differences being statistically significant. <xref ref-type="table" rid="table2">Table 2</xref> summarizes the 2 groups’ average scores and significance levels for the NASA-TLX, PANAS, and SUS measures. The results indicate that the adaptive group reported significantly lower subjective cognitive load than the fixed group (mean 45.0 vs 55.2, <italic>P</italic>&#60;.05), suggesting that using the emotion-adaptive mechanism can reduce users’ mental and physical burden during the training task. In terms of emotional experience, the adaptive group’s positive-affect score was significantly higher and its negative-affect score significantly lower than the fixed group (<italic>P</italic>&#60;.05 for both), indicating that the adaptive mechanism kept users in a more positively valenced emotional state after training and reduced the occurrence of negative emotions (such as frustration and tension). Additionally, the adaptive group’s system usability satisfaction (SUS score) was clearly better than the fixed group’s (mean 80.5, SD 6.4 vs 69.8, SD 7.5, <italic>P</italic>&#60;.05), meaning users found the adaptive system easier to use, were more willing to continue using it, and gave higher overall experience ratings.</p>
          <p>Participants’ subjective feedback further supports the questionnaire results. Most participants in the adaptive group noted in interviews that when they felt fatigue or frustration during training, the system detected it and automatically lowered the game difficulty, making them feel less pressure and more willing to complete the entire training session. In contrast, some participants in the fixed difficulty group reported that since the difficulty never changed, when prolonged play caused fatigue or frustration, there was no relief, making them more inclined to quit. These subjective evaluations and feedback indicate that the adaptive difficulty mechanism effectively improved users’ emotional experience and engagement, enhancing the system’s friendliness and motivational effect.</p>
          <p>Overall, the adaptive group was significantly better than the fixed group in aspects such as “more positive emotional experience,” “higher concentration,” and “greater overall satisfaction.” This shows that the emotion-and-performance adaptive exergame outperformed the fixed-difficulty system on subjective usability in this study. We note that this advantage reflects the difference between adaptive and nonadaptive difficulty control and cannot be attributed specifically to the affective component.</p>
          <table-wrap position="float" id="table2">
            <label>Table 2</label>
            <caption>
              <p>Comparison of subjective evaluation results between adaptive and fixed groups.</p>
            </caption>
            <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
              <col width="300"/>
              <col width="250"/>
              <col width="240"/>
              <col width="210"/>
              <thead>
                <tr valign="top">
                  <td>Measure</td>
                  <td>Adaptive group (mean, SD)</td>
                  <td>Fixed group (mean, SD)</td>
                  <td><italic>P</italic> value</td>
                </tr>
              </thead>
              <tbody>
                <tr valign="top">
                  <td>NASA-TLX<sup>a</sup></td>
                  <td>45.0 (8.5)</td>
                  <td>55.2 (9.4)</td>
                  <td>&#60;.05</td>
                </tr>
                <tr valign="top">
                  <td>PANAS<sup>b</sup> positive</td>
                  <td>34.6 (4.8)</td>
                  <td>28.5 (6.2)</td>
                  <td>&#60;.05</td>
                </tr>
                <tr valign="top">
                  <td>PANAS negative</td>
                  <td>14.3 (5.1)</td>
                  <td>21.7 (7.0)</td>
                  <td>&#60;.05</td>
                </tr>
                <tr valign="top">
                  <td>SUS<sup>c</sup></td>
                  <td>80.5 (6.4)</td>
                  <td>69.8 (7.5)</td>
                  <td>&#60;.05</td>
                </tr>
              </tbody>
            </table>
            <table-wrap-foot>
              <fn id="table2fn1">
                <p><sup>a</sup>NASA-TLX: National Aeronautics and Space Administration Task Load Index.</p>
              </fn>
              <fn id="table2fn2">
                <p><sup>b</sup>PANAS: Positive and Negative Affect Schedule.</p>
              </fn>
              <fn id="table2fn3">
                <p><sup>c</sup>SUS: System Usability Scale.</p>
              </fn>
            </table-wrap-foot>
          </table-wrap>
        </sec>
      </sec>
      <sec>
        <title>Objective Performance Metrics</title>
        <p>In addition to subjective evaluations, we objectively recorded users’ motion and physiological data to quantitatively assess differences in training performance between the 2 groups. The main objective metrics include action accuracy (the percentage of correctly completed required movements), game duration (the length of time each user kept playing or the number of levels completed in each session), and HRV (measured by RMSSD, used to reflect physiological load during training).</p>
        <p><xref ref-type="table" rid="table3">Table 3</xref> shows that the adaptive group outperformed the fixed group in terms of movement quality and training persistence. The adaptive group’s average action accuracy reached 82.5% (SD 5.2), significantly higher than the fixed group’s 74.8% (SD 7.9, <italic>P</italic>&#60;.05). This suggests that by adaptively adjusting difficulty based on both motor performance and emotional state, users completed movements with higher accuracy—likely because difficulty adaptation reduced errors caused by tasks being overly difficult. At the same time, all adaptive group participants were able to persevere through the full 15-minute training (average 15.0, SD 0.0 minutes), whereas the fixed group’s average play time was slightly shorter, and some participants did not persist to the end (average 13.5, SD 1.8 minutes; <italic>P</italic>&#60;.05). This means the adaptive difficulty mechanism increased users’ willingness and tolerance to complete the training, allowing them to finish the intended duration without excessive fatigue.</p>
        <p>In terms of physiological load, comparing HRV metrics reveals differences in physiological responses between the 2 groups during training. The adaptive group’s average HRV (RMSSD, in ms) during training was 34.6 ms, significantly higher than the fixed group’s 24.3 ms (<italic>P</italic>&#60;.05). Generally, higher HRV often indicates better autonomic balance and lower stress load [<xref ref-type="bibr" rid="ref39">39</xref>,<xref ref-type="bibr" rid="ref40">40</xref>]. This suggests that adaptive group users maintained a steadier HRV trend during training. In other words, the emotion-adaptive mechanism may have prevented excessive spikes or dramatic fluctuations in heart rate, helping them maintain moderate arousal, and thus it had a certain advantage in managing users’ physiological load. In contrast, fixed difficulty may have caused some users to experience overly high tension or fatigue responses, leading to reduced HRV. These HRV values were obtained from wrist PPG during vigorous exercise and are interpreted as a within-study, between-group difference rather than a clinical-grade HRV measurement.</p>
        <p>Application testing results indicate that compared to a fixed difficulty design, the adaptive system can significantly improve users’ emotional experience and subjective satisfaction and reduce cognitive load; at the same time, it improves movement execution quality and persistence during training and shows advantages in users’ physiological load. These findings are of great significance for designing user-centered, motion-based interventions: by introducing emotion sensing and adaptive regulation, exergame training systems can better maintain user engagement and exercise effectiveness. End-to-end latency averaged 125.0 (SD 17.24) ms, with 95% of frames processed within 156.3 ms, which meets the requirements of our system.</p>
        <p>In summary, the experimental results of this study show that the proposed emotion recognition and motion evaluation modules achieved high accuracy and real-time performance in actual exercise scenarios, providing a solid foundation for implementing emotion-in-the-loop DDA. Meanwhile, compared to a traditional exergame with fixed difficulty, the multimodal affective computing-driven adaptive exergame demonstrated significant advantages in subjective aspects such as reducing user cognitive load, enhancing positive emotional experience, and improving system usability, and also clearly outperformed the fixed system in objective outcomes such as higher motion accuracy, longer training persistence, and better maintenance of moderate physiological load.</p>
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Comparison of objective training outcomes between adaptive and fixed groups.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="370"/>
            <col width="240"/>
            <col width="220"/>
            <col width="170"/>
            <thead>
              <tr valign="top">
                <td>Metric</td>
                <td>Adaptive group, mean (SD)</td>
                <td>Fixed group, mean (SD)</td>
                <td><italic>P</italic> value</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Action accuracy (%)</td>
                <td>82.5 (5.2)</td>
                <td>74.8 (7.9)</td>
                <td>&#60;.05</td>
              </tr>
              <tr valign="top">
                <td>Duration (min)</td>
                <td>15.0 (0.0)</td>
                <td>13.5 (1.8)</td>
                <td>&#60;.05</td>
              </tr>
              <tr valign="top">
                <td>HRV<sup>a</sup> RMSSD<sup>b</sup> (ms)</td>
                <td>34.6 (9.5)</td>
                <td>24.3 (7.8)</td>
                <td>&#60;.05</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table3fn1">
              <p><sup>a</sup>HRV: heart rate variability.</p>
            </fn>
            <fn id="table3fn2">
              <p><sup>b</sup>RMSSD: root mean square of successive differences.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Comparison With Prior Work</title>
        <p><xref ref-type="table" rid="table4">Table 4</xref> summarizes how the present system compares with representative prior work along 4 dimensions: adaptation signal, exercise context, sensing modality, and validation outcomes. Against performance-driven adaptation in rehabilitation [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref21">21</xref>], the present loop adds a channel that registers disengagement in a player whose performance is still adequate—a state invisible to a performance-only controller. Against affect-driven adaptation in seated games [<xref ref-type="bibr" rid="ref25">25</xref>,<xref ref-type="bibr" rid="ref30">30</xref>], the present setting introduces physical exertion as a confound those systems do not face and adds a performance channel that separates task-difficulty mismatch from exertion-related discomfort. Against the affect-vs-performance comparison reported in prior work [<xref ref-type="bibr" rid="ref22">22</xref>], the null result there is informative precisely because it concerns substitution: if each signal is systematically blind to states the other detects, neither should be expected to dominate, and the productive question becomes how to combine them—which is the question this study addresses.</p>
        <table-wrap position="float" id="table4">
          <label>Table 4</label>
          <caption>
            <p>Comparison with prior work.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="200"/>
            <col width="190"/>
            <col width="200"/>
            <col width="190"/>
            <col width="220"/>
            <thead>
              <tr valign="top">
                <td>Study</td>
                <td>Adaptation signal</td>
                <td>Setting</td>
                <td>Sensing</td>
                <td>Reported outcome</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Koenig et al [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref21">21</xref>]</td>
                <td>Performance</td>
                <td>Clinical gait or limb rehabilitation</td>
                <td>Robotic or force</td>
                <td>Improved participation vs fixed</td>
              </tr>
              <tr valign="top">
                <td>Martin-Niedecken et al [<xref ref-type="bibr" rid="ref14">14</xref>,<xref ref-type="bibr" rid="ref15">15</xref>]</td>
                <td>Performance (adaptive)</td>
                <td>Whole-body “ExerCube”</td>
                <td>Multisensor</td>
                <td>Better training outcomes</td>
              </tr>
              <tr valign="top">
                <td>Chanel and Lopes [<xref ref-type="bibr" rid="ref25">25</xref>]</td>
                <td>Affect (physiology)</td>
                <td>Seated game</td>
                <td>ECG<sup>a</sup>, GSR<sup>b</sup>, physiological DL<sup>c</sup></td>
                <td>Effective affective DDA<sup>d</sup></td>
              </tr>
              <tr valign="top">
                <td>Darzi and Novak [<xref ref-type="bibr" rid="ref22">22</xref>]</td>
                <td>Affect and performance</td>
                <td>Competitive or VR<sup>e</sup>-ish</td>
                <td>Affect + task</td>
                <td>No significant difference between signals</td>
              </tr>
              <tr valign="top">
                <td>This work</td>
                <td>Affect and performance (joint)</td>
                <td>Vigorous whole-body dance</td>
                <td>RGB<sup>f</sup> camera + wrist PPG<sup>g</sup></td>
                <td>Benefit vs fixed across subjective, motor, and physiological</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table4fn1">
              <p><sup>a</sup>ECG: electrocardiogram.</p>
            </fn>
            <fn id="table4fn2">
              <p><sup>b</sup>GSR: galvanic skin response.</p>
            </fn>
            <fn id="table4fn3">
              <p><sup>c</sup>DL: deep learning.</p>
            </fn>
            <fn id="table4fn4">
              <p><sup>d</sup>DDA: dynamic difficulty adjustment.</p>
            </fn>
            <fn id="table4fn5">
              <p><sup>e</sup>VR: virtual reality.</p>
            </fn>
            <fn id="table4fn6">
              <p><sup>f</sup>RGB: red, green, and blue.</p>
            </fn>
            <fn id="table4fn7">
              <p><sup>g</sup>PPG: photoplethysmography.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Impact of Recognition Accuracy on User Experience</title>
        <p>The accuracy of the user state recognition modules is critical to the effectiveness of the adaptive system. If emotion or action recognition is inaccurate, the game’s difficulty adjustments may be based on incorrect information, thereby affecting the user experience. Overall, our multimodal recognition modules achieved high accuracy in the experiment, ensuring that in most cases the system can accurately perceive the player’s state and respond appropriately—this is the foundation for the adaptive mechanism’s positive effects. Our method has only small errors, mainly between adjacent levels, and rarely misclassifies a “very poor” movement as “perfect”; thus, it did not cause obvious bias in user feedback. In addition, the smoothing and cooldown strategies adopted by the system alleviated the negative impact of momentary recognition errors to some extent; this prevents occasional recognition mistakes from immediately triggering drastic difficulty swings, thereby maintaining consistency and stability in the game experience.</p>
        <p>For emotion recognition, its accuracy determines whether difficulty adjustments truly align with the user’s psychological state. Emotional state is a more latent signal than performance; if the system misreads the player’s emotion, the adaptation may be counterproductive. For example, if the player actually feels frustrated but the system fails to detect it and continues to increase difficulty, it may exacerbate the frustration; conversely, if the player is actually feeling fine but is misclassified as negative, the system might lower the difficulty too early, potentially making the player bored. Our results show that multimodal fusion enabled the emotion recognition to correctly distinguish positive vs negative emotion in the vast majority of cases, allowing the system to promptly decrease game intensity when it detects the user’s psychological stress increasing and to appropriately raise the challenge when the user is emotionally relaxed and happy. This reliable emotion-based adjustment keeps players always in the “neither too frustrated nor too relaxed” flow channel. Therefore, the high accuracy of the emotion recognition module is one of the important factors in the success of the adaptive system. Although some subtle emotion classifications are still not entirely accurate, our difficulty decision focuses more on the overall emotional valence (positive vs negative) rather than the specific emotion category. Thus, confusion among negative emotions has a relatively limited impact on the final adjustment decisions—for instance, misclassifying anger as fear still effectively signals a negative state and thus would result in a difficulty reduction to alleviate stress, so it does not substantively change the adaptation strategy. Overall, the current performance of the recognition modules is sufficient to support the basic needs of the emotion-in-the-loop adaptive framework, but further improving accuracy and robustness will help refine the system’s understanding of user state, thereby optimizing the interactive experience on a more granular level.</p>
        <p>For motion evaluation, errors are mainly concentrated in differentiating adjacent levels, stemming in part from the subjective fuzziness of human rating standards. Different experts may have slightly varying criteria for “good” vs “great” movements, so the model’s judgment sometimes falls on different sides of such a boundary. However, these errors usually do not lead to serious consequences, because whether a movement is rated 1 level higher or lower, the feedback and rewards the system gives differ only in degree and do not fundamentally alter the training process. Moreover, in very rare cases, skeleton keypoint tracking errors or frame drops could cause motion scoring deviations—for example, a momentary camera tracking failure could cause the motion similarity to drop abnormally. But in our system design, we have mitigated sensor errors as much as possible through measures such as keypoint interpolation and anomaly detection. By contrast, errors in emotion recognition largely stem from limitations of the multimodal signals themselves. First, microexpressions have such small magnitude that the signal-to-noise ratio for facial feature extraction is reduced. When a player only shows subtle hints of displeasure or fatigue in their expression, it is difficult even for the human eye to detect in time, so the model inevitably misses some instances. Second, during exercise, facial occlusion or expression distortion can occur—for example, intense movement can cause the face to turn away from the camera, or sweat may affect facial capture—which will cause the visual channel to temporarily fail. Although we use pose estimation to assist face ROI localization and fuse HRV at the decision level, emotion recognition is still affected when visual information is missing. Third, physiological signals are also greatly affected by exercise, which is a big challenge. Intense exercise causes a significant increase and fluctuation in heart rate, and this physiological response from physical exertion can present an HRV pattern similar to that caused by negative emotions and high arousal. If the model fails to sufficiently distinguish between the physiological effects of exercise load and emotional stress, it might misinterpret normal exercise-induced heart rate changes as emotional fluctuations. We have partially alleviated this issue by applying exercise intensity corrections to the HRV features, and purely exercise-induced emotion misclassifications were not common in our experiments. However, in extreme cases (such as a few participants with abnormally high exercise heart rates), the physiological channel can still produce “false alarms.” The above error sources indicate that the system still has room for improvement in handling edge cases and individual differences.</p>
      </sec>
      <sec>
        <title>Strategies and Future Work</title>
        <p>Our 3-level valence mapping cannot distinguish frustration from boredom, or exertion-related discomfort from task-driven negative affect; a dimensional model or a finer-grained categorical model may support adaptations this mapping cannot express. To address the above recognition errors and limitations, we have implemented and plan to implement a series of strategies for improvement. First, multimodal feature fusion will continue to be a key approach for improving accuracy. Our system has already validated the effectiveness of decision-level fusion; next, we can explore tighter fusion methods, for example, implementing feature-level or model-level fusion inside the model, using deep neural networks to automatically learn correlated features of visual and physiological signals. Introducing appropriate deep models, while ensuring real-time performance, could further improve the ability to distinguish microexpressions and physiological patterns.</p>
        <p>Second, dynamic weighting mechanisms are another direction to enhance robustness. Currently, we use fixed-rule confidence weighting for fusion; in the future, fusion weights could be adjusted adaptively based on environmental and signal quality conditions. For example, if it is detected that the user’s face is occluded or expressions are subtle, the system could automatically increase the weight of physiological signals in emotion determination; conversely, if intense motion causes large fluctuations in the HRV signal, the system could temporarily rely more on facial expression cues. Through such adaptive weight adjustments, we can maximize the advantages of each modality and minimize the impact of single-channel failures on overall recognition.</p>
        <p>Third, temporal smoothing and sequence modeling remain effective means to reduce transient errors. We already apply exponential smoothing at the output layer to filter high-frequency noise; going forward, we could consider more complex temporal models (such as using a sliding window or a recurrent neural network such as long short-term memory [LSTM]) to model the state sequence over time. This could not only smooth out noise but also use the evolving patterns of emotions and motions to improve accuracy. For example, recognizing the persistence of an emotion to avoid treating a brief facial twitch as an emotional change, or analyzing the trend of motion performance to judge whether an error is accidental or due to lack of skill.</p>
        <p>Fourth, in terms of hardware and sensing, we could introduce more diverse signal sources to enhance the system’s perception abilities. For instance, adding physiological indicators such as skin conductance or respiration rate can provide additional emotional cues; incorporating voice or posture inputs can further enrich the emotion recognition’s input dimensions; adding inertial sensors for motion evaluation could improve the capture accuracy of fast 3D movements.</p>
        <p>Apart from improving the recognition algorithms, our system also has room to expand in personalization and adaptivity. Currently, the model uses a unified set of recognition parameters for all users, without fully considering individual differences. In the future, personalized calibration could be used to improve recognition accuracy: for example, when a user first uses the system, we could collect their resting heart rate and neutral facial baseline as individual references, thereby using deviation-based thresholds for recognition (such as adjusting microexpression sensitivity based on the user’s typical expressiveness or calibrating emotion thresholds according to their baseline HRV when calm). Simultaneously, an online learning mechanism could be introduced, allowing the system to continuously learn the user’s behavior and emotion patterns during interaction and gradually optimize its model parameters. This continual adaptation would help the system track changes in the user’s state characteristics over time (for example, as the training progresses, the user’s fitness improves or emotional response patterns change), ensuring that recognition accuracy does not decline during long-term use.</p>
        <p>Finally, from the user experience perspective, we should also consider feedback strategies when recognition errors occur. Even the best algorithm cannot be 100% accurate, so when the system is uncertain about the user’s state, it can adopt conservative adjustments or ask for confirmation to reduce the risk of misadjustment. For example, if the emotion model’s confidence is very low, the system could postpone changing the difficulty or provide a simple interface for the user to self-correct their emotional state. Such human-in-the-loop methods can tolerate algorithm errors to a certain extent, ensuring the user is not adversely affected by system misjudgments.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>Per-class precision, recall, and F1 scores, and the confusion matrix data.</p>
        <media xlink:href="games_v14i1e101438_app1.docx" xlink:title="DOCX File , 1286 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">AU</term>
          <def>
            <p>action unit</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">DDA</term>
          <def>
            <p>dynamic difficulty adjustment</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">DEAP</term>
          <def>
            <p>Database for Emotion Analysis Using Physiological Signals</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">FC</term>
          <def>
            <p>last fully connected layer</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">HF</term>
          <def>
            <p>high frequency</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">HRV</term>
          <def>
            <p>heart rate variability</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">ICA</term>
          <def>
            <p>independent component analysis</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">LF</term>
          <def>
            <p>low frequency</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb9">LF/HF</term>
          <def>
            <p>ratio of low-frequency to high-frequency power</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb10">LSTM</term>
          <def>
            <p>long short-term memory</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb11">NASA-TLX</term>
          <def>
            <p>National Aeronautics and Space Administration Task Load Index</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb12">PANAS</term>
          <def>
            <p>Positive and Negative Affect Schedule</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb13">pNN50</term>
          <def>
            <p>percentage of successive interbeat intervals differing by more than 50 ms</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb14">PPG</term>
          <def>
            <p>photoplethysmography</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb15">RGB</term>
          <def>
            <p>red, green, and blue</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb16">RMSSD</term>
          <def>
            <p>root mean square of successive differences</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb17">ROI</term>
          <def>
            <p>region of interest</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb18">RR</term>
          <def>
            <p>interbeat interval</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb19">SDNN</term>
          <def>
            <p>SD of Normal-to-Normal intervals</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb20">SUS</term>
          <def>
            <p>System Usability Scale</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>We thank Dr Jin Yan for technical assistance, assistance with data collection, and critical review of the manuscript.</p>
    </ack>
    <notes>
      <sec>
        <title>Funding</title>
        <p>This work was supported by the National Natural Science Foundation of China (NSFC; 62566009) and the Scientific and Technological Innovation Talent Project of Guizhou High-level Talent Cultivation Support Program (KJLYRC-[2026]006). The funders had no involvement in this study’s design, data collection, analysis, interpretation, or the writing of this paper.</p>
      </sec>
    </notes>
    <notes>
      <sec>
        <title>Data Availability</title>
        <p>All data generated or analyzed during this study are included in this published paper.</p>
      </sec>
    </notes>
    <fn-group>
      <fn fn-type="con">
        <p>Conceptualization: LZ, DL, GY, DZ</p>
        <p>Data curation: HZ</p>
        <p>Funding acquisition: DL</p>
        <p>Investigation: LZ, DZ</p>
        <p>Supervision: DL, GY</p>
        <p>Visualization: HZ</p>
        <p>Writing – original draft: LZ</p>
        <p>Writing – review &#38; editing: HZ, DL, GY, DZ, LH</p>
        <p>All authors contributed to the study conception and design. All authors reviewed the manuscript.</p>
      </fn>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <notes>
      <sec>
        <title>Generative AI Use</title>
        <p>The authors declare that generative AI was not used in the preparation of this manuscript.</p>
      </sec>
    </notes>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kohl</surname>
              <given-names>HW</given-names>
            </name>
            <name name-style="western">
              <surname>Craig</surname>
              <given-names>CL</given-names>
            </name>
            <name name-style="western">
              <surname>Lambert</surname>
              <given-names>EV</given-names>
            </name>
            <name name-style="western">
              <surname>Inoue</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Alkandari</surname>
              <given-names>JR</given-names>
            </name>
            <name name-style="western">
              <surname>Leetongin</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Kahlmeier</surname>
              <given-names>S</given-names>
            </name>
            <collab>Lancet Physical Activity Series Working Group</collab>
          </person-group>
          <article-title>The pandemic of physical inactivity: global action for public health</article-title>
          <source>Lancet</source>
          <year>2012</year>
          <volume>380</volume>
          <issue>9838</issue>
          <fpage>294</fpage>
          <lpage>305</lpage>
          <pub-id pub-id-type="doi">10.1016/S0140-6736(12)60898-8</pub-id>
          <pub-id pub-id-type="medline">22818941</pub-id>
          <pub-id pub-id-type="pii">S0140-6736(12)60898-8</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref2">
        <label>2</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Huber</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Mertes</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Rangelova</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Flutura</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>André</surname>
              <given-names>E</given-names>
            </name>
          </person-group>
          <article-title>Dynamic difficulty adjustment in virtual reality exergames through experience-driven procedural content generation</article-title>
          <year>2021</year>
          <conf-name>2021 IEEE Symposium Series on Computational Intelligence (SSCI)</conf-name>
          <conf-date>December 5-7, 2021</conf-date>
          <conf-loc>Orlando, FL</conf-loc>
          <fpage>1</fpage>
          <lpage>8</lpage>
          <pub-id pub-id-type="doi">10.1109/ssci50451.2021.9660086</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Peng</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Lin</surname>
              <given-names>JH</given-names>
            </name>
            <name name-style="western">
              <surname>Crouse</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Is playing exergames really exercising? A meta-analysis of energy expenditure in active video games</article-title>
          <source>Cyberpsychol Behav Soc Netw</source>
          <year>2011</year>
          <volume>14</volume>
          <issue>11</issue>
          <fpage>681</fpage>
          <lpage>688</lpage>
          <pub-id pub-id-type="doi">10.1089/cyber.2010.0578</pub-id>
          <pub-id pub-id-type="medline">21668370</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref4">
        <label>4</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Larche</surname>
              <given-names>CJ</given-names>
            </name>
            <name name-style="western">
              <surname>Dixon</surname>
              <given-names>MJ</given-names>
            </name>
          </person-group>
          <article-title>The relationship between the skill-challenge balance, game expertise, flow and the urge to keep playing complex mobile games</article-title>
          <source>J Behav Addict</source>
          <year>2020</year>
          <volume>9</volume>
          <issue>3</issue>
          <fpage>606</fpage>
          <lpage>616</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/33027060"/>
          </comment>
          <pub-id pub-id-type="doi">10.1556/2006.2020.00070</pub-id>
          <pub-id pub-id-type="medline">33027060</pub-id>
          <pub-id pub-id-type="pmcid">PMC8943660</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref5">
        <label>5</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Csikszentmihalyi</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Abuhamdeh</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Nakamura</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <source>Flow and the Foundations of Positive Psychology: The Collected Works of Mihaly Csikszentmihalyi</source>
          <year>2014</year>
          <publisher-loc>Dordrecht</publisher-loc>
          <publisher-name>Springer Netherlands</publisher-name>
          <fpage>227</fpage>
          <lpage>238</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref6">
        <label>6</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Flow in games (and everything else)</article-title>
          <source>Commun ACM</source>
          <year>2007</year>
          <volume>50</volume>
          <issue>4</issue>
          <fpage>31</fpage>
          <lpage>34</lpage>
          <pub-id pub-id-type="doi">10.1145/1232743.1232769</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hunicke</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>The case for dynamic difficulty adjustment in games</article-title>
          <year>2005</year>
          <conf-name>ACE '05: Proceedings of the 2005 ACM SIGCHI International Conference on Advances in Computer Entertainment Technology</conf-name>
          <conf-date>June 15-17, 2005</conf-date>
          <conf-loc>Valencia Spain</conf-loc>
          <fpage>429</fpage>
          <lpage>433</lpage>
          <pub-id pub-id-type="doi">10.1145/1178477.1178573</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref8">
        <label>8</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Adams</surname>
              <given-names>E</given-names>
            </name>
          </person-group>
          <source>Fundamentals of Game Design</source>
          <year>2014</year>
          <publisher-loc>London</publisher-loc>
          <publisher-name>Pearson Education</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Mueller</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Vetere</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Gibbs</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Edge</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Agamanolis</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Balancing exertion experiences</article-title>
          <year>2012</year>
          <conf-name>CHI '12: CHI Conference on Human Factors in Computing Systems</conf-name>
          <conf-date>May 5-10, 2012</conf-date>
          <conf-loc>Austin, TX</conf-loc>
          <fpage>1853</fpage>
          <lpage>1862</lpage>
          <pub-id pub-id-type="doi">10.1145/2207676.2208322</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gerling</surname>
              <given-names>KM</given-names>
            </name>
            <name name-style="western">
              <surname>Miller</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Mandryk</surname>
              <given-names>RL</given-names>
            </name>
            <name name-style="western">
              <surname>Birk</surname>
              <given-names>MV</given-names>
            </name>
            <name name-style="western">
              <surname>Smeddinck</surname>
              <given-names>JD</given-names>
            </name>
          </person-group>
          <article-title>Effects of balancing for physical abilities on player performance, experience and self-esteem in exergames</article-title>
          <year>2014</year>
          <conf-name>CHI '14: CHI Conference on Human Factors in Computing Systems</conf-name>
          <conf-date>April 26 to May 1, 2014</conf-date>
          <conf-loc>Toronto, Ontario, Canada</conf-loc>
          <fpage>2201</fpage>
          <lpage>2210</lpage>
          <pub-id pub-id-type="doi">10.1145/2556288.2556963</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Fisher</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Kulshreshth</surname>
              <given-names>AK</given-names>
            </name>
          </person-group>
          <article-title>Exploring dynamic difficulty adjustment methods for video games</article-title>
          <source>Virtual Worlds</source>
          <year>2024</year>
          <volume>3</volume>
          <issue>2</issue>
          <fpage>230</fpage>
          <lpage>255</lpage>
          <pub-id pub-id-type="doi">10.3390/virtualworlds3020012</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref12">
        <label>12</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Danousis</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Goumopoulos</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Fakis</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Exergames in the GAME2AWE platform with dynamic difficulty adjustment</article-title>
          <year>2022</year>
          <conf-name>International Conference on Entertainment Computing</conf-name>
          <conf-date>November 1-3, 2022</conf-date>
          <conf-loc>Bremen, Germany</conf-loc>
          <fpage>214</fpage>
          <lpage>223</lpage>
          <pub-id pub-id-type="doi">10.1007/978-3-031-20212-4_17</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lyons</surname>
              <given-names>EJ</given-names>
            </name>
          </person-group>
          <article-title>Cultivating engagement and enjoyment in exergames using feedback, challenge, and rewards</article-title>
          <source>Games Health J</source>
          <year>2015</year>
          <volume>4</volume>
          <issue>1</issue>
          <fpage>12</fpage>
          <lpage>18</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/26181675"/>
          </comment>
          <pub-id pub-id-type="doi">10.1089/g4h.2014.0072</pub-id>
          <pub-id pub-id-type="medline">26181675</pub-id>
          <pub-id pub-id-type="pmcid">PMC4580142</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Martin-Niedecken</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Mahrer</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Rogers</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>de Bruin</surname>
              <given-names>ED</given-names>
            </name>
            <name name-style="western">
              <surname>Schättin</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>“HIIT” the ExerCube: comparing the effectiveness of functional high-intensity interval training in conventional vs. exergame-based training</article-title>
          <source>Front Comput Sci</source>
          <year>2020</year>
          <volume>2</volume>
          <fpage>33</fpage>
          <pub-id pub-id-type="doi">10.3389/fcomp.2020.00033</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Martin-Niedecken</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Rogers</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Turmo Vidal</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Mekler</surname>
              <given-names>ED</given-names>
            </name>
            <name name-style="western">
              <surname>Márquez Segura</surname>
              <given-names>E</given-names>
            </name>
          </person-group>
          <article-title>Exercube vs. personal trainer: evaluating a holistic, immersive, and adaptive fitness game setup</article-title>
          <year>2019</year>
          <conf-name>CHI '19: Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems</conf-name>
          <conf-date>May 4-9, 2019</conf-date>
          <conf-loc>Glasgow, Scotland, UK</conf-loc>
          <fpage>1</fpage>
          <lpage>15</lpage>
          <pub-id pub-id-type="doi">10.1145/3290605.3300318</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Göbel</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Hardy</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Wendel</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Mehm</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Steinmetz</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Serious games for health: personalized exergames</article-title>
          <year>2010</year>
          <conf-name>Proceedings of the 18th ACM International Conference on Multimedia</conf-name>
          <conf-date>October 25-29, 2010</conf-date>
          <conf-loc>Firenze, Italy</conf-loc>
          <fpage>1663</fpage>
          <lpage>1666</lpage>
          <pub-id pub-id-type="doi">10.1145/1873951.1874316</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref17">
        <label>17</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hardy</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Göbel</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Gutjahr</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Wiemeyer</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Steinmetz</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Adaptation model for indoor exergames</article-title>
          <source>Int J Comput Sci Sport</source>
          <year>2012</year>
          <volume>11</volume>
          <issue>1</issue>
          <fpage>73</fpage>
          <lpage>85</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://iacss.org/wp-content/uploads/2024/09/IJCSS_Volume11_2012_Edition1.pdf#page=74"/>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Dill</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Müller</surname>
              <given-names>PN</given-names>
            </name>
            <name name-style="western">
              <surname>Caserman</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Göbel</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Antink</surname>
              <given-names>CH</given-names>
            </name>
            <name name-style="western">
              <surname>Tregel</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>Sensing in exergames for efficacy and motion quality: scoping review of recent publications</article-title>
          <source>JMIR Serious Games</source>
          <year>2024</year>
          <volume>12</volume>
          <fpage>e52153</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://games.jmir.org/2024//e52153/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/52153</pub-id>
          <pub-id pub-id-type="medline">39499916</pub-id>
          <pub-id pub-id-type="pii">v12i1e52153</pub-id>
          <pub-id pub-id-type="pmcid">PMC11576609</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Koenig</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Novak</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Omlin</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Pulfer</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Perreault</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Zimmerli</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Mihelj</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Riener</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Real-time closed-loop control of cognitive load in neurological patients during robot-assisted gait training</article-title>
          <source>IEEE Trans Neural Syst Rehabil Eng</source>
          <year>2011</year>
          <volume>19</volume>
          <issue>4</issue>
          <fpage>453</fpage>
          <lpage>464</lpage>
          <pub-id pub-id-type="doi">10.1109/TNSRE.2011.2160460</pub-id>
          <pub-id pub-id-type="medline">21827971</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Novak</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Mihelj</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Ziherl</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Olenšek</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Munih</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Psychophysiological measurements in a biocooperative feedback loop for upper extremity rehabilitation</article-title>
          <source>IEEE Trans Neural Syst Rehabil Eng</source>
          <year>2011</year>
          <month>08</month>
          <volume>19</volume>
          <issue>4</issue>
          <fpage>400</fpage>
          <lpage>410</lpage>
          <pub-id pub-id-type="doi">10.1109/TNSRE.2011.2160357</pub-id>
          <pub-id pub-id-type="medline">21708507</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Koenig</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Omlin</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Bergmann</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Zimmerli</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Bolliger</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Müller</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Riener</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Controlling patient participation during robot-assisted gait training</article-title>
          <source>J Neuroeng Rehabil</source>
          <year>2011</year>
          <volume>8</volume>
          <fpage>14</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://jneuroengrehab.biomedcentral.com/articles/10.1186/1743-0003-8-14"/>
          </comment>
          <pub-id pub-id-type="doi">10.1186/1743-0003-8-14</pub-id>
          <pub-id pub-id-type="medline">21429200</pub-id>
          <pub-id pub-id-type="pii">1743-0003-8-14</pub-id>
          <pub-id pub-id-type="pmcid">PMC3076234</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Darzi</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Novak</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Automated affect classification and task difficulty adaptation in a competitive scenario based on physiological linkage: an exploratory study</article-title>
          <source>Int J Hum Comput Stud</source>
          <year>2021</year>
          <volume>153</volume>
          <fpage>102673</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/34092990"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.ijhcs.2021.102673</pub-id>
          <pub-id pub-id-type="medline">34092990</pub-id>
          <pub-id pub-id-type="pii">102673</pub-id>
          <pub-id pub-id-type="pmcid">PMC8177075</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Izountar</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Benbelkacem</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Otmane</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Khababa</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Masmoudi</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Zenati</surname>
              <given-names>N</given-names>
            </name>
          </person-group>
          <article-title>VR-PEER: a personalized exer-game platform based on emotion recognition</article-title>
          <source>Electronics</source>
          <year>2022</year>
          <volume>11</volume>
          <issue>3</issue>
          <fpage>455</fpage>
          <pub-id pub-id-type="doi">10.3390/electronics11030455</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Mitsis</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Zarkogianni</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Kalafatis</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Dalakleidi</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Jaafar</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Mourkousis</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Nikita</surname>
              <given-names>KS</given-names>
            </name>
          </person-group>
          <article-title>A multimodal approach for real time recognition of engagement towards adaptive serious games for health</article-title>
          <source>Sensors (Basel)</source>
          <year>2022</year>
          <volume>22</volume>
          <issue>7</issue>
          <fpage>2472</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.mdpi.com/resolver?pii=s22072472"/>
          </comment>
          <pub-id pub-id-type="doi">10.3390/s22072472</pub-id>
          <pub-id pub-id-type="medline">35408088</pub-id>
          <pub-id pub-id-type="pii">s22072472</pub-id>
          <pub-id pub-id-type="pmcid">PMC9002748</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Chanel</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Lopes</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>User evaluation of affective dynamic difficulty adjustment based on physiological deep learning</article-title>
          <year>2020</year>
          <conf-name>International Conference on Human-Computer Interaction</conf-name>
          <conf-date>July 19-24, 2020</conf-date>
          <conf-loc>Copenhagen, Denmark</conf-loc>
          <publisher-loc>Cham</publisher-loc>
          <publisher-name>Springer International Publishing</publisher-name>
          <fpage>3</fpage>
          <lpage>23</lpage>
          <pub-id pub-id-type="doi">10.1007/978-3-030-50353-6_1</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bazarevsky</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Grishchenko</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Raveendran</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Zhu</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Grundmann</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>BlazePose: on-device real-time body pose tracking</article-title>
          <source>arXiv</source>
          <comment>Preprint posted online on June 17, 2020</comment>
          <pub-id pub-id-type="doi">10.48550/arXiv.2006.10204</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ekman</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>An argument for basic emotions</article-title>
          <source>Cogn Emot</source>
          <year>1992</year>
          <volume>6</volume>
          <issue>3-4</issue>
          <fpage>169</fpage>
          <lpage>200</lpage>
          <pub-id pub-id-type="doi">10.1080/02699939208411068</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Toisoul</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Kossaifi</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Bulat</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Tzimiropoulos</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Pantic</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Estimation of continuous valence and arousal levels from faces in naturalistic conditions</article-title>
          <source>Nat Mach Intell</source>
          <year>2021</year>
          <volume>3</volume>
          <issue>1</issue>
          <fpage>42</fpage>
          <lpage>50</lpage>
          <pub-id pub-id-type="doi">10.1038/s42256-020-00280-0</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ryumina</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Markitantov</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Axyonov</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Ryumin</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Dolgushin</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Dresvyanskiy</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Karpov</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Team RAS in 10th ABAW competition: multimodal valence and arousal estimation approach</article-title>
          <source>arXiv</source>
          <comment>Preprint posted online on March 13, 2026</comment>
          <pub-id pub-id-type="doi">10.48550/arXiv.2603.13056</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Potts</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Broad</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Sehgal</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Hartley</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>O'Neill</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Jicol</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Clarke</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Lutteroth</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Sweating the details: emotion recognition and the influence of physical exertion in virtual reality exergaming</article-title>
          <year>2024</year>
          <conf-name>CHI '24: CHI Conference on Human Factors in Computing Systems</conf-name>
          <conf-date>May 11-16, 2024</conf-date>
          <conf-loc>Honolulu, HI</conf-loc>
          <fpage>1</fpage>
          <lpage>21</lpage>
          <pub-id pub-id-type="doi">10.1145/3613904.3642611</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Barathi</surname>
              <given-names>SC</given-names>
            </name>
            <name name-style="western">
              <surname>Proulx</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>O'Neill</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Lutteroth</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Affect recognition using psychophysiological correlates in high intensity VR exergaming</article-title>
          <year>2020</year>
          <conf-name>CHI '20: Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems</conf-name>
          <conf-date>April 25-30, 2020</conf-date>
          <conf-loc>Honolulu, HI</conf-loc>
          <publisher-name>Association for Computing Machinery</publisher-name>
          <fpage>1</fpage>
          <lpage>15</lpage>
          <pub-id pub-id-type="doi">10.1145/3313831.3376596</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Jadram</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Nishikawa</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Sugaya</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Stress evaluation during low-speed mobility rides using ultra-short-term heart rate variability indices</article-title>
          <year>2026</year>
          <conf-name>International Symposium on Affective Science and Engineering</conf-name>
          <conf-date>March 16-18, 2026</conf-date>
          <conf-loc>Japan</conf-loc>
          <pub-id pub-id-type="doi">10.5057/isase.2026-c000055</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref33">
        <label>33</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Xing</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Kawauchi</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Dilrukshi</surname>
              <given-names>EC</given-names>
            </name>
            <name name-style="western">
              <surname>Nishiyama</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Nomura</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>A preliminary study on psychophysiological effect of heartrate feedback relaxing music</article-title>
          <source>Int J Affective Eng</source>
          <year>2023</year>
          <volume>22</volume>
          <fpage>129</fpage>
          <lpage>136</lpage>
          <pub-id pub-id-type="doi">10.5057/ijae.tjske-d-22-00073</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Melo</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Rangel</surname>
              <given-names>NB</given-names>
            </name>
            <name name-style="western">
              <surname>Fialho</surname>
              <given-names>GL</given-names>
            </name>
            <name name-style="western">
              <surname>De Carvalho</surname>
              <given-names>CR</given-names>
            </name>
            <name name-style="western">
              <surname>Lin</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Walz</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Ultra-short heart rate variability reliability for cardiac autonomic tone assessment in severe traumatic brain injury</article-title>
          <source>Brain Med</source>
          <year>2024</year>
          <volume>1</volume>
          <issue>1</issue>
          <fpage>46</fpage>
          <lpage>53</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bm.genomicpress.com/wp-content/uploads/2024/09/BM0070-Walz-2024-1.pdf"/>
          </comment>
          <pub-id pub-id-type="doi">10.61373/bm024r.0070</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gao</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Miller</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Lin</surname>
              <given-names>BTW</given-names>
            </name>
            <name name-style="western">
              <surname>Schwarz</surname>
              <given-names>CW</given-names>
            </name>
            <name name-style="western">
              <surname>Jones</surname>
              <given-names>MLH</given-names>
            </name>
          </person-group>
          <article-title>Signal quality assessment and reconstruction of PPG-derived signals for heart rate and variability estimation in in-vehicle applications: a comparative review and empirical validation</article-title>
          <source>Sensors (Basel)</source>
          <year>2025</year>
          <volume>25</volume>
          <issue>24</issue>
          <fpage>7556</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.mdpi.com/resolver?pii=s25247556"/>
          </comment>
          <pub-id pub-id-type="doi">10.3390/s25247556</pub-id>
          <pub-id pub-id-type="medline">41471550</pub-id>
          <pub-id pub-id-type="pii">s25247556</pub-id>
          <pub-id pub-id-type="pmcid">PMC12736534</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Naeini</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Sarhaddi</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Azimi</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Liljeberg</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Dutt</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Rahmani</surname>
              <given-names>AM</given-names>
            </name>
          </person-group>
          <article-title>A deep learning–based PPG quality assessment approach for heart rate and heart rate variability</article-title>
          <source>ACM Trans Comput Healthcare</source>
          <year>2023</year>
          <month>11</month>
          <day>2</day>
          <volume>4</volume>
          <issue>4</issue>
          <fpage>1</fpage>
          <lpage>22</lpage>
          <pub-id pub-id-type="doi">10.1145/3616019</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Landis</surname>
              <given-names>JR</given-names>
            </name>
            <name name-style="western">
              <surname>Koch</surname>
              <given-names>GG</given-names>
            </name>
          </person-group>
          <article-title>The measurement of observer agreement for categorical data</article-title>
          <source>Biometrics</source>
          <year>1977</year>
          <volume>33</volume>
          <issue>1</issue>
          <fpage>159</fpage>
          <lpage>174</lpage>
          <pub-id pub-id-type="doi">10.2307/2529310</pub-id>
          <pub-id pub-id-type="medline">843571</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Mollahosseini</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Hasani</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Mahoor</surname>
              <given-names>MH</given-names>
            </name>
          </person-group>
          <article-title>AffectNet: a database for facial expression, valence, and arousal computing in the wild</article-title>
          <source>IEEE Trans. Affective Comput</source>
          <year>2019</year>
          <volume>10</volume>
          <issue>1</issue>
          <fpage>18</fpage>
          <lpage>31</lpage>
          <pub-id pub-id-type="doi">10.1109/taffc.2017.2740923</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref39">
        <label>39</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Shaffer</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Ginsberg</surname>
              <given-names>JP</given-names>
            </name>
          </person-group>
          <article-title>An overview of heart rate variability metrics and norms</article-title>
          <source>Front Public Health</source>
          <year>2017</year>
          <volume>5</volume>
          <fpage>258</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/29034226"/>
          </comment>
          <pub-id pub-id-type="doi">10.3389/fpubh.2017.00258</pub-id>
          <pub-id pub-id-type="medline">29034226</pub-id>
          <pub-id pub-id-type="pmcid">PMC5624990</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref40">
        <label>40</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Thayer</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Ahs</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Fredrikson</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Sollers</surname>
              <given-names>JJ</given-names>
            </name>
            <name name-style="western">
              <surname>Wager</surname>
              <given-names>TD</given-names>
            </name>
          </person-group>
          <article-title>A meta-analysis of heart rate variability and neuroimaging studies: implications for heart rate variability as a marker of stress and health</article-title>
          <source>Neurosci Biobehav Rev</source>
          <year>2012</year>
          <volume>36</volume>
          <issue>2</issue>
          <fpage>747</fpage>
          <lpage>756</lpage>
          <pub-id pub-id-type="doi">10.1016/j.neubiorev.2011.11.009</pub-id>
          <pub-id pub-id-type="medline">22178086</pub-id>
          <pub-id pub-id-type="pii">S0149-7634(11)00207-7</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
