File creation using artificial intelligence (AI), natural language processing (NLP), and other techniques for product, quality and regulatory information in the life science industries

The integration of AI and NLP enables the creation of standardized life sciences documents from diverse sources, addressing the challenge of consolidating information across different formats and types, thereby improving data management and transmission efficiency.

WO2024184737A1PCT designated stage expired Publication Date: 2024-09-12BASF SE
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/IB2024/051914
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-25
Filing Date
2024-02-28
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In the pharmaceutical and biopharmaceutical industries, companies face challenges in consolidating and standardizing diverse documents from various sources into a unified format, making it difficult to determine relevant information for products due to different file formats and types of information.

Method used

A system utilizing Artificial Intelligence (AI) and Natural Language Processing (NLP) to extract information from multiple unstandardized documents, creating a single standardized file that can be updated in real-time, with the option for unsupervised, supervised, or semi-supervised learning processes for training AI, and incorporating an electronic signature for trustworthiness.

Benefits of technology

Facilitates data transmission and simplifies document review by creating standardized life sciences documents, reducing the need to review numerous unstandardized documents and enhancing data management efficiency across systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2024051914_12092024_PF_FP_ABST
    Figure IB2024051914_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The following relates generally to constructing a standardized life sciences document. In some examples, one or more processors: receive a plurality of unstandardized life sciences documents including text; route the text of the plurality of unstandardized life sciences documents into an artificial intelligence (AI) algorithm; determine, with the AI algorithm, life sciences document elements from the text of the plurality of unstandardized life sciences documents; and construct a standardized document based on the determined life sciences document elements.
Need to check novelty before this filing date? Find Prior Art

Description

FILE CREATION USING ARTIFICIAL INTELLIGENCE (Al), NATURAL LANGUAGE PROCESSING (NLP), AND OTHER TECHNIQUES FOR PRODUCT, QUALITY AND REGULATORY INFORMATION IN THE LIFE SCIENCE INDUSTRIESCROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to all of: U.S. Provisional Application No. 63 / 461 ,707, entitled “File Creation Using Artificial Intelligence (Al), Natural Language Processing (NLP), And Other Techniques For Product, Quality And Regulatory Information The In Life Science Industries” (filed April 25, 2023); U.S. Provisional Application No. 63 / 461 ,689, entitled “Validation And Maintenance Of Electronic Pharmaceutical Data” (filed April 25, 2023); U.S. Provisional Application No.63 / 461 ,698, entitled “Confidential Disclosures of Pharmaceutical Data” (filed April 25, 2023); U.S. Provisional Application No. 63 / 449,682, entitled “File Creation Using Artificial Intelligence (Al), Natural Language Processing (NLP), And Other Techniques” (filed March 3, 2023); U.S. Provisional Application No. 63 / 449,719, entitled “Validation And Maintenance Of Electronic Pharmaceutical Data” (filed March 3, 2023); and U.S. Provisional Application No. 63 / 449,704, entitled “Confidential Disclosures of Pharmaceutical Data” (filed March 3, 2023), each of which is incorporated by reference herein in their entirety.BACKGROUND

[0002] In the pharmaceutical and biopharmaceutical manufacturing and supplying industries, companies may receive documents from many different sources. Similar situations exist in the human & animal nutrition industry and the aroma ingredient industry. However, the documents may be in different file formats and / or include different types of information. It is thus difficult for many companies in these industries to determine relevant documentation and / or information for particular products.

[0003] The systems and methods disclosed herein provide solutions to this problem and others.SUMMARY

[0004] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is notintended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

[0005] In one aspect, a system takes multiple files, and creates a single file in a standardized format (e.g., a life sciences format, such as a standardized pharmaceutical or biopharmaceutical format). To create the single file, the system may use Al and / or NLP to extract information from multiple unstandardized and / or unstructured documents, and then create the single file with the information. The single file may also be updated in real time (e.g., as suppliers send updates). Any of an unsupervised, a supervised, or a semisupervised learning process may be used to train the Al on how to extract the data. The created document can also have e-signature that makes it more trustworthy.BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 illustrates an example system for constructing standardized life sciences documents.

[0007] Figure 2 illustrates an example method for constructing a standardized life sciences document.

[0008] Figure 3 illustrates an example unstandardized and / or unstructured document.

[0009] Figure 4 illustrates an example standardized document with a document category of specification.

[0010] Figure 5 illustrates an example standardized document with a document category of certificate, and a subcategory of certificate of analysis.

[0011] Figure 6 illustrates an example standardized document with a document category of declaration.

[0012] Figure 7 depicts a combined block and logic diagram for training an ML chatbot model, in which the techniques described herein may be implemented, according to some embodiments.

[0013] Advantages will become more apparent to those skilled in the art from the following description of the preferred embodiments which have been shown anddescribed by way of illustration. As will be realized, the present embodiments may be capable of other and different embodiments, and their details are capable of modification in various respects. Accordingly, the drawings and description are to be regarded as illustrative in nature and not as restrictive.DETAILED DESCRIPTION

[0014] The present embodiments relate to, inter alia, constructing a standardized life sciences document.Example system

[0015] Figure 1 depicts an exemplary computing environment 100 in which the techniques disclosed herein may be implemented, according to some aspects. The computing environment 100 may include a standardized document computing device 102, which, in some aspects, may implement the techniques described herein. For example, the standardized document computing device 102 may produce standardized life sciences documents. Examples of the standardized life sciences documents include standardized pharmaceutical documents, standardized biopharmaceutical documents, standardized nutritional documents, and / or standardized aroma-ingredient documents.

