Spruijt-Metz et al (2022)

HeartSteps II Protocol — GIVEMEA Study Guide
GIVEMEA Study Guide · Mobile Health & Adaptive Interventions

Advancing Behavioral Intervention and Theory Development for Mobile Health: The HeartSteps II Protocol

Spruijt-Metz, D. et al. · Int. J. Environ. Res. Public Health, 19(4):2267 · 2022

Micro-Randomized Trial (MRT) Protocol Paper N = 95 enrolled 12-Month Longitudinal JITAI / Physical Activity
95Enrolled
12Months
3MRT Components
Daily Walk Prompts
2Modeling Frameworks
Central Argument
HeartSteps II is a year-long Micro-Randomized Trial deploying a JITAI for physical activity, designed not only to test intervention effectiveness but to build computational modeling frameworks capable of expressing dynamic, mathematically rigorous theories of health behavior change — a capability that static, box-and-arrow theories have never provided.

The Core Problem

Despite decades of intervention research, available behavior-change interventions remain only moderately effective in the short term and largely fail to sustain long-term maintenance. A key reason is a mismatch between the static, cross-sectional theories on which most interventions are based and the genuinely dynamic, moment-to-moment nature of real health behavior. Classic health-behavior theories — social-cognitive theory, the health belief model, theory of planned action — share a common form: box-and-arrow diagrams depicting time-invariant relationships. They cannot capture the co-interacting, continuously shifting influences that determine whether a person takes a walk or stays on the couch on any given afternoon.

The Two-Part Purpose of HeartSteps II

The study pursues two central goals simultaneously. First, it aims to develop modeling approaches for operationalizing dynamic, mathematically rigorous theories of health behavior — moving beyond static diagrams to computational models that evolve over time. Second, it serves as a testbed for the development of learning algorithms that JITAIs can use to individualize intervention provision in real time at multiple timescales (minute-to-minute, day-to-day, week-to-week).

Why Pure Data-Driven Approaches Are Not Enough

It might seem that reinforcement learning (RL) could bypass the need for behavioral theory entirely by learning purely from data. HeartSteps II rejects this shortcut explicitly: the high noise and sparsity in mHealth data mean that purely data-driven JITAIs are severely limited in what they can learn. Even RL-based systems benefit from theory-grounded models, at minimum as a basis for the initial intervention-provision policy before data accumulates. Theory and data must work together.

Building on HeartSteps I

HeartSteps II extends a series of earlier NIH-funded MRTs that optimized and tested the HeartSteps JITAI in patients with cardiovascular disease. The contextual bandit RL algorithm that drives walking-suggestion randomization in HeartSteps II was directly derived from the HeartSteps I data. HeartSteps II retains the same core JITAI structure but adds quarterly EMA burst weeks, richer theory-driven psychosocial measures, and the dual modeling agenda — making it simultaneously a clinical trial and a theory-development engine.

The Three Micro-Randomized Components

Component Frequency Randomization Logic Proximal Outcome
Motivational Messages Once daily (6 a.m.) Fixed probability: p = 4/7 message sent; four framings (promotion/prevention × active/sedentary), each p = 1/7 Daily step count
Walking Suggestions Up to 5× daily at participant-chosen times Contextual bandit (Bayesian Thompson sampler) updated nightly; personalizes probability by context (location, time, weather) Step count in the 30 min following the decision point
Anti-Sedentary Suggestions Whenever sedentary ≥40 min; max avg 2.5/day budget Budget-managed algorithm predicts daily sedentary patterns and distributes prompts across the day Time to sedentary-behavior disruption (time until steps begin accruing)

■ Core Concepts   ■ Study Design & Methods   ■ Behavioral Theory   ■ Technology & Modeling

Core Concepts

JITAI
tap to define
JITAI
Just-in-Time Adaptive Intervention. A mobile intervention that identifies moments of need and opportunity and delivers the most appropriate support at those moments, continuously adapting to an individual’s changing physiology, behavior, and context using passively and actively collected data.
Micro-Randomized Trial (MRT)
tap to define
MRT
An experimental design where intervention components are repeatedly randomized for each participant over many decision points throughout the study. MRTs are designed to assess the average causal effect of each component on its proximal outcome and how that effect varies over time and across contexts.
Intensive Longitudinal Data (ILD)
tap to define
ILD
Temporally dense, repeated-measures data collected many times per day over extended periods. In HeartSteps II, ILD includes minute-level step counts and heart rate from the Fitbit, EMA surveys, app interaction logs, and GPS location data — spanning up to a full year per participant.
Proximal Outcome
tap to define
Proximal Outcome
The near-term, theory-specified outcome that a micro-randomized component is intended to influence. Choosing the right proximal outcome is essential for MRT analysis. HeartSteps II specifies a distinct proximal outcome for each of its three randomized components.
Availability
tap to define
Availability
The condition under which a participant can be randomized to receive an intervention. If a participant is unavailable (e.g., recently active, already received a prompt, or offline), they are excluded from that decision point’s randomization. Defining availability carefully is critical to MRT validity and burden management.
Self-Determination Theory
tap to define
SDT
A macro-theory of motivation holding that human well-being depends on fulfilling three basic psychological needs: autonomy, competence, and relatedness. HeartSteps II uses SDT as its primary theoretical anchor for modeling engagement with the intervention and voluntary exercise behavior.

Study Design & Methods

