Agent system

The agent system addresses the challenge of robotic interaction by using emotion determination and interaction units to understand and respond to user emotions, enhancing user engagement and interaction quality.

JP2024154419APending Publication Date: 2024-10-30SOFTBANK GROUP CORP

Patent Information

Application Number
JP2024066853
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-18
Filing Date
2024-04-17
Publication Date
2024-10-30

AI Technical Summary

Technical Problem

Existing technologies lack the ability for robots to understand and interact with users based on their emotions, leading to inadequate responses to user reactions.

Method used

An agent system that includes an emotion determining unit to identify user and agent emotions, and an interaction unit to output appropriate utterances based on these emotions, utilizing a combination of emotion engines and large language models to enhance user interaction.

Benefits of technology

The system enables robots to engage in natural and empathetic interactions by recognizing user emotions and adjusting responses accordingly, improving user experience and affinity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154419000001_ABST
    Figure 2024154419000001_ABST
Patent Text Reader

Abstract

To provide an agent system for interacting with a user by understanding the user's emotion and its own emotion.SOLUTION: An agent system includes an emotion engine for determining a user's emotion or an agent's emotion, and a dialogue processing part for outputting utterance content of the agent for interacting with the user in a mode according to the emotion determined by the emotion engine.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an agent system. [Background technology]

[0002] Patent Document 1 discloses a technology for determining an appropriate robot behavior for a user's state. The conventional technology in Patent Document 1 recognizes the user's reaction when the robot executes a specific action, and if the robot is unable to determine an action for the recognized user's reaction, it updates the robot's behavior by receiving information about an action suitable for the recognized user's state from a server. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 6053847 Summary of the Invention [Problem to be solved by the invention]

[0004] An object of the present invention is to provide an agent system that understands the emotions of a user and the agent system itself and can converse with the user. [Means for solving the problem]

[0005] According to a first aspect of the present invention, there is provided an agent system including an emotion determination unit that determines an emotion of a user or an emotion of an agent, and a dialogue processing unit that outputs an utterance of the agent for dialogue with the user in a manner corresponding to the emotion determined by the emotion determination unit. [Brief description of the drawings]

[0006] [Figure 1] 1 illustrates a schematic diagram of an example of a system 5 according to the present embodiment. [Diagram 2]2 shows a schematic functional configuration of the robot 100. [Diagram 3] 1 shows an example of an operation flow of the robot 100. [Figure 4] 1 illustrates an example of a hardware configuration of a computer 1200. [Diagram 5] 3 shows an emotion map 300 onto which multiple emotions are mapped. [Figure 6] 9 shows an emotion map 900 onto which multiple emotions are mapped. [Figure 7] 2 shows an outline of the functional configuration of the agent system. [Figure 8] An example of the operation of the agent system is shown. [Figure 9] An example of the operation of the agent system is shown. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] The present invention will be described below through embodiments of the invention, but the following embodiments do not limit the scope of the invention according to the claims. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.

[0008] FIG. 1 is a schematic diagram of an example of a system 5 according to the present embodiment. The system 5 includes a robot 100, a robot 101, a robot 102, and a server 300. A user 10a, a user 10b, a user 10c, and a user 10d are users of the robot 100. A user 11a, a user 11b, and a user 11c are users of the robot 101. A user 12a and a user 12b are users of the robot 102. In the description of the present embodiment, the user 10a, the user 10b, the user 10c, and the user 10d may be collectively referred to as the user 10. The user 11a, the user 11b, and the user 11c may be collectively referred to as the user 11. The user 12a and the user 12b may be collectively referred to as the user 12. The robot 101 and the robot 102 have substantially the same functions as the robot 100. Therefore, the system 5 will be described by mainly focusing on the functions of the robot 100.

[0009] The robot 100 converses with the user 10 and provides images to the user 10. At this time, the robot 100 cooperates with a server 300 or the like with which it can communicate via a communication network 20 to converse with the user 10 and provide images, etc. to the user 10. For example, the robot 100 not only learns appropriate conversation by itself, but also cooperates with the server 300 to learn how to have a more appropriate conversation with the user 10. The robot 100 also causes the server 300 to record captured image data, etc. of the user 10, and requests the server 300 for the image data, etc. as necessary, and provides the data, etc. to the user 10.

[0010] The robot 100 also has an emotion value that indicates the type of its own emotion. For example, the robot 100 has emotion values ​​that indicate the intensity of each of the emotions of "joy", "anger", "sorrow", "pleasure", "discomfort", "relief", "anxiety", "sadness", "excitement", "concern", "relief", "fulfillment", "emptiness", and "neutral". When the robot 100 converses with the user 10 in a state where the emotion value of excitement is high, for example, the robot 100 utters sounds at a fast speed. In this way, the robot 100 can express its own emotion through actions.

[0011] Furthermore, the robot 100 may be configured to match the sentence generation model with the emotion engine, thereby determining the behavior of the robot 100 corresponding to the emotion of the user 10. Specifically, the robot 100 may be configured to recognize the behavior of the user 10, determine the emotion of the user 10 regarding the user's behavior, and determine the behavior of the robot 100 corresponding to the determined emotion.

[0012] More specifically, when the robot 100 recognizes the behavior of the user 10, the robot 100 automatically generates the behavioral content that the robot 100 should take in response to the behavior of the user 10, using a preset sentence generation model. The sentence generation model may be interpreted as an algorithm and calculation for automatic dialogue processing by text. The sentence generation model is described in, for example, JP 2018-081444 A and chatGPT (Internet search<URL: https: / / openai.com / blog / chatgpt> ) and thus detailed description thereof will be omitted. Such a sentence generation model is configured using a large language model (LLM).

[0013] As described above, in this embodiment, by combining a large-scale language model and an emotion engine, it is possible to reflect the emotions of the user 10 and the robot 100 and various linguistic information in the behavior of the robot 100. In other words, according to this embodiment, by combining a sentence generation model and an emotion engine, a synergistic effect can be obtained.

[0014] The robot 100 also has a function of recognizing the behavior of the user 10. The robot 100 recognizes the behavior of the user 10 by analyzing a facial image of the user 10 acquired by a camera function and a voice of the user 10 acquired by a microphone function. The robot 100 determines the behavior to be performed by the robot 100 based on the recognized behavior of the user 10, etc.

[0015] The robot 100 stores rules that define actions to be taken by the robot 100 based on the emotions of the user 10, the emotions of the robot 100, and the actions of the user 10, and performs various actions according to the rules.

[0016] Specifically, the robot 100 has reaction rules for determining the behavior of the robot 100 based on the emotions of the user 10, the emotions of the robot 100, and the behavior of the user 10. For example, the reaction rules define the behavior of the robot 100 as "laughing" when the behavior of the user 10 is "laughing". The reaction rules also define the behavior of the robot 100 as "apologizing" when the behavior of the user 10 is "angry". The reaction rules also define the behavior of the robot 100 as "answering" when the behavior of the user 10 is "asking a question". The reaction rules also define the behavior of the robot 100 as "calling out" when the behavior of the user 10 is "sad".

[0017] When the robot 100 recognizes the behavior of the user 10 as "anger" based on the reaction rules, the robot 100 selects the behavior of "apologizing" defined in the reaction rules as the behavior to be executed by the robot 100. For example, when the robot 100 selects the behavior of "apologizing", the robot 100 performs the motion of "apologizing" and outputs a voice expressing the word "apologize".