[0016] The standardized document computing device 102 may include one or more processors 120, such as one or more microprocessors, controllers, and / or any other suitable type of processor. The standardized document computing device 102 may further include a memory 122 (e.g., volatile memory, non-volatile memory) accessible by the one or more processors 120, (e.g., via a memory controller). The one or more processors 120 may interact with the memory 122 to obtain and execute, for example, computer-readable instructions stored in the memory 122. Additionally or alternatively, computer-readable instructions may be stored on one or more removable media (e.g., a compact disc, a digital versatile disc, removable flash memory, etc.) that may be coupled to the standardized document computing device 102 to provide access to the computer-readable instructions stored thereon. In particular, the computer-readable instructions stored on the memory 122 may include applications, such as standardized document constructor 124, and / or artificial intelligence (Al) training application 126.

[0017] The standardized document constructor 124 may include instructions for, inter alia, constructing standardized life sciences documents.

[0018] The Al training application 126 may include instructions for, inter alia, training an Al algorithm.

[0019] The internal database 1 18 may hold any suitable information. For example, the internal database 118 may hold: standardized or unstandardized life sciences documents; historical information to train an Al algorithm with; life sciences product information (e.g., pharmaceutical or biopharmaceutical product information); regulatory information; information of companies and / or laboratories; etc.

[0020] The external database 180 may also hold any suitable information. For example, the external database 180 may hold: standardized or unstandardized life sciences documents; historical information to train an Al algorithm with; life sciences product information; regulatory information; information of companies and / or laboratories; etc.

[0021] The exemplary computing environment 100 may further include laboratory computing device 140, which may include one or more processors 141 such as one or more microprocessors, controllers, and / or any other suitable type of processor. In some embodiments, the laboratory computing device 140 corresponds to a laboratory that is inspecting a product (e.g., inspecting the product to issue a certificate for a standardized document with a category of certificate).

[0022] The exemplary computing environment 100 may further include manufacturer computing device 150, which may include one or more processors 151 such as one or more microprocessors, controllers, and / or any other suitable type of processor.

[0023] The exemplary computing environment 100 may further include government computing device 160, which may include one or more processors 161 such as one or more microprocessors, controllers, and / or any other suitable type of processor. In some embodiments, the government computing device 160 corresponds to a government entity or other regulator.

[0024] The exemplary computing environment 100 may further include administrator computing device 170, which may include one or more processors 171 such as one or more microprocessors, controllers, and / or any other suitable type of processor.

[0025] Any of the components in the exemplary computing environment 100 may communicate via the network 104 as illustrated. The network 104 may be a single communication network, or may include multiple communication networks of one or more types (e.g., one or more wired and / or wireless local area networks (LANs), and / or one or more wired and / or wireless wide area networks (WANs), such as the Internet).

[0026] Moreover, although the example of Figure 1 illustrates only one of each of many of the components, such as the standardized document computing device 102, internal database 118, external database 180, laboratory computing device 140, manufacturer computing device 150, government computing device 160, administrator computing device 170, etc., any number of each of the components illustrated in Figure 1 may be included in a system (e.g., multiple standardized document computing devices 102, internal databases 118, external databases 180, laboratory computing devices 140, manufacturer computing devices 150, government computing devices 160, administrator computing devices 170, etc.).Example methods

[0027] Figure 2 illustrates an example method 200 for constructing a standardized life sciences document. In some embodiments, the blocks of the example method 200 may be performed by the one or more processors 120. However, although the example description below refers to blocks of the method as performed by the one or more processors 120, it should be understood that any of the blocks may be performed by any suitable component (e.g., the one or more processors 141 , the one or more processors 151 , the one or more processors 161 , the one or more processors 171 , etc.).

[0028] The example method 200 begins at block 210 when the one or more processors 120 receive a plurality of unstandardized life sciences documents including text. Examples of the unstandardized life sciences documents include emails, safety data sheets, image documents, word documents, and / or documents in a format ofPortable File Format (PDF). Additionally or alternatively, examples of the unstandardized life sciences documents include unstandardized pharmaceutical documents, unstandardized biopharmaceutical documents, unstandardized nutritional documents, and / or unstandardized aroma-ingredient documents. The plurality of life sciences documents may include information to be included in the standardized document, such as a product specification, information from a safety data sheet, technical information, quality and regularity information, etc.

[0029] Figure 3 illustrates an example unstandardized document 300. In particular, in the example of Figure 3, the unstandardized document 300 comprises an example email 310. The example email 310 includes email address information 320, email text 330, name information 340, and mailing address information 350. As will be seen, any or all of the email address information 320, the information from the email text 330, the name information 340, and / or the mailing address information 350 may be used to construct the standardized document. Moreover, it should be appreciated that although the example of Figure 3 illustrates an example email 310, the unstandardized document may be in any form. Other examples of unstandardized documents include statements (e.g., in the form of a word document, etc.), image documents, PDF documents, etc.

[0030] The unstandardized life sciences documents may be received from any suitable source, such as the laboratory computing device 140, the manufacturer computing device 150, the government computing device 160, the administrator computing device 170, etc.

[0031] At block 220, the one or more processors 120 may route the plurality of unstandardized life sciences documents into an artificial intelligence (Al) algorithm. Additionally or alternatively the one or more processors 120 may route text (e.g., possibly as determined by an NLP algorithm) of the plurality of unstandardized life sciences documents into the Al algorithm.

[0032] At block 230, the one or more processors 120 may use the Al algorithm to determine life sciences elements from the plurality of unstandardized life sciences documents. For example, the Al algorithm may use the text of the plurality ofunstandardized life sciences documents to determine life sciences document elements from the text of the plurality of unstandardized life sciences documents.

[0033] The Al algorithm may have been trained via any suitable technique. For example, the Al algorithm may have been trained via a supervised learning process, an unsupervised learning process or a semi-supervised learning process. In some examples, the Al training application 126 trains the Al algorithm based on historical data comprising: (i) independent variables comprising historical unstandardized documents comprising historical text, and / or (ii) dependent variables comprising historical life sciences document elements. In some embodiments, the historical life sciences document elements include historical: element names; element types comprising: (i) selection start; (ii) field; or (iii) selection end; element field types (e.g., alpha, numeric, date, etc.); mandatory or optional markings; and / or element values. In some embodiments, the historical life sciences document elements comprise historical pharmaceutical document elements, historical biopharmaceutical document elements, historical nutritional document elements, and / or historical aroma-ingredient document elements.

