Training Data Extension for Natural Language Classification

By expanding the training data set and utilizing technologies such as statistical language models to improve the intention understanding capabilities of natural language classifiers, the problem of chatbots' limited understanding of user intentions is solved, and more accurate and useful user intention recognition and response are achieved.

CN112136125BActive Publication Date: 2024-10-18INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201980033219.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-30
Publication Date
2024-10-18
Estimated Expiration
2039-04-30

AI Technical Summary

Technical Problem

Existing natural language classifiers have limitations in understanding and interpreting user intentions, resulting in the chatbot's output of user input being insufficiently meaningful and practical, and making it difficult to accurately identify diverse expressions related to user intentions.

Method used

Improve the intent understanding of natural language classifiers by extending the initial training data set, generating updated training data that includes diverse and expanded expressions, and leveraging techniques such as statistical language models and synonym replacement.

Benefits of technology

Achieving a high degree of natural language understanding of user intentions improves the chatbot's usefulness and practicality in communicating with users, enabling it to more accurately recognize and respond to users' diverse expressions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112136125B_ABST
    Figure CN112136125B_ABST
Patent Text Reader

Abstract

A computer-implemented method for training a natural language classifier associated with a chat interface of a computer system is provided. The method may include receiving a training data set, the training data set including an initial set of expressions corresponding to an intent. Additional expressions corresponding to the intent may be generated, wherein the additional expressions are generated based on the initial set of expressions corresponding to the intent. The natural language classifier may be trained based on the initial set of expressions corresponding to the intent and the additional expressions. The trained natural language classifier may be implemented to determine the intent of a detected query expression based on the initial set of expressions and the additional expressions that trained the natural language classifier.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] The present invention relates generally to the field of natural language processing, and more particularly to developing training data for training natural language classifiers.

[0002] Chatbots, conversational robots, instant messaging robots, artificial dialogue entities, etc. ("chatbots") are computer software programs designed to simulate natural language communication, conversation and dialogue with humans and end users. Important functions of chatbots may include understanding, interpreting and determining the intent of expressions of user input from end users. The intent of expression may include, for example, free-form text and / or speech. Chatbots can support and promote natural language communication with end users by correctly determining the intent of the expression of user input, for example, to correctly and appropriately generate meaningful, useful or expected output in response to user input. That is, chatbots can generate expected outputs by correctly determining the intent of the expression of user input. For example, chatbots that can fully determine the intent of various expressions can be used to support and promote natural language communication with a wide range of end users in order to respond to inquiries, answer questions and respond to requests such as "I want to change my system password" or "I made a mistake when registering my phone number and need to correct it." Provide information. End users can express this intent in many different ways.

[0003] The chatbot can determine the intent of the expression by implementing a natural language classifier (NLC) to disambiguate, understand and interpret the intent of the expression (e.g., through text classification). NLC can be implemented by classifying, categorizing or grouping the intent of the expression relative to the corresponding set of corresponding categories or expressions. The classification can be performed using a confidence represented by a confidence score. The degree to which the chatbot can correctly determine the intent of the expression may depend on the accuracy of the classification performed by the NLC. The confidence score can reflect the accuracy or certainty level of determining the intent classification, which may depend on the level and granularity of the understanding and interpretation ("natural language understanding") of the NLC of the intent of the expression. Summary of the invention

[0004] According to one aspect of the present invention, a computer-implemented method, computer system, and computer program product for training a natural language classifier associated with a chat interface of a computer system are provided. The method may include receiving a training data set, the training data set including an initial set of expressions corresponding to an intent. Additional expressions corresponding to the intent may be generated, wherein the additional expressions are generated based on the initial set of expressions corresponding to the intent. A natural language classifier may be trained based on the initial set of expressions corresponding to the intent and the additional expressions. The trained natural language classifier may be implemented to determine the intent of a detected query expression based on the initial set of expressions and the additional expressions that trained the natural language classifier. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Figure 1 is a functional block diagram depicting an interpretation management system according to an embodiment of the present invention.

[0006] Figure 2A is a flow chart depicting operational steps of one aspect of an interpretation management system according to an embodiment of the present invention.

[0007] Figure 2B is a flow chart explaining the operating steps of one aspect of a management system according to an embodiment of the present invention.

[0008] Figure 3 is a block diagram depicting a client device and / or interpretation management device according to an embodiment of the present invention.

[0009] Figure 4 A cloud computing environment according to an embodiment of the present invention is depicted.

[0010] Figure 5 Abstract model layers according to an embodiment of the present invention are depicted.

[0011] The accompanying drawings are not necessarily drawn to scale. The accompanying drawings are only schematic representations and are not intended to depict specific parameters of the present invention. The accompanying drawings are intended only to depict typical embodiments of the present invention. In the accompanying drawings, the same reference numerals represent the same elements. DETAILED DESCRIPTION

[0012] Detailed embodiments of the present invention are disclosed herein for describing and illustrating the claimed structures and methods, which may be implemented in various forms and are not intended to be exhaustive or limited in any way to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the disclosed embodiments. The terms used herein are selected to best explain the principles of one or more embodiments, practical applications, or technical improvements relative to current technology, or to enable those of ordinary skill in the art to understand the embodiments disclosed herein. As described above, the details of well-known features and technologies may be omitted to avoid unnecessarily obscuring the embodiments of the present invention.

[0013] References in the specification to "one embodiment," "an embodiment," "example embodiment," etc. indicate that the described embodiment may include one or more particular features, structures, or characteristics, but it should be understood that these particular features, structures, or characteristics may or may not be common to each disclosed embodiment of the invention. Moreover, such phrases themselves do not necessarily refer to any one particular embodiment. Thus, when one or more particular features, structures, or characteristics are described in conjunction with one embodiment, connections with other embodiments (if applicable), whether or not explicitly described, are considered to be within the knowledge of those skilled in the art to affect such one or more features, structures, or characteristics.

[0014] The performance and effectiveness of chatbots depend on the understanding of natural language, through which chatbots can determine (i.e., through NLC) the intent of various expressions. Higher and more granular levels of understanding and interpretation can allow more accurate determinations to be made, resulting in better performance of chatbots in meaningfully communicating with end users.