Ecological Momentary Assessment (EMA)
tap to define
EMA
A repeated data-collection method that captures self-reported psychological states, behaviors, and contexts in the moment (or very close to it), reducing retrospective recall bias. HeartSteps II uses daily morning surveys, weekly reflection surveys, and post-activity questionnaires as forms of EMA.
EMA Burst
tap to define
EMA Burst
An intensive 7-day measurement period occurring approximately every three months, during which participants complete additional questionnaires after every detected activity bout and after each of the five daily walking-suggestion decision points. Bursts provide richer psychosocial and contextual data to support theory testing.
Contextual Bandit
tap to define
Contextual Bandit
A reinforcement learning approach where the algorithm learns which action (e.g., send or withhold a walking suggestion) is best given the current context (time, location, weather, recent activity). The algorithm balances exploiting known effective contexts with exploring new ones. HeartSteps II uses a Bayesian Thompson sampler as its contextual bandit.
Bayesian Thompson Sampling
tap to define
Thompson Sampling
A probabilistic exploration-exploitation algorithm. At each decision point, it samples a parameter vector from the current posterior distribution over treatment effects and acts on the sampled value. Updated nightly in HeartSteps II, it personalizes walking-suggestion probabilities based on each participant’s accumulated response history across contexts.
MVPA
tap to define
MVPA
Moderate-to-Vigorous Physical Activity. The target behavior metric in HeartSteps II; measured in minutes per week. The adaptive weekly goal aims to gradually increase a participant’s MVPA toward the clinical guideline of 150 minutes per week, incrementing by 20 minutes each week based on prior performance.
Single-Arm Design
tap to define
Single-Arm Design
HeartSteps II has no control group — all participants receive the full HeartSteps intervention. The MRT design obtains causal estimates for each micro-randomized component through within-person randomization over many decision points, not through between-group comparison. This is intentional and statistically valid for the MRT’s aims.

Behavioral Theory

Message Framing
tap to define
Message Framing
The emphasis a message places on gains (promotion framing: “look what you could achieve”) versus loss avoidance (prevention framing: “avoid the risks of inactivity”). HeartSteps II crosses this 2×2 with activity focus vs. sedentary focus, producing four distinct motivational message framings that are micro-randomized daily.
Implementation Intentions
tap to define
Implementation Intentions
An evidence-based behavior-change technique in which a person specifies the when, where, and how of a planned behavior (“If situation X arises, I will do Y”). HeartSteps operationalizes this through the Planning tab, where participants record activity type, duration, day, and time of day — specificity that research shows increases execution rates.
Behavior Change Technique (BCT)
tap to define
BCT
A systematically defined, replicable component of an intervention designed to change behavior. HeartSteps II implements multiple BCTs including self-monitoring (dashboard), feedback on goal progress, reminders of activity plans, and action planning. The HeartSteps dashboard explicitly operationalizes three BCTs in a single screen.
Habituation
tap to define
Habituation
The tendency for individuals to become desensitized to repeated stimuli, reducing their responsiveness over time. Managing habituation is an explicit design goal of the walking-suggestion bandit: if responsiveness drops, the algorithm reduces suggestion frequency to give the participant a “break,” preserving long-term effectiveness.
Dynamic Theory
tap to define
Dynamic Theory
A theory of behavior change that explicitly specifies how constructs (e.g., motivation, self-efficacy, context) evolve over time and interact with each other from moment to moment. HeartSteps II argues that this is what static health-behavior theories fail to provide, and that computational models using ILD can finally make dynamic theorizing possible.

Technology & Modeling

HeartSteps Clock Face
tap to define
Clock Face
A custom Fitbit watch face that provides the HeartSteps system with near-real-time step data by checking the participant’s step count every five minutes. This is necessary because Fitbit’s standard API does not update frequently enough for accurate anti-sedentary suggestion timing. Without a functioning clock face, anti-sedentary suggestions cannot be sent.
Dynamic Bayesian Network (DBN)
tap to define
DBN
A probabilistic graphical model defined over a multivariate time series, where directed edges encode conditional dependencies between variables across time. DBNs are particularly suited to HeartSteps II’s data because they flexibly accommodate constructs measured at different timescales and handle missing data through probabilistic inference.
Dynamical Systems Modeling
tap to define
Dynamical Systems
An engineering-derived approach (originally used for electrical circuits and chemical plants) that uses differential or difference equations to model how a system evolves over time. HeartSteps II applies fluid analogies — “tanks and valves” — to represent the flow of behavioral influences, operationalizing dynamic theories as differential equations.
Model on Demand (MoD)
tap to define
Model on Demand
A nonlinear estimation framework that fits a low-order parametric model using data from a local temporal neighborhood defined by user-specified statistical criteria. Rather than forcing a single global model onto all the data, MoD allows model parameters to shift “on demand” as the data context changes — capturing nonlinearity without pre-specifying a global functional form.
Passive Sensing
tap to define
Passive Sensing
Data collection that requires no active input from the participant. In HeartSteps II, passive data streams include: minute-level step counts and heart rate (Fitbit), GPS location (Fitbit), automatically detected activity bouts, and HeartSteps app use logs (page views, notification opens). Passive sensing contrasts with EMA’s active self-report burden.

Study Design at a Glance

HeartSteps II is a single-arm, year-long Micro-Randomized Trial targeting sedentary, overweight adults aged 18–65 in Southern California. Following a 1-week passive baseline with the Fitbit only, participants use the HeartSteps app for 12 months while three intervention components are micro-randomized daily. The study was powered to detect a very small decreasing effect (d = 0.05, 90% power) for the least-frequent component (motivational messages), requiring 46 participants; 60 were targeted to allow for 20% attrition, and 95 were ultimately fully enrolled.