[0034] In some embodiments, the Al algorithm comprises a machine learning (ML) algorithm, a deep learning algorithm, or a convolutional neural network.

[0035] In some embodiments, the Al algorithm applies a natural language processing (NLP) algorithm to the text to generate a word or phrase. The Al algorithm may then determine the life sciences document elements based upon the word or phrase by determining: (i) types of respective life sciences document elements, and (ii) values of the respective life sciences document elements.

[0036] At block 240, the one or more processors 120 construct a standardized document based on the determined life sciences document elements. For example, the one or more processors 120 may set values of the standardized document elements of the plurality of standardized document elements based on the determined life sciences document elements. For instance, the one or more processors 120 may fill in values of the standardized document elements with values of the determined life sciences document elements. The standardized document may be, for example, a standardizedlife sciences document, such as a standardized pharmaceutical document, a standardized biopharmaceutical document, a standardized nutritional document, or a standardized aroma-ingredient document.

[0037] In some embodiments, the standardized document has a document category comprising a document category of: a certificate, a declaration, or a specification.

[0038] In some embodiments, the standardized document has a document category, and subcategory; and the standardized document has standardized document elements corresponding to the document subcategory. For example, the standardized document may have a subcategory of allergen, and corresponding standardized document elements of, inter alia. allergen name, allergen text, allergen footnote, etc.

[0039] In some embodiments, if the standardized document has a document category of a certificate, the standardized document has subcategories of: a certificate of analysis; a third-party certification of a good manufacturing practice; a third-party certification of quality management; and / or a third party certification of Kosher compliance.

[0040] In some embodiments, if the standardized document has a document category comprising a declaration, the standardized document has subcategories of: aflatoxins; allergens; genetically modified organisms (GMO); good manufacturing practice (GMP); manufacturing procedure; melamine; nitrosamine; Transmissible Spongiform Encephalopathy (TSE) or Bovine Spongiform Encephalopathy (BSE); GMP Compliance, Manufacturing Flow Chart, Site Information, Quality Summary, Regulatory Summary, Technical Information, Stability Report, Specification, Alfatoxin Statement, Allergens Statement, BSE / TSE Statement, Contaminant Statement, Dioxine Statement, GMO Statement, Halal statement or certificate, FDA inspection letter or statement, melamine statement, Gluten statement, Natural Latex statement, Nano Statement, Microplastic Statement, Microbial Information Note or Statement, Nitrosamine Risk Assessment, REACH Statement, Phthalate Statement, Prop 65 Statement, Residual Solvents Statement, Pharmacopeial compliance statement or note, Product Carbon Footprint Statement or Document, Social and / or Environmental Statements, Dossier, Technical Packet, and / or drug master file (DMF).

[0041] In some embodiments, the standardized document includes a plurality of standardized document elements, and the standardized document elements of the plurality of standardized document elements include respective: element names; element types comprising: (i) selection start; (ii) field; or (iii) selection end; field types; a mandatory or optional marking; and / or element values.

[0042] In some embodiments, the standardized document is an initial standardized document; and the one or more processors 120 further: receive an additional unstandardized life sciences document; route the additional unstandardized life sciences document into the artificial intelligence (Al) algorithm to determine at least one life sciences document element from the text of the additional unstandardized life sciences document; and update the standardized document based on the at least one life sciences document element determined from the text of the additional unstandardized document.

[0043] In some embodiments, the one or more processors 120 append an electronic signature to the document.

[0044] In some embodiments, the standardized document includes a standardized document element with an element name of electronic signature.

[0045] Figure 4 illustrates one working example of a standardized document 400 constructed at least in part from the example unstandardized document 300 of Figure 3. The example standardized document 400 has a document category of a specification. In this example, the line 410 indicates the product ID (e.g., name of the product, product identification number, etc.). Put another way, the line 410 shows an element with an element name of product ID and an element value of “Product XYZ.”

[0046] Line 420 shows an element with an element name of specification data, and an element value to be filled in with information from 330 of Figure 3. The specification data, in some examples, includes specification parameters, such as specification parameters 421 A, 421 B, 421 C, 421 D, 421 E, 421 F, 422A, 422B, 422C, 422D, 422E, 422F. For instance, the example specification data 420 includes: Specification Parameter 1 - Name [text]: Water; Specification Parameter 1 - Description [text]: Humidity; Specification Parameter 1 - Dimension [Unit of measure]: w% (g / 100g);Specification Parameter 1 - Numeric Value [number]: NMT 5; Specification Parameter 1- Method of Analysis [text]: Ph.Eur.; Specification Parameter 1 - Comment [text]: Karl- Fischer-Titration; Specification Parameter 2 - Name [text]: IR; Specification Parameter 2- Description [text]: Identification; Specification Parameter 2 - Analytical test [Type of measurement]: qualitative; Specification Parameter 2 - Descriptive Value [text]: must comply; Specification Parameter 2 - Method of Analysis [text]: USP; and Specification Parameter 12- Comment [text]: test A.

[0047] Line 430 shows an element with an element name of company name, and an element value of “ABC Corp.” Line 440 shows an element with an element name of Company Address, and an element value of “123 Main St.; Montpelier, VT 05601.” Line 450 shows an element with an element name of Company Email, and an element value of Jane.Doe@ABCCorp.com. It should be appreciated that any or all of the information from lines 410, 420, 430, 440, 450 may be taken by the one or more processors 120 from the email 310. Additionally or alternatively, the information from lines 410, 420, 430, 440, 450, 460 may be taken from other unstandardized or standardized documents.