[0015] For example, user input from an end user, including requests, phrases, or questions such as "I want to change my system password," "I forgot my system password, can you send it to me?", and "I lost my password. How do I recover it?", may express different intents that are similar but have slightly different needs. Limited understanding or coarse interpretation of the expressed intents may reduce the usefulness and utility of the chatbot, causing the chatbot to determine each intent as being related only to "password," thereby reducing the chatbot's ability to support and facilitate natural language communication with the end user. As such, the output generated by the chatbot regarding the user input may be less meaningful, less helpful, and less desirable, and may only be partially relevant to compatible expressed intents. Limited understanding or fine-grained interpretation of the expressed intents may increase the usefulness and utility of the chatbot, causing the chatbot to determine each intent as being related to "password change," "password email recovery," and / or "password recovery," thereby improving the chatbot's ability to support and facilitate natural language communication with the end user. As such, the output generated by the chatbot regarding the user input may be more meaningful, helpful, and less desirable, and may be sufficiently relevant to the various expressed intents.

[0016] The degree of natural language understanding of NLC can be developed based on carefully prepared and curated training data. The training data may include, for example, data objects of text and / or speech based on a corpus corresponding to the intent of historical or representative expressions. The training data may be prepared to include, for example, a classification of the intent expressed, which associates the individual expressions of the corpus with corresponding classes or categories of intent related to natural language use in the domain to which NLC can be applied. NLC can perform a "training" phase in which a learning model learns natural language rules based on the training data to develop a machine representation model for implementing natural language understanding of NLC.

[0017] A high degree of natural language understanding of a particular expressed intent may be achieved based on training data including many different, diverse, and extended expressions corresponding to the particular expressed intent, such as text and / or speech based on a wide variety of corpora. Training data including a large number of expressions may be difficult, time consuming, and resource intensive, as there may be any number of such expressions corresponding to the intent that an end user may have in mind.

[0018] For example, an expression corresponding to an intent to change a password may include, for example, a natural language request, phrase, or question such as "I want to change the password for my system," "I want to modify my password," "I want to change my account password," "I need to insert a new password for my laptop," etc. Nonetheless, there may be countless other ways to express an intent to change a password. Furthermore, natural language usage by individual end users may influence the expression of intent, which may evolve and develop over time, such as based on factors related to cultural influences, demographics, end user age, provenance, etymology, and language adaptation (e.g., slang), and development, etc.

[0019] Therefore, there is a need in the art for a method to efficiently develop training data for training NLC to produce a high degree of natural language understanding of various expressed intents through NLC.

[0020] Embodiments of the present invention relate to a method for efficiently developing training data for training NLC to produce a high degree of natural language understanding of various expressed intents through NLC.

[0021] In one aspect, the method can be implemented to effectively expand initial training data including an initial set of expressions corresponding to an intent to generate updated training data including an extended set corresponding to different, diversified and extended expressions corresponding to the intent, through which a high degree of natural language understanding of the NLC of the intent can be achieved. The updated training data can be generated based on the initial training data for the initial set of expressions corresponding to the intent, where, for example, the initial set of expressions can be classified, categorized, grouped or labeled for the intent.

[0022] In various aspects, the method may include: receiving or acquiring initial training data including an initial set of expressions corresponding to an intent; generating updated training data including an extended set of expressions corresponding to different, diverse and extended expressions corresponding to the intent, wherein the extended set of expressions is generated based on the initial set of expressions corresponding to the intent, and training the NLC based on the updated training data so that the NLC has a high degree of natural language understanding of the intent.

[0023] Advantageously, the present invention can be implemented to effectively expand initial training data including an initial set of expressions corresponding to intents to generate updated training data including an extended set corresponding to different, diverse and extended expressions corresponding to intents, through which updated training data, a high degree of natural language understanding of intents can be achieved. The present invention can be implemented to reduce the difficulty, as well as the time and resource costs required to generate updated training data, the updated training data including updated training data corresponding to an extended set of expressions corresponding to different, diverse and extended expressions corresponding to intents, through which updated training data, a high degree of natural language understanding of the NLC of intents can be achieved. In particular, updated training data can be generated based on initial training data, the initial training data including a limited and small initial set of expressions corresponding to intents, which initial expressions will only allow a low or limited degree of natural language understanding relative to intents.

[0024] Figure 1 1 is a functional block diagram depicting an interpretation management system 100 according to an embodiment of the present invention. Interpretation management system 100 may include client device 110 and interpretation management device 130 interconnected via network 102. Figure 1 Two separate devices are depicted, but other arrangements are contemplated. For example, client device 110 and / or interpretation management device 130 may include one or more integrated or distinct devices.

[0025] In various embodiments of the present invention, the network 102 may include, for example, an intranet, a local area network (LAN), a personal area network (PAN), a wireless local area network (WLAN), a wireless personal area network (WPAN), a wireless mesh network, a wide area network (WAN) such as the Internet, etc. The network 102 may include wired, wireless, or fiber optic connections. In general, according to embodiments of the present invention, the network 102 may include any combination of connections and protocols for supporting communications between the client device 110 and the interpretation management device 130.

[0026] In various embodiments of the present invention, the client device 110 and / or the interpretation management device 130 may include a computing platform, such as a wearable device, an implantable device, a mobile or smart phone, a tablet computer, a laptop computer, a desktop computer, a server (e.g., a database server), a virtual machine, etc. In various embodiments, the client device 110 and / or the interpretation management device 130 may additionally include any other type of computing platform, computer system, or information system capable of sending data to and receiving data from another device by other means, such as by other means. In some embodiments, the client device 110 and / or the interpretation management device 130 may include a computer system such as a reference computer system. Figure 3 In other embodiments, the client device 110 and / or the interpreter may be configured in a manner such as the reference Figure 4 and Figure 5 The described cloud computing environment is implemented.

[0027] In an embodiment of the present invention, the client device 110 may include, for example, a client computing platform that hosts the client application 112. According to an embodiment of the present invention, the client device 110 may implement a combination of devices and technologies, such as network devices and device drivers, to support the operation of the client application 112 and provide a platform for enabling communication between the client device 110 and the interpretation management device 130.

[0028] The client application 112 may include, for example, an application or program such as a software program, one or more subroutines contained in a program, an application programming interface, etc. In an embodiment of the present invention, the client application 112 may be implemented in receiving training data.

[0029] In an embodiment of the invention, the training data may include, for example, natural language expressions corresponding to intents. In an embodiment, the natural language expressions may be represented by a vocabulary of terms. In this embodiment, the vocabulary of terms may be domain-specific, or may otherwise correspond to a specific class or domain of intents expressed. The vocabulary of terms may form the basis for training the NLC to map and associate an initially unknown intent of an expression with the domain of the intent of the expression.

