NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Digital Twins for Just-in-Time Adaptive Interventions (JITAIs): Framework for Optimizing and Continually Improving JITAIs

Asim H. Gazi, Daiqi Gao, Susobhan Ghosh, Ziping Xu, Anna L. Trella, Predrag Klasnja, Susan A. MurphyJournal of Medical Internet Research 2025

TL;DR

This paper introduces "JITAI-Twins," a novel framework that leverages digital twins of subpopulations to optimize and continuously improve Just-in-Time Adaptive Interventions (JITAIs). By simulating potential intervention outcomes before deployment, JITAI-Twins enable data-driven design decisions, bridging the gap between costly real-world testing and the need for sophisticated intervention personalization.

What Problem Does This Paper Address?

Just-in-Time Adaptive Interventions (JITAIs) are promising digital health tools designed to provide personalized support in everyday life. However, creating effective JITAIs involves complex decision-making, particularly in selecting and tuning the algorithms that drive these interventions (e.g., hyperparameters for AI models). These design decisions are typically made between deployments to ensure intervention fidelity and reproducibility. The challenge is that each deployment is costly, making exhaustive A/B testing infeasible. Furthermore, JITAIs need to operate autonomously, preventing manual adjustments during deployment. This creates a critical need for a method to make informed, strategic design decisions before a JITAI is deployed, and to facilitate ongoing improvement.

Methods

The core contribution is the JITAI-Twin framework. This framework adapts the concept of digital twins to the specific needs of JITAIs by creating "digital twins of a subpopulation." Key aspects include:

  • Virtual Representation: JITAI-Twins build computational models (simulation environments) that represent the behavior of a target subpopulation. These models are trained on prior deployment data.
  • Simulation and Design Decisions: These virtual twins are used to simulate the potential outcomes of various JITAI design decisions (e.g., different AI algorithms or hyperparameters). This allows researchers to evaluate which design choices are likely to perform optimally.
  • Bidirectional Feedback Loop: Crucially, JITAI-Twins establish a continuous feedback loop. Data collected from a deployed JITAI is used to update and refine the JITAI-Twin's simulation models. This updated twin then informs the design of the next JITAI deployment, creating a cycle of optimization and improvement.
  • Guiding Principles: The paper outlines guiding principles for designing and updating JITAI-Twins, emphasizing documentation, team science, model generalizability, attention to detail, and avoiding data removal.
  • Iterative Evaluation (VVUQ): The framework incorporates a rigorous iterative evaluation process involving Verification, Validation, and Uncertainty Quantification (VVUQ) to ensure the reliability of the simulations.

Datasets

The paper discusses the use of data from prior JITAI deployments for training and updating JITAI-Twins. Specifically, it references:

  • HeartSteps V1 and V2 data: Used for initial JITAI-Twin development and simulation.
  • Microrandomized trial (MRT) data: Highlighted as ideal for JITAI-Twin creation due to its dynamic measurements and controlled intervention provision.
  • Oralytics and MiWaves JITAIs: Mentioned as examples where JITAI-Twins were used to inform design decisions, facing challenges like delayed data access and defining surrogate rewards.

No new datasets or benchmarks are introduced; rather, the paper focuses on how existing data can be leveraged within the JITAI-Twin framework.

Key Insights and Ideas

  • Subpopulation Digital Twins for JITAIs: The core innovation is adapting the digital twin concept from individual-level modeling to subpopulations, which is more practical for JITAIs that are designed for groups and evolve over time.
  • Bridging the Deployment Gap: JITAI-Twins provide a crucial bridge between costly real-world deployments, enabling researchers to make informed design choices without needing to conduct extensive A/B testing for every iteration.
  • Continuous Improvement Engine: The bidirectional feedback loop is key. It transforms JITAIs from static interventions into continuously learning and improving systems, adapting to evolving user behavior and scientific understanding.
  • Addressing Data-Deployment Mismatches: The paper directly tackles the common challenge of "data-deployment mismatches" (e.g., changes in data collection methods, new variables) by proposing imputation and sensitivity analyses, highlighting the importance of domain expertise.
  • "Fit-for-Purpose" Twins: JITAI-Twins are framed as "fit-for-purpose" instantiations of digital twins, specifically tailored to the unique needs of optimizing and evolving adaptive interventions.