[0048] Line 460 shows an element with an element name of quality signature, which has been signed by the company representative, Jane Doe. In some examples, to electronically sign the document, the one or more processors 120 may send a link (e.g., to the laboratory computing device 140, the manufacturer computing device 150, the government computing device 160, the administrator computing device 170, etc.) so that the standardized document 400 may be electronically signed. Additionally or alternatively, the standardized document 400 may be signed by any other suitable technique.

[0049] Figure 5 illustrates another working example of a standardized document 500 constructed from the example unstandardized document 300 of Figure 3. The example standardized document 500 has a document category of a certificate, and a subcategory of certificate of analysis. In this example, the line 510 indicates the product ID (e.g., name of the product, product identification number, etc.). Put another way, theline 510 shows an element with an element name of product ID and an element value of“Product XYZ.”

[0050] The example certificate of analysis 500 includes line 520, which shows the certification(s) being made (e.g., shows an element with an element name of certification description, and an element value of a description of the certification being made).

[0051] In some examples, the certifications include parameters, such as parameters 521 A, 521 B, 521 C, 521 D, 521 E, 521 F, 522A, 522B, 522C, 522D, 522E, 522F. For instance, the example certifications 520 include: Tested Parameter 1 - Name [text]: Water; Tested Parameter 1 - Description [text]: Humidity; Tested Parameter 1 - Dimension [Unit of measure]: g / 100g; Tested Parameter 1 - Numeric Value [number]: 4.2; Tested Parameter 1 - Method of Analysis [text]: Ph.Eur. 123-XYZ-1998; Tested Parameter 1 - Comment [text]: fresh sample; Tested Parameter 2 - Name [text]: IR; Tested Parameter 2 - Description [text]: Identification; Tested Parameter 2 - Analytical test [Type of measurement]: qualitative; Tested Parameter 2 - Descriptive Value [text]: complies; Tested Parameter 2 - Method of Analysis [text]: USP (current version); and Tested Parameter 12- Comment [text]: test A.

[0052] Line 530 shows an element with an element name of certifier, and an element value of “Bob Smith.” Line 540 shows an element with an element name of Certifying Company, and an element value of “ZZZ Inspection Corp.” Line 550 shows an element with an element name of Certificate Number, and an element value of “12345.” Line 560 shows an element with an element name of Date of First Certification, and an element value of “1 / 1 / 2024.” It should be appreciated that any or all of the information from lines 510, 520, 530, 540, 550 may be taken by the one or more processors 120 from the email 310. Additionally or alternatively, the information from lines 510, 520, 530, 540, 550 may be taken from other unstandardized or standardized documents (e.g., document(s) sent by Bob Smith of ZZZ Inspection Corp., etc.).

[0053] Line 570 shows an element with an element name of electronic signature, which has been signed by the inspection company representative, Bob Smith. In some examples, to electronically sign the document, the one or more processors 120 maysend a link to Bob Smith (e.g., send the link to the laboratory computing device 140, etc.) so that the standardized document 500 may be electronically signed. Additionally or alternatively, the standardized document 500 may be signed by any other suitable technique.

[0054] In addition, although the above has noted examples of the subcategories of certificate as being certificates of analysis, third-party certifications of a good manufacturing practice, third-party certifications of quality management, and third party certifications of Kosher compliance, other subcategories are possible as well. For instance, other example subcategories of certificates include: aflatoxins; allergens; genetically modified organisms (GMO); good manufacturing practice (GMP); manufacturing procedure; melamine; nitrosamine; and Transmissible Spongiform Encephalopathy (TSE) or Bovine Spongiform Encephalopathy (BSE). For example, in a certificate with a subcategory of aflatoxin, a third party may inspect and / or certify that a particular toxin is not present in the product, or present below a certain threshold amount. In another example, in a certificate with a subcategory of allergen, a third party may inspect and / or certify that a particular allergen is not present in the product, or present below a certain threshold amount. In yet another example, in a certificate with a subcategory of GMP, a third party may inspect and / or certify that the company is adhering to a GMP. Analogous inspections and / or certifications may be made for the other listed example subcategories.

[0055] Figure 6 illustrates another working example of a standardized document 600 constructed from the example unstandardized document 300 of Figure 3. The example standardized document 600 has a document category of a declaration. In this example, the line 610 indicates the product ID (e.g., name of the product, product identification number, etc.). Put another way, the line 610 shows an element with an element name of product ID and an element value of “Product XYZ.”

[0056] The example declaration 600 includes line 620, which shows the declaration(s) being made (e.g., shows an element with an element name of declaration description; and an element value of a description of the declaration being made, which is possibly populated with information from 330 of Figure 3).

[0057] In the example of Figure 6, the declarations 620 include declaration topic 621 A; declaration body 621 B; declaration data 621 C; declaration reference 621 D; declaration comment 621 E; and declaration footnote 621 F.

[0058] Line 630 shows an element with an element name of company name, and an element value of “ABC Corp.” Line 640 shows an element with an element name of Company Address, and an element value of “123 Main St.; Montpelier, VT 05601.” Line 650 shows an element with an element name of Company Email, and an element value of “Jane.Doe@ABCCorp.com.” It should be appreciated that any or all of the information from lines 610, 620, 630, 640, 650 may be taken by the one or more processors 120 from the email 310. Additionally or alternatively, the information from lines 610, 620, 630, 640, 650 may be taken from other unstandardized or standardized documents.

[0059] Line 660 shows an element with an element name of electronic signature, which has been signed by the company representative, Jane Doe. In some examples, to electronically sign the document, the one or more processors 120 may send a link (e.g., to the laboratory computing device 140, the manufacturer computing device 150, the government computing device 160, the administrator computing device 170, etc.) so that the standardized document 600 may be electronically signed. Additionally or alternatively, the standardized document 600 may be signed by any other suitable technique. Moreover, once constructed, the standardized document may be provided to any suitable entity. For instance, in some embodiments, the government computing device 160 is a computing device of the United States Food and Drug Administration (FDA); and, in some such embodiments, the constructed standardized document may be provided to the government computing device 160 as part of a drug filing).