[0030] For example, a training set (i.e., training data) TS may include natural language expressions, such as "I want to change my password", i.e., TS = {"I want to change password"}. The training set TS may include a vocabulary of terms V, including the terms "I", "want", "to", "change", and "password", i.e., V = {"password", "change", "I", "want", "to"}. For the purposes of this disclosure, "training data" may refer to a corresponding training set.

[0031] An expression corresponding to an intent ("expressed intent") may include, for example, a natural language expression represented by an arrangement of text including a string or set of sentences, words, and letters, which may convey or transmit a particular desire, emotion, concept, idea, or the like. An expressed intent may include, for example, a request, a phrase, a question, a document, a statement, an exclamation mark, a command, an utterance, or the like. A class, domain, category, or taxonomy of expressed intent may include, for example, a group of similar or related natural language expressions corresponding to the same answer, topic, or overall intent. A class of expressed intents may be labeled or otherwise associated with respect to a corresponding intent, and may include slightly different expressions corresponding to the intent. For example, a class of expressed intents may include natural language expressions that are commonly used in a particular domain or field. For purposes of this disclosure, "text" and "terms" may refer to terms, such as words or strings of words (e.g., sentences or phrases) of a vocabulary.

[0032] In an embodiment of the present invention, the training data may include, for example, "initial" training data including an initial set of expressions corresponding to the intent. The initial training data may be provided by an NLC development manager, for example, a person responsible for managing NLC performance for training data applied in training NLC. The initial training data may be implemented in an execution training phase, in which a learning model learns natural language rules based on the training data to develop a machine expression model for natural language understanding through NLC based on the initial set of expressions corresponding to the intent.

[0033] For example, a first chatbot may be trained based on a vocabulary of terms that includes the English vocabulary or at least a subset of the English vocabulary, as this may be meaningful or relevant to the domain of intent of the expression that the chatbot is expected to understand. A second chatbot may be trained based on a vocabulary of terms that includes the entire English vocabulary, where the chatbot may be expected to understand a broad domain of knowledge. A third chatbot may be trained based on a restricted vocabulary that includes sports vocabulary, where the chatbot may be expected to understand a domain of knowledge related to sports.

[0034] In an embodiment of the present invention, the training data may include, for example, updated training data. In this embodiment, the updated training data may include, for example, an extended set of different, diversified and extended expressions corresponding to the intent of the initial training data.

[0035] For purposes of this disclosure, "updated training data" may refer to extended training data, and vice versa. In addition, "initial training data" may refer to training data that forms the basis for generating updated training data.

[0036] As an example, the NLC manager can prepare and plan initial training data by compiling groups or categories of natural language expressions with common intentions. The NLC manager can input the initial training data into the client application 112 for communication and training with the NLC. The group of natural language expressions can be, for example, selected from a corpus or identified relative to a corpus. The corpus and the natural language expression group can be domain-specific (e.g., related to common topics such as sports). The corpus and the natural language expression group can be selected according to the domain to which the NLC can be applied. The natural language expression can include the intention expressed historically by the end user of the chat robot to which the NLC can be applied or by the end user of the chat robot to which the NLC can be applied.

[0037] In an embodiment of the present invention, the client application 112 may be implemented to receive data corresponding to user input from a terminal user. In an embodiment, the user input may include, for example, an intention expressed by free-form text and / or speech. In this embodiment, the user input may include, for example, user feedback. In this embodiment, after performing the training phase, according to an embodiment of the present invention, data corresponding to the user input may be received during the application of the trained NLC in the domain. For example, the user input may be received by a chatbot, through which the trained NLC may be implemented. The intention expressed by the user input may include an expression corresponding to an expression of the training data through which the NLC may be trained. In this embodiment, the terminal user may convey the user input to the NLC as part of a natural language communication between the terminal user and the trained NLC. In this embodiment, as previously described, the user input may be communicated through a node.

[0038] In an embodiment of the present invention, the interpretation management device 130 may include, for example, a computing platform that hosts the interpretation management program 140. According to an embodiment of the present invention, the interpretation management device 130 may implement a combination of devices and technologies such as network devices and network drivers to support the operation of the interpretation management program 140 and to provide a platform for supporting communication between the client device 110 and the interpretation management device 130.

[0039] The interpretation manager 140 may include, for example, an application or a program such as a software program, one or more subroutines contained in the program, an application programming interface, etc. The interpretation manager 140 may communicate with the client application 112 to receive training data and query data. The interpretation manager 140 may include a data transceiver module 142, a cognitive training data expansion module 144, a training module 146, and a data storage 148.

[0040] The data transceiver module 142 communicates with the client application 112. In an embodiment of the present invention, the communication may include retrieving initial training data from the client application 112, such as initial training data that may be received from the NLC development manager. In this embodiment, the communication may further include sending updated training data to the client application 112, such as may be generated by the cognitive training data expansion module 144 as described in further detail below. The data transceiver module 142 may store the retrieved data in a data storage 148 for later retrieval and use. According to an embodiment of the present invention, the client application 112 may apply the training data to train the NLC.

[0041] The cognitive training data expansion module 144 generates updated training data based on the initial training data. In this embodiment, the updated training data may include an extended set of different, diverse and extended expressions corresponding to the intent of the initial training data, through which the natural language understanding of the intended NLC can be improved. In this embodiment, the updated training data may include an extended expression set and an initial expression set. The cognitive training data expansion module 144 may include and implement, for example, a statistical language model that includes a machine learning algorithm for generating additional expressions.

[0042] Typically, a statistical language model can represent and be implemented in determining a probability distribution over a sequence of words. Statistical language models can be implemented in various text mining and text analysis (i.e., including those related to text classification) domains. In one embodiment of the present invention, a statistical language model may include, for example, a unigram language model (e.g., an n-gram model, where n=1). According to embodiments of the present invention, other types of statistical language models may be implemented to generate additional expressions corresponding to intent.

