Theory-based Habit Modeling for Enhancing Behavior Prediction

Chao Zhang, Joaquin Vanschoren, Arlette van Wissen, Daniël Lakens, Boris E. R. de Ruyter, Wijnand A. IJsselsteijnarXiv 2021 · arXiv

Introduction

Behavior Change Support Systems (BCSS), such as health apps and wearables, aim to foster positive routines. However, a significant hurdle in their effectiveness is the "timing problem": interventions are often perceived as intrusive if they occur when a habit is already established, or ineffective if they fail to trigger when a habit is weak. Central to solving this is the accurate measurement of "habit strength," a latent psychological variable that has traditionally been difficult to quantify without burdensome user surveys or overly simplistic frequency counts.

This research explores a computational approach to habit modeling, leveraging mathematical frameworks derived from psychological theory to predict behavior from objective sensor data.

Computational Modeling of Habit Strength

The researchers compared three distinct modeling paradigms to predict user behavior (specifically toothbrushing):

  1. Survey-Based Models: Relying on traditional self-reported metrics like the Self-Report Habit Index (SRHI).
  2. Past-Behavior Models: A theory-free approach using the frequency of behavior within a sliding temporal window.
  3. Theory-Based Models: The primary focus of this study, which utilizes differential equations to track two internal cognitive states: Habit Strength (HS) and Memory Accessibility (Acc).

The theory-based approach models habit as a dynamic state that increases with consistent behavior in a stable context and decays during periods of inactivity. A key theoretical assumption is that habit acquisition is typically faster than its extinction.

Comparison of theoretical habit strength models (Klein et al., Miller et al., Psarra, and Tobias) illustrating the dynamics of growth and decay over time.

Methodology and Datasets

To validate these models, two longitudinal field studies were conducted focusing on dental hygiene. Toothbrushing was objectively tracked using Axivity AX3 accelerometers.

  • Study 1: Involved 40 participants over three weeks.
  • Study 2: Expanded to 79 participants from the general adult population over a similar period.

Predictive performance was evaluated using machine learning algorithms—Logistic Regression, Support Vector Machines (SVM), and Random Forests—within a nested hierarchical cross-validation framework to ensure generalizability across unseen users.

Key Findings

The results demonstrate the superiority of theory-driven computational models over traditional methods:

  • Predictive Accuracy: In Study 2, the Theory-Based model achieved an Area Under the Curve (AUC) of 0.815, significantly outperforming the Survey-based model (AUC = 0.676) and providing a marginal but meaningful improvement over the Past-Behavior model (AUC = 0.792).
  • Non-Linear Dynamics: Unlike simple frequency counts, theoretical models account for the "plateau" effect. Once a habit is strong, occasional lapses have a minimal impact on the calculated strength, whereas early repetitions carry more weight in the formation phase.
  • Parameter Stability: The optimal parameters for habit gain and decay were consistent across both studies, suggesting that these mathematical constants may reflect fundamental human learning processes for stable routines.
  • Habit vs. Memory: Computed habit strength was found to be a much stronger predictor than memory accessibility, suggesting that failures in routine behaviors like toothbrushing are more often due to weak automatic triggers than simple forgetting.

Conclusion and Future Directions

While theory-based modeling shows great promise for "zero-burden" behavior prediction, challenges remain. The current models were tested on toothbrushing, a behavior with high context stability. Future work must address more complex behaviors influenced by variable external factors (e.g., exercise) and solve the "cold start" problem of estimating initial habit strength for new users. Nonetheless, these findings pave the way for smarter digital health interventions that adapt to the user's psychological state without requiring constant manual input.

Summary updated

Abstract

Psychological theories of habit posit that when a strong habit is formed through behavioral repetition, it can trigger behavior automatically in the same environment. Given the reciprocal relationship between habit and behavior, changing lifestyle behaviors (e.g., toothbrushing) is largely a task of breaking old habits and creating new and healthy ones. Thus, representing users' habit strengths can be very useful for behavior change support systems (BCSS), for example, to predict behavior or to decide when an intervention reaches its intended effect. However, habit strength is not directly observable and existing self-report measures are taxing for users. In this paper, built on recent computational models of habit formation, we propose a method to enable intelligent systems to compute habit strength based on observable behavior. The hypothesized advantage of using computed habit strength for behavior prediction was tested using data from two intervention studies, where we trained participants to brush their teeth twice a day for three weeks and monitored their behaviors using accelerometers. Through hierarchical cross-validation, we found that for the task of predicting future brushing behavior, computed habit strength clearly outperformed self-reported habit strength (in both studies) and was also superior to models based on past behavior frequency (in the larger second study). Our findings provide initial support for our theory-based approach of modeling user habits and encourages the use of habit computation to deliver personalized and adaptive interventions.
BibTeX
@misc{zhang2021theory,
  author = {Chao Zhang and Joaquin Vanschoren and Arlette van Wissen and Daniël Lakens and Boris E. R. de Ruyter and Wijnand A. IJsselsteijn},
  title = {{Theory-based Habit Modeling for Enhancing Behavior Prediction}},
  year = {2021},
  eprint = {2101.01637},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.01637},
}
Figure