{"title":"How can language models assist with pharmaceuticals manufacturing deviations and Investigations?","authors":"Hossein Salami, Brandye Smith-Goettler, Vijay Yadav","doi":"10.1016/j.ijpharm.2024.125100","DOIUrl":null,"url":null,"abstract":"<p><p>Large Language Models (LLM) such as the Generative-Pretrained-Transformer (GPT) and Large-Language-Model-Meta-AI (LLaMA) have attracted much attention. There is strong evidence that these models perform remarkably well in various natural language processing tasks. However, how to leverage them in domain-specific use cases and drive value remains an open question. Focusing on the digital transformation in the pharmaceutical manufacturing space, we propose that leveraging historical records of manufacturing deviations, as a mostly unstructured data source, in an organization can be beneficial for productivity, efficiency, quality, and compliance, specifically for addressing and closing new cases, or de-risking new manufacturing campaigns by identifying common themes and occurrences. Herein, by constructing an industrially relevant dataset, the ability of generative LLMs (e.g., GPT and Claude) and text embedding models in performing tasks related to pharmaceutical manufacturing deviations are studied. Generative models are evaluated for automating knowledge extraction from deviation reports in a mature organization, while embedding models are evaluated for identification of similar incidents from a large body of historical records using similarity analysis in vector space. Results show highly accurate outcomes for entity extraction tasks, especially with larger models, strong reasoning capabilities, as well as an interplay between the apparent reasoning and hallucination behavior of LLMs. Results also show the ability of embedding models for capturing semantics in certain deviation categories. Overall, these findings suggest significant potential for enhancing workflows in the pharmaceutical manufacturing through AI-driven tools, while also highlighting important questions that necessitate further research.</p>","PeriodicalId":14187,"journal":{"name":"International Journal of Pharmaceutics","volume":" ","pages":"125100"},"PeriodicalIF":5.3000,"publicationDate":"2024-12-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Pharmaceutics","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1016/j.ijpharm.2024.125100","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PHARMACOLOGY & PHARMACY","Score":null,"Total":0}
引用次数: 0
Abstract
Large Language Models (LLM) such as the Generative-Pretrained-Transformer (GPT) and Large-Language-Model-Meta-AI (LLaMA) have attracted much attention. There is strong evidence that these models perform remarkably well in various natural language processing tasks. However, how to leverage them in domain-specific use cases and drive value remains an open question. Focusing on the digital transformation in the pharmaceutical manufacturing space, we propose that leveraging historical records of manufacturing deviations, as a mostly unstructured data source, in an organization can be beneficial for productivity, efficiency, quality, and compliance, specifically for addressing and closing new cases, or de-risking new manufacturing campaigns by identifying common themes and occurrences. Herein, by constructing an industrially relevant dataset, the ability of generative LLMs (e.g., GPT and Claude) and text embedding models in performing tasks related to pharmaceutical manufacturing deviations are studied. Generative models are evaluated for automating knowledge extraction from deviation reports in a mature organization, while embedding models are evaluated for identification of similar incidents from a large body of historical records using similarity analysis in vector space. Results show highly accurate outcomes for entity extraction tasks, especially with larger models, strong reasoning capabilities, as well as an interplay between the apparent reasoning and hallucination behavior of LLMs. Results also show the ability of embedding models for capturing semantics in certain deviation categories. Overall, these findings suggest significant potential for enhancing workflows in the pharmaceutical manufacturing through AI-driven tools, while also highlighting important questions that necessitate further research.
期刊介绍:
The International Journal of Pharmaceutics is the third most cited journal in the "Pharmacy & Pharmacology" category out of 366 journals, being the true home for pharmaceutical scientists concerned with the physical, chemical and biological properties of devices and delivery systems for drugs, vaccines and biologicals, including their design, manufacture and evaluation. This includes evaluation of the properties of drugs, excipients such as surfactants and polymers and novel materials. The journal has special sections on pharmaceutical nanotechnology and personalized medicines, and publishes research papers, reviews, commentaries and letters to the editor as well as special issues.