[0018] In addition, when the emotion of the robot 100 is "normal" (i.e., "happy" = 0, "anger" = 0, "sad" = 0, and "happy" = 0) and the condition that the state of the user 10 is "alone and looks lonely" is satisfied, it is defined that the emotion of the robot 100 will change to "worried" and that the robot 100 will be able to execute the action of "calling out."

[0019] When the robot 100 recognizes based on the reaction rule that the current emotion of the robot 100 is "normal" and that the user 10 is alone and seems lonely, the robot 100 increases the emotion value of "sadness" of the robot 100. In addition, the robot 100 selects the action of "calling out" defined in the reaction rule as the action to be performed toward the user 10. For example, when the robot 100 selects the action of "calling out", the robot 100 converts the words "What's wrong?", which indicate concern, into a worried voice and outputs it.

[0020] The robot 100 also transmits to the server 300 user reaction information indicating that this action has elicited a positive reaction from the user 10. The user reaction information includes, for example, the user action of "getting angry," the robot 100 action of "apologizing," the fact that the reaction of the user 10 was positive, and attributes of the user 10.

[0021] The server 300 stores the user reaction information received from the robot 100. The server 300 receives and stores user reaction information not only from the robot 100, but also from each of the robots 101 and 102. The server 300 analyzes the user reaction information from the robots 100, 101, and 102, and updates the reaction rules.

[0022] The robot 100 receives the updated reaction rules from the server 300 by inquiring about the updated reaction rules from the server 300. The robot 100 incorporates the updated reaction rules into the reaction rules stored in the robot 100. This allows the robot 100 to incorporate the reaction rules acquired by the robot 101, the robot 102, etc. into its own reaction rules.

[0023] 2 shows a schematic functional configuration of the robot 100. The robot 100 includes a sensor unit 200, a sensor module unit 210, a storage unit 220, a user state recognition unit 230, an emotion determination unit 232, a behavior recognition unit 234, a behavior determination unit 236, a memory control unit 238, a behavior control unit 250, a control target 252, and a communication processing unit 280.

[0024] The control target 252 includes a display device, a speaker, LEDs in the eyes, and motors for driving the arms, hands, legs, etc. The posture and gestures of the robot 100 are controlled by controlling the motors of the arms, hands, legs, etc. Some of the emotions of the robot 100 can be expressed by controlling these motors. In addition, the facial expressions of the robot 100 can also be expressed by controlling the light emission state of the LEDs in the eyes of the robot 100. The posture, gestures, and facial expressions of the robot 100 are examples of the attitude of the robot 100.

[0025] The sensor unit 200 includes a microphone 201, a 3D depth sensor 202, a 2D camera 203, and a distance sensor 204. The microphone 201 continuously detects sound and outputs sound data. The microphone 201 may be provided on the head of the robot 100 and may have a function of performing binaural recording. The 3D depth sensor 202 detects the contour of an object by continuously irradiating an infrared pattern and analyzing the infrared pattern from infrared images continuously captured by the infrared camera. The 2D camera 203 is an example of an image sensor. The 2D camera 203 captures an image using visible light and generates visible light video information. The distance sensor 204 detects the distance to an object by irradiating, for example, a laser or ultrasonic waves. The sensor unit 200 may also include a clock, a gyro sensor, a touch sensor, a sensor for motor feedback, and the like.

[0026] 2, the components other than the control target 252 and the sensor unit 200 are examples of components included in a behavior control system included in the robot 100. The behavior control system of the robot 100 controls the control target 252.

[0027] The storage unit 220 includes a reaction rule 221 and history data 222. The history data 222 includes the emotion value and behavior history of the user 10 in the past. The emotion value and behavior history are recorded for each user 10, for example, by being associated with the identification information of the user 10. At least a part of the storage unit 220 is implemented by a storage medium such as a memory. It may include a person DB that stores the face image of the user 10, attribute information of the user 10, and the like. Note that, among the components of the robot 100 shown in FIG. 2, the functions of the components other than the control target 252, the sensor unit 200, and the storage unit 220 can be realized by the CPU operating based on a program. For example, the functions of these components can be implemented as the operation of the CPU by the operating system (OS) and a program operating on the OS.

[0028] The sensor module unit 210 includes a voice emotion recognition unit 211, a speech understanding unit 212, a facial expression recognition unit 213, and a face recognition unit 214. Information detected by the sensor unit 200 is input to the sensor module unit 210. The sensor module unit 210 analyzes the information detected by the sensor unit 200, and outputs the analysis result to the user state recognition unit 230.

[0029] The voice emotion recognition unit 211 of the sensor module unit 210 analyzes the voice of the user 10 detected by the microphone 201 and recognizes the emotion of the user 10. For example, the voice emotion recognition unit 211 extracts feature amounts such as frequency components of the voice and recognizes the emotion of the user 10 based on the extracted feature amounts. The speech understanding unit 212 analyzes the voice of the user 10 detected by the microphone 201 and outputs text information representing the content of the utterance of the user 10.

[0030] The facial expression recognition unit 213 recognizes the facial expression and emotion of the user 10 from the image of the user 10 captured by the 2D camera 203. For example, the facial expression recognition unit 213 recognizes the facial expression and emotion of the user 10 based on the shapes, positional relationship, etc. of the eyes and mouth.

[0031] The face recognition unit 214 recognizes the face of the user 10. The face recognition unit 214 recognizes the user 10 by matching a face image stored in a person DB (not shown) with a face image of the user 10 captured by the 2D camera 203.

[0032] The user state recognition unit 230 recognizes the state of the user 10 based on the information analyzed by the sensor module unit 210. For example, the user state recognition unit 230 mainly performs processing related to perception using the analysis results of the sensor module unit 210. For example, it generates perceptual information such as "Daddy is alone" or "There is a 90% chance that Daddy is not smiling." It performs processing to understand the meaning of the generated perceptual information. For example, it generates semantic information such as "Daddy is alone and looks lonely."

[0033] The emotion determination unit 232 determines an emotion value indicating the emotion of the user 10 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230. For example, the information analyzed by the sensor module unit 210 and the recognized state of the user 10 are input to a pre-trained neural network to obtain an emotion value indicating the emotion of the user 10.

[0034] Here, the emotion value indicating the emotion of the user 10 is a value indicating the positive or negative emotion of the user. For example, if the emotion of the user is a cheerful emotion accompanied by a sense of pleasure or comfort, such as "joy", "pleasure", "comfort", "relief", "excitement", "relief", and "fulfillment", the value indicates a positive value, and the more cheerful the emotion, the larger the value. If the emotion of the user is an unpleasant emotion, such as "anger", "sorrow", "discomfort", "anxiety", "sorrow", "worry", and "emptiness", the value indicates a negative value, and the more unpleasant the emotion, the larger the absolute value of the negative value. If the emotion of the user is not any of the above ("neutral"), the value indicates 0.

[0035] Furthermore, the emotion determining unit 232 determines an emotion value indicating the emotion of the robot 100 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognizing unit 230 . The emotion value of the robot 100 includes emotion values ​​for each of a plurality of emotion categories, and is, for example, a value (0 to 5) indicating the strength of each of "happiness," "anger," "sorrow," and "pleasure."

[0036] Specifically, the emotion determination unit 232 determines an emotion value indicating the emotion of the robot 100 in accordance with a rule for updating the emotion value of the robot 100, which rule is determined in association with the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230.