Key Results

The paper is primarily a framework proposal and methodological discussion, rather than a report of specific quantitative results from a single experiment. However, the key "results" are the conceptual advancements and the demonstration of the framework's utility through examples:

  • Framework Formalization: The paper formalizes the JITAI-Twin framework, providing a structured approach for its design and implementation.
  • Guiding Principles: A set of practical guiding principles are provided to aid researchers in building effective JITAI-Twins.
  • Illustrative Examples: The paper uses the HeartSteps JITAI as a running example to demonstrate how JITAI-Twins can be used to optimize decision-making algorithms (specifically Reinforcement Learning) and address challenges like data impoverishment.
  • VVUQ Integration: The framework emphasizes the critical role of Verification, Validation, and Uncertainty Quantification in ensuring the trustworthiness of JITAI-Twin simulations.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the JITAI-Twin framework is still in its early stages, and its application is primarily demonstrated through the authors' own designed JITAIs.
  • The publication of simulation environments and results is not yet commonplace, limiting the inclusion of other examples.
  • The practical considerations of computational and labor costs for designing and maintaining JITAI-Twins are noted as areas needing further investigation.
  • Scalability to larger deployments requires further evaluation.
  • Future Work:
    • Exploring the use of large language models (LLMs) to improve the abstraction of domain science into computational constructs and to simulate participant interactions.
  • Investigating how to balance person-specific digital twins (for enhanced personalization) with subpopulation-level twins (for continuous improvement).
  • Developing guidance on adapting and improving RL algorithms based on JITAI-Twin simulation results.
  • Empirically validating the benefits of the proposed guiding principles and design steps.
  • Developing toolboxes to enhance the accessibility of JITAI-Twin design.

Summary updated

Abstract

In the context of digital health, just-in-time adaptive interventions (JITAIs) are nascent precision medicine systems that can extend personalized health care support to everyday life. A challenge in designing JITAIs is that personalized support often involves sophisticated decision-making algorithms. These decision-making algorithms can require numerous nontrivial design decisions that must be made between successive JITAI deployments (eg, hyperparameter selection for an artificial intelligence algorithm). Making design decisions between deployments-rather than during deployment-ensures intervention fidelity and enhances the ability to replicate results. Yet, each deployment can be costly, precluding the use of A/B testing for every design decision. How should design decisions be made strategically between JITAI deployments? This paper introduces "digital twins for just-in-time adaptive interventions (JITAI-Twins)" to address this question. JITAI-Twins are "digital twins of a subpopulation" (term used in the 2023 National Academies workshop proceedings on digital twins). JITAI-Twins are used to virtually simulate the potential outcomes of a JITAI's design decisions for an upcoming deployment. Based on simulation results, design decisions are made for the deployed JITAI. To continually improve the JITAI, data collected during deployment are used to update the JITAI-Twin-and this bidirectional feedback between deployments and simulation environments continues. JITAI-Twins are thus "fit-for-purpose" (term used in the National Academies 2024 consensus report on digital twins) instantiations of the digital twin concept. In this paper, we elucidate the specifics and design process of JITAI-Twins, with examples of prior use in clinical settings. JITAI-Twins highlight continuity over the course of a JITAI's optimization and continual improvement, emphasizing the need for bidirectional feedback between versions of a simulation environment and a JITAI's deployments.
BibTeX
@article{gazi2025digital,
  author = {Asim H. Gazi and Daiqi Gao and Susobhan Ghosh and Ziping Xu and Anna L. Trella and Predrag Klasnja and Susan A. Murphy},
  title = {{Digital Twins for Just-in-Time Adaptive Interventions (JITAIs): Framework for Optimizing and Continually Improving JITAIs}},
  journal = {Journal of Medical Internet Research},
  year = {2025},
  doi = {10.2196/72830},
}

Loading related content...

Figure