[0060] Further regarding the example flowchart provided above, it should be noted that all blocks are not necessarily required to be performed. Moreover, additional blocks may be performed although they are not specifically illustrated in the example flowcharts. The flowchart is illustrative, and is not limiting.

[0061] Moreover, it should be appreciated that the techniques described herein advantageously improve technical functioning. For example, by creating one or morestandardized documents, the techniques discussed herein facilitate and simplify data transmission between systems, in particular between life sciences systems. Further advantageously, by leveraging the disclosed standardized documents, a human and / or machine reviewing documents may have to review far fewer documents (e.g., review only a few standardized documents rather than review many unstandardized documents, such as emails, sent by the company).

[0062] In addition, it should be understood that the techniques discussed herein may be applied equally to creating a standardized life sciences file (rather than a standardized life sciences document).Chatbot aspects including example training of a chatbot

[0063] Some embodiments leverage a chatbot to improve functionality. In one example, the chatbot may converse with a party to obtain additional information to construct a standardized document. For instance, the standardized document computing device 102 may determine the additional information to be used in the construction of the standardized document by determining that some values for elements of the standardized document are unable to be filled by the unstandardized life sciences documents that the standardized document computing device 102 has received. Upon determination of the additional information to be used in the construction of the standardized document, the chatbot may request the additional information (e.g., from the laboratory computing device 140, the manufacturer computing device 150, etc.). For example, the chatbot may have a conversation with a user using the laboratory computing device 140, or the manufacturer computing device 150 in which the chatbot requests the additional information. Additionally or alternatively, the chatbot may compose and send a communication (e.g., a communication in an email, or a text message, or as part of the conversation) requesting the additional information.

[0064] The following will now describe how to train such a chatbot to request such additional information. It should be appreciated that although the following discussion may refer to a machine learning (ML) chatbot or an ML model, the following discussion is equally applicable to any artificial intelligence (Al) and / or ML chatbot, voicebot, and / ormodel. Furthermore, examples of the chatbot may include a generative Al chatbot, a generative pre-trained transformer chatbot (ChatGPT), a large language model (LLM)- based chatbot, etc.

[0065] The chatbot may be trained by standardized document computing device 102 using large training datasets of text and / or data which may provide sophisticated capability for natural-language tasks, such as answering questions and / or holding conversations. The chatbot may include a general-purpose pretrained LLM which, when provided with a starting set of words (prompt) as an input, may attempt to provide an output (response) of the most likely set of words that follow from the input. In one aspect, the prompt may be provided to, and / or the response received from, the chatbot and / or any other ML model, via a user interface of the standardized document computing device 102. This may include a user interface device operably connected to the server via an I / O module. Exemplary user interface devices may include a touchscreen, a keyboard, a mouse, a microphone, a speaker, a display, and / or any other suitable user interface devices.

[0066] Multi-turn (i.e., back-and-forth) conversations may require LLMs to maintain context and coherence across multiple user utterances, which may require the chatbot to keep track of an entire conversation history as well as the current state of the conversation. The chatbot may rely on various techniques to engage in conversations with users, which may include the use of short-term and long-term memory. Short-term memory may temporarily store information (e.g., in the memory 122 of the standardized document computing device 102) that may be required for immediate use and may keep track of the current state of the conversation and / or to understand the user’s latest input in order to generate an appropriate response. Long term memory may include persistent storage of information (e.g., the internal database 118 of the standardized document computing device 102) which may be accessed over an extended period of time. The long-term memory may be used by the chatbot to store information about the user (e.g., preferences, chat history, etc.) and may be useful for improving an overall user experience by enabling the chatbot to personalize and / or provide more informed responses.

[0067] In some embodiments, the system and methods to generate and / or train a ML chatbot model which may be used in the chatbot, may include three steps: (1 ) a supervised fine-tuning (SFT) step where a pretrained language model (e.g., an LLM) may be fine-tuned on a relatively small amount of demonstration data curated by human labelers to learn a supervised policy (SFT ML model) which may generate responses / outputs from a selected list of prompts / inputs. The SFT ML model may represent a cursory model for what may be later developed and / or configured as the ML chatbot model; (2) a reward model step where human labelers may rank numerous SFT ML model responses to evaluate the responses which best mimic preferred human responses, thereby generating comparison data. The reward model may be trained on the comparison data; and / or (3) a policy optimization step in which the reward model may further fine-tune and improve the SFT ML model. The outcome of this step may be the ML chatbot model using an optimized policy. In one aspect, step one may take place only once, while steps two and three may be iterated continuously, e.g., more comparison data is collected on the current ML chatbot model, which may be used to optimize / update the reward model and / or further optimize / update the policy.Supervised Fine-Tuning ML Model

[0068] Figure 7 depicts a combined block and logic diagram 700 for training an ML chatbot model, in which the techniques described herein may be implemented, according to some embodiments. It should be understood that Figure 7 may apply to training any chatbot described herein. In addition, the chatbot may be trained in accordance with any of the other techniques described herein; and the training of chatbot should not be considered restricted to the teachings of Figure 7.

[0069] Some of the blocks in Figure 7 may represent hardware and / or software components, other blocks may represent data structures or memory storing these data structures, registers, or state variables (e.g., 712), and other blocks may represent output data (e.g., 725). Input and / or output signals may be represented by arrows labeled with corresponding signal names and / or other identifiers. The methods and systems may include one or more blocks 702, 704, 706, which will be described in further detail below.