[0037] For example, when the user state recognition unit 230 recognizes that the user 10 looks lonely, the emotion determination unit 232 increases the emotion value of "sadness" of the robot 100. Also, when the user state recognition unit 230 recognizes that the user 10 is smiling, the emotion determination unit 232 increases the emotion value of "joy" of the robot 100.

[0038] The emotion determining unit 232 may determine the emotion value indicating the emotion of the robot 100 by further considering the state of the robot 100. For example, when the battery level of the robot 100 is low or when the surrounding environment of the robot 100 is pitch black, the emotion value of "sadness" of the robot 100 may be increased. Furthermore, when the user 10 continues to talk to the robot 100 despite the battery level being low, the emotion value of "anger" may be increased.

[0039] The behavior recognition unit 234 recognizes the behavior of the user 10 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230. For example, the information analyzed by the sensor module unit 210 and the recognized state of the user 10 are input to a pre-trained neural network, the probability of each of a plurality of predetermined behavior classifications (for example, "laughing", "getting angry", "asking a question", "getting sad") is obtained, and the behavior classification with the highest probability is recognized as the behavior of the user 10.

[0040] As described above, in this embodiment, the robot 100 identifies the user 10 and acquires the contents of the user's utterance. When acquiring and using the contents of the utterance, the robot 100 obtains the necessary consent in accordance with laws and regulations from the user 10. The behavior control system of the robot 100 in this embodiment takes into consideration the protection of the personal information and privacy of the user 10.

[0041] The behavior determining unit 236 determines a behavior corresponding to the behavior of the user 10 recognized by the behavior recognizing unit 234 based on the current emotion value of the user 10 determined by the emotion determining unit 232, the history data 222 of past emotion values ​​determined by the emotion determining unit 232 before the current emotion value of the user 10 was determined, and the emotion value of the robot 100. In this embodiment, the behavior determining unit 236 uses one most recent emotion value included in the history data 222 as the past emotion value of the user 10, but the disclosed technology is not limited to this aspect. For example, the behavior determining unit 236 may use a plurality of most recent emotion values ​​as the past emotion value of the user 10, or may use an emotion value from a unit period ago, such as one day ago. In addition, the behavior determining unit 236 may determine a behavior corresponding to the behavior of the user 10 by further considering not only the current emotion value of the robot 100 but also the history of the past emotion values ​​of the robot 100. The behavior determined by the behavior determining unit 236 includes a gesture performed by the robot 100 or the contents of the speech of the robot 100 .

[0042] The behavior decision unit 236 according to this embodiment decides on the behavior of the robot 100 as a behavior corresponding to the behavior of the user 10, based on a combination of the past emotion value and the current emotion value of the user 10, the emotion value of the robot 100, the behavior of the user 10, and the reaction rules 221. For example, when the past emotion value of the user 10 is a positive value and the current emotion value is a negative value, the behavior decision unit 236 decides on a behavior for changing the emotion value of the user 10 to a positive value as a behavior corresponding to the behavior of the user 10.

[0043] The reaction rules 221 prescribe the behavior of the robot 100 according to a combination of the past emotion value and the current emotion value of the user 10, the emotion value of the robot 100, and the behavior of the user 10. For example, when the past emotion value of the user 10 is a positive value and the current emotion value is a negative value, and the behavior of the user 10 is sad, a combination of gestures and speech content when asking a question to encourage the user 10 with gestures is prescribe as the behavior of the robot 100.

[0044] For example, the reaction rule 221 defines behaviors of the robot 100 for all combinations of patterns of the emotion values ​​of the robot 100 (1296 patterns, which are the fourth power of six values ​​of "joy", "anger", "sorrow", and "pleasure", from "0" to "5"); combination patterns of the past emotion values ​​and the current emotion values ​​of the user 10; and behavior patterns of the user 10. That is, for each pattern of the emotion values ​​of the robot 100, behaviors of the robot 100 are defined according to the behavior patterns of the user 10 for each of a plurality of combinations of the past emotion values ​​and the current emotion values ​​of the user 10, such as negative values ​​and negative values, negative values ​​and positive values, positive values ​​and negative values, positive values ​​and positive values, negative values ​​and normal values, and normal values ​​and normal values. Note that the behavior determining unit 236 may transition to an operation mode in which the behavior of the robot 100 is determined using the history data 222, when the user 10 makes an utterance intending to continue a conversation from a past topic, such as "I want to talk about that topic we talked about last time." The reaction rules 221 may prescribe at least one of a gesture and a statement as the behavior of the robot 100 for each of the patterns (1296 patterns) of the emotion value of the robot 100. Alternatively, the reaction rules 221 may prescribe at least one of a gesture and a statement as the behavior of the robot 100 for each group of patterns of the emotion value of the robot 100.

[0045] The strength of each gesture included in the behavior of the robot 100 defined in the reaction rule 221 is determined in advance. The strength of each utterance included in the behavior of the robot 100 defined in the reaction rule 221 is determined in advance.

[0046] The memory control unit 238 determines whether or not to store data including the behavior of the user 10 in the history data 222 based on the predetermined behavior strength for the behavior determined by the behavior determination unit 236 and the emotion value of the robot 100 determined by the emotion determination unit 232. Specifically, when a total intensity value, which is the sum of the sum of the emotion values ​​for each of the multiple emotion classifications of the robot 100, the predetermined intensity for the gesture included in the behavior determined by the behavior determination unit 236, and the predetermined intensity for the speech content included in the behavior determined by the behavior determination unit 236, is equal to or greater than a threshold value, it is determined that data including the behavior of the user 10 is to be stored in the history data 222.

[0047] When the memory control unit 238 decides to store data including the behavior of the user 10 in the history data 222, it stores in the history data 222 the behavior determined by the behavior determination unit 236, information analyzed by the sensor module unit 210 from the present time up to a certain period of time ago (e.g., all peripheral information such as data on the sound, images, smells, etc. of the scene), and the state of the user 10 recognized by the user state recognition unit 230 (e.g., the facial expression, emotions, etc. of the user 10).

[0048] The behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236. For example, when the behavior determination unit 236 determines an behavior including speaking, the behavior control unit 250 outputs a sound from a speaker included in the control target 252. At this time, the behavior control unit 250 may determine the speaking speed of the sound based on the emotion value of the robot 100. For example, the behavior control unit 250 determines a faster speaking speed as the emotion value of the robot 100 increases. In this way, the behavior control unit 250 determines the execution form of the behavior determined by the behavior determination unit 236 based on the emotion value determined by the emotion determination unit 232.

[0049] The behavior control unit 250 may recognize a change in the user 10's emotion in response to the execution of the behavior determined by the behavior determination unit 236. For example, the change in emotion may be recognized based on the voice or facial expression of the user 10. Alternatively, the change in emotion may be recognized based on the detection of an impact by a touch sensor included in the sensor unit 200. When an impact is detected by the touch sensor included in the sensor unit 200, the emotion of the user 10 may be recognized as having worsened, or when the reaction of the user 10 is determined to be laughing or happy based on the detection result of the touch sensor included in the sensor unit 200, the emotion of the user 10 may be recognized as having improved. Information indicating the reaction of the user 10 is output to the communication processing unit 280.