Participants & Recruitment

  • Target: 60 independent participants at study end; 80 recruited to absorb ~25% attrition; 95 fully enrolled
  • Inclusion: BMI 25–45 kg/m², ages 18–65, sedentary lifestyle (IPAQ-screened), Southern California residents, iOS or Android smartphone
  • Exclusion: inability to give consent, psychiatric disorder limiting protocol adherence, orthopedic problems preventing walking, significant peripheral neuropathy, vigorous activity exceeding IPAQ moderate threshold
  • Fully remote recruitment and onboarding due to COVID-19 (email threads, newsletters, community forums, local media)
  • Baseline week: 7 days of Fitbit wear ≥8 h/day with HeartSteps app locked; failure to complete = withdrawal

HeartSteps Intervention Components

  • Fitbit Versa Lite: continuous step count and heart rate; auto-detects activity bouts ≥10 min; custom clock face polls steps every 5 min for real-time sedentary detection
  • Pull components (always accessible): Dashboard (self-monitoring, goal progress, activity plans), Planning tab (implementation intentions), Activity Log (all-time statistics)
  • Push components (notifications): morning motivational messages (6 a.m.), walking suggestions (5 user-chosen times/day), anti-sedentary suggestions (sedentary ≥40 min, max avg 2.5/day), weekly reflection (Sunday 8 p.m.)
  • Adaptive weekly activity goal: automatically set to 20 min MVPA above prior week’s achieved minutes, capped at 150 min; participants may manually adjust during weekly review

Randomization Logic

  • Motivational messages: fixed daily probability p = 4/7 (any message); each of four framings = p 1/7; no message = p 3/7
  • Walking suggestions: Bayesian Thompson sampler (contextual bandit); updated nightly per participant; personalizes to location, time, weather; availability excludes participants who recently received another intervention, walked >250 steps in the past hour, walked >2000 steps in the past 2 hours, or are offline
  • Anti-sedentary suggestions: budget algorithm (max avg 2.5/day) predicts sedentary pattern and distributes prompts across the day; runs whenever fewer than 150 steps detected in preceding 40 min; same exclusion criteria as walking suggestions plus Fitbit/clock face non-wear
  • All randomization probabilities saved per decision point to enable post-study MRT analyses

Measures — Active (Self-Report)

  • Baseline/follow-up: demographics, TIPI personality, perceived stress (PSS), self-efficacy for physical activity, motivation for physical activity (BREQ-modified), neighborhood walkability, social isolation, app usability (MARS), COVID-19 activity disruption
  • Daily EMA (morning survey): restedness, busyness, mood, commitment to activity; motivational orientation items (SDT-grounded)
  • Weekly EMA (Sunday reflection): social support, enjoyment, loneliness, barriers to activity, confidence in weekly goal
  • Activity EMA: post-activity enjoyment, fit into day, social context, motivation (sent with base probability 0.1; probability 1 during burst weeks)
  • EMA bursts (quarterly, 7 days): activity questionnaires after every detected bout + walking-suggestion questionnaires (8 mood/affect items at each of 5 daily decision points)

Measures — Passive (Sensor)

  • Fitbit: minute-level step counts; minute-level heart rate; auto-detected activity bouts with MVPA minutes; GPS location
  • HeartSteps app logs: timestamps of every page view, notification open, and survey interaction
  • Limitation: non-interactive notification views (e.g., auto-expanded iOS lock screen) cannot be logged

Analysis Plan

  • Primary MRT analyses: centered and weighted least-squares (CWLS) method — a robust generalization of linear regression that handles nested MRT data (decision points within participants) and estimates causal treatment effects; primary aim is average effect + change in effect over time for each component
  • Secondary analyses: time-varying moderation by dose, weather, current activity level, and other contextual moderators
  • Modeling work: Dynamic Bayesian Networks (flexible, multi-timescale, handles missingness) and Dynamical Systems Models (idiographic, differential-equation-based, fluid analogy); Model-on-Demand (MoD) for nonlinear parameter estimation; DSPSA for efficient search over model features

Strengths

  • Year-long duration enables study of long-term dynamics and habituation — rare in mHealth trials
  • Dual-purpose design: generates both causal intervention evidence (MRT) and rich ILD for theory building simultaneously
  • Adaptive randomization personalizes intervention exposure, avoiding one-size-fits-all dose schedules
  • Theory-grounded EMA measures SDT constructs longitudinally, enabling computational modeling of motivation dynamics
  • Fully remote design increases accessibility and ecological validity

Limitations

  • Single-arm design precludes comparison against a no-intervention control; cannot estimate total HeartSteps efficacy
  • Fitbit heart rate data in 24/7 mode can be unreliable, especially for moderate-intensity activities, compromising MVPA accuracy
  • High sensor data missingness is expected due to non-wear and technical failures; adds analytic complexity
  • English-only app and Southern California geographic restriction limit generalizability
  • Social desirability and self-report biases in EMA and activity logging cannot be fully excluded

Five foundational references that anchor the HeartSteps II study’s conceptual and methodological framework. Click any card to expand the analysis.

[8]

Nahum-Shani et al. (2015) — Building health behavior models to guide JITAI development

Health Psychology · 34:1209–1219 · 2015
★★★ Foundational JITAI Theory Health Psychology 2015 Conceptual Anchor
Why this reference matters

This is one of the seminal papers establishing the JITAI concept and articulating why health behavior models are indispensable for JITAI design. It provided a pragmatic framework for identifying the four core components a JITAI must specify: decision points, tailoring variables, intervention options, and decision rules.

Key contribution to this paper’s argument

Spruijt-Metz et al. use this reference to justify the “promise of JITAIs” claim and to frame the gap the HeartSteps II study addresses: that realizing JITAI promise requires better models of behavior, not just better technology. It is also part of the author’s own citation lineage — Nahum-Shani, Hekler, and Spruijt-Metz have collaborated on JITAI theory.