[0070] In one aspect, at block 702, a pretrained language model 710 may be finetuned. The pretrained language model 710 may be obtained at block 702 and be stored in a memory, such as memory 122 and / or internal database 118. The pretrained language model 710 may be loaded into an ML training module at block 702 for retraining / fine-tuning. A supervised training dataset 712 may be used to fine-tune the pretrained language model 710 wherein each data input prompt to the pretrained language model 710 may have a known output response for the pretrained language model 710 to learn from. The supervised training dataset 712 may be stored in a memory at block 702, e.g., the memory 122 or the internal database 1 18. In one aspect, the data labelers may create the supervised training dataset 712 prompts and appropriate responses. The pretrained language model 710 may be fine-tuned using the supervised training dataset 712 resulting in the SFT ML model 715 which may provide appropriate responses to user prompts once trained. The trained SFT ML model 715 may be stored in a memory, such as the memory 122 or the internal database 118.

[0071] In some examples, the supervised training dataset 712 includes historical data (e.g., held by the standardized document computing device 102, etc.). The historical data may include, for example, historical conversations regarding life sciences documents.Training The Reward Model

[0072] In one aspect, training the ML chatbot model 750 may include, at block 704, training a reward model 720 to provide as an output a scaler value / reward 725. The reward model 720 may be required to leverage reinforcement learning with human feedback (RLHF) in which a model (e.g., ML chatbot model 750) learns to produce outputs which maximize its reward 725, and in doing so may provide improved responses.

[0073] Training the reward model 720 may include, at block 704, providing a single prompt 722 to the SFT ML model 715 as an input. The input prompt 722 may be provided via an input device (e.g., a keyboard) of the standardized document computing device 102. The prompt 722 may be previously unknown to the SFT ML model 715,e.g., the labelers may generate new prompt data, the prompt 722 may include testing data stored on internal database 118, and / or any other suitable prompt data. The SFT ML model 715 may generate multiple, different output responses 724A, 724B, 724C, 724D to the single prompt 722. In some embodiments, the different output responses 724A, 724B, 724C, 724D include suggested responses.

[0074] At block 704, the standardized document computing device 102 may output the responses 724A, 724B, 724C, 724D via any suitable technique, such as outputting via a display (e.g., as text responses), a speaker (e.g., as audio / voice responses), etc., for review by the data labelers.

[0075] The data labelers may provide feedback (e.g., via the standardized document computing device 102, etc.) on the responses 724A, 724B, 724C, 724D when ranking 726 them from best to worst based upon the prompt-response pairs. The data labelers may rank 726 the responses 724A, 724B, 724C, 724D by labeling the associated data. The ranked prompt-response pairs 728 may be used to train the reward model 720. In one aspect, the standardized document computing device 102 may load the reward model 720 and train the reward model 720 using the ranked response pairs 728 as input. The reward model 720 may provide as an output the scalar reward 725.

[0076] In one aspect, the scalar reward 725 may include a value numerically representing a human preference for the best and / or most expected response to a prompt, i.e., a higher scaler reward value may indicate the user is more likely to prefer that response, and a lower scalar reward may indicate that the user is less likely to prefer that response. For example, inputting the “winning” prompt-response (i.e., inputoutput) pair data to the reward model 720 may generate a winning reward. Inputting a “losing” prompt-response pair data to the same reward model 720 may generate a losing reward. The reward model 720 and / or scalar reward 725 may be updated based upon labelers ranking 726 additional prompt-response pairs generated in response to additional prompts 722.

[0077] In one example, a data labeler may provide to the SFT ML model 715 as an input prompt 722, “Describe the sky.” The input may be provided by the labeler (e.g., via the administrator computing device 170, etc.) to the standardized documentcomputing device 102 running the chatbot utilizing the SFT ML model. The SFT ML model 715 may provide as output responses to the labeler (e.g., via their respective devices): (i) “the sky is above” 724A; (ii) “the sky includes the atmosphere and may be considered a place between the ground and outer space” 724B; and (iii) “the sky is heavenly” 724C. The data labeler may rank 726, via labeling the prompt-response pairs, prompt-response pair 722 / 724B as the most preferred answer; prompt-response pair 722 / 724A as a less preferred answer; and prompt-response 722 / 724C as the least preferred answer. The labeler may rank 726 the prompt-response pair data in any suitable manner. The ranked prompt-response pairs 728 may be provided to the reward model 720 to generate the scalar reward 725. It should be appreciated that this facilitates training the chatbot to correspond with a user (e.g., a party that may have the additional information to be used to construct the standardized document) to, for example, request additional information that may be used to validate the ingredient.

[0078] While the reward model 720 may provide the scalar reward 725 as an output, the reward model 720 may not generate a response (e.g., text). Rather, the scalar reward 725 may be used by a version of the SFT ML model 715 to generate more accurate responses to prompts, i.e., the SFT model 715 may generate the response such as text to the prompt, and the reward model 720 may receive the response to generate a scalar reward 725 of how well humans perceive it. Reinforcement learning may optimize the SFT model 715 with respect to the reward model 720 which may realize the configured ML chatbot model 750.RLHF To Train The ML Chatbot Model

[0079] In one aspect, the standardized document computing device 102 may train the ML chatbot model 750 to generate a response 734 to a random, new and / or previously unknown user prompt 732. To generate the response 734, the ML chatbot model 750 may use a policy 735 (e.g., algorithm) which it learns during training of the reward model 720, and in doing so may advance from the SFT model 715 to the ML chatbot model 750. The policy 735 may represent a strategy that the ML chatbot model 750 learns to maximize its reward 725. As discussed herein, based upon prompt-response pairs, a human labeler may continuously provide feedback to assist in determining howwell the ML chatbot’s 750 responses match expected responses to determine rewards 725. The rewards 725 may feed back into the ML chatbot model 750 to evolve the policy 735. Thus, the policy 735 may adjust the parameters of the ML chatbot model 750 based upon the rewards 725 it receives for generating good responses. The policy 735 may update as the ML chatbot model 750 provides responses 734 to additional prompts 732.