[0050] In addition, after the behavior control unit 250 executes the behavior determined by the behavior determination unit 236 in the execution form determined according to the emotion of the robot 100, the emotion determination unit 232 further changes the emotion value of the robot 100 based on the user's reaction to the execution of the behavior. Specifically, the emotion determination unit 232 increases the emotion value of "happiness" of the robot 100 when the user's reaction to the behavior determined by the behavior determination unit 236 being performed on the user in the execution form determined by the behavior control unit 250 is not bad. In addition, the emotion determination unit 232 increases the emotion value of "sadness" of the robot 100 when the user's reaction to the behavior determined by the behavior determination unit 236 being performed on the user in the execution form determined by the behavior control unit 250 is bad.

[0051] Furthermore, the behavior control unit 250 expresses the emotion of the robot 100 based on the determined emotion value of the robot 100. For example, when the behavior control unit 250 increases the emotion value of "happiness" of the robot 100, the behavior control unit 250 controls the control object 252 to make the robot 100 perform a happy gesture. When the behavior control unit 250 increases the emotion value of "sadness" of the robot 100, the behavior control unit 250 controls the control object 252 to make the robot 100 assume a droopy posture.

[0052] The communication processing unit 280 is responsible for communication with the server 300. As described above, the communication processing unit 280 transmits user reaction information to the server 300. In addition, the communication processing unit 280 receives updated reaction rules from the server 300. When the communication processing unit 280 receives the updated reaction rules from the server 300, it updates the reaction rules 221.

[0053] The server 300 communicates between the robots 100, 101, and 102 and the server 300, receives user reaction information transmitted from the robot 100, and updates the reaction rules based on reaction rules that include actions that have received positive reactions.

[0054] Fig. 3 shows an example of an operation flow for determining an action of the robot 100. The operation flow shown in Fig. 3 is repeatedly executed. At this time, it is assumed that information analyzed by the sensor module unit 210 is input. Note that "S" in the operation flow indicates a step to be executed.

[0055] First, in step S100 , the user state recognition unit 230 recognizes the state of the user 10 based on the information analyzed by the sensor module unit 210 .

[0056] In step S102 , the emotion determination unit 232 determines an emotion value indicating the emotion of the user 10 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230 .

[0057] In step S103, the emotion determination unit 232 determines an emotion value indicating the emotion of the robot 100, based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230. The emotion determination unit 232 adds the determined emotion value of the user 10 to the history data 222.

[0058] In step S104 , the behavior recognition unit 234 recognizes a behavior classification of the user 10 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230 .

[0059] In step S106, the behavior determination unit 236 determines the behavior of the robot 100 based on a combination of the current emotional value of the user 10 determined in step S102 and the past emotional values ​​included in the history data 222, the emotional value of the robot 100, the behavior of the user 10 recognized by the behavior recognition unit 234, and the reaction rules 221.

[0060] In step S 108 , the behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determining unit 236 .

[0061] In step S110, the memory control unit 238 calculates a total intensity value based on the predetermined action intensities for the actions determined by the action determination unit 236 and the emotion value of the robot 100 determined by the emotion determination unit 232.

[0062] In step S112, the storage control unit 238 determines whether the total intensity value is equal to or greater than the threshold. If the total intensity value is less than the threshold, the process ends without storing data including the behavior of the user 10 in the history data 222. On the other hand, if the total intensity value is equal to or greater than the threshold, the process proceeds to step S114.

[0063] In step S114, the behavior determined by the behavior determination unit 236, the information analyzed by the sensor module unit 210 from the present time up to a certain period of time ago, and the state of the user 10 recognized by the user state recognition unit 230 are stored in the history data 222.

[0064] As described above, according to the robot 100, an emotion value indicating the emotion of the robot 100 is determined based on the user state, and whether or not to store data including the behavior of the user 10 in the history data 222 is determined based on the emotion value of the robot 100. This makes it possible to reduce the capacity of the history data 222 that stores data including the behavior of the user 10. For example, when the robot 100 determines that the user state 10 years from now is the same as that 10 years ago, the robot 100 can present to the user 10 all kinds of peripheral information, such as the state of the user 10 10 years ago (e.g., the facial expression, emotion, etc. of the user 10), and data on the sound, image, smell, etc. of the place.

[0065] Moreover, according to the robot 100, it is possible to make the robot 100 perform an appropriate action in response to the action of the user 10. Conventionally, the action of the user is classified, and the action including the facial expression and the appearance of the robot is determined. In contrast, the robot 100 determines the current emotional value of the user 10, and performs an action on the user 10 based on the past emotional value and the current emotional value. Therefore, for example, if the user 10 who was cheerful yesterday is depressed today, the robot 100 can make an utterance such as "You were cheerful yesterday, but what's wrong with you today?" The robot 100 can also make an utterance with gestures. For example, if the user 10 who was depressed yesterday is cheerful today, the robot 100 can make an utterance such as "You were depressed yesterday, but you look cheerful today, don't you?" For example, if the user 10 who was cheerful yesterday is more cheerful today than yesterday, the robot 100 can make an utterance such as "You're more cheerful today than yesterday. Has anything better happened than yesterday?" In addition, for example, the robot 100 can say to a user 10 whose emotional value is equal to or greater than 0 and whose emotional value fluctuation range continues to be within a certain range, "You've been feeling stable lately, which is good."

[0066] Also, for example, the robot 100 can ask the user 10, "Did you finish the homework you told me about yesterday?", and when the user 10 answers, "I did it," it can utter a positive utterance such as "Great!" and perform a positive gesture such as clapping or a thumbs up. Also, for example, when the user 10 utters, "The presentation you gave the day before yesterday went well," the robot 100 can utter a positive utterance such as "You did a good job!" and perform the above-mentioned positive gesture. In this way, it is expected that the user 10 will feel a sense of affinity with the robot 100 by the robot 100 performing an action based on the state history of the user 10.

[0067] In the above embodiment, the robot 100 recognizes the user 10 using a facial image of the user 10, but the disclosed technology is not limited to this aspect. For example, the robot 100 may recognize the user 10 using a voice emitted by the user 10, an email address of the user 10, an SNS ID of the user 10, an ID card with a built-in wireless IC tag that the user 10 possesses, or the like.

[0068] The robot 100 is an example of an electronic device equipped with a behavior control system. The application of the behavior control system is not limited to the robot 100, and the behavior control system can be applied to various electronic devices. The functions of the server 300 may be implemented by one or more computers. At least a part of the functions of the server 300 may be implemented by a virtual machine. At least a part of the functions of the server 300 may be implemented in the cloud.

[0069] 4 shows a schematic example of a hardware configuration of a computer 1200 functioning as the robot 100 and the server 300. A program installed on the computer 1200 can cause the computer 1200 to function as one or more "parts" of an apparatus according to the present embodiment, or cause the computer 1200 to execute operations or one or more "parts" associated with the apparatus according to the present embodiment, and / or cause the computer 1200 to execute a process or steps of the process according to the present embodiment. Such a program can be executed by the CPU 1212 to cause the computer 1200 to execute specific operations associated with some or all of the blocks of the flowcharts and block diagrams described herein.

[0070] The computer 1200 according to this embodiment includes a CPU 1212, a RAM 1214, and a graphics controller 1216, which are connected to each other by a host controller 1210. The computer 1200 also includes input / output units such as a communication interface 1222, a storage device 1224, a DVD drive 1226, and an IC card drive, which are connected to the host controller 1210 via an input / output controller 1220. The DVD drive 1226 may be a DVD-ROM drive, a DVD-RAM drive, or the like. The storage device 1224 may be a hard disk drive, a solid state drive, or the like. The computer 1200 also includes a legacy input / output unit such as a ROM 1230 and a keyboard, which are connected to the input / output controller 1220 via an input / output chip 1240.

