Introduction
Fitness applications often struggle with high user attrition rates, primarily due to the use of static, non-personalized exercise goals. Traditional "one-size-fits-all" targets, such as the ubiquitous 10,000 steps per day, fail to account for a user's fluctuating physical state, recovery needs, or long-term fitness progression. When goals are too demanding, users experience "overload" and burnout; when too easy, they lose interest.
To address this, we present a personalized exercise goal-setting framework that utilizes Deep Reinforcement Learning (DRL) to dynamically adjust targets based on a user’s "Fitness-Fatigue" state. This approach aims to maintain users in a "Goldilocks" zone of optimal intensity, balancing motivation with physical capability.
Methodology
The core of the proposed system is an Artificial Intelligence (AI) agent that models the relationship between exercise and performance through the lens of Fitness-Fatigue Theory. In this framework, performance is viewed as the net result of long-term physiological adaptations ("Fitness") minus transitory performance reductions ("Fatigue").
Deep Reinforcement Learning Architecture
The agent employs the Asynchronous Advantage Actor-Critic (A3C) algorithm, which allows for robust and efficient learning by training multiple agents in parallel. The neural network architecture is a hybrid design:
- Long Short-Term Memory (LSTM) Layers: These capture temporal dependencies and patterns in the user's historical exercise data.
- Fully Connected (FC) Layers: These process the current health state to inform immediate goal selection.
The "Actor" network suggests an optimal exercise policy (goal selection), while the "Critic" network evaluates the value of those actions. The system also distinguishes between "skill acquisition" for beginners and "skill retention" for advanced users, adjusting the underlying mathematical models to reflect how exercise compounds differently across experience levels.
Experimental Setup and Datasets
The framework was validated using three distinct datasets to ensure generalizability:
- G1 (Simulation): A synthetic dataset for 50 participants modeling walking behavior based on established literature.
- G2 (PMDATA): An open-source dataset from 11 participants over five months, including Fitbit logs and perceived exertion levels.
- G3 (Real World): Retrospective data from 13 adult runners using Fitbit devices over 12 weeks, utilizing "Training Impulses" (TRIMP) as the primary performance metric.
Key Insights and Results
The DRL approach demonstrated significant improvements over traditional fixed-goal strategies.
Performance Gains
The machine learning agent outperformed non-adaptive strategies by an average of 4.31%. Statistical analysis (ANOVA) confirmed that the rewards yielded by the ML approach were significantly higher than all fixed-goal benchmarks ($p < 0.001$). Furthermore, the system is computationally efficient; while training is intensive, real-time inference for goal selection takes only 3 seconds, making it suitable for mobile deployment.
Behavioral Dynamics
- Motivation and Failure: The study highlighted the "motivation effect"—the utility gained from achieving a goal. If the app's suggested goals are uninspiring or unrealistic, user performance can actually drop below baseline levels. Conversely, a moderate "disutility of failure" (penalty for missing goals) is necessary to provide the tension required for improvement, provided it does not lead to burnout.
- Adaptive Recovery: Visualization of the agent's policy showed it learned to pivot toward lower-intensity plans when a user's fatigue stock was high, effectively preventing overtraining and preserving long-term engagement.
Limitations and Future Directions
While promising, the study notes several limitations. The real-world dataset (G3) was relatively small, and the retrospective nature of the study means the algorithm has yet to be tested in a live "human-in-the-loop" clinical trial. Additionally, the model currently simplifies the psychological reasons for non-adherence, such as weather or mood.
Future work will focus on integrating gamification and community features, as well as implementing robust data encryption to support live, large-scale deployments in diverse user environments.
Summary updated