[0080] In one aspect, the response 734 of the ML chatbot model 750 using the policy 735 based upon the reward 725 may be compared 738 to the SFT ML model 715 (which may not use a policy) response 736 of the same prompt 732. The validation computing device 102 may compute a penalty 740 based upon the comparison 738 of the responses 734, 736. The penalty 740 may reduce the distance between the responses 734, 736, i.e. , a statistical distance measuring how one probability distribution is different from a second, in one aspect the response 734 of the ML chatbot model 750 versus the response 736 of the SFT model 715. Using the penalty 740 to reduce the distance between the responses 734, 736 may avoid a server overoptimizing the reward model 720 and deviating too drastically from the human- intended / preferred response. Without the penalty 740, the ML chatbot model 750 optimizations may result in generating responses 734 which are unreasonable but may still result in the reward model 720 outputting a high reward 725.

[0081] In one aspect, the responses 734 of the ML chatbot model 750 using the current policy 735 may be passed, at block 706, to the rewards model 720, which may return the scalar reward 725. The ML chatbot model 750 response 734 may be compared 738 to the SFT ML model 715 response 736 to compute the penalty 740. A final reward 742 may be generated which may include the scalar reward 725 offset and / or restricted by the penalty 740. The final reward 742 may be provided to the ML chatbot model 750 and may update the policy 735, which in turn may improve the functionality of the ML chatbot model 750.

[0082] To optimize the ML chatbot 750 over time, RLHF via the human labeler feedback may continue ranking 726 responses of the ML chatbot model 750 versus outputs of earlier / other versions of the SFT ML model 715, i.e., providing positive ornegative rewards 725. The RLHF may allow the standardized document computing device 102 to continue iteratively updating the reward model 720 and / or the policy 735. As a result, the ML chatbot model 750 may be retrained and / or fine-tuned based upon the human feedback via the RLHF process, and throughout continuing conversations may become increasingly efficient.

[0083] Although multiple blocks 702, 704, 706 are depicted in the exemplary block and logic diagram 700, each providing one of the three steps of the overall ML chatbot model 750 training, fewer and / or additional servers may be utilized and / or may provide the one or more steps of the chatbot training. In some embodiments, one server may provide the entire ML chatbot model 750 training.Other Matters

[0084] Additionally, certain embodiments are described herein as including logic or a number of routines, subroutines, applications, or instructions. These may constitute either software (code embodied on a non-transitory, tangible machine-readable medium) or hardware. In hardware, the routines, etc., are tangible units capable of performing certain operations and may be configured or arranged in a certain manner. In example embodiments, one or more computer systems (e.g., a standalone, client or server computer system) or one or more hardware modules of a computer system (e.g., a processor or a group of processors) may be configured by software (e.g., an application or application portion) as a hardware module that operates to perform certain operations as described herein.

[0085] In various embodiments, a hardware module may be implemented mechanically or electronically. For example, a hardware module may comprise dedicated circuitry or logic that is permanently configured (e.g., as a special-purpose processor, such as a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC) to perform certain operations. A hardware module may also comprise programmable logic or circuitry (e.g., as encompassed within a general- purpose processor or other programmable processor) that is temporarily configured by software to perform certain operations. It will be appreciated that the decision to implement a hardware module mechanically, in dedicated and permanently configuredcircuitry, or in temporarily configured circuitry (e.g., configured by software) may be driven by cost and time considerations.

[0086] Accordingly, the term “hardware module” should be understood to encompass a tangible entity, be that an entity that is physically constructed, permanently configured (e.g., hardwired), or temporarily configured (e.g., programmed) to operate in a certain manner or to perform certain operations described herein. Considering embodiments in which hardware modules are temporarily configured (e.g., programmed), each of the hardware modules need not be configured or instantiated at any one instance in time. For example, where the hardware modules comprise a general-purpose processor configured using software, the general-purpose processor may be configured as respective different hardware modules at different times. Software may accordingly configure a processor, for example, to constitute a particular hardware module at one instance of time and to constitute a different hardware module at a different instance of time.

[0087] Hardware modules can provide information to, and receive information from, other hardware modules. Accordingly, the described hardware modules may be regarded as being communicatively coupled. Where multiple of such hardware modules exist contemporaneously, communications may be achieved through signal transmission (e.g., over appropriate circuits and buses) that connect the hardware modules. In embodiments in which multiple hardware modules are configured or instantiated at different times, communications between such hardware modules may be achieved, for example, through the storage and retrieval of information in memory structures to which the multiple hardware modules have access. For example, one hardware module may perform an operation and store the output of that operation in a memory device to which it is communicatively coupled. A further hardware module may then, at a later time, access the memory device to retrieve and process the stored output. Hardware modules may also initiate communications with input or output devices, and can operate on a resource (e.g., a collection of information).

