<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">Oalib</journal-id>
      <journal-title-group>
        <journal-title>Open Access Library Journal</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2333-9721</issn>
      <issn pub-type="ppub">2333-9705</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/oalib.1114917</article-id>
      <article-id pub-id-type="publisher-id">Oalib-150244</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Biomedical</subject>
          <subject>Life Sciences</subject>
          <subject>Business</subject>
          <subject>Economics</subject>
          <subject>Chemistry</subject>
          <subject>Materials Science</subject>
          <subject>Computer Science</subject>
          <subject>Communications</subject>
          <subject>Earth</subject>
          <subject>Environmental Sciences</subject>
          <subject>Engineering</subject>
          <subject>Medicine</subject>
          <subject>Healthcare</subject>
          <subject>Physics</subject>
          <subject>Mathematics</subject>
          <subject>Social Sciences</subject>
          <subject>Humanities</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>A Lightweight Multimodal Transformer for Predicting Imminent Mood State Transitions in Synthetic Bipolar Trajectories</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <contrib-id contrib-id-type="orcid">0000-0001-9101-072X</contrib-id>
          <name name-style="western">
            <surname>Filippis</surname>
            <given-names>Rocco de</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">0000-0002-5102-4999</contrib-id>
          <name name-style="western">
            <surname>Foysal</surname>
            <given-names>Abdullah Al</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Department of Neuroscience, Institute of Psychopathology, Rome, Italy </aff>
      <aff id="aff2"><label>2</label> Department of Computer Engineering (AI), University of Genova, Genova, Italy </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>28</day>
        <month>02</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>02</month>
        <year>2026</year>
      </pub-date>
      <volume>13</volume>
      <issue>03</issue>
      <fpage>1</fpage>
      <lpage>22</lpage>
      <history>
        <date date-type="received">
          <day>23</day>
          <month>01</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>15</day>
          <month>03</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>18</day>
          <month>03</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/oalib.1114917">https://doi.org/10.4236/oalib.1114917</self-uri>
      <abstract>
        <p>Anticipating short-term affective instability in bipolar disorder represents a longstanding challenge in computational psychiatry. Early signalling of transitions from stable to depressive, manic, or mixed states could support just-in-time interventions, yet real-world digital phenotyping datasets rarely provide dense temporal sampling, precise transition labels, or sufficient event frequency for training predictive models. To address these methodological barriers, we construct a clinically principled synthetic dataset of multimodal behavioural signals for 50 virtual subjects monitored over 60 days. Six behavioural modalities, physical activity, sleep duration, social interaction, voice features, keystroke dynamics, and screen time are generated 12 times daily using state-specific Gaussian processes modulated by circadian dynamics. A transition-aware labelling function marks the preceding 12 samples of each state change as switch imminent. A sliding-window procedure yields 11,800 sequences consisting of 12 consecutive time steps across 6 behavioural modalities (12 time points × 6 features), creating a highly imbalanced binary classification task (≈8% positive sequences). We develop a lightweight transformer encoder (199,619 parameters) optimized for short sequence modelling and computational efficiency. The model achieves 55.38% accuracy, 0.622 ROC-AUC, 0.597 sensitivity, and 0.174 F1-score on the stratified held-out set. Although performance remains modest due to the synthetic environment’s noise and imbalance, the model successfully identifies temporal micro-patterns preceding transitions patterns not detectable from static features. Behavioural distributions, intramodality correlations, sequence-level label frequencies, training dynamics, confusion structure, and ROC analysis collectively contextualize the model’s discriminative capacity. This synthetic benchmark provides a reproducible, mathematically grounded testbed for developing early-warning algorithms for bipolar instability. Our findings demonstrate that compact transformers can operate effectively under heavy noise and imbalance, offering a viable foundation for future real-world digital phenotyping systems.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Bipolar Disorder</kwd>
        <kwd>Digital Phenotyping</kwd>
        <kwd>Mood State Transitions</kwd>
        <kwd>Early Warning Systems</kwd>
        <kwd>Multimodal Time Series</kwd>
        <kwd>Synthetic Data Generation</kwd>
        <kwd>Lightweight Transformer</kwd>
        <kwd>Temporal Sequence Modelling</kwd>
        <kwd>Affective Instability</kwd>
        <kwd>Computational Psychiatry</kwd>
        <kwd>Mobile Mental Health</kwd>
        <kwd>Class-Imbalanced Learning</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Bipolar disorder is characterized by recurrent transitions between depressive, manic, mixed, and stable mood states, often unfolding in ways that are abrupt, heterogeneous, and difficult to anticipate clinically [<xref ref-type="bibr" rid="B1">1</xref>]-[<xref ref-type="bibr" rid="B5">5</xref>]. Although these transitions may appear sudden, a growing body of evidence suggests that subtle prodromal behavioural deviations changes in sleep regularity, activity patterns, sociability, or cognitive-affective rhythms tend to precede overt symptomatic shifts. Identifying these early deviations hours before a formal episode transition remains one of the central challenges in digital psychiatry, where the overarching aim is to support proactive, personalized intervention rather than reactive crisis management [<xref ref-type="bibr" rid="B6">6</xref>]-[<xref ref-type="bibr" rid="B9">9</xref>].</p>
      <p>Digital phenotyping, defined as the continuous extraction of behavioural and physiological signals through smartphones, wearables, and passive sensing technologies, offers an unprecedented opportunity to monitor patients unobtrusively in real time [<xref ref-type="bibr" rid="B10">10</xref>]-[<xref ref-type="bibr" rid="B14">14</xref>]. Such data streams capture fine-grained temporal structure that is inaccessible to traditional clinical assessments. However, the application of digital phenotyping to mood-state forecasting is hindered by several constraints: the scarcity of longitudinal datasets with precise transition labels, the infrequency of transition events relative to stable periods, substantial noise arising from user behaviour and sensor limitations, and variation in sampling density across devices and individuals. Moreover, the deployment of large neural architectures on mobile platforms is restricted by computational, energy, and privacy considerations, necessitating models that are both lightweight and temporally expressive.</p>
      <p>Synthetic data generation provides a pragmatic solution to these methodological barriers by enabling controlled experimentation in environments where ground-truth states and transition times are fully known. Synthetic environments allow researchers to benchmark algorithms, isolate causal mechanisms, and refine early-warning formulations before transitioning to real-world clinical datasets [<xref ref-type="bibr" rid="B15">15</xref>]-[<xref ref-type="bibr" rid="B18">18</xref>]. In this context, we develop a mathematically explicit simulator of multimodal behavioural trajectories grounded in clinical patterns of bipolar illness [<xref ref-type="bibr" rid="B19">19</xref>]-[<xref ref-type="bibr" rid="B22">22</xref>]. Using this framework, we evaluate whether a compact transformer architecture can detect imminent mood-state transitions from short multimodal sequences, offering a stepping-stone toward real-time, deployable early-warning systems in computational psychiatry.</p>
    </sec>
    <sec id="sec2">
      <title>2. Methods</title>
      <sec id="sec2dot1">
        <title>2.1. Latent Mood State Dynamics</title>
        <p>To model the underlying affective course of each virtual subject, we construct a latent state trajectory that evolves over a 60-day period. For subject</p>
        <disp-formula id="FD1">
          <mml:math>
            <mml:mrow>
              <mml:mi>i</mml:mi>
              <mml:mo>∈</mml:mo>
              <mml:mrow>
                <mml:mo>{</mml:mo>
                <mml:mrow>
                  <mml:mn>1</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:mo>⋯</mml:mo>
                  <mml:mo>,</mml:mo>
                  <mml:mn>50</mml:mn>
                </mml:mrow>
                <mml:mo>}</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>the daily mood state is represented as a discrete variable</p>
        <disp-formula id="FD2">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>s</mml:mi>
                <mml:mi>t</mml:mi>
              </mml:msub>
              <mml:mo>∈</mml:mo>
              <mml:mrow>
                <mml:mo>{</mml:mo>
                <mml:mrow>
                  <mml:mn>0</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:mn>1</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:mn>2</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:mn>3</mml:mn>
                </mml:mrow>
                <mml:mo>}</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
              <mml:mi>t</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>,</mml:mo>
              <mml:mo>⋯</mml:mo>
              <mml:mo>,</mml:mo>
              <mml:mi>T</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mn>60</mml:mn>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where the four values correspond to Stable (0), Depressive (1), Manic (2), and Mixed (3) states. This formulation aligns with psychiatric models that conceptualize bipolar disorder as a sequence of recurrent mood episodes separated by periods of euthymia or subthreshold symptoms [<xref ref-type="bibr" rid="B23">23</xref>]-[<xref ref-type="bibr" rid="B27">27</xref>].</p>
        <p>The latent state process serves as the generative backbone of the synthetic dataset. All behavioural features at time <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> t </mml:mi><mml:mo> , </mml:mo><mml:mi> h </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> are conditionally dependent on the latent state <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> s </mml:mi><mml:mi> t </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , enabling the simulator to encode clinically inspired relationships between internal affective states and observable digital phenotypes.</p>
        <p>2.1.1. Episode Durations</p>
        <p>Mood episodes do not last for fixed lengths; instead, their durations follow clinically observed ranges. To reflect this variability, each episode duration <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> d </mml:mi><mml:mi> s </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is sampled from a discrete uniform distribution conditioned on its state type:</p>
        <disp-formula id="FD3">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>d</mml:mi>
                <mml:mi>s</mml:mi>
              </mml:msub>
              <mml:mo>~</mml:mo>
              <mml:mrow>
                <mml:mo>{</mml:mo>
                <mml:mrow>
                  <mml:mtable columnalign="left">
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>Uniform</mml:mtext>
                          <mml:mrow>
                            <mml:mo>{</mml:mo>
                            <mml:mrow>
                              <mml:mn>5</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mo>⋯</mml:mo>
                              <mml:mo>,</mml:mo>
                              <mml:mn>15</mml:mn>
                            </mml:mrow>
                            <mml:mo>}</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>if</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mi>s</mml:mi>
                          <mml:mo>=</mml:mo>
                          <mml:mn>0</mml:mn>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>Stable</mml:mtext>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>Uniform</mml:mtext>
                          <mml:mrow>
                            <mml:mo>{</mml:mo>
                            <mml:mrow>
                              <mml:mn>10</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mo>⋯</mml:mo>
                              <mml:mo>,</mml:mo>
                              <mml:mn>30</mml:mn>
                            </mml:mrow>
                            <mml:mo>}</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>if</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mi>s</mml:mi>
                          <mml:mo>=</mml:mo>
                          <mml:mn>1</mml:mn>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>Depressive</mml:mtext>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>Uniform</mml:mtext>
                          <mml:mrow>
                            <mml:mo>{</mml:mo>
                            <mml:mrow>
                              <mml:mn>5</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mo>⋯</mml:mo>
                              <mml:mo>,</mml:mo>
                              <mml:mn>15</mml:mn>
                            </mml:mrow>
                            <mml:mo>}</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>if</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mi>s</mml:mi>
                          <mml:mo>=</mml:mo>
                          <mml:mn>2</mml:mn>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>Manic</mml:mtext>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>Uniform</mml:mtext>
                          <mml:mrow>
                            <mml:mo>{</mml:mo>
                            <mml:mrow>
                              <mml:mn>3</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mo>⋯</mml:mo>
                              <mml:mo>,</mml:mo>
                              <mml:mn>10</mml:mn>
                            </mml:mrow>
                            <mml:mo>}</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>if</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mi>s</mml:mi>
                          <mml:mo>=</mml:mo>
                          <mml:mn>3</mml:mn>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>Mixed</mml:mtext>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                  </mml:mtable>
                </mml:mrow>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>These ranges were selected to approximate empirical psychiatric observations:</p>
        <p><bold>Depressive</bold><bold>episodes</bold> tend to be longer and more persistent, often spanning several weeks.<bold>Manic</bold><bold>episodes</bold> typically exhibit shorter durations with more abrupt onset and offset.<bold>Stable</bold><bold>periods</bold> are interspersed throughout the illness trajectory but vary substantially in length.<bold>Mixed</bold><bold>episodes</bold> tend to be brief and unstable due to rapid fluctuations in symptom polarity.</p>
        <p>By sampling durations independently across states, the simulator reproduces the heterogeneous temporal structure characteristic of bipolar disorder, including long stable stretches punctuated by irregular transitions [<xref ref-type="bibr" rid="B28">28</xref>]-[<xref ref-type="bibr" rid="B30">30</xref>].</p>
        <p>2.1.2. Transition Probabilities</p>
        <p>After an episode concludes, the next state is selected using a state-dependent transition distribution:</p>
        <disp-formula id="FD4">
          <mml:math display="inline">
            <mml:mrow>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>s</mml:mi>
                    <mml:mrow>
                      <mml:mi>t</mml:mi>
                      <mml:mo>+</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>|</mml:mo>
                  <mml:msub>
                    <mml:mi>s</mml:mi>
                    <mml:mi>t</mml:mi>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>{</mml:mo>
                <mml:mrow>
                  <mml:mtable columnalign="left">
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mn>0</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0.6</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0.4</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0</mml:mn>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>s</mml:mi>
                            <mml:mi>t</mml:mi>
                          </mml:msub>
                          <mml:mo>=</mml:mo>
                          <mml:mn>0</mml:mn>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>Stable</mml:mtext>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mn>0.7</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0.3</mml:mn>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>s</mml:mi>
                            <mml:mi>t</mml:mi>
                          </mml:msub>
                          <mml:mo>=</mml:mo>
                          <mml:mn>1</mml:mn>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>Depressive</mml:mtext>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mn>0.7</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0.3</mml:mn>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>s</mml:mi>
                            <mml:mi>t</mml:mi>
                          </mml:msub>
                          <mml:mo>=</mml:mo>
                          <mml:mn>2</mml:mn>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>Manic</mml:mtext>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mn>0</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0.5</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0.5</mml:mn>
                              <mml:mo>,</mml:mo>
                              <mml:mn>0</mml:mn>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>s</mml:mi>
                            <mml:mi>t</mml:mi>
                          </mml:msub>
                          <mml:mo>=</mml:mo>
                          <mml:mn>3</mml:mn>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>Mixed</mml:mtext>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                  </mml:mtable>
                </mml:mrow>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>The transition matrix reflects realistic clinical phenomena:</p>
        <p>A <bold>stable</bold><bold>period</bold> is most likely to transition into a depressive episode (60%) and less frequently into a manic episode (40%).<bold>Depressive</bold> and <bold>manic</bold> episodes tend to return to stability (70%) but may progress into mixed states (30%), modelling unstable symptom evolution.<bold>Mixed</bold><bold>states</bold> often resolve into either pure depression or pure mania with roughly equal probability, consistent with clinical descriptions of mixed affective presentations.</p>
        <p>These transition probabilities introduce stochasticity and cyclical patterns into the synthetic dataset, ensuring that the generative model captures the non-linear, recurrent nature of bipolar mood progression [<xref ref-type="bibr" rid="B31">31</xref>]-[<xref ref-type="bibr" rid="B35">35</xref>].</p>
        <p>The formulation closely matches the exact sampling mechanism implemented in the code, where transitions are produced via np.random.choice with state-specific probability vectors. This one-step Markovian structure allows the simulator to encode both predictable episode patterns and random fluctuations, supporting controlled experiments in early-warning prediction [<xref ref-type="bibr" rid="B36">36</xref>]-[<xref ref-type="bibr" rid="B38">38</xref>].</p>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Multimodal Behavioural Feature Generator</title>
        <p>To simulate realistic digital-phenotyping signatures, each subject is monitored across</p>
        <disp-formula id="FD5">
          <mml:math>
            <mml:mrow>
              <mml:mi>H</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mn>12</mml:mn>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>measurement intervals per day, corresponding to 2-hour observational windows. For subject <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> , day <inline-formula><mml:math><mml:mi> t </mml:mi></mml:math></inline-formula> , and interval <inline-formula><mml:math><mml:mrow><mml:mi> h </mml:mi><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mo> ⋯ </mml:mo><mml:mo> , </mml:mo><mml:mn> 12 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , we define a circadian phase variable:</p>
        <disp-formula id="FD6">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>θ</mml:mi>
                <mml:mi>h</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mtext>sin</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mfrac>
                    <mml:mrow>
                      <mml:mn>2</mml:mn>
                      <mml:mi>π</mml:mi>
                      <mml:mi>h</mml:mi>
                    </mml:mrow>
                    <mml:mi>H</mml:mi>
                  </mml:mfrac>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>which encodes intrinsic daily rhythmicity known to influence activity levels, sleep patterns, sociability, and cognitive fluctuations [<xref ref-type="bibr" rid="B39">39</xref>]-[<xref ref-type="bibr" rid="B41">41</xref>]. This circadian modulation ensures that generated behavioural features exhibit realistic time-of-day oscillations [<xref ref-type="bibr" rid="B42">42</xref>]-[<xref ref-type="bibr" rid="B46">46</xref>].</p>
        <p>Each behavioural feature <inline-formula><mml:math><mml:mrow><mml:mi> f </mml:mi><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mo> ⋯ </mml:mo><mml:mo> , </mml:mo><mml:mn> 6 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is sampled from a Gaussian distribution conditioned on the current latent mood state <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> s </mml:mi><mml:mi> t </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> :</p>
        <disp-formula id="FD7">
          <mml:math>
            <mml:mrow>
              <mml:msubsup>
                <mml:mi>x</mml:mi>
                <mml:mrow>
                  <mml:mi>i</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>h</mml:mi>
                </mml:mrow>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mi>f</mml:mi>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:msubsup>
              <mml:mo>~</mml:mo>
              <mml:mi mathvariant="script">N</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msubsup>
                    <mml:mi>μ</mml:mi>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>s</mml:mi>
                        <mml:mi>t</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mi>f</mml:mi>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:msubsup>
                  <mml:mo>+</mml:mo>
                  <mml:msubsup>
                    <mml:mi>β</mml:mi>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>s</mml:mi>
                        <mml:mi>t</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mi>f</mml:mi>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:msubsup>
                  <mml:msub>
                    <mml:mi>θ</mml:mi>
                    <mml:mi>h</mml:mi>
                  </mml:msub>
                  <mml:mo>,</mml:mo>
                  <mml:msup>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msubsup>
                            <mml:mi>σ</mml:mi>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>s</mml:mi>
                                <mml:mi>t</mml:mi>
                              </mml:msub>
                            </mml:mrow>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mi>f</mml:mi>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                          </mml:msubsup>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mn>2</mml:mn>
                  </mml:msup>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
              <mml:msubsup>
                <mml:mi>x</mml:mi>
                <mml:mrow>
                  <mml:mi>i</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>h</mml:mi>
                </mml:mrow>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mi>f</mml:mi>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:msubsup>
              <mml:mo>←</mml:mo>
              <mml:mrow>
                <mml:mo>|</mml:mo>
                <mml:mrow>
                  <mml:msubsup>
                    <mml:mi>x</mml:mi>
                    <mml:mrow>
                      <mml:mi>i</mml:mi>
                      <mml:mo>,</mml:mo>
                      <mml:mi>t</mml:mi>
                      <mml:mo>,</mml:mo>
                      <mml:mi>h</mml:mi>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mi>f</mml:mi>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:msubsup>
                </mml:mrow>
                <mml:mo>|</mml:mo>
              </mml:mrow>
              <mml:mo>.</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>This formulation mirrors the structure of the implementation, where means shift with circadian rhythm and states, variances differ across states, and absolute-value transformation prevents negative behavioural quantities.</p>
        <p>The parameters <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> μ </mml:mi><mml:mi> s </mml:mi><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mi> f </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> β </mml:mi><mml:mi> s </mml:mi><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mi> f </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> σ </mml:mi><mml:mi> s </mml:mi><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mi> f </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> encode clinically plausible behavioral patterns:</p>
        <p><bold>Depressive</bold><bold>states</bold> reduce activity and sociability while increasing sleep.<bold>Manic</bold><bold>states</bold> elevate activity, speech and keystroke activity, and screen engagement.<bold>Stable</bold><bold>states</bold> produce moderate, rhythmic behavioural patterns.<bold>Mixed</bold><bold>states</bold> exhibit high volatility with no consistent directional shift.</p>
        <p>Below we provide the exact feature-level distributions used in the simulator.</p>
        <p>2.2.1. Exact Feature Distributions</p>
        <p><bold>Stable</bold><bold>State</bold><bold>(0)</bold></p>
        <disp-formula id="FD8">
          <mml:math display="inline">
            <mml:mrow>
              <mml:mtable columnalign="left">
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>PhysicalActivity</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>50</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>20</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>10</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>SleepDuration</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>8</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:mn>2</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>SocialInteraction</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>50</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>10</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>8</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>VoiceFeatures</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>120</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>5</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>4</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>Keystrokes</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>200</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>20</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>15</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>ScreenTime</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>180</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>30</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>20</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
              </mml:mtable>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p><bold>Depressive</bold><bold>State</bold><bold>(1)</bold></p>
        <disp-formula id="FD9">
          <mml:math display="inline">
            <mml:mrow>
              <mml:mtable columnalign="left">
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>PhysicalActivity</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>20</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:mn>10</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>15</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>SleepDuration</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>12</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>2</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>2</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>SocialInteraction</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>20</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:mn>5</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>10</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>VoiceFeatures</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>110</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:mn>10</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>8</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>Keystrokes</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>150</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:mn>30</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>25</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>ScreenTime</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>240</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>40</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>40</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
              </mml:mtable>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p><bold>Manic</bold><bold>State</bold><bold>(2)</bold></p>
        <disp-formula id="FD10">
          <mml:math>
            <mml:mrow>
              <mml:mtable columnalign="left">
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>PhysicalActivity</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>80</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>30</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>20</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>SleepDuration</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>4</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:mn>2</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>1.5</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>SocialInteraction</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>70</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>20</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>15</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>VoiceFeatures</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>130</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>15</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>12</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>Keystrokes</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>250</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>40</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>30</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
                <mml:mtr columnalign="left">
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mtext>ScreenTime</mml:mtext>
                    </mml:mrow>
                  </mml:mtd>
                  <mml:mtd columnalign="left">
                    <mml:mrow>
                      <mml:mo>~</mml:mo>
                      <mml:mi mathvariant="script">N</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>300</mml:mn>
                          <mml:mo>+</mml:mo>
                          <mml:mn>50</mml:mn>
                          <mml:mi>θ</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mn>50</mml:mn>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mtd>
                </mml:mtr>
              </mml:mtable>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p><bold>Mixed</bold><bold>State</bold><bold>(3)</bold></p>
        <p>Mixed states were modelled as high-volatility regimes characterized by simultaneous depressive-like and manic-like fluctuations rather than simple random noise. Feature means were dynamically perturbed around both depressive and manic centroids within short intervals, producing rapid polarity oscillations and elevated variance. This design reflects clinical descriptions of mixed episodes as unstable affective states marked by emotional lability, sleep disruption, and psychomotor instability. Unlike the structured circadian modulations of other states, mixed states introduce random deviations:</p>
        <disp-formula id="FD11">
          <mml:math>
            <mml:mrow>
              <mml:msubsup>
                <mml:mi>x</mml:mi>
                <mml:mrow>
                  <mml:mi>i</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>h</mml:mi>
                </mml:mrow>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mi>f</mml:mi>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:msubsup>
              <mml:mo>~</mml:mo>
              <mml:mi mathvariant="script">N</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msup>
                    <mml:mi>γ</mml:mi>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mi>f</mml:mi>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:msup>
                  <mml:mo>+</mml:mo>
                  <mml:msup>
                    <mml:mi>δ</mml:mi>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mi>f</mml:mi>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:msup>
                  <mml:mi>η</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:msup>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msup>
                            <mml:mi>σ</mml:mi>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mi>f</mml:mi>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                          </mml:msup>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mn>2</mml:mn>
                  </mml:msup>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
              <mml:mi>η</mml:mi>
              <mml:mo>~</mml:mo>
              <mml:mi mathvariant="script">N</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mn>0</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>corresponding directly to the np.random.randn() components in the implementation.</p>
        <p>This state produces the highest behavioural unpredictability consistent with clinical observations.</p>
        <p>2.2.2. Correlation Structure and Interpretation</p>
        <p>To examine dependencies among features, we compute the Pearson correlation matrix over all samples (<xref ref-type="fig" rid="fig1">Figure 1</xref><xref ref-type="fig" rid="fig1">Figure 1</xref>). The visualization reveals three important properties:</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <graphic xlink:href="https://html.scirp.org/file/1114917-rId62.jpeg?20260318024113" />
        </fig>
        <p><bold>Figure 1.</bold> Correlation matrix of behavioural features and transition labels.</p>
        <p><bold>1) Strong</bold><bold>cross-feature</bold><bold>coupling</bold>: Activity, social interaction, screen time, and keystroke dynamics covary due to shared circadian modulation and state-driven fluctuations.</p>
        <p><bold>2) Weak</bold><bold>linear</bold><bold>relationship</bold><bold>with</bold><bold>labels</bold>: The switch-imminent label shows minimal linear correlation with individual features, confirming that impending transitions are not manifested through simple magnitude shifts but through temporal micro-patterns.</p>
        <p><bold>3) Necessity</bold><bold>of</bold><bold>sequence</bold><bold>models</bold>: Since individual features do not exhibit clear univariate separation between classes, architectures such as transformers capable of modelling multi-feature temporal dependencies are essential for capturing prodromal behaviour.</p>
        <p>Heatmap illustrating the Pearson correlation coefficients among four representative behavioural modalities (physical activity, sleep duration, social interaction, and voice features) and the binary switch-imminent label. Strong intra-feature correlations reflect shared behavioural drivers such as circadian rhythms and state-dependent patterns, whereas near-zero cannot correlations with the transition label indicate that single features linearly predict imminent state changes. These patterns underscore the necessity of temporal, multimodal sequence modelling for mood transition forecasting.</p>
      </sec>
      <sec id="sec2dot3">
        <title>2.3. Early-Warning Labelling of Imminent Mood-State Transitions</title>
        <p>A primary objective of this work is to determine whether short multimodal behavioural sequences contain information predictive of an impending shift in the latent mood state. To this end, we construct a binary label sequence indicating whether a given behavioural observation belongs to the pre-transition window the interval immediately preceding a transition in the underlying affective trajectory. </p>
        <p>2.3.1. Identification of Latent Mood Transitions</p>
        <p>For each subject, the latent mood state is defined as a daily sequence</p>
        <disp-formula id="FD12">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>s</mml:mi>
                <mml:mi>t</mml:mi>
              </mml:msub>
              <mml:mo>∈</mml:mo>
              <mml:mrow>
                <mml:mo>{</mml:mo>
                <mml:mrow>
                  <mml:mn>0</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:mn>1</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:mn>2</mml:mn>
                  <mml:mo>,</mml:mo>
                  <mml:mn>3</mml:mn>
                </mml:mrow>
                <mml:mo>}</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
              <mml:mi>t</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>,</mml:mo>
              <mml:mo>⋯</mml:mo>
              <mml:mo>,</mml:mo>
              <mml:mi>T</mml:mi>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>representing Stable, Depressive, Manic, and Mixed conditions.</p>
        <p>A transition occurs whenever the state on day <inline-formula><mml:math><mml:mi> t </mml:mi></mml:math></inline-formula> differs from the following day:</p>
        <disp-formula id="FD13">
          <mml:math>
            <mml:mrow>
              <mml:mtext>Transition</mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>at</mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>day</mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:msup>
                <mml:mi>t</mml:mi>
                <mml:mrow>
                  <mml:mtext>\*</mml:mtext>
                </mml:mrow>
              </mml:msup>
              <mml:mo>⇔</mml:mo>
              <mml:msub>
                <mml:mi>s</mml:mi>
                <mml:mrow>
                  <mml:msup>
                    <mml:mi>t</mml:mi>
                    <mml:mrow>
                      <mml:mtext>\*</mml:mtext>
                    </mml:mrow>
                  </mml:msup>
                </mml:mrow>
              </mml:msub>
              <mml:mo>≠</mml:mo>
              <mml:msub>
                <mml:mi>s</mml:mi>
                <mml:mrow>
                  <mml:msup>
                    <mml:mi>t</mml:mi>
                    <mml:mrow>
                      <mml:mtext>\*</mml:mtext>
                    </mml:mrow>
                  </mml:msup>
                  <mml:mo>+</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
              </mml:msub>
              <mml:mo>.</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>This event marks the onset of a new mood episode. In clinical terms, such transitions often capture the beginning of depressive relapse, manic escalation, or mixed-state destabilization.</p>
        <p>2.3.2. Mapping Behavioural Samples to Daily Indices</p>
        <p>Each day contains</p>
        <disp-formula id="FD14">
          <mml:math>
            <mml:mrow>
              <mml:mi>H</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mn>12</mml:mn>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>behavioural measurements, yielding a flattened index</p>
        <disp-formula id="FD15">
          <mml:math>
            <mml:mrow>
              <mml:mi>n</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mi>t</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mi>H</mml:mi>
              <mml:mo>+</mml:mo>
              <mml:mi>h</mml:mi>
              <mml:mo>,</mml:mo>
              <mml:mi>h</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>,</mml:mo>
              <mml:mo>⋯</mml:mo>
              <mml:mo>,</mml:mo>
              <mml:mi>H</mml:mi>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>which uniquely identifies sample <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> in the full time series.</p>
        <p>Thus, a 60-day trajectory contains</p>
        <disp-formula id="FD16">
          <mml:math>
            <mml:mrow>
              <mml:mi>N</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mi>T</mml:mi>
              <mml:mo>×</mml:mo>
              <mml:mi>H</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mn>720</mml:mn>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>measurements per subject.</p>
        <p>This indexing scheme allows precise identification of which behavioural samples fall within the pre-transition horizon.</p>
        <p>2.3.3. Definition of the Pre-Transition Window</p>
        <p>To label samples that precede an episode boundary, we define a fixed prediction horizon</p>
        <disp-formula id="FD17">
          <mml:math>
            <mml:mrow>
              <mml:mtext>Δ</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:mn>12</mml:mn>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>corresponding to the 12 samples (≈12 hours) immediately prior to a transition.</p>
        <p>For a transition at day <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> t </mml:mi><mml:mrow><mml:mtext> \* </mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> , the set of behavioural indices belonging to the pre-transition window is:</p>
        <disp-formula id="FD18">
          <mml:math>
            <mml:mrow>
              <mml:mi mathvariant="script">W</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msup>
                    <mml:mi>t</mml:mi>
                    <mml:mrow>
                      <mml:mtext>\*</mml:mtext>
                    </mml:mrow>
                  </mml:msup>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>{</mml:mo>
                <mml:mrow>
                  <mml:mi>n</mml:mi>
                  <mml:mo>:</mml:mo>
                  <mml:msup>
                    <mml:mi>t</mml:mi>
                    <mml:mrow>
                      <mml:mtext>\*</mml:mtext>
                    </mml:mrow>
                  </mml:msup>
                  <mml:mi>H</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:mtext>Δ</mml:mtext>
                  <mml:mo>≤</mml:mo>
                  <mml:mi>n</mml:mi>
                  <mml:mo>&lt;</mml:mo>
                  <mml:msup>
                    <mml:mi>t</mml:mi>
                    <mml:mrow>
                      <mml:mtext>\*</mml:mtext>
                    </mml:mrow>
                  </mml:msup>
                  <mml:mi>H</mml:mi>
                </mml:mrow>
                <mml:mo>}</mml:mo>
              </mml:mrow>
              <mml:mo>.</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>This ensures that all samples classified as “switch imminent” strictly precede the first measurement of the next latent state, preventing any contamination with future information.</p>
        <p>The binary label sequence is therefore defined as:</p>
        <disp-formula id="FD19">
          <mml:math>
            <mml:mrow>
              <mml:mi>y</mml:mi>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mi>n</mml:mi>
                <mml:mo>]</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>{</mml:mo>
                <mml:mrow>
                  <mml:mtable>
                    <mml:mtr>
                      <mml:mtd>
                        <mml:mrow>
                          <mml:mn>1</mml:mn>
                          <mml:mo>,</mml:mo>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd>
                        <mml:mrow>
                          <mml:mtext>if</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mi>n</mml:mi>
                          <mml:mo>∈</mml:mo>
                          <mml:mi mathvariant="script">W</mml:mi>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:msup>
                                <mml:mi>t</mml:mi>
                                <mml:mrow>
                                  <mml:mtext>\*</mml:mtext>
                                </mml:mrow>
                              </mml:msup>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mtext>for</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mtext>at</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mtext>least</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mtext>one</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:mtext>transition</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:msup>
                            <mml:mi>t</mml:mi>
                            <mml:mrow>
                              <mml:mtext>\*</mml:mtext>
                            </mml:mrow>
                          </mml:msup>
                          <mml:mo>,</mml:mo>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr>
                      <mml:mtd>
                        <mml:mrow>
                          <mml:mn>0</mml:mn>
                          <mml:mo>,</mml:mo>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd>
                        <mml:mrow>
                          <mml:mtext>otherwise</mml:mtext>
                          <mml:mo>.</mml:mo>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                  </mml:mtable>
                </mml:mrow>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>A label of <inline-formula><mml:math><mml:mrow><mml:mi> y </mml:mi><mml:mrow><mml:mo> [ </mml:mo><mml:mi> n </mml:mi><mml:mo> ] </mml:mo></mml:mrow><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> indicates that the sample occurs within the critical pre-transition window where prodromal behavioral signatures are hypothesized to emerge.</p>
        <p>2.3.4. Clinical Interpretation of the Label</p>
        <p>This labelling strategy directly corresponds to a short-horizon early-warning task:</p>
        <p>Given the last 12 behavioural observations, can we determine whether the subject is approaching a mood-state change? The choice of a 12-sample horizon is motivated by:</p>
        <p>Evidence that prodromal signals often appear within hours rather than days,The desire to construct a challenging yet clinically meaningful prediction task,Practical considerations of continuous mobile monitoring.</p>
        <p>The resulting labels reflect imminent risk, without incorporating any information about the future mood trajectory.</p>
        <p>2.3.5. Distributional Properties and Predictive Difficulty</p>
        <p>Given that transitions are relatively rare events in bipolar disorder, the fraction of samples satisfying <inline-formula><mml:math><mml:mrow><mml:mi> y </mml:mi><mml:mrow><mml:mo> [ </mml:mo><mml:mi> n </mml:mi><mml:mo> ] </mml:mo></mml:mrow><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> is small. Consequently, the dataset is characterized by severe class imbalance, with stable windows dominating the distribution.</p>
        <p>This imbalance is visualized in <xref ref-type="fig" rid="fig2">Figure 2</xref><xref ref-type="fig" rid="fig2">Figure 2</xref>, which depicts the frequency of stable versus switch-imminent samples. The rarity of transitions mirrors clinical reality and underscores the difficulty of detecting early prodromal signatures from short behavioural sequences.</p>
        <p>This figure illustrates the proportion of behavioural samples labelled as “switch imminent” (within 12 samples before a latent state transition) relative to stable samples. The distribution is highly imbalanced, with transition-proximal observations forming only a small minority. This reflects real-world affective dynamics in bipolar disorder, where long stable periods are punctuated by infrequent episode shifts, and highlights the inherent difficulty of short-horizon early-warning prediction.</p>
        <fig id="fig2">
          <label>Figure 2</label>
          <graphic xlink:href="https://html.scirp.org/file/1114917-rId89.jpeg?20260318024113" />
        </fig>
        <p><bold>Figure 2.</bold> Distribution of switch-imminent and stable samples across the full dataset.</p>
      </sec>
      <sec id="sec2dot4">
        <title>2.4. Sequence Formation</title>
        <p>To transform the continuous behavioural time series into a supervised learning dataset, we extract fixed-length temporal windows using a sliding-window procedure. Let</p>
        <disp-formula id="FD20">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>x</mml:mi>
                <mml:mi>n</mml:mi>
              </mml:msub>
              <mml:mo>∈</mml:mo>
              <mml:msup>
                <mml:mi>ℝ</mml:mi>
                <mml:mn>6</mml:mn>
              </mml:msup>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>denote the six-dimensional multimodal feature vector at flattened time index <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> .</p>
        <p>Each sequence <inline-formula><mml:math><mml:mrow><mml:msub><mml:mstyle mathvariant="bold" mathsize="normal"><mml:mi> X </mml:mi></mml:mstyle><mml:mi> k </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is constructed as:</p>
        <disp-formula id="FD21">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mstyle mathvariant="bold" mathsize="normal">
                  <mml:mi>X</mml:mi>
                </mml:mstyle>
                <mml:mi>k</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mrow>
                  <mml:mtable>
                    <mml:mtr>
                      <mml:mtd>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>x</mml:mi>
                            <mml:mi>n</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr>
                      <mml:mtd>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>x</mml:mi>
                            <mml:mrow>
                              <mml:mi>n</mml:mi>
                              <mml:mo>+</mml:mo>
                              <mml:mn>1</mml:mn>
                            </mml:mrow>
                          </mml:msub>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr>
                      <mml:mtd>
                        <mml:mo>⋮</mml:mo>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr>
                      <mml:mtd>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>x</mml:mi>
                            <mml:mrow>
                              <mml:mi>n</mml:mi>
                              <mml:mo>+</mml:mo>
                              <mml:mn>11</mml:mn>
                            </mml:mrow>
                          </mml:msub>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                  </mml:mtable>
                </mml:mrow>
                <mml:mo>]</mml:mo>
              </mml:mrow>
              <mml:mo>∈</mml:mo>
              <mml:msup>
                <mml:mi>ℝ</mml:mi>
                <mml:mrow>
                  <mml:mn>12</mml:mn>
                  <mml:mo>×</mml:mo>
                  <mml:mn>6</mml:mn>
                </mml:mrow>
              </mml:msup>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where the window length of 12 samples corresponds to approximately 12 hours of behavioural history.</p>
        <p>The label assigned to this sequence is simply the label of its final time step:</p>
        <disp-formula id="FD22">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mi>k</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mi>y</mml:mi>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mrow>
                  <mml:mi>n</mml:mi>
                  <mml:mo>+</mml:mo>
                  <mml:mn>11</mml:mn>
                </mml:mrow>
                <mml:mo>]</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>ensuring that each input window is aligned with the outcome that follows immediately after it.</p>
        <p>A sliding stride of 3 samples is applied:</p>
        <disp-formula id="FD23">
          <mml:math>
            <mml:mrow>
              <mml:mi>n</mml:mi>
              <mml:mo>→</mml:mo>
              <mml:mi>n</mml:mi>
              <mml:mo>+</mml:mo>
              <mml:mn>3</mml:mn>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>producing overlapping windows that capture rich temporal variability while maintaining sufficient sample diversity. Over all subjects, this yields a total of:</p>
        <p>11,800 training sequences.</p>
        <p>This formulation provides the model with short, partially overlapping windows resembling those obtainable from continuous real-world mobile sensing streams.</p>
      </sec>
      <sec id="sec2dot5">
        <title>2.5. Data Splitting</title>
        <p>To evaluate model performance, the full set of 11,800 sequences is partitioned into:</p>
        <p><bold>Training</bold><bold>set:</bold> 80% of sequences</p>
        <p>9440 sequences</p>
        <p><bold>Held-out</bold><bold>set</bold><bold>(</bold><bold>“</bold><bold>test</bold><bold>set</bold><bold>”</bold><bold>):</bold> 20% of sequences</p>
        <p>2360 sequences</p>
        <p>To ensure unbiased evaluation, the dataset was divided into three non-overlapping subsets:</p>
        <p>Training set: 70% of sequencesValidation set: 10% of sequencesTest set: 20% of sequences</p>
        <p>The validation set was used exclusively for monitoring epoch-wise performance and early stopping. The test set remained completely unseen during training and was used only once for final performance reporting. All splits were stratified to preserve the class imbalance (~8% switch-imminent windows). No sequence from the test set was used during model development.</p>
      </sec>
      <sec id="sec2dot6">
        <title>2.6. Transformer Architecture</title>
        <p>The lightweight transformer model processes each sequence <inline-formula><mml:math><mml:mrow><mml:msub><mml:mstyle mathvariant="bold" mathsize="normal"><mml:mi> X </mml:mi></mml:mstyle><mml:mi> k </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> through several stages designed to capture temporal dependencies and cross-feature interactions.</p>
        <p>2.6.1. Input Projection</p>
        <p>Each six-dimensional feature vector is linearly projected into a <inline-formula><mml:math><mml:mrow><mml:mi> d </mml:mi><mml:mo> = </mml:mo><mml:mn> 64 </mml:mn></mml:mrow></mml:math></inline-formula> -dimensional embedding space:</p>
        <disp-formula id="FD24">
          <mml:math>
            <mml:mrow>
              <mml:mstyle mathvariant="bold" mathsize="normal">
                <mml:mi>E</mml:mi>
              </mml:mstyle>
              <mml:mo>=</mml:mo>
              <mml:mstyle mathvariant="bold" mathsize="normal">
                <mml:mi>X</mml:mi>
              </mml:mstyle>
              <mml:msub>
                <mml:mi>W</mml:mi>
                <mml:mrow>
                  <mml:mtext>proj</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mo>+</mml:mo>
              <mml:msub>
                <mml:mi>b</mml:mi>
                <mml:mrow>
                  <mml:mtext>proj</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <disp-formula id="FD25">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>W</mml:mi>
                <mml:mrow>
                  <mml:mtext>proj</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mo>∈</mml:mo>
              <mml:msup>
                <mml:mi>ℝ</mml:mi>
                <mml:mrow>
                  <mml:mn>6</mml:mn>
                  <mml:mo>×</mml:mo>
                  <mml:mn>64</mml:mn>
                </mml:mrow>
              </mml:msup>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>This expansion enhances the representational capacity of the model.</p>
        <p>2.6.2. Positional Encoding</p>
        <p>Transformers lack inherent temporal ordering, so positional information is incorporated by adding a learnable positional encoding matrix <inline-formula><mml:math><mml:mstyle mathvariant="bold" mathsize="normal"><mml:mi> P </mml:mi></mml:mstyle></mml:math></inline-formula> :</p>
        <disp-formula id="FD26">
          <mml:math>
            <mml:mrow>
              <mml:mstyle mathvariant="bold" mathsize="normal">
                <mml:mi>Z</mml:mi>
              </mml:mstyle>
              <mml:mo>=</mml:mo>
              <mml:mstyle mathvariant="bold" mathsize="normal">
                <mml:mi>E</mml:mi>
              </mml:mstyle>
              <mml:mo>+</mml:mo>
              <mml:mstyle mathvariant="bold" mathsize="normal">
                <mml:mi>P</mml:mi>
              </mml:mstyle>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>ensuring the model can distinguish between early and late elements of a behavioural sequence.</p>
        <p>2.6.3. Multi-Head Self-Attention</p>
        <p>The core mechanism enabling temporal reasoning is self-attention, which relates each time step to every other within the window. Query, key, and value projections are computed as:</p>
        <disp-formula id="FD27">
          <mml:math>
            <mml:mrow>
              <mml:mi>Q</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mstyle mathvariant="bold" mathsize="normal">
                <mml:mi>Z</mml:mi>
              </mml:mstyle>
              <mml:msub>
                <mml:mi>W</mml:mi>
                <mml:mi>Q</mml:mi>
              </mml:msub>
              <mml:mo>,</mml:mo>
              <mml:mi>K</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mstyle mathvariant="bold" mathsize="normal">
                <mml:mi>Z</mml:mi>
              </mml:mstyle>
              <mml:msub>
                <mml:mi>W</mml:mi>
                <mml:mi>K</mml:mi>
              </mml:msub>
              <mml:mo>,</mml:mo>
              <mml:mi>V</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mstyle mathvariant="bold" mathsize="normal">
                <mml:mi>Z</mml:mi>
              </mml:mstyle>
              <mml:msub>
                <mml:mi>W</mml:mi>
                <mml:mi>V</mml:mi>
              </mml:msub>
              <mml:mo>.</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Self-attention is then computed as:</p>
        <disp-formula id="FD28">
          <mml:math>
            <mml:mrow>
              <mml:mtext>Attention</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mi>Q</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>K</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>V</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mtext>softmax</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mfrac>
                    <mml:mrow>
                      <mml:mi>Q</mml:mi>
                      <mml:msup>
                        <mml:mi>K</mml:mi>
                        <mml:mo>⊤</mml:mo>
                      </mml:msup>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:msqrt>
                        <mml:mi>d</mml:mi>
                      </mml:msqrt>
                    </mml:mrow>
                  </mml:mfrac>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mi>V</mml:mi>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where the denominator <inline-formula><mml:math><mml:mrow><mml:msqrt><mml:mi> d </mml:mi></mml:msqrt></mml:mrow></mml:math></inline-formula> stabilizes gradient magnitudes. This operation enables the model to assign greater weight to specific time steps e.g., sudden behavioural fluctuations believed to precede transitions. Multiple attention heads run in parallel, allowing the model to learn diverse interaction patterns (e.g., sleep–activity coupling, keystroke–screen-time synchrony).</p>
        <p>2.6.4. Position-Wise Feed-Forward Network</p>
        <p>Each time step is then transformed independently through a nonlinear feed-forward block:</p>
        <disp-formula id="FD29">
          <mml:math>
            <mml:mrow>
              <mml:mtext>FFN</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>x</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mtext>ReLU</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mi>x</mml:mi>
                  <mml:msub>
                    <mml:mi>W</mml:mi>
                    <mml:mn>1</mml:mn>
                  </mml:msub>
                  <mml:mo>+</mml:mo>
                  <mml:msub>
                    <mml:mi>b</mml:mi>
                    <mml:mn>1</mml:mn>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:msub>
                <mml:mi>W</mml:mi>
                <mml:mn>2</mml:mn>
              </mml:msub>
              <mml:mo>+</mml:mo>
              <mml:msub>
                <mml:mi>b</mml:mi>
                <mml:mn>2</mml:mn>
              </mml:msub>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>which increases expressiveness and filters high-level temporal patterns. Residual connections and layer normalization (implicit in the architecture) stabilize training and improve generalization.</p>
        <p>2.6.5. Classification Head</p>
        <p>After repeated layers of attention and feed-forward transformations, the resulting sequence representation is flattened:</p>
        <disp-formula id="FD30">
          <mml:math>
            <mml:mrow>
              <mml:mi>h</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mtext>Flatten</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mstyle mathvariant="bold" mathsize="normal">
                      <mml:mi>Z</mml:mi>
                    </mml:mstyle>
                    <mml:mrow>
                      <mml:mtext>final</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>and mapped to a 2-class probability distribution:</p>
        <disp-formula id="FD31">
          <mml:math>
            <mml:mrow>
              <mml:mover accent="true">
                <mml:mi>y</mml:mi>
                <mml:mo>^</mml:mo>
              </mml:mover>
              <mml:mo>=</mml:mo>
              <mml:mtext>softmax</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>W</mml:mi>
                    <mml:mi>c</mml:mi>
                  </mml:msub>
                  <mml:mi>h</mml:mi>
                  <mml:mo>+</mml:mo>
                  <mml:msub>
                    <mml:mi>b</mml:mi>
                    <mml:mi>c</mml:mi>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>.</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>The output <inline-formula><mml:math><mml:mover accent="true"><mml:mi> y </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:math></inline-formula> estimates the probability that the sequence lies within the imminent-transition window.</p>
      </sec>
      <sec id="sec2dot7">
        <title>2.7. Loss Function</title>
        <p>Because the dataset exhibits severe class imbalance only ≈8% of sequences correspond to upcoming transitions the model is optimized using weighted cross-entropy, which compensates for unequal class frequencies.</p>
        <p>Let:</p>
        <p><inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> be the total number of training sequences<inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> N </mml:mi><mml:mi> c </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the number of sequences in class <inline-formula><mml:math><mml:mrow><mml:mi> c </mml:mi><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 0 </mml:mn><mml:mo> , </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula></p>
        <p>Then the class weights are:</p>
        <disp-formula id="FD32">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>w</mml:mi>
                <mml:mi>c</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mi>N</mml:mi>
                <mml:mrow>
                  <mml:mn>2</mml:mn>
                  <mml:msub>
                    <mml:mi>N</mml:mi>
                    <mml:mi>c</mml:mi>
                  </mml:msub>
                </mml:mrow>
              </mml:mfrac>
              <mml:mo>.</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>The weighted cross-entropy loss for a single sequence is:</p>
        <disp-formula id="FD33">
          <mml:math>
            <mml:mrow>
              <mml:mi>ℒ</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mo>−</mml:mo>
              <mml:msub>
                <mml:mi>w</mml:mi>
                <mml:mn>1</mml:mn>
              </mml:msub>
              <mml:mi>y</mml:mi>
              <mml:mtext>log</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mover accent="true">
                  <mml:mi>p</mml:mi>
                  <mml:mo>^</mml:mo>
                </mml:mover>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>−</mml:mo>
              <mml:msub>
                <mml:mi>w</mml:mi>
                <mml:mn>0</mml:mn>
              </mml:msub>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mn>1</mml:mn>
                  <mml:mo>−</mml:mo>
                  <mml:mi>y</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mtext>log</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mn>1</mml:mn>
                  <mml:mo>−</mml:mo>
                  <mml:mover accent="true">
                    <mml:mi>p</mml:mi>
                    <mml:mo>^</mml:mo>
                  </mml:mover>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where:</p>
        <p><inline-formula><mml:math><mml:mrow><mml:mi> y </mml:mi><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 0 </mml:mn><mml:mo> , </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is the ground-truth label,<inline-formula><mml:math><mml:mover accent="true"><mml:mi> p </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:math></inline-formula> is the predicted probability of the switch-imminent class.</p>
        <p>This formulation penalizes misclassification of transition windows more strongly than misclassification of stable windows, thereby encouraging sensitivity to prodromal patterns while preserving model stability.</p>
        <p>To evaluate whether temporal modelling provides added value beyond static feature analysis, we implemented two baseline classifiers. For each sequence, the six behavioural features were averaged across the 12-time steps, resulting in a 6-dimensional static representation.</p>
        <p><bold>Logistic</bold><bold>Regression:</bold> A weighted logistic regression model was trained using the same class-weighting scheme as the transformer.</p>
        <p><bold>Random</bold><bold>Forest:</bold> A Random Forest classifier (100 trees) was trained on the same aggregated features with class weighting to address imbalance.</p>
        <p>These baselines assess whether imminent transitions can be predicted using static magnitude features alone.</p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Results</title>
      <sec id="sec3dot1">
        <title>3.1. Behavioural Feature Distributions</title>
        <p>To characterize the behavioural landscape of the synthetic dataset and to assess whether prodromal changes manifest in individual modalities, we examined the label-conditioned distributions of all six digital phenotyping features. <xref ref-type="fig" rid="fig3">Figure 3</xref> (panels 3a-3f) presents histograms comparing each feature’s distribution during stable periods versus switch-imminent windows [<xref ref-type="bibr" rid="B47">47</xref>][<xref ref-type="bibr" rid="B48">48</xref>].</p>
        <p>Across all modalities, distributions overlap substantially, indicating that imminent transitions cannot be identified from single-feature magnitude alone. Nevertheless, subtle yet meaningful patterns emerge. In <xref ref-type="fig" rid="fig3">Figure 3(a)</xref>, physical activity shows a mild reduction prior to depressive shifts and increased variability preceding manic escalation, reflecting bipolar disorder’s bidirectional motor signatures. <xref ref-type="fig" rid="fig3">Figure 3(b)</xref> demonstrates that sleep duration is slightly elevated in transition-proximal periods consistent with depressive prodromes while also exhibiting shortened sleep associated with emerging manic states, resulting in a wide, heterogeneous distribution. The distribution of social interaction (<xref ref-type="fig" rid="fig3">Figure 3(c)</xref>) reveals lower central tendency and increased irregularity before transitions, reflecting behavioural withdrawal, mood lability, or agitation. <xref ref-type="fig" rid="fig3">Figure 3(d)</xref>, representing voice-related features, shows subtle broadening of the distribution in switch-imminent windows, capturing the heightened vocal instability often observed before manic or mixed episodes. Keystroke dynamics in <xref ref-type="fig" rid="fig3">Figure 3(e)</xref> exhibit a notable increase in variance, consistent with psychomotor agitation or slowing, both of which may precede state shifts [<xref ref-type="bibr" rid="B49">49</xref>]-[<xref ref-type="bibr" rid="B51">51</xref>]. Finally, <xref ref-type="fig" rid="fig3">Figure 3(f)</xref> shows greater dispersion in screen-time behaviour, likely driven by nocturnal wakefulness, increased stimulation seeking, or pre-episode behavioural dysregulation. Altogether, these results demonstrate that while individual features do not yield strong static separation between classes, they exhibit state-dependent variability and destabilization patterns that can serve as valuable temporal cues. This reinforces the need for sequence-aware models such as transformers to capture distributed micro-dynamics rather than relying on single-snapshot measurements.</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <graphic xlink:href="https://html.scirp.org/file/1114917-rId144.jpeg?20260318024113" />
        </fig>
        <p><bold>Figure 3.</bold> Label-conditioned distributions of six behavioural features arranged in two rows: Row 1 (a) Physical Activity (left), (b) Sleep Duration (middle), (c) Social Interaction (right); Row 2 (d) Voice Features (left), (e) Keystroke Dynamics (middle), and (f) Screen Time (right). Each panel compares the distribution of stable windows (label = 0) with switch-imminent windows (label = 1). Although substantial overlap exists across all modalities, the switch-imminent class exhibits distinct increases in variance, broader tails, and subtle shifts in central tendency, reflecting the destabilized behavioural patterns that often precede mood-state transitions [<xref ref-type="bibr" rid="B52">52</xref>]-[<xref ref-type="bibr" rid="B54">54</xref>]. These findings underscore the need for temporal sequence modelling to capture prodromal micro-dynamics beyond static feature magnitudes.</p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Training Behaviour</title>
        <p>The training dynamics of the lightweight transformer reveal a stable and interpretable learning trajectory across 50 epochs. As illustrated in <xref ref-type="fig" rid="fig4">Figure 4(a)</xref> and <xref ref-type="fig" rid="fig4">Figure 4(b)</xref>, the training loss exhibits a consistent downward trend, indicating that the model can extract meaningful temporal representations from the multimodal behavioural sequences. In contrast, the validation loss fluctuates within a narrow band around a stable plateau, reflecting the inherent noise of the synthetic environment and the difficulty of predicting rare transition events [<xref ref-type="bibr" rid="B55">55</xref>]-[<xref ref-type="bibr" rid="B60">60</xref>]. Such oscillatory behaviour is expected in settings characterized by severe class imbalance and highly overlapping feature distributions. Despite these challenges, the model does not collapse into degenerate solutions such as majority-class prediction. Instead, both training and validation accuracy remain significantly above chance, demonstrating partial but robust learnability. The divergence between the training and validation curves is moderate and stable, suggesting that the model captures generalizable dynamics without overfitting to spurious temporal patterns [<xref ref-type="bibr" rid="B61">61</xref>]-[<xref ref-type="bibr" rid="B63">63</xref>]. These results support the capacity of even a compact transformer to model subtle, temporally distributed variations associated with prodromal mood instability.</p>
        <fig id="fig4">
          <label>Figure 4</label>
          <graphic xlink:href="https://html.scirp.org/file/1114917-rId145.jpeg?20260318024113" />
        </fig>
        <p><bold>Figure 4.</bold> Training dynamics of the lightweight transformer model: (a) Training and validation loss across epochs; (b) Training and validation accuracy. Training loss decreases monotonically, while validation metrics oscillate around stable plateaus, reflecting noisy data conditions, class imbalance, and the complexity of predicting rare transition windows.</p>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Predictive Accuracy</title>
        <p>The predictive performance of the transformer on the held-out sequence set demonstrates its ability to detect non-trivial early-warning signals. The model achieves an overall accuracy of 55.38%, which exceeds the 50% chance-level baseline despite substantial distributional overlap between stable and switch-imminent windows. Sensitivity reaches 0.597, indicating that the model successfully identifies nearly 60% of imminent transitions. Specificity remains moderate at 0.550, suggesting a tendency toward false positives during behaviourally volatile but non-transitioning periods an expected artifact of noisy prodromal-like fluctuations. The F1-score of 0.174, though modest, reflects the severe imbalance of the dataset. The ROC-AUC of 0.622 demonstrates meaningful discriminative power, confirming that the model captures temporal structure beyond random guessing. The confusion matrix in <xref ref-type="fig" rid="fig5">Figure 5</xref><xref ref-type="fig" rid="fig5">Figure 5</xref> provides further insight into classification behaviour. True positives occur predominantly in cases where behavioural signatures express clear destabilization, whereas false negatives tend to arise in abrupt transitions lacking prodromal buildup. Conversely, false positives frequently align with irregular but non-transitioning periods, highlighting the challenge of distinguishing genuine early-warning signals from routine behavioural variability.</p>
        <p>The ROC curve shown in <xref ref-type="fig" rid="fig6">Figure 6</xref><xref ref-type="fig" rid="fig6">Figure 6</xref> rises consistently above the diagonal reference line, validating that the model reliably ranks transition-proximal sequences higher than stable ones across decision thresholds. This property is especially important for clinical applications, where threshold tuning may vary according to risk tolerance or intervention requirements. Overall, the model exhibits promising discriminative capacity given the challenging nature of the task and the lightweight architecture employed.</p>
        <fig id="fig5">
          <label>Figure 5</label>
          <graphic xlink:href="https://html.scirp.org/file/1114917-rId146.jpeg?20260318024113" />
        </fig>
        <p><bold>Figure 5.</bold> Confusion matrix showing true and predicted labels for the held-out sequence set. The model captures a substantial proportion of switch-imminent windows (true positives) while generating false positives during noisy stable periods and false negatives during abrupt transitions, reflecting the inherent difficulty of early-warning prediction.</p>
        <fig id="fig6">
          <label>Figure 6</label>
          <graphic xlink:href="https://html.scirp.org/file/1114917-rId147.jpeg?20260318024113" />
        </fig>
        <p><bold>Figure 6.</bold> Receiver operating characteristic (ROC) curve for imminent-transition classification. The ROC-AUC of 0.622 demonstrates above-chance discrimination, indicating that the lightweight transformer successfully captures temporal patterns predictive of mood-state transitions.</p>
        <p>The Logistic Regression baseline achieved an ROC-AUC of 0.541 and F1-score of 0.098.</p>
        <p>The Random Forest achieved an ROC-AUC of 0.566 and F1-score of 0.121. Both baselines underperformed relative to the transformer (ROC-AUC 0.622), supporting the hypothesis that temporal micro-patterns contribute meaningfully to early-warning prediction.</p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Discussion</title>
      <p>The present study demonstrates that a lightweight transformer can extract predictive temporal signatures associated with imminent mood-state transitions, even under highly challenging conditions. Despite operating on short sequences of only 12-time steps and learning from behavioural signals generated through stochastic, noisy processes, the model successfully identifies more than 59% of transition-proximal windows. This level of sensitivity is notable given the weak alignment between individual features and the binary label, as well as the extreme class imbalance inherent in the dataset. These findings indicate that mood destabilization is not reflected in simple shifts in feature magnitude, but rather in temporal micro-dynamics small, distributed irregularities spanning multiple behavioural modalities. Such patterns are precisely the type of structure that transformer architectures are designed to capture through self-attention mechanisms.</p>
      <p>The lightweight nature of the model, containing fewer than 200 k parameters, holds particular importance for digital mental health applications. Unlike larger deep learning models whose computational cost limits their suitability for continuous mobile deployment this architecture offers a balance between predictive power and on-device feasibility. Its efficiency opens pathways toward real-time early-warning systems integrated into smartphones or wearable devices, enabling interventions that could occur hours before an episode becomes clinically manifest. Nevertheless, several limitations must be acknowledged. First, although the synthetic dataset is mathematically transparent and clinically motivated, it cannot fully replicate the complexity, heterogeneity, and contextual influences present in real-world human behaviour. Future work should validate these findings on naturalistic clinical datasets captured through smartphone sensing or wearable tracking. Second, the current experimental design does not incorporate subject-wise segregation in training and testing, meaning generalization across unseen individuals remains untested. Third, the model operates with a fixed 12-step prediction horizon; in practice, prodromal phases may vary widely across individuals and episodes. Although the ROC-AUC demonstrates above-chance discrimination, the low F1-score (0.174) reflects the severe class imbalance and elevated false-positive rate. In real-world deployment, excessive false alerts could contribute to alarm fatigue, reducing user trust and adherence. Therefore, practical implementation would require threshold calibration, personalized risk modelling, and integration with contextual clinical signals to balance sensitivity with acceptable alert burden. Future directions include the development of multi-horizon forecasting frameworks, incorporation of uncertainty-aware prediction heads, personalized modelling strategies, and systematic evaluation on real-world digital phenotyping pipelines. Integrating additional modalities such as speech embeddings, location mobility, physiological sensing, and passive cognitive indicators may further enhance predictive power. Ultimately, these advances aim toward constructing clinically actionable tools capable of improving relapse prevention and mood stabilization in bipolar disorder.</p>
    </sec>
    <sec id="sec5">
      <title>5. Conclusions</title>
      <p>This work introduces a mathematically rigorous synthetic framework for modelling multimodal digital phenotyping signals in bipolar disorder and demonstrates that a compact transformer architecture can detect precursors of imminent mood transitions from short behavioural sequences [<xref ref-type="bibr" rid="B64">64</xref>]-[<xref ref-type="bibr" rid="B66">66</xref>]. The model’s above-chance performance under severe noise, weak feature-label correspondence, and significant class imbalance validates its ability to infer subtle temporal cues associated with affective destabilization. These results provide an important proof of concept: even lightweight sequence models can uncover early-warning signals that are not visibly apparent in static behavioural features.</p>
      <p>Beyond demonstrating feasibility, this study contributes a fully transparent and reproducible testbed for the systematic development, benchmarking, and refinement of early-warning algorithms in computational psychiatry. By bridging synthetic modelling, temporal deep learning, and digital phenotyping, this work establishes a foundation on which future, clinically deployable systems may be built. With further development including personalization, uncertainty estimation, and evaluation on real-world data the framework presented here may ultimately support proactive, real-time mental health monitoring capable of anticipating mood transitions before they evolve into full episodes. </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Muneer, A. (2016) Staging Models in Bipolar Disorder: A Systematic Review of the Literature. <italic>Clinical Psychopharmacology and Neuroscience</italic>, 14, 117-130. https://doi.org/10.9758/cpn.2016.14.2.117 <pub-id pub-id-type="doi">10.9758/cpn.2016.14.2.117</pub-id><pub-id pub-id-type="pmid">27121423</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.9758/cpn.2016.14.2.117">https://doi.org/10.9758/cpn.2016.14.2.117</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Muneer, A.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Staging Models in Bipolar Disorder: A Systematic Review of the Literature</article-title>
            <source>Clinical Psychopharmacology and Neuroscience</source>
            <volume>14</volume>
            <pub-id pub-id-type="doi">10.9758/cpn.2016.14.2.117</pub-id>
            <pub-id pub-id-type="pmid">27121423</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">McIntyre, R.S., Alda, M., Baldessarini, R.J., Bauer, M., Berk, M., Correll, C.U., <italic>et al</italic>. (2022) The Clinical Characterization of the Adult Patient with Bipolar Disorder Aimed at Personalization of Management. <italic>World Psychiatry</italic>, 21, 364-387. https://doi.org/10.1002/wps.20997 <pub-id pub-id-type="doi">10.1002/wps.20997</pub-id><pub-id pub-id-type="pmid">36073706</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/wps.20997">https://doi.org/10.1002/wps.20997</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>McIntyre, R.S.</string-name>
              <string-name>Alda, M.</string-name>
              <string-name>Baldessarini, R.J.</string-name>
              <string-name>Bauer, M.</string-name>
              <string-name>Berk, M.</string-name>
              <string-name>Correll, C.U.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>The Clinical Characterization of the Adult Patient with Bipolar Disorder Aimed at Personalization of Management</article-title>
            <source>World Psychiatry</source>
            <volume>21</volume>
            <pub-id pub-id-type="doi">10.1002/wps.20997</pub-id>
            <pub-id pub-id-type="pmid">36073706</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Simonetti, A., Koukopoulos, A.E., Kotzalidis, G.D., Janiri, D., De Chiara, L., Janiri, L., <italic>et al</italic>. (2020) Stabilization Beyond Mood: Stabilizing Patients with Bipolar Disorder in the Various Phases of Life. <italic>Frontiers in Psychiatry</italic>, 11, Article No. 247. https://doi.org/10.3389/fpsyt.2020.00247 <pub-id pub-id-type="doi">10.3389/fpsyt.2020.00247</pub-id><pub-id pub-id-type="pmid">32395107</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fpsyt.2020.00247">https://doi.org/10.3389/fpsyt.2020.00247</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Simonetti, A.</string-name>
              <string-name>Koukopoulos, A.E.</string-name>
              <string-name>Kotzalidis, G.D.</string-name>
              <string-name>Janiri, D.</string-name>
              <string-name>Chiara, L.</string-name>
              <string-name>Janiri, L.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Stabilization Beyond Mood: Stabilizing Patients with Bipolar Disorder in the Various Phases of Life</article-title>
            <source>Frontiers in Psychiatry</source>
            <volume>11</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fpsyt.2020.00247</pub-id>
            <pub-id pub-id-type="pmid">32395107</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Guglielmo, R., Escelsior, A., Amore, M. and Serafini, G. (2024) Mood Instability as Prodrome of Bipolar Disorder. <italic>Journal of Psychopathology</italic>, 30, 31-37.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Guglielmo, R.</string-name>
              <string-name>Escelsior, A.</string-name>
              <string-name>Amore, M.</string-name>
              <string-name>Serafini, G.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Mood Instability as Prodrome of Bipolar Disorder</article-title>
            <source>Journal of Psychopathology</source>
            <volume>30</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Cochran, A.L. and Vineyard, J. (2025) The Dynamics of Mood in Bipolar Disorder: How Mathematical Models Help Phenotype Individuals, Forecast Mood, and Clarify Underlying Mechanisms. <italic>Current Psychiatry Reports</italic>, 27, 687-696. https://doi.org/10.1007/s11920-025-01647-z <pub-id pub-id-type="doi">10.1007/s11920-025-01647-z</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s11920-025-01647-z">https://doi.org/10.1007/s11920-025-01647-z</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Cochran, A.L.</string-name>
              <string-name>Vineyard, J.</string-name>
              <string-name>Individuals, F</string-name>
            </person-group>
            <year>2025</year>
            <article-title>The Dynamics of Mood in Bipolar Disorder: How Mathematical Models Help Phenotype Individuals, Forecast Mood, and Clarify Underlying Mechanisms</article-title>
            <source>Current Psychiatry Reports</source>
            <volume>27</volume>
            <pub-id pub-id-type="doi">10.1007/s11920-025-01647-z</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Stein, D.J., Shoptaw, S.J., Vigo, D.V., Lund, C., Cuijpers, P., Bantjes, J., <italic>et al</italic>. (2022) Psychiatric Diagnosis and Treatment in the 21st Century: Paradigm Shifts versus Incremental Integration. <italic>World Psychiatry</italic>, 21, 393-414. https://doi.org/10.1002/wps.20998 <pub-id pub-id-type="doi">10.1002/wps.20998</pub-id><pub-id pub-id-type="pmid">36073709</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/wps.20998">https://doi.org/10.1002/wps.20998</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Stein, D.J.</string-name>
              <string-name>Shoptaw, S.J.</string-name>
              <string-name>Vigo, D.V.</string-name>
              <string-name>Lund, C.</string-name>
              <string-name>Cuijpers, P.</string-name>
              <string-name>Bantjes, J.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Psychiatric Diagnosis and Treatment in the 21st Century: Paradigm Shifts versus Incremental Integration</article-title>
            <source>World Psychiatry</source>
            <volume>21</volume>
            <pub-id pub-id-type="doi">10.1002/wps.20998</pub-id>
            <pub-id pub-id-type="pmid">36073709</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Hirschtritt, M.E. and Insel, T.R. (2018) Digital Technologies in Psychiatry: Present and Future. <italic>Focus</italic>, 16, 251-258. https://doi.org/10.1176/appi.focus.20180001 <pub-id pub-id-type="doi">10.1176/appi.focus.20180001</pub-id><pub-id pub-id-type="pmid">31975919</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1176/appi.focus.20180001">https://doi.org/10.1176/appi.focus.20180001</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Hirschtritt, M.E.</string-name>
              <string-name>Insel, T.R.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Digital Technologies in Psychiatry: Present and Future</article-title>
            <source>Focus</source>
            <volume>16</volume>
            <pub-id pub-id-type="doi">10.1176/appi.focus.20180001</pub-id>
            <pub-id pub-id-type="pmid">31975919</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Sidani, L., Nadar, S.M., Tfaili, J., El Rayes, S., Sharara, F., Elhage, J.C., <italic>et al</italic>. (2024) Digital Psychiatry: Opportunities, Challenges, and Future Directions. <italic>Journal of Psychiatric Practice</italic>, 30, 400-410. https://doi.org/10.1097/pra.0000000000000819 <pub-id pub-id-type="doi">10.1097/pra.0000000000000819</pub-id><pub-id pub-id-type="pmid">39655966</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1097/pra.0000000000000819">https://doi.org/10.1097/pra.0000000000000819</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Sidani, L.</string-name>
              <string-name>Nadar, S.M.</string-name>
              <string-name>Tfaili, J.</string-name>
              <string-name>Rayes, S.</string-name>
              <string-name>Sharara, F.</string-name>
              <string-name>Elhage, J.C.</string-name>
              <string-name>Opportunities, C</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Digital Psychiatry: Opportunities, Challenges, and Future Directions</article-title>
            <source>Journal of Psychiatric Practice</source>
            <volume>30</volume>
            <pub-id pub-id-type="doi">10.1097/pra.0000000000000819</pub-id>
            <pub-id pub-id-type="pmid">39655966</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Abbas, A., Schultebraucks, K. and Galatzer-Levy, I.R. (2021) Digital Measurement of Mental Health: Challenges, Promises, and Future Directions. <italic>Psychiatric Annals</italic>, 51, 14-20. https://doi.org/10.3928/00485713-20201207-01 <pub-id pub-id-type="doi">10.3928/00485713-20201207-01</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3928/00485713-20201207-01">https://doi.org/10.3928/00485713-20201207-01</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Abbas, A.</string-name>
              <string-name>Schultebraucks, K.</string-name>
              <string-name>Galatzer-Levy, I.R.</string-name>
              <string-name>Challenges, P</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Digital Measurement of Mental Health: Challenges, Promises, and Future Directions</article-title>
            <source>Psychiatric Annals</source>
            <volume>51</volume>
            <pub-id pub-id-type="doi">10.3928/00485713-20201207-01</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Ratnaparkhi, A. and Beckett, J. (2024) Digital Phenotyping, Wearables, and Outcomes. <italic>Neurosurgery Clinics of North America</italic>, 35, 235-241. https://doi.org/10.1016/j.nec.2023.11.009 <pub-id pub-id-type="doi">10.1016/j.nec.2023.11.009</pub-id><pub-id pub-id-type="pmid">38423739</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.nec.2023.11.009">https://doi.org/10.1016/j.nec.2023.11.009</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Ratnaparkhi, A.</string-name>
              <string-name>Beckett, J.</string-name>
              <string-name>Phenotyping, W</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Digital Phenotyping, Wearables, and Outcomes</article-title>
            <source>Neurosurgery Clinics of North America</source>
            <volume>35</volume>
            <pub-id pub-id-type="doi">10.1016/j.nec.2023.11.009</pub-id>
            <pub-id pub-id-type="pmid">38423739</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Perez-Pozuelo, I., Spathis, D., Clifton, E.A.D. and Mascolo, C. (2021) Wearables, Smartphones, and Artificial Intelligence for Digital Phenotyping and Health. In: Syed-Abdul, S., <italic>et al</italic>., Eds., <italic>Digital Health</italic>, Elsevier, 33-54. https://doi.org/10.1016/b978-0-12-820077-3.00003-1 <pub-id pub-id-type="doi">10.1016/b978-0-12-820077-3.00003-1</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/b978-0-12-820077-3.00003-1">https://doi.org/10.1016/b978-0-12-820077-3.00003-1</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Perez-Pozuelo, I.</string-name>
              <string-name>Spathis, D.</string-name>
              <string-name>Clifton, E.A.D.</string-name>
              <string-name>Mascolo, C.</string-name>
              <string-name>Wearables, S</string-name>
              <string-name>Syed-Abdul, S.</string-name>
              <string-name>Health, E</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Wearables, Smartphones, and Artificial Intelligence for Digital Phenotyping and Health</article-title>
            <source>In: Syed-Abdul</source>
            <volume>33</volume>
            <pub-id pub-id-type="doi">10.1016/b978-0-12-820077-3.00003-1</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Zakai, J.G. and Alharthi, S.A. (2025) Harnessing Digital Phenotyping for Early Self-Detection of Psychological Distress. <italic>Healthcare</italic>, 13, Article No. 2008. https://doi.org/10.3390/healthcare13162008 <pub-id pub-id-type="doi">10.3390/healthcare13162008</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/healthcare13162008">https://doi.org/10.3390/healthcare13162008</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Zakai, J.G.</string-name>
              <string-name>Alharthi, S.A.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Harnessing Digital Phenotyping for Early Self-Detection of Psychological Distress</article-title>
            <source>Healthcare</source>
            <volume>13</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.3390/healthcare13162008</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Trifan, A., Oliveira, M. and Oliveira, J.L. (2019) Passive Sensing of Health Outcomes through Smartphones: Systematic Review of Current Solutions and Possible Limitations. <italic>JMIR mHealth and</italic><italic>uHealth</italic>, 7, e12649. https://doi.org/10.2196/12649 <pub-id pub-id-type="doi">10.2196/12649</pub-id><pub-id pub-id-type="pmid">31444874</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2196/12649">https://doi.org/10.2196/12649</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Trifan, A.</string-name>
              <string-name>Oliveira, M.</string-name>
              <string-name>Oliveira, J.L.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Passive Sensing of Health Outcomes through Smartphones: Systematic Review of Current Solutions and Possible Limitations</article-title>
            <source>JMIR mHealth and uHealth</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.2196/12649</pub-id>
            <pub-id pub-id-type="pmid">31444874</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Altimier, L. and Boyle, B. (2021) Unprecedented Opportunities for a Transformational Change. <italic>Journal of Neonatal Nursing</italic>, 27, 157-164. https://doi.org/10.1016/j.jnn.2021.04.001 <pub-id pub-id-type="doi">10.1016/j.jnn.2021.04.001</pub-id><pub-id pub-id-type="pmid">33967584</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jnn.2021.04.001">https://doi.org/10.1016/j.jnn.2021.04.001</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Altimier, L.</string-name>
              <string-name>Boyle, B.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Unprecedented Opportunities for a Transformational Change</article-title>
            <source>Journal of Neonatal Nursing</source>
            <volume>27</volume>
            <pub-id pub-id-type="doi">10.1016/j.jnn.2021.04.001</pub-id>
            <pub-id pub-id-type="pmid">33967584</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Song, Z., He, Z., Li, X., Ma, Q., Ming, R., Mao, Z., <italic>et al</italic>. (2024) Synthetic Datasets for Autonomous Driving: A Survey. <italic>IEEE Transactions on Intelligent Vehicles</italic>, 9, 1847-1864. https://doi.org/10.1109/tiv.2023.3331024 <pub-id pub-id-type="doi">10.1109/tiv.2023.3331024</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/tiv.2023.3331024">https://doi.org/10.1109/tiv.2023.3331024</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Song, Z.</string-name>
              <string-name>He, Z.</string-name>
              <string-name>Li, X.</string-name>
              <string-name>Ma, Q.</string-name>
              <string-name>Ming, R.</string-name>
              <string-name>Mao, Z.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Synthetic Datasets for Autonomous Driving: A Survey</article-title>
            <source>IEEE Transactions on Intelligent Vehicles</source>
            <volume>9</volume>
            <pub-id pub-id-type="doi">10.1109/tiv.2023.3331024</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Martinez-Gonzalez, P., Oprea, S., Garcia-Garcia, A., Jover-Alvarez, A., Orts-Escolano, S. and Garcia-Rodriguez, J. (2019) Unrealrox: An Extremely Photorealistic Virtual Reality Environment for Robotics Simulations and Synthetic Data Generation. <italic>Virtual Reality</italic>, 24, 271-288. https://doi.org/10.1007/s10055-019-00399-5 <pub-id pub-id-type="doi">10.1007/s10055-019-00399-5</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s10055-019-00399-5">https://doi.org/10.1007/s10055-019-00399-5</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Martinez-Gonzalez, P.</string-name>
              <string-name>Oprea, S.</string-name>
              <string-name>Garcia-Garcia, A.</string-name>
              <string-name>Jover-Alvarez, A.</string-name>
              <string-name>Orts-Escolano, S.</string-name>
              <string-name>Garcia-Rodriguez, J.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Unrealrox: An Extremely Photorealistic Virtual Reality Environment for Robotics Simulations and Synthetic Data Generation</article-title>
            <source>Virtual Reality</source>
            <volume>24</volume>
            <pub-id pub-id-type="doi">10.1007/s10055-019-00399-5</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Hedström, P. and Ylikoski, P. (2010) Causal Mechanisms in the Social Sciences. <italic>Annual Review of Sociology</italic>, 36, 49-67. https://doi.org/10.1146/annurev.soc.012809.102632 <pub-id pub-id-type="doi">10.1146/annurev.soc.012809.102632</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1146/annurev.soc.012809.102632">https://doi.org/10.1146/annurev.soc.012809.102632</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Ylikoski, P.</string-name>
            </person-group>
            <year>2010</year>
            <article-title>Causal Mechanisms in the Social Sciences</article-title>
            <source>Annual Review of Sociology</source>
            <volume>36</volume>
            <pub-id pub-id-type="doi">10.1146/annurev.soc.012809.102632</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Bastarache, L., Brown, J.S., Cimino, J.J., Dorr, D.A., Embi, P.J., Payne, P.R.O., <italic>et al</italic>. (2021) Developing Real-World Evidence from Real-World Data: Transforming Raw Data into Analytical Datasets. <italic>Learning Health Systems</italic>, 6, e10293. https://doi.org/10.1002/lrh2.10293 <pub-id pub-id-type="doi">10.1002/lrh2.10293</pub-id><pub-id pub-id-type="pmid">35036557</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/lrh2.10293">https://doi.org/10.1002/lrh2.10293</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Bastarache, L.</string-name>
              <string-name>Brown, J.S.</string-name>
              <string-name>Cimino, J.J.</string-name>
              <string-name>Dorr, D.A.</string-name>
              <string-name>Embi, P.J.</string-name>
              <string-name>Payne, P.R.O.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Developing Real-World Evidence from Real-World Data: Transforming Raw Data into Analytical Datasets</article-title>
            <source>Learning Health Systems</source>
            <volume>6</volume>
            <pub-id pub-id-type="doi">10.1002/lrh2.10293</pub-id>
            <pub-id pub-id-type="pmid">35036557</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Roh, J., Mavrogiannis, C., Madan, R., Fox, D. and Srinivasa, S. (2021) Multimodal Trajectory Prediction via Topological Invariance for Navigation at Uncontrolled Intersections. <italic>Conference on Robot Learning</italic><italic>PMLR</italic>, London, 8-11 November 2021, 2216-2227.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Roh, J.</string-name>
              <string-name>Mavrogiannis, C.</string-name>
              <string-name>Madan, R.</string-name>
              <string-name>Fox, D.</string-name>
              <string-name>Srinivasa, S.</string-name>
              <string-name>PMLR, L</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Multimodal Trajectory Prediction via Topological Invariance for Navigation at Uncontrolled Intersections</article-title>
            <source>Conference on Robot Learning PMLR</source>
            <volume>8</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Ortiz, A., Hintze, A., Burnett, R., Gonzalez-Torres, C., Unger, S., Yang, D., <italic>et al</italic>. (2022) Identifying Patient-Specific Behaviors to Understand Illness Trajectories and Predict Relapses in Bipolar Disorder Using Passive Sensing and Deep Anomaly Detection: Protocol for a Contactless Cohort Study. <italic>BMC Psychiatry</italic>, 22, Article No. 288. https://doi.org/10.1186/s12888-022-03923-1 <pub-id pub-id-type="doi">10.1186/s12888-022-03923-1</pub-id><pub-id pub-id-type="pmid">35459150</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s12888-022-03923-1">https://doi.org/10.1186/s12888-022-03923-1</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Ortiz, A.</string-name>
              <string-name>Hintze, A.</string-name>
              <string-name>Burnett, R.</string-name>
              <string-name>Gonzalez-Torres, C.</string-name>
              <string-name>Unger, S.</string-name>
              <string-name>Yang, D.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Identifying Patient-Specific Behaviors to Understand Illness Trajectories and Predict Relapses in Bipolar Disorder Using Passive Sensing and Deep Anomaly Detection: Protocol for a Contactless Cohort Study</article-title>
            <source>BMC Psychiatry</source>
            <volume>22</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1186/s12888-022-03923-1</pub-id>
            <pub-id pub-id-type="pmid">35459150</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B21">
        <label>21.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Zhang, Z.Q., Chou, C.K., Rosberg, H., Perry, W., Young, J.W., Minassian, A., Mishne, G. and Aoi, M. (2025) A Computational Ethology Approach for Characterizing Behavioral Dynamics in Bipolar Disorder.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Zhang, Z.Q.</string-name>
              <string-name>Chou, C.K.</string-name>
              <string-name>Rosberg, H.</string-name>
              <string-name>Perry, W.</string-name>
              <string-name>Young, J.W.</string-name>
              <string-name>Minassian, A.</string-name>
              <string-name>Mishne, G.</string-name>
              <string-name>Aoi, M.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>A Computational Ethology Approach for Characterizing Behavioral Dynamics in Bipolar Disorder</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B22">
        <label>22.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Adams, R.A., Huys, Q.J.M. and Roiser, J.P. (2016) Computational Psychiatry: Towards a Mathematically Informed Understanding of Mental Illness. <italic>Journal of Neurology</italic>, <italic>Neurosurgery &amp; Psychiatry</italic>, 87, 53-63.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Adams, R.A.</string-name>
              <string-name>Huys, Q.J.M.</string-name>
              <string-name>Roiser, J.P.</string-name>
              <string-name>Neurology, N</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Computational Psychiatry: Towards a Mathematically Informed Understanding of Mental Illness</article-title>
            <source>Journal of Neurology</source>
            <volume>87</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B23">
        <label>23.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Fernando, I., Cohen, M. and Henskens, F. (2012) Pattern-Based Formulation: A Methodology for Psychiatric Case Formulation. <italic>Australasian Psychiatry</italic>, 20, 121-126. https://doi.org/10.1177/1039856212437255 <pub-id pub-id-type="doi">10.1177/1039856212437255</pub-id><pub-id pub-id-type="pmid">22457335</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1177/1039856212437255">https://doi.org/10.1177/1039856212437255</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Fernando, I.</string-name>
              <string-name>Cohen, M.</string-name>
              <string-name>Henskens, F.</string-name>
            </person-group>
            <year>2012</year>
            <article-title>Pattern-Based Formulation: A Methodology for Psychiatric Case Formulation</article-title>
            <source>Australasian Psychiatry</source>
            <volume>20</volume>
            <pub-id pub-id-type="doi">10.1177/1039856212437255</pub-id>
            <pub-id pub-id-type="pmid">22457335</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B24">
        <label>24.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Wright, A.J. (2021) Deliberate Context-Driven Conceptualization in Psychological Assessment. <italic>Journal of Personality Assessment</italic>, 104, 700-709. https://doi.org/10.1080/00223891.2021.1942024 <pub-id pub-id-type="doi">10.1080/00223891.2021.1942024</pub-id><pub-id pub-id-type="pmid">34227917</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/00223891.2021.1942024">https://doi.org/10.1080/00223891.2021.1942024</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Wright, A.J.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Deliberate Context-Driven Conceptualization in Psychological Assessment</article-title>
            <source>Journal of Personality Assessment</source>
            <volume>104</volume>
            <pub-id pub-id-type="doi">10.1080/00223891.2021.1942024</pub-id>
            <pub-id pub-id-type="pmid">34227917</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B25">
        <label>25.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">De Dios, C., Ezquiaga, E., Agud, J.L., Vieta, E., Soler, B. and García-López, A. (2012) Subthreshold Symptoms and Time to Relapse/Recurrence in a Community Cohort of Bipolar Disorder Outpatients. <italic>Journal of Affective Disorders</italic>, 143, 160-165. https://doi.org/10.1016/j.jad.2012.05.047 <pub-id pub-id-type="doi">10.1016/j.jad.2012.05.047</pub-id><pub-id pub-id-type="pmid">22925351</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jad.2012.05.047">https://doi.org/10.1016/j.jad.2012.05.047</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Dios, C.</string-name>
              <string-name>Ezquiaga, E.</string-name>
              <string-name>Agud, J.L.</string-name>
              <string-name>Vieta, E.</string-name>
              <string-name>Soler, B.</string-name>
            </person-group>
            <year>2012</year>
            <article-title>Subthreshold Symptoms and Time to Relapse/Recurrence in a Community Cohort of Bipolar Disorder Outpatients</article-title>
            <source>Journal of Affective Disorders</source>
            <volume>143</volume>
            <pub-id pub-id-type="doi">10.1016/j.jad.2012.05.047</pub-id>
            <pub-id pub-id-type="pmid">22925351</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B26">
        <label>26.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Van Meter, A.R., Burke, C., Youngstrom, E.A., Faedda, G.L. and Correll, C.U. (2016) The Bipolar Prodrome: Meta-Analysis of Symptom Prevalence Prior to Initial or Recurrent Mood Episodes. <italic>Journal of the American Academy of Child &amp; Adolescent Psychiatry</italic>, 55, 543-555. https://doi.org/10.1016/j.jaac.2016.04.017 <pub-id pub-id-type="doi">10.1016/j.jaac.2016.04.017</pub-id><pub-id pub-id-type="pmid">27343882</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jaac.2016.04.017">https://doi.org/10.1016/j.jaac.2016.04.017</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Meter, A.R.</string-name>
              <string-name>Burke, C.</string-name>
              <string-name>Youngstrom, E.A.</string-name>
              <string-name>Faedda, G.L.</string-name>
              <string-name>Correll, C.U.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>The Bipolar Prodrome: Meta-Analysis of Symptom Prevalence Prior to Initial or Recurrent Mood Episodes</article-title>
            <source>Journal of the American Academy of Child &amp; Adolescent Psychiatry</source>
            <volume>55</volume>
            <pub-id pub-id-type="doi">10.1016/j.jaac.2016.04.017</pub-id>
            <pub-id pub-id-type="pmid">27343882</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B27">
        <label>27.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Fiedorowicz, J.G., Endicott, J., Leon, A.C., Solomon, D.A., Keller, M.B. and Coryell, W.H. (2011) Subthreshold Hypomanic Symptoms in Progression from Unipolar Major Depression to Bipolar Disorder. <italic>American Journal of Psychiatry</italic>, 168, 40-48. https://doi.org/10.1176/appi.ajp.2010.10030328 <pub-id pub-id-type="doi">10.1176/appi.ajp.2010.10030328</pub-id><pub-id pub-id-type="pmid">21078709</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1176/appi.ajp.2010.10030328">https://doi.org/10.1176/appi.ajp.2010.10030328</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Fiedorowicz, J.G.</string-name>
              <string-name>Endicott, J.</string-name>
              <string-name>Leon, A.C.</string-name>
              <string-name>Solomon, D.A.</string-name>
              <string-name>Keller, M.B.</string-name>
              <string-name>Coryell, W.H.</string-name>
            </person-group>
            <year>2011</year>
            <article-title>Subthreshold Hypomanic Symptoms in Progression from Unipolar Major Depression to Bipolar Disorder</article-title>
            <source>American Journal of Psychiatry</source>
            <volume>168</volume>
            <pub-id pub-id-type="doi">10.1176/appi.ajp.2010.10030328</pub-id>
            <pub-id pub-id-type="pmid">21078709</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B28">
        <label>28.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Lasnier, G., Cardoso, J., Siron, P., Pagetti, C. and Derler, P. (2013). Distributed Simulation of Heterogeneous and Real-Time Systems. 2013 <italic>IEEE</italic>/ <italic>ACM</italic> 17 <italic>th International Symposium on Distributed Simulation and Real Time Applications</italic>, Delft, 30 October-1 November 2013, 55-62. https://doi.org/10.1109/ds-rt.2013.14 <pub-id pub-id-type="doi">10.1109/ds-rt.2013.14</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ds-rt.2013.14">https://doi.org/10.1109/ds-rt.2013.14</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Lasnier, G.</string-name>
              <string-name>Cardoso, J.</string-name>
              <string-name>Siron, P.</string-name>
              <string-name>Pagetti, C.</string-name>
              <string-name>Derler, P.</string-name>
              <string-name>Applications, D</string-name>
            </person-group>
            <year>2013</year>
            <pub-id pub-id-type="doi">10.1109/ds-rt.2013.14</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B29">
        <label>29.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Girod, L., Stathopoulos, T., Ramanathan, N., Elson, J., Estrin, D., Osterweil, E., <italic>et al</italic>. (2004) A System for Simulation, Emulation, and Deployment of Heterogeneous Sensor Networks. <italic>Proceedings of the</italic>2 <italic>nd International Conference on Embedded Networked Sensor Systems</italic>, Baltimore, 3-5 November 2004, 201-213. https://doi.org/10.1145/1031495.1031519 <pub-id pub-id-type="doi">10.1145/1031495.1031519</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/1031495.1031519">https://doi.org/10.1145/1031495.1031519</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Girod, L.</string-name>
              <string-name>Stathopoulos, T.</string-name>
              <string-name>Ramanathan, N.</string-name>
              <string-name>Elson, J.</string-name>
              <string-name>Estrin, D.</string-name>
              <string-name>Osterweil, E.</string-name>
              <string-name>Simulation, E</string-name>
              <string-name>Systems, B</string-name>
            </person-group>
            <year>2004</year>
            <article-title>A System for Simulation, Emulation, and Deployment of Heterogeneous Sensor Networks</article-title>
            <source>Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems</source>
            <volume>3</volume>
            <pub-id pub-id-type="doi">10.1145/1031495.1031519</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B30">
        <label>30.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Vestergaard, C.L., Génois, M. and Barrat, A. (2014) How Memory Generates Heterogeneous Dynamics in Temporal Networks. <italic>Physical Review E</italic>, 90, Article ID: 042805. https://doi.org/10.1103/physreve.90.042805 <pub-id pub-id-type="doi">10.1103/physreve.90.042805</pub-id><pub-id pub-id-type="pmid">25375547</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1103/physreve.90.042805">https://doi.org/10.1103/physreve.90.042805</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Vestergaard, C.L.</string-name>
              <string-name>Barrat, A.</string-name>
            </person-group>
            <year>2014</year>
            <article-title>How Memory Generates Heterogeneous Dynamics in Temporal Networks</article-title>
            <source>Physical Review E</source>
            <volume>90</volume>
            <fpage>042805</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1103/physreve.90.042805</pub-id>
            <pub-id pub-id-type="pmid">25375547</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B31">
        <label>31.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Georgii, H.-O. (2012) Stochastics: Introduction to Probability and Statistics. Walter de Gruyter.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Georgii, H.</string-name>
            </person-group>
            <year>2012</year>
            <article-title>Stochastics: Introduction to Probability and Statistics</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B32">
        <label>32.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Cao, G., Kyriakidis, P.C. and Goodchild, M.F. (2011) Combining Spatial Transition Probabilities for Stochastic Simulation of Categorical Fields. <italic>International Journal of Geographical Information Science</italic>, 25, 1773-1791. https://doi.org/10.1080/13658816.2010.528421 <pub-id pub-id-type="doi">10.1080/13658816.2010.528421</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/13658816.2010.528421">https://doi.org/10.1080/13658816.2010.528421</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Cao, G.</string-name>
              <string-name>Kyriakidis, P.C.</string-name>
              <string-name>Goodchild, M.F.</string-name>
            </person-group>
            <year>2011</year>
            <article-title>Combining Spatial Transition Probabilities for Stochastic Simulation of Categorical Fields</article-title>
            <source>International Journal of Geographical Information Science</source>
            <volume>25</volume>
            <pub-id pub-id-type="doi">10.1080/13658816.2010.528421</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B33">
        <label>33.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Zhao, J., Chevalier, F. and Balakrishnan, R. (2011) KronoMiner: Using Multi-Foci Navigation for the Visual Exploration of Time-Series Data. <italic>Proceedings of the SIGCHI Conference on Human Factors in Computing Systems</italic>, Vancouver, 7-12 May, 2011, 1737-1746. https://doi.org/10.1145/1978942.1979195 <pub-id pub-id-type="doi">10.1145/1978942.1979195</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/1978942.1979195">https://doi.org/10.1145/1978942.1979195</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Zhao, J.</string-name>
              <string-name>Chevalier, F.</string-name>
              <string-name>Balakrishnan, R.</string-name>
              <string-name>Systems, V</string-name>
            </person-group>
            <year>2011</year>
            <article-title>KronoMiner: Using Multi-Foci Navigation for the Visual Exploration of Time-Series Data</article-title>
            <source>Proceedings of the SIGCHI Conference on Human Factors in Computing Systems</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.1145/1978942.1979195</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B34">
        <label>34.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Hu, Q.X., Yuille, A. and Zhou, Z.W. (2023) Synthetic Data as Validation.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Hu, Q.X.</string-name>
              <string-name>Yuille, A.</string-name>
              <string-name>Zhou, Z.W.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Synthetic Data as Validation</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B35">
        <label>35.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Sminchisescu, C. and Jepson, A. (2004) Generative Modeling for Continuous Non-Linearly Embedded Visual Inference. 21 <italic>st International Conference on Machine Learning</italic>, Banff, 4-8 July 2004, 96. https://doi.org/10.1145/1015330.1015371 <pub-id pub-id-type="doi">10.1145/1015330.1015371</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/1015330.1015371">https://doi.org/10.1145/1015330.1015371</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Sminchisescu, C.</string-name>
              <string-name>Jepson, A.</string-name>
              <string-name>Learning, B</string-name>
            </person-group>
            <year>2004</year>
            <article-title>Generative Modeling for Continuous Non-Linearly Embedded Visual Inference</article-title>
            <source>21st International Conference on Machine Learning</source>
            <volume>4</volume>
            <pub-id pub-id-type="doi">10.1145/1015330.1015371</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B36">
        <label>36.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Bacon, D., Childs, A.M., Chuang, I.L., Kempe, J., Leung, D.W. and Zhou, X. (2001) Universal Simulation of Markovian Quantum Dynamics. <italic>Physical Review A</italic>, 64, Article ID: 062302. https://doi.org/10.1103/physreva.64.062302 <pub-id pub-id-type="doi">10.1103/physreva.64.062302</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1103/physreva.64.062302">https://doi.org/10.1103/physreva.64.062302</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Bacon, D.</string-name>
              <string-name>Childs, A.M.</string-name>
              <string-name>Chuang, I.L.</string-name>
              <string-name>Kempe, J.</string-name>
              <string-name>Leung, D.W.</string-name>
              <string-name>Zhou, X.</string-name>
            </person-group>
            <year>2001</year>
            <article-title>Universal Simulation of Markovian Quantum Dynamics</article-title>
            <source>Physical Review A</source>
            <volume>64</volume>
            <fpage>062302</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1103/physreva.64.062302</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B37">
        <label>37.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Childs, A.M. and Li, T.Y. (2016) Efficient Simulation of Sparse Markovian Quantum Dynamics.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Childs, A.M.</string-name>
              <string-name>Li, T.Y.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Efficient Simulation of Sparse Markovian Quantum Dynamics</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B38">
        <label>38.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Liu, J.S., Neuwald, A.F. and Lawrence, C.E. (1999) Markovian Structures in Biological Sequence Alignments. <italic>Journal of the American Statistical Association</italic>, 94, 1-15. https://doi.org/10.1080/01621459.1999.10473814 <pub-id pub-id-type="doi">10.1080/01621459.1999.10473814</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/01621459.1999.10473814">https://doi.org/10.1080/01621459.1999.10473814</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Liu, J.S.</string-name>
              <string-name>Neuwald, A.F.</string-name>
              <string-name>Lawrence, C.E.</string-name>
            </person-group>
            <year>1999</year>
            <article-title>Markovian Structures in Biological Sequence Alignments</article-title>
            <source>Journal of the American Statistical Association</source>
            <volume>94</volume>
            <pub-id pub-id-type="doi">10.1080/01621459.1999.10473814</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B39">
        <label>39.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Refinetti, R., Sani, M., Jean-Louis, G., Pandi-Perumal, S.R., Durazo-Arvizu, R.A., Dugas, L.R., <italic>et al</italic>. (2015) Evidence for Daily and Weekly Rhythmicity but Not Lunar or Seasonal Rhythmicity of Physical Activity in a Large Cohort of Individuals from Five Different Countries. <italic>Annals of Medicine</italic>, 47, 530-537. https://doi.org/10.3109/07853890.2015.1085125 <pub-id pub-id-type="doi">10.3109/07853890.2015.1085125</pub-id><pub-id pub-id-type="pmid">26402449</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3109/07853890.2015.1085125">https://doi.org/10.3109/07853890.2015.1085125</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Refinetti, R.</string-name>
              <string-name>Sani, M.</string-name>
              <string-name>Jean-Louis, G.</string-name>
              <string-name>Pandi-Perumal, S.R.</string-name>
              <string-name>Durazo-Arvizu, R.A.</string-name>
              <string-name>Dugas, L.R.</string-name>
            </person-group>
            <year>2015</year>
            <article-title>Evidence for Daily and Weekly Rhythmicity but Not Lunar or Seasonal Rhythmicity of Physical Activity in a Large Cohort of Individuals from Five Different Countries</article-title>
            <source>Annals of Medicine</source>
            <volume>47</volume>
            <pub-id pub-id-type="doi">10.3109/07853890.2015.1085125</pub-id>
            <pub-id pub-id-type="pmid">26402449</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B40">
        <label>40.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Mistlberger, R.E. and Skene, D.J. (2004) Social Influences on Mammalian Circadian Rhythms: Animal and Human Studies. <italic>Biological Reviews</italic>, 79, 533-556. https://doi.org/10.1017/s1464793103006353 <pub-id pub-id-type="doi">10.1017/s1464793103006353</pub-id><pub-id pub-id-type="pmid">15366762</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1017/s1464793103006353">https://doi.org/10.1017/s1464793103006353</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Mistlberger, R.E.</string-name>
              <string-name>Skene, D.J.</string-name>
            </person-group>
            <year>2004</year>
            <article-title>Social Influences on Mammalian Circadian Rhythms: Animal and Human Studies</article-title>
            <source>Biological Reviews</source>
            <volume>79</volume>
            <pub-id pub-id-type="doi">10.1017/s1464793103006353</pub-id>
            <pub-id pub-id-type="pmid">15366762</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B41">
        <label>41.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Dijk, D. and Duffy, J.F. (2020) Novel Approaches for Assessing Circadian Rhythmicity in Humans: A Review. <italic>Journal of Biological Rhythms</italic>, 35, 421-438. https://doi.org/10.1177/0748730420940483 <pub-id pub-id-type="doi">10.1177/0748730420940483</pub-id><pub-id pub-id-type="pmid">32700634</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1177/0748730420940483">https://doi.org/10.1177/0748730420940483</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Dijk, D.</string-name>
              <string-name>Duffy, J.F.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Novel Approaches for Assessing Circadian Rhythmicity in Humans: A Review</article-title>
            <source>Journal of Biological Rhythms</source>
            <volume>35</volume>
            <pub-id pub-id-type="doi">10.1177/0748730420940483</pub-id>
            <pub-id pub-id-type="pmid">32700634</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B42">
        <label>42.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Wright, K.P., Lowry, C.A. and LeBourgeois, M.K. (2012) Circadian and Wakefulness-Sleep Modulation of Cognition in Humans. <italic>Frontiers in Molecular Neuroscience</italic>, 5, Article No. 50. https://doi.org/10.3389/fnmol.2012.00050 <pub-id pub-id-type="doi">10.3389/fnmol.2012.00050</pub-id><pub-id pub-id-type="pmid">22529774</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fnmol.2012.00050">https://doi.org/10.3389/fnmol.2012.00050</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Wright, K.P.</string-name>
              <string-name>Lowry, C.A.</string-name>
              <string-name>LeBourgeois, M.K.</string-name>
            </person-group>
            <year>2012</year>
            <article-title>Circadian and Wakefulness-Sleep Modulation of Cognition in Humans</article-title>
            <source>Frontiers in Molecular Neuroscience</source>
            <volume>5</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fnmol.2012.00050</pub-id>
            <pub-id pub-id-type="pmid">22529774</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B43">
        <label>43.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Blatter, K. and Cajochen, C. (2007) Circadian Rhythms in Cognitive Performance: Methodological Constraints, Protocols, Theoretical Underpinnings. <italic>Physiology &amp; Behavior</italic>, 90, 196-208. https://doi.org/10.1016/j.physbeh.2006.09.009 <pub-id pub-id-type="doi">10.1016/j.physbeh.2006.09.009</pub-id><pub-id pub-id-type="pmid">17055007</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.physbeh.2006.09.009">https://doi.org/10.1016/j.physbeh.2006.09.009</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Blatter, K.</string-name>
              <string-name>Cajochen, C.</string-name>
              <string-name>Constraints, P</string-name>
            </person-group>
            <year>2007</year>
            <article-title>Circadian Rhythms in Cognitive Performance: Methodological Constraints, Protocols, Theoretical Underpinnings</article-title>
            <source>Physiology &amp; Behavior</source>
            <volume>90</volume>
            <pub-id pub-id-type="doi">10.1016/j.physbeh.2006.09.009</pub-id>
            <pub-id pub-id-type="pmid">17055007</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B44">
        <label>44.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Valdés-Tovar, M., Estrada-Reyes, R., Solís-Chagoyán, H., Argueta, J., Dorantes-Barrón, A.M., Quero-Chávez, D., <italic>et al</italic>. (2018) Circadian Modulation of Neuroplasticity by Melatonin: A Target in the Treatment of Depression. <italic>British Journal of Pharmacology</italic>, 175, 3200-3208. https://doi.org/10.1111/bph.14197 <pub-id pub-id-type="doi">10.1111/bph.14197</pub-id><pub-id pub-id-type="pmid">29512136</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/bph.14197">https://doi.org/10.1111/bph.14197</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Tovar, M.</string-name>
              <string-name>Estrada-Reyes, R.</string-name>
              <string-name>Argueta, J.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Circadian Modulation of Neuroplasticity by Melatonin: A Target in the Treatment of Depression</article-title>
            <source>British Journal of Pharmacology</source>
            <volume>175</volume>
            <pub-id pub-id-type="doi">10.1111/bph.14197</pub-id>
            <pub-id pub-id-type="pmid">29512136</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B45">
        <label>45.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Chmiel, J. and Malinowska, A. (2025) The Influence of Circadian Rhythms on Transcranial Direct Current Stimulation (tDCS) Effects: Theoretical and Practical Considerations. <italic>Cells</italic>, 14, Article No. 1152. https://doi.org/10.3390/cells14151152 <pub-id pub-id-type="doi">10.3390/cells14151152</pub-id><pub-id pub-id-type="pmid">40801585</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/cells14151152">https://doi.org/10.3390/cells14151152</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Chmiel, J.</string-name>
              <string-name>Malinowska, A.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>The Influence of Circadian Rhythms on Transcranial Direct Current Stimulation (tDCS) Effects: Theoretical and Practical Considerations</article-title>
            <source>Cells</source>
            <volume>14</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.3390/cells14151152</pub-id>
            <pub-id pub-id-type="pmid">40801585</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B46">
        <label>46.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Schloss, M.J., Horckmans, M., Nitz, K., Duchene, J., Drechsler, M., Bidzhekov, K., <italic>et al</italic>. (2016) The Time-of-Day of Myocardial Infarction Onset Affects Healing through Oscillations in Cardiac Neutrophil Recruitment. <italic>EMBO Molecular Medicine</italic>, 8, 937-948. https://doi.org/10.15252/emmm.201506083 <pub-id pub-id-type="doi">10.15252/emmm.201506083</pub-id><pub-id pub-id-type="pmid">27226028</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.15252/emmm.201506083">https://doi.org/10.15252/emmm.201506083</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Schloss, M.J.</string-name>
              <string-name>Horckmans, M.</string-name>
              <string-name>Nitz, K.</string-name>
              <string-name>Duchene, J.</string-name>
              <string-name>Drechsler, M.</string-name>
              <string-name>Bidzhekov, K.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>The Time-of-Day of Myocardial Infarction Onset Affects Healing through Oscillations in Cardiac Neutrophil Recruitment</article-title>
            <source>EMBO Molecular Medicine</source>
            <volume>8</volume>
            <pub-id pub-id-type="doi">10.15252/emmm.201506083</pub-id>
            <pub-id pub-id-type="pmid">27226028</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B47">
        <label>47.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Bityukov, S.I., Maksimushkina, A.V. and Smirnova, V.V. (2016) Comparison of Histograms in Physical Research. <italic>Nuclear Energy and Technology</italic>, 2, 108-113. https://doi.org/10.1016/j.nucet.2016.05.007 <pub-id pub-id-type="doi">10.1016/j.nucet.2016.05.007</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.nucet.2016.05.007">https://doi.org/10.1016/j.nucet.2016.05.007</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Bityukov, S.I.</string-name>
              <string-name>Maksimushkina, A.V.</string-name>
              <string-name>Smirnova, V.V.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Comparison of Histograms in Physical Research</article-title>
            <source>Nuclear Energy and Technology</source>
            <volume>2</volume>
            <pub-id pub-id-type="doi">10.1016/j.nucet.2016.05.007</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B48">
        <label>48.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Bityukov, S.I., Krasnikov, N.V., Nikitenko, A.N. and Smirnova, V.V. (2014) A Method for Statistical Comparison of Histograms. <italic>Discrete and Continuous Models and Applied Computational Science</italic>, 2, 324-330.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Bityukov, S.I.</string-name>
              <string-name>Krasnikov, N.V.</string-name>
              <string-name>Nikitenko, A.N.</string-name>
              <string-name>Smirnova, V.V.</string-name>
            </person-group>
            <year>2014</year>
            <article-title>A Method for Statistical Comparison of Histograms</article-title>
            <source>Discrete and Continuous Models and Applied Computational Science</source>
            <volume>2</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B49">
        <label>49.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Alfalahi, H., Khandoker, A.H., Chowdhury, N., Iakovakis, D., Dias, S.B., Chaudhuri, K.R., <italic>et al</italic>. (2022) Diagnostic Accuracy of Keystroke Dynamics as Digital Biomarkers for Fine Motor Decline in Neuropsychiatric Disorders: A Systematic Review and Meta-Analysis. <italic>Scientific Reports</italic>, 12, Article No. 7690. https://doi.org/10.1038/s41598-022-11865-7 <pub-id pub-id-type="doi">10.1038/s41598-022-11865-7</pub-id><pub-id pub-id-type="pmid">35546606</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41598-022-11865-7">https://doi.org/10.1038/s41598-022-11865-7</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Alfalahi, H.</string-name>
              <string-name>Khandoker, A.H.</string-name>
              <string-name>Chowdhury, N.</string-name>
              <string-name>Iakovakis, D.</string-name>
              <string-name>Dias, S.B.</string-name>
              <string-name>Chaudhuri, K.R.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Diagnostic Accuracy of Keystroke Dynamics as Digital Biomarkers for Fine Motor Decline in Neuropsychiatric Disorders: A Systematic Review and Meta-Analysis</article-title>
            <source>Scientific Reports</source>
            <volume>12</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1038/s41598-022-11865-7</pub-id>
            <pub-id pub-id-type="pmid">35546606</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B50">
        <label>50.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Day, R.K. (1999) Psychomotor Agitation: Poorly Defined and Badly Measured. <italic>Journal of Affective Disorders</italic>, 55, 89-98. https://doi.org/10.1016/s0165-0327(99)00010-5 <pub-id pub-id-type="doi">10.1016/s0165-0327(99)00010-5</pub-id><pub-id pub-id-type="pmid">10628877</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/s0165-0327(99)00010-5">https://doi.org/10.1016/s0165-0327(99)00010-5</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Day, R.K.</string-name>
            </person-group>
            <year>1999</year>
            <article-title>Psychomotor Agitation: Poorly Defined and Badly Measured</article-title>
            <source>Journal of Affective Disorders</source>
            <volume>0327</volume>
            <issue>99</issue>
            <pub-id pub-id-type="doi">10.1016/s0165-0327(99)00010-5</pub-id>
            <pub-id pub-id-type="pmid">10628877</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B51">
        <label>51.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Tripodi, B., Matarese, I. and Carbone, M.G. (2023) A Critical Review of the Psychomotor Agitation Treatment in Youth. <italic>Life</italic>, 13, Article No. 293. https://doi.org/10.3390/life13020293 <pub-id pub-id-type="doi">10.3390/life13020293</pub-id><pub-id pub-id-type="pmid">36836652</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/life13020293">https://doi.org/10.3390/life13020293</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Tripodi, B.</string-name>
              <string-name>Matarese, I.</string-name>
              <string-name>Carbone, M.G.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>A Critical Review of the Psychomotor Agitation Treatment in Youth</article-title>
            <source>Life</source>
            <volume>13</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.3390/life13020293</pub-id>
            <pub-id pub-id-type="pmid">36836652</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B52">
        <label>52.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">McNorgan, C. (2012) A Meta-Analytic Review of Multisensory Imagery Identifies the Neural Correlates of Modality-Specific and Modality-General Imagery. <italic>Frontiers in Human Neuroscience</italic>, 6, Article No. 285. https://doi.org/10.3389/fnhum.2012.00285 <pub-id pub-id-type="doi">10.3389/fnhum.2012.00285</pub-id><pub-id pub-id-type="pmid">23087637</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fnhum.2012.00285">https://doi.org/10.3389/fnhum.2012.00285</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>McNorgan, C.</string-name>
            </person-group>
            <year>2012</year>
            <article-title>A Meta-Analytic Review of Multisensory Imagery Identifies the Neural Correlates of Modality-Specific and Modality-General Imagery</article-title>
            <source>Frontiers in Human Neuroscience</source>
            <volume>6</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fnhum.2012.00285</pub-id>
            <pub-id pub-id-type="pmid">23087637</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B53">
        <label>53.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Dale, A.M. and Halgren, E. (2001) Spatiotemporal Mapping of Brain Activity by Integration of Multiple Imaging Modalities. <italic>Current Opinion in Neurobiology</italic>, 11, 202-208. https://doi.org/10.1016/s0959-4388(00)00197-5 <pub-id pub-id-type="doi">10.1016/s0959-4388(00)00197-5</pub-id><pub-id pub-id-type="pmid">11301240</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/s0959-4388(00)00197-5">https://doi.org/10.1016/s0959-4388(00)00197-5</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Dale, A.M.</string-name>
              <string-name>Halgren, E.</string-name>
            </person-group>
            <year>2001</year>
            <article-title>Spatiotemporal Mapping of Brain Activity by Integration of Multiple Imaging Modalities</article-title>
            <source>Current Opinion in Neurobiology</source>
            <volume>4388</volume>
            <issue>00</issue>
            <pub-id pub-id-type="doi">10.1016/s0959-4388(00)00197-5</pub-id>
            <pub-id pub-id-type="pmid">11301240</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B54">
        <label>54.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Parekh, P.K., Johnson, S.B. and Liston, C. (2022) Synaptic Mechanisms Regulating Mood State Transitions in Depression. <italic>Annual Review of Neuroscience</italic>, 45, 581-601. https://doi.org/10.1146/annurev-neuro-110920-040422 <pub-id pub-id-type="doi">10.1146/annurev-neuro-110920-040422</pub-id><pub-id pub-id-type="pmid">35508195</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1146/annurev-neuro-110920-040422">https://doi.org/10.1146/annurev-neuro-110920-040422</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Parekh, P.K.</string-name>
              <string-name>Johnson, S.B.</string-name>
              <string-name>Liston, C.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Synaptic Mechanisms Regulating Mood State Transitions in Depression</article-title>
            <source>Annual Review of Neuroscience</source>
            <volume>45</volume>
            <pub-id pub-id-type="doi">10.1146/annurev-neuro-110920-040422</pub-id>
            <pub-id pub-id-type="pmid">35508195</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B55">
        <label>55.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Gu, J.Y., Zhang, X. and Wang, G.L. (2025) Beyond the Norm: A Survey of Synthetic Data Generation for Rare Events.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Gu, J.Y.</string-name>
              <string-name>Zhang, X.</string-name>
              <string-name>Wang, G.L.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Beyond the Norm: A Survey of Synthetic Data Generation for Rare Events</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B56">
        <label>56.</label>
        <citation-alternatives>
          <mixed-citation publication-type="thesis">Zhang, D.F. (2024) Generative and Discriminative Models in Phase Transition Prediction. PhD Diss., Massachusetts Institute of Technology.</mixed-citation>
          <element-citation publication-type="thesis">
            <person-group person-group-type="author">
              <string-name>Zhang, D.F.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Generative and Discriminative Models in Phase Transition Prediction</article-title>
            <source>PhD Diss.</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B57">
        <label>57.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Liu, Z., Zhang, X., Ru, X., Gao, T., Moore, J.M. and Yan, G. (2024) Early Predictor for the Onset of Critical Transitions in Networked Dynamical Systems. <italic>Physical Review X</italic>, 14, Article ID: 031009. https://doi.org/10.1103/physrevx.14.031009 <pub-id pub-id-type="doi">10.1103/physrevx.14.031009</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1103/physrevx.14.031009">https://doi.org/10.1103/physrevx.14.031009</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Liu, Z.</string-name>
              <string-name>Zhang, X.</string-name>
              <string-name>Ru, X.</string-name>
              <string-name>Gao, T.</string-name>
              <string-name>Moore, J.M.</string-name>
              <string-name>Yan, G.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Early Predictor for the Onset of Critical Transitions in Networked Dynamical Systems</article-title>
            <source>Physical Review X</source>
            <volume>14</volume>
            <fpage>031009</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1103/physrevx.14.031009</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B58">
        <label>58.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Lapeyrolerie, M. and Boettiger, C. (2022) Limits to Ecological Forecasting: Estimating Uncertainty for Critical Transitions with Deep Learning. <italic>Methods in Ecology and Evolution</italic>, 14, 785-798. https://doi.org/10.1111/2041-210x.14013 <pub-id pub-id-type="doi">10.1111/2041-210x.14013</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/2041-210x.14013">https://doi.org/10.1111/2041-210x.14013</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Lapeyrolerie, M.</string-name>
              <string-name>Boettiger, C.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Limits to Ecological Forecasting: Estimating Uncertainty for Critical Transitions with Deep Learning</article-title>
            <source>Methods in Ecology and Evolution</source>
            <volume>14</volume>
            <pub-id pub-id-type="doi">10.1111/2041-210x.14013</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B59">
        <label>59.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Bookchin, M. and Albrecht, W.A. (1974) Our Synthetic Environment. Vol. 363, Harper &amp; Row.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Bookchin, M.</string-name>
              <string-name>Albrecht, W.A.</string-name>
            </person-group>
            <year>1974</year>
            <article-title>Our Synthetic Environment</article-title>
            <source>Vol. 363</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B60">
        <label>60.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Riva, G., Davide, F. and IJsselsteijn, W.A. (2003) Being There: Concepts, Effects and Measurements of User Presence in Synthetic Environments. Ios Press.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Riva, G.</string-name>
              <string-name>Davide, F.</string-name>
              <string-name>IJsselsteijn, W.A.</string-name>
              <string-name>Concepts, E</string-name>
            </person-group>
            <year>2003</year>
            <article-title>Being There: Concepts, Effects and Measurements of User Presence in Synthetic Environments</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B61">
        <label>61.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Zysman, M., Asselineau, J., Saut, O., Frison, E., Oranger, M., Maurac, A., <italic>et al</italic>. (2023) Development and External Validation of a Prediction Model for the Transition from Mild to Moderate or Severe Form of Covid-19. <italic>European Radiology</italic>, 33, 9262-9274. https://doi.org/10.1007/s00330-023-09759-x <pub-id pub-id-type="doi">10.1007/s00330-023-09759-x</pub-id><pub-id pub-id-type="pmid">37405504</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s00330-023-09759-x">https://doi.org/10.1007/s00330-023-09759-x</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Zysman, M.</string-name>
              <string-name>Asselineau, J.</string-name>
              <string-name>Saut, O.</string-name>
              <string-name>Frison, E.</string-name>
              <string-name>Oranger, M.</string-name>
              <string-name>Maurac, A.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Development and External Validation of a Prediction Model for the Transition from Mild to Moderate or Severe Form of Covid-19</article-title>
            <source>European Radiology</source>
            <volume>33</volume>
            <pub-id pub-id-type="doi">10.1007/s00330-023-09759-x</pub-id>
            <pub-id pub-id-type="pmid">37405504</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B62">
        <label>62.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Lee, K., Seo, Y., Lee, S., Lee, H. and Shin, J. (2020) Context-Aware Dynamics Model for Generalization in Model-Based Reinforcement Learning. <italic>International Conference on Machine Learning</italic><italic>PMLR</italic>, 13-18 July 2020, 5757-5766.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Lee, K.</string-name>
              <string-name>Seo, Y.</string-name>
              <string-name>Lee, S.</string-name>
              <string-name>Lee, H.</string-name>
              <string-name>Shin, J.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Context-Aware Dynamics Model for Generalization in Model-Based Reinforcement Learning</article-title>
            <source>International Conference on Machine Learning PMLR</source>
            <volume>13</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B63">
        <label>63.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Volkova, S., Arendt, D., Saldanha, E., Glenski, M., Ayton, E., Cottam, J., <italic>et al</italic>. (2021) Explaining and Predicting Human Behavior and Social Dynamics in Simulated Virtual Worlds: Reproducibility, Generalizability, and Robustness of Causal Discovery Methods. <italic>Computational and Mathematical Organization Theory</italic>, 29, 220-241. https://doi.org/10.1007/s10588-021-09351-y <pub-id pub-id-type="doi">10.1007/s10588-021-09351-y</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s10588-021-09351-y">https://doi.org/10.1007/s10588-021-09351-y</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Volkova, S.</string-name>
              <string-name>Arendt, D.</string-name>
              <string-name>Saldanha, E.</string-name>
              <string-name>Glenski, M.</string-name>
              <string-name>Ayton, E.</string-name>
              <string-name>Cottam, J.</string-name>
              <string-name>Reproducibility, G</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Explaining and Predicting Human Behavior and Social Dynamics in Simulated Virtual Worlds: Reproducibility, Generalizability, and Robustness of Causal Discovery Methods</article-title>
            <source>Computational and Mathematical Organization Theory</source>
            <volume>29</volume>
            <pub-id pub-id-type="doi">10.1007/s10588-021-09351-y</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B64">
        <label>64.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Zhong, R., Wu, X., Chen, J. and Fang, Y. (2025) Using Digital Phenotyping to Discriminate Unipolar Depression and Bipolar Disorder: Systematic Review. <italic>Journal of Medical Internet Research</italic>, 27, e72229. https://doi.org/10.2196/72229 <pub-id pub-id-type="doi">10.2196/72229</pub-id><pub-id pub-id-type="pmid">40408762</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2196/72229">https://doi.org/10.2196/72229</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Zhong, R.</string-name>
              <string-name>Wu, X.</string-name>
              <string-name>Chen, J.</string-name>
              <string-name>Fang, Y.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Using Digital Phenotyping to Discriminate Unipolar Depression and Bipolar Disorder: Systematic Review</article-title>
            <source>Journal of Medical Internet Research</source>
            <volume>27</volume>
            <pub-id pub-id-type="doi">10.2196/72229</pub-id>
            <pub-id pub-id-type="pmid">40408762</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B65">
        <label>65.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Cohen, A.S., Cox, C.R., Masucci, M.D., Le, T.P., Cowan, T., Coghill, L.M., <italic>et al</italic>. (2020) Digital Phenotyping Using Multimodal Data. <italic>Current Behavioral Neuroscience Reports</italic>, 7, 212-220. https://doi.org/10.1007/s40473-020-00215-4 <pub-id pub-id-type="doi">10.1007/s40473-020-00215-4</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s40473-020-00215-4">https://doi.org/10.1007/s40473-020-00215-4</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Cohen, A.S.</string-name>
              <string-name>Cox, C.R.</string-name>
              <string-name>Masucci, M.D.</string-name>
              <string-name>Le, T.P.</string-name>
              <string-name>Cowan, T.</string-name>
              <string-name>Coghill, L.M.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Digital Phenotyping Using Multimodal Data</article-title>
            <source>Current Behavioral Neuroscience Reports</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.1007/s40473-020-00215-4</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B66">
        <label>66.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Maatoug, R., Oudin, A., Adrien, V., Saudreau, B., Bonnot, O., Millet, B., <italic>et al</italic>. (2022) Digital Phenotype of Mood Disorders: A Conceptual and Critical Review. <italic>Frontiers in Psychiatry</italic>, 13, Article ID: 895860. https://doi.org/10.3389/fpsyt.2022.895860 <pub-id pub-id-type="doi">10.3389/fpsyt.2022.895860</pub-id><pub-id pub-id-type="pmid">35958638</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fpsyt.2022.895860">https://doi.org/10.3389/fpsyt.2022.895860</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Maatoug, R.</string-name>
              <string-name>Oudin, A.</string-name>
              <string-name>Adrien, V.</string-name>
              <string-name>Saudreau, B.</string-name>
              <string-name>Bonnot, O.</string-name>
              <string-name>Millet, B.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Digital Phenotype of Mood Disorders: A Conceptual and Critical Review</article-title>
            <source>Frontiers in Psychiatry</source>
            <volume>13</volume>
            <fpage>895860</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fpsyt.2022.895860</pub-id>
            <pub-id pub-id-type="pmid">35958638</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>