Adaptive Behavioral AI: Reinforcement Learning to Enhance Pharmacy Services
Ana Fernández del Río, Michael Brennan Leong, Paulo Saraiva, Ivan Nazarov, Aditya Rastogi, Moiz Hassan, Dexian Tang, África Periáñez
TL;DR
Adaptive Behavioral AI applies reinforcement-learning driven nudges to pharmacy operations in LMICs by delivering personalized item-pair recommendations through SwipeRx. The approach uses contextual bandits, specifically a Gauss-Gamma linear bandit with Thompson sampling, to maximize short-term pharmacy expenditure while evaluating via mixed-method impact analyses. Two experiments (XP1 and XP2) show small but positive expenditure effects and potential delayed benefits, validating the feasibility of RL-based adaptive interventions in real-world health apps. This framework promises scalable improvements in inventory management, public health responsiveness, and patient care across health systems that rely on digital tools.
Abstract
Pharmacies are critical in healthcare systems, particularly in low- and middle-income countries. Procuring pharmacists with the right behavioral interventions or nudges can enhance their skills, public health awareness, and pharmacy inventory management, ensuring access to essential medicines that ultimately benefit their patients. We introduce a reinforcement learning operational system to deliver personalized behavioral interventions through mobile health applications. We illustrate its potential by discussing a series of initial experiments run with SwipeRx, an all-in-one app for pharmacists, including B2B e-commerce, in Indonesia. The proposed method has broader applications extending beyond pharmacy operations to optimize healthcare delivery.
