Advanced machine learning (AML) models are more sophisticated and have algorithms designed to handle significantly more complex data, Xiong said. Whereas other ML models use structured data that is neatly organized (i.e., tables in a database, insurance claims, pharmacy records), AML models can make sense of unstructured data (i.e., text information, audio, video, images). Deep learning is an example of AML models that utilizes deep neural networks that are more suitable for unstructured data. These neural networks mimic the human brain to learn from data and make predictions.1
Key Takeaways
- AI and ML can analyze vast amounts of data to identify new drug targets, predict patient outcomes, and personalize treatment plans.
- AI and ML are already being used to predict medication adherence, estimate opioid overdose deaths, and identify different subtypes of Alzheimer disease.
- There are some limitations to AI and ML, such as challenges with interpreting nuanced language and concerns about privacy and security.
“Just like the neurons connect our brain, these neural networks use multiple layers to connect and network and then, based on this structure, the neural networks can learn from data just like how we learn from experiences,” Xiong said.1
Xiong also reviewed some case studies highlighting potential uses of these tools. In one, by Hsu et al., investigators used temporal modeling to predict medication adherence in cardiovascular disease management. The models were found to outperform non-temporal models and long short-term memory (LSTM) models produced the best predictive performance. The authors concluded that deep temporal models can be used to integrate patient history and predict adherence and said the use of LSTM models was particularly advantageous.2
In the second case study, published in JAMA Network Open in 2022, investigators Sumner et al. used multiple proxy data sources to estimate weekly national opioid overdose deaths in near-real time. Signals from 5 overdose-related, proxy data sources including health, law enforcement, and online data from 2014 to 2019 were combined using a statistical model. The model was able to estimate national opioid overdose death rates with an approximate 1% error, highlighting the ability of these tools to provide a more timely understanding of overdose mortality trends.3
Finally, in the third case study, Alexander et al. used unsupervised ML to identify and analyze clinical subtypes of Alzheimer disease in care electronic health records (EHRs). Notably, each clustering approach used in the study produced different clusters, but 1 cluster appeared consistently, suggesting the presence of a distinct disease subtype. The authors concluded that it is essential to systematically evaluate different ML approaches to identify disease subtypes using EHRs.4
Despite these encouraging findings, Xiong did note some limitations, particularly with natural language processing models or large language models (i.e., ChatGPT, Llama, Gemini). Ambiguity or nuances in medical language or terminology could be a challenge, necessitating careful oversight and human interpretation. Privacy and security concerns with sensitive patient data is also a concern, particularly given recent data breaches. Finally, regulatory compliance will need to be figured out as these tools continue to advance.1
Regardless, AI and ML tools are sure to continue evolving and becoming more common in the pharmacy space. Identifying the best uses for these tools, whether in patient education, data collection, improving efficiencies, or other uses, could significantly improve the future of pharmacy.1
“AI and machine learning can help automate the medication filling process, improving accuracy and also saving time,” Xiong said. “The AI can help check and double-check errors in the medication orders, and they can help us identify errors and reduce errors so that patients are getting what they need and how they need it.”1
References
Xiong S. APhA-APR Keynote: AI in Pharmaceutical Research and Science. Presented March 22, 2024. At: American Pharmacists Association 2024 Annual Meeting and Exposition. Orlando, FL.
Hsu W, Warren JR, Riddle PJ. Medication adherence prediction through temporal modelling in cardiovascular disease management. BMC Med Inform Decis Mak. 2022;22(313). doi:10.1186/s12911-022-02052-9
Sumner SA, Bowen D, Holland K, Zwald ML, et al. Estimating weekly national opioid overdose deaths in near real time using multiple proxy data sources. JAMA Netw Open. 2022;5(7):e2223033. doi:10.1001/jamanetworkopen.2022.23033
Alexander N, Alexander DC, Barkhof F, Denaxas S. Identifying and evaluating clinical subtypes of Alzheimer’s disease in care electronic health records using unsupervised machine learning. BMC Med Inform Decis Mak. 2021;21(1):343. doi:10.1186/s12911-021-01693-6