[0071] The CPU 1212 operates according to a program stored in the ROM 1230 and the RAM 1214, thereby controlling each unit. The graphic controller 1216 acquires image data generated by the CPU 1212 into a frame buffer or the like provided in the RAM 1214 or into itself, and causes the image data to be displayed on the display device 1218.

[0072] The communication interface 1222 communicates with other electronic devices via a network. The storage device 1224 stores programs and data used by the CPU 1212 in the computer 1200. The DVD drive 1226 reads programs or data from a DVD-ROM 1227 or the like and provides the programs or data to the storage device 1224. The IC card drive reads programs and data from an IC card and / or writes programs and data to an IC card.

[0073] The ROM 1230 stores therein a boot program or the like that is executed by the computer 1200 upon activation, and / or a program that depends on the hardware of the computer 1200. The input / output chip 1240 may also connect various input / output units to the input / output controller 1220 via a USB port, a parallel port, a serial port, a keyboard port, a mouse port, and the like.

[0074] The programs are provided by a computer-readable storage medium such as a DVD-ROM 1227 or an IC card. The programs are read from the computer-readable storage medium, installed in the storage device 1224, the RAM 1214, or the ROM 1230, which are also examples of computer-readable storage media, and executed by the CPU 1212. Information processing described in these programs is read by the computer 1200, and brings about cooperation between the programs and the various types of hardware resources described above. An apparatus or method may be constructed by implementing operations or processing of information according to the use of the computer 1200.

[0075] For example, when communication is performed between the computer 1200 and an external device, the CPU 1212 may execute a communication program loaded in the RAM 1214 and instruct the communication interface 1222 to perform communication processing based on the processing described in the communication program. Under the control of the CPU 1212, the communication interface 1222 reads transmission data stored in a transmission buffer area provided in the RAM 1214, the storage device 1224, the DVD-ROM 1227, or a recording medium such as an IC card, and transmits the read transmission data to a network, or writes reception data received from the network to a reception buffer area or the like provided on the recording medium.

[0076] Furthermore, the CPU 1212 may cause all or a necessary portion of a file or database stored in an external recording medium such as the storage device 1224, the DVD drive 1226 (DVD-ROM 1227), an IC card, etc. to be read into the RAM 1214, and perform various types of processing on the data on the RAM 1214. The CPU 1212 may then write back the processed data to the external recording medium.

[0077] Various types of information, such as various types of programs, data, tables, and databases, may be stored in the recording medium and undergo information processing. The CPU 1212 may perform various types of processing on the data read from the RAM 1214, including various types of operations, information processing, conditional judgment, conditional branching, unconditional branching, information search / replacement, etc., as described throughout this disclosure and specified by the instruction sequence of the program, and write back the results to the RAM 1214. The CPU 1212 may also search for information in a file, database, etc. in the recording medium. For example, when a plurality of entries each having an attribute value of a first attribute associated with an attribute value of a second attribute are stored in the recording medium, the CPU 1212 may search for an entry whose attribute value of the first attribute matches a specified condition from among the plurality of entries, read the attribute value of the second attribute stored in the entry, and thereby obtain the attribute value of the second attribute associated with the first attribute that satisfies a predetermined condition.

[0078] The above-described programs or software modules may be stored in a computer-readable storage medium on the computer 1200 or in the vicinity of the computer 1200. In addition, a recording medium such as a hard disk or a RAM provided in a server system connected to a dedicated communication network or the Internet can be used as a computer-readable storage medium, thereby providing the programs to the computer 1200 via the network.

[0079] The blocks in the flowcharts and block diagrams in the present embodiment may represent stages of a process in which an operation is performed or "parts" of an apparatus responsible for performing the operation. Particular stages and "parts" may be implemented by dedicated circuitry, programmable circuitry provided with computer-readable instructions stored on a computer-readable storage medium, and / or a processor provided with computer-readable instructions stored on a computer-readable storage medium. The dedicated circuitry may include digital and / or analog hardware circuits, and may include integrated circuits (ICs) and / or discrete circuits. The programmable circuitry may include reconfigurable hardware circuits, such as, for example, field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), and the like, including AND, OR, XOR, NAND, NOR, and other logical operations, flip-flops, registers, and memory elements.

[0080] A computer-readable storage medium may include any tangible device capable of storing instructions that are executed by a suitable device, such that a computer-readable storage medium having instructions stored thereon comprises an article of manufacture that includes instructions that can be executed to create means for performing the operations specified in the flowcharts or block diagrams. Examples of computer-readable storage media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer-readable storage media may include floppy disks, diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), electrically erasable programmable read-only memories (EEPROMs), static random access memories (SRAMs), compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), Blu-ray disks, memory sticks, integrated circuit cards, and the like.

[0081] The computer readable instructions may include either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state-setting data, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, JAVA, C++, etc., and conventional procedural programming languages ​​such as the "C" programming language or similar programming languages.

[0082] Computer readable instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, or to a programmable circuit, either locally or over a local area network (LAN), a wide area network (WAN), such as the Internet, etc., to cause the processor of the general purpose computer, special purpose computer, or other programmable data processing apparatus, or to a programmable circuit, to execute the computer readable instructions to generate means for performing the operations specified in the flowcharts or block diagrams. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, etc.

[0083] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is clear to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the claims that such modifications and improvements can also be included in the technical scope of the present invention.

[0084] It should be noted that the order of execution of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before" or "prior to," and that the process may be performed in any order unless the output of a previous process is used in a later process. Even if the operational flow in the claims, specifications, and drawings is described using "first," "next," etc. for convenience, it does not mean that the process must be performed in this order.

[0085] The emotion determining unit 232 may determine the emotion of the user according to a specific mapping. Specifically, the emotion determining unit 232 may determine the emotion of the user according to an emotion map (see FIG. 5), which is a specific mapping.

[0086] FIG. 5 is a diagram showing an emotion map 300 on which multiple emotions are mapped. In the emotion map 300, emotions are arranged in concentric circles radiating from the center. The closer to the center of the concentric circles, the more primitive emotions are arranged. The more outside the concentric circles, the more emotions that represent states and actions that arise from a state of mind are arranged. Emotions are a concept that includes emotions and mental states. On the left side of the concentric circles, emotions that are generally generated from reactions that occur in the brain are arranged. On the right side of the concentric circles, emotions that are generally induced by situational judgment are arranged. On the upper and lower sides of the concentric circles, emotions that are generally generated from reactions that occur in the brain and are induced by situational judgment are arranged. In addition, on the upper side of the concentric circles, emotions of "pleasure" are arranged, and on the lower side, emotions of "discomfort" are arranged. In this way, in the emotion map 300, multiple emotions are mapped based on the structure in which emotions are generated, and emotions that tend to occur simultaneously are mapped close to each other.

[0087] (1) For example, if the emotion engine, which is the emotion determination unit 232 of the robot 100, detects emotions in about 100 msec, the frequency of the determination of the reaction action (e.g., a backchannel) of the robot 100 may be set at least at the same timing as the detection frequency (100 msec) of the emotion engine, or may be set at a timing earlier than this. The detection frequency of the emotion engine may be interpreted as a sampling rate.