[0043] For example, a specific statistical language model may include, for example, a term vocabulary V = {w1, w2, ..., w M}, the set of text documents C = {d1, d2, …, d N} and probability distribution p(w k |w1,w2,…,w k-1 In an embodiment of the present invention, when a term vocabulary (V) is established or generated based on a set of text documents (C), for each term (e.g., w k ), a statistical language model can describe or otherwise define, for example, a probability distribution p(w k |w1,w2,…,w k-1 ).

[0044] Thus, given a sequence of words “w1,w2,…,w k-1 ,” the observation that p(w k |w1,w2,…,w k-1 )) describes the subsequent observation that the word " k "In set C (e.g. d i ). A monogram language model may, for example, assume that all terms occur independently or are observed. In this case, p(w k |w1,w2,…,w k-1 )=p(w k ), where Sum[p(w k )] = 1. For example, the estimate of the unigram language model might be p(w k )=w k In C=c(w k ) / |C|, where c(w k ) is the number of times a term occurs, such as w in C k , and |C| is the total number of terms in C.

[0045] The training module 146 trains the NLC based on the training data and the query data. In an embodiment of the present invention, the training data (through which the NLC can be trained) may include, for example, an initial set of expressions corresponding to the intent and additional expressions corresponding to the intent. The additional expressions may include those generated by the cognitive training data expansion module 144.

[0046] Figure 2A is a flow chart depicting operational steps of one aspect of interpretation management system 100 according to an embodiment of the present invention.

[0047] In step S202 , the data transceiver module 142 retrieves initial training data from the client application 112 .

[0048] In step S204, the cognitive training data expansion module 144 generates updated training data based on the initial training data. The updated training data may include an extended set of different, diversified and extended expressions corresponding to the intent of the initial training data.

[0049] In an embodiment of the present invention, updated training data may be generated based on initial training data for an initial set of expressions corresponding to intents, where the initial set of expressions may be classified, categorized, grouped, or labeled for intents, for example. In this embodiment, for example, as previously described, intents of expressions in the set of expressions may be generated based on the initial training data by deriving from one or more terms in the vocabulary of terms.

[0050] For example, updated training data TS' may be generated based on the initial training data TS. The initial training data TS may include an initial expression set, where TS = {text1, text2, ..., text N The updated training data TS' may include an extended expression set, where TS' = {text1', text2', ..., text P '}, and P>>N. The updated training data TS' may include a cardinality P, which may be greater than the cardinality N of the initial training data TS. The extended training set TS' may be derived from the initial training set TS. For example, the text1' of the extended training set may be generated by replacing the synonyms of the initial training set TS corresponding to text1. In other words, each text in TS may be taken as text i , and by replacing text i The synonyms of the word to generate additional text text i ', to generate TS' based on TS. TS' may be generated to include cardinality exceeding TS. Substitution of synonyms may be performed to intelligently select synonyms used in the substitution process.

[0051] In an embodiment of the present invention, the updated training data TS' may include both TS and TS'. The extended training set may be generated by performing text classification on the initial training set. In this embodiment, the text classification may include parsing and tokenization of text in the initial vocabulary of terms.

[0052] For example, parsing expressions in the initial training set (e.g., text i ) may include implementing a natural language parser, which is a program that figures out the grammatical structure of a sentence, e.g., which words group together (as "phrases") and which words are subjects or objects of verbs. Given a sequence of characters and defined document units, tokenizing an expression may include the task of chopping it up into pieces (called tokens), perhaps while throwing away certain characters (e.g., punctuation marks).

[0053] In an embodiment of the present invention, the expression of the initial training set (for example, text i ) to generate an extended training set. In this embodiment, parsing and tokenization can be performed to generate the text of the extended training set by parsing and tokenizing the expressions of the initial training set to represent the extended set of expressions, and based on the parsing and tokenization, one or more terms in the term vocabulary are selected, and the text of the extended training set is derived from the selected one or more terms in the term vocabulary. In an embodiment, the selected one or more terms may include nouns, adjectives, and verbs corresponding to the expressed intent. In this embodiment, part-of-speech (POS) tags can be implemented in the parsing and tokenization of expressions. For example, part-of-speech (POS) tags can be used to parse and tokenize each term in the TS (e.g., text k ). Parsing and tokenization can be performed, for example, by applying parsing and tokenization software such as Stanford CoreNLP. For the purposes of this disclosure, "derived term(s)" may refer to one or more labeled, parsed, and selected terms, and "deriving term(s)" may refer to the process of parsing, labeling, and selecting one or more terms.

[0054] In an embodiment of the present invention, after the terms are derived, synonyms and abbreviations for each derived term may be determined. For example, the synonyms and abbreviations for each term may be determined by implementing a natural language processing tool such as WordNet. The specific natural language processing tool that may be implemented may be selected according to the design.

[0055] In an embodiment of the present invention, the synonyms and abbreviations determined for each term may be replaced. In this embodiment, an extended expression set may be generated and developed by replacing the determined synonyms and abbreviations. For example, the extended training set TS' may include additional expressions, such as text' j , which may be generated with respect to one or more terms in the term vocabulary of the initial training set TS. In this embodiment, the derived training set TS' may include synonyms and abbreviations for each permutation accordingly. In this embodiment, the derived training set TS' may be added or otherwise incorporated into the training data.

[0056] As an example, the initial training data TS may include natural language expressions corresponding to intents, such as "I want to change my system password." That is, TS = {"I want to change my system password"}. The intent may be related to the desire to change the password. The text including nouns, adjectives, and verbs of TS can be parsed and tokenized to determine and select corresponding synonyms and abbreviations for subsequent replacement. In this example, the parsed and tokenized text may include "change," "password," and "system." For example, synonyms and abbreviations for "change" may include "modify" and "alter"; synonyms and abbreviations for "password" may include "watchword," "passcode," and "pwd"; synonyms and abbreviations for "system" may include "device," "computer," and "website."

[0057] In an embodiment of the present invention, the derived terms may include domain-specific text, context-specific text, etc. That is, the derived terms may include terms that are particularly related to the intent associated with the initial training data TS. As in the example, the derived terms may include terms that are particularly related to the intent of changing a password, and thus may be generated based on "change", "password", and "system". Commonly occurring terms (e.g., "want") do not identify or represent intent, and thus derived terms may not be generated based on such terms.

