Designing and evaluating an online reinforcement learning agent for physical exercise recommendations in N-of-1 trials (2309.14156v2)
Abstract: Personalized adaptive interventions offer the opportunity to increase patient benefits, however, there are challenges in their planning and implementation. Once implemented, it is an important question whether personalized adaptive interventions are indeed clinically more effective compared to a fixed gold standard intervention. In this paper, we present an innovative N-of-1 trial study design testing whether implementing a personalized intervention by an online reinforcement learning agent is feasible and effective. Throughout, we use a new study on physical exercise recommendations to reduce pain in endometriosis for illustration. We describe the design of a contextual bandit recommendation agent and evaluate the agent in simulation studies. The results show that, first, implementing a personalized intervention by an online reinforcement learning agent is feasible. Second, such adaptive interventions have the potential to improve patients' benefits even if only few observations are available. As one challenge, they add complexity to the design and implementation process. In order to quantify the expected benefit, data from previous interventional studies is required. We expect our approach to be transferable to other interventions and clinical interventions.
- Physical exercise as non-pharmacological treatment of chronic pain: Why and when. Best Practice & Research. Clinical Rheumatology, 29(1):120–130, Feb 2015. ISSN 1532-1770. 10.1016/j.berh.2015.04.022.
- Exercise for dysmenorrhoea. Cochrane Database of Systematic Reviews, (9), 2019a. ISSN 1465-1858. 10.1002/14651858.CD004142.pub4. URL https://doi.org//10.1002/14651858.CD004142.pub4.
- Self-management strategies amongst australian women with endometriosis: a national online survey. BMC complementary and alternative medicine, 19(1):17, Jan 2019b. ISSN 1472-6882. 10.1186/s12906-019-2431-x.
- Endocrine responses of the stress system to different types of exercise. Reviews in Endocrine & Metabolic Disorders, 24(2):251–266, Apr 2023. ISSN 1573-2606. 10.1007/s11154-022-09758-1.
- Pain sensitivity is reduced by exercise training: Evidence from a systematic review and meta-analysis. Neuroscience and Biobehavioral Reviews, 120:100–108, Jan 2021. ISSN 1873-7528. 10.1016/j.neubiorev.2020.11.012.
- Endometriosis and physical exercises: a systematic review. Reproductive Biology and Endocrinology: RB&E, 12:4, Jan 2014. ISSN 1477-7827. 10.1186/1477-7827-12-4.
- Fibromyalgia: anti-inflammatory and stress responses after acute moderate exercise. PloS One, 8(9):e74524, 2013. ISSN 1932-6203. 10.1371/journal.pone.0074524.
- An empirical evaluation of thompson sampling. In J. Shawe-Taylor, R. Zemel, P. Bartlett, F. Pereira, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 24. Curran Associates, Inc., 2011. URL https://proceedings.neurips.cc/paper_files/paper/2011/file/e53a0a2978c28872a4505bdb51db06dc-Paper.pdf.
- The epidemiology of endometriosis. Annals of the New York Academy of Sciences, 955:11–22; discussion 34–36, 396–406, Mar 2002. ISSN 0077-8923. 10.1111/j.1749-6632.2002.tb02761.x.
- Sleepbandits: Guided flexible self-experiments for sleep. In Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems, CHI ’20, page 1–13, New York, NY, USA, Apr 2020. Association for Computing Machinery. ISBN 978-1-4503-6708-0. 10.1145/3313831.3376584. URL https://dl.acm.org/doi/10.1145/3313831.3376584.
- Augmenting the clinical data sources for enigmatic diseases: A cross-sectional study of self-tracking data and clinical documentation in endometriosis. Applied Clinical Informatics, 11(5):769–784, Oct 2020. ISSN 1869-0327. 10.1055/s-0040-1718755.
- Associations between physical exercise patterns and pain symptoms in individuals with endometriosis: a cross-sectional mhealth-based investigation. BMJ Open, 12(7), 2022. ISSN 2044-6055. 10.1136/bmjopen-2021-059280. URL https://bmjopen.bmj.com/content/12/7/e059280.
- Adaptive learning algorithms to optimize mobile applications for behavioral health: guidelines for design decisions. Journal of the American Medical Informatics Association, 28(6):1225–1234, June 2021. ISSN 1527-974X. 10.1093/jamia/ocab001.
- Disparities in healthcare services in women with endometriosis with public vs private health insurance. American Journal of Obstetrics and Gynecology, 221(6):623.e1–623.e11, Dec 2019. ISSN 1097-6868. 10.1016/j.ajog.2019.06.020.
- Barry A. Franklin. Evolution of the acsm guidelines: Historical perspectives, new insights, and practical implications. ACSM’s Health & Fitness Journal, 25(2):26, Apr 2021. ISSN 1091-5397. 10.1249/FIT.0000000000000645.
- The practice of hatha yoga for the treatment of pain associated with endometriosis. Journal of Alternative and Complementary Medicine (New York, N.Y.), 23(1):45–52, Jan 2017. ISSN 1557-7708. 10.1089/acm.2015.0343.
- Effect of exercises on central and endocrine system for pain modulation in primary dysmenorrhea. Journal of Lifestyle Medicine, 12(1):15–25, Jan 2022. ISSN 2234-8549. 10.15280/jlm.2022.12.1.15.
- Laparoscopy and reported pain among patients with endometriosis. Journal of obstetrics and gynaecology Canada: JOGC = Journal d’obstetrique et gynecologie du Canada: JOGC, 27(5):477–485, May 2005. ISSN 1701-2163. 10.1016/s1701-2163(16)30531-x.
- Effect of opioid vs nonopioid medications on pain-related function in patients with chronic back pain or hip or knee osteoarthritis pain: The space randomized clinical trial. JAMA, 319(9):872–882, Mar 2018. ISSN 1538-3598. 10.1001/jama.2018.0899.
- Personalized heartsteps: A reinforcement learning algorithm for optimizing physical activity. Proceedings of the ACM on interactive, mobile, wearable and ubiquitous technologies, 4(1):18, Mar 2020. ISSN 2474-9567. 10.1145/3381007.
- The n-of-1 clinical trial: the ultimate strategy for individualizing medicine? Personalized Medicine, 8(2):161–173, Mar 2011. ISSN 1741-0541. 10.2217/pme.11.7.
- The efficacy of pain neuroscience education on musculoskeletal pain: A systematic review of the literature. Physiotherapy Theory and Practice, 32(5):332–355, Jul 2016. ISSN 1532-5040. 10.1080/09593985.2016.1194646.
- Adaptive sequential design for a single time-series, 2021. URL https://arxiv.org/abs/2102.00102.
- Ronald Melzack. The mcgill pain questionnaire: major properties and scoring methods. Pain, 1(3):277–299, Sep 1975. ISSN 0304-3959. 10.1016/0304-3959(75)90044-5.
- The effects of a self-efficacy intervention on exercise behavior of fitness club members in 52 weeks and long-term relationships of transtheoretical model constructs. Journal of Sports Science & Medicine, 16(2):163–171, Jun 2017. ISSN 1303-2968.
- Exercise and mental health. Maturitas, 106:48–56, Dec 2017. ISSN 1873-4111. 10.1016/j.maturitas.2017.09.003.
- Just-in-time adaptive interventions (jitais) in mobile health: Key components and design principles for ongoing health behavior support. Annals of Behavioral Medicine: A Publication of the Society of Behavioral Medicine, 52(6):446–462, May 2018. ISSN 1532-4796. 10.1007/s12160-016-9830-8.
- National Institutes of Health (NIH), 2023. Estimates of funding for various research, condition, and disease categories, 2023. URL https://report.nih.gov/funding/categorical-spending#/. Accessed: 2023-09-06.
- A meta-analytic review of the hypoalgesic effects of exercise. The Journal of Pain, 13(12):1139–1150, Dec 2012. ISSN 1528-8447. 10.1016/j.jpain.2012.09.006.
- Response styles and the duration of episodes of depressed mood. Journal of Abnormal Psychology, 102(1):20–28, Feb 1993. ISSN 0021-843X. 10.1037//0021-843x.102.1.20.
- Adaptive designs in clinical trials: why use them, and how to run and report them. BMC Medicine, 16(1):29, Feb 2018. ISSN 1741-7015. 10.1186/s12916-018-1017-7.
- Physical activity and endometriosis risk in women with infertility or pain: Systematic review and meta-analysis. Medicine, 95(40):e4957, Oct 2016. ISSN 1536-5964. 10.1097/MD.0000000000004957.
- Exercise-induced hypoalgesia in pain-free and chronic pain populations: State of the art and future directions. The Journal of Pain, 20(11):1249–1266, Nov 2019. ISSN 1528-8447. 10.1016/j.jpain.2019.03.005.
- Priorities for endometriosis research: recommendations from an international consensus workshop. Reproductive Sciences (Thousand Oaks, Calif.), 16(4):335–346, Apr 2009. ISSN 1933-7205. 10.1177/1933719108330568.
- Probabilistic programming in python using pymc3. PeerJ Computer Science, 2:e55, Apr 2016. ISSN 2376-5992. 10.7717/peerj-cs.55.
- Pain typology and incident endometriosis. Human Reproduction (Oxford, England), 30(10):2427–2438, Oct 2015. ISSN 1460-2350. 10.1093/humrep/dev147.
- Bayesian adaptive n‐of‐1 trials for estimating population and individual treatment effects. Statistics in Medicine, 39(29):4499–4518, Dec 2020. ISSN 0277-6715, 1097-0258. 10.1002/sim.8737.
- C. E. Shannon. A mathematical theory of communication. The Bell System Technical Journal, 27(3):379–423, 1948. 10.1002/j.1538-7305.1948.tb01338.x.
- A bayesian‐bandit adaptive design for n‐of‐1 clinical trials. Statistics in Medicine, 40(7):1825–1844, Mar 2021. ISSN 0277-6715, 1097-0258. 10.1002/sim.8873.
- Raymond Sinatra. Causes and consequences of inadequate management of acute pain. Pain Medicine (Malden, Mass.), 11(12):1859–1871, Dec 2010. ISSN 1526-4637. 10.1111/j.1526-4637.2010.00983.x.
- Exercise-induced pain and analgesia? underlying mechanisms and clinical translation. Pain, 159 Suppl 1(Suppl 1):S91–S97, Sep 2018. ISSN 1872-6623. 10.1097/j.pain.0000000000001235.
- Return of chronic pelvic pain from endometriosis after raloxifene treatment: a randomized controlled trial. Obstetrics and Gynecology, 111(1):88–96, Jan 2008. ISSN 0029-7844. 10.1097/01.AOG.0000297307.35024.b5.
- Molecular classification of endometriosis and disease stage using high-dimensional genomic data. Endocrinology, 155(12):4986–4999, Dec 2014. ISSN 1945-7170. 10.1210/en.2014-1490.
- Intelligentpooling: Practical thompson sampling for mhealth. (arXiv:2008.01571), Dec 2020. URL http://arxiv.org/abs/2008.01571. arXiv:2008.01571 [cs, stat].
- Designing reinforcement learning algorithms for digital interventions: Pre-implementation guidelines. Algorithms, 15(88):255, Aug 2022. ISSN 1999-4893. 10.3390/a15080255.
- U.S. Dept. of Health and Human Services, 2018. U.s. department of health and human services. physical activity guidelines for americans 2018, 2018. URL https://health.gov/our-work/nutrition-physical-activity/physical-activity-guidelines/current-guidelines. Accessed: 2023-09-06.
- Autonomic responses to aerobic and resistance exercise in patients with chronic musculoskeletal pain: A systematic review. PloS One, 18(8):e0290061, 2023. ISSN 1932-6203. 10.1371/journal.pone.0290061.
- Cognitive modulation of pain: how do attention and emotion influence pain processing? Pain, 95(3):195–199, Feb 2002. ISSN 0304-3959. 10.1016/S0304-3959(02)00007-6.
- Daniel W. D. West and Stuart M. Phillips. Associations of exercise-induced hormone profiles and gains in strength and hypertrophy in a large cohort after weight training. European Journal of Applied Physiology, 112(7):2693–2702, Jul 2012. ISSN 1439-6327. 10.1007/s00421-011-2246-z.
- Encouraging physical activity in patients with diabetes: Intervention using a reinforcement learning system. Journal of Medical Internet Research, 19(10):e338, Oct 2017. ISSN 1438-8871. 10.2196/jmir.7994.
- Combining single patient (n-of-1) trials to estimate population treatment effects and to evaluate individual patient responses to treatment. Journal of Clinical Epidemiology, 50(4):401–410, Apr 1997. ISSN 0895-4356. 10.1016/s0895-4356(96)00429-5.