Connection to the wider citation network

This paper sits at the center of a cluster that includes Klasnja et al. (2015) on MRTs and Hekler et al. (2016) on digital behavior change models. Together these three papers form the theoretical-methodological backbone that motivated the HeartSteps program of research.

[11]

Klasnja et al. (2015) — Microrandomized trials: an experimental design for developing JITAIs

Health Psychology · 34:1220–1228 · 2015
★★★ MRT Design Foundation Health Psychology 2015 Methodological Backbone
Why this reference matters

This paper coined and formally defined the Micro-Randomized Trial design, providing the statistical and conceptual rationale for repeatedly randomizing intervention components within participants over time. Without this design framework, HeartSteps II would not exist in its current form.

Key contribution to this paper’s argument

Every claim Spruijt-Metz et al. make about MRT validity, proximal outcomes, and decision-point structure is grounded in this reference. It also justifies the single-arm design: MRT evidence comes from within-person randomization, not between-group comparison.

Connection to the wider citation network

Published simultaneously with the Nahum-Shani JITAI framework paper (ref 8) in a special issue of Health Psychology, this pair of papers jointly launched the modern MRT + JITAI research paradigm. HeartSteps II is one of the most ambitious applications of this paradigm to date.

[12]

Klasnja et al. (2019) — Efficacy of contextually tailored suggestions: HeartSteps MRT

Annals of Behavioral Medicine · 53:573–582 · 2019
★★★ HeartSteps I Results Ann. Behav. Med. 2019 Direct Predecessor
Why this reference matters

This is the primary results paper for HeartSteps I — the first MRT in the HeartSteps program, conducted in patients with cardiovascular disease. It established that contextually tailored walking suggestions could causally increase short-term step counts and provided the training data for the RL bandit used in HeartSteps II.

Key contribution to this paper’s argument

HeartSteps II is positioned as a direct scientific successor to this work. The paper provides empirical proof-of-concept that the micro-randomization approach works and that the walking-suggestion component has a detectable proximal effect — justifying the year-long scale-up in HeartSteps II.

Connection to the wider citation network

Together with Liao et al. (2020, ref 13), which derived the personalized RL algorithm from HeartSteps I data, this reference forms a cumulative evidence chain: initial trial (ref 12) → algorithm development (ref 13) → year-long adaptive deployment (HeartSteps II). The progression illustrates the MRT-to-JITAI development pipeline the protocol advocates for.

[13]

Liao et al. (2020) — Personalized HeartSteps: a RL algorithm for optimizing physical activity

Proc. ACM Interact. Mob. Wearable Ubiquitous Technol. · 4:1–22 · 2020
★★ Algorithm Paper ACM IMWUT 2020 Algorithmic Foundation
Why this reference matters

This paper describes the Bayesian Thompson-sampling contextual bandit that personalizes walking-suggestion probabilities in HeartSteps II. It is the technical specification for what makes the system “adaptive” beyond rule-based thresholds — the algorithm that learns each participant’s responsiveness patterns and adjusts future intervention provision accordingly.

Key contribution to this paper’s argument

HeartSteps II does not just deploy a static algorithm — it treats the RL system itself as an object of study and improvement. Liao et al. provides the foundation from which HeartSteps II extends: the algorithm was trained on HeartSteps I data and is now being re-evaluated in a year-long deployment, generating new data to refine it further.

Connection to the wider citation network

This reference bridges the computer science / ML cluster with the behavioral health cluster in HeartSteps II’s citation network. The first author (Liao) is a statistician; the collaborators include Murphy, Klasnja, and the mHealth engineering community — illustrating the genuinely cross-disciplinary coalition behind the paper.

[14/15]

Deci & Ryan (2012) — Self-Determination Theory

Oxford Handbook of Human Motivation / Handbook of Theories of Social Psychology · 2012
★★ Theoretical Anchor Handbook Chapters 2012 Behavioral Theory
Why this reference matters

Self-Determination Theory (SDT) is the primary behavioral theory around which HeartSteps II’s modeling work is organized. SDT’s specification of autonomous vs. controlled motivation, and of the three basic psychological needs (autonomy, competence, relatedness), provides a theoretically grounded set of constructs for the EMA measures and the computational models the study will build.

Key contribution to this paper’s argument

HeartSteps II explicitly commits to modeling SDT constructs dynamically — not just measuring them cross-sectionally. This is the study’s translation challenge: taking a well-established static theory and operationalizing it as a system of differential equations or a DBN that evolves over time.

Connection to the wider citation network

SDT is the only “classic” behavioral theory in the HeartSteps II reference list — and it is cited not as a model to test in the traditional sense, but as the starting raw material for computational re-formulation. This positions HeartSteps II within the broader agenda of upgrading behavioral science to be compatible with the data richness that mHealth now enables.

[38]

Murphy, K.P. (2002) — Dynamic Bayesian Networks: Representation, Inference and Learning

PhD Dissertation · University of California, Berkeley · 2002
★★★ DBN Technical Foundation UC Berkeley 2002 Methodological Anchor
Why this reference matters

This dissertation remains the definitive technical reference for Dynamic Bayesian Networks, establishing their formal probabilistic structure, exact and approximate inference algorithms, and learning procedures. It is the foundational text the HeartSteps II modeling team draws on when specifying how DBNs can represent temporal dependencies between health constructs.

Key contribution to this paper’s argument

Spruijt-Metz et al. cite this alongside Murphy’s 2012 textbook to ground the DBN modeling framework in rigorous probabilistic theory. The reference demonstrates that the team is not applying DBNs loosely — they are adopting a well-specified formalism with known inference and learning properties.