[0058] Therefore, an derived training set (e.g., TS') can be generated that includes additional expressions corresponding to the initial expression set of training data. In this way, where the initial expression set includes a training set TS = {'I want to change the password of my system'}, the derived training set may include an extended expression set, such as TS' = {"I want to change the password of my system", "I want to alter the password of my system", "I want to modify the password of my system", "I want to change the pwd of my system", ...}. Advantageously, for this example, based on a single user request (i.e., "I want to change the password of my system"), the cardinality of the initial expression set can be expanded to the cardinality TS' of the new training set, i.e., 2x3x3 = 18.

[0059] In step S206, the cognitive training data expansion module 144 detects intent-specific and context-specific training data. As described above, the intent-specific and context-specific training data may include, for example, terms of the initial and expanded expression sets.

[0060] In an embodiment of the present invention, the intent-specific terms of the expression set may be detected based on a statistical language model generated based on a training data set TS. In this embodiment, the intent-specific terms of the expression set may be detected based on a statistical language model generated based on an extended training data set TS'. In this embodiment, the statistical language model may include, for example, an initial expression set of the training data set TS and additional expressions of the extended training data set TS', respectively.

[0061] Typically, to detect intent-specific terms, nouns, adjectives, and verbs that can be parsed, tokenized, and selected for determining relevant synonyms and abbreviations should include only those terms that truly identify or fit the intent of the training dataset TS. This can be performed by comparing the intent of a phrase from the expanded training dataset with the corresponding phrase of the training dataset (i.e., the phrase from which the phrase was obtained). In the example above, "want" does not identify the intent, while "change" and "password" do. In addition, under certain conditions, it may be beneficial to not determine synonyms for "all" terms. Instead, for example, only those that are relevant to the context of the intent (i.e., of the training data) should be determined to reduce noise in the language model. In the example above, "transform" is a synonym of "change", but it is uncommon and atypical to find it to express a password change in an IT context.

[0062] In an embodiment of the present invention, intent-specific terms (e.g., expressions representing intent-specific expressions) may be detected and extracted based on the ratio of occurrences, and calculated or determined based on the relative frequency of their occurrences in the initial expression set of the training dataset TS relative to their occurrences in the extended training dataset TS'. In this embodiment, a first letter combination language model LM may be generated based on the training dataset TS. ts In this embodiment, the second letter combination language model LM may be generated based on a broader set of documents, such as a representative of English (ie, the language of TS). gen In this embodiment, the second letter combination language model may include a representative and close LM ts A large collection of terms for the context of an intent.

[0063] Choose in LM ts The selection of those with the highest frequency of occurrence as intent-specific terms may result in the selection of terms such as "want" as described above, which are commonly used in any language context. That is, "want" may appear in a context related to changing a password, as well as in a context related to obtaining information about the finalists of the UEFA Champions League. As an example, a letter combination LM, LM gen can consist of a wider set of documents, e.g., a document can represent English (the language of TS). In addition, for example, LM gen A large number of terms may be included that are representative and close to the context of the LM intent, so that sports-related terms are included if the intent is football.

[0064] In an embodiment of the present invention, the intent-specific term w can be determined by Equation 1.k The occurrence rate r(w k ).

[0065] r(w k ) = f LMts (w k ) / f LMgen (w k )

[0066] where f(.) is the term in the statistical language model LM (e.g. LM ts ,LM gen ) in the frequency of occurrence in . In this embodiment, each intent-specific term (eg, representing an intent-specific expression) may be detected and extracted (ie, selected) based on a corresponding occurrence rate r(.) determined to exceed a predetermined threshold.

[0067] For example, for each term w in vocabulary V k (For example, LM ts and LM gen ), we can determine the occurrence rate r(w k ) = f LMts (w k ) / f LMgen (w k ), where f(.) is the term in LM ts and LM gen Common terms of a language may have comparable frequencies of occurrence in TS and the general model, while TS-specific terms tend to have higher frequencies of occurrence in TS than in the general model. In an embodiment of the present invention, each intent-specific term having an occurrence rate r(.) exceeding a predetermined threshold may be selected.

[0068] In other words, common terms (i.e., expressions) of a language tend to have comparable frequencies of occurrence in the training set relative to their frequencies of occurrence in the general language model. TS-specific terms tend to have higher frequencies in the TS than in the general model. Therefore, intent-specific terms with a higher ratio r(.) (e.g., exceeding a predetermined threshold) can be selected.

[0069] In an embodiment of the present invention, detecting intent-specific training data (ie, intent-specific terms) may include, for example, determining a restricted term set T′={ist1,ist2,…,ist Y}, where "ist" is an intent specific term. The restricted term set T' may include, for example, expressions of an initial or extended expression set of the training data TS, and / or expressions of an extended training data set TS'.

[0070] In one embodiment of the present invention, each term can be compared with a restricted term set T'={ist1,ist2,...,ist Y} to detect intent-specific terms. Terms in a paradigmatic relationship are interchangeable in a phrase (i.e., they are in the same syntactic or semantic category). For example, terms in a paradigmatic relationship may include Monday and Tuesday, cat and dog, and so on. Typically, in statistical language models, LM gen Detecting intent-specific terms based on canonical relations may be particularly effective when is is a representative of the context related to the intent. Therefore, for each intent-specific term is k , we can determine the synonym set S k ={s (k) 1,s (k) 2, ...}. In this embodiment, for each intent-specific term ist k , can be based on the synonym set S k ={s (k) 1,s (k) 2,…}, generating additional expressions corresponding to the initial set of expressions for the training data.

[0071] In an embodiment of the present invention, detecting intent-specific training data may include, for example, using an existing knowledge base for a specific language, such as WordNet, online dictionaries, etc. The appropriate choice of the specific knowledge base used may be selected as a matter of design.

[0072] In an embodiment of the present invention, the specific term ist for each intent can be used. k The set of synonyms S k ={s (k) 1,s (k) 2, ...} to detect context-specific training data. In this embodiment, detecting context-specific training data may include, for example, reducing a set S of synonyms for each intent-specific term. k ={s (k) 1,s (k) 2,…} to include only those that are really used together in the context of the intent.

[0073] In an embodiment of the present invention, the synonym set for each intent-specific term can be reduced based on the syntagmatic relationship between the terms, such as the synonym set. Generally, if two words have a high probability of appearing together in a phrase of the language model, they have a syntagmatic relationship. For example, based on semantic relationships and co-occurrences, the terms may have a high probability of appearing together. For example, the terms "car" and "drive" have a syntagmatic relationship. That is, the statistical language model LM generated based on the expanded training data set TS' can be used to identify the words that have a syntagmatic relationship. gen At least one of the ist k With a combination relationship, from each S k To detect context-specific training data. Thus, a derived training set may be generated based on training data from the client application 112 on a relatively small, well-selected set of synonyms (ie, expressions), where P>>N.

[0074] In step S208 , the training module 146 trains the NLC for implementation.

[0075] As previously described, training the NLC may include performing a training phase to train the NLC. In an embodiment of the present invention, the training phase may be performed based on updated training data, as previously described, the updated training data including an extended set of different, diversified and extended expressions corresponding to the intent of the initial training data. In an embodiment, performing the training phase may include training the NLC based on intent-specific training data, context-specific training data, or both. The intent- and context-specific training data may include as described with reference to step S206. In this embodiment, the training phase may be additionally performed based on the initial training data. Advantageously, performing the training phase based on the updated training data may enable a high degree of natural language understanding by the NLC. According to an embodiment of the present invention, the NLC may then be implemented, for example, by a chatbot or the like.

[0076] Figure 2B is a flow chart depicting operational steps of one aspect of interpretation management system 100 according to an embodiment of the present invention.

[0077] In step S210 , the data transceiver module 142 receives query data from the client application 112 .

[0078] In step S212 , the cognitive training data expansion module 144 determines a usefulness score regarding the query data.

[0079] In one embodiment of the present invention, a usefulness score may be determined for each expression of the extended training data TS'. In this embodiment, the usefulness score may be determined based on the accuracy or correctness of the classification of the expressed intent by the NLC. In this embodiment, the accuracy or correctness may be determined, for example, based on the end user's satisfaction with the classification, which may be indicated by user feedback and interaction. The expressed intent may be, for example, a user input request u i , which can be received from an end user of the client application 112. The user input request ui can be received from an end user of the chatbot. In this embodiment, the distance d(ui, text') can be calculated for each text in TS' k ) to determine a usefulness score. A specific distance value may then be implemented, for example, to determine a usefulness score that may be used to weight or increase the text in TS' (ie, text' k This can, for example, identify the most useful text in TS' over time. In this embodiment, the inner product of the vectors d(a, b) = Sum(a i *b i ) to define the distance d(ui,text') for each text in TS' k ).

