Method, system, and program for searching conversation logs of virtual agent dialogue system
The AI-driven analysis of chatbot interaction logs improves chatbot performance by clustering traces and applying pattern specifications, addressing inefficiencies in user interaction handling and enhancing user experience.
Patent Information
- Application Number
- JP2022541601
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-01-15
- Filing Date
- 2020-12-17
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2040-12-17
AI Technical Summary
Existing chatbot systems struggle with inefficient performance due to inaccurate natural language processing and difficulty in identifying and adapting to changes in user interactions, leading to suboptimal user experiences.
A system that utilizes an AI platform to analyze conversation logs, parse interaction events, cluster traces based on behavioral characteristics, and apply pattern specifications to improve chatbot performance by identifying successful and unsuccessful interactions, refining the chatbot's responses.
Enhances chatbot performance by improving interaction accuracy and adaptability, reducing failures, and enhancing user experience through targeted modifications based on interaction analysis.
Smart Images

Figure 0007575843000001 
Figure 0007575843000002 
Figure 0007575843000003
Abstract
Description
[Technical field]
[0001] The present embodiments relate to a virtual dialogue agent system that employs an automated virtual dialogue agent, such as a "chatbot," and related computer program products and computer-implemented methods. In certain example embodiments, conversation log files from the system are used to improve the performance of the automated virtual dialogue agent. [Background technology]
[0002] A chatbot is a computer program that uses artificial intelligence (AI) as a platform to conduct transactions between an automated virtual conversational agent and a user, usually a consumer. The transactions may include product sales, customer service, information retrieval, or other types of transactions. Chatbots often interact with users through either written (e.g., online or via text) or audible (e.g., over the telephone) interactions. Summary of the Invention
[0003] Embodiments include systems, computer program products, and methods for improving the performance of a dialogue system, and in certain embodiments, the improvement is directed to the performance of an automated virtual dialogue agent of the system.
[0004] In one aspect, a system is provided for use with a computer system including a processing unit (e.g., a processor) and an artificial intelligence (AI) platform, the processing unit operatively coupled to a memory for receiving a plurality of conversation log files relating to interactions with an automated virtual dialogue agent of the dialogue system, each of the conversation log files including a trace of one or more dialogue events. The AI platform includes a trace manager in communication with the processing unit for parsing dialogue events of a trace of a conversation log file into a plurality of parsed events, extracting respective behavioral characteristics from the trace, and assigning each behavioral characteristic value to the trace; a cluster manager operatively coupled to the trace manager for clustering the trace into a plurality of clusters based on a proximity of each behavioral characteristic value of the trace to a respective outcome value, the plurality of clusters including a first cluster of traces having respective behavioral characteristic values closest to a first outcome value representing a first outcome, and a second cluster of traces having respective behavioral characteristic values closest to a second outcome value representing a second outcome different from the first outcome; and a search manager operatively coupled to the cluster manager for searching the plurality of parsed events for a contrast pattern, the search manager applying a pattern specification with a time condition to at least one parsed event of the plurality of parsed events, the search manager determining whether the contrast pattern is greater than or equal to a contrast threshold for the at least one parsed event. threshold), where the contrast pattern is based on a first proportion of traces in the first cluster to which the pattern specification applies and a second proportion of traces in the second cluster to which the pattern specification does not apply. Output from the AI platform is applied to an automated virtual dialogue agent with respect to dialogue events corresponding to the at least one parsed event to improve performance of the dialogue system.
[0005] In another aspect, a computer program product is provided for improving performance of a virtual dialogue agent system. The computer program product comprises a computer readable storage medium having program code embodied thereon. The program code is executable by a processor and includes receiving a plurality of conversation log files associated with interactions with an automated virtual dialogue agent of a dialogue system, the conversation log files including each trace including one or more dialogue events; applying the received conversation log files to an artificial intelligence (AI) platform including a learning program to parse the dialogue events of the traces of the conversation log files into a plurality of parsed events; extracting each behavioral characteristic from the traces and assigning each behavioral characteristic value to the traces; and clustering the traces into a plurality of clusters based on a proximity of each behavioral characteristic value of the traces to a respective outcome value, the plurality of clusters being closest to a first outcome value representing a first outcome. and a second cluster of traces having respective behavioral characteristic values closest to a second outcome value representing a second outcome different from the first outcome; searching the plurality of parsed events for a contrast pattern, the searching including applying a pattern specification with a time condition to at least one parsed event of the plurality of parsed events; and determining, for the at least one parsed event, whether the contrast pattern satisfies a contrast threshold, the contrast pattern being based on a first proportion of traces in the first cluster for which the pattern specification applies and a second proportion of traces in the second cluster for which the pattern specification does not apply. Output from the AI platform is applied to an automated virtual dialogue agent with respect to dialogue events corresponding to the at least one parsed event to improve performance of the dialogue system.
[0006] In yet another aspect, a computer-implemented method for improving performance of a dialogue system is provided, the method including receiving, by a processor of a computing device, a plurality of conversation log files associated with interactions of the dialogue system with an automated virtual dialogue agent, the conversation log files including each trace including one or more dialogue events, and applying, by the processor, the received conversation log files to an artificial intelligence (AI) platform including a learning program. The applying includes parsing dialogue events of the trace of the conversation log file into a plurality of parsed events; extracting behavioral characteristics from the trace and assigning each behavioral characteristic value to the trace; clustering the trace into a plurality of clusters based on a proximity of each behavioral characteristic value of the trace to each outcome value, wherein the plurality of clusters includes a first cluster of traces having each behavioral characteristic value closest to a first outcome value representing a first outcome and a second cluster of traces having each behavioral characteristic value closest to a second outcome value representing a second outcome different from the first outcome; searching the plurality of parsed events for a contrast pattern, wherein the searching includes applying a pattern specification with a time condition to at least one parsed event of the plurality of parsed events; and determining, for the at least one parsed event, whether the contrast pattern satisfies a contrast threshold, wherein the contrast pattern is based on a first proportion of traces in the first cluster for which the pattern specification applies and a second proportion of traces in the second cluster for which the pattern specification does not apply. The method further includes refining the automated virtual dialogue agent with respect to dialogue events corresponding to the at least one parsed event to improve performance of the dialogue system.
[0007] These and other features and advantages will become apparent from the following detailed description of the exemplary embodiments taken in conjunction with the accompanying drawings.
[0008] The drawings referenced in this specification form a part of the specification and are incorporated herein by reference. Features shown in the drawings are intended to be illustrative of only some embodiments and not all embodiments, unless expressly stated otherwise. [Brief description of the drawings]
[0009] [Figure 1] This is a system diagram showing an artificial intelligence platform computing system in a network environment. [Diagram 2] FIG. 2 is a block diagram showing the tools of the artificial intelligence platform shown and described in FIG. 1 and their associated application program interfaces. [Diagram 3] 1 is a flow chart illustrating an embodiment of a method for clustering traces of an interaction log. [Figure 4] 1 is a flow chart illustrating an embodiment of a method for searching clustered traces. [Diagram 5] 1 is a flow chart illustrating an embodiment of a method for determining whether a contrast threshold has been met. [Figure 6] FIG. 6 is a block diagram illustrating an example of a computer system / server of a cloud-based support system for implementing the systems and processes described above with respect to FIGS. 1-5. [Figure 7] FIG. 1 is a block diagram illustrating a cloud computing environment. [Figure 8] FIG. 1 is a block diagram illustrating a series of functional abstraction model layers provided by a cloud computing environment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] It will be readily understood that the components of the present embodiments, as generally described and illustrated in the Figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the present apparatus, system, method and computer program product embodiments as illustrated in the Figures is not intended to limit the scope of the claimed embodiments, but is merely representative of selected embodiments.
[0011] Throughout this specification, references to "selected embodiments," "one embodiment," or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with an embodiment is included in at least one embodiment. Thus, the phrases "selected embodiments," "in one embodiment," or "in an embodiment" appearing in various places throughout this specification are not necessarily referring to the same embodiment.
[0012] The illustrated embodiments will be best understood by reference to the drawings, in which like parts are designated by like numerals throughout. The following description is intended to be merely exemplary and merely illustrates certain selected embodiments of devices, systems and processes consistent with the embodiments claimed herein.
[0013] In the field of artificial intelligence computer systems, natural language systems (such as IBM Watson(TM) artificial intelligence computer system and / or other natural language systems) process natural language based on knowledge acquired by the system. To process natural language, the system is trained using data obtained from a database or corpus of knowledge, but the results obtained may be incorrect or inaccurate for various reasons.
[0014] Machine learning (ML), a subset of artificial intelligence (AI), utilizes algorithms to learn from data and create predictions based on this data. AI refers to intelligence when a machine is able to make informed decisions that maximize the chances of success in a particular subject. More specifically, AI can learn from a data set to solve problems and provide appropriate recommendations. Cognitive computing is a mix of computer science and cognitive science. Cognitive computing utilizes self-learning algorithms to solve problems and optimize human processes using minimal data, visual recognition, and natural language processing.
[0015] At the heart of AI and related reasoning is the concept of similarity. The process of understanding natural language and objects requires reasoning in terms of relationships, which can be difficult. The structures, including static and dynamic structures, dictate a determined output or behavior for a particular, limited input. More specifically, the determined output or behavior is based on well-defined or inherent relationships within the structures. This configuration may be sufficient for selected environments and conditions. However, it is understood that the dynamic structures are inherently subject to change, and, correspondingly, the output or behavior may be subject to change. Existing solutions for efficiently identifying objects, understanding natural language, and processing content in response to this identification and understanding, as well as changes to the structures, are extremely challenging at a practical level.
[0016] A chatbot is an artificial intelligence (AI) program that simulates two-way human conversation by using pre-computed phrases and auditory or text-based signals. Chatbots are increasingly being used in electronic platforms for customer service support. In one embodiment, a chatbot may function as an intelligent virtual agent. Each chatbot experience consists of a series of communications consisting of user actions and dialogue system actions, which experiences contain characteristic behavioral patterns. It is understood in the art that chatbot interactions may be evaluated and undergo diagnostics to identify elements of the chatbot that may warrant modification to improve future chatbot experiences. Such evaluation identifies patterns of behavior. By learning these patterns, and more particularly, by identifying distinct characteristics of the patterns, the chatbot program may be refined or modified to improve the chatbot's metrics and future chatbot experiences.
[0017] One aspect of chatbot evaluation is to study the underlying interactions to identify how a set of interactions differ in behavior. An interaction consists of a series of communications, and a trace (e.g., a trace) of the interactions characterizes the interaction. In one embodiment, the interactions are clustered based on these traces. The study generates corresponding explanations by discovering logical specifications that involve one set of interactions but not another set of interactions. In one embodiment, the study may detect anomalies in the chatbot platform that can be corrected or improved. Thus, the systems, computer program products, and methods described in detail herein with the corresponding drawings focus on explaining the differences between multiple interactions and refining the interaction program code to mitigate chatbot platform failures and improve the interaction experience.
[0018] Referring to FIG. 1, a schematic diagram of an artificial intelligence (AI) platform and corresponding system (100) is shown. As shown in the figure, a server (110) is provided in communication with a number of computing devices (180), (182), (184), (186), (188), and (190) via a network connection (e.g., a computer network (105)). The server (110) is configured using a processing unit (e.g., a processor) in communication with a memory via a bus. The server (110) is shown with an AI platform (150), a knowledge base (170) operably coupled to a dialogue system (160) (herein shown with a virtual dialogue agent (162) as a chatbot). A visual display (130), such as a computer screen or a smartphone, is provided to allow a user to interface with a representation of the virtual agent (e.g., a chatbot (132) on the display (130)). Although a visual display is shown in FIG. 1, it should be understood that the display (130) may be replaced or supplemented by other interfaces, such as an audio interface (e.g., a microphone and speaker), an audio-video interface, etc.
[0019] The AI platform (150) is operatively coupled to the network (105) to support interaction with the virtual conversational agent (162) from one or more of the computing devices (180), (182), (184), (186), (188), and (190). More specifically, the computing devices (180), (182), (184), (186), and (188) communicate with each other and with other devices or components via one or more wired and / or wireless data communication links, each communication link may include one or more of wires, routers, switches, transmitters, receivers, and the like. In this network configuration, the server (110) and network connections (105) enable detection, recognition, and resolution of communications. Other embodiments of the server (110) may be used with components, systems, subsystems, or devices, or combinations thereof, other than those shown herein.
[0020] The AI platform (150) is shown herein operatively coupled to a dialogue system (160) and configured to receive input (102) from a variety of sources. For example, the dialogue system (160) may receive input via a network (105) and leverage a data source (170) (also referred to herein as a knowledge base or corpus of information) to generate output or response content.
[0021] As shown in the figure, the data source (170) is a library (172) of conversation log files (also called transcripts). A), with each log file recording an interaction with a virtual conversation agent. According to an example embodiment, each conversation log (e.g., log file) is a record of a (past) trace from a chatbot, including interactions within the electronic platform between a user and a virtual agent. A trace includes one or more interaction events (also referred to as state variables). As an example, in the context of a chatbot platform for booking vacations, an interaction event or state variable may include a field such as date and time of departure, and an instantiation of a state variable may be information or data entered by a user regarding the date and time of departure. Other state variables of such a chatbot may include date and time of return, destination, vehicle rental, hotel reservation, etc.
[0022] As provided herein, the first library A (172) is the log file 0 (174 A,0 ) and log file 1 (174 A,1 ) containing multiple log files. Although only two log files are shown, this number should not be considered a limitation. In fact, the library (172 A It is contemplated that a log file 0 (174) may contain hundreds or thousands of log files. A,0 ) and log file 1 (174 A,1 ) is used herein as trace 0 (176 A,0 ) and trace 1 (176 A,1 ) along with the corresponding traces, each of which is denoted as a behavior characteristic value (BCV) and one or more interaction events (including instantiations of state variables). For example, trace 0 (176 A,0 ) and trace 1 (176 A,1 ) are the corresponding behavior characteristic values BCV0(176 A,0,B ) and BCV1(176 A,1,B In Figure 1, trace 0 (176 A,0 ) has 0 dialogue events (178A,0 ) and trace 1 (176 A,1 ) dialogue event 1 (178 A,1 ) The automated virtual dialogue agent (162) may pose each of the state variables as a query to the user, and the user provides a response in the form of an instantiation of the state variable.
[0023] As further shown in FIG. 1, the data source (170) may include a second library B (172 B ) and a third library C (172 C ) The data source (170) is composed of three libraries (172 A , 172 B , and 172 C ), it should be understood that the libraries may be combined or divided into any number of libraries and that additional libraries may be accessed. For example, the library B (172 B ) and libraries C (172 C ) may be combined into a single library. Alternatively, the libraries B (172 B ) and libraries C (172 C ) may contain multiple libraries. B (172 B ) contains multiple files, each of which contains a pattern specification and, optionally, a weighted value (WV) associated with the pattern specification. As shown in the figure, the library B (172 B ) is the associated weight WV B,0 (176 B,0 ) with pattern specification 0(174 B,0 ), related WV B,1 (176 B,1 ) with pattern specification 1 (174 B,1 ), and related WVB,N (176 B,N ) with a pattern specification N (174 B,N ) As shown in the figure, the library C (172 C ) contains multiple files containing variable specifications and, optionally, weights (WN) associated with the variable specifications. As shown in the figure, the library C (172 C ) is related to the WV C,0 (176 C,0 ) with variable specification 0(174 C,0 ), related WV C,1 (176 C,1 ) with variable specification 1 (174 C,1 ), and related WV C,N (176 C,N ) with variable specification N (174 C,N ) is shown with three files, B (172 B ) and libraries C (172 C ) may each contain fewer files or more files, including tens, hundreds, or thousands of files.
[0024] Library B (172 B ) file pattern specification (for example, pattern specification 0(174 B,0 ), Pattern Specification 1(174 B,1 ), pattern specifications N (174 B,N )) may involve time conditions, for example using temporal logic. In the example embodiment, the library B (172 B ) Pattern Specifications (174) B,0 , 174 B,1 , ...174 B,N), linear temporal logic (LTL) is used. For example, an LTL may be a condition that always holds throughout the trace of a conversation, a condition that follows or is preceded by another condition, or other examples of LTL. C (172 C ) file variable specification (174 C,0 , 174 C,1 , ...174 C,N ) may contain fields of information (or state variables) that are typically involved in an interaction or transaction with a virtual agent such as a chatbot. B (172 B ) and libraries C (172 C The weighting values (WV) of the files are arbitrary. In example embodiments, different weighting values are assigned to different pattern specifications and variable specifications depending on the perceived importance of the associated pattern specification or variable specification. In example embodiments, weighting values range from 0 to 1, including any multiple of tenths and / or hundredths therebetween.
[0025] Various computing devices (180), (182), (184), (186), (188), and (190) in communication with the network (105) may include access points to the dialogue system (160). The network (105) may include local network connections and remote connections in various embodiments so that the AI platform (150) may operate in environments of any size, including local and global (e.g., the Internet). Additionally, the AI platform (150) acts as a back-end system that may make available various knowledge extracted from or represented in documents, network-accessible sources, and / or structured data sources. In this manner, any process may add data to the AI platform (150), which also includes an input interface to receive requests and respond accordingly.
[0026] As shown in the figure, the content may be in the form of one or more log files (used interchangeably with "records") operably coupled to the AI platform (150) via a knowledge base (170). A user of the content may access the AI platform (150) and the operably coupled dialogue system (160) via a network or internet connection to the network (105) and may submit natural language input to the AI platform (150), which may effectively determine an output response associated with the input by leveraging the knowledge base (170) and the tools that comprise the AI platform (150).
[0027] The AI platform (150) is shown herein with a number of tools to support a dialogue system (160) and a corresponding virtual agent (e.g., a chatbot) (162), and more particularly with tools aimed at improving the performance of the dialogue system (160) and the virtual agent (162) experience. The AI platform (150) uses a number of tools to interface with the virtual agent (162) and support improving its performance. These tools include a trace manager (152), a cluster manager (154), a sampling manager (156), a search manager (158), and an output manager (164).
[0028] The trace manager (152) parses the dialogue events of the traces of the conversation log file into a number of parsed events, each of which contains an instantiation of a state variable. The trace manager (152) further extracts behavioral characteristics from the traces and assigns each behavioral characteristic value to each of the traces. As shown herein, trace 0 (176 A,0 ) corresponds to the behavior characteristic value (BCV0) (176 A,0,B ) and trace 1 (176 A,1 ) corresponds to the behavior characteristic value (BCV1) (176 A,1,B ) are shown.
[0029] The cluster manager (154) clusters the traces into a number of clusters (or groups) based on the proximity of each behavioral characteristic value of the trace to each outcome value. The number of clusters includes a first cluster associated with a first outcome value representing a first outcome and a second cluster associated with a second outcome value representing a second outcome different (and optionally opposite) from the first outcome. The first and second outcomes may be, for example, successful completion of the interaction and failure to complete the interaction, respectively. The traces clustered in the first cluster have their respective behavioral characteristic values closest (e.g., identical) to the first outcome value, while the traces clustered in the second cluster have their respective behavioral characteristic values closest (e.g., identical) to the second outcome value. For example, in the case of a chatbot used to book holidays, the first outcome value may represent an outcome in which the holiday booking was successful (behavior characteristic value equal to 0), while the second outcome value may represent an outcome in which the holiday booking was not successful (behavior characteristic value equal to 1). In the example embodiment, the first and second outcome values are 0 and 1. While the above example includes two outcomes, it should be understood that embodiments include more than two outcomes, such as a third outcome where destination accommodations (e.g., a resort) are successfully booked but the travel (e.g., a flight) is not booked.
[0030] According to an embodiment, the sampling manager (156) selects a subset of traces of the first cluster and a subset of traces from the second cluster for further processing. The sampling manager (156) is particularly useful when traces from multiple conversation log files are clustered. The sampling manager (156) may sample using any sampling technique, including random sampling. Sampling managers are known in the art and will not be described in further detail.
[0031] The search manager (158) searches the parsed events (or state variables) of the sampled trace. In an example embodiment, the search manager (158) includes a priority module (158).A ) and contrast checker (158 B ) Priority module (158 A ) is a library B (172 B ) to access the pattern specifications and associated weightings (e.g., associated WV B,0 (176 B,0 ) with pattern specification 0(174 B,0 )) and select Libraries C (172 C ) to view the variable specifications and associated weights (e.g., associated WV C,0 (176 C,0 ) with variable specification 0(174 C,0 )) in the Search Manager (158) A ) applies the selected pattern specification with the time condition and the selected variable specification to the parsed events of the sample traces of the first cluster to determine a first proportion of the sample traces of the first cluster in which the parsed events corresponding to the selected variable specification satisfy the time condition of the selected pattern specification. A ) further applies the same selected pattern specification and the same selected variable specification with the same time condition to the parsed events of the sample traces of the second cluster and determines a second proportion of the sample traces of the second cluster in which the parsed events corresponding to the selected variable specification do not satisfy the time condition of the selected pattern specification.
[0032] Search Manager (158) Contrast Checker (158 B) determines whether a contrast threshold, which may be a value between 0 and 1, and optionally any multiple of tenths or hundredths therebetween, has been met based on the first ratio of traces of the first cluster and the second ratio of traces of the second cluster. Determining satisfaction of the contrast threshold, according to an example embodiment, includes multiplying the first ratio and the second ratio to calculate a product and evaluating whether the calculated product is equal to or greater than the contrast threshold. If one or more weighting values are considered, determining satisfaction of the contrast threshold, according to another example embodiment, includes multiplying the first ratio, the second ratio, and the weighting value to calculate a weighted product and evaluating whether the calculated weighted product is equal to or greater than the contrast threshold.
[0033] An output manager (164), according to an example embodiment, provides output (164) for readout on a visual display (130). A ). According to another embodiment, the output manager (164) automatically refines the dialogue system (160), and in an example embodiment, the automated virtual dialogue agent (162) of the dialogue system (160), with respect to the variable specifications used for searching with the search manager (158). According to an embodiment, refining the dialogue system includes selectively imposing checkpoints in the dialogue with respect to the variable specifications used for searching with the search manager (158). According to another embodiment, refining the dialogue system (160) includes modifying the query posed by the virtual agent (162). This refinement can be performed automatically by the output manager (164) or may be performed by a programmer.
[0034] When a log file (record) is received, the trace manager (152) can parse the interaction events of the corresponding trace of the received log file using various protocols, including identifying content within the trace based on relationships between nouns, such as words, phrases, signs, and symbols, and what the nouns represent (explicit or implied meaning). The trace manager (152) is depicted herein as a tool embedded within the artificial intelligence platform (150) and, according to an embodiment, utilizes natural language processing protocols.
[0035] The received log file traces may be processed by an IBM Watson® server (110) and corresponding artificial intelligence platform (150). As shown herein, the trace manager (152) performs analysis on the language of the trace using various inference algorithms. There are likely hundreds or thousands of inference algorithms applied, each of which performs a different analysis (e.g., comparison). For example, some inference algorithms may look for matches of terms and synonyms in the language of the received trace and the discovered portion of the corpus of data. In one embodiment, the trace manager (154) processes the electronic communication into a word vector representation to identify and extract features within the communication. Whether through the use of word vector representations or an alternative platform for processing electronic records, the NL manager (152) processes the electronic record in an attempt to identify parsed event and behavioral characteristics of the trace. In one embodiment, the platform identifies grammatical components, such as nouns, verbs, adjectives, punctuation, and so on, within the electronic record. Similarly, in one embodiment, one or more inference algorithms may examine temporal or spatial features within the language of the electronic record.
[0036] In some example embodiments, the server (110) may be an IBM Watson® system available from International Business Machines Corporation (Armonk, NY), which has been extended using the mechanisms of example embodiments described below.
[0037] The sampling manager (156) includes sampling the traces from the formed clusters. The sampling may be random or may include any sampling technique, including sampling techniques known in the art. In an embodiment, a first selected number of sample traces are assigned to a first cluster and a second selected number of sample traces are assigned to a second cluster (cluster 1).
[0038] The Search Manager (158) evaluates whether the information utilized from the cluster formation and evaluation meets a contrast threshold. B ) is operative to multiply the proportions of the first and second clusters together to provide a product value. B ) multiplies the product value by one or more weighting factors to determine the weighted product. According to an embodiment, each of the weighting factors is in the range of 0 to 1, including all tenths or hundredths of a percent therebetween. According to an embodiment, the weighting factors are weighting factors of the pattern specifications, e.g., based on the importance assigned to the pattern specifications. According to another embodiment, the weighting factors are weighting factors of the variable specifications, e.g., based on the importance assigned to the variable specifications. For example, a variable specification related to the satisfaction of the departure date may have a high importance to the programmer and therefore may be assigned a weighting value closer to 1, and a variable specification related to the satisfaction of the vehicle rental may have a low importance and therefore may be assigned a weighting value closer to 0. In one embodiment, the application of weights to the pattern specifications and / or variable specifications may be omitted or set to 1. Similarly, in one embodiment, the values of the weights may be configurable.
[0039] A contrast threshold is assigned. Optionally, a contrast checker (158 B ) assigns the contrast threshold, but the contrast threshold may be assigned by a programmer. In an example embodiment, the contrast threshold is a value in the range 0 to 1, including any increment within that range (e.g., tenths, hundredths, etc.). The contrast checker (158) of the search manager (158) B ) determines whether the weighted product meets (eg, is greater than or equal to) a contrast threshold.
[0040] If the weighted product satisfies the contrast threshold, the output manager (164) creates an output corresponding to an improvement to the virtual agent in relation to the parsed event to improve the performance of the dialogue system. On the other hand, if the weighted product does not satisfy the contrast threshold, the AI platform (150) or programmer may select various steps to continue, including, for example, assigning a new contrast threshold and returning to steps (412) and (432), selecting another pattern specification and / or variable specification, and terminating the process.
[0041] The trace manager (152), cluster manager (154), sampling manager (156), search manager (158), and output manager (164), hereinafter collectively referred to as the AI tools, are shown as embodied or integrated within the artificial intelligence platform (150) of the server (110). The AI tools may be implemented within another computing system (e.g., 190) connected to the server (110) via the network (105). Wherever embodied, the AI tools function to evaluate the interaction log records, parse interaction events of the traces of the interaction log records into parsed events, extract behavioral characteristics from the traces and assign values to the behavioral characteristics, cluster the traces, sample the clustered traces, and determine whether a contrast threshold is met with respect to the sampled traces.
[0042] In selected example embodiments, the trace manager (152) may be configured to apply NL processing to identify behavioral characteristics of the received interaction log record trace. For example, the trace manager (152) may perform syntactic analysis, which involves parsing the target sentence to indicate grammatical terms and parts of the utterance. In one embodiment, the trace manager (152) may perform the syntactic analysis using a Slot Grammar Logic (SGL) parser. The trace manager (152) may be configured to apply one or more learning methods to match the detected content with known content to determine and assign values to the behavioral characteristics.
[0043] The types of information processing systems that can utilize the artificial intelligence platform (150) range from small handheld devices, such as handheld computers / cell phones (180), to large mainframe systems, such as mainframe computers (182). Examples of handheld computers (180) include personal digital assistants (PDAs), personal entertainment devices (MP4 players, portable televisions, and compact disc players). Other examples of information processing systems include pen or tablet computers (184), laptop or notebook computers (186), personal computer systems (188), and servers (190). As shown in the figure, various information processing systems can be networked together using a computer network (105). Types of computer networks (105) that can be used to interconnect various information handling systems include Local Area Networks (LANs), Wireless Local Area Networks (WLANs), the Internet, the Public Switched Telephone Network (PSTN), other wireless networks, and any other network topology that can be used to interconnect information handling systems. Many information handling systems include a non-volatile data store, such as a hard drive or non-volatile memory, or both. Some of the information handling systems may use a separate non-volatile data store (e.g., a server (190) may use a non-volatile data store (190)). A ), and the mainframe computer (182) uses a non-volatile data store (182 A )) Non-volatile data store (182 A) may be a component external to the various information processing systems or may be internal to one of the information processing systems.
[0044] The information processing system employed to support the artificial intelligence platform (150) may take a variety of forms, some of which are illustrated in FIG. 1. For example, the information processing system may take the form of a desktop, server, portable, laptop, notebook, or other form factor computer or data processing system. In addition, the information processing system may select other form factors, such as a personal digital assistant (PAD), gaming device, ATM machine, mobile phone device, communication device, or other device that includes a processor and memory. In addition, the information processing system need not necessarily embody a north bridge / south bridge controller architecture, as it is understood that other architectures may be employed.
[0045] An application program interface (API) is understood in the art as intermediate software between two or more applications. With respect to the artificial intelligence platform (150) shown and described in FIG. 1, one or more APIs may be utilized to support one or more of the tools (152), (154), (156), (158), and (164) and their associated functions. With reference to FIG. 2, a block diagram (200) is provided illustrating the tools (152), (154), (156), (158), and (164) and their associated APIs. As shown in the figure, multiple tools are incorporated within the AI platform (205), including a trace manager (252) associated with API0 (212), a cluster manager (254) associated with API1 (222), a sampling manager (256) associated with API2 (232), a search manager (258) associated with API3 (242), and an output manager (264) associated with API4 (262). Each of the APIs may be implemented in one or more languages and interface specifications. API0 (212) provides functional support for parsing interaction events of a trace to determine behavioral characteristics of the trace, API1 (222) provides functional support for clustering the trace, API2 (232) provides functional support for sampling the trace, API3 (242) provides functional support for searching (e.g., exploring) the parsed events, and API4 (262) provides functional support for output, including refining the interaction system. As shown in the figure, each of the APIs (212), (222), (232), (242), and (262) is operatively coupled to an API orchestrator (260) (also referred to as an orchestration layer), which is understood in the art to act as an abstraction layer for transparently connecting separate APIs.In embodiments, the functionality of separate APs may be combined or combined. As such, the configuration of APIs shown herein should not be considered limiting. Thus, the functionality of tools may be embodied or supported by those APIs as shown herein.
[0046] Referring to FIG. 3, a flow chart (300) is provided illustrating a process for processing conversation log files (also referred to herein as records) of a dialogue system, such as a chatbot platform, and subjecting the corresponding traces to a clustering process. As shown in the figure, input in the form of conversation log files is received for processing (302). The conversation log files may relate to various types of transactions, interactions, and activities, including, for example, product sales, service purchases, customer service, information acquisition, and the like. According to an example embodiment, each conversation log file is a record of traces from a chatbot, including interactions within an electronic platform between a user and a virtual agent. The records may be in various forms, such as text, voice, video, audio-video, and the like.
[0047] A trace includes one or more dialogue events (also called instantiations (or values) of state variables). As an example, in the context of a chatbot platform for booking vacations, the state variables may be fields such as departure date and time, return date and time, destination, hotel stay, vehicle (e.g., car) rental, etc. A trace includes dialogue events (or instantiations of state variables) that represent information or data entered by a user regarding departure date and time, return date and time, destination, hotel stay, vehicle rental, etc. For example, an automated virtual dialogue agent may pose each of the state variables as a query to a user, and the user provides a response or instantiation.
[0048] The conversation logs are subject to processing by an artificial intelligence (AI) platform (such as AI platform (150) of FIG. 1) to facilitate and enable clustering of the logs. More specifically, according to example embodiments, the AI platform parses (304) the dialogue events (or instantiations of state variables) of traces of the conversation log file into parsed events, extracts (304) behavioral characteristics from the traces (e.g., from the parsed events (304) or from the traces as a whole), and assigns (306) behavioral characteristic values to each of the traces. According to embodiments, the behavioral characteristics are the successful completion (or failure to complete) of a transaction, interaction, or other activity.
[0049] The AI platform further subjects the traces to a clustering process (308) based on the proximity of the behavioral characteristic values of the traces to the outcome values. According to an example embodiment, to each cluster formed in step (308), conversation logs are added that have behavioral characteristic values that are the same or similar to each outcome value of one of the clusters. The output is a set of multiple clusters (e.g., cluster 0, cluster 1, ... cluster 2). N ) (310). In the example embodiment, the number of clusters formed is at least two, and preferably is two, although this number should not be considered limiting.
[0050] Referring to FIG. 4, a flow chart (400) is provided illustrating a process for searching the clusters formed in FIG. 3, and more particularly, for evaluating the parsed events of the traces assigned to the clusters. For the purposes of FIG. 4, two clusters (i.e., cluster 0 and cluster 1) are shown. It is understood that the number of traces assigned to either one of the formed clusters may be large, and therefore, a sampling of traces is applied for the analysis of the clusters. Therefore, an AI learning program is utilized for the search analysis to identify a sampling of traces from each of cluster 0 and cluster 1 (402). In an example embodiment, the search analysis targets cluster 0 and cluster 1 formed according to the flow chart (300) of FIG. 3, including the traces or a sampling of traces of each cluster that are subject to the analysis (see, e.g., step (310)). As shown in FIG. 4, the analysis of the clusters may be performed in parallel. In alternative embodiments, the analysis of the clusters may be performed in a serial manner or other manner or order, including alternating or randomly selecting and evaluating traces from the first and second clusters.
[0051] In steps (404) and (424), traces are sampled from clusters, e.g., cluster 0 and cluster 1. Sampling may be random or may include any sampling technique, including sampling techniques known in the art. In an embodiment, a first selected number of sample traces are assigned (404) to a first cluster (cluster 0) and a second selected number of sample traces are assigned (424) to a second cluster (cluster 1). For the first cluster, a first sample trace tally variable W for the sample traces in the first cluster (cluster 0) is initialized (406). The number of sample traces to be assigned to the first cluster (cluster 0) is identified and the variable W TotalA trace evaluation variable corresponding to the first cluster is then initialized 410. Following step 410, an evaluation of the pattern specification of the first cluster is performed, with variable X representing the number of sample traces in the first cluster that satisfy the corresponding applied temporal logic, and variable Z representing the number of sample traces in the second cluster that do not satisfy the corresponding applied temporal logic.
[0052] The second cluster is processed similarly to the first cluster. As shown, a second sample trace tally variable Y for the sample traces in the second cluster (cluster 1) is initialized (426). The number of sample traces to be assigned to the second cluster (cluster 1) is identified and the variable Y Total (428) The traces from the sampling are assigned to each cluster accordingly, and the corresponding cluster and logical variables are defined and initialized.
[0053] The evaluation of the first cluster in step (412) has two aspects, including selecting a pattern specification with a time condition and a variable specification corresponding to the parsed event, and evaluating the parsed event corresponding to the selected variable specification with respect to the time condition of the selected pattern specification. In an embodiment, the evaluation in step (412) uses sampling-based inference to search for conditions (or properties) in the form of a linear temporal logic (LTL) of the selected pattern specification. The evaluation of the pattern specification in step (412) includes asserting the type of time condition to extract, such as a condition that always holds through a conversation trace, a condition that follows another condition, or a condition that is preceded by another condition. The pattern specification can be selected from a library of pattern specifications. Each of the pattern specifications in the library can be associated with a weight value (e.g., a probability distribution). Similarly, the variable specifications can be selected from the same library or different libraries. In an embodiment, the selection of the pattern specifications and variable specifications to consider, as well as the weight value (e.g., desirability) associated, for example, via a probability distribution, in the searched property is configurable.
[0054] For the first cluster (cluster 0) in step (412), the time condition of the selected pattern specification is determined based on the sample trace (e.g., trace W) is applied to at least one parsed event corresponding to the selected variable specification. For example, the selected pattern specification applied to the parsed event corresponding to the selected variable specification may include an implementation of Linear Temporal Logic (LTL) on the parsed events (or state variables). According to an embodiment, the pattern specification may be whether a first condition, such as successful completion of an interaction event, leads to an outcome in cluster 0. For example, step (412) may include a determination of whether it holds true for the outcome of the sample traces in the first cluster (cluster 0) whose outcome is, for example, a successful booking, to satisfy the user's specification of the trip departure time (instantiation of a state variable). An affirmative response to the determination in step (412) is followed by an incrementing of a trace logic aggregation variable X (414), where X represents the sample traces in cluster 0 that satisfy the logic of the pattern specification. However, in the case of a negative response to the determination in step (412), the trace logic aggregation variable X is not incremented in (414). Following a negative response at step (412), or in the case of an affirmative response at step (412), following step (414), a trace tally variable W is incremented (416). It is then determined (418) whether each of the sample traces in the first cluster have been evaluated. A negative response at step (418) is followed by returning to step (412) to continue processing the sampled traces from the first cluster (cluster 0). However, an affirmative response at step (418) indicates that the sampling of traces assigned to the first cluster (cluster 0) has been evaluated with respect to the cluster's pattern specification and variable specifications. As shown in the figure, a proportion of first cluster 0 (proportion 0) is evaluated (420), herein referred to as the ratio of the values of the number of sample traces X that satisfied the pattern specification and the number of sample traces assigned to the first cluster (i.e., X / W Total In an embodiment, the ratio 0 is in the range of 0 to 1, including all multiples of tenths or hundredths therebetween.
[0055] Similar to the first cluster, sampled traces from the second cluster (cluster 1) are subject to the same pattern specification and the same variable specification as the traces from the first cluster (cluster 0), but in this case, a proportion of sampled traces assigned to the second cluster (cluster 1) for which the selected parsed events corresponding to the selected variable specification do not satisfy the pattern specification is identified. With respect to the second cluster (cluster 1), in step (432), a determination is performed to evaluate whether the selected pattern specification (i.e., the same pattern specification of step (412)) holds for the parsed events corresponding to the same variable specification selected in step (412). For example, the pattern specification applied to the selected variable specification may include an implementation of Linear Temporal Logic (LTL) for the parsed events corresponding to the selected variable specification. According to an embodiment, the pattern specification may be whether a first condition, such as successful completion of an interaction event, leads to an outcome in cluster 1. For example, step (432) may include determining whether a user's specification of a trip departure time (an instantiation of a state variable) is met for the results of a sample trace in a second cluster (cluster 1) where the outcome is, for example, a failed reservation.
[0056] An affirmative response to the determination at step (432) (e.g., a determination that the satisfaction of the user's specification of the trip departure date does not hold with respect to the outcome of the booking failure) is followed by an increment of the trace logic aggregation variable Z (434), where Z represents the sample traces that do not satisfy the logic of the pattern specification. However, a negative response to the determination at step (432) is not followed by an increment of the trace logic aggregation variable Z. Following a negative response at step (432) or the increment at step (434), the trace aggregation variable Y is incremented (436). It is then determined (438) whether all the sample traces of the second cluster (cluster 1) have been evaluated. A negative response at step (438) is followed by returning to step (432) to continue processing the sample traces assigned to the second cluster (cluster 1). However, an affirmative response at step (438) indicates that the traces sampled from the second cluster have been evaluated with respect to the cluster's pattern specification and variable specifications. As shown in the figure, a ratio 1 of the second cluster (cluster 1) is evaluated (440), herein defined as the ratio of the value of the number of sample traces that did not meet the selected pattern specifications for the selected variable specifications and the number of sample traces assigned to the second cluster (cluster 1) (i.e., Z / Y Total In an embodiment, the ratio 1 is in the range of 0 to 1, including all multiples of tenths or hundredths therebetween.
[0057] The flowchart (400) of Figure 4 has been described above with respect to one selected pattern specification and one selected variable specification. In an embodiment, the steps of the flowchart (400) may be repeated for other combinations of patterns and variable specifications.
[0058] Referring to FIG. 5, a flow chart (500) is provided illustrating a process for utilizing cluster formation and evaluation to determine whether a contrast pattern that meets a contrast threshold is present in a trace and, if so, refine the virtual dialogue agent. The contrast pattern has a value based on a first ratio (Ratio 0) of a first cluster (Cluster 0) and a second ratio (Ratio 1) of a second cluster (Cluster 1), as evaluated in FIG. 4. In an example embodiment, the first and second ratios are multiplied together to result in a product value (502). In step (504), the product value of step (502) is multiplied by one or more weighting factors to determine a weighted product that represents the value of the contrast pattern. According to an embodiment, each of the weighting factors is in the range of 0 to 1, including all tenths or hundredths of a second multiple therebetween. According to an embodiment, the weighting factor is a weighting factor of the pattern specification, for example based on the importance assigned to the pattern specification. According to another embodiment, the weighting factor is a weighting factor of the variable specification, for example based on the importance assigned to the variable specification. For example, a variable specification related to departure date satisfaction may have high importance to the programmer and therefore may be assigned a weighting value closer to 1, while a variable specification related to vehicle rental satisfaction may have low importance and therefore may be assigned a weighting value closer to 0. In one embodiment, application of weights to pattern specifications and / or variable specifications may be omitted or set to 1. Similarly, in one embodiment, the values of the weights may be configurable.
[0059] In step (506), a contrast threshold is assigned. In an example embodiment, the contrast threshold is selected as a value in the range of 0 to 1, including any increment within the range (e.g., tenths, hundredths, etc.). The contrast threshold may be selected by a programmer or by the AI platform (150). It is then determined (508) whether the value of the contrast pattern, described above as a weighted product in an example embodiment, satisfies the contrast threshold (e.g., is greater than or equal to the contrast threshold). A positive response to the determination (508) is followed by creating (510) an output corresponding to an improvement to the virtual agent in association with the parsed event to improve the performance of the dialogue system. A negative response to the determination in step (508) is followed by determining (512) one or more options for proceeding. The options include, for example, assigning a new contrast threshold and returning to step (508), selecting another pattern specification and / or variable specification and returning to the flowchart (400) of FIG. 4, and terminating the process.
[0060] The contrast threshold can be based on a variety of factors, including, for example, satisfaction and complexity. Satisfaction involves calculating the degree to which the retrieved features match the input conversation traces, which in one embodiment maximizes highlighting the differences between the input sets. In addition, satisfaction involves checking matches and mismatches of the LTL features against the input traces. The complexity aspect of the contrast assessment motivates a low-complexity specification in terms of including fewer propositions, which also promotes conciseness and interpretability within the scope of the retrieved features.
[0061] Exemplary methods described herein, including those illustrated in the flowcharts of FIGS. 3-5, create output in the form of temporal characteristics that represent differences between sets of traces. According to example embodiments, a decision is made to evaluate the availability of domain knowledge that describes how the traces are generated, such as a planning language (e.g., PDDL), according to the enumerated steps. As previously mentioned, example embodiments include assigning weights to the pattern specifications and variable specifications according to their perceived importance. PDDL is an example of a planning language commonly used to describe planning problems. PDDL consists of an environment with a set of states, including a start state and a goal state. The model aims to find a path (e.g., a trace) from the start state to the goal state. Thus, as illustrated herein, characteristic patterns between the behaviors of groups are automatically extracted, and corresponding explanations of contrasts are retrieved and applied to the chatbot platform for selective modification.
[0062] The embodiments shown and described herein may be in the form of a computer system for use with an intelligent computer platform to process and analyze dialogue records of a conversation, particularly in relation to improving performance of a dialogue system. The processing unit is operatively coupled to the memory and in communication with the artificial intelligence platform.
[0063] Aspects of the processing of conversation log files and records illustrated in Figures 1-5 use one or more functional tools as illustrated and described in Figure 1. Aspects of the functional tools (152), (154), (156), (158), and (164) and their associated functionality may be embodied in a computer system / server at a single location or, in one embodiment, configured in a cloud-based system sharing computing resources. With reference to Figure 6, a block diagram (600) is provided illustrating an example of a computer system / server (602) (hereinafter referred to as host (602)) in communication with a cloud-based support system to implement the processes described above with respect to Figures 3-5. The host (602) is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, or configurations, or combinations thereof, that may be suitable for use with the host (602), include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, microcomputer systems, mainframe computer systems, and file systems that include any of these systems, devices, and the like (e.g., distributed storage environments and distributed cloud computing environments).
[0064] The host (602) may be described in the general context of computer system executable instructions, such as program modules being executed by the computer system. Typically, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The host (602) may be executed in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media, including memory storage devices.
[0065] As shown in FIG. 6, the host (602) is shown in the form of a general-purpose computing device. The components of the host (602) may include, but are not limited to, one or more processors or processing units (604) (e.g., hardware processors), a system memory (606), and a bus (608) that couples various system components, including the system memory (606), to the processor (604). The bus (608) represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. Examples of such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a MicroChannel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnects (PCI) bus. The host (602) typically includes a variety of computer system readable media. Such media may be any available media that can be accessed by the host (602), including volatile and non-volatile media, removable and non-removable media.
[0066] The memory (606) may include computer system readable media in the form of volatile memory, such as random access memory (RAM) (630) and / or cache memory (632). By way of example only, a storage system (634) may be provided for reading from and writing to a non-removable, non-volatile magnetic medium (not shown, typically referred to as a "hard drive"). Although not shown, a magnetic disk drive may be provided for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive may be provided for reading from and writing to a removable, non-volatile optical disk, such as a CD-ROM, DVD-ROM, or other optical medium. In such examples, each may be connected to the bus (608) by one or more data media interfaces.
[0067] For example, a program / utility (640) including a set of (at least one) program modules (642) may be stored in memory (606), including, but not limited to, an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or a combination thereof, may include an implementation of a network environment. The program modules (642) generally perform the functions and / or methods of the embodiments to utilize logic (e.g., temporal logic) and improve the performance of an automated virtual dialogue agent. For example, the set of program modules (642) may include the tools (152), (154), (156), (158), and (164) described in FIG. 1.
[0068] The host (602) may communicate with one or more external devices (614), such as a keyboard, a pointing device, a display (624), one or more devices that allow a user to interact with the host (602), or any device that allows the host (602) to communicate with one or more other computing devices (e.g., a network card, a modem, etc.), or a combination thereof. Such communication may occur through an input / output (I / O) interface (622). Additionally, the host (602) may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), or a public network (e.g., the Internet), or a combination thereof, through a network adapter (620). As shown, the network adapter (620) communicates with the other components of the host (602) through a bus (608). In an embodiment, multiple nodes of a distributed file system (not shown) communicate with a host (602) through an I / O interface (622) or through a network adapter (620). It should be understood that other hardware and / or software components, not shown, may be used with the host (602), including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archive storage systems.
[0069] In this document, the terms "computer program medium," "computer usable medium," and "computer readable medium" are used to generally refer to media such as main memory (606), including RAM (630), cache (632), and storage systems (634), such as removable storage drives and hard disks installed in hard disk drives.
[0070] Computer programs (also called computer control logic) are stored in the memory (606). The computer programs may be received via a communications interface, such as a network adapter (620). Such computer programs, when executed, enable the computer system to perform the features of the present embodiments described herein. In particular, the computer programs, when executed, enable the processing unit (604) to perform the functions of the computer system. Thus, such computer programs represent the controller of the computer system.
[0071] A computer readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer readable storage medium can be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, dynamic or static random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), magnetic storage devices, portable compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, punch cards or mechanically encoded devices such as ridge structures in grooves in which the instructions are recorded, and any suitable combination thereof. As used herein, a computer-readable storage medium should not itself be construed as a transitory signal, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse passing through a fiber optic cable), or an electrical signal transmitted over a wire.
[0072] The computer readable program instructions described herein can be downloaded from a computer readable storage medium to each computing device / processing device or to an external computer or external storage device over a network (e.g., the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof) that may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface within each computing device / processing device receives the computer readable program instructions from the network and forwards the computer readable program instructions for storage on a computer readable storage medium within each computing device / processing device.
[0073] The computer readable program instructions for carrying out the operations of the present embodiment may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Java®, Smalltalk®, C++, and traditional procedural programming languages such as the “C” programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer as a standalone software package, partially on the user's computer and on a remote computer, or entirely on a remote computer or server or cluster of servers. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or the connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), may execute computer-readable program instructions by utilizing state information of the computer-readable program instructions to customize the electronic circuitry to perform aspects of the embodiments.
[0074] In an embodiment, the host (602) is a node of a cloud computing environment. As known in the art, cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal administrative effort or interaction with a service provider. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models. Examples of such characteristics are:
[0075] On-Demand Self-Service: Cloud consumers can unilaterally provision server time, network storage, and other computing capacity automatically as they need it, without the need for human interaction with the service provider.
[0076] Broad network access: Functionality is available over the network and accessed through standard mechanisms that facilitate use by heterogeneous thin-client or thick-client platforms (e.g., cell phones, laptops, and PDAs).
[0077] Resource Pooling: Providers' computational resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically allocated and reallocated according to demand. Consumers typically have no control or knowledge regarding the exact location of the resources provided, although at higher levels of abstraction there is a sense of location independence in that a location (e.g., country, state, or data center) may be specified.
[0078] Rapid Elasticity: Capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and quickly release to quickly scale in. These capabilities available for provisioning often appear to the consumer as unlimited, and any amount can be purchased at any time.
[0079] Measured Services: Cloud systems automatically control and optimize resource usage by leveraging metering at any 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 providers and consumers of the services utilized.
[0080] The service model is as follows:
[0081] SaaS (Software as a Service): This capability is offered to consumers to use a provider's applications running on a cloud infrastructure. Those applications can be accessed from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). The consumer has no management or control over the underlying cloud infrastructure, including the network, servers, operating systems, storage, or even individual application functionality, except for the possibility of limited user-specific application configuration settings.
[0082] PaaS (Platform as a Service): This is the capability offered to a consumer to deploy applications that the consumer has created or acquired, written using programming languages and tools supported by the provider, onto a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does have control over the deployed applications and, in some cases, the configuration of the application hosting environment.
[0083] Infrastructure as a Service (IaaS): The capability offered to consumers is the provisioning of processing, storage, network, and other basic computational resources onto which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but has control over the operating systems, storage, deployed applications, and in some cases, limited control over selected network components (e.g., host firewalls).
[0084] The deployment model is as follows:
[0085] Private Cloud: The cloud infrastructure is operated solely for the organization. It can be managed by the organization or a third party and can reside on-premise or off-premise.
[0086] Community Cloud: The cloud infrastructure is shared by multiple organizations to support a specific community with shared concerns (e.g., mission, security requirements, policy, and compliance considerations). The cloud infrastructure can be managed by these organizations or by a third party and can reside on-premise or off-premise.
[0087] Public Cloud: This cloud infrastructure is made available to the general public or large industry organizations and is owned by an organization that sells cloud services.
[0088] Hybrid Cloud: This cloud infrastructure is a composite of two or more clouds (private, community, or public) that retain their unique identity and are bound together by standardized or proprietary technologies that allow data and application portability (e.g., cloud bursting for load balancing between clouds).
[0089] A cloud computing environment is a service-oriented environment with an emphasis on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that consists of a network of interconnected nodes.
[0090] Referring now to FIG. 7, an exemplary cloud computing network (700) is shown. As shown, the cloud computing network (700) includes a cloud computing environment (750) that includes one or more cloud computing nodes (710) with which local computing devices used by consumers of the cloud may communicate. Examples of these local computing devices include, but are not limited to, a personal digital assistant (PDA) or cell phone (754A), a desktop computer (754B), a laptop computer (754C), or an automobile computer system (754N), or combinations thereof. Individual nodes within the nodes (710) may further communicate with each other. The nodes 710 may be physically or virtually grouped together in one or more networks (not shown), such as in a private cloud, a community cloud, a public cloud, or a hybrid cloud, or combinations thereof, as previously described herein. This allows the cloud computing environment (700) to provide an infrastructure, platform, and / or SaaS that does not require cloud consumers to maintain resources on local computing devices. It is understood that the types of computing devices (754A-N) shown in Figure 7 are intended to be exemplary only, and that the cloud computing environment (750) can communicate with any type of computer-controlled device via any type of network and / or network-addressable connection (e.g., a connection using a web browser).
[0091] Referring now to Figure 8, there is shown a set of functional abstraction layers (800) provided by the cloud computing network of Figure 7. It should be understood in advance that the components, layers, and functions shown in Figure 8 are intended to be illustrative only and are not intended to limit the scope of the invention. As shown, a hardware and software layer (810), a virtualization layer (820), a management layer (830), and a workload layer (840), and corresponding functions are provided.
[0092] The hardware and software layer (810) includes hardware components and software components. Examples of hardware components include mainframes (e.g., IBM® zSeries® systems), RISC (Reduced Instruction Set Computer) architecture-based servers (e.g., IBM pSeries® systems), IBM xSeries® systems, IBM BladeCenter® systems, storage devices, networks and network components. Examples of software components include network application server software (e.g., IBM WebSphere® application server software), and database software (e.g., IBM DB2® database software) (IBM, zSeries, pSeries, xSeries, BladeCenter, WebSphere, and DB2 are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide).
[0093] The virtualization layer (820) provides an abstraction layer that can provide virtual entities such as virtual servers, virtual storage, virtual networks including virtual private networks, virtual applications and operating systems, and virtual clients.
[0094] In one example, the management layer (830) may provide functionality for resource provisioning, metering and pricing, user portal, service layer management, and SLA planning and execution. Resource provisioning provides dynamic procurement of computing and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing provides cost tracking as resources are utilized within the cloud computing environment, and billing and sending bills for the utilization of those resources. In one example, those resources may include application software licenses. Security provides verification of identity of cloud consumers and tasks, as well as protection of data and other resources. The user portal provides access to the cloud computing environment to consumers and system administrators. Service layer management provides allocation and management of cloud computing resources to meet required service layers. Service layer agreement (SLA) planning and execution provides pre-provisioning and procurement of cloud computing resources in anticipation of upcoming demand, in accordance with SLAs.
[0095] The Workload Layer (840) illustrates examples of functionality available to a cloud computing environment. Examples of workloads and functionality provided by this layer include, but are not limited to, mapping and navigation, software development and lifecycle management, virtual classroom instruction delivery, data analytics processing, transaction processing, and virtual interactive agent management.
[0096] It will be appreciated that herein disclosed are systems, methods, apparatus, and computer program products for evaluating natural language input, detecting questions in corresponding communications, processing conversation log records to resolve the detected questions using answers and / or supporting content, and generating output that can be used to improve the performance of a dialogue system.
[0097] Although specific embodiments of the present invention have been shown and described, it will be apparent to those skilled in the art that, based on the contents of this specification, changes and modifications may be made without departing from the embodiments and their broader aspects. Accordingly, the appended claims encompass within their scope all such changes and modifications that are within the true spirit and scope of the embodiments. It should be further understood that the embodiments are defined solely by the appended claims. It will be understood by those skilled in the art that, where a specific number is intended for an introduced claim element, such intention will be expressly recited in the claims, and in the absence of such recitation, no such limitation exists. As an aid in understanding of the non-limiting examples, the following appended claims include the use of the introductory phrases "at least one" and "one or more" to introduce claim elements. However, the use of such phrases should not be construed as meaning that the introduction of a claim element with the indefinite article "a" or "an" limits any particular claim containing such an introduced claim element to embodiments containing only one such element, even if the same claim also contains the introductory phrases "one or more" or "at least one" and an indefinite article such as "a" or "an," and the same applies to the use of definite articles in the claims.
[0098] The present embodiments may be systems, methods, or computer program products, or combinations thereof. In addition, selected aspects of the present embodiments may take the form of entirely hardware embodiments, entirely software embodiments (including firmware, resident software, microcode, etc.), or embodiments combining software or hardware aspects or both, all of which may be referred to generally herein as "circuits," "modules," or "systems." Furthermore, aspects of the present embodiments may take the form of a computer program product embodied in a computer-readable storage medium that includes computer-readable program instructions for causing a processor to execute aspects of the present embodiments. The disclosed systems, methods, or computer program products, or combinations thereof, so embodied, function to improve the functionality and operation of an artificial intelligence platform to resolve questions using intent identification and corresponding responses related to the identified intent.
[0099] A computer readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer readable storage medium can be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, dynamic or static random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), magnetic storage devices, portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, punch cards or mechanically encoded devices such as ridge structures in grooves in which instructions are recorded, and any suitable combination thereof. As used herein, a computer-readable storage medium should not itself be construed as a transitory signal, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse passing through a fiber optic cable), or an electrical signal transmitted over a wire.
[0100] The computer readable program instructions described herein can be downloaded from a computer readable storage medium to each computing device / processing device or to an external computer or external storage device over a network (e.g., the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof) that may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface within each computing device / processing device receives the computer readable program instructions from the network and forwards the computer readable program instructions for storage on a computer readable storage medium within each computing device / processing device.
[0101] The computer readable program instructions for carrying out the operations of the present embodiment may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object oriented programming languages such as Java®, Smalltalk®, C++, and traditional procedural programming languages such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer as a standalone software package, partially on the user's computer and on a remote computer, or entirely on a remote computer or server or cluster of servers. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or the connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute computer readable program instructions by utilizing state information of the computer readable program instructions to customize the electronic circuitry to perform aspects of the present embodiments.
[0102] Aspects of the present embodiments are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to the embodiments. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, are implemented by computer readable program instructions.
[0103] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, produce means for performing the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored on a computer readable storage medium and capable of directing a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, such that the computer readable storage medium on which the instructions are stored comprises an article of manufacture including instructions implementing aspects of the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.
[0104] Furthermore, the computer-readable program instructions may be loaded into a computer, other programmable data processing apparatus, or other device to generate a computer-implemented process, such that the instructions, which execute on the computer, other programmable apparatus, or other device, perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams, thereby causing a series of operable steps to be performed on the computer, other programmable apparatus, or other device.
[0105] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of instructions, comprising one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions shown in the blocks may occur in a different order than that shown in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously or in reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flowchart illustrations, as well as combinations of blocks included in the block diagrams and / or flowchart illustrations, are implemented by a dedicated hardware-based system that performs the specified functions or operations or executes a combination of dedicated hardware and computer instructions.
[0106] Although specific embodiments have been described herein for purposes of illustration, it will be understood that various modifications may be made without departing from the spirit and scope of the embodiments. In particular, natural language processing may be performed by a variety of computing platforms or across multiple devices. Furthermore, data storage and / or corpora may be localized, remote, or distributed across multiple systems. Thus, the scope of protection of the embodiments is limited only by the following claims and their equivalents.
Claims
1. 1. A computer system comprising: a processing unit operatively coupled to the memory for receiving a plurality of conversation log files relating to interactions with an automated virtual dialogue agent of a dialogue system, each of the conversation log files including a trace of one or more dialogue events; and an artificial intelligence (AI) platform in communication with the processing unit, the AI platform comprising: a trace manager for parsing the dialogue events of the traces of the conversation log file into a plurality of parsed events, extracting respective behavioral characteristics from the traces, and assigning each behavioral characteristic value to the traces; a cluster manager operatively coupled to the trace manager for clustering the traces into a plurality of clusters based on a proximity of each of the behavior characteristic values of the traces to a respective result value, the plurality of clusters including a first cluster of the traces having each of the behavior characteristic values closest to a first result value representing a first outcome, and a second cluster of the traces having each of the behavior characteristic values closest to a second result value representing a second outcome different from the first result; a search manager operatively coupled to the cluster manager for searching the plurality of parsed events for a contrast pattern, the search manager including applying a pattern specification with a time condition to at least one parsed event of the plurality of parsed events; For the at least one parsed event, the search manager determines whether the contrast pattern satisfies a contrast threshold, the contrast pattern being based on a first proportion of the traces in the first cluster to which the pattern specification applies and a second proportion of the traces in the second cluster to which the pattern specification does not apply; and wherein output from the AI platform is applied to the automated virtual dialogue agent with respect to the dialogue event corresponding to the at least one parsed event to improve performance of the dialogue system.
2. 2. The computer system of claim 1, wherein the search manager for determining whether the contrast pattern satisfies the contrast threshold comprises a search manager configured to multiply the first ratio by the second ratio to calculate a value of the contrast pattern and compare the calculated value of the contrast pattern to the contrast threshold.
3. 2. The computer system of claim 1, wherein the search manager for determining whether the contrast pattern satisfies the contrast threshold comprises the search manager configured to calculate a value for the contrast pattern by multiplying a product of the first and second ratios by a weighting value in the range of 0 to 1, and to compare the calculated value for the contrast pattern with the contrast threshold.
4. 2. The computer system of claim 1, wherein each of the behavioral characteristics comprises transactions that were successful with the dialogue system and transactions that were unsuccessful with the dialogue system.
5. 2. The computer system of claim 1, wherein the search manager for applying a pattern specification with a time condition comprises the search manager configured to select the pattern specification from a plurality of pattern specifications, the plurality of pattern specifications being stored in a first library.
6. 6. The computer system of claim 5, wherein the search manager that applies a pattern specification with a time condition to at least one parsed event of the plurality of parsed events includes the search manager configured to select a variable specification corresponding to the at least one parsed event from a plurality of variable specifications stored in a second library, the first and second libraries may be the same or different libraries.
7. 1. A computer program product for improving performance of a virtual dialogue agent system, the computer program product being a computer readable storage medium having program code recorded thereon, the program code causing a processor to: receiving a plurality of conversation log files relating to interactions with an automated virtual dialogue agent of a dialogue system, the conversation log files including each trace including one or more dialogue events; applying the received conversation log file to an artificial intelligence (AI) platform including a learning program; parsing the dialogue events of the trace of the conversation log file into a plurality of parsed events; extracting each behavior characteristic from the trace and assigning each behavior characteristic value to the trace; clustering the traces into a plurality of clusters based on proximity of each of the behavior characteristic values of the traces to each outcome value, the plurality of clusters including a first cluster of the traces having each of the behavior characteristic values closest to a first outcome value representing a first outcome, and a second cluster of the traces having each of the behavior characteristic values closest to a second outcome value representing a second outcome different from the first outcome; searching the plurality of parsed events for a contrast pattern, the searching including applying a pattern specification with a time condition to at least one parsed event of the plurality of parsed events; determining, for the at least one parsed event, whether the contrast pattern satisfies a contrast threshold, the contrast pattern being based on a first proportion of the traces of the first cluster to which the pattern specification applies and a second proportion of the traces of the second cluster to which the pattern specification does not apply; output from the AI platform is applied to the automated virtual dialogue agent with respect to the dialogue event corresponding to the at least one parsed event to improve performance of the dialogue system.
8. 8. The computer program product of claim 7, wherein the program code for determining whether the contrast pattern satisfies the contrast threshold comprises program code executable by the processor to multiply the first ratio by the second ratio to calculate a contrast pattern value and compare the calculated contrast pattern value to the contrast threshold.
9. 8. The computer program product of claim 7, wherein the program code for determining whether the contrast pattern satisfies the contrast threshold comprises program code executable by the processor to: multiply a product of the first and second ratios by at least one weighting value in a range from 0 to 1 to calculate a contrast pattern value; and compare the calculated contrast pattern value to the contrast threshold.
10. 8. The computer program product of claim 7, wherein each of the behavioral characteristics comprises transactions that were successful with the dialogue system and transactions that were unsuccessful with the dialogue system.
11. 8. The computer program product of claim 7, wherein the program code for applying a pattern specification with a time condition comprises program code executable by the processor to select the pattern specification from a plurality of pattern specifications stored in a first library.
12. 12. The computer program product of claim 11, wherein the program code for applying a pattern specification with a time condition to at least one parsed event of the plurality of parsed events comprises program code executable by the processor to select a variable specification corresponding to the at least one parsed event from a plurality of variable specifications stored in a second library, the first and second libraries may be the same or different libraries.
13. 1. A computer-implemented method for improving performance of a dialogue system, comprising: receiving, by a processor of a computing device, a plurality of conversation log files relating to interactions with an automated virtual dialogue agent of a dialogue system, the conversation log files including each trace including one or more dialogue events; and applying, by the processor, the received conversation log file to an artificial intelligence (AI) platform including a learning program, said applying comprising: parsing the dialogue events of the trace of the conversation log file into a plurality of parsed events; extracting each behavior characteristic from the trace and assigning each behavior characteristic value to the trace; clustering the traces into a plurality of clusters based on proximity of each of the behavior characteristic values of the traces to each outcome value, the plurality of clusters including a first cluster of the traces having each of the behavior characteristic values closest to a first outcome value representing a first outcome, and a second cluster of the traces having each of the behavior characteristic values closest to a second outcome value representing a second outcome different from the first outcome; searching the plurality of parsed events for a contrast pattern, the searching including applying a pattern specification with a time condition to at least one parsed event of the plurality of parsed events; determining whether the contrast pattern satisfies a contrast threshold for the at least one parsed event, the contrast pattern being based on a first proportion of the traces in the first cluster to which the pattern specification applies and a second proportion of the traces in the second cluster to which the pattern specification does not apply; the computer-implemented method further comprising: refining the automated virtual dialogue agent with respect to the dialogue event corresponding to the at least one parsed event to improve performance of the dialogue system. Computer-implemented method.
14. 14. The computer-implemented method of claim 13, wherein determining whether the contrast pattern satisfies the contrast threshold comprises multiplying the first ratio by the second ratio to calculate a value of the contrast pattern and comparing the calculated value of the contrast pattern to the contrast threshold.
15. 14. The computer-implemented method of claim 13, wherein determining whether the contrast pattern satisfies the contrast threshold comprises: calculating a contrast pattern value by multiplying a product of the first and second ratios by a weighting value in a range from 0 to 1; and comparing the calculated contrast pattern value to the contrast threshold.
16. The computer-implemented method of claim 13 , wherein each of the behavioral characteristics comprises transactions that were successful with the dialogue system and transactions that were unsuccessful with the dialogue system.
17. The computer-implemented method of claim 13 , wherein the applying a pattern specification with a time condition comprises selecting the pattern specification from a plurality of pattern specifications stored in a first library.
18. 20. The computer-implemented method of claim 17, wherein the applying a pattern specification with a time condition to at least one parsed event of the plurality of parsed events comprises selecting a variable specification corresponding to the at least one parsed event from a plurality of variable specifications stored in a second library, the first and second libraries may be the same or different libraries.
19. A computer program causing a computer to execute the method according to any one of claims 13 to 18.
20. A storage medium having the computer program of claim 19 stored on a computer-readable storage medium.
Citation Information
Patent Citations
Chat system, server, screen generation method and computer program
JP2019046388A
Information processing apparatus, dialogue processing method and dialogue system
JP2019061482A
Conversational agent
US20190251165A1