[0088] By detecting emotions in about 100 msec and immediately performing a corresponding reaction (e.g., a backchannel), unnatural backchannels are eliminated, and a natural dialogue that reads the atmosphere can be realized. The reaction (backchannel, etc.) is performed according to the directionality and the degree (strength) of the mandala in the robot 100 emotion map 300. Note that the detection frequency (sampling rate) of the emotion engine is not limited to 100 ms, and may be changed according to the situation (e.g., when playing sports), the age of the user, etc.

[0089] (2) The directionality of emotions and the strength of their intensity may be preset in reference to the emotion map 300, and the movement of the interjections and the strength of the interjections may be set. For example, if the robot 100 feels a sense of stability and security, the robot 100 may nod and continue listening. If the robot 100 feels anxious, confused, or suspicious, the robot 100 may tilt its head or stop shaking its head.

[0090] These emotions are distributed in the three o'clock direction of emotion map 300 and usually fluctuate between relief and anxiety. In the right half of emotion map 300, situational awareness dominates over internal sensations, resulting in a sense of calm.

[0091] (3) If the robot 100 feels good after being praised, the filler "ah" may be inserted before the line, and if the robot 100 feels hurt after receiving harsh words, the filler "ugh!" may be inserted before the line. Also, a physical reaction such as the robot 100 crouching down while saying "ugh!" may be included. These emotions are distributed around 9 o'clock on the emotion map 300.

[0092] (4) In the left half of the emotion map 300, internal sensations (reactions) are more important than situational awareness. This can give the impression that the person is reacting unconsciously.

[0093] When the robot 100 feels a favorable feeling in its situation recognition while feeling an internal sensation (reaction) of a sense of satisfaction, the robot 100 may nod deeply while looking at the other person, or may say "uh-huh." In this way, the robot 100 may generate a behavior that shows a balanced favorable feeling toward the other person, that is, a tolerance or tolerance toward the other person. Such emotions are distributed around 12 o'clock on the emotion map 300.

[0094] Conversely, even when the robot 100 is aware of a situation while experiencing an internal sensation (reaction) of discomfort, the robot 100 may shake its head when it feels disgust, or turn the LEDs in its eyes red and glare at the other person when it feels hatred. These emotions are distributed around the 6 o'clock position on the emotion map 300.

[0095] (5) The inside of emotion map 300 represents what is going on in one's mind, while the outside of emotion map 300 represents behavior. Therefore, the further out you go on the emotion map 300, the more visible the emotions become (the more they are expressed in behavior).

[0096] (6) When listening to someone while feeling a sense of security, which is distributed around the 3 o'clock position on the emotion map 300, the robot 100 may lightly nod its head and say "hmm." However, when listening to someone while feeling a sense of love, which is distributed around 12 o'clock, the robot 100 may nod vigorously, nodding its head deeply.

[0097] The emotion determination unit 232 inputs the information analyzed by the sensor module unit 210 and the recognized state of the user 10 into a pre-trained neural network, obtains emotion values ​​indicating each emotion shown in the emotion map 300, and determines the emotion of the user 10. This neural network is pre-trained based on a plurality of learning data that are combinations of the information analyzed by the sensor module unit 210 and the recognized state of the user 10, and emotion values ​​indicating each emotion shown in the emotion map 300. In addition, this neural network is trained so that emotions that are arranged close to each other have similar values, as in the emotion map 900 shown in FIG. 6. FIG. 6 shows an example in which multiple emotions, such as "peace of mind," "calm," and "reassuring," have similar emotion values.

[0098] Furthermore, the emotion determination unit 232 may determine the emotion of the robot 100 according to a specific mapping. Specifically, the emotion determination unit 232 inputs the information analyzed by the sensor module unit 210, the state of the user 10 recognized by the user state recognition unit 230, and the state of the robot 100 to a pre-trained neural network, obtains emotion values ​​indicating each emotion shown in the emotion map 300, and determines the emotion of the robot 100. This neural network is pre-trained based on a plurality of learning data that are combinations of the information analyzed by the sensor module unit 210, the recognized state of the user 10, and the state of the robot 100, and emotion values ​​indicating each emotion shown in the emotion map 300. For example, the neural network is trained based on learning data indicating that when it is recognized from the output of a touch sensor (not shown) that the robot 100 is being stroked by the user 10, the emotional value of "happy" is "3," and based on learning data indicating that when it is recognized from the output of an acceleration sensor (not shown) that the robot 100 is being hit by the user 10, the emotional value of "anger" is "3." Furthermore, this neural network is trained so that emotions that are located close to each other have similar values, as in the emotion map 900 shown in FIG. 6.

[0099] The behavior decision unit 236 generates the robot's behavior content by adding fixed sentences for asking about the robot's behavior content corresponding to the user's behavior to text representing the user's behavior, the user's emotions, and the robot's emotions, and inputting the added text into the dialogue function.

[0100] For example, the behavior determining unit 236 obtains text representing the state of the robot 100 from the emotion of the robot 100 determined by the emotion determining unit 232, using an emotion table such as that shown in Table 1. Here, in the emotion table, an index number is assigned to each emotion value for each type of emotion, and text representing the state of the robot 100 is stored for each index number.

[0101] When the emotion of the robot 100 determined by the emotion determination unit 232 corresponds to the index number "2", the text "very happy state" is obtained. When the emotions of the robot 100 correspond to multiple index numbers, multiple texts representing the state of the robot 100 are obtained.

[0102] In addition, an emotion table as shown in Table 2 is prepared for the emotions of the user 10. Here, if the user's action is speaking "***", the robot 100's emotion is index number "2", and the user 10's emotion is index number "3", "The robot is in a very happy state. The user is in a normal happy state. The user says "***". As the robot, how would you respond?" The sentence generation model is input to obtain the robot's action content. The action decision unit 236 decides the robot's action from the action content.

[0103] [Table 1]

[0104] [Table 2]

[0105] In this way, the robot 100 can change its behavior according to the index number that corresponds to the robot's emotion, so that the user gets the impression that the robot has a heart, and is encouraged to take actions such as talking to the robot.

[0106] The behavior determining unit 236 may generate the behavioral content of the robot by adding not only texts representing the user's behavior, the user's emotions, and the robot's emotions, but also texts representing the contents of the history data 222, adding a fixed sentence for asking about the behavioral content of the robot corresponding to the user's behavior, and inputting the result into a sentence generation model having a dialogue function. This allows the robot 100 to change its behavior according to the history data representing the user's emotions and behavior, so that the user has the impression that the robot has individuality, and is encouraged to take actions such as talking to the robot. The history data may further include the emotions and behavior of the robot.

[0107] The robot 100 may be mounted on a stuffed toy, or may be applied to a control device connected wirelessly or by wire to a control target device (speaker or camera) mounted on the stuffed toy.

[0108] In the above explanation, the case where the behavior control system is applied to the robot 100 has been exemplified, but the present invention is not limited to this aspect. Fig. 7 is a functional block diagram of an agent system 50 configured using some or all of the functions of the behavior control system. The agent system 50 is a computer system that performs a series of actions in accordance with the intentions of a user 60 through a dialogue with the user 60. The dialogue with the user 60 can be performed by voice or text.

[0109] The agent system 50 may be installed in, for example, a robot, a doll, a stuffed animal, a pendant, a smart watch, a smartphone, a smart speaker, earphones, a personal computer, etc. The agent system 50 may also be implemented in a web server and used via a web browser running on a communication terminal such as a smartphone owned by a user.