[0080] In an embodiment of the present invention, the quality of the extended training set TS' may be measured and improved periodically or continuously based on the query data. In this embodiment, it may be determined which expressions of the extended training set reduce or improve the quality of the extended training set.

[0081] In an embodiment of the present invention, it may be determined that an expression of the extended training set degrades the quality of the extended training set based on whether the corresponding usefulness score falls below a predetermined threshold. In this embodiment, the expression may be deleted from the extended training set. In an embodiment, an expression from the query data may be generated and added to the extended training set, such as described with respect to steps S204, S206, and S208, in order to train the NLC.

[0082] Figure 3 1 is a block diagram depicting a client device 110 and / or an interpretation management device 130 according to an embodiment of the present invention. Figure 3As shown, the client device 110 and / or the interpretation management device 130 may include one or more processors 902, one or more computer-readable RAMs 904, one or more computer-readable ROMs 906, one or more computer-readable storage media 908, device drivers 912, read / write drivers or interfaces 914, and network adapters or interfaces 916, all interconnected by a communication structure 918. The network adapter 916 communicates with a network 930. The communication structure 918 may be implemented using any architecture designed to pass data and / or control information between processors (e.g., microprocessors, communication and network processors, etc.), system memory, peripheral devices, and any other hardware components in the system.

[0083] like Figure 1 As shown, one or more operating systems 910 and one or more application programs 911 (e.g., the interpretation management program 140 resident on the interpretation management device 130) are stored in one or more computer-readable storage media 908 for execution by one or more processors 902 through one or more corresponding RAMs 904 (typically including cache memories). In the illustrated embodiment, each computer-readable storage medium 908 may be a disk storage device of an internal hard drive, a CD-ROM, a DVD, a memory stick, a tape, a disk, an optical disk, a semiconductor storage device (e.g., RAM, ROM, EPROM, flash memory), or any other computer-readable tangible storage device that can store computer programs and digital information.

[0084] The client device 110 and / or the interpretation management device 130 may also include an R / W drive or interface 914 to read and write from one or more portable computer-readable storage media 926. Applications 911 on the client device 110 and / or the interpretation management device 130 may be stored on one or more of the portable computer-readable storage media 926, read via the corresponding R / W drive or interface 914 and loaded into the corresponding computer-readable storage medium 908. The client device 110 and / or the interpretation management device 130 may also include a network adapter or interface 916, such as a transmission control protocol (TCP) / Internet protocol (IP) adapter card or a wireless communication adapter (such as a 4G wireless communication adapter using orthogonal frequency division multiple access (OFDMA) technology). The application 911 may be downloaded from an external computer or external storage device to the computing device via a network (e.g., the Internet, a local area network or other wide area network or wireless network) and the network adapter or interface 916. The program may be loaded onto the computer-readable storage medium 908 from the network adapter or interface 916. The network may include copper wire, fiber optics, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The client device 110 and / or the interpretation management device 130 may also include a display screen 920, a keyboard or keypad 922, and a computer mouse or touchpad 924. The device driver 912 interfaces with the display screen 920 for imaging, and interfaces with the keyboard or keypad 922, the computer mouse or touchpad 924, and / or the display screen 920 for pressure sensing alphanumeric character input and user selection. The device driver 912, the R / W driver or interface 914, and the network adapter or interface 916 may include hardware and software (stored on the computer readable storage medium 908 and / or ROM 906).

[0085] The interpretation management device 130 can be a stand-alone network server or represent functionality integrated into one or more network systems. Typically, the client device 110 and / or the interpretation management device 130 can be a laptop computer, a desktop computer, a dedicated computer server, or any other computer system known in the art. In some embodiments, the interpretation management device 130 represents a computer system that utilizes clustered computers and components to act as a single seamless resource pool when accessed via a network such as a LAN, WAN, or a combination of both. This implementation may be preferred for data center and cloud computing applications. Typically, the client device 110 and / or the interpretation management device 130 can be any programmable electronic device or can be any combination of such devices.

[0086] The programs described herein are identified based on the applications for which they are implemented in specific embodiments of the invention. However, it should be understood that any specific program terminology herein is used for convenience only, and thus the invention should not be limited to use only in any specific application identified and / or implied by such terminology.

[0087] At any possible technical detail combination level, the present invention may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0088] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0089] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0090] The computer program instructions for performing the operation of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, integrated circuit configuration data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0091] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0092] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0093] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0094] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0095] First, it should be understood that although the present disclosure includes a detailed description about cloud computing, the implementation of the technical solutions recorded therein is not limited to a cloud computing environment, but can be implemented in combination with any other type of computing environment now known or later developed.

