Abstract
Digital phenotyping uses data from smartphones and wearables to extract behavioural and biosocial markers of psychopathology in situ. Traditional entropy-based measures capture static system properties that neglect temporal dependencies critical to psychiatric phenomena. We propose a “dynamic” approach to the modelling of digital data capturing the time-varying aspects of processes of mental disorders. We defend that the resulting dynamic digital markers better capture variability in regulatory mechanisms of psychopathology.
Lay Summary
Digital phenotyping uses information from smartphones and wearable devices to track patterns in behavior and physiology related to mental health. Most current methods summarize this data in ways that miss how experiences change over time. We propose a new, dynamic approach that focuses on how patterns evolve moment by moment. By capturing these changes, our method aims to better reflect how mental disorders involve shifting and unstable processes of regulation in everyday life.
Similar content being viewed by others
Introduction
Digital Phenotyping (DP) quantifies individual-level human markers of psychopathology using data from digital devices [1,2,3, 4] derived from data generated by processes configured across the scales of the biopsychosocial hierarchy. DP is interesting for psychiatry because it presents an opportunity to base clinical acts on markers that do not presuppose a bioreductive understanding of mental disorders [5] and opens the door for continuous, non-invasive sampling of behaviour, which has parallels in many medical fields (e.g., Holter monitors for heart rhythm, ambulatory glucose monitoring etc.).
Common DP methods use information theory [6]. Common measures include approximate entropy, sample entropy [7], permutation entropy [8], and multiscale entropy [9]. These are used to capture “static” properties: the tendency of a system to evolve or change. They do not directly measure time-varying “dynamic” properties: the temporal dependencies that unfold over time. Static measures provide a “snapshot” of a system’s complexity, regularity or predictability. They are valuable but insufficient to study psychiatric phenomena. DP’s focus on static measures is unsurprising, psychiatry traditionally leaning on static constructs (diagnoses, trait markers) failing to capture disorder progression.
This perspective argues for a “motion” approach that captures moment-to-moment flexibility, variability and predictability as a dynamic feature. The upshot of this approach is a framework for the production of “dynamic” digital markers (DDMs) that palliate the loss of dynamic information incurred by static measurements.
Static vs. dynamic measurements
Healthcare measurements follow a hierarchical structure, moving from describing observable phenomena to understanding their underlying generative processes. At the first level, measurements at specific times (e.g., weight, heart rate) indicate a subject’s state (e.g., nutritional, cardiac health). Repeated and averaged measurements can reveal enduring states, often called traits in psychiatry. Both states and traits are descriptive ‘first-order’ measures that characterize surface-level, observable phenomena.
Then, regulatory mechanisms can be inferred from time-series data of these first order measures. For instance, information theoretic measures (e.g., heart rate entropy) are second order measures that capture moment-to-moment heartbeat fluctuations, providing a snapshot of autonomic heart rate regulation [10]. For physical illnesses, indexing intrinsic regulations via second-order measures predicts outcomes better [11,12,13], enabling patient selection and cardiac fitness and rehabilitation program titration [14]. But this is often insufficient for psychiatric illnesses. Time and context are crucial [15, 16], since it is the response of intrinsic regulatory processes to agentic action or social/environmental context (e.g., changes in ‘second order’ variability per se) that is of clinical interest in psychiatry.
Unlike medical diagnoses based on threshold-met criteria, psychiatric diagnoses explicitly incorporate time into their definition to differentiate phenomena of clinical interest from transient states (‘duration criteria’: 2-weeks for depression [17], 4-days for hypomania [18], etc.). A healthy individual’s mood variability might dip after a loss but then recover its normal ebb and flow within days, differentiating ‘acute’ vs. ‘remitted’ clinical macro-states. In depression, the recovery of this variability is prolonged or absent [19]: the system gets ‘stuck’ in the low complexity phase [20]. Other examples include situationally inappropriate autonomic responses in panic disorder [21], lack of behavioural flexibility in response to a changing social environment in personality disorders [22], bursts of cue-evoked impulsivity in eating disorders or addictions [23], to name a few.
Tracking how second-order variability changes over time and context can be done using third-order variables. Third-order variables are key to understanding how extrinsic factors interact and regulate latent intrinsic processes, this interaction being the substrate for interventions in psychiatry. The temporal dimension of variation in intrinsic processes across various contexts is of primary interest here, not a fixed state in health (i.e., first-order) or a snapshot of intrinsic variability (i.e., second-order) per se (see Table 1). Such third-order variables are the basis of DDMs.
DDM methodological guidelines
A DDM does not just ask the second order question of “What is the complexity of a patient’s behavior?” but address the third order one, of “How is this complexity generated and regulated?” We present a two steps methodological guideline in sufficiently general terms to allow researchers to implement DDMs using the models and formalism they see fit.
The first step is information dynamics modelling
It involves describing a process as emitting a symbol stream and the information theoretic modelling of that process’ symbol stream, or message. One considers a stream of various symbols with (event) boundaries defined by external context conveyed by preceding symbols. Any method can be used to model the messages stream (e.g., Moving Approximate Entropy [24], Lempel-Ziv Complexity of sequences [25], block entropy [26]), so long as it allows extracting a context dependent temporal profile of information, or information dynamics.
One should then model the fluctuations in the message stream over time in a way that makes these fluctuations amenable to subsequent temporal dynamics modelling. Symbolic dynamic analysiscf. [8] is one way to achieved this. It is used to analyse data from various phenomena of interest in biomedical contexts (e.g., cardiac signals [27]) and rests on the assessment of the ordered relation between data points rather than on the value of the data points themselves.
One can then explore the temporal properties of the underlying process of the data by modelling the temporal dynamics of the ordered rank using a computational modelling method, moving from a descriptive measure (first- or second-order) to an explicit, ‘third-order’ dynamic marker capturing the temporal dimension of variation in intrinsic processes across contexts, which is the primary substrate for psychiatric interventions.
The second step is temporal dynamics modelling
It extracts temporal properties that are the basis of the DDMs. Here we suggest using a Markov chain (MC) as the model. Any model can be used, so long as one can derive from it the temporal properties of the data generating process. MCs model autonomous stochastic processes as transitions between states forming the state space of a system. They represent directly the temporal properties of the information dynamics for the data generating process, and indirectly, the underlying information source or process.
MCs derived DDMs can be tested as predictors of clinical variables or as mediators in a structural equation model. They indicate the time it takes for the digital data to through its characteristic patterns or increased how long it will take for the underlying process to reach a point where its probability of change approaches its steady state distribution [28]. MC derived DDMs provide quantitative, non-invasive proxies for the system’s adaptive capacity and flexibility, which is a cardinal feature of interest in mental disorders. For instance, a prolonged mixing time could serve as a proxy for the lack of behavioural flexibility in response to a changing social environment seen in personality disorders. Similarly, the recurrence time of a low-complexity state might quantify the inertia or inability to transition out of a maladaptive pattern, paralleling the ‘duration criteria’ explicitly incorporated into psychiatric diagnoses like depression or hypomania. Tracking these processes explicitly using digital phenotyping can help us understand contextual variations (or lack thereof) that define many mental disorders.
A numerical proof of principle for DDMs
To help drive home the concept of DDM, we present a numerical proof of principle of temporal dynamics modelling illustrating the enhanced capacity of MC derived DDMs to discriminate between clinically relevant unobservable regulatory states responsible for variations in observed digital data. We provide additional details on our simulation in appendix.
The system being modeled in this proof is a hypothetical patient’s day-by-day biobehavioral trajectory made of slow changing, latent macro-states (M) representing clinically interpretable macro-state of the patient’s clinical trajectory (e.g., acute symptom phase) made of fast changing micro-states (m) representing digitally observable biobehavioral traits (e.g., disrupted sleep patterns) expressed as an information dynamics. Narratively, this could represent a clinical participant in a digital phenotyping study periodically assessed by a psychiatrist, while continuously generating fast time scale digital data informing on the participants’ slower time scale clinical progression (Fig. 1).
Here, there are three macro-states with a varying number (2–3) of micro-states in each macro-state.
We model the participant’s trajectory as a two-time-scale stochastic Markov Chain (MC) transitioning over macro and micro-states discretized into units of days. Macro states evolve on a scale of weeks to months thereby reflecting illness progression, whereas microstates evolve daily. The transition probabilities of microstates depend on the macro-state the system is at, such that multiple microstates can be visited when in a same macro state (e.g., multiple actigraphy reports within the time spent of a single acute episode) (see Fig.2).
We model 5 macro-states – acute, persistent, residual, stable, prodromal {A,B,C,D,E} -- and 4 digital sensor microstates regulated routine, withdrawn/no activity, no regular usage (indicating disturbance), fragmented activity (frequent shifts) {R,W,N,F}. The resulting flattened Markov chain consists of 5 × 4 = 20 states, each identified by a macro–micro pair (M,m). Consequently, we have a 20 × 20 matrix mapping the transition between 20 pairs of states (M,m) from day_t-1 to day_t.
We parameterized the transition matrix to reflect a clinically realistic trajectory. For an illness such as psychosis, after a substantial “prodromal” period, preceding in a “acute” macro-state (e.g., needing hospitalisation), the system is more likely to spend time in a “stable” (no active symptoms) or “residual” macro states (low symptom phase) than in a “persistent” (non-responsive phase), all the while frequently transitioning between microstates (fluctuating daily symptoms/signs) within the same macro state. This yields the transition probability matrix in Table 2.
A first order metric of the MC is its macro-states steady state distribution [(acute A) 0.0532; (persistent B) 0.0338; (residual C) 0.1249; (stable D) 0.5959; (prodromal E) 0.1923]. This gives us descriptive information, that the stable state D accounts for 60% of the probability of occupancy of macro-state, with much of the remainder of the probability being captured by the prodromal and residual macro-state.
A second order metric of the MC could be its entropy rate [29] or the entropy of the MC’s transitions distributions weighted by its steady state distribution, such that
which,
which is approximately 1.0 (bits/day). Entropy rate aggregates variability across all macro-states and micro-states, thereby averaging out information about the hidden heterogeneity in regulatory mechanisms underlying macro-states. While first and second order metrics summarize long-run occupancy and overall behavioral variability, they are insufficient for differentiating macro-states.
A third order metric is “macro-state–centric” entropy rates, which is obtained by calculating the entropy rate of the micro-state dynamics for a given macro state taken in isolation. This requires conditioning a given macro-state (e.g, A) of interest onto the remaining macro states to extract a conditional 4 × 4 transition matrix \({\widetilde{P}}^{(M)}\) with stationary distribution \({\widetilde{\pi }}^{(M)}\). Macro-state–centric entropy rates is defined as
Where \({S}_{m}\) is the set of microstates {R,W,N,F}. Hm is the entropy rate of micro sates dynamics assuming no change in macro sate. This effectively isolates short-term behavioral variability from slow macro-level transitions, thereby capturing how tightly or loosely behavior is regulated within a macro-sate regime. This yields 1.720 Hm for acute (A), 1.674 Hm for persistent (B) 1.128 hm for residual (C), 0.632 for stable (D), and 1.582 for prodromal (E).
Effectively, Hm captures how entropy rate – the second order variable – varies over time within a single macro-state. Macro-centric entropy rates provide a strong discriminator of latent clinical regime despite substantial overlap in steady-state probabilities and global entropy measures. DDMs based on such third-order variables would capture differences in the regulation of variability itself, rather than variability or occupancy alone.
Additionally, macro-centric entropy rates are realistic and feasible given typical data constraints in digital phenotyping. They can be approximated empirically from finite observation windows and with few data points. For a given time series, micro-state trajectories can be segmented into windows of length T days that are fully contained within the occupancy time of a given macro-state. Micro-state transition probabilities can then be estimated empirically within each window, and entropy rates can be computed from the resulting transition matrices using a standard plug-in procedure.
This involves (i) deriving an M,m X M,m empirical transition matrix from observed transition frequencies of M,m over a given time window a length T, (ii) computing the macro-centric entropy rate based on that transition matrix, and (iii) repeating the process by moving the time window further down the time series. As one moves the time window, the mean values and standard errors of the resulting empirical distribution of macro-centric entropy rate estimates approach their ground truth, or theoretical values (see Table 3 for T ∈{15,30,90}days and appendix for details).
Table 3 shows that even for relatively short windows (e.g., T = 15 days), there is a clear separation between the stable well (D) and acute symptomatic (A) macro-states. Figure 2 plots these results. For longer windows (e.g., T ≥ 30 days), empirical entropy-rate estimates stabilize sufficiently to distinguish all macro-states reliably. This confirms that third-order metrics for dynamic digital markers are not only theoretically well-founded, but also practically estimable from realistic observation horizons encountered in digital phenotyping studies.
Visualization of results presented in Table 3.
In practical deployment, microstates may not be directly observed, or may only be observed infrequently – e.g., only during clinical assessment – such that one could not obtain a M,m X M,m transition matrix, and only an m X m one. But our proof of principle shows that sliding window entropy rates approximates macro-centric entropy rates, the continuous monitoring of which should therefore provide a means of detecting macro-state changes in real time. This means that even though one cannot observe patient specific macro-states prior to deployment, one can initialize the model with population level priors and refined them with idiosyncratic data over time (see appendix for details). Additional details on data collection and annotation pipelines to produce DDMs is beyond the scope of this conceptual paper.
This allows macro-state changes to be detected without explicit state labels, enabling adaptive, data-driven identification of clinically meaningful transitions as they unfold. For instance, sustained deviations from baseline entropy levels or consistent trends toward the characteristic entropy range of another macro-state can be interpreted as early indicators of a regime shift. In practice, standard change-point detection methods applied to the time series of sliding-window entropy-rate estimates can be used to automatically identify statistically significant shifts, providing a principled mechanism for detecting macro-state transitions in real time.
Towards DDMs for DP
To fully realize DP’s potential in psychiatry, its markers must transition from marking state/trait (static) to marking the process (dynamic). Collapsing a patient’s daily complexity into a single summary value miss critical regulatory information. Methods along the lines of those gestured towards in this paper are candidate for addressing this limitation of DP. The next step is for the community to learn how to best apply this method to real clinical dataset, and moving beyond characterization by showing that DDMs predict relapse, treatment response, or functional outcomes better than static markers. For digital phenotyping to fulfill its promise, it must evolve from static to dynamic analysis, from snapshots to trajectories, from traits to processes. This will align psychiatry with the rest of medicine in continuous monitoring and better capture the living course of human suffering.
References
Shiffman S, Stone AA, Hufford MR. Ecological momentary assessment. Annu. Rev. Clin. Psychol. 2008;4:1–32.
Ringwald WR, King G, Vize CE, Wright AGC. Passive smartphone sensors for detecting psychopathology. JAMA Netw. Open. 2025;8:e2519047.
Torous J, Staples P, Barnett I, Sandoval LR, Keshavan M, Onnela JP. Characterizing the clinical relevance of digital phenotyping data quality with applications to a cohort with schizophrenia. NPJ Digit. Med. 2018;1:15.
Constant A. Personomics: precision psychiatry done right. Br. J. Philos. Sci. 2024. https://doi.org/10.1086/729750.
Palaniyappan L. More than a biomarker: could language be a biosocial marker of psychosis? NPJ Schizophr. 2021;7:42.
De Angel V, et al. Digital health tools for the passive monitoring of depression: a systematic review of methods. NPJ Digit. Med. 2022;5:3.
Delgado-Bonal A, Marshak A. Approximate entropy and sample entropy: a comprehensive tutorial. Entropy (Basel). 2019;21:541.
Bandt C, Pompe B. Permutation entropy: a natural complexity measure for time series. Phys. Rev. Lett. 2002;88:174102.
Costa M, Goldberger AL, Peng C-K. Multiscale entropy analysis of biological signals. Phys. Rev. E Stat. Nonlin. Soft Matter Phys. 2005;71:021906.
Shaffer F, Ginsberg JP. An overview of heart rate variability metrics and norms. Front. Public Health. 2017;5:258.
Nolan J, Batin PD, Andrews R, Lindsay SJ, Brooksby P, Mullen M, et al. Prospective study of heart rate variability and mortality in chronic heart failure: results of the United Kingdom heart failure evaluation and assessment of risk trial (UK-heart): Results of the United Kingdom heart failure evaluation and assessment of risk trial (UK-heart). Circulation. 1998;98:1510–6.
Kleiger RE, Miller JP, Bigger JT Jr, Moss AJ. Decreased heart rate variability and its association with increased mortality after acute myocardial infarction. Am. J. Cardiol. 1987;59:256–62.
Tsuji H, Larson MG, Venditti FJ Jr, Manders ES, Evans JC, Feldman, et al. Impact of reduced heart rate variability on risk for cardiac events. The Framingham Heart Study. Circulation. 1996;94:2850–5.
Badrov MB, Wood KN, Lalande S, Sawicki CP, Borrell LJ, Barron CC, et al. Effects of 6 months of exercise-based cardiac rehabilitation on autonomic function and neuro-cardiovascular stress reactivity in coronary artery disease patients. J. Am. Heart Assoc. 2019;8:e012257.
Gauld C, Depannemaecker D. Dynamical systems in computational psychiatry: a toy-model to apprehend the dynamics of psychiatric symptoms. Front. Psychol. 2023;14:1099257.
Hitchcock PF, Fried EI, Frank MJ. Computational psychiatry needs time and context. Annu. Rev. Psychol. 2022;73:243–70.
Kendler KS & Gardner CO Boundaries of major depression: an evaluation of DSM-IV Criteria. in Depression (Routledge, 2013). pp. 24–29, https://doi.org/10.4324/9781315054322-4.
Parker G, Graham R, Synnott H, Anderson J. Is the DSM-5 duration criterion valid for the definition of hypomania? J. Affect. Disord. 2014;156:87–91.
Koval P, Pe ML, Meers K, Kuppens P. Affect dynamics in relation to depressive symptoms: variable, unstable or inert? Emotion. 2013;13:1132–41.
Hipólito I, Mago J, Rosas FE, Carhart-Harris R. Pattern breaking: a complex systems approach to psychedelic medicine. Neurosci. Conscious. 2023;2023:niad017.
Tomasi J, Zai CC, Pouget JG, Tiwari AK, Kennedy JL. Heart rate variability: Evaluating a potential biomarker of anxiety disorders. Psychophysiology. 2024;61:e14481.
Wright AGC, Simms LJ. Stability and fluctuation of personality disorder features in daily life. J. Abnorm. Psychol. 2016;125:641–56.
Dalley JW, Robbins TW. Fractionating impulsivity: neuropsychiatric implications. Nat. Rev. Neurosci. 2017;18:158–71.
Ahmad SA & Chappell, PH Surface EMG classification using moving approximate entropy. in 2007 International Conference on Intelligent and Advanced Systems (IEEE, 2007). https://doi.org/10.1109/icias.2007.4658567.
Lempel A, Ziv J. On the complexity of finite sequences. IEEE Trans. Inf. Theory. 1976;22:75–81.
Crutchfield, JP, Feldman, DP. Regularities unseen, randomness observed: Levels of entropy convergence. arXiv [cond-mat.stat-mech] [Preprint]. (2001) Available from: https://arxiv.org/abs/cond-mat/0102181.
Parlitz U, et al. Classifying cardiac biosignals using ordinal pattern statistics and symbolic dynamics. Comput. Biol. Med. 2012;42:319–27.
Constant A, et al. Exploring the clinical utility of rhythmic digital markers for schizophrenia. PLOS Digit. Health. 2025;4:e0001010.
Cover TM & Thomas JA Elements of Information Theory. (New York, NY; John Wiley & Sons, 2006).
Acknowledgements
We would like to thank Arturo Valiño, Luis M Martinez, and Andy Clark for important discussions having contributed to the ideas developed in this manuscript.
Funding
A.C. supported by a European Research Council, Synergy Grant (XSCAPE) ERC-2020-SyG 951631. L.P. was supported by a Monique H. Bourgeois Chair in Developmental Disorders and the Graham Boeckh Foundation and by a salary award from the Fonds de recherche du Québec-Santé (FRQS: 3).
Author information
Authors and Affiliations
Contributions
A.C., L.P., and E.K. all contributed to the drafting and reviewing of the manuscript. E.K. designed the proof of principle. A.C. developed the theoretical concept of DDM. L.P. grounded the concept of DDM in medical knowledge.
Corresponding author
Ethics declarations
Competing interest
A.C. declares no conflict of interest. L.P. reports personal fees for serving as chief editor from the Canadian Medical Association Journals, speaker honorarium from Janssen Canada and Otsuka Canada, Bristol Myers-Squibb Canada, Bausch Health, SPMM Course Limited, UK; book royalties from Oxford University Press; investigator-initiated educational grants from Otsuka Canada outside the submitted work, in the last 5 years. The remaining authors have nothing to disclose.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Constant, A., Koksal, C.E. & Palaniyappan, L. Setting digital psychiatry in motion: towards dynamic digital markers for digital phenotyping. NPP—Digit Psychiatry Neurosci 4, 6 (2026). https://doi.org/10.1038/s44277-026-00059-y
Received:
Revised:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s44277-026-00059-y