Connection to the wider citation network

Together with ref [39], this forms the pure-theory anchor of the engineering/modeling cluster. All the applied modeling work (refs 40–48) implicitly relies on the formal machinery laid out here.

[39]

Murphy, K.P. (2012) — Machine Learning: A Probabilistic Perspective

MIT Press · Cambridge, MA · 2012
★★ ML Textbook Authority MIT Press 2012 Technical Reference
Why this reference matters

A comprehensive graduate textbook that covers probabilistic graphical models, Bayesian inference, and machine learning methods, including DBNs, Kalman filters, and hidden Markov models. It places the specific modeling choices in HeartSteps II within a broader ML landscape, providing the team and readers with a shared technical vocabulary.

Key contribution to this paper’s argument

Cited alongside ref [38] to lend further authority to the DBN approach. The 2012 textbook is more accessible than the 2002 dissertation and serves as the practical implementation reference for the team’s probabilistic modeling language development work.

Connection to the wider citation network

Forms a pair with ref [38] — together these two Murphy references are the theoretical backbone for the DBN thread of HeartSteps II’s modeling agenda, distinguishing it from the dynamical systems thread (refs 40–45) which draws on a completely different engineering tradition.

[40]

Riley et al. (2016) — Development of a dynamic computational model of social cognitive theory

Translational Behavioral Medicine · 6:483–495 · 2016
★★★ First Proof of Concept Transl. Behav. Med. 2016 Proof-of-Concept Predecessor
Why this reference matters

This paper demonstrates — for the first time — that a major behavioral theory (social cognitive theory) can be translated into a dynamic computational model using control-systems engineering methods. It proved the concept that the fluid-analogy/differential-equation approach was viable for behavioral health, paving the way for HeartSteps II’s more ambitious multi-theory modeling agenda.

Key contribution to this paper’s argument

Spruijt-Metz et al. use this as their primary illustration that dynamic computational modeling of health theories is not merely aspirational — it has already been done with SCT, and HeartSteps II is extending the approach to SDT with richer longitudinal data. Rivera and Hekler, co-authors here, are also co-authors of HeartSteps II.

Connection to the wider citation network

The bridge paper between the behavioral science cluster and the engineering cluster in HeartSteps II’s citation network. It represents the moment the two traditions first collaborated productively, and HeartSteps II is the direct institutional successor to this proof-of-concept.

[41]

Rivera et al. (2018) — Intensively Adaptive Interventions Using Control Systems Engineering

In: Optimization of Behavioral, Biobehavioral, and Biomedical Interventions · Springer · 2018 · pp. 121–173
★★ Illustrative Case Studies Springer Book Chapter 2018 Applied Framework
Why this reference matters

This book chapter provides two detailed worked examples of applying control-systems engineering principles to adaptive behavioral interventions. It moves beyond the conceptual framing of earlier papers to show what the modeling workflow actually looks like in practice — making it a key how-to reference for the HeartSteps II team’s dynamical systems modeling work.

Key contribution to this paper’s argument

Cited to support the claim that dynamical systems modeling of adaptive interventions is practically achievable, not merely theoretically possible. The two illustrative examples demonstrate the tank-and-valve fluid analogy that HeartSteps II’s modeling section describes.

Connection to the wider citation network

Rivera is a co-author of both this chapter and HeartSteps II, and the chapter draws on the same Arizona State University control-systems lab tradition that underlies refs 42, 43, 44, and 45 — collectively forming the applied dynamical systems sub-cluster within the broader engineering/modeling cluster.

[42]

Martin et al. (2020) — A Control-Oriented Model of Social Cognitive Theory for Optimized mHealth Interventions

IEEE Transactions on Control Systems Technology · 28:331–346 · 2020
★★ IEEE Engineering Publication IEEE TCST 2020 Engineering Formalization
Why this reference matters

Published in an IEEE engineering journal — unusual for behavioral health research — this paper formalizes a control-oriented model of social cognitive theory as a system of differential equations amenable to closed-loop control design. It demonstrates that behavioral constructs can be expressed in the mathematical language of engineering control systems.

Key contribution to this paper’s argument

Supports the dynamical systems modeling thread in HeartSteps II by providing a concrete, peer-reviewed example of the differential-equation approach applied to a behavioral theory. Its IEEE venue signals that this work is credible from both a behavioral science and an engineering standpoint — exactly the cross-disciplinary credibility HeartSteps II needs.

Connection to the wider citation network

Together with ref [40] (Riley 2016), this is the second major instantiation of the SCT computational modeling program. HeartSteps II builds on both, shifting the target theory from SCT to SDT and the data source from simulated/short-term data to a year-long ILD dataset.

[43]

Hekler et al. (2018) — Tutorial for Using Control Systems Engineering to Optimize Adaptive mHealth Interventions

Journal of Medical Internet Research · 20:e214 · 2018
★★★ Practitioner Tutorial JMIR 2018 Methodological How-To
Why this reference matters

Published in JMIR — the field’s leading mHealth journal — this tutorial bridges the technical engineering literature and the broader behavioral health community by explaining control-systems concepts in accessible terms. It is the primary on-ramp for behavioral scientists who want to apply dynamical systems modeling to their own interventions.

Key contribution to this paper’s argument

Hekler is a co-author of HeartSteps II, and this tutorial represents the team’s commitment to making their methodological innovations available to the field — not just using them internally. It also demonstrates that the approach has been reviewed and accepted by the mHealth research community, not just engineering journals.

Connection to the wider citation network

The most widely accessible entry point into the engineering/modeling cluster, making it the reference most likely to be followed up by behavioral health readers of HeartSteps II who want to understand the dynamical systems approach without reading engineering textbooks or IEEE papers.

