Method and system for performing automated database updates
Process customer text requests through pre-trained named entity recognition models and neural network models, extract and execute database update actions, solve the problems of automated system interpretation and maintenance in the existing technology, and achieve flexible and accurate database updates and system expansion.
Patent Information
- Application Number
- CN202410220567.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2024-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
When the existing technology handles customers' text support requests, it is difficult for the automated system to accurately interpret various expressions and intentions, and the maintenance cost is high, and it cannot effectively expand to cope with the rapid growth of the service desk business.
Using pre-trained general named entity recognition models and domain-specific named entity recognition components, combined with neural network models, database update actions in text documents are extracted and stored as structured data through natural language processing, and executed through the robotic process automation interface Update action.
It achieves flexible and accurate extraction and execution of database update actions, reduces maintenance costs, improves the scalability and flexibility of the system, can capture changes and patterns in text, and reduces reliance on hard rules.
Smart Images

Figure CN118568103A
Abstract
Description
Technical Field
[0001] In many fields such as accounting, sales or purchasing, support requests are received from customers in text form, for example via email or web form. There is a known, restricted range of actions that these support requests may result in, but the unrestricted nature of the text input from customers means that the expected action is usually determined by a human who reads each request and converts the content of the request into a structured form. For example, a support request to close a transaction may be expressed as "I hereby confirm the delivery of order 123, please close the corresponding transaction", while the expected action may be formalized as "{action: close; transaction: 123; delivery_status: delivered}".
[0002] Customers expect prompt responses and correct execution of their requests; however, the rapid growth of the help desk business means that relying on human employees to handle every request is a barrier to scalability. Any automated system used to handle support requests must be highly accurate, flexible enough to correctly interpret a wide variety of expressions, and customized to the respective business domain. For scalability purposes, the automated system must be easy to maintain and extend.
[0003] Help desk activities are currently a largely manual task. From the perspective of extracting intent and entities mentioned in support requests, it is possible to identify concepts in the text using regular expressions or simple heuristics. For example, a serial number of a known format can be reliably extracted using a corresponding regular expression. For entities such as phone numbers, email addresses, or calendar dates, the use of regular expressions has been widely recognized. For domain-specific entity types, regular expressions must be developed and tested. Such approaches are precise but require ongoing maintenance as new concepts are introduced. These approaches have limited sensitivity to natural variations in the expressions used by customers to describe their actions.
[0004] The typical approach for extracting references to known concepts is named entity recognition (NER), a natural language processing method in which statistical models are used to detect the occurrence of known entity types in plain text. Domain-specific NER models are very effective and can be trained on suitable data, but these models do not recognize the intent encoded in the support request and therefore only provide parts of the necessary technical solution. Summary of the invention
[0005] The purpose of the present invention is to identify problems in the prior art and to find technical solutions to the problems.
[0006] The object of the invention is solved by the independent claims. Further advantageous arrangements and embodiments of the invention are set forth in the respective dependent claims.
[0007] According to the method for performing automated database update, the following operations are performed by a component, wherein the component is a hardware component and / or a software component executed by one or more processors:
[0008] - receiving a text document by a network interface, wherein the text document describes at least one database update action in a natural language;
[0009] - The text document is processed by a natural language processing engine in the following manner:
[0010] - labeling tokens in the text document with named entity recognition annotations by a pre-trained general named entity recognition annotation model and / or at least one domain-specific named entity recognition component;
[0011] - extracting the database update action from the text document by a neural network model processing the word-grams and the named entity recognition annotations; and
[0012] - storing the database update action as structured data in a machine-readable form;
[0013] - sending the structured data to a robotic process automation interface; and
[0014] - performing the database updating action by updating the database.
[0015] The system used to perform automated database updates includes:
[0016] - a network interface, the network interface being configured to receive a text document, wherein the text document describes at least one database update action in a natural language;
[0017] - a natural language processing engine configured to process the text document using:
[0018] - a pre-trained generic named entity recognition annotation model and / or at least one domain-specific named entity recognition component configured to tag tokens in said text document with named entity recognition annotations;
[0019] - a neural network model trained to extract the database update action from the text document by processing the word-grams and the named entity recognition annotations; and
[0020] - a memory accessible for storing the database update action as structured data in a machine-readable form; and
[0021] - A robotic process automation interface configured to receive the structured data and to perform the database update action in a database.
[0022] The following advantages and explanations are not necessarily the result of the object of the independent claims. Instead, they may be advantages and explanations that apply only to certain embodiments or variants.
[0023] In conjunction with the present invention, unless otherwise specified in the specification, the terms "training", "generation", "computer-assisted", "calculation", "determination", "inference", "retraining" and the like preferably relate to actions and / or processes and / or processing steps of changing and / or generating data and / or converting the data into other data, which data may in particular or be representable as physical quantities, such as electrical pulses.
[0024] The term "computer" should be interpreted as broadly as possible, in particular to cover all electronic devices with data processing properties. Thus, a computer may be, for example, a personal computer, a server, a client, a programmable logic controller (PLC), a handheld computer system, a pocket PC device, a mobile radio device, a smartphone, a device capable of processing data using computer support, a processor and other electronic devices for data processing, or any other communication device. A computer may in particular comprise one or more processors and a memory unit.
[0025] In conjunction with the present invention, a "memory", "memory unit" or "memory module" or the like may mean, for example, a volatile memory in the form of a random access memory (RAM) or a permanent memory such as a hard disk or a magnetic disk.
[0026] The method and system, or at least some of its embodiments, provide a scalable neural architecture for extracting and performing operational actions from text documents. Combining the use of annotated data with a neural network model has several advantages, as will be described below.
[0027] The method and system, or at least some of its embodiments, are more flexible than methods based solely on regular expressions because they allow for variations in the exact expressions used to express database update actions in text documents. Regular expression-based solutions would require continual, labor-intensive extension and maintenance to achieve similar results.
[0028] Neural network models can be trained from annotated data and do not require rules or heuristics. In the absence of historical annotated data for training, suitable annotations are easy to create (i.e., labeling portions of a text document set to highlight the occurrence of relevant entities).
[0029] Compared to heuristic-based approaches, the use of machine learning models trained on annotated data means that at least some of the embodiments can capture implicit knowledge about patterns in the data. Rather than using hard and fast rules, neural network models consider the entire text document for each prediction, which is difficult to do with rule-based systems.
[0030] In one embodiment of the method, the at least one domain-specific named entity recognition component uses regular expressions or pre-trained statistical NER models to identify and tag tokens in text documents.
[0031] In another embodiment of the method, the neural network model calculates a confidence value for the database update action, and only when the confidence value exceeds a given threshold is the structured data sent to the robotic process automation interface.
[0032] According to this embodiment, the neural network model emits a confidence value for each of its predictions. This allows potential robotic process automation actions to be stopped if the model's confidence is too low.
[0033] In one embodiment of the method, the text document contains at least one anchor point, which is a word element representing an entity in a database related to the database update action.
[0034] In another embodiment of the method, the named entity recognition annotation includes: at least one anchor annotation that labels the anchor; and at least one action type annotation that specifies the type of the database update action.
[0035] In one embodiment of the method, for each word in the text document, the neural network model receives the following as input:
[0036] - word embeddings that encode the meaning of the word-gram, the meaning being retrieved for the word-gram from public NLP resources and / or domain-specific NLP resources;
[0037] - a label embedding encoding the entity represented by the word-gram, wherein, according to the word-gram, the label embedding is based on:
[0038] - the anchor annotation,
[0039] - the action type annotation, or
[0040] - another named entity recognition annotation, and
[0041] - A spatial encoding which indicates how far the word-gram is from the anchor point in the text document, measured in terms of the number of word-grams.
[0042] In another embodiment of the method, the neural network model has a first prediction head that is trained to perform action type prediction of predicting the action type of the anchor point by performing a multi-label prediction task with a set number of labels. The predicted action type and the anchor point are included in the structured data to define the database update action.
[0043] In a further embodiment of the method, the neural network model has a second prediction head trained to predict the location of a phrase associated with the anchor point. The phrase associated with the anchor point is parsed so that its content is included in the structured data to further define the database update action.
[0044] By predicting both atomic types (ie, the action type) and complex structures (ie, phrases related to the anchor points), this embodiment can be extended to handle highly structured prediction tasks.
[0045] In another embodiment of the method, the neural network model makes two predictions based on a shared document representation generated by a single-layer long short-term memory network.
[0046] According to this embodiment, a single document representation is used to make multiple predictions for each anchor point.
[0047] In one embodiment of the method, the neural network model has a third prediction head, which is trained to predict third information related to the anchor point. The third information is included in the structured data to further define the database update action.
[0048] According to this embodiment, the neural network model is easily extended to make additional predictions. For example, the third prediction head can predict the account owner (an entity of type person).
[0049] In another embodiment of the method, the text document contains multiple anchor points, and a database update action is extracted and executed for each anchor point.
[0050] The computer program product comprises instructions which, when the program is executed by a computer, cause the computer to carry out the method.
[0051] A provisioning device for a computer program product stores and / or provides the computer program product. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The above and other aspects of the present invention are best understood from the following detailed description when read in conjunction with the accompanying drawings. For the purpose of illustrating the invention, presently preferred embodiments are shown in the accompanying drawings, however, it should be understood that the invention is not limited to the specific tools disclosed. The embodiments may be combined with each other. In addition, the embodiments may be combined with any of the features described above. Unless otherwise specified, the same reference numerals between the drawings represent the same features or functionally the same elements. Included in the drawings are the following figures:
[0053] Figure 1 A first embodiment is shown,
[0054] Figure 2 Another embodiment is shown.
[0055] Figure 3 Another embodiment is shown.
[0056] Figure 4 Another embodiment is shown.
[0057] Figure 5 The input for training the neural network model NNM is shown,
[0058] Figure 6 The architecture of the neural network model NNM is shown.
[0059] Figure 7 The procedure for training the neural network model NNM is shown,
[0060] Figure 8 shows the runtime phase of operation of the natural language processing engine NLPE, and
[0061] Fig. 9 A flow chart showing a possible exemplary embodiment of a method for performing automated database updates. DETAILED DESCRIPTION
[0062] In the following description, various aspects of the present invention and embodiments thereof will be described. However, it will be appreciated by those skilled in the art that embodiments may be practiced utilizing only some or all aspects thereof. For purposes of explanation, specific numbers and configurations are set forth to provide a comprehensive understanding. However, it will also be apparent to those skilled in the art that these embodiments may be practiced without these specific details.
[0063] The components described may each be a hardware component or a software component. For example, a software component may be: a software module, such as a software library; a separate program, subroutine or function; or, depending on the programming paradigm, any other part of the software code that implements the functionality of the software component. In particular, a combination of hardware components and software components may occur if some of the effects according to the invention are preferably implemented exclusively by dedicated hardware (e.g., a processor in the form of an ASIC or FPGA) and some other parts are implemented by software.
[0064] Figure 1 An example structure for a computer implementation of the present invention is shown, the example structure comprising:
[0065] (101) Computer system
[0066] (102) Processor
[0067] (103) Memory
[0068] (104) Computer program (product)
[0069] (105)User interface.
[0070] In this embodiment of the present invention, the computer program 104 includes program instructions for implementing the present invention. The computer program 104 is stored in the memory 103, which in particular makes the memory 103 and / or its related computer system 101 a supply device for the computer program 104. The computer system 101 can implement the present invention by executing the program instructions of the computer program 104 by the processor 102. The results of the present invention can be presented on the user interface 105. Alternatively, the results can be stored in the memory 103 or on another suitable device for storing data.
[0071] Figure 2 Another example structure for computer implementation of the present invention is shown, the example structure includes:
[0072] (201)Supply of equipment
[0073] (202) Computer program (product)
[0074] (203) Computer Network / Internet
[0075] (204) Computer system
[0076] (205)Mobile device / smartphone.
[0077] In this embodiment, a supply device 201 stores a computer program 202, which includes program instructions for implementing the present invention. The supply device 201 provides the computer program 202 via a computer network / Internet 203. For example, a computer system 204 or a mobile device / smartphone 205 can load the computer program 202 and implement the present invention by executing the program instructions of the computer program 202.
[0078] In a variation of this embodiment, the supply device 201 is a computer-readable storage medium, such as an SD card, which stores a computer program 202 and is directly connected to a computer system 204 or a mobile device / smartphone 205 so that the computer system or the mobile device / smartphone loads the computer program 202 and implements the present invention by executing the program instructions of the computer program 202.
[0079] Preferably, Figures 3 to 9 The embodiment shown in FIG. 1 can be used as Figure 1 or Figure 2 The structure shown in is implemented.
[0080] At least some of the embodiments described below use natural language processing and neural networks to identify an intended database update action expressed in a text document, such as a support request, and convert the text document into a machine-readable structured form. One of the embodiments receives a text document, automatically determines the intended database update action, and performs the action through an interface to a backend system, such as through a robotic process automation connection.
[0081] Figure 3 An embodiment of a method for performing automated database updates is shown, here using an example from the field of purchase order management, where the database stores data related to purchase order numbers. The natural language processing engine NLPE receives a text document TD, which is a service request written by a customer in the corresponding field (in this case account management). The natural language processing engine NLPE acts as an intent extraction component, which uses a neural network model NNM (described below) to extract order information about the intended database update action contained in the text document TD.
[0082] For example, a database update action may be a simple database update, such as changing a value from "on" to "off." However, a database update action may also be a more complex set of actions, such as automatically generating and emailing an invoice document and changing the corresponding entry in the database accordingly.
[0083] A text document TD is a file or data set containing text, but not necessarily a text file with the file type TXT. To give some examples, the text document can also be an email such as an EML file, a word document of the file type DOC or DOCX, or a chat / SMS message.
[0084] The result of this intent extraction phase is structured data SD containing zero or more database update actions for each of the known anchor types, in this case the purchase order number. In the given example, the text document TD is an email requesting the creation of invoices for four different purchase order numbers, where for the first purchase order number specific locations 3-7 have been selected for the invoices. In the structured data SD, each purchase order number is listed after the identifier "PO". The term "invoice" contained in the text document TD is represented in the structured data SD as "ERK", which is a domain-specific entity type representing an action type.
[0085] Figure 4 The previously described elements of a system for performing automated database updates according to an embodiment including robotic process automation and additional components are shown. Here, structured data SD containing database update actions in machine-readable form are passed to the robotic process automation interface RPAI and executed in the back end, resulting in an update of the database DB. For example, the update of the database DB may involve purchase order data, orders for products, or schedules for sales visits. The corresponding robotic process automation and database technologies are state of the art.
[0086] The natural language processing engine NLPE is based on a trainable neural network model NNM. A more specific variant of the current embodiment distinguishes between a training phase, which is a one-time process of preparing the neural network model NNM, and a runtime phase, in which new text documents, such as new support requests, are processed.
[0087] For the training phase, the current embodiment uses Figure 5 Some inputs illustrated in FIG, namely text documents TD, named entity recognition annotations, and structured data SD used as JSON structure markup for each text document TD. Figure 5 In the example shown in , the named entity recognition annotations include:
[0088] an action type annotation TYA that identifies the word "invoice" and annotates the word with the domain-specific entity type "ERK",
[0089] an anchor annotation POA identifying the purchase order number, and
[0090] • A position phrase annotation PPA that identifies the position phrase "Pos 3-7".
[0091] The training data is a collection of a sufficient number of these text documents TD and their corresponding annotations and tags. In practice, such data is typically collected from a historical database of operations in a particular domain, in this case account management.
[0092] Named entity recognition annotations are stored in a standard format that encodes the type and word index offset of each entity. The range of possible entities is known in advance, in which case there are three domain-specific action types (ERK, ELK, and WE), more domain-specific types (purchase order number, location), and general types, such as personnel, organizations, or locations. The occurrence of domain-specific types is determined by a domain-specific named entity recognition component. In the current embodiment, domain-specific types are identified using a set of pre-authored regular expressions. However, other domain-specific NER methods, such as pre-trained statistical NER models, may also be used.
[0093] Figure 3 and Figure 4 The neural network model NNM shown in makes multiple predictions in parallel, each prediction corresponding to a portion of the structured data SD. In the current embodiment, two of those predictions are (in the case of the purchase order number used as an anchor):
[0094] Predict the type of action for each anchor
[0095] Predict a list of locations for each anchor point.
[0096] exist Figure 6 The corresponding architecture of the neural network model NNM for these predictions is shown in . The neural network model NNM has two outputs (the topmost layer, also called "prediction head") for the two predictions mentioned above, which are described below.
[0097] The first prediction head is the action type prediction ATP, which predicts the type of action for each anchor point, performing a multi-label prediction task with a set number of labels, because multiple action types can be associated with a single anchor point. In the current embodiment, the types of actions that the neural network model NNM can predict for each purchase order number are ERK, ELK, and WE. In other words, the action type prediction TP performs multi-label classification on the three categories ELK, ERK, and WE.
[0098] The position list PL of each purchase order number (in Figure 8The prediction of ) involves first finding the position phrase in the text document as a word index offset range, and then using the position parser PP (also shown in Figure 8 ) parses the location phrase into a location list PL, for example in the form of "[1,2,3]".
[0099] Back to Figure 6 In order to perform the first step of finding the word index offset range of the position phrase, the neural network model NNM is equipped with a second prediction head, here the position location prediction PLP, which provides a category classification for the number of input sequence indices (e.g. 0-299) and provides -1 for "all".
[0100] These two predictions are made based on the shared document representation DR generated by a single-layer long short-term memory network LSTM. In other words, a single document representation DR is used to make multiple predictions for each purchase order number.
[0101] As in Figure 6 As shown in the bottom layer of the architecture depicted in , the input of the neural network model NNM is about Figure 3 and Figure 5 The combination of the following three pieces of information for each word in the text document TD shown in:
[0102] Word embedding WE encodes the meaning of words,
[0103] Tag embeddings (TEs) encode the entity represented by a word, and
[0104] Purchase order number spatial encoding POSE indicates where the word is relative to the purchase order number.
[0105] Word embeddings WE are representations of word meanings taken from well-known, publicly available NLP resources such as Glove, word2vec, or fasttext. This public resource is combined with domain-specific resources containing word embeddings for concepts in the domain (such as "ERK") that are specific to any given use case.
[0106] The tag embedding TE encodes which entity a token is an instance of and includes domain-specific entity types (purchase order number, action type, location) and generic entity types (person, location) as well as a special entity type "None".
[0107] The purchase order number spatial encoding POSE indicates how far a word-gram is from the anchor purchase order number, measured in terms of the number of word-grams. The intuition behind this input is that the neural network model NNM needs to know which purchase order numbers appear close to which potential action types and position phrases appear in order to make accurate predictions. This is especially important in text documents containing multiple purchase order numbers (such as in the example above), because the input information of the neural network model NNM for each different purchase order number differs only in terms of the purchase order number spatial encoding POSE.
[0108] exist Figure 7 The training phase according to the current embodiment is illustrated in FIG. The input data as described above (here a set of text documents TD and corresponding JSON structure tags SL) is converted into different training data points DP, one for each purchase order number in each text document TD. The training data point DP contains text tokens and purchase order number locations as model inputs, and action types, location lists, and location locations as training tags.
[0109] To create the model input, the corresponding purchase order number position is calculated for each training data point DP, which corresponds to the word-meta offset of the corresponding word-meta within the text document TD. The text document TD is also analyzed using an external pre-trained named entity recognition annotation model AM provided by the open source package spaCy, which is well known in natural language processing applications.
[0110] The neural network model NNM is then trained by the training component TC according to the usual well-known machine learning methods from the training data set with the data points DP. The trained neural network model NNM is then written to a persistent storage together with its metadata.
[0111] Figure 8 The runtime phase of the current embodiment performed by the natural language processing engine NLPE is shown. In this embodiment, the trained neural network model NNM is taken out from the persistent storage device PS in a load operation LA and then works as an intent extraction component. This embodiment applies the above-mentioned annotation model AM (spaCy) and the domain-specific named entity recognition component DSNER to a newly received support request in the form of a text document TD in order to add the named entity recognition annotations required by the neural network model NNM. For example, the text document TD has been received by email, web form, or similar means.
[0112] Then, the neural network model NNM makes the above action type prediction ATP and the above location location prediction PLP for each purchase order number in the text document TD. For each pair of these predictions, the embodiment uses the location parser PP to convert the location phrases identified by the location location prediction PLP into a location list PL, and then constructs structured data SD in JSON, which is then passed to Figure 4 The Robotic Process Automation Interface RPAI is shown in FIG.
[0113] Fig. 9 A flow chart illustrating one possible exemplary embodiment of a method for performing automated database updates, wherein the following operations are performed by a component, and wherein the component is a software component and / or a hardware component executed by one or more processors.
[0114] In receiving operation 1, the network interface receives a text document, wherein the text document describes at least one database update action in a natural language.
[0115] The text document is then processed by the natural language processing engine using the following operations.
[0116] In a tagging operation 2, a pre-trained general named entity recognition annotation model and / or at least one domain-specific named entity recognition component tags tokens in the text document using the named entity recognition annotations.
[0117] In extraction operation 3, the neural network model processes the tokens and named entity recognition annotations and extracts database update actions from the text document.
[0118] In a storage operation 4, the database update action is stored in a memory as structured data in a machine-readable form.
[0119] In a send operation 5, the structured data is sent to the robotic process automation interface.
[0120] In the execution operation 6, a database update action is performed by updating the database.
[0121] In case the text document contains more database update actions, the method can restart with step 3.
[0122] For example, the method may be performed by one or more processors. Examples of processors include a microcontroller or microprocessor, an application specific integrated circuit (ASIC), or a neuromorphic microchip, particularly a neuromorphic processor unit. The processor may be part of any kind of computer, including a mobile computing device (such as a tablet, smartphone, or laptop), or part of a server in a control room or cloud.
[0123] The above method can be implemented via a computer program product, which includes one or more computer-readable storage media on which instructions executable by one or more processors of a computing system are stored. The execution of the instructions causes the computing system to perform operations corresponding to the actions of the above method.
[0124] Instructions for implementing the process or method described in this article can be provided on non-temporary computer-readable storage media or memory, such as cache memory, buffer, RAM, FLASH, removable media, hard disk drive or other computer-readable storage media. Computer-readable storage media include various types of volatile and non-volatile storage media. The functions, actions, or tasks illustrated in the figures or described in this article can be executed in response to one or more groups of instructions stored in or on a computer-readable storage medium. These functions, actions or tasks can be independent of a specific type of instruction set, storage medium, processor or processing strategy, and can be executed by software, hardware, integrated circuits, firmware, microcode, etc. that work individually or in combination. Similarly, processing strategies can include multi-processing, multi-tasking, parallel processing, etc.
[0125] The present invention has been described in detail with reference to the embodiments and examples of the present invention. However, within the spirit and scope of the present invention covered by the claims, variations and modifications may be implemented. The phrase "at least one of A, B and C" as an alternative expression may specify that one or more of A, B and C may be used.
Claims
1. A computer-implemented method for performing automated database updates, wherein the following operations are performed by a component, and wherein the component is a hardware component and / or a software component executed by one or more processors: - receiving (1) a text document (TD) by a network interface, wherein the text document (TD) describes at least one database update action in a natural language, - The text document (TD) is processed by a natural language processing engine (NLPE) in the following manner: - tagging (2) tokens in said text document (TD) with named entity recognition annotations by a pre-trained general named entity recognition annotation model (AM) and / or at least one domain specific named entity recognition component (DSNER), - extracting (3) said database update action from said text document (TD) by a neural network model (NNM) processing said word-grams and said named entity recognition annotations, and - storing (4) said database update action as structured data (SD) in a machine-readable form, - sending (5) said structured data (SD) to a Robotic Process Automation Interface (RPAI), and -Perform the database update action (6) by updating the database (DB).
2. The method according to claim 1, - wherein said at least one domain specific named entity recognition component (DSNER) uses regular expressions or a pre-trained statistical NER model to recognize and label tokens in said text document (TD).
3. The method according to any one of the preceding claims, - wherein the neural network model (NNM) calculates a confidence value for the database update action, and - wherein said structured data (SD) is sent to said Robotic Process Automation Interface (RPAI) only if said confidence value exceeds a given threshold.
4. The method according to any one of the preceding claims, - wherein the text document comprises at least one anchor point, and wherein the anchor point is a word-gram representing an entity in the database (DB) related to the database updating action.
5. The method according to claim 4, The named entity recognition annotations include: - at least one anchor point annotation (POA) labeling said anchor point, and - at least one action type annotation (TYA), said at least one action type annotation specifying a type of said database updating action.
6. The method according to claim 5, For each word in the text document (TD), the neural network model (NNM) receives the following as input: - Word Embeddings (WE) encoding the meaning of the word-gram, the meaning being retrieved for the word-gram from public NLP resources and / or domain-specific NLP resources, a tag embedding (TE) encoding the entity represented by the word-gram, wherein, according to the word-gram, the tag embedding is based on: - the Point of Anchor Annotation (POA), - the action type annotation (TYA), or - another named entity recognition annotation, and - A spatial encoding (POSE) which indicates how far the word-gram is from an anchor point in the text document (TD), measured in terms of the number of word-grams.
7. The method according to any one of the preceding claims 4 to 6, - wherein the neural network model (NNM) has a first prediction head, the first prediction head being trained to perform action type prediction (ATP) of predicting the action type of the anchor point by performing a multi-label prediction task with a set number of labels, and - wherein the predicted action type and the anchor point are included in the structured data (SD) so as to define the database update action.
8. The method according to claim 7, - wherein the neural network model (NNM) has a second prediction head, the second prediction head being trained to predict the location of phrases related to the anchor point, and - wherein a phrase associated with said anchor point is parsed so as to include the content of said phrase in said structured data (SD) to further define said database update action.
9. The method according to claim 8, - wherein the neural network model (NNM) makes two predictions based on a shared document representation (DR) generated by a single-layer long short-term memory network (LSTM).
10. The method according to claim 9, - wherein the neural network model (NNM) has a third prediction head, the third prediction head is trained to predict third information related to the anchor point, and - wherein said third information is included in said structured data (SD) to further define said database update action.
11. The method according to any one of the preceding claims 4 to 10, - wherein the text document (TD) comprises a plurality of anchor points, and -Wherein for each anchor point a database update action is extracted and executed.
12. A system for performing automated database updates, comprising: - a network interface, the network interface being configured to receive (1) a text document (TD), wherein the text document (TD) describes at least one database update action in a natural language, a natural language processing engine (NLPE) configured to process the text document (TD) using: - a pre-trained generic named entity recognition annotation model (AM) and / or at least one domain specific named entity recognition component (DSNER), configured for labeling (2) tokens in said text document (TD) using named entity recognition annotations, - a neural network model (NNM) trained to extract (3) said database update actions from said text document (TD) by processing said tokens and said named entity recognition annotations, and - a memory accessible for storing (4) said database update actions as structured data (SD) in a machine-readable form, and - a Robotic Process Automation Interface (RPAI) configured to receive said structured data (SD) and to perform (6) said database update action in a database (DB).
13. A computer program product comprising instructions which, when executed by a computer, cause the computer to carry out the method according to one of the method claims.
14. Supply device for a computer program product according to the preceding claim, wherein the supply device stores and / or provides the computer program product.
Citation Information
Cited By
Anchor point-based RPA element anchor point automatic repair method
CN120045377A