[0110] The agent system 50 plays a role of, for example, a butler, secretary, teacher, partner, friend, lover, or teacher acting for the user 60. The agent system 50 not only converses with the user 60, but also provides advice, guides to a destination, or makes recommendations according to the user's preferences. The agent system 50 also makes reservations, orders, or makes payments to the service provider 70.

[0111] The agent system 50, equipped with an emotion engine 53, determines the emotions of the user 60 and the agent's own emotions, and acts for the user 60 while taking into account the emotions of the user 60 and the agent. In other words, the agent system 50 understands the emotions of the user 60, reads the mood, and provides heartfelt support, assistance, advice, and services. The agent system 50 also listens to the worries of the user 60, comforts, encourages, and cheers up the user. The agent system 50 also plays with the user 60, draws picture diaries, and helps the user reminisce about the past. The agent system 50 acts in a way that increases the user 60's sense of happiness.

[0112] The agent system 50 includes a dialogue processing unit 51, a character setting unit 52, an emotion engine 53, a dialogue history storage unit 54, a sentence generation model 55, a command acquisition unit 56, and an RPA (Robotic Process Automation) 57.

[0113] The dialogue processing unit 51 includes a behavior decision unit 236 that performs processing related to utterances, and a behavior control unit 250. The dialogue processing unit 51 generates utterance contents for an agent to have a dialogue with a user 60, and outputs the utterance contents in the form of at least one of voice and text.

[0114] The character setting unit 52 sets the character of the agent when the agent system 50 interacts with the user 60 based on the designation from the user 60. That is, the speech content output from the dialogue processing unit 51 is output through the agent having the set character. For example, it is possible to set real celebrities or famous people such as actors, entertainers, idols, and athletes as the characters. It is also possible to set fictional characters that appear in comics, movies, or animations. For example, it is possible to set "Princess Anne" played by "Audrey Hepburn" in the movie "Roman Holiday" as the agent character. When the character of the agent is known, the voice, speech, tone, and personality of the character are known, so that the user 60 only needs to designate a character of his / her choice, and the prompt setting in the character setting unit 52 is automatically performed. The voice, speech, tone, and personality of the set character are reflected in the dialogue with the user 60. That is, the dialogue processing unit 51 synthesizes a voice according to the character set by the character setting unit 52, and outputs the speech content of the agent using the synthesized voice. This allows the user 60 to feel as if he or she is interacting with his or her favorite character (for example, a favorite actor) in person.

[0115] When the agent system 50 is mounted on a device having a display such as a smartphone, an icon, still image, or video of the agent having a character set by the character setting unit 52 may be displayed on the display. The image of the agent is generated using an image synthesis technique such as 3D rendering. In the agent system 50, a dialogue with the user 60 may be performed while the image of the agent makes gestures according to the emotions of the user 60, the emotions of the agent, and the contents of the agent's speech. Note that the agent system 50 may output only audio without outputting an image when engaging in a dialogue with the user 60.

[0116] The emotion engine 53 includes an emotion determination unit 232, and determines an emotion value indicating the emotion of the user 60 and an emotion value of the agent itself. The emotion value of the agent itself is reflected in the emotion of the set character. When the agent system 50 converses with the user 60, not only the emotion of the user 60 but also the emotion of the character is reflected in the dialogue. In other words, the dialogue processing unit 51 outputs the speech content in a manner according to the emotion determined by the emotion engine 53.

[0117] The agent's emotions are also reflected when the agent system 50 behaves toward the user 60. For example, when the user 60 requests the agent system 50 to take a photo, whether the agent system 50 will take a photo in response to the user's request is determined according to the degree of "sadness" the agent is feeling. When the agent feels positive emotions, it will talk or behave in a friendly manner toward the user 60, and when the agent feels negative emotions, it will talk or behave in a hostile manner toward the user 60.

[0118] The dialogue history storage unit 54 is a storage medium for storing the history of dialogue between the user 60 and the agent system 50. The dialogue history storage unit 54 may be realized by the history data 222 of the storage unit 220, or may be realized by an external cloud storage. When the agent system 50 dialogues with the user 60 or takes an action toward the user 60, the agent system 50 determines the dialogue content or the action content by taking into account the content of the dialogue history stored in the dialogue history storage unit 54. For example, the agent system 50 grasps the hobbies and preferences of the user 60 based on the dialogue history stored in the dialogue history storage unit 54. The agent system 50 generates dialogue content that matches the hobbies and preferences of the user 60, or provides recommendations. The dialogue processing unit 51 generates utterance content based on the dialogue history stored in the dialogue history storage unit 54. The dialogue history storage unit 54 stores personal information of the user 60, such as the name, address, telephone number, and credit card number, acquired through dialogue with the user 60.

[0119] The sentence generation model 55 generates sentences that are responses to input text or voice. The sentence generation model 55 may be interpreted as algorithms and calculations for automatic dialogue processing by characters. The sentence generation model is described in, for example, JP 2018-081444 A and chatGPT (Internet search engine).<URL: https: / / openai.com / blog / chatgpt> ) and thus detailed description thereof will be omitted. Such a sentence generation model is configured using a large language model (LLM).

[0120] The dialogue processing unit 51 generates the utterance contents based on the sentences generated by the sentence generation model 55. Specifically, the dialogue processing unit 51 inputs the text or voice input by the user 60, the emotions of both the user 60 and the agent specified by the emotion engine 53, and the conversation history stored in the dialogue history storage unit 54 to the sentence generation model 55 to generate the utterance contents of the agent. At this time, the dialogue processing unit 51 may further input the personality of the character set by the character setting unit 52 to the sentence generation model 55 to generate the utterance contents of the agent. In the agent system 50, the sentence generation model 55 is not located on the front end side which is the touch point with the user 60, but is used merely as a tool of the agent system 50.

[0121] The command acquisition unit 56 is configured by the speech understanding unit 212, and acquires commands for the agent from voice or text uttered by the user 60 through dialogue with the user 60. The commands include the contents of actions to be performed by the agent system 50, such as information search, store reservation, ticket arrangement, purchase of goods and services, payment, route guidance to a destination, provision of recommendations, etc.

[0122] The RPA 57 performs an action according to the command acquired by the command acquisition unit 56. The RPA 57 performs an action related to the use of the service provider 70, such as information search, store reservation, ticket arrangement, purchase of goods and services, payment of the price, etc. The RPA 57 is an example of the "action execution unit" in the present invention.

[0123] The RPA 57 reads out and uses personal information of the user 60, which is necessary to execute an action related to the use of the service provider 70, from the dialogue history storage unit 54. For example, when the agent system 50 purchases a product at the request of the user 60, it reads out and uses personal information of the user 60, such as the name, address, telephone number, and credit card number, stored in the dialogue history storage unit 54. It is unkind and unpleasant for the user to request the user 60 to input personal information in the initial setting. In the agent system 50 according to this embodiment, instead of requesting the user 60 to input personal information in the initial setting, the personal information acquired through the dialogue with the user 60 is stored and read out and used as necessary. This makes it possible to avoid making the user feel uncomfortable, and improves user convenience.

[0124] The agent system 50 executes the dialogue process through the following steps 1 to 5. (Step 1) The agent system 50 sets an agent character. Specifically, the character setting unit 52 sets an agent character when the agent system 50 interacts with the user 60, based on a designation from the user 60.