[44]

Korinek et al. (2017) — Adaptive step goals and rewards: a longitudinal growth model for a smartphone walking intervention

Journal of Behavioral Medicine · 41:74–86 · 2017 (published online 2017)
★★ Adaptive Goal Empirics J. Behav. Med. 2017 Empirical Precedent
Why this reference matters

This paper provides empirical evidence that adaptive step goals — dynamically adjusted based on individual performance trajectories — can support sustained physical activity in a smartphone-based intervention. It directly validates one of HeartSteps II’s core design features: the adaptive weekly MVPA goal algorithm.

Key contribution to this paper’s argument

Supports the adaptive goal-setting component of HeartSteps II by demonstrating that the approach has been tested and shown to work in a real-world walking intervention. Rivera and Hekler are also co-authors, maintaining the cross-team lineage of this research program.

Connection to the wider citation network

Sits at the intersection of the dynamical systems modeling cluster and the HeartSteps intervention design literature — it is both a methods validation paper and an empirical evidence paper, making it one of the cluster’s most directly applied references.

[45]

Rivera, Pew & Collins (2007) — Using engineering control principles to inform the design of adaptive interventions

Drug and Alcohol Dependence · 88:S31–S40 · 2007
★★ Original Conceptual Bridge Drug Alcohol Depend. 2007 Founding Conceptual Paper
Why this reference matters

This is the earliest paper in the engineering/modeling cluster, representing the first published argument that control-systems engineering principles — developed for managing industrial processes — could be applied to designing adaptive behavioral interventions. It is the original conceptual bridge between the two disciplines.

Key contribution to this paper’s argument

Provides the intellectual genealogy of the dynamical systems approach, showing that it was not invented for HeartSteps II but has a 15-year development history. Its drug and alcohol dependence context also signals that the approach generalizes across behavioral health domains beyond physical activity.

Connection to the wider citation network

The earliest node in the dynamical systems sub-cluster; everything in refs 40–44 builds on the conceptual framework first articulated here. Rivera’s presence as a co-author across refs 41, 42, 43, 44, and 45 — and as a co-author of HeartSteps II itself — shows remarkable continuity of scientific vision across nearly two decades.

[46]

Stenman, A. (1999) — Model on Demand: Algorithms, Analysis and Applications

PhD Dissertation · Linköping University · 1999
★★ MoD Origin Linköping 1999 Algorithmic Foundation
Why this reference matters

This dissertation introduced the Model on Demand (MoD) estimation framework — a local, nonlinear system-identification method that fits models to data from a temporally local neighborhood rather than imposing a single global model. It is the foundational reference for the nonlinear parameter estimation approach HeartSteps II plans to apply to its dynamical systems models.

Key contribution to this paper’s argument

MoD is cited as HeartSteps II’s solution to the nonlinearity problem: behavioral dynamics are unlikely to follow a single global linear model across a full year. By fitting locally adaptive parametric models, MoD allows the dynamical systems framework to capture the shifting, context-dependent nature of behavior without requiring an intractably complex global specification.

Connection to the wider citation network

Paired with ref [47] (Braun et al. 2001), which extended MoD to non-linear process systems. These two references form the numerical methods sub-cluster within the engineering/modeling cluster — distinct from both the DBN cluster (refs 38–39) and the control-theory cluster (refs 40–45).

[47]

Braun, Rivera & Stenman (2001) — A ‘Model-on-Demand’ identification methodology for non-linear process systems

International Journal of Control · 74:1708–1717 · 2001
★★ MoD Extension Int. J. Control 2001 Methodological Extension
Why this reference matters

This paper extended Stenman’s MoD framework to nonlinear process systems — demonstrating its practical value for engineering applications where system dynamics change over time and cannot be captured by a single fixed model. It validates MoD as a robust tool for exactly the kind of time-varying, nonlinear system HeartSteps II aims to model in human behavioral dynamics.

Key contribution to this paper’s argument

Rivera is co-author of both this paper and HeartSteps II, providing direct continuity between the engineering process-control literature and the behavioral mHealth application. The paper shows that MoD is not borrowed speculatively — it has been validated in applied engineering contexts and is now being transferred to health behavior modeling.

Connection to the wider citation network

Completes the MoD pair with ref [46]. Rivera’s co-authorship here and across the dynamical systems cluster (refs 41–45) makes him the central node bridging process-control engineering and behavioral health science within HeartSteps II’s citation network.

[48]

Wang & Spall (2011/2014) — Discrete Simultaneous Perturbation Stochastic Approximation for resource allocation in public health

Proceedings of the American Control Conference · San Francisco · 2011 (cited 2014)
★ Search Procedure American Control Conf. 2011 Optimization Algorithm
Why this reference matters

This conference paper introduces Discrete Simultaneous Perturbation Stochastic Approximation (DSPSA) — a gradient-free optimization algorithm designed for discrete parameter spaces. It is the search procedure HeartSteps II plans to use for efficiently identifying optimal model features and MoD design parameters from the large, noisy ILD dataset without requiring a closed-form objective function.

Key contribution to this paper’s argument

DSPSA solves a practical bottleneck in the dynamical systems modeling workflow: determining which model features and MoD parameters to use requires searching a large discrete space, and standard gradient-based methods fail when the objective function cannot be expressed in closed form. DSPSA approximates gradients from simultaneous two-sided perturbations, making the search tractable.

Connection to the wider citation network

The most technically specialized reference in the engineering/modeling cluster — it addresses a narrow but critical computational problem in the modeling pipeline. Its public-health application context in the original paper is an unusual point of connection between the optimization algorithms literature and health intervention research, mirroring HeartSteps II’s own cross-disciplinary ambition.

