Pharmacokinetics-Informed Neural Network for Predicting Opioid Administration Moments with Wearable Sensors


  • Bhanu Teja Gullapalli University of California San Diego
  • Stephanie Carreiro UMass Chan Medical School
  • Brittany P Chapman UMass Chan Medical School
  • Eric L Garland University of Utah
  • Tauhidur Rahman University of California San Diego



Machine Learning, Pattern recognition , Health, Medical & Medicine


Long-term and high-dose prescription opioid use places individuals at risk for opioid misuse, opioid use disorder (OUD), and overdose. Existing methods for monitoring opioid use and detecting misuse rely on self-reports, which are prone to reporting bias, and toxicology testing, which may be infeasible in outpatient settings. Although wearable technologies for monitoring day-to-day health metrics have gained significant traction in recent years due to their ease of use, flexibility, and advancements in sensor technology, their application within the opioid use space remains underexplored. In the current work, we demonstrate that oral opioid administrations can be detected using physiological signals collected from a wrist sensor. More importantly, we show that models informed by opioid pharmacokinetics increase reliability in predicting the timing of opioid administrations. Forty-two individuals who were prescribed opioids as a part of their medical treatment in-hospital and after discharge were enrolled. Participants wore a wrist sensor throughout the study, while opioid administrations were tracked using electronic medical records and self-reports. We collected 1,983 hours of sensor data containing 187 opioid administrations from the inpatient setting and 927 hours of sensor data containing 40 opioid administrations from the outpatient setting. We demonstrate that a self-supervised pre-trained model, capable of learning the canonical time series of plasma concentration of the drug derived from opioid pharmacokinetics, can reliably detect opioid administration in both settings. Our work suggests the potential of pharmacokinetic-informed, data-driven models to objectively detect opioid use in daily life.



How to Cite

Gullapalli, B. T., Carreiro, S., Chapman, B. P., Garland, E. L., & Rahman, T. (2024). Pharmacokinetics-Informed Neural Network for Predicting Opioid Administration Moments with Wearable Sensors. Proceedings of the AAAI Conference on Artificial Intelligence, 38(21), 22892-22898.