[0096] Cloud computing is a service delivery model for convenient, on-demand network access to a shared pool of configurable computing resources. Configurable computing resources are resources that can be quickly deployed and released with minimal management cost or interaction with the service provider, such as networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services. This cloud model can include at least five characteristics, at least three service models, and at least four deployment models.

[0097] Features include:

[0098] On-demand self-service: Cloud consumers can unilaterally and automatically deploy computing capabilities such as server time and network storage on demand without human interaction with the service provider.

[0099] Broad network access: Computing power can be accessed over the network through standard mechanisms that facilitate the use of the cloud through different types of thin-client or thick-client platforms (e.g., mobile phones, laptops, personal digital assistants (PDAs)).

[0100] Resource pool: The computing resources of the provider are grouped into resource pools and serve multiple consumers through a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated on demand. Generally, consumers cannot control or even know the exact location of the provided resources, but can specify the location (such as country, state or data center) at a higher level of abstraction, so it is location-independent.

[0101] Rapid elasticity: The ability to quickly and elastically (sometimes automatically) deploy computing power to scale up quickly, and quickly release it to scale down quickly. To consumers, the computing power available for deployment often appears to be unlimited, and any amount of computing power can be accessed at any time.

[0102] Measurable services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both service providers and consumers.

[0103] The service model is as follows:

[0104] Software as a Service (SaaS): The capability provided to consumers is to use the provider's applications running on a cloud infrastructure. Applications can be accessed from a variety of client devices through a thin client interface such as a web browser (e.g., web-based email). Aside from limited user-specific application configuration settings, consumers neither manage nor control the underlying cloud infrastructure including networks, servers, operating systems, storage, or even individual application capabilities.

[0105] Platform as a Service (PaaS): The capability provided to consumers is to deploy applications created or acquired by consumers on the cloud infrastructure, which are created using programming languages ​​and tools supported by the provider. Consumers neither manage nor control the underlying cloud infrastructure including networks, servers, operating systems or storage, but have control over the applications they deploy and may also have control over the configuration of the application hosting environment.

[0106] Infrastructure as a Service (IaaS): The capabilities provided to consumers are processing, storage, network, and other basic computing resources on which consumers can deploy and run arbitrary software including operating systems and applications. Consumers neither manage nor control the underlying cloud infrastructure, but have control over the operating system, storage, and applications they deploy, and may have limited control over selected network components (such as host firewalls).

[0107] The deployment model is as follows:

[0108] Private Cloud: Cloud infrastructure is run solely for an organization. The cloud infrastructure can be managed by the organization or a third party and can exist inside or outside the organization.

[0109] Community Cloud: A cloud infrastructure is shared by several organizations and supports a specific community with common interests (e.g., mission, security requirements, policies, and compliance considerations). A community cloud can be managed by multiple organizations within the community or by a third party and can exist inside or outside the community.

[0110] Public cloud: Cloud infrastructure is provided to the public or to large industry groups and is owned by an organization that sells cloud services.

[0111] Hybrid cloud: A cloud infrastructure consisting of two or more clouds (private, community or public) in a deployment model that remain distinct entities but are bound together by standardized or proprietary technologies (such as cloud burst sharing for load balancing between clouds) that enable data and application portability.

[0112] The cloud computing environment is service-oriented, with characteristics centered on statelessness, low coupling, modularity, and semantic interoperability. The core of cloud computing is the infrastructure that includes a network of interconnected nodes.

[0113] Reference now Figure 4 , in which an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 10 with which a local computing device used by a cloud computing consumer can communicate, and the local computing device can be, for example, a personal digital assistant (PDA) or a mobile phone 54A, a desktop computer 54B, a laptop computer 54C and / or an automobile computer system 54N. The cloud computing nodes 10 can communicate with each other. The cloud computing nodes 10 can be physically or virtually grouped in one or more networks including but not limited to private clouds, community clouds, public clouds or hybrid clouds, or a combination thereof as described above (not shown in the figure). In this way, cloud consumers can request infrastructure as a service (IaaS), platform as a service (PaaS) and / or software as a service (SaaS) provided by the cloud computing environment 50 without having to maintain resources on local computing devices. It should be understood that Figure 4The various types of computing devices 54A-N shown are merely illustrative, and the cloud computing node 10 and the cloud computing environment 50 may communicate with any type of computing device on any type of network and / or network-addressable connection (eg, using a web browser).

[0114] Reference now Figure 5 , which shows a cloud computing environment 50 ( Figure 4 ) provides a set of functional abstraction layers. First of all, it should be understood that Figure 5 The components, layers and functions shown are only exemplary, and the embodiments of the present invention are not limited thereto. As shown in the figure, the following layers and corresponding functions are provided:

[0115] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include: host 61; server 62 based on RISC (Reduced Instruction Set Computer) architecture; server 63; blade server 64; storage device 65; network and network components 66. Examples of software components include: network application server software 67 and database software 68.

[0116] The virtualization layer 70 provides an abstraction layer that can provide examples of the following virtual entities: virtual servers 71 , virtual storage 72 , virtual networks 73 (including virtual private networks), virtual applications and operating systems 74 , and virtual clients 75 .

[0117] In one example, the management layer 80 may provide the following functions: Resource provisioning function 81: providing dynamic acquisition of computing resources and other resources for performing tasks in a cloud computing environment; Metering and pricing function 82: tracking the cost of resource usage within the cloud computing environment and providing bills and invoices for this purpose. In one example, the resource may include an application software license. Security function: providing identity authentication for cloud consumers and tasks, and providing protection for data and other resources. User portal function 83: providing access to the cloud computing environment for consumers and system administrators. Service level management function 84: providing allocation and management of cloud computing resources to meet the required service levels. Service level agreement (SLA) planning and fulfillment function 85: providing pre-arrangement and provision for future demand for cloud computing resources predicted according to the SLA.

[0118] The workload layer 90 provides examples of functions that may be implemented by the cloud computing environment. In this layer, examples of workloads or functions that may be provided include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom teaching provision 93; data analysis processing 94; transaction processing 95; and interpretation management 96. Interpretation management 96 may include functions that enable the cloud computing environment to perform the steps of the disclosed method according to an embodiment of the present invention.