Reference Network Summary

HeartSteps II’s citation network divides into three distinct clusters, each representing a different discipline the paper synthesizes. The behavioral health / JITAI cluster (refs 6–10) establishes the theoretical motivation — why static theories fail and what JITAIs require. The MRT/statistics cluster (refs 11, 35–37) provides the experimental and analytic design scaffolding, anchored by the foundational Klasnja 2015 MRT paper. The engineering/modeling cluster (refs 38–48) is unusual for a behavioral health journal paper: it includes Murphy’s DBN textbooks, Rivera’s engineering-control-systems papers, and specialized numerical methods (MoD, DSPSA). The bridge between clusters is the HeartSteps program itself — refs 12 and 13 (HeartSteps I efficacy + RL algorithm) connect the behavioral trial evidence to the computational modeling agenda. Notably, many co-authors of HeartSteps II also appear in the reference list, indicating that the paper represents a large multi-disciplinary research coalition (USC, UMass, Northeastern, Arizona State, UCSD, Michigan) publishing their joint roadmap, not a single team’s retrospective report.

Click an answer to reveal feedback. Each question locks after answering.

Question 1 of 6
What is the proximal outcome for anti-sedentary suggestions in HeartSteps II?
✓ Correct. The anti-sedentary suggestion is intended to prompt the participant to get up and start moving sooner than they otherwise would. The study therefore measures the time elapsed from when the participant became eligible for a suggestion to when they first begin accruing steps — i.e., time to sedentary-behavior disruption.
Not quite. Daily step count is the proximal outcome for motivational messages; the 30-minute step count is for walking suggestions. Each component has its own theory-specified proximal outcome. For anti-sedentary suggestions, the outcome is time to sedentary-behavior disruption — how quickly does the person get up and move after receiving (or not receiving) the prompt?
Question 2 of 6
Why does HeartSteps II argue that purely data-driven reinforcement learning cannot replace behavioral theory in JITAI design?
✓ Correct. The paper explicitly addresses the “why not just use RL?” question: mHealth data is highly noisy and often sparse, meaning the algorithm has limited signal from which to learn. Theory-grounded models provide crucial structure — at minimum for the initial policy — without which RL alone would converge too slowly or not at all in a year-long deployment.
Not quite. The paper’s explicit argument is about data quality: mHealth data is too noisy and sparse for purely data-driven RL to learn reliable patterns. Even RL-based JITAIs benefit from behavioral theory, at minimum as a basis for the initial intervention-provision policy. This is not a computational power issue or a regulatory issue.
Question 3 of 6
What is the primary function of the HeartSteps custom clock face running on the Fitbit Versa?
✓ Correct. The Fitbit’s standard API does not push activity updates frequently enough for accurate anti-sedentary suggestion timing. The custom clock face solves this by polling step count every 5 minutes. Without a functioning clock face installed, anti-sedentary suggestions cannot be sent — making it a critical infrastructure requirement, not just a UI feature.
Not quite. The clock face’s primary purpose is to provide near-real-time (5-minute) step data so the system can accurately detect when a participant has been sedentary for 40+ minutes and may benefit from an anti-sedentary suggestion. The standard Fitbit API doesn’t update often enough for this use case. GPS and motivational messages are handled by other parts of the system.
Question 4 of 6
HeartSteps II’s walking-suggestion algorithm responds to habituation by doing which of the following?
✓ Correct. The contextual bandit tracks each participant’s responsiveness over time. When responsiveness drops — suggesting habituation to the prompts — the algorithm lowers the overall intervention probability, effectively giving the participant a break. This is a deliberate design choice to preserve long-term effectiveness and reduce user burden.
Not quite. The contextual bandit in HeartSteps II responds to decreased responsiveness (a signal of habituation) by lowering the overall probability of sending walking suggestions — giving the participant a break from prompts. This is one of the key features distinguishing it from simpler reminder systems like Apple Watch move prompts, which simply fire whenever a threshold is met.
Question 5 of 6
What makes Dynamic Bayesian Networks (DBNs) particularly well-suited for HeartSteps II’s modeling work?
✓ Correct. HeartSteps II’s data is highly heterogeneous — step counts at the minute level, EMA once or twice daily, weekly surveys, quarterly burst weeks — and contains substantial missingness. DBNs are specifically valued because their probabilistic graphical structure can model processes where different constructs are measured at very different frequencies and where missing data is handled through probabilistic inference rather than case deletion.
Not quite. DBNs are valued precisely for their flexibility with heterogeneous data and principled handling of missingness through probabilistic inference — both critical given HeartSteps II’s multi-scale, multi-stream data. The idiographic property (representing a single person) is an advantage of Dynamical Systems Modeling, not DBNs. DBNs can also be applied at the group level.
Question 6 of 6
How does HeartSteps II’s adaptive weekly activity goal algorithm work?
✓ Correct. The algorithm is deliberately simple: next week’s goal = this week’s achieved MVPA + 20 minutes, capped at 150. This simplicity is actually a feature — it responds rapidly to real-life disruptions (illness, travel, busy periods) because if a participant does less one week, the goal immediately adjusts downward too, maintaining a sense of achievability.
Not quite. The algorithm is refreshingly simple: take what the participant actually achieved this week, add 20 minutes, cap at 150. The paper explicitly celebrates this simplicity — it adapts quickly to life changes because the baseline always reflects recent actual behavior, not a fixed target or a complex prediction model. Participants can also override the automatic goal during their weekly reflection.
— / 6 Correct answers
Core Thesis
The real frontier of mHealth is not whether interventions work, but how to build dynamic, computationally rigorous theories of behavior change that can drive JITAIs capable of adapting to each person across the full complexity of daily life — and HeartSteps II is the first study explicitly designed to advance both goals simultaneously.
  • 📐

    Static Theories Cannot Drive Adaptive Interventions

    The fundamental critique in HeartSteps II is directed at the entire classical health-behavior theory canon — social-cognitive theory, health belief model, theory of planned action — all of which share a box-and-arrow, time-invariant structure. These theories were built on cross-sectional data and cannot capture the moment-to-moment co-interactions that actually determine behavior. Effective JITAIs require theories expressed as dynamic computational models, not diagrams.

  • 🔁

    The MRT as Theory Engine, Not Just Efficacy Test

    Most trials ask “does the intervention work?” HeartSteps II asks that question and simultaneously asks “what do the patterns of response tell us about how behavior works?” The ILD collected across 95 participants over a year — with thousands of micro-randomization decision points — is treated as a dataset for building and testing dynamic computational theories, not just for estimating an average treatment effect.

  • ⚖️

    Burden Management Is an Algorithmic Problem

    HeartSteps II treats intervention burden as a first-class design challenge. The anti-sedentary suggestion budget (maximum average 2.5 per day), the contextual bandit’s habituation response, and the availability windows that prevent “piling on” after recent activity all reflect the insight that an intervention people ignore or resent provides no benefit. Burden management is not a side constraint — it is baked into the randomization algorithms themselves.

  • 🧪

    Theory and Data Must Co-Evolve

    HeartSteps II explicitly rejects both pure theory (untestable static models) and pure data (RL without behavioral structure). The modeling frameworks — DBNs and dynamical systems models — are designed to be expressive enough to encode theory-grounded dynamic hypotheses and then to be estimated and revised with actual ILD. The study’s contribution is as much the methodology for bridging theory and data as it is the specific HeartSteps results.

  • 🕐

    Timescale Is Everything

    One of HeartSteps II’s most underappreciated contributions is the insistence that behavior is multi-timescale: mood fluctuates within minutes; sedentary bouts resolve within hours; weekly goals operate over days; motivation for exercise may shift over months. Any model of behavior change must specify which timescale each construct operates on and how constructs at different timescales interact. The EMA burst design was created precisely to capture this structure.

  • 🤝

    Cross-Disciplinary Collaboration Is Not Optional

    HeartSteps II required behavioral scientists (USC, UCSD), computer scientists (UMass), engineers (Arizona State), and clinical informatics researchers (Michigan) working together from the study’s inception. The modeling approaches — borrowed from engineering control theory and Bayesian machine learning — could not have been brought to behavioral health without a team structured to bridge these worlds. For mHealth researchers, this signals that the next generation of JITAI development requires organizational change, not just new tools.