[0125] (Step 2) The agent system 50 acquires the state of the user 10 including the voice or text input from the user 10, the emotional value of the user 10, the emotional value of the robot 100, and the history data 222. Specifically, the agent system 50 performs the same processes as steps S100 to S103 described above, and acquires the state of the user 10 including the voice or text input from the user 10, the emotional value of the user 10, the emotional value of the robot 100, and the history data 222.

[0126] (Step 3) The agent system 50 determines the content of the agent's utterance. Specifically, the dialogue processor 51 inputs the text or voice input by the user 60, the emotions of both the user 60 and the character specified by the emotion engine 53, and the conversation history stored in the dialogue history storage unit 54 to the sentence generation model 55, and generates the content of the agent's utterance. For example, a fixed sentence such as "How would you respond as an agent in this situation?" is added to the text or voice input by the user 60, the emotions of both the user 60 and the character identified by the emotion engine 53, and the text representing the conversation history stored in the dialogue history storage unit 54, and this is input into the sentence generation model 55 to obtain the content of the agent's speech. As an example, if the text or voice input by user 60 is "Please make a reservation at a delicious Chinese restaurant nearby for tonight at 7pm," the agent's speech may be retrieved as "Understood," and "Here are some recommended restaurants: 1. AAAA. 2. BBBB. 3. CCCC. 4. DDDD." Also, if the text or voice input by the user 60 is "Number 4, DDDD, would be good," the agent's speech content acquired is "Understood. I will try to make a reservation. How many seats are there?".

[0127] (Step 4) The agent system 50 outputs the contents of the agent's utterance. Specifically, the dialogue processor 51 synthesizes a voice according to the character set by the character setting unit 52, and outputs the contents of the agent's utterance in the synthesized voice.

[0128] (Step 5) The agent system 50 judges whether it is time to execute an agent command. Specifically, the dialogue processor 51 judges whether it is time to execute an agent command based on the output of the sentence generation model 55. For example, if the output of the sentence generation model includes information indicating that the agent will execute a command, it is judged that it is time to execute the agent command, and the process proceeds to step 5. On the other hand, if it is judged that it is not time to execute the agent command, the process returns to step 2 above.

[0129] (Step 6) The agent system 50 executes the command of the agent. Specifically, the command acquisition unit 56 acquires the command of the agent from the voice or text uttered by the user 60 through a dialogue with the user 60. Then, the RPA 57 performs an action according to the command acquired by the command acquisition unit 56. For example, if the command is "information search", an information search is performed on a search site using a search query obtained through a dialogue with the user 60 and an API (Application Programming Interface). The dialogue processing unit 51 inputs the search results to the sentence generation model 55 to generate the utterance content of the agent. The dialogue processing unit 51 synthesizes a voice according to the character set by the character setting unit 52, and outputs the utterance content of the agent using the synthesized voice. Also, if the command is "make a reservation for a restaurant", the reservation information obtained through the dialogue with the user 60, the restaurant information, and an API (Application Programming Interface) are used to make a phone call to the restaurant by telephone software to make the reservation. At this time, the dialogue processing unit 51 uses a sentence generation model with a dialogue function to obtain the agent's utterance in response to the voice input from the other party. Then, the dialogue processing unit 51 inputs the result of the restaurant reservation (whether the reservation was successful or not) to the sentence generation model 55 to generate the agent's utterance. The dialogue processing unit 51 synthesizes a voice according to the character set by the character setting unit 52, and outputs the agent's utterance in the synthesized voice. Then, the process returns to step 2 above.

[0130] In this way, the agent system 50 executes dialogue processing, and can take actions related to the use of the service provider 70 as necessary. While the user is sleeping, the agent system 50 may search for news of high interest to the user based on the user's preferences acquired in advance, and when the user wakes up, the agent system 50 may deliver the news to the user. For example, the agent may say, "It seems that the Yankees won the game yesterday. Let's go to the baseball stadium tonight to cheer them on." When the user says, "I have to ask my dad," the dad may say, "I don't know if I can get tickets." The agent may then say, "I'll check if I can get tickets," and obtain seat requests and other information from the dialogue with the user, and secure the tickets.

[0131] 8 and 9 are diagrams showing an example of the operation of the agent system 50. Fig. 8 illustrates an example in which the agent system 50 makes a restaurant reservation through a dialogue with the user 60. The agent system 50 is able to grasp the preferences of the user 60 based on a dialogue history with the user 60, provide a recommended list of restaurants that match the preferences of the user 60, and make a reservation at the selected restaurant.

[0132] 9 illustrates an example in which the agent system 50 accesses a mail-order site through a dialogue with the user 60 to purchase a product. The agent system 50 can estimate the remaining amount of a beverage stocked by the user based on the dialogue history with the user 60, and can suggest and execute the purchase of the beverage to the user 60. The agent system 50 can also grasp the user's preferences based on the past dialogue history with the user 60, and can recommend snacks that the user likes. [Explanation of symbols]

[0133] 5 system, 10, 11, 12, 60 user, 20 communication network, 100, 101, 102 robot, 200 sensor unit, 201 microphone, 202 depth sensor, 203 camera, 204 distance sensor, 210 sensor module unit, 211 voice emotion recognition unit, 212 speech understanding unit, 213 facial expression recognition unit, 214 face recognition unit, 220 storage unit, 221 reaction rule, 222 history data, 230 user state recognition unit, 232 emotion determination unit, 234 behavior recognition unit, 236 behavior determination unit, 238 memory control unit, 250 behavior control unit, 252 control target, 280 communication processing unit, 300 server, 1200 computer, 1210 host controller, 1212 CPU, 1214 RAM, 1216 graphic controller, 1218 Display device, 1220 I / O controller, 1222 Communication interface, 1224 Storage device, 1226 DVD drive, 1227 DVD-ROM, 1230 ROM, 1240 I / O chip, 50 Agent system, 51 Dialogue processing unit, 52 Character setting unit, 53 Emotion engine, 54 Dialogue history storage unit, 55 Text generation model, 56 Command acquisition unit, 57 RPA, 70 Service provider

Claims

1. an emotion determining unit for determining an emotion of a user or an emotion of an agent; a dialogue processing unit that outputs the content of an utterance of the agent for dialogue with the user in a manner corresponding to the emotion determined by the emotion determining unit; An agent system including:

2. a character setting unit that sets a character of the agent that outputs the utterance content, The dialogue processor synthesizes a voice corresponding to the character set by the character setting unit, and outputs the spoken content by the synthesized voice. The agent system according to claim 1 .

3. The dialogue processor generates the speech content using a sentence generation model that generates sentences that are responses to input text or voice. The agent system according to claim 1 .

4. Further comprising a dialogue history storage unit that stores a history of dialogue with the user, The dialogue processing unit inputs the dialogue history stored in the dialogue history storage unit and the input text or voice to the sentence generation model to generate the utterance content. The agent system according to claim 3.

5. and an action execution unit that acquires a command for the agent through a dialogue with the user and executes an action according to the command. The agent system according to claim 4.

6. The operation execution unit executes the operation using personal information of the user acquired from the dialogue history stored in the dialogue history storage unit. The agent system according to claim 5.

Citation Information

Patent Citations

  • Determination of analite in medium containing particle

    JP1985053847A

Cited By

  • Information processing method, information processing system, and program

    JP2026088871A

  • Information processing methods, information processing systems, and programs

    JP7900471B2

  • Chat-based interactive character nurturing system and method thereof

    KR102846583B1