arXiv:2610.36019stat.APOct 2026

Manuscript Offprint

arXiv:2610.36019

Causal DAG-Guided Reinforcement Learning for Long-Term Physical Activity Maintenance: Using Prior Data to Inform Future Deployment

Xueqing Liu, Young Hyun Cho, Bhanu Teja Gullapalli, Predrag Klasnja, Susan Murphy

Abstract

Digital health interventions can provide scalable, personalized support for physical activity (PA), yet sustaining PA over the long-term remains difficult. Because affective experiences with PA are important for activity sustainment, we developed an online reinforcement learning (RL) system for the forthcoming ADAPT factorial trial that personalizes twice-daily activity suggestions aimed at improving affective associations with PA. This setting poses several challenges: participant-specific data are scarce relative to the candidate state space, important states and rewards are partially observed, interventions are frequent while the primary outcome is measured weekly, and activity suggestions can both improve PA-related experiences and increase intervention burden. We address these challenges using an expert-specified causal directed acyclic graph as an integrated RL design tool, guiding state construction, estimation of partially observed states, delayed credit assignment, and representation of beneficial and adverse intervention pathways. We further construct a longitudinal simulator calibrated from a prior micro-randomized trial to compare candidate RL designs under realistic state evolution, missingness, and participant heterogeneity before deployment. Together, this work illustrates how causal domain knowledge and prior trial data can make long-horizon, participant-specific RL more practical for digital health interventions targeting sustained behavior change.

Code —

https://github.com/xueqingliuu/ADAPT_Experiment

1 Introduction

Digital health interventions (DHIs) offer a scalable way to deliver personalized support for physical activity (PA) (Bi et al. 2024; Klasnja et al. 2019). However, maintaining long-term PA behavior remains difficult: interventions may increase activity in the short term without necessarily supporting long-term maintenance (Amagai et al. 2022). One potential determinant of maintenance is how individuals feel about physical activity. Affective associations with PA—automatic affective reactions to the thought of being active and cognitive attitudes about liking or disliking activity—can shape future behavioral choices (Brand and Ekkekakis 2018; Stevens et al. 2020), and more positive affective associations have been associated with greater subsequent PA participation (Williams et al. 2008; Rhodes and Kates 2015). These findings motivate intervention strategies that target not only the amount of PA performed, but also the affective experience associated with being active (Simonton 2021; Choi et al. 2025).

The forthcoming 9-month ADAPT factorial trial, scheduled to begin in fall 2026, aims to improve participants' affective associations with PA through a multicomponent DHI. Among participants randomized to the ADAPT-on conditions 1^{1}, an online reinforcement learning (RL) algorithm (Sutton, Barto, and Barto 1998) will personalize the delivery of activity suggestions at two decision times per day. The RL algorithm uses data from wristband activity tracker, the HeartSteps physical activity mHealth app, and self-reported surveys for learning and decision-making. The primary outcome optimized by the RL algorithm is the core affective experience (CAE) subscale of the Affective Experiences (AF-FEXX) scale (Ekkekakis, Zenko, and Vazou 2021), a weekly measure of how participants feel about being physically active. Thus, the algorithm must learn when to deliver activity suggestions at frequent decision times in order to improve an outcome that is observed and evolves on a much slower, weekly timescale.

Designing and deploying a participant-specific online RL algorithm in this setting raises several interconnected challenges. First, participant-specific data are scarce relative to the potentially large state space. Each participant provides only a limited number of interactions with the RL algorithm, while wristband activity tracker, app, and survey data provide many candidate state variables. Learning a high-dimensional decision rule from scratch can therefore lead to high estimation variance and poor performance early in deployment (Liao et al. 2020; Gazi et al. 2026). Second, important state information may be partially observed. Sensor measurements can be delayed or unavailable, and participants may not complete all surveys, resulting in missing or delayed state variables and outcomes (Seewald et al. 2019). Third, more intervention is not necessarily better. Although activity suggestions may improve affective associations with PA, frequent or poorly timed suggestions may increase intervention burden or reduce perceived utility, producing adverse effects that may only become apparent later (Nahum-Shani et al.

1^{1}The ADAPT study includes multiple intervention components. RL is used only for the activity suggestions component.

2016). An effective policy must therefore account for both the potential benefit of an activity suggestion and its possible downstream costs. Finally, the reward is sparse and delayed. Activity suggestions can be delivered twice daily from Monday through Saturday, resulting in 12 decision times associated with only one weekly CAE reward. This creates a difficult credit-assignment problem: the RL algorithm must learn which earlier actions contributed to the eventual weekly outcome (Arjona-Medina et al. 2019).

We use an expert-specified causal directed acyclic graph (DAG) to incorporate domain knowledge into the RL system and address these challenges in a principled manner. The DAG guides four linked design choices. First, it informs state construction by identifying which aspects of the observed history are relevant for future states and outcomes, allowing us to build lower-dimensional state summaries rather than include every available sensor, app, and survey variable (Gao et al. 2025; Xu, Maasch, and Gan 2026). Second, it specifies how latent weekly CAE and perceived utility relate to observed survey, sensor, and engagement measures, motivating the models used to estimate these states when direct measurements are missing or incomplete. Third, the DAG represents both a beneficial pathway to CAE-assessed affective associations through anticipated affect and a potentially adverse pathway through perceived utility. This allows the RL design to account for both the intended effects of activity suggestions and their possible delayed effects on future engagement and outcomes. Finally, the DAG helps address sparse and delayed rewards by identifying intermediate variables along the pathways from activity suggestions to future CAE, which provide structured information for delayed credit assignment and reward redistribution across within-week decisions (Arjona-Medina et al. 2019; Zou et al. 2025).

Our main contributions are summarized as follows:

  1. We develop a participant-specific online RL framework that uses an expert-specified causal DAG to guide state construction, latent-state estimation, representation of benefit and burden pathways, and delayed credit assignment in a sparse-data digital health setting.

  2. We construct an ADAPT simulation testbed calibrated using data from a prior micro-randomized trial (MRT). It reproduces the key decision schedule, longitudinal feedback pathways, and observation processes of the forthcoming ADAPT trial, enabling evaluation of candidate RL variants before deployment.

References (53)