Discussion Question
Why do the authors take aim at classical health-behavior theories without engaging deeply with what those theories actually say?

The Move the Paper Makes

The critique of classical health-behavior theories in HeartSteps II is structural rather than substantive. Spruijt-Metz et al. do not engage with what social-cognitive theory, the health belief model, or the theory of planned action actually say. They make a single move — “these theories share a common form: box-and-arrow diagrams depicting time-invariant relationships” — and treat that formal observation as sufficient grounds to dismiss the entire tradition. From that point forward, the theories serve as a foil for the modeling agenda, not as objects of inquiry in their own right.

Three Reasons the Paper Works This Way

The genre excuse. This is a protocol paper. Its purpose is to justify a study design, not to conduct a theoretical review. Deep engagement with the content of SCT or the health belief model would be beside the point of the article’s function. The theory critique is instrumental — it exists to motivate the modeling agenda, nothing more.

The critique is about form, not content. The authors are not asking whether SCT is right about self-efficacy, or whether the health belief model correctly identifies perceived barriers. They are asking a narrower engineering question: can this theory be expressed as a system of differential equations or a DBN? From a modeling standpoint, most classical theories cannot — they were not written to be computationally operationalizable. That is a legitimate formal critique that does not require reading the theories deeply.

Strategic efficiency. A protocol paper needs a clean narrative arc: problem → gap → study. Nuanced engagement with whether each theory does or does not contain implicit dynamics would destabilize that arc. The straw man is doing load-bearing work.

Where the Argument Overreaches

Social-cognitive theory in particular — Bandura’s work — does describe feedback loops, reciprocal determinism, and the iterative, context-sensitive nature of self-efficacy. It is not obviously as static as the paper implies. SDT itself, which HeartSteps II adopts as its theoretical anchor, distinguishes between autonomous and controlled motivation in ways that already imply dynamics: need satisfaction shifts over time, contexts shift motivational regulation. The claim that “all classical theories are static boxes and arrows” is a straw man, and the authors never confront that tension — including regarding their own chosen theory.

The Deeper Conflation

The paper conflates two distinct problems: the problem of measurement (we did not have dense enough data to test dynamic theories) and the problem of theory (theories were written statically). These are not the same thing. A behavioral theorist could reasonably respond: “SDT always implied dynamics — we simply could not test them. You have not discovered a new theory; you have finally built the instrument that the theory always needed.” The authors’ framing positions their engineering modeling approach as generating new theory, when it might be better understood as finally providing the empirical machinery to test theory that was already more dynamic than their caricature of the classical canon suggests.

Bottom Line
The authors take aim at the models’ form — the box-and-arrow structure — because that is the specific thing their computational framework improves on, and deep engagement with the models’ actual content would complicate the clean narrative they need to justify their study design. Whether that is intellectually honest depends on how charitable you are willing to be about the protocol-paper genre.

Similar Posts

Leave a Reply