[0088] The various operations of example methods described herein may be performed, at least partially, by one or more processors that are temporarily configured(e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, such processors may constitute processor-implemented modules that operate to perform one or more operations or functions. The modules referred to herein may, in some example embodiments, comprise processor-implemented modules.

[0089] Similarly, the methods or routines described herein may be at least partially processor-implemented. For example, at least some of the operations of a method may be performed by one or more processors or processor-implemented hardware modules. The performance of certain of the operations may be distributed among the one or more processors, not only residing within a single machine, but deployed across a number of machines. In some example embodiments, the processor or processors may be located in a single location (e.g., within a home environment, an office environment or as a server farm), while in other embodiments the processors may be distributed across a number of geographic locations.

[0090] Furthermore, the patent claims at the end of this patent application are not intended to be construed under 35 U.S.C. § 112(f) unless traditional means-plus- function language is expressly recited, such as “means for” or “step for” language being explicitly recited in the claim(s). The systems and methods described herein are directed to an improvement to computer functionality, and improve the functioning of conventional computers.

Claims

WHAT IS CLAIMED:1 . A computer-implemented method for constructing a standardized life sciences document, the method comprising: receiving, via one or more processors, a plurality of unstandardized life sciences documents including text; routing, via the one or more processors, the text of the plurality of unstandardized life sciences documents into an artificial intelligence (Al) algorithm; determining, via the one or more processors, and with the Al algorithm, life sciences document elements from the text of the plurality of unstandardized life sciences documents; and constructing, via the one or more processors, a standardized document based on the determined life sciences document elements.

2. The computer-implemented method of claim 1 , wherein: the standardized document comprises a plurality of standardized document elements; and the constructing comprises setting values of the standardized document elements of the plurality of standardized document elements based on the determined life sciences document elements.

3. The computer-implemented method of any one of claims 1 -2, further comprising training, via the one or more processors, the Al algorithm based on historical data comprising: (i) independent variables comprising historical unstandardized documents comprising historical text, and / or (ii) dependent variables comprising historical life sciences document elements.

4. The computer-implemented method of any one of claims 1 -3, wherein: the method further comprises, with the Al algorithm, applying a natural language processing (NLP) algorithm to the text to generate a word or phrase; and the Al algorithm determines the life sciences document elements based upon the word or phrase.

5. The computer-implemented method of any one of claims 1 -4, wherein: the method further comprises, with the Al algorithm, applying a natural language processing (NLP) algorithm to the text to generate a word or phrase; and the Al algorithm determines the life sciences document elements based upon the word or phrase by determining: (i) names and / or types of respective life sciences document elements, and (ii) values of the respective life sciences document elements.

6. The computer-implemented method of any one of claims 1 -5, wherein the Al algorithm comprises a machine learning (ML) algorithm, a deep learning algorithm, or a convolutional neural network.

7. The computer-implemented method of any one of claims 1 -6, wherein the unstandardized life sciences documents include emails, safety data sheets, image documents, word documents, and / or documents in a format of Portable File Format (PDF).

8. The computer-implemented method of any one of claims 1 -7, wherein the standardized document has a document category comprising a certificate, a declaration, or a specification.

9. The computer-implemented method of any one of claims 1 -8, wherein: the standardized document has a document category, and subcategory; and the standardized document has standardized document elements corresponding to the document subcategory.

10. The computer-implemented method of any one of claims 1 -9, wherein the standardized document has: a document category comprising a certificate; and a subcategory comprising: a certificate of analysis;a third-party certification of a good manufacturing practice; a third-party certification of quality management; or a third party certification of Kosher compliance.11 . The computer-implemented method of any one of claims 1 -10, wherein the standardized document has: a document category comprising a declaration; and a subcategory comprising: aflatoxins; allergens; genetically modified organisms (GMO); good manufacturing practice (GMP); manufacturing procedure; melamine; nitrosamine; orTransmissible Spongiform Encephalopathy (TSE) or Bovine Spongiform Encephalopathy (BSE).

12. The computer-implemented method of any one of claims 1 -1 1 , wherein the standardized document comprising a plurality of standardized document elements, wherein standardized document elements of the plurality of standardized document elements include respective: element names; element types comprising: (i) selection start; (ii) field; or (iii) selection end; element field types; a mandatory or optional marking; and / or element values.

13. The computer-implemented method of any one of claims 1 -12, wherein: the standardized document is an initial standardized document; and the method further comprises:receiving, via one or more processors, an additional unstandardized life sciences document including text; routing, via the one or more processors, the text of the additional unstandardized life sciences document into the artificial intelligence (Al) algorithm to determine at least one life sciences document element from the text of the additional unstandardized life sciences document; and updating, via the one or more processors, the standardized document based on the at least one life sciences document element determined from the text of the additional unstandardized document.

14. The computer-implemented method of any one of claims 1 -13, further comprising appending, via the one or more processors, an electronic signature to the document.

15. The computer-implemented method of any one of claims 1 -14, wherein the standardized document includes a standardized document element with an element name of electronic signature.

16. A computer system for constructing a standardized life sciences document, the computer system comprising one or more processors configured to: receive a plurality of unstandardized life sciences documents including text; route the text of the plurality of unstandardized life sciences documents into an artificial intelligence (Al) algorithm; determine, with the Al algorithm, life sciences document elements from the text of the plurality of unstandardized life sciences documents; and construct a standardized document based on the determined life sciences document elements.

17. The computer system of claim 16, further comprising a display device, and wherein the one or more processors are further configured to display the standardized document on the display device.

18. The computer system of any one of claims 16-17, wherein the one or more processors are further configured to perform the construct of the standardized document by: when there is a conflict between determined life sciences document elements from different unstandardized life sciences documents, displaying a representation of the conflict on an administrator computing device to allow an administrator to determine a life sciences document element to be used in the standardized document.

19. The computer system of any one of claims 16-18, wherein the plurality of unstandardized life sciences documents includes an unstandardized pharmaceutical document, an unstandardized biopharmaceutical document, an unstandardized nutritional document, or an unstandardized aroma-ingredient document.

20. The computer system of any one of claims 16-19, wherein the standardized document comprises a standardized pharmaceutical document, a standardized biopharmaceutical document, a standardized nutritional document, or a standardized aroma-ingredient document.21 . The computer system of any one of claims 16-20, wherein the one or more processors are further configured to: determine additional information to be used in the construction of the standardized document; composing, via an artificial intelligence (Al) or machine learning (ML) chatbot, a communication requesting the additional information; and sending the communication to a laboratory computing device or a manufacturer computing device.

Citation Information

Patent Citations

  • Automated classification and interpretation of life science documents

    EP4009194A1

  • Multi-layer document structural info extraction framework

    US20210049239A1

  • Artificial Intelligence Techniques for Improving Efficiency

    US20210342723A1