Related Experiment Video
Updated: Aug 2, 2025

Studying Habituation in Stentor coeruleus
Published on: January 6, 2023
What can machine learning teach us about habit formation? Evidence from exercise and hygiene
Anastasia Buyalskaya1, Hung Ho2, Katherine L Milkman3
1Department of Marketing, HEC Paris, Jouy-en-Josas 78350, France.
Habit formation takes months for gym attendance but weeks for hospital handwashing, challenging the "magic number" myth. Highly habitual gymgoers show less response to interventions.
Area of Science:
- Behavioral Science
- Machine Learning
- Health Informatics
Background:
- Habit formation is crucial for behavior change but its temporal dynamics are poorly understood.
- Previous research often relies on self-reported data and lacks objective measures of habit formation.
- The concept of a fixed number of days to form a habit is widely popularized but lacks empirical support.
Purpose of the Study:
- To quantitatively characterize habit formation using objective behavioral data and machine learning.
- To investigate the time course of habit formation in distinct behavioral contexts: gym attendance and hospital handwashing.
- To explore the relationship between habit strength, predictability, and intervention responsiveness.
Main Methods:
- Applied a novel machine learning technique, Predicting Context Sensitivity (PCS), to analyze large-scale objective panel data.
- Utilized over 12 million gym attendance records and 40 million hospital handwashing observations.
- Developed individual habit formation curves based on time-series predictability of behavior.
Main Results:
- Habit formation for gym attendance typically requires months, significantly longer than the commonly assumed 'magic number' of days.
- Habit formation for hospital handwashing occurs much faster, often within weeks.
- Individuals with higher behavioral predictability (stronger habits) exhibited reduced responsiveness to interventions promoting attendance.
Conclusions:
- Habit formation is a lengthy process, varying significantly across different behaviors and contexts.
- The study challenges simplistic 'magic number' theories of habit formation, emphasizing individual variability and context.
- Strong habits may confer resistance to external influences, impacting the efficacy of behavioral interventions.
More Related Videos
11:21Methodology for Establishing a Community-Wide Life Laboratory for Capturing Unobtrusive and Continuous Remote Activity and Health Data
Published on: July 27, 2018
09:43A Fully Automated Rodent Conditioning Protocol for Sensorimotor Integration and Cognitive Control Experiments
Published on: April 15, 2014
Related Concept Videos
Nonconscious Mimicry
Behaviorism
The core premise of behaviorism is its focus on observable behavior rather than internal thoughts or feelings. This approach argues that true scientific...
Classical Conditioning in Daily Life
John B. Watson and Rosalie Rayner famously demonstrated the development of fear through classical conditioning in their experiment with Little Albert. They paired the...
Introduction to Learning
In contrast to learned behaviors, unlearned behaviors such as crying, sexual...
Law of Effect
Edward Thorndike's foundational work involved studying learning in animals, particularly using puzzle...
Instinctive Drift