Systems and methods for artificial intelligence driven automated companions
By using the user interaction engine and dialogue manager in the intelligent agent to process multi-modal input data to adaptively adjust the dialogue strategy, it solves the problem that traditional dialogue systems cannot handle emotions and background information, and improves the authenticity of dialogue and user participation. Spend.
Patent Information
- Application Number
- CN201880090572.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-12-29
- Filing Date
- 2018-12-27
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2038-12-27
AI Technical Summary
Traditional human-machine dialogue systems cannot effectively handle human emotional factors and background information, resulting in unpleasant conversations, low user participation, and inability to adaptively adjust dialogue strategies to attract users' interest.
By using a user interaction engine and dialogue manager in a computerized intelligent agent, it receives multi-modal input data, extracts user state and dialogue scene features, generates the current dialogue state, and adjusts response strategies based on dialogue trees and historical data to personalize and adaptively conduct conversations.
It achieves a more realistic, creative and engaging human-machine dialogue, and can dynamically adjust dialogue strategies according to the user's emotions and intentions, improving user experience and the attractiveness of dialogue.
Smart Images

Figure CN111801730B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Provisional Application No. 62 / 612,145, filed on December 29, 2017, the contents of which are incorporated herein by reference in their entirety.
[0003] This application is a subsidiary of U.S. Patent Application _________ (Attorney Docket No. 047437-0502424), filed on December 27, 2018, International Application _________ (Attorney Docket No. 047437-0461769), filed on December 27, 2018, U.S. Patent Application _________ (Attorney Docket No. 047437-0502426), filed on December 27, 2018, International Application _________ (Attorney Docket No. 047437-0461770), filed on December 27, 2018, U.S. Patent Application _________ (Attorney Docket No. 047437-0502427), filed on December 27, 2018, International Application _________ U.S. Patent Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0461772), U.S. Patent Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0502428), International Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0461773), U.S. Patent Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0502429), International Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0461774), U.S. Patent Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0502430), International Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0461776), U.S. Patent Application _________ filed on December 27, 2018 (Attorney Docket No. 047437-0502431), International Application _________ filed on December 27, 2018 (Attorney Docket No. 047437-0461777), U.S. Patent Application _________ filed on December 27, 2018 (Attorney Docket No. 047437-0502432), U.S. Patent Application _________ filed on December 27, 2018 (Attorney Docket No. 047437-0502547), International Application _________ filed on December 27, 2018 (Attorney Docket No. 047437-0461815), U.S. Patent Application _________ filed on December 27, 2018 (Agent Docket No. 047437-0502549), International Application Filed on December 27, 2018_________(Attorney Docket No. 047437-0461817), U.S. Patent Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0502551), International Application No. _________ filed on December 27, 2018 (Attorney Docket No. 047437-0461818), the entire contents of which are incorporated herein by reference. Technical Field
[0004] The present teachings generally relate to computers. Specifically, the present teachings relate to computerized intelligent agents. Background Art
[0005] Computer-assisted conversational systems are becoming more common, thanks to the ubiquity of Internet connectivity, advances in artificial intelligence, and the boom in Internet-based communications. For example, more and more call centers are equipped with automated conversational robots to handle user calls. Hotels are beginning to install a variety of kiosks that can answer questions from travelers or guests. Online reservations (whether for tourist accommodations or theater tickets, etc.) are also increasingly being made using chatbots. In recent years, automated human-computer communication in other areas has also become more common.
[0006] Such conventional computer-assisted dialogue systems are usually pre-programmed with specific questions and answers based on well-known conversation patterns in different fields. Unfortunately, human interlocutors may be unpredictable and sometimes do not follow the pre-planned conversation pattern. In addition, in some cases, human interlocutors may go off topic during the process, and continuing the fixed conversation pattern may be boring or lose interest. When this happens, such machine conventional dialogue systems often cannot continue to attract human interlocutors to participate, so the human-machine dialogue is either interrupted and the task is handed over to the human operator, or the human interlocutor directly leaves the dialogue, which is undesirable.
[0007] In addition, traditional machine-based dialogue systems are often not designed to handle human emotional factors, let alone take into account how to handle such emotional factors when talking to humans. For example, traditional machine dialogue systems often do not initiate a conversation unless a person starts the system or asks certain questions. Even if a traditional dialogue system does not initiate a conversation, it has a fixed way to start a conversation, and it does not vary from person to person or adjust based on observation. Therefore, although they are programmed to faithfully follow the pre-designed dialogue mode, they are usually unable to act and adapt to the dynamic development of the conversation so that the conversation can be conducted in a way that attracts people to participate. In many cases, when the person who is set to engage in the conversation is obviously upset or frustrated, the traditional machine dialogue system is unaware of it and continues the conversation in the same way that upsets that person. This not only makes the conversation end unpleasantly (the machine is still unaware of this), but also makes that person unwilling to have a conversation with any machine-based dialogue system in the future.
[0008] In some applications, it is critical to conduct a human-computer conversation thread based on what is observed from the person in order to determine how to proceed effectively. An example is an education-related conversation. When a chatbot is used to teach a child to read, it is necessary to monitor whether the child is perceptive in the way being taught and continue to process in order to proceed effectively. Another limitation of traditional dialogue systems is that they are unaware of context. For example, traditional dialogue systems do not have the ability to observe the context of the conversation and improvise dialogue strategies to attract user participation and improve user experience.
[0009] Therefore, there exists a need for methods and systems that address these limitations. Summary of the invention
[0010] The teachings disclosed herein relate to methods, systems, and programming for computerized intelligent agents.
[0011] In one example, a method for an automatic conversation companion implemented on a machine having at least one processor, a memory, and a communication platform capable of connecting to a network is disclosed. First, multimodal input data associated with a user participating in a conversation on a specific topic in a conversation scenario is received and used to extract features characterizing the user state and related information associated with the conversation scenario. Based on the user state and related information associated with the conversation scenario, a current conversation state depicting the conversation context is generated. Based on a conversation tree corresponding to the conversation on the specific topic, the current conversation state, and utilities learned based on historical conversation data and the current conversation state, a response communication to the user is determined.
[0012] In a different example, a system for an automatic conversation companion is disclosed, which includes a device, a user interaction engine, and a conversation manager. The device is configured to receive multimodal input data associated with a user participating in a conversation on a specific topic in a conversation scenario, wherein the multimodal input data captures a message (communication) from the user and information surrounding the conversation scenario. The user interaction engine is configured to analyze the multimodal input data to extract features that characterize the user state and related information associated with the conversation scenario, and generate a current conversation state based on the user state and related information associated with the conversation scenario, wherein the current conversation state describes the context of the conversation. The conversation manager is configured to determine a response message to be transmitted to the user in response to the message based on a conversation tree corresponding to the conversation on the specific topic, the current conversation state, and a utility learned based on historical conversation data and the current conversation state.
[0013] Other concepts relate to software that implements this teaching. A software product according to this concept includes at least one machine-readable non-transitory medium and information carried by the medium. The information carried by the medium may be executable program code data, parameters associated with the executable program code, and / or information related to a user, request, content, or other additional information.
[0014] In one example, data for an automatic conversation companion is recorded on a machine-readable non-transitory tangible medium, wherein once the medium is read by a machine, the machine performs a series of steps. First, multimodal input data associated with a user participating in a conversation on a specific topic in a conversation scenario is received, and used to extract features characterizing the user state and related information associated with the conversation scenario. Based on the user state and related information associated with the conversation scenario, a current conversation state depicting the conversation context is generated. Based on a conversation tree corresponding to the conversation on the specific topic, the current conversation state, and the utility learned based on historical conversation data and the current conversation state, a response message to the user is determined.
[0015] Other advantages and novel features will be given in part in the following description, and in part will be apparent to those skilled in the art upon examination of the following description and drawings or learned by making or operating the examples. The advantages of the present teachings can be realized and obtained by practicing and applying the various embodiments of the methods, apparatus, and combinations given in the detailed examples discussed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The methods, systems and / or programming described herein are further described in the form of exemplary embodiments. These exemplary embodiments are described in detail with reference to the accompanying drawings. These embodiments are non-limiting exemplary embodiments, wherein similar reference numerals represent similar structures throughout the several drawings, wherein:
[0017] Figure 1 A networked environment together with a user interaction engine for facilitating a conversation between a user operating a user device and an agent device according to an embodiment of the present teachings is shown;
[0018] Figure 2A-2B shows the connections between the user device, the agent device and the user interaction engine during a conversation according to an embodiment of the present teaching;
[0019] Figure 3A An exemplary structure of an agent device having an exemplary type of agent body according to an embodiment of the present teachings is shown;
[0020] Figure 3B An exemplary proxy device according to an embodiment of the present teaching is shown;
[0021] Figure 4A An exemplary high-level system diagram of an overall system for an automated companion according to various embodiments of the present teachings is shown;
[0022] Figure 4B shows a portion of a conversation tree of an ongoing conversation with a path taken based on interactions between an automated companion and a user in accordance with an embodiment of the present teachings;
[0023] Figure 4C An exemplary human-agent device interaction and exemplary processing by an automated companion according to an embodiment of the present teachings are shown;
[0024] Figure 5 An exemplary multi-layer process and communication between different processing layers of an automated conversation companion according to an embodiment of the present teachings is shown;
[0025] Figure 6 An exemplary high-level system framework for an artificial intelligence-based educational companion according to an embodiment of the present teaching is shown;
[0026] Figure 7 An exemplary high-level system diagram of an automated conversation companion according to an embodiment of the present teachings is shown;
[0027] Figures 8A-8D Exemplary spatial, temporal, and / or causal diagrams related to educational dialogues are provided;
[0028] Fig.9A Provides example diagrams related to tutoring programs;
[0029] Fig. 9B An example diagram is provided relating to a so-called communication interaction dialog;
[0030] Fig.10is a flow chart of an exemplary process of an automatic conversation companion according to an embodiment of the present teachings;
[0031] Fig.11 An exemplary utility function representing preferences associated with a LEGO Education item according to an embodiment of the present teachings is shown;
[0032] Fig.12 An exemplary mode of determining agent response based on past history and forward-looking optimization according to an embodiment of the present teaching is shown;
[0033] Fig.13 The concept of mode switching during a conversation is shown according to an embodiment of the present teaching;
[0034] Fig.14 is a schematic diagram of an exemplary mobile device architecture that can be used to implement certain systems of the present teachings according to various embodiments;
[0035] Fig.15 is a schematic diagram of an exemplary computing device architecture that can be used to implement certain systems of the present teachings in accordance with various embodiments. DETAILED DESCRIPTION
[0036] In the following detailed description, various specific details are given by way of example to provide a detailed understanding of the relevant teachings. However, it should be clear to those skilled in the art that the present teachings can be implemented without these details. In other examples, well-known methods, processes, components and / or circuits are introduced at a relatively high level without details to avoid unnecessarily obscuring the implementation of the present teachings.
[0037] This teaching aims to address the shortcomings of traditional human-computer dialogue systems and provide methods and systems that enable more effective and realistic human-computer dialogue. This teaching incorporates artificial intelligence into an automatic companion with agent devices and support from a user interaction engine, so that the automatic companion can conduct a dialogue based on continuously monitored multimodal data indicating the surrounding situation of the dialogue, adaptively infer the mentality / emotion / intention of the dialogue participants, and adaptively adjust the dialogue strategy based on dynamically changing information / inference / background information.
[0038] The automatic companion according to this teaching can personalize the conversation in the following ways: adapt in multiple aspects, including but not limited to, the topic of the conversation, the hardware / components used to implement the conversation, and the expressions / behaviors / gestures used to transmit the responses to the human interlocutor. By flexibly changing the dialogue strategy based on the observation of the human interlocutor's acceptance of the dialogue, the adaptive control strategy will make the dialogue more realistic and creative. The dialogue system according to this teaching can be configured to implement a goal-driven strategy, including dynamically configuring the hardware / software components that are considered to be most suitable for achieving the expected goals. Such optimization is based on learning, including learning from previous conversations, and learning from ongoing conversations by continuously evaluating the behavior / reactions of the human interlocutor during the conversation about certain expected goals. The path used to implement the goal-driven strategy can be determined so as to keep the human interlocutor as participating in the conversation, even if in some instances, the path at certain moments may seem to deviate from the expected goal.
[0039] In particular, the present teachings disclose a user interaction engine that provides backbone support to an agent device to facilitate more authentic and engaging conversations with a human interlocutor. Figure 1 A networked environment 100 is shown together with a user interaction engine for facilitating a conversation between a user operating a user device and an agent device according to an embodiment of the present teachings. Figure 1 In the exemplary networked environment 100, there are: one or more user devices 110, such as user devices 110-a, 110-b, 110-c, and 110-d; one or more proxy devices 160, such as proxy devices 160-a, ..., 160-b; a user interaction engine 140; and a user information database 130, each of which can communicate with each other via a network 120. In some embodiments, the network 120 can correspond to one network or a combination of different networks. For example, the network 120 can be a local area network ("LAN"), a wide area network ("WAN"), a public network, a private network, a public switched telephone network ("PSTN"), the Internet, an intranet, a Bluetooth network, a wireless network, a virtual network, and / or any combination thereof. In an embodiment, the network 120 can also include a variety of network access points. For example, the environment 100 can include a wired or wireless access point, such as but not limited to a base station or an Internet exchange point 120-a, ..., 120-b. For example, base stations 120 - a and 120 - b may facilitate communications to / from user device 110 and / or proxy device 160 and one or more other components in networking framework 100 over different types of networks.
[0040] User devices (e.g., 110-a) may be of different types to facilitate the user operating the user device to connect to the network 120 and send / receive signals. Such user devices 110 may correspond to any suitable type of electronic / computing device, including but not limited to mobile devices (110-a), devices incorporated into transportation vehicles (110-b), ..., mobile computers (110-c) or fixed devices / computers (110-d). Mobile devices may include but are not limited to mobile phones, smart phones, personal display devices, personal digital assistants (PDAs), game consoles / devices, wearable devices (e.g., watches, Fitbits, pins / brooches, headphones, etc.). A transportation vehicle containing a device may include a car, a truck, a motorcycle, a passenger ship, a ship, a train, or an airplane. Mobile computers may include laptops, ultrabooks, handheld devices, etc. Fixed devices / computers may include televisions, set-top boxes, smart handheld devices (e.g., refrigerators, microwave ovens, washing machines or dryers, electronic assistants, etc.) and / or smart accessories (e.g., light bulbs, light switches, electronic photo frames, etc.).
[0041] The agent device (e.g., any one of 160-a, ..., 160-b) may correspond to one of the different types of such devices: the device can communicate with the user device and / or the user interaction engine 140. As described in more detail below, each agent device can be viewed as an automated companion device that interfaces with the user with support from, for example, the user interaction engine 140. The agent devices described herein may correspond to robots, which may be gaming devices, toy devices, designated agent devices, such as travel agents or weather agents, and the like. The agent devices disclosed herein are capable of facilitating and / or assisting interaction with a user operating a user device. In doing so, the agent device may be configured as a robot that is capable of controlling certain parts thereof via backend support from the user interaction engine 140, for example, making certain physical movements (e.g., head), showing certain facial expressions (e.g., smiling eyes), or speaking in a certain voice or tone (e.g., excited tone) to express certain emotions.
[0042] When a user device (e.g., user device 110-a) is connected to an agent device (e.g., 160-a) (e.g., via a contact or contactless connection), a client (e.g., 110-a) running on the user device can communicate with an automated companion (either the agent device or the user interaction engine or both) to enable an interactive conversation between a user operating the user device and the agent device. The client can act independently in certain tasks, or can be remotely controlled by the agent device or the user interaction engine 140. For example, in response to a question from a user, the agent device or the user interaction engine 140 can control a client running on the user device to present a responsive speech to the user. During a conversation, the agent device can include one or more input mechanisms (e.g., a camera, a microphone, a touch screen, buttons, etc.) that allow the agent device to capture input related to the user or the local environment associated with the conversation. Such input can assist the automated companion in building an understanding of the atmosphere surrounding the conversation (e.g., the user's movements, the sounds of the environment) and the state of mind of the human interlocutor (e.g., the user picks up a ball, which may indicate that the user is bored), thereby enabling the automated companion to react accordingly and conduct the conversation in a manner that will keep the user interested and engaged.
[0043] In the illustrated embodiment, the user interaction engine 140 may be a backend server, which may be centralized or distributed. It is connected to an agent device and / or a user device. It may be configured to provide support pillars for the agent device 160 and guide the agent device to conduct a conversation in a personalized and customized manner. In certain embodiments, the user interaction engine 140 may receive information from a connected device (agent device or user device), analyze such information, and control the conversation flow by sending instructions to the agent device and / or user device. In certain embodiments, the user interaction engine 140 may also communicate directly with the user device, for example, to provide dynamic data, such as control signals for a client running on the user device, so as to present a specific response.
[0044] In general, the user interaction engine 140 can control the conversation flow and state between the user and the proxy device. Each conversation flow can be controlled based on different types of information associated with the conversation, such as information about the users participating in the conversation (e.g., from the user information database 130), conversation history, information related to the conversation, and / or real-time user feedback. In some embodiments, the user interaction engine 140 can be configured to obtain a variety of sensory inputs, such as but not limited to audio input, image input, tactile input and / or background input, process these inputs, conceive of an understanding of the human conversationalist, generate responses accordingly based on such understanding, and control the proxy device and / or the user device based on the response to perform the conversation. As an illustrative example, the user interaction engine 140 can receive audio data representing the speech of the user operating the user device, and generate a response (e.g., text), which can then be transmitted to the user in the form of computer-generated speech as a response to the user. As another example, the user interaction engine 140 can also generate more than one indication in response to the speech, which controls the proxy device to perform a specific action or a set of actions.
[0045] As shown, during a human-computer dialogue, a user (as a human interlocutor in the dialogue) can communicate with an agent device or a user interaction engine 140 via a network 120. Such communication may involve data in multiple modalities, such as audio, video, text, etc. Via a user device, a user can send data (e.g., a request, an audio signal representing the user's speech, or a video of the scene around the user) and / or receive data (e.g., a text or audio response from an agent device). In some embodiments, multimodal user data can be analyzed when received by an agent device or a user interaction engine 140 to understand the voice or gesture of a human user, so that the user's emotions or intentions can be inferred and used to determine a response to the user.
[0046] Figure 2ASpecific connections between user device 110-a, proxy device 160-a, and user interaction engine 140 during a conversation are shown according to an embodiment of the present teaching. As shown, as discussed herein, the connection between any two participants can be bidirectional. Proxy device 160-a can interact with the user via user device 110-a to conduct a conversation in a bidirectional manner. On the one hand, proxy device 160-a can be controlled by user interaction engine 140 to speak a response to the user operating user device 110-a. On the other hand, input from the user site, including, for example, the user's speech or action and information about the user's surroundings, is provided to the proxy device via the connection. Proxy device 160-a can be configured to process such input and dynamically adjust its response to the user. For example, the proxy device can present a tree on the user device under the instruction of user interaction engine 140. Knowing that the user's surrounding environment (based on visual information from the user device) shows green trees and grass, the proxy device can customize the tree to be presented to be a lush green tree. If the scene from the user's site shows that it is winter, the agent device may be controlled so that the tree is rendered on the user device with parameters for a tree without leaves. As another example, if the agent device is instructed to render a duck on the user device, the agent device may retrieve information about color preferences from the user information database 130 and generate parameters for customizing the duck with the user's preferred color before sending an instruction for rendering to the user device.
[0047] In some embodiments, such input from the user site and the results of its processing may also be sent to the user interaction engine 140 to facilitate the user interaction engine 140 to better understand the specific situation associated with the conversation, so that the user interaction engine 140 can determine the state of the conversation, the user's emotions / mentality, and generate a response based on the specific context of the conversation and the intended purpose of the conversation (e.g., for teaching children English vocabulary). For example, if the information received from the user device indicates that the user looks bored and impatient, the user interaction engine 140 may determine to change the state of the conversation to a topic of interest to the user (e.g., based on information from the user information database 130), thereby continuing to engage the user in the conversation.
[0048] In some embodiments, the client running on the user device can be configured to process the original input of different modes obtained from the user site, and send the processed information (such as the relevant features of the original input) to the proxy device or the user interaction engine for further processing. This will reduce the amount of data transmitted on the network and enhance communication efficiency. Similarly, in some embodiments, the proxy device can also be configured to process the information from the user device and extract useful information, such as for customization purposes. Although the user interaction engine 140 can control the state and flow control of the conversation, making the user interaction engine 140 lightweight improves the user interaction engine 140 so that it can be better scaled up.
[0049] Figure 2B Shown with Figure 2A 2, with additional details on user device 110-a. As shown, during a conversation between a user and agent 210, user device 110-a may continuously collect multimodal sensor data about the user and his or her surroundings, which may be analyzed to detect any information relevant to the conversation and used to intelligently and adaptively control the conversation. This may further enhance the user experience or engagement. Figure 2B Exemplary sensors are shown, such as video sensor 230, audio sensor 240, ..., or tactile sensor 250. The user device may also send text data as part of the multimodal sensor data. Together, these sensors provide contextual information around the conversation and can be used by the user interaction system 140 to understand the context and thus manage the conversation. In some embodiments, the multimodal sensor data may first be processed on the user device, and important features of the different modalities may be extracted and sent to the user interaction system 140 so that the conversation can be controlled with an understanding of the context. In some embodiments, the raw multimodal sensor data may be sent directly to the user interaction system 140 for processing.
[0050] like Figure 2A-2B As shown, the proxy device may correspond to a robot having different components, including its head 210 and body 220. Figure 2A-2B The agent device shown appears to be a humanoid robot, but it can also be constructed in other forms, such as a duck, a bear, a rabbit, etc. Figure 3AAn exemplary structure of an agent device having an exemplary type of agent body according to an embodiment of the present teachings is shown. As presented, the agent device may include a head and a body, with the head attached to the body. In some embodiments, the head of the agent device may have additional parts, such as a face, a nose, and a mouth, some of which may be controlled to, for example, make movements or expressions. In some embodiments, the face of the agent device may correspond to a display screen capable of presenting a face, which may be a human or an animal. Such a displayed face may also be controlled to express emotions.
[0051] The body parts of the proxy device may also correspond to different forms, such as a duck, a bear, a rabbit, etc. The body of the proxy device may be stationary, movable, or semi-movable. A proxy device with a fixed body may correspond to a device that can be placed on a surface such as a table, so as to have a face-to-face conversation with a human user sitting at the table. A proxy device with a movable body may correspond to a device that can move around on a surface such as a tabletop or floor. Such a movable body may include parts that can be kinematically controlled to physically move. For example, the proxy body may include feet, which can be controlled to move in space when needed. In some embodiments, the body of the proxy device may be semi-movable, that is, some parts are movable and some are not. For example, the tail on the body of an proxy device with a duck appearance may be movable, but the duck cannot move in space. A bear-shaped body proxy device may also have movable arms, but the bear can only sit on the surface.
[0052] Figure 3B An exemplary proxy device or automated companion 160-a according to an embodiment of the present teaching is shown. Automated companion 160-a is a device that interacts with a person using voice and / or facial expressions or body gestures. For example, automated companion 160-a corresponds to an animatronic peripheral device having different parts, including a head 310, eyes (camera) 320, a mouth with a laser 325 and a microphone 330, a speaker 340, a neck with a servo mechanism 350, one or more magnets or other components that can be used for contactless presence detection 360, and a body part corresponding to a charging base 370. In operation, automated companion 160-a can be connected to a user device, which may include a mobile multifunction device (110-a) connected via a network. Once connected, automated companion 160-a and the user device interact with each other via, for example, voice, motion, gestures, and / or via pointing with a laser pointer.
[0053] Other exemplary functions of the automated companion 160-a may include reactive expressions in response to user responses, for example, via an interactive video cartoon character (e.g., an avatar) displayed on a screen, for example, as part of the automated companion's face. The automated companion may use a camera (320) to observe the user's presence, facial expressions, gaze direction, surroundings, etc. An electronically controlled embodiment may "look" by pointing a head (310) containing a camera (320) in a certain direction, "listen" using its microphone (340), and "face" by directing a direction of the head (310) that is movable via a servo mechanism (350). In some embodiments, the head of the proxy device may also be remotely controlled, for example, by the user interaction system 140 or by a client of the user device (110-a) via a laser (325). As Figure 3B The illustrated exemplary automated companion 160 - a may also be controlled to “speak” via speaker ( 330 ).
[0054] Figure 4A An exemplary high-level system diagram of an overall system for an automatic companion according to various embodiments of the present teachings is shown. In the embodiment shown here, the overall system may include components / functional modules residing in the user device, the agent device, and the user interaction engine 140. The overall system described here includes multiple processing layers and hierarchical structures, which together perform human-computer interaction in an intelligent manner. In the embodiment shown, there are 5 layers, including layer 1 for front-end applications and front-end multimodal data processing, layer 2 for characterizing the dialogue setting, layer 3 where the dialogue management module resides, layer 4 for the inferred mentality of different participants (people, agents, devices, etc.), and layer 5 for so-called utilities. Different layers may correspond to different levels of processing, from raw data collection and processing at layer 1 to processing of changing the utilities of dialogue participants at layer 5.
[0055] The term "utility" is thus defined as the preferences of participants identified based on detected states associated with the history of conversations. Utilities can be associated with participants in a conversation, whether the participant is a person, an automatic companion, or other intelligent device. Utilities for specific participants can characterize different states of the world, whether physical, virtual, or even mental. For example, a state can be characterized as a specific path for a conversation to travel along a complex map of the world. In different instances, the current state evolves to the next state based on interactions between multiple participants. States can also be participant-related, that is, when different participants participate in an interaction, the state brought about by such an interaction may change. Utilities associated with participants can be organized into a hierarchy of preferences, and such a preference hierarchy can evolve over time based on the choices made by participants during a conversation and the preferences expressed. Such preferences, which can be characterized as an ordered sequence of choices made from different options, are called utilities. This teaching discloses such methods and systems: through these methods and systems, an intelligent automatic companion is able to learn the utility of a user through a conversation with a human conversationalist.
[0056] In the overall system supporting automatic companion, the front-end application in layer 1 and the front-end multimodal data processing may reside in the user device and / or the agent device. For example, the camera, microphone, keyboard, display, renderer, speaker, chat bubble, user interface element may be a component or functional module of the user device. For example, there may be an application or client running on the user device, which may include Figure 4A In some embodiments, functions beyond the external API can be considered as backend systems or reside in the user interaction engine 140. The application running on the user device can obtain multimodal data (audio, image, video, text) from sensors or circuits of the user device, process the multimodal data to generate text or other types of signals (such as detected user faces, speech understanding results, etc.) that characterize the characteristics of the original multimodal data, and send them to layer 2 of the system.
[0057] In layer 1, multimodal data may be acquired via sensors such as cameras, microphones, keyboards, displays, speakers, chat bubbles, presenters, or other user interface elements. Such multimodal data may be analyzed to infer or deduce a variety of features that can be used to infer higher-level characteristics (e.g., expressions, characters, gestures, emotions, actions, attention, intent, etc.). Such high-level characteristics may be obtained by processing units on layer 2, and then processed via Figure 4AThe internal API shown is used by higher-level components to, for example, intelligently infer or infer additional information related to the conversation at a higher conceptual level. For example, the emotions, attention or other characteristics of the inferred conversation participants obtained at layer 2 can be used to infer the mentality of the participants. In some embodiments, this mentality can also be inferred at layer 4 based on additional information, such as the recorded surrounding environment or other additional information in this surrounding environment, such as sound.
[0058] The inferred mindset of the participants, whether with a human or an automated companion (machine), can be relied upon by the dialogue management of layer 3 to determine, for example, how to conduct a conversation with a human interlocutor. How each conversation progresses often characterizes the preferences of the human user. Such preferences can be captured dynamically during the conversation at the utility layer (i.e., layer 5). Figure 4A As shown, the utilities on layer 5 represent the evolving states, which represent the evolving preferences of the participants, and they can also be used by the dialogue management on layer 3 to decide appropriate or intelligent ways to interact.
[0059] Information sharing between different layers can be achieved through API. Figure 4A In some embodiments shown in , information sharing between layer 1 and other layers is via an external API, while information sharing between layers 2-5 is via an internal API. It can be understood that this is merely a design choice, and other implementations can also implement the teachings given here. In some embodiments, through the internal API, various layers (2-5) can access information generated or stored on other layers to support processing. Such information may include general configurations applied to the dialogue (e.g., the role of the agent device is an avatar, a preferred voice or a virtual environment to be generated for the dialogue, etc.), the current state of the dialogue, the current dialogue history, known user preferences, inferred user intent / emotion / mentality, etc. In some embodiments, certain information that can be shared via the internal API can be accessed from an external database. For example, a specific configuration related to the desired role of the agent device (e.g., a duck) can be accessed from, for example, an open source database, which provides parameters (e.g., parameters for visually presenting a duck, and / or parameters required for presenting speech from a duck).
[0060] Figure 4BA portion of a dialog tree for an ongoing conversation based on the paths taken by the interaction between the auto-companion and the user is shown according to an embodiment of the present teachings. In this illustrated example, the dialog management in layer 3 (of the auto-companion) may predict multiple paths that a conversation (or, generally, interaction) with the user may take. In this example, each node may represent the current state point of the conversation, and each branch of the node may represent a possible response from the user. As shown in this example, at node 1, the auto-companion may have three separate paths that may be taken depending on the response detected from the user. If the user responds with an affirmative response, the dialog tree 400 may proceed from node 1 to node 2. At node 2, in response to the affirmative response from the user, a response may be generated for the auto-companion, which may then be presented to the user, which may include audio, visual, text, tactile, or any combination thereof.
[0061] At node 1, if the user responds negatively, the path for this stage is from node 1 to node 10. If the user responds with a "normal" response at node 1 (e.g., neither negative nor positive), the dialog tree 400 may proceed to node 3, where a response from the auto-companion may be presented, and there may be three discrete possible responses from the user, "no response", "positive response", and "negative response", corresponding to nodes 5, 6, and 7, respectively. Depending on the actual response of the user with respect to the auto-companion response presented at node 3, the dialog management at layer 3 may then follow the dialog accordingly. For example, if the user responds with a positive response at node 3, the auto-companion moves to respond to the user at node 6. Similarly, depending on the user's reaction to the auto-companion's response at node 6, the user may further respond with a correct answer. In this case, the dialog state moves from node 6 to node 8, and so on. In the example shown here, the dialog state during this stage moves from node 1 to node 3, to node 6, and to node 8. The traversal of nodes 1, 3, 6, and 8 constitutes a path consistent with the underlying conversation between the auto-companion and the user. As Figure 4B As shown, the path representing the dialog is represented by a solid line connecting nodes 1, 3, 6, and 8, while the path skipped during the dialog is represented by a dotted line.
[0062] Figure 4C FIG. 2 shows an exemplary human-agent device interaction and exemplary processing performed by an automated companion according to an embodiment of the present teachings. Figure 4CAs shown, operations on different layers can be performed, and they together facilitate intelligent dialogue in a collaborative manner. In the example shown, the agent device may first ask the user "How are you today?" at 402 to initiate a dialogue. In response to the speech at 402, the user may respond with the speech "OK" at 404. In order to manage the dialogue, the automatic companion can actuate different sensors during the dialogue process to make observations of the user and the surrounding environment. For example, the agent device can obtain multimodal data about the surrounding environment in which the user is located. Such multimodal data may include audio, visual or text data. For example, visual data can capture the user's facial expressions. Visual data can also reveal background information around the dialogue scene. For example, an image of the scene can reveal the presence of a basketball, a table and a chair, which provides information about the environment and can be used in dialogue management to enhance the user's participation. The audio data can capture not only the user's voice response, but also other surrounding information, such as the tone of the response, the way the user speaks the response, or the user's accent.
[0063] Based on the acquired multimodal data, analysis may be performed by the automated companion (e.g., by a front-end user device or by a back-end user interaction engine 140) to assess the user's attitude, emotions, mentality, and utility. For example, based on the visual data analysis, the automated companion may detect that the user appears sad, does not smile, the user speaks slowly, and has a deep voice. A depiction of the user's state in the conversation may be performed on layer 2 based on the multimodal data acquired on layer 1. Based on such detected observations, the automated companion may infer (at 406) that the user is not that interested in the current topic and is not highly engaged. For example, such an inference of the user's emotions or mental state may be performed on layer 4 based on a depiction of the multimodal data associated with the user.
[0064] In response to the user's current state (low participation), the automatic companion may determine to cheer up the user so as to make the user better participate. In the example shown here, the automatic companion can take advantage of what is available in the conversation environment by saying the question "Do you want to play a game?" to the user at 408. Such a question can be given as a voice in audio form by converting text to speech (for example, using a customized voice personalized for the user). In this case, the user can respond by saying "OK" at 410. Based on the multimodal data related to the user obtained continuously, for example, via the processing of layer 2, it may be observed that in response to the invitation to play the game, the user's eyes seem to look around, in particular, the user's eyes may stare at where the basketball is. At the same time, the automatic companion may also observe that once the suggestion to play the game is heard, the user's facial expression changes from "sad" to "smile". Based on the characteristics of the user observed in this way, the automatic companion can infer at 412 that the user is interested in basketball.
[0065] Based on the new information acquired and its inferences, the automated companion may decide to utilize the basketball available in the environment to make the user more engaged in the conversation, while still achieving the educational goal for the user. In this case, the conversation management in layer 3 may adapt the conversation to talk about the game and utilize the observation that the user is staring at the basketball in the room to make the conversation more interesting to the user, while still achieving the goal of, for example, educating the user. In an exemplary embodiment, the automated companion generates a response suggesting that the user play a spelling game (at 414) and asks the user to spell the word "basketball".
[0066] Based on observations of the user and the environment, given the automated companion's adaptive conversation strategy, the user may respond by providing the spelling of the word "basketball" (at 416). Observations may be made continuously on how enthusiastic the user is in answering the spelling question. If the user appears to be responding quickly with a more cheerful attitude, the automated companion may infer at 418 that the user is now more engaged, based on, for example, multimodal data acquired when the user answers the spelling question. To further encourage the user to actively participate in the conversation, the automated companion may then generate a positive response "Good job!" and instruct that this response be delivered to the user in a cheerful, encouraging, positive voice.
[0067] Figure 5 Exemplary communications between different processing layers of an automated conversation companion centered around a dialogue manager 510 are shown according to various embodiments of the present teachings. The dialogue manager 510 in the figure corresponds to the functional component of dialogue management in layer 3. The dialogue manager is an important part of the automated companion and it manages the conversation. Traditionally, the dialogue manager uses the user's words as input and determines how to respond to the user. This is done without considering the user's preferences, the user's mindset / mood / intentions, or the surrounding context of the conversation, that is, without assigning any weight to the different available states of the relevant world. The lack of knowledge of the surrounding world often limits the engagement or perceived authenticity of the conversation between the human user and the intelligent agent.
[0068] In certain embodiments of the present teachings, the utility of the conversation participants related to the ongoing conversation is fully utilized to allow for a more personalized, flexible and engaging conversation. This promotes the intelligent agent to play different roles so as to be more effective in different tasks, such as arranging appointments, booking travel, ordering equipment and supplies, and researching multiple topics online. When the intelligent agent recognizes the user's dynamic mindset, emotions, intentions and / or utilities, this enables the agent to engage the human conversationalist in the conversation in a more targeted and effective manner. For example, when an educational agent teaches a child, the child's preferences (such as his favorite color), observed emotions (such as, sometimes the child does not want to continue the course), and intentions (such as, the child reaches for the ball on the floor instead of focusing on the course) can allow the educational agent to flexibly adjust the subject of concern to the toy, and may adjust the way to continue the conversation with the child in order to give the child a break, thereby achieving the overall goal of educating the child.
[0069] As another example, the present teachings can be used to enhance the services of a user service agent by asking more appropriate questions given what is observed from the user in real time, and thus achieve an improved user experience. By developing methods and means to learn and adapt to the preferences or mindsets of participants in a conversation, which is rooted in the essential aspects of the present teachings as disclosed herein, the conversation can be conducted in a more engaging manner.
[0070] The Dialogue Manager (DM) 510 is the core component of the automatic companion. Figure 5 As shown, DM510 (layer 3) takes inputs from different layers, including inputs from layer 2 and inputs from higher abstraction layers, such as the inferred mindset of the participants of the input conversation from layer 4 and utilities / preferences from layer 5. As shown, on layer 1, multimodal information is acquired from sensors of different modalities, which are processed to obtain features that characterize the data, for example. This may include signal processing of visual, audio, and textual modalities.
[0071] Features obtained from processing multimodal data can be further processed on layer 2 to achieve language understanding and / or multimodal data understanding, including vision, text, and any combination thereof. Some of this understanding may be for a single modality, such as speech understanding, and some may be for understanding the surroundings of users participating in the conversation based on integrated information. Such understanding can be physical (e.g., identifying specific objects in the scene), cognitive (e.g., recognizing what the user said, or a loud sound, etc.) or mental (e.g., specific emotions, such as the user's stress inferred based on the tone of voice, facial expressions, or user gestures).
[0072] The modality-data understanding generated on layer 2 can be used by DM510 to determine how to respond. In order to enhance engagement and user experience, DM510 can also determine the response based on the inferred user mentality and agent mentality from layer 4 and the utility of the users participating in the conversation from layer 5. The mentality of the participants involved in the conversation can be inferred based on information from layer 2 (such as inferred user emotions) and the progress of the conversation. In some embodiments, the mentality of the user and the agent can be dynamically inferred during the conversation, so that the inferred mentality can then be used to learn (together with other data) the utility of the user. The learned utility represents the user's preferences in different conversation situations and is inferred based on historical conversations and their outcomes.
[0073] In each conversation on a particular topic, the conversation manager 510 bases its control of the conversation on a relevant conversation tree, which may or may not be related to the topic (e.g., small talk may be introduced to enhance engagement). In order to generate responses to users in the conversation, the conversation manager 510 may also consider additional information, such as the user's state, the surrounding circumstances of the conversation scene, the user's emotions, the inferred mindset of the user and agent, and known user preferences (utilities).
[0074] The output of DM510 corresponds to the response to the user determined accordingly. In order to transmit the response to the user, DM510 can also conceive of a way to transmit the response. The form in which the response is transmitted can be determined based on information from multiple sources, such as the user's emotions (for example, if the user is an unhappy child, the response can be presented in a gentle voice), the user's utility (for example, the user may prefer a certain accent similar to his parents), or the user's surrounding environment (for example, a noisy place, so the response needs to be transmitted at a high volume). DM510 can transmit the determined response together with these transmission parameters.
[0075] In some embodiments, the transmission of such determined responses is achieved by generating transmittable forms of the respective responses according to a variety of parameters associated with the responses. In general, the responses are transmitted in the form of speech in some natural language. The responses may also be transmitted in speech coupled with a specific non-verbal expression as part of the transmitted response, such as a nod, a shake of the head, a wink, or a shrug. There may be other forms of transmittable response patterns that are auditory but non-verbal, such as a whistle.
[0076] To deliver a response, a deliverable response form may be generated via, for example, language response generation and / or behavioral response generation, such as Figure 5As shown. This response, which is in a transmittable form determined by it, can then be used by the renderer to actually present the response in its intended form. For a transmittable form of natural language, the text of the response can be used to synthesize a speech signal via, for example, text-to-speech technology, according to transmission parameters (e.g., volume, accent, style, etc.). For any response or part thereof to be transmitted in a non-verbal form (e.g., a specific expression), the expected non-verbal expression can be translated (e.g., via animation) into a control signal that can be used to control a specific part of the agent device (the tangible embodiment of the automated companion), thereby performing a specific mechanical movement to transmit the non-verbal expression of the response, such as nodding, shrugging, or whistling. In some embodiments, in order to transmit the response, a specific software part can be called to present different facial expressions of the agent device. This interpretation of the response can also be performed by the agent at the same time (e.g., speaking the response in a joking voice and showing a big smile on the agent's face).
[0077] Figure 6 An exemplary high-level system diagram for an artificial intelligence-based educational companion according to various embodiments of the present teachings is shown. In this illustrated embodiment, there are five processing levels, namely, the device level, the processing level, the argumentation level, the teaching or demonstration level, and the teacher level. The device level contains sensors (such as microphones and cameras), or media transmission devices (such as servo mechanisms) for moving body parts such as robots or speakers to transmit conversation content. The processing level contains various processing components whose purpose is to process different types of signals, including input and output signals.
[0078] On the input side, the processing layer may include a speech processing module for performing, for example, speech recognition based on audio signals obtained from an audio sensor (microphone) in order to understand what is being said and thus determine how to respond. Audio signals may also be recognized in order to generate text information for further analysis. The audio signals from the audio sensor may also be used by an emotion recognition processing module. The emotion recognition module may be designed to recognize a variety of emotions of the participant based on visual information from the sensor and synthesized audio information. For example, a happy emotion may often be accompanied by a smiling face and specific auditory cues. As part of the emotional expression, the text obtained via speech recognition may also be used by the emotion recognition module to infer the emotions involved.
[0079] On the output side of the processing layer, when a specific response strategy is determined, such a strategy can be translated into a specific action to be performed by the automated companion in order to respond to the other participant. Such an action can be performed by transmitting a certain audio response or expressing a specific emotion or attitude via a specific gesture. When the response is transmitted in audio, the text with the words that need to be spoken is processed by the text-to-speech module to generate an audio signal, and then such an audio signal is sent to the speaker to present the speech as a response. In some embodiments, the speech generated based on the text can be performed according to other parameters, for example, parameters that can be used to control the speech generation with a specific tone or voice. If the response is to be transmitted as a physical action, for example, a body movement implemented on the automated companion, the action to be taken can also be an instruction to generate such a body movement. For example, the processing layer may include a module that moves the head of the automated companion (e.g., nodding, shaking head, or other movements of the head) according to a certain instruction (symbol). In order to comply with the instruction to move the head, based on the instruction, the module for moving the head can generate an electrical signal and send it to the servo mechanism to physically control the head movement.
[0080] The third layer is the argumentation layer, which is used to perform high-level arguments based on the analyzed sensor data. Text or inferred emotions (or other characteristics) from speech recognition can be sent to an inference program, which can be used to infer a variety of high-level concepts, such as intent, mentality, and preferences based on the information received from the second layer. The inferred high-level concepts can then be used by the utility-based planning module, which designs a plan to respond in the conversation given the teaching plan defined on the teaching layer and the current user state. The planned response can then be translated into an action to be executed to deliver the planned response. The action is then further processed by the action generator to specifically target different media platforms to achieve intelligent response.
[0081] Both the teaching layer and the teacher layer are related to the educational application disclosed herein. The teacher layer contains activities related to designing a curriculum for different subjects. Based on the designed curriculum, the teaching layer contains a curriculum scheduler, which arranges courses based on the designed curriculum and based on the course plan, and the question setting module can arrange a specific question setting to be provided based on a specific curriculum. Such a question setting can be used by the modules of the argumentation layer to assist in inferring the user's response, so that the response is planned accordingly based on the utility and the inferred psychological state.
[0082] Figure 7 An exemplary high-level system diagram of an automated conversation companion according to an embodiment of the present teachings is shown. As disclosed herein, an automated conversation companion may include an agent device (e.g., 160-a) and a user interaction engine 140, which has processing at different conceptual levels, such as Figure 4A and Figure 5shown. Figure 7 The system architecture and diagram shown represent an exemplary implementation of an automated conversation companion having the capability of multimodal processing at different conceptual levels. As shown, automated conversation companion 700 includes: an agent device, such as 160-a; and a user, such as 110-a, operating on a device (layer 1) having, for example, different sensors. System 700 also includes layer 2 710, layer 3 720, layer 4 730, and layer 5 740. Each layer further includes different processing components, models, and representations that can be used by other layers to implement different tasks of the conversation.
[0083] In this exemplary embodiment, layer 2710 may include input understanding processing components, such as an auditory information processing unit 710-1, a visual information processing unit 710-2, ..., and an emotion estimation unit 710-3. The input may come from multiple sensors configured on a user device or an agent device. Such multimodal information is used to understand the surrounding situation of the conversation, which may be crucial for conversation control. For example, the voice processing unit 710-1 may process the auditory input to understand, for example, the voice spoken by the agent, the tone of the user's voice, or the user or environmental sounds present in the conversation scene. Based on, for example, video information, the visual information processing unit 710-2 can be used to understand the user's facial expressions, the user's surrounding situation in the conversation scene (for example, the presence of a chair or a toy), and such understanding can be used when the conversation manager decides how to proceed. Based on, for example, the tone of the user's voice, the user's facial expressions, etc., the emotion estimation unit 710-3 can be used to estimate the user's emotions. The user's emotion is at a higher conceptual level and abstracted from lower level features such as tone and expression, and can be used to assess, for example, whether the user is in an emotional state to engage in a conversation and whether the automated conversation partner needs to change the topic of the conversation in order to continue to engage the user.
[0084] Layer 2710 may also include output generation components for generating a variety of signals for controlling the agent device to transmit messages to the user. Such components include a text-to-speech unit 710-4, an emotion control unit 710-5, ... and a gesture control unit 710-6. The text-to-speech unit 710-4 may be used to convert a text response from the dialog manager into its corresponding audio waveform, which may then be used to control the agent to speak the response. The expression control unit 710-5 may be invoked to control the agent device to express a specific expression while "speaking" the response to the user. For example, a signal may be generated to be presented on a display screen of the agent's robot head, such as a smiling face, a sad face, or a sympathetic face, thereby improving user engagement. In some cases, the gesture control unit 710-6 may be used to generate control signals that may be used to implement specific movements, such as the arms of the agent device, to express additional emotions. For example, to show encouragement to the user, the agent's arms may be controlled to be raised high while the agent says, "Great, well done!
[0085] Such operations performed by the different components in layer 2710 can then be used to update the representation of the conversation for both the agent and the user. Layer 4730 can store a variety of information associated with the conversation history of the participants and can be used to derive representations of the agent and the user, respectively, which capture the ongoing mindset of each participant involved in the conversation. Since the goal of the conversation can involve reaching a stage of consensus, such a representation can be used to achieve the same mindset between the agent and the user. Layer 4730, as shown, includes a representation related to the agent's mindset 730-1, a representation related to the user's mindset 730-4, and a shared mindset 730-3, which combines, for example, the agent's ongoing mindset and the user's ongoing mindset.
[0086] When characterizing the user's ongoing state of mind, different world models 730-5 and conversation backgrounds 730-6 established from the user's perspective are used to characterize the user's state of mind. The user's world model 730-5 can be set based on spatial, temporal and causal representations. Such a representation can be based on what is observed in the conversation and depicts, for example, what is observed in the scene (such as objects such as tables, chairs, computers on the table, toys on the floor) and how they are related (such as how objects are spatially related). In this exemplary embodiment, such a representation can be established using an AND-OR graph or AOG. The spatial representation of an object can be represented by S-AOG. The temporal representation of an object over time can be represented by T-AOG (for example, what is done on which object over time). Any causal relationship between temporal actions and spatial representations can be represented by C-AOG, for example, when the action of moving a chair is performed (the spatial position of the chair changes).
[0087] Figures 8A-8DExemplary spatial, temporal, and causal graphs for representations related to educational conversations are provided. Fig. 8A A spatial AND-OR diagram (AOG) for LEGO toys is shown, where dotted lines represent OR relationships, solid lines represent AND relationships, and circles represent objects. A dotted circle means that the items separated from it constitute alternatives or are related in an OR relationship. A solid circle means that the items separated from it constitute components of the object represented by the solid circle. For example, Fig. 8A The top dotted circle or node in the AOG in corresponds to a Lego toy, which can be a Lego car, a Lego plane, or a Lego building. The Lego car node is a solid circle, indicating that it has several parts, such as the front of the Lego car, the middle of the Lego car, and the back of the Lego car. All of these parts are necessary for the Lego car (AND relationship). The spatial AOG shown in the figure represents the spatial relationship between different parts. Each part can be decomposed into additional parts, which can be related by AND or OR relationships. In Fig. 8A In the figure, the front, middle and back parts are shown as having alternative appearances (OR relationship), which is why the circles or nodes of the front, middle and back parts are all dashed lines.
[0088] Fig. 8A The spatial AOG or S-AOG shown in can be a predetermined tree that captures the spatial relationships of all objects and their parts related to Lego toys. Such a tree can be relied upon during a conversation and can be traversed based on the content of the conversation. For example, in a particular conversation, if the topic is about Lego cars and the agent is teaching the user how to put different parts together to build a car, the automated conversation companion first calls the S-AOG of Lego toys, such as Fig. 8A As shown, the tree is then traversed to the node representing the Lego car. Depending on the conversation, the automated conversation companion may traverse the tree based on the content of the conversation. For example, if the user wants to build the front of the car first, the automated companion may traverse from the "car" node to the "front" node, and so on. The traversal path in the figure corresponds to a parsing graph or spatial PG or S-PG. This is in Figure 8B It is shown in Figure 8B In the figure, unexplored paths are represented by dash-dot lines, and the path currently being traversed is represented by a solid line.
[0089] Figure 8C FIG. 1 shows an exemplary spatial AOG related to actions that can be performed on a piece of clothing. As shown in the figure, the diamond nodes represent actions to be performed on the clothing. Similar to the discussion about spatial AOG, in Figure 8CIn the exemplary temporal AOG or T-AOG shown, the dot-dashed node indicates that all items branching from it are alternatives or connected with an OR relationship. The solid line indicates that all items branching from it are components connected with an AND relationship. In this example, it is shown that the actions that can be performed on clothes can be "folding" or "stretching", where the action "folding" can be performed by one hand or two hands. As shown in the figure, when one hand is used to fold clothes, this action (solid diamond node) has several required steps, including "reaching out", "grabbing", "moving" and "releasing". These steps are all connected via an "AND" relationship. Each of these steps can have several sub-steps, which can be connected by "AND" or "OR" relationships. Depending on how events develop during the conversation, it can be traversed based on the sequence of actions observed during the conversation. Figure 8C An exemplary T-AOG is shown. For example, a user may decide to fold a dress with one hand by first grabbing the left sleeve of the dress and folding it, then grabbing the right sleeve of the dress and folding it. Based on this sequence of events, a particular path of the T-AOG can be traversed, forming a parsing graph along solid lines, where each line corresponds to an observed action. Such a parsing graph (PG) constructed based on actions over time is a T-PG.
[0090] When a specific action is performed on a spatial object, the state of the spatial object may change. The transition from action to state change constitutes a causal relationship. Such a causal relationship can also be represented based on an AND-OR graph or AOG. Fig.8D An exemplary cause-effect relationship graph or C-AOG is shown. This example corresponds to a cause-effect relationship graph related to the process of constructing a Lego car structure. As shown, ellipses correspond to connection nodes, and their branches correspond to actions to be taken. Triangular nodes represent cause-effect nodes associated with certain actions that can cause a state change of an object. Solid line nodes indicate that their branches are connected by AND relationships, and dashed lines indicate that their branches represent alternatives connected via OR relationships.
[0091] Fig.8DIn the example shown, the top node is a solid ellipse or connecting node, representing a half-built LEGO piece. Because this node is a solid node, its branches are connected with an AND relationship. The first branch node on the left is a dashed causal node, with two choices related by an OR relationship. The first action choice is to install wheels on the left side of the LEGO piece, and the second action choice is to install wheels on the right side of the LEGO piece. The causal effect of each action is shown, for example, after the first choice action, the wheels appear on the left side of the LEGO piece, and after the second choice action, the wheels appear on the right side of the LEGO piece. The top solid ellipse node also has another branch, corresponding to the action representing placing a top piece on the LEGO piece. As shown in the figure, the user can perform the causal action of placing two wheels on the left and right sides of the LEGO piece, and the next action of placing the top piece will cause the LEGO piece to transform its state to Fig.8D The Causal AOG or C-AOG is shown in the lower left corner. Compared to the top Lego piece of the C-AOG, the updated Lego piece obtained in the lower right corner has two wheels and a top piece.
[0092] Back to Figure 7 , the representations of agent psychology and user psychology both use S-AOG, T-AOG and C-AOG (in 730-2 and 730-5 respectively) to capture their corresponding worlds in the conversation. As shown here, when the conversation causes each participant to traverse its corresponding S-AOG, T-AOG and C-AOG along a specific concrete path, these paths correspond to sub-parts of their underlying AOG. These sub-parts constitute a parsing graph or PG. For example, based on the traversal path of the S-AOG, the corresponding S-PG can be derived. The T-PG and C-PG can be simply derived. The S-PG, T-PG and C-PG for each participant can be merged to form a so-called STC-PG, which represents the conversation context (730-3 and 730-6 from the perspective of the agent and the user, respectively).
[0093] STC-PG characterizes the dynamics of the dialogue context. In addition to the STG-PG characterization, the dialogue context may also include the dynamic presentation of the conversation content (in language). As shown in the figure, the dialogue between people and machines is often driven by a dialogue tree, which is traditionally built based on a dialogue model. For example, a dialogue tree can be developed to teach geometry in mathematics to children, and the dialogue embedded in this dialogue tree can be designed based on, for example, a typical dialogue flow for teaching this subject. According to this teaching, when a dialogue tree is related to a specific topic (such as a tutoring project), a dialogue tree specifically used for each topic covered by the tutoring project can be established and used to drive the dialogue with a human user. Such a dialogue tree can be stored in a dialogue manager on layer 3 and can be traversed during the dialogue process. The traversal path based on the dialogue tree can constitute a language parsing tree or Lan-PG, which is used as a part of the dialogue context. Users and agents can each have their own Lan-PG, which is developed based on their conversations with each other and is stored in their corresponding dialogue contexts in 730-3 (for agents) and 730-6 (for users).
[0094] Both the user and agent's conversation context can be dynamically updated during the conversation. Figure 7 As shown, whenever a response (e.g., language, expression, or body) is transmitted to the user via the components in layer 2, the dialogue context in layer 4 can be updated accordingly. In some embodiments, when a response is determined, the dialogue manager ( Figure 7 720-2 in the figure) can also update the dialogue context. In this way, the dialogue context is continuously updated during the dialogue, and then used to adaptively determine the dialogue strategy.
[0095] Such conversation contexts representing the perspectives of the various participants can be combined to generate a Figure 7 The shared psychology 730-7 shown, which represents the dynamic context and history of a conversation involving two participants, corresponds to some form of shared psychology of the user and the agent. For example, from this common conversation history, user preferences can be learned and relevant knowledge can be established about what works for whom in what situations. According to the present teachings, such information related to the shared psychology can be used by the utility learning engine 740-1 on layer 5740 to learn the utility or preferences of individual users or the preferences of a collective group of users with respect to different topics. The utility learning engine 740-1 can also learn the agent's preferences for communicating with specific types of users on different topics to understand which conversation strategies are effective for which users on which topics.
[0096] In some embodiments, historical conversation data from past conversations may be used to learn the utility, such as Figure 7Such training data may record when a user performed well in a conversation and the corresponding parses that led to good results, such as the context of such conversations, events that occurred during the conversation that led to satisfactory results. Such conversation contexts associated with good performance may reveal utility for future conversations and correspond to preferred conversation strategies that may be learned and used to guide future conversation management. In this way, utility learning engine 740-1 may learn from past conversations what works for whom, in what ways and under what circumstances. Additionally, utility learning may also rely on inferred shared mindsets, individual mindsets of users and agents, such as Figure 7 In some embodiments, the joint PG derived in layer 3 for dialogue management (discussed below) may also be accessed by the utility learning engine 740-1 to learn the utilities involved in these data.
[0097] Information from different sources may be provided to the utility learning engine 740-1 in order to capture conversation strategies that are effective or feasible for different users, in different conversations, and in different situations. As discussed herein, historical conversation data, shared psychology, individual mentalities inferred during conversations 730-3 and 730-6, and optionally joint PGs may be used by the utility learning engine 740-1 to learn utility with respect to individual users, user groups, different conversations on changing topics, different goals, and different conversation strategies in different contexts. Such learned utility may be stored in layer 5 (e.g., based on interests, preferences, goals, etc.) and may be accessed by the conversation manager 720-2 to adaptively drive the conversation based on the learned utility. As Figure 7 As shown, the dialog manager 720-2 manages the dialog based on information from different sources, including utilities learned by the utility learning engine 740-1 and stored in different databases, dialog models associated with expected topics related to the ongoing dialog, the current state of the ongoing dialog or dialog context information (e.g., joint PG), etc.
[0098] In order to determine how the ongoing conversation proceeds by relying on the conversation context information of the ongoing conversation, the conversation context from the agent psychology (730-3) and the user psychology (730-6) is used by the content understanding unit 720-1 on layer 3 to derive a combined conversation context represented as a joint PG 720-3. The context understanding unit 720-1 may also receive information from layer 2, which is derived by different processing units here based on multimodal sensor data from the user device or the agent device. For example, the information from layer 2 may provide information representing such parameters (such as the user's emotions): it can be considered when determining the next response to the user in the ongoing conversation. The parsing graphs (Lan-PG and STC-PG) from the agent and the user and the information from layer 2 can be analyzed by the context understanding unit 720-1 to generate a joint PG 720-3, thereby characterizing the context information of the current conversation state, which can then be used by the conversation manager 720-1 to determine the next response. In some embodiments, the joint PG 720-3 can also be used by the utility learning engine 740-1 to learn the utility.
[0099] In addition to the current conversation context, the conversation model also relies on conversation trees related to different topics such as education or health. Figure 7 In FIG. 1 , an exemplary dialogue tree related to tutoring in education on different topics is shown. It should be understood that such exemplary examples are not limiting, and dialogue models of any other topics belong to the scope of the present teaching. Figure 7 As shown, the dialogue tree related to coaching can be represented as coaching AOG 720-4. Each of such AOGs can correspond to a specific coaching task for a specific topic and can be used by the dialogue manager 720-2 to drive a dialogue with the user on the topic.
[0100] According to the present teaching, in addition to the dialog trees oriented to specific expected tasks, the dialog model may also include non-taskoriented dialog trees, for example, Figure 7In some embodiments, when conducting a conversation with a user, the conversation manager 720-2 on layer 3 (720) relies on a conversation tree associated with one or more topics expected by the conversation, and drives the conversation with the user based on the user's previous response. Traditional systems follow pre-designed conversation trees and have little flexibility, which often frustrates human users and leads to a poor digital experience. For example, in the specific case of human-computer dialogue, the conversation may be stuck for a variety of reasons. In educational conversations, the user may not be able to get the right answer for several rounds and become distressed. In this case, if the machine agent continues to stick to the same topic by following the preset conversation tree, the user's engagement may be further reduced. According to the present teaching, different types of conversation trees, such as task-oriented conversation trees and non-task-oriented trees, can be adaptively explored in the same conversation to maintain the user's engagement in different situations. For example, by talking about other things, temporarily changing the topic that has frustrated the user, especially talking about things that are already known to be of interest to the user, may enable the agent to continue to attract the user's participation and may enable the user to eventually refocus on the initial expected topic. The Communication Intent Dialog Tree (denoted CI-AOG) provides alternative non-task-oriented dialogs that can be invoked during a context-based dialog.
[0101] Figures 9A-9B Examples of coaching AOGs and CI-AOGs are provided. Fig.9A An exemplary general counseling dialogue tree represented as a counseling AOG is shown. As discussed herein, a solid line node represents that its branches are related in an AND relationship. As shown in the figure, in this general counseling dialogue tree, the counseling dialogue includes a dialogue about the introduction of the problem, a dialogue related to the teaching itself, and a dialogue related to the summary of the learned content. Each dialogue here may include additional sub-dialogues. For example, for a dialogue used for teaching, it may include a sub-dialogue related to scaffolding and an additional sub-dialogue for testing, wherein "scaffolding" refers to such an educational process: wherein the teacher models, demonstrates how to solve problems for students, and takes a step back to provide support as needed. In this example, the scaffolding sub-dialogue may further include two different sub-dialogues, one providing hints to the user on the answer, and the other for prompting the user to provide an answer. The sub-dialogue for providing hints to the answer includes such dialogues: for providing hints to the user, for providing answers by the user, and for confirming the user's answer. The sub-dialogue for prompting the user to answer may further include such dialogues: for prompting the user to provide an answer, for providing an answer by the user, and for making corrections to the user's answer. Other branches may also have multiple levels of sub-dialogues in order to achieve the goals of coaching.
[0102] According to the present teaching, a communication intention dialogue can be conducted based on a non-task-oriented dialogue tree according to some related CI-AOG. There may be different types of CI-AOGs corresponding to different situations. Fig. 9B Different exemplary CI-AOGs are shown. For example, there is a CI-AOG for social greetings, which can branch into different greetings, such as greeting (1) to greeting (t), and for social thanks AOGs, similarly branching into different forms of thanks, such as thanks (1)...welcome (t), etc. These AOGs can be used in conjunction with conversations that are intended to, for example, enhance the user experience (e.g., by first greeting the user, or even chatting first to put the user at ease), or, for example, encourage user participation, e.g., when the user does well, the agent can thank the user to encourage continued participation.
[0103] There may also be different CI-AOGs for situations when exception handling is required. Fig. 9B Two exemplary exception handling AOGs are shown: one for the exception of not understanding, i.e., the situation where the agent does not understand the user's answer; and, the timeout exception handling, e.g., the situation where the user does not answer the question within a given time period. When the corresponding exception is detected, the appropriate exception handling AOG may be called. For example, when it is detected that the user has not responded to the question from the agent or has not had a conversation with the agent within a period of time, the timeout AOG may be used to inject into the ongoing dialogue tree, and the agent may ask "Do you need more time?" as a gentle reminder. If the situation persists, the timeout AOG may be further traversed according to the situation and guide the agent to ask, "Are you still there?" or "Can I help you solve it?" Despite deviating from the original conversation related to the expected topic, such an injected conversation can help re-engage the user when the initial conversation fades out.
[0104] In some embodiments, a conversation with a communication intent (CI) can be adaptively established based on what is observed from the conversation scene. As another example, when greeting a user (by invoking a social greeting CI-AOG), based on what is observed from the user or the conversation scene, a greeting can be adaptively determined based on, for example, a joint PG constructed by the context understanding unit 720-1 based on what is going on in the conversation. For example, if the user is observed wearing a yellow T-shirt (e.g. Figure 7 As shown, based on the information detected from layer 2 according to the multimodal sensor data, understood by the context understanding unit 720-1), the greeting from the agent can utilize this observation and design a greeting such as "Good morning! Your T-shirt looks as bright as the sunshine."
[0105] Changing the topic of conversation requires switching from one dialog tree to another, and the switch is determined based on the observed content. Fig.10An exemplary situation according to an embodiment of the present teaching is provided, wherein a dialog is switched from a task-oriented dialog tree to a non-task-oriented dialog tree. Fig.10 It can be seen that the dialogue thread with the user in the coaching project (task-oriented or domain-oriented dialogue) can be based on the coaching AOG (for domain-oriented or task-oriented dialogue control) and some CI-AOG (for domain-independent or non-task-oriented dialogue control). In this example, the configured domain-oriented dialogue tree is the coaching project, so the coaching AOG is used to drive the task-oriented conversation. Whenever appropriate, the dialogue manager 720-2 can also use CI-AOG to inject non-task-oriented conversations with the user. Fig.10 As shown in FIG. 7 , before entering the domain-specific topic, the dialog manager 720-2 may decide to start with a friendly greeting (non-task or domain-independent conversation). For example, it may rely on the social greeting CI-AOG to say a certain greeting to the user. In some embodiments, the selection of the greeting words may also be adaptively determined based on, for example, the user state, the surrounding situation of the dialog scene (which is represented by the joint PG based on information from layer 2), etc.
[0106] In the conversation thread, the conversation manager 720-2 may also use other CI-AOGs, such as social thank you AOG or exception handling AOG, when the situation of the conversation requires. If the user responds with the correct answer, the CI-AOG for encouragement (not shown in the figure) may be called, and appropriate words for praising the user, such as "Great!", may be used to inject a domain-independent conversation. Fig.10 In the example shown, in the second step of teaching the AOG, after the agent prompts the user, the automated conversation companion receives an answer that it does not understand because it is not written in the domain-specific conversation tree. Fig.10 As shown, an error handling or exception handling situation occurs, and the current session is open to the injected session. In this case, the dialog manager 720-2 calls the exception handling AOG for "not understood" and uses the AOG to drive the session for the next response to the user. In this case, in the dialog stack that records the history of the ongoing dialog, the dialog manager 720-2 pushes the next step onto the stack, which is about the exception handling for "not understood". The specific response below the exception handling of not understanding can be further derived based on, for example, the current dialog context characterized by the joint PG 720-3 and the utility / preference learned at layer 5.
[0107] In determining a response, the dialog manager 720-2 can use information from different sources and determine the next action (response) by maximizing certain gains, which is determined based on the expected utility learned by the utility learning engine 740-1. In some embodiments, the action or response can be determined by optimizing a function based on the context information of the dialog and the known user utility. An exemplary optimization scheme is given below:
[0108] a*=arg max EU(a|s t , pg 1...t )
[0109]
[0110] In this optimization scheme, the action marked with "a" is optimized, which corresponds to the action taken at time t+1 of the conversation, including the response or speech to the user. As can be seen from this exemplary formula, the optimized action is marked with "a*", which is calculated by the current state S at time t. t The action "a" at time t+1 is obtained by maximizing the expected utility (EU) over all possible actions and the joint PG containing the conversation context from time 1 to time t. The expected utility for each action a is denoted as EU(a|S t , P.G. 1,……,t ), which represents the situation in which, given the current state and the conversation background PG up to time t, the information state S t In some embodiments, the PG expressed in the above formula refers to Figure 7 The joint PG shown captures the overall information of the dialog state involving the agent and the user (not just the PG related to the user or the agent).
[0111] In the above EU(a|S t , P.G. 1 ,……,t ) formula, S t+1 Represents that it can be changed from the current state S by executing action a t The next state to reach. P(S t+1 |S t , P.G. 1 ,……,t , a) represents the current state S at time t when action a is executed t Arrival time t+1 next state S t+1 The probability of R(S t+1 ) represents the reward achieved by traversing the path of the subdialog associated with such an action: which, when executed, produces the next state S t+1Such rewards may be learned from data related to past conversations and outcomes. For example, if following a particular path in the past has produced satisfactory outcomes in particular situations, then a higher reward may be provided if the same path is explored in the current conversation. Such higher rewards may also be tied to the similarity of users involved in such past conversations to the users of the current conversation. Such reward values may be learned by the utility learning engine 740-1 based on past conversation data, and the results made accessible (as utilities) by the conversation manager 720-2 as discussed herein.
[0112] It can be seen from the above exemplary formula that given the current state S t and historical dialogue background PG 1 ,……,t In the case of action a, the expected utility EU(a|S t ,PG 1,……,t ), which is further formulated in a recursive form as MaxEU(a t+2 |S t+1 , P.G. 1,……,t+1 ) is visible. That is, this part looks one step further ahead from the current step and sees what would happen if the current action a were taken, given the state S achieved by executing the action at time t+1 t+1 and dialogue background PG 1,……,t+1 If action a is taken at time t+2 t+2 , what is the expected utility to be achieved. In this way, the optimization of a at time t+1 also takes into account whether this action a will also lead to the forward-looking maximization of expected utility. The forward-looking span can be specified, for example, looking forward three steps, that is, recursing three levels deep. Such experimental parameters can be adjusted based on application requirements.
[0113] In the above formula, there may also be parameters. For example, the current probability and the forward-looking expected utility may be weighted using different weights. In the above exemplary formula, the forward-looking expected utility is weighted using the gamma coefficient. Additional parameters, such as the alpha coefficient, may be used as the probability P(S t+1 |S t , P.G. 1 ,……,t , weights of a). Such optimized weighting coefficients may also be adaptively adjusted based on, for example, machine learning (eg, utility learning engine 740-1).
[0114] The expected utility optimized according to the exemplary formula above may also be accumulated over time based on continuous learning. As discussed herein, the utility learning engine 740-1 learns based on actual conversation data, and in such learning, rewards may also be learned based on, for example, the results of past conversations. For example, if a particular conversation path (including actions, states, and PGs) traversed in past conversations achieves satisfactory results, such as shorter learning times and good test results on the coached concepts, under a particular PG, along these past paths, actions along specific states may be assigned higher rewards. Similarly, past conversation paths (including actions, states, and joint PGs) that achieve poor results may be assigned lower rewards.
[0115] In some embodiments, such learned utilities or preferences (e.g., in the form of reward scores) about past conversation paths may correspond to discrete points in feature space, i.e., for each discrete point in the space that characterizes a particular state along a particular path associated with a particular conversation, there is an associated reward score. In some embodiments, such discrete points may be used to interpolate a continuous utility function via fitting a continuous function, which may then be used by the conversation manager 730-1 to determine how the conversation is progressing by searching for points in the space that result in an upward climb toward a maximum point. Fig.11 An exemplary continuous function representing an expected utility distribution projected into a two-dimensional space is shown in accordance with an embodiment of the present teachings.
[0116] If Fig.11 It can be seen that what is projected in the 2D space shown is a continuous function, which corresponds to the expected utility function learned by the utility learning engine 740-1 related to the dialogue logic of teaching users to assemble Lego toys. In the original high-dimensional space where this expected utility function is learned, the features along different dimensions can correspond to different observations or states of the dialogue. The value of this high-dimensional expected utility function at each point in the high-dimensional space represents the utility level at the coordinate point, that is, the utility level (or degree of preference) under the condition of given feature values along the dimension (they can be different dialogue states, background parameters, emotional / intention parameters or actions). When such an expected utility function in the high-dimensional space is projected into the 2D space, the relative level of the utility level at different points is essentially retained, although the feature values of each utility level can also become compressed at a more semantic level. As shown in the figure, the 2D projection of the expected utility function related to the Lego tutoring dialogue has multiple peak points, trough points and between these points. The higher the value on the projection function, the higher the utility level or degree of preference. Each point on the projection function corresponds to a particular dialog state, and any next action taken in response to the particular dialog state results in a movement along the projection function from the original point to a nearby point.
[0117] For example, we can see that Fig.11 At the bottom of the 2D projection of the exemplary expected utility function, there is a set of unassembled Lego parts, representing the initial state of the coaching thread, and corresponding to a low utility level (i.e., a lower degree of preference). Based on this function, the goal of the coaching thread is to reach the highest peak point, which represents a fully assembled Lego toy with all parts assembled together (see the second from the right in the top row with partially or completely assembled Lego toy parts). There are other peak points corresponding to partially assembled Lego toys. There are also other peak points, each corresponding to a suboptimal result of a partial or nearly complete assembly of a Lego toy. For example, the peak point on the far right corresponds to a less fully assembled Lego toy, in which the only parts that have not yet been assembled are the front wheels and the top parts. The process of climbing from the starting point corresponding to the initial state of the thread along the contour of the projected continuous function to the highest peak point corresponds to the conversation process. At each point, the next action (e.g., in response to a user in the conversation) can be determined by maximizing the probability of reaching the highest peak point or peak points.
[0118] In this learned utility space, when a conversation thread reaches a specific state with a known PG, it can be mapped to a corresponding point in the learned utility space, and the next response can then be determined, which will enable the conversation to move in the direction of the peak point along the continuous utility function in the utility space. For example, in order to determine the next action, the maximum derivative of the function can be calculated, and the action related to the maximum derivative can be taken as the next action, which will maximize the expected utility according to the continuous utility function. In this way, the learned utility, although discrete, can be used to construct a continuous utility function, allowing the dialogue manager to adaptively determine how the conversation proceeds. The better the learned utility function and adaptive dialogue performance are when more conversation data is collected and used for training to learn the expected utility.
[0119] like Fig.11 The learning of expected utility shown may also be incorporated into the look-ahead capability. With the collected past conversation data, as such look-ahead becomes available, such knowledge may be learned and embedded into the learned expected utility. In addition, as discussed herein, based on information embedded not only from the shared psychology from layer 4 (which includes knowledge and interaction history from past and ongoing conversations, which derive the conversation context from agent psychology and user psychology, i.e., STC-PG and Lan-PG), but also from the joint PG 720-3 (which also directly embeds STC-PG and LAN-PG, as well as multimodal data analysis results from layer 2), the utility learning engine 740-1 learns the expected utility, which is the result of multi-faceted considerations and constitutes a rich model that makes adaptive conversation possible.
[0120] As discussed herein, the utility learned from the dialog data may further include a look-ahead capability that may better maximize the expected utility of each state and avoid local minima in the utility function space. When the learned expected utility has built-in look-ahead, at each step, it further facilitates the dialog manager 720-2 to achieve enhanced adaptability and performance. Fig.12 It is shown how the utility of learning makes it possible to implement an improved decision-making process in an adaptive dialogue strategy according to an embodiment of the present invention. As shown in the figure, at time t (or in a small window t+Δ, which represents the resolution of making dialogue decisions), decisions related to the dialogue are made based on the past PG that occurred in the time period [0,...,t] and the future PG in the time period [t,...,t+τ], where the PG in the future time period [t,...,t+τ] corresponds to the forward-looking time period. As shown in this example, the forward-looking time range includes multiple possible steps starting from the current time t. In this case, the optimal dialogue decision is made based on the expected utility value maximized over all possible actions, including past actions embedded in the current state and the current PG (including all previous states and actions) and all possible future actions within a specific forward-looking time range.
[0121] Fig.13 FIG. 7 is a flow chart of an exemplary process of an automatic conversation companion 700 according to an embodiment of the present teaching. As the conversation process involves forward and backward steps between the user and the automatic conversation companion, Fig.13 The illustrated process is shown as a loop, where the agent device first receives an instruction from the user interaction engine 140 (i.e., the backend system of the agent device) at 1305 to present a response to the user. The response may correspond to an initial message from the agent to the user when the user has just appeared, or the response may be a message in response to a previous utterance from the user. The instruction for presenting a response may be for a verbal response, i.e., a verbal expression spoken to the user, a visual expression while speaking the verbal response (e.g., having a facial expression such as a smiley face), and / or an instruction related to implementing a physical action (e.g., raising the left arm to express excitement while speaking the verbal response). Based on the instruction, the agent device presents the response to the user at 1310. Based on the presented response from the agent to the user, the agent dialog context 730-3 (Lan-PG, STC-PG) of layer 4 is updated at 1315.
[0122] After the user receives the agent response, the user may further respond to the agent's message, and such further response from the user may be captured via a multimodal sensor located on the user device or located on the agent device. Such multimodal sensor data related to the user response is received by a processing unit in layer 2 at 1320. As discussed herein, the multimodal sensor data may include auditory signals that capture the user's voice and / or ambient sounds in the conversation environment. The multimodal sensor data may also include visual data that captures, for example, the user's facial expressions, the user's body movements, objects in the surrounding conversation environment, etc. In some embodiments, the multimodal sensor data may also include tactile sensor data that captures information related to the user's movement.
[0123] Then, at 1325, the received multimodal sensor data is analyzed by various components on layer 2 (e.g., 710-1, 710-2, ..., 710-3) to determine, for example, what the user said, the tone of the user's response, the user's facial expression, the user's gesture, what is in the conversation environment, what changes have occurred in the conversation environment due to the user's actions, the sound of the environment, the user's emotions / intentions, etc. The analysis results are then used at 1330 to update the conversation context associated with the user, i.e., the Lan-PG and STC-PG in 730-6 located in layer 4. Based on the updated agent conversation context and user conversation context, the shared psychological representation of the conversation is then updated accordingly at 1335. Based on the updated shared psychology, the context understanding unit 720-1 in layer 3 then analyzes information from different sources at 1340 to understand the current conversation state, thereby deriving an updated joint PG, wherein such information includes the updated conversation context of the agent and the user and the analyzed conversation surroundings, such as the user's emotions / intentions, etc.
[0124] Based on the updated shared psychology and the newly updated joint PG, the utility learning engine 740-1 in layer 5 performs machine learning at 1345 to derive updated utilities or preferences. Based on the discrete utilities learned from past conversation history, the discrete utilities are used to derive or update the continuous expected utility function at 1350. Based on the updated expected utility function, the joint PG, and the conversation model, the conversation manager 720-2 determines at 1355 a response a* selected from all actions that can be reached from the current state of the conversation, because given the current conversation state (captured by the joint PG and the user state information from layer 2), a* maximizes the expected utility function EU. Based on the determined response a*, an indication for presenting the agent response is generated at 1360 and sent to the agent device for presentation. The process then returns to 1305 for the next cycle.
[0125] Fig.141 is a schematic diagram of an exemplary mobile device architecture that can be used to implement a particular system of the present teachings according to various embodiments. In this example, the user device on which the present teachings are implemented corresponds to mobile device 1400, which includes but is not limited to smart phones, tablet computers, music players, handheld game consoles, global positioning system (GPS) receivers, and wearable computing devices (such as glasses, watches, etc.) or other form factors. Mobile device 1400 includes one or more central processing units (CPUs) 1440, one or more graphics processing units (GPUs) 1430, a display 1420, a memory 1460, a communication platform 1410 such as a wireless communication module, a storage 1490, and one or more input / output (I / O) devices 1440. Any other suitable components, including but not limited to a system bus or a controller (not shown) may also be included in mobile device 1400. As shown in FIG. Fig.14 As shown, a mobile operating system 1470 (e.g., iOS, Android, Windows Phone, etc.) and one or more applications 1480 may be loaded from storage 1490 into memory 1460 for execution by CPU 1440. Application 1480 may include a browser or any other suitable mobile app for managing a conversation system on mobile device 1400. Application interaction may be implemented via I / O device 1440 and provided to the automatic conversation companion via network 120.
[0126] In order to realize the various modules, units and functions thereof introduced in the present disclosure, a computer hardware platform can be used as a hardware platform for one or more than one element introduced here. The programming language of hardware elements, operating systems and such computers is traditional in nature, and it is assumed that those skilled in the art are sufficiently familiar with them so that these technologies are adapted to the present teachings introduced here. A computer with a user interface element can be used to realize a personal computer (PC) or other types of workstations or terminal devices, but, if programmed appropriately, the computer can also be run as a server. It is believed that those skilled in the art are familiar with the structure, programming and general operation of such computer equipment, and therefore, the accompanying drawings may be self-explanatory.
[0127] Fig.1515 is a schematic diagram of an exemplary computing device architecture that can be used to implement a specific system for implementing the present teaching according to various embodiments. This specific system for implementing the present teaching has a functional block diagram of a hardware platform, which includes a user interface element. The computer can be a general-purpose computer or a special-purpose computer. Both can be used to implement the specific system for the present teaching. Such a computer 1500 can be used to implement any component of a conversation or dialog management system as described herein. For example, a conversation management system can be implemented on a computer such as computer 1500, via its hardware, software program, firmware, or a combination thereof. Although only one such computer is shown for convenience, the computer functions related to the conversation management system described herein can be implemented in a distributed manner on several similar platforms, thereby distributing the processing load.
[0128] For example, the computer 1500 includes a COM port 1550 connected to a network connected thereto to facilitate data communications. The computer 1500 also includes a central processing unit (CPU) 1520 in the form of one or more processors for executing program instructions. The exemplary computer platform includes: an internal communication bus 1510; various forms of program memory and data storage (e.g., disk 1570, read-only memory (ROM) 1530, or random access memory (RAM) 1540), for various data files to be processed and / or communicated by the computer 1500 and possible program instructions to be executed by the CPU. The computer 1500 also includes an I / O component 1560 that supports input / output flows between the computer and other components therein (e.g., user interface elements 1580). The computer 1500 may also receive programming and data via network communications.
[0129] Therefore, embodiments of the dialog management method and / or other processes as outlined above may be implemented in a program. The program aspects of the present technology may be viewed as a "product" or "article of manufacture" typically in the form of executable code and / or associated data, which is carried on or implemented in a machine-readable medium. Tangible, non-transitory "memory" type media include any or all memory or other memory for a computer, processor, etc., or its associated modules, such as a variety of semiconductor memories, tape drives, disk drives, etc., which may provide storage for software programming at any time.
[0130] All or part of the software may sometimes be transmitted over a network (e.g., the Internet or various other telecommunications networks). For example, such transmission may enable the loading of software from one computer or processor to another (e.g., in connection with session management). Thus, another type of medium that may carry software elements includes optical, electrical, and electromagnetic waves, such as used through physical interfaces between local devices, through wired and optical fixed networks, and through various air links. The physical elements that carry such waves (e.g., wired or wireless links, optical links, etc.) are also considered to be media that carry software. As used herein, in addition to being limited to tangible "storage" media, terms such as computer or machine "readable media" refer to any medium that participates in providing instructions to a processor for execution.
[0131] Therefore, machine-readable media can take a variety of forms, including but not limited to tangible storage media, carrier media, or physical transmission media. Non-volatile storage media include, for example, optical or magnetic disks, such as any storage device in any computer, etc., which can be used to implement the system shown in the drawings or any of its components. Volatile storage media include dynamic memory, such as the main memory of such a computer platform. Tangible transmission media include: coaxial cables, copper wires and optical fibers, including wires that constitute the bus within the computer system. Carrier transmission media can take the form of electrical or electromagnetic signals or sound or light waves (such as those generated during radio frequency (RF) and infrared (IR) data communications). General forms of computer-readable media therefore include, for example, floppy disks, foldable disks, hard disks, magnetic tapes, any other magnetic media, CD-ROMs, DVDs or DVD-ROMs, any other optical media, punched card paper tapes, any other physical storage media with patterns of holes, RAMs, PROMs and EPROMs, flash EPROMs, any other memory chips or cartridges, carriers that transmit data or instructions, links or cables that transmit such carriers, or any other media from which a computer can read programming code and / or data. Many of these forms of computer readable media may be involved in carrying one or more sequences of one or more instructions to a physical processor for execution.
[0132] Those skilled in the art will appreciate that the present teachings are applicable to a variety of modifications and / or enhancements. For example, while the implementation of the various components described above can be implemented in a hardware device, it can also be implemented as a software-only solution, such as installed on an existing server. In addition, the fraudulent network detection technology disclosed herein is also implemented as firmware, a firmware / software combination, a firmware / hardware combination, or a hardware / firmware / software combination.
[0133] Although the present teaching and / or other examples have been described above, it will be apparent that various modifications may be made thereto, and the subject matter disclosed herein may be implemented in various forms and examples, and the present teaching may be applied in various applications, only some of which are described herein. The appended claims are intended to claim any and all applications, modifications and variations that fall within the true scope of the present teaching.
Claims
1. A method implemented on at least one machine, the machine comprising at least one processor, a memory, and a communication platform capable of connecting to a network, the method being used for an automatic conversation companion, comprising: Receiving multimodal input data associated with a user participating in a conversation about a specific topic in a conversation scenario, wherein: The multimodal input data captures the message from the user and the information surrounding the conversation scene; the multimodal input data includes at least audio data, visual data, text data and tactile data; Analyze multimodal input data to extract features that characterize the user state and relevant information associated with the conversation scenario; Generate a current state of the conversation based on the user state and relevant information associated with the conversation scenario, wherein the current state of the conversation describes the context of the conversation; determining a response message to be transmitted to the user in response to the message based on a dialog tree corresponding to the dialog about the specific topic, a current state of the dialog, and a utility learned based on historical dialog data and the current state of the dialog; The step of analyzing the multimodal input data to extract features includes at least one of the following: Analyze audio data to identify: the content of the message from the user, indicating the emotions conveyed in the message, the characteristics of the message, and the audio sounds in the conversation scene; Analyze the visual data to obtain information about the dialogue scene, including at least one of the following: The user's facial expressions, the emotions associated with the facial expressions, the actions performed by the user, and one or more objects in the conversation scene and their spatial relationships; The steps to determine the response message include: determining a plurality of actions associated with a node in a dialog tree corresponding to a current state of the dialog; evaluating a reward associated with each of the plurality of actions; and Based on the utility, an action is selected from the plurality of actions as a response message, wherein the selected action corresponds to a maximum utility according to the learned utility.
2. The method according to claim 1, wherein: The steps to generate the current state of the conversation include: Based on the content of the message from the user and the dialogue tree, a language parsing graph (Lan-PG) of the dialogue is obtained; Based on the actions and dialogue trees performed by the user, a space-time-causal parsing graph (STC-PG) is obtained; as well as Based on Lan-PG, STC-PG and information around the dialog scene, a joint analysis graph (Joint-PG) is generated.
3. The method of claim 1, further comprising a machine learning of utility, comprising: Access historical conversation data related to past conversations; Based on historical conversation data, the utility is obtained through machine learning; Based on the current state of the conversation, the utility is updated dynamically.
4. The method according to claim 1, wherein: Utility is recursively learned through evaluation of rewards associated with the plurality of actions and look-ahead future rewards for each of the plurality of actions.
5. A system for an automated conversation companion, comprising: A device configured to receive multimodal input data associated with a user participating in a conversation on a specific topic in a conversation scenario, wherein: The multimodal input data captures the message from the user and the information surrounding the conversation scene; the multimodal input data includes at least audio data, visual data, text data and tactile data; The user interaction engine is configured to: Analyze multimodal input data to extract features that characterize the user state and relevant information associated with the conversation context, and Based on the user state and relevant information associated with the conversation scenario, generating a current state of the conversation, wherein the current state of the conversation describes the context of the conversation; and a dialog manager configured to determine a response message to be transmitted to the user in response to the message based on a dialog tree corresponding to the dialog about the particular topic, a current state of the dialog, and a utility learned based on historical dialog data and the current state of the dialog; The step of analyzing the multimodal input data to extract features representing the user state comprises at least one of the following: Analyze audio data to identify: the content of the message from the user, indicating the emotions conveyed in the message, the characteristics of the message, and the audio sounds in the conversation scene; Analyze the visual data to obtain information about the dialogue scene, including at least one of the following: The user's facial expressions, the emotions associated with the facial expressions, the actions performed by the user, and one or more objects in the conversation scene and their spatial relationships; The dialog manager is further configured to: determining a plurality of actions associated with a node in a dialog tree corresponding to a current state of the dialog; evaluating a reward associated with each of the plurality of actions; and Based on the utility, an action is selected from the plurality of actions as a response message, wherein the selected action corresponds to a maximum utility according to the learned utility.
6. The system according to claim 5, wherein: The current state of the conversation includes: A linguistic parsing graph (Lan-PG) of a conversation generated based on the content of the message from the user and the conversation tree; A spatial-temporal causal parsing graph (STC-PG) generated based on the actions and dialogue trees performed by the user; as well as A joint analysis graph (Joint-PG) is generated based on Lan-PG, STC-PG and information around the conversation scene.
7. The system of claim 5, further comprising a utility learning engine configured to perform machine learning of the utility by: Access historical conversation data related to past conversations; Based on historical conversation data, the utility is obtained through machine learning; Based on the current state of the conversation, the utility is updated dynamically.
8. The system according to claim 5, wherein: Utility is recursively learned through evaluation of rewards associated with the plurality of actions and look-ahead future rewards for each of the plurality of actions.
Citation Information
Cited By
Question and answer engagement assessment method and system based on duration hidden state model
CN122986043A