[0119] Although the present invention has been shown and described with reference to certain exemplary embodiments of the present invention, it will be appreciated by those skilled in the art that various changes in form and details may be made to the present invention as defined by the appended claims and their equivalents without departing from the spirit and scope of the present invention. Therefore, the present invention has been disclosed by way of example for purposes of illustration and not limitation.

Claims

1. A computer-implemented method for training a natural language classifier associated with a chat interface of a computer system, the method comprising: generating, based on a training data set including an initial set of expressions corresponding to intents, additional expressions corresponding to the intents; Detecting intent-specific training data based on the initial expression set and the additional expressions, wherein detecting the intent-specific training data comprises detecting intent-specific terms corresponding to the intent and generating a synonym set for the intent-specific terms; detecting context-specific training data, wherein detecting the context-specific training data comprises reducing a synonym set for the intent-specific term by including only synonyms used in the context of the intent used to generate the additional utterance; training the natural language classifier based on the initial set of expressions corresponding to the intent and the additional expressions and based on the intent-specific training data and the context-specific training data; and The intent of the detected query expression is determined by the trained natural language classifier based on the initial set of expressions on which the natural language classifier is trained and the additional expressions.

2. The computer-implemented method of claim 1 , further comprising: An intent-specific expression corresponding to the intent is detected, wherein the intent-specific expression includes terms having a canonical relationship with intent-specific terms of the training data set.

3. The computer-implemented method of claim 1 , further comprising: A context-specific expression corresponding to the intent is detected, wherein the context-specific expression includes terms in a combination relationship.

4. The computer-implemented method of claim 1 , further comprising: The initial set of expressions corresponding to the intent and additional expressed intent-specific and context-specific terms are detected.

5. The computer-implemented method of claim 1, wherein: Generating additional expressions corresponding to the intent includes parsing and tokenizing terms of the initial set of expressions corresponding to the intent.

6. The computer-implemented method of claim 5, wherein: Parsing and tokenizing the terms of the initial expression set corresponding to the intent includes: performing part-of-speech tagging on the terms of the initial expression set corresponding to the intent.

7. The computer-implemented method of claim 1 , further comprising: Determining a usefulness score of the generated expression of the additional expression corresponding to the intent, wherein the usefulness score is determined based on user feedback for a corresponding user input request.

8. A computer system for training a natural language classifier associated with a chat interface of a computer system, the computer system comprising: One or more computer processors, one or more computer-readable storage media, and program instructions stored on the one or more computer-readable storage media for execution by at least one of the one or more computer processors, the program instructions, when executed by at least one of the one or more computer processors, causing the computer system to perform a method comprising: generating, based on a training data set including an initial set of expressions corresponding to an intent, additional expressions corresponding to the intent, wherein the additional expressions are generated based on the initial set of expressions corresponding to the intent; Detecting intent-specific training data based on the initial expression set and the additional expressions, wherein detecting the intent-specific training data comprises detecting intent-specific terms corresponding to the intent and generating a synonym set for the intent-specific terms; detecting context-specific training data, wherein detecting the context-specific training data comprises reducing a synonym set for the intent-specific term by including only synonyms used in the context of the intent used to generate the additional utterance; training the natural language classifier based on the initial set of expressions corresponding to the intent and the additional expressions and based on the intent-specific training data and the context-specific training data; and The intent of the detected query expression is determined by the trained natural language classifier based on the initial set of expressions on which the natural language classifier is trained and the additional expressions.

9. The computer system of claim 8, further comprising: An intent-specific expression corresponding to the intent is detected, wherein the intent-specific expression includes terms having a canonical relationship with intent-specific terms of the training data set.

10. The computer system of claim 8, further comprising: A context-specific expression corresponding to the intent is detected, wherein the context-specific expression includes terms in a combination relationship.

11. The computer system of claim 8, further comprising: The initial set of expressions corresponding to the intent and additional expressed intent-specific and context-specific terms are detected.

12. The computer system of claim 8, wherein: Generating additional expressions corresponding to the intent includes parsing and tokenizing terms of the initial set of expressions corresponding to the intent.

13. The computer system of claim 12, wherein: Parsing and tokenizing the terms of the initial expression set corresponding to the intent includes: performing part-of-speech tagging on the terms of the initial expression set corresponding to the intent.

14. The computer system of claim 8, further comprising: Determining a usefulness score of the generated expression of the additional expression corresponding to the intent, wherein the usefulness score is determined based on user feedback for a corresponding user input request.

15. A computer program product for training a natural language classifier associated with a chat interface of a computer system, the computer program product comprising: One or more computer readable storage devices and program instructions stored on at least one of the one or more computer readable storage devices for execution by at least one or more computer processors of a computer system, the program instructions, when executed by at least one of the one or more computer processors, causing the computer system to perform a method comprising: generating, based on a training data set including an initial set of expressions corresponding to intents, additional expressions corresponding to the intents; Detecting intent-specific training data based on the initial expression set and the additional expressions, wherein detecting the intent-specific training data comprises detecting intent-specific terms corresponding to the intent and generating a synonym set for the intent-specific terms; detecting context-specific training data, wherein detecting the context-specific training data comprises reducing a synonym set for the intent-specific term by including only synonyms used in the context of the intent used to generate the additional utterance; training the natural language classifier based on the initial set of expressions corresponding to the intent and the additional expressions and based on the intent-specific training data and the context-specific training data; and The intent of the detected query expression is determined by the trained natural language classifier based on the initial set of expressions on which the natural language classifier is trained and the additional expressions.

16. The computer program product of claim 15, further comprising: An intent-specific expression corresponding to the intent is detected, wherein the intent-specific expression includes terms having a canonical relationship with intent-specific terms of the training data set.

17. The computer program product of claim 15, further comprising: A context-specific expression corresponding to the intent is detected, wherein the context-specific expression includes terms in a combination relationship.

18. The computer program product of claim 15, further comprising: The initial set of expressions corresponding to the intent and additional expressed intent-specific and context-specific terms are detected.

19. The computer program product of claim 15, wherein: Generating additional expressions corresponding to the intent includes parsing and tokenizing terms of the initial set of expressions corresponding to the intent.

20. The computer program product of claim 19, wherein: Parsing and tokenizing the terms of the initial expression set corresponding to the intent includes: performing part-of-speech tagging on the terms of the initial expression set corresponding to the intent.

Citation Information

Patent Citations

  • Natural language intention understanding method in man-machine interaction

    CN105786798A

  • Creating coordinated multi-chatbots using natural dialogues by means of knowledge base

    US20180025726A1