Electronic device
By integrating a sentence generation model and emotion engine, the robot recognizes user behavior and adjusts its actions to perform appropriate responses, improving interaction and task performance through emotional intelligence.
Patent Information
- Application Number
- JP2024067078
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-26
- Filing Date
- 2024-04-17
- Publication Date
- 2024-11-08
AI Technical Summary
Conventional technologies lack the ability for electronic devices, such as robots, to perform appropriate actions in response to user interactions, necessitating improved user behavior recognition and action determination.
An electronic device, exemplified by a robot, recognizes user behavior, determines its own behavior in response, and controls a control target based on the recognized behavior using a control unit, integrating a sentence generation model and emotion engine to enhance interaction appropriateness.
The robot can perform appropriate actions, provide psychological support, and improve user efficiency and motivation by recognizing emotions and adjusting its behavior accordingly, thereby enhancing user interaction and task performance.
Smart Images

Figure 2024159591000001_ABST
Abstract
Description
[Technical field]
[0001] The disclosed embodiments relate to electronic devices. [Background technology]
[0002] Conventionally, a technology has been disclosed for determining an appropriate behavior of a robot, which is an example of an electronic device, in response to a user's state (for example, see Patent Document 1). Patent Document 1 discloses a method for recognizing a user's reaction when a robot performs a specific action, and when the robot's action in response to the recognized user's reaction cannot be determined, the robot's action is updated by receiving information on an action appropriate to 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] However, the conventional technology has room for improvement in terms of executing appropriate actions in response to user actions.
[0005] The present invention has been made in view of the above, and has an object to provide an electronic device that can execute appropriate actions. [Means for solving the problem]
[0006] An electronic device according to one aspect of the embodiment includes a control unit that recognizes the actions of a user performing programming tasks, determines its own actions corresponding to the recognized user actions, and controls a control target based on the determined own actions. Effect of the Invention
[0007] According to one aspect of the embodiment, appropriate actions may be taken. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a control system according to the present embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a schematic functional configuration of the robot. [Diagram 3] FIG. 3 is a diagram illustrating an example of an operational flow relating to an operation for determining an action in a robot. [Figure 4] FIG. 4 is a diagram illustrating an example of a hardware configuration of a computer that functions as a robot and a server. [Diagram 5] FIG. 5 is a diagram showing an emotion map onto which a plurality of emotions are mapped. [Figure 6] FIG. 6 is a diagram showing another example of the emotion map. [Figure 7] FIG. 7 is a diagram illustrating an example of an emotion table. [Figure 8] FIG. 8 is a diagram illustrating an example of an emotion table. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The present invention will be described below through embodiments, but the following embodiments do not limit the scope of the invention according to the claims. In addition, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
[0010] Fig. 1 is a diagram illustrating an example of a control system 1 according to the present embodiment. As illustrated in Fig. 1, the control system 1 includes a plurality of robots 100, which are an example of electronic devices, a linked device 400, and a server 300. Each of the plurality of robots 100 is managed by a user. Note that in the present embodiment, a "robot" is described as an example of an electronic device, but the electronic device may be, in addition to a robot, a stuffed toy, a portable terminal device such as a smartphone, an input device such as a smart speaker, or the like.
[0011] The robot 100 converses with the user and provides the user with video. At this time, the robot 100 cooperates with a server 300 or the like with which it can communicate via the communication network 20 to converse with the user and provide the user with video or the like. For example, the robot 100 not only learns appropriate conversation by itself, but also cooperates with the server 300 to learn so as to be able to have a more appropriate conversation with the user. The robot 100 also causes the server 300 to record the captured video data of the user, and requests the server 300 for the video data or the like as necessary to provide it to the user.
[0012] 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 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 emotions through actions.
[0013] Furthermore, the robot 100 may be configured to match a sentence generation model (so-called an AI (Artificial Intelligence) chat engine) with an emotion engine, thereby determining an action of the robot 100 corresponding to the emotion of the user 10. Specifically, the robot 100 may be configured to recognize the action of the user 10, determine the emotion of the user 10 regarding the action of the user, and determine an action of the robot 100 corresponding to the determined emotion.
[0014] 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> ), this is well known, and detailed description thereof will be omitted. Such a sentence generation model is configured by a large language model (LLM: Large Language Model). As described above, in this embodiment, by combining a large language model with 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, a synergistic effect can be obtained by combining a sentence generation model with an emotion engine.
[0015] The robot 100 also has a function of recognizing the user's actions. The robot 100 recognizes the user's actions by analyzing the user's face image acquired by the camera function and the user's voice acquired by the microphone function. The robot 100 determines the action to be performed by the robot 100 based on the recognized user's actions, etc.
[0016] The robot 100 stores rules that define actions to be taken by the robot 100 based on the user's emotions, the robot's own emotions, and the user's actions, and performs various actions according to the rules.
[0017] Specifically, the robot 100 has reaction rules for determining the behavior of the robot 100 based on the user's emotions, the robot's emotions, and the user's behavior. For example, the reaction rules define the behavior of the robot 100 as "laughing" when the user's behavior is "laughing". The reaction rules also define the behavior of the robot 100 as "apologizing" when the user's behavior is "getting angry". The reaction rules also define the behavior of the robot 100 as "answering" when the user's behavior is "asking a question". The reaction rules also define the behavior of the robot 100 as "calling out" when the user's behavior is "getting sad".
[0018] When the robot 100 recognizes the user's behavior as "anger" based on the reaction rules, it 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", it performs the motion of "apologizing" and outputs a voice expressing the word "apologize".
[0019] In addition, it is defined that 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 user's state is "alone and looks lonely" is satisfied, the emotion of the robot 100 changes to "worried" and the action of "calling out" can be executed.
[0020] When the robot 100 recognizes that the current emotion of the robot 100 is "normal" and that the user is alone and seems lonely based on the reaction rule, 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. For example, when the robot 100 selects the action of "calling out", the robot 100 converts the phrase "What's wrong?", which indicates concern, into a worried voice and outputs it.
[0021] The robot 100 also transmits user reaction information indicating that this action has elicited a positive reaction from the user to the server 300. The user reaction information includes, for example, the user action of "getting angry," the robot 100 action of "apologizing," the fact that the user reaction was positive, and the user's attributes.
[0022] The server 300 stores the user reaction information received from each robot 100. Then, the server 300 analyzes the user reaction information from each robot 100 and updates the reaction rules.
[0023] 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 reaction rules acquired by other robots 100 into its own reaction rules. When the reaction rules are updated, they may be automatically transmitted from the server 300 to the robot 100.
[0024] The robot 100 can also perform actions in cooperation with the coordinating devices 400. The coordinating devices 400 are, for example, karaoke machines, wine cellars, refrigerators, terminal devices (such as PCs (Personal Computers), smartphones, and tablets), washing machines, automobiles, cameras, toilet equipment, electric toothbrushes, televisions, displays, furniture (such as closets), medicine boxes, musical instruments, lighting equipment, and exercise toys (such as unicycles). These coordinating devices 400 are communicatively connected to the robot 100 via the communication network 20, and transmit and receive information to and from the robot 100. With this configuration, the coordinating devices 400 control themselves and converse with the user according to instructions from the robot 100.
[0025] In this disclosure, an example is described in which various actions are performed on a user by recognizing the actions of a user performing programming work, determining one's own action corresponding to the recognized user action, and controlling a controlled object based on one's own determined action.
[0026] Specifically, the robot 100 recognizes the emotions of a user who is performing programming tasks and changes its own emotions to perform behaviors that provide mental support to the user. The robot 100 also provides advice to the user on how to improve the efficiency of the tasks that the user is performing and performs behaviors that support the tasks.
[0027] For example, when a user who is learning programming spends an increasing amount of time not looking at the screen of the learning terminal or takes a certain amount of time to input data into the learning terminal, the robot 100 recognizes that the user is feeling "painful" or "difficult," and alleviates the user's negative emotions by saying to the user, "Would you like to take a short break?". In addition, the robot 100, for example, proposes an effective learning method for the user's programming learning according to the user's learning level, and manages the learning progress and learning schedule, thereby improving the efficiency of learning and maintaining the user's motivation.
[0028] Furthermore, for example, when a user who is a member of a software development team is not making good progress in the work he or she is in charge of, the robot 100 recognizes that the user is feeling "anxious" and offers the user a message such as "Why don't you talk to your team members about it?", thereby providing mental support to the user. For example, in order to promote teamwork in a software development team, the robot 100 manages the work progress of each team member and suggests to members who are making good progress that they support members who are making poor progress. Furthermore, the robot 100 contributes to the efficiency of the development process, for example, by proposing project management for the entire software development and code review methods for each work.
[0029] Furthermore, for example, when a user who is a hackathon participant is unable to communicate well with team members he or she meets for the first time, the robot 100 recognizes that the user is feeling "anxious" and says to the user, "Just stay calm and talk, and you'll be fine," thereby easing the user's anxiety. The robot 100 also promotes idea creation by presenting the idea creation methods of past participants to the hackathon team, and manages the progress of the project by presenting an estimate of the deadline for each task. Furthermore, the robot 100 supports the improvement of presentation skills by showing actual presentation samples to the hackathon team members in cooperation with a display that is a collaborative device 400.
[0030] In addition, the robot 100 recognizes that the user, who is a programmer, is feeling "distressed" or "anxious" due to tasks such as debugging and dealing with errors, and by saying to the user, "Let's work up to XX today," the robot 100 clarifies the task goal and maintains the user's motivation. In addition, the robot 100 proposes, for example, an efficient debugging method for the user's task or an appropriate approach to errors, thereby presenting solutions to problems that arise during the task and contributing to reducing the stress of the user's task.
[0031] Furthermore, the robot 100 recognizes that a user involved in a project related to artificial intelligence and machine learning is feeling "distressed" or "anxious" because the data processing work of the machine model is not progressing as planned, and resolves the stagnation of the work and provides mental support to the user by saying to the user, "Why don't you try this method?" Also, the robot 100 aims to improve the efficiency of the work content of the project by, for example, suggesting the selection of an efficient algorithm, the preparation of a data set, and an appropriate method of evaluating the machine model for the user's work.
[0032] Furthermore, the robot 100 recognizes that the user, who is, for example, a game developer, is feeling "painful," "anxious," or "distressed" due to the occurrence of new tasks such as dealing with bugs, and by saying to the user, "Would you like to check the work schedule?", the robot 100 allows the user to check the progress of each task in the game development and reconfirm the goal, thereby alleviating the user's anxiety about the task. Furthermore, the robot 100 contributes to the success of game development by making suggestions to the user regarding the task, such as improving the efficiency of the development process, dealing with bugs, and improving the game design.
[0033] Furthermore, the robot 100 recognizes that the user, for example a web designer, is feeling "uneasy" or "anxious" because of worries about improving the user experience, and encourages the user to change his / her mood by saying something like "Do you want to change your mood?", thereby providing mental support to the user. The robot 100 also aims to improve the performance of the website designed by the user by suggesting, for example, ways to improve the efficiency of coding and design ideas for the website.
[0034] Furthermore, the robot 100 recognizes that the user, who is, for example, an IT security expert or engineer, is feeling "painful," "anxious," or "distressed" as a result of worrying about the appropriate means of implementing security measures, and encourages the user to change his / her mood by saying something like, "Why don't you get a little exercise?", thereby providing mental support to the user. The robot 100 also aims to improve security by giving advice to the user on project management, vulnerability management, and incident response improvements, for example, regarding the user's work.
[0035] In this manner, in the present disclosure, the robot 100 can provide mental support to a user who is performing programming-related tasks by recognizing the user's negative emotions such as "anxiety," "pain," and "distress" and changing its own emotions. In addition, the robot 100 can obtain information about the user's tasks by, for example, linking with a terminal on which the user is working, and provide advice about how to improve the efficiency of the tasks according to the user's tasks. In other words, the robot 100 according to the present disclosure can perform appropriate actions for the user.
[0036] 2 is a diagram illustrating a schematic functional configuration of the robot 100. The robot 100 is configured by a control unit having 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.
[0037] 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 be expressed by controlling the light emission state of the LEDs in the eyes of the robot 100. For example, the display device is provided on the chest of the robot 100. In addition, the facial expressions of the robot 100 can be expressed by controlling the display of the display device. The display device may display the contents of a conversation with a user as characters. The posture, gestures, and facial expressions of the robot 100 are examples of the attitude of the robot 100.
[0038] The sensor unit 200 includes a microphone 201, a 3D depth sensor 202, a 2D camera 203, a distance sensor 204, an acceleration sensor 205, a thermosensor 206, and a touch sensor 207. 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 with visible light and generates video information of the visible light. The contour of the object may be detected from the video information generated by the 2D camera 203. The distance sensor 204 detects the distance to the object by irradiating, for example, a laser or ultrasonic waves. The acceleration sensor 205 is, for example, a gyro sensor, and detects the acceleration of the robot 100. The thermosensor 206 detects the temperature around the robot 100. The touch sensor 207 is a sensor that detects a touch operation by a user, and is disposed, for example, on the head and hands of the robot 100. The sensor unit 200 may also include a clock, a sensor for motor feedback, and the like.
[0039] 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.
[0040] The storage unit 220 includes reaction rules 221 and history data 222. The history data 222 includes the user's past emotion values and behavioral history. The emotion values and behavioral history are recorded for each user, for example, by being associated with the user's identification information. 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 user's face image, user attribute information, and the like. 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 a CPU operating based on a program. For example, the functions of these components can be implemented as the operation of a CPU by an operating system (OS) and a program operating on the OS.
[0041] 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.
[0042] The voice emotion recognition unit 211 of the sensor module unit 210 analyzes the user's voice detected by the microphone 201 to recognize the user's emotion. For example, the voice emotion recognition unit 211 extracts features such as frequency components of the voice and recognizes the user's emotion based on the extracted features. The speech understanding unit 212 analyzes the user's voice detected by the microphone 201 and outputs text information representing the contents of the user's utterance. For example, the speech understanding unit 212 analyzes the "sigh" of the user while working, or analyzes the contents of instructions from the user such as "Teach me some tips on presentations."
[0043] The facial expression recognition unit 213 recognizes the facial expression and emotion of the user from the image of the user captured by the 2D camera 203. For example, the facial expression recognition unit 213 recognizes the facial expression and emotion of the user based on the shapes, positional relationship, etc. of the eyes and mouth. For example, the facial expression recognition unit 213 recognizes the facial expression of a user who is feeling stressed while working.
[0044] The face recognition unit 214 recognizes the face of the user. The face recognition unit 214 recognizes the user by matching a face image stored in a person DB (not shown) with a face image of the user captured by the 2D camera 203.
[0045] The user state recognition unit 230 recognizes the state of the user 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, the user state recognition unit 230 generates perception information such as "The user has not operated the terminal for a certain period of time" or "There is a 90% probability that the user is not concentrating on the work" and performs processing to understand the meaning of the generated perception information. For example, the user state recognition unit 230 generates semantic information such as "The user has not operated the work terminal for more than 5 minutes, and there is a high probability that the user is not concentrating on the work."
[0046] The emotion determination unit 232 determines an emotion value indicating the user's emotion based on the information analyzed by the sensor module unit 210 and the user's state recognized by the user state recognition unit 230. For example, the information analyzed by the sensor module unit 210 and the recognized user's state are input to a pre-trained neural network to obtain an emotion value indicating the user's emotion.
[0047] Here, the emotion value indicating the user's emotion is a value indicating the positive or negative emotion of the user. For example, if the user's emotion is a cheerful emotion accompanied by a sense of pleasure or comfort, such as "joy", "pleasure", "pleasure", "relief", "excitement", "relief", and "fulfillment", the value indicates a positive value, and the more cheerful the emotion, the larger the value. If the user's emotion 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 user's emotion is none of the above ("neutral"), the value indicates 0.
[0048] 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 recognized by the user state recognizing unit 230 .
[0049] 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."
[0050] 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 recognized by the user state recognition unit 230.
[0051] For example, when the user state recognition unit 230 recognizes that the user 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 is smiling, the emotion determination unit 232 increases the emotion value of "joy" of the robot 100.
[0052] 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 continues to talk to the robot 100 despite the battery level being low, the emotion value of "anger" may be increased.
[0053] The behavior recognition unit 234 recognizes the user's behavior based on the information analyzed by the sensor module unit 210 and the user's state recognized by the user state recognition unit 230. For example, the information analyzed by the sensor module unit 210 and the recognized user's state are input to a pre-trained neural network, the probability of each of a plurality of predetermined behavior classifications (e.g., "laughing," "getting angry," "asking a question," "getting sad") is obtained, and the behavior classification with the highest probability is recognized as the user's behavior. For example, the behavior recognition unit 234 recognizes user behaviors such as "input operation into the work terminal," "holding one's head," and "wandering around" during programming work.
[0054] As described above, in this embodiment, the robot 100 acquires the user's speech content after identifying the user. When acquiring and using the speech content, the robot 100 obtains the necessary consent in accordance with laws and regulations from the user. In addition, the behavior control system of the robot 100 in this embodiment takes into consideration the protection of the user's personal information and privacy.
[0055] The behavior determining unit 236 determines a behavior corresponding to the behavior of the user recognized by the behavior recognizing unit 234 based on the current emotion value of the user 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 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 user's past emotion value, 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 user's past emotion value, 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 user's behavior 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 gestures performed by the robot 100 or the contents of the utterances of the robot 100.
[0056] The behavior determining unit 236 may determine a behavior corresponding to the user's behavior based on the emotion of the robot 100. For example, when the robot 100 is insulted by the user or is arrogant toward the user (i.e., when the user's reaction is poor), when the surrounding noise is loud and the user's voice cannot be detected, when the battery level of the robot 100 is low, etc., and the emotion value of "anger" or "sorrow" of the robot 100 increases, the behavior determining unit 236 may determine a behavior corresponding to the user's behavior according to the increase in the emotion value of "anger" or "sorrow". Also, when the user's reaction is good or the battery level of the robot 100 is high, etc., and the emotion value of "joy" or "pleasure" of the robot 100 increases, the behavior determining unit 236 may determine a behavior corresponding to the user's behavior according to the increase in the emotion value of "joy" or "pleasure". Furthermore, the behavior determining unit 236 may determine a behavior for a user who has increased the emotional values of "joy" or "pleasure" of the robot 100 to be different from the behavior for a user who has increased the emotional values of "anger" or "sorrow" of the robot 100. In this way, the behavior determining unit 236 may determine different behaviors depending on the emotion of the robot itself and how the user has changed the emotion of the robot 100 through the user's behavior.
[0057] The behavior determination unit 236 according to this embodiment determines the behavior of the robot 100 as the behavior corresponding to the user's behavior, based on a combination of the user's past emotion value and current emotion value, the emotion value of the robot 100, the user's behavior, and the reaction rules 221. For example, when the user's past emotion value is a positive value and the current emotion value is a negative value, the behavior determination unit 236 determines the behavior for changing the user's emotion value to positive as the behavior corresponding to the user's behavior.
[0058] The reaction rule 221 defines the behavior of the robot 100 according to a combination of the user's past emotion value and current emotion value, the emotion value of the robot 100, and the user's behavior. For example, when the user's past emotion value is a positive value, the current emotion value is a negative value, and the user's behavior is sadness, a combination of gestures and speech content when asking a question to encourage the user with gestures is defined as the behavior of the robot 100.
[0059] 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 user's past emotion values and current emotion values; and behavior patterns of the user. That is, for each pattern of the emotion values of the robot 100, behaviors of the robot 100 according to the behavior patterns of the user are defined for each of a plurality of combinations of the user's past emotion values and current emotion values, 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 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."
[0060] 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.
[0061] 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.
[0062] For example, the reaction rules 221 prescribe the behavior of the robot 100 in response to a behavioral pattern such as when the user is engaged in an activity other than work, when the user sighs, or when the user makes a request (such as "Tell me about the progress of the work" or "Tell me an efficient way to do XX").
[0063] The memory control unit 238 determines whether or not to store data including the user's behavior 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.
[0064] 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 to store data including the user's behavior in the history data 222.
[0065] When the memory control unit 238 decides to store data including the user's behavior 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 user's state recognized by the user state recognition unit 230 (e.g., the user's facial expression, emotions, etc.).
[0066] 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 voice from a speaker included in the control target 252. At this time, the behavior control unit 250 may determine the speech speed of the voice based on the emotion value of the robot 100. For example, the behavior control unit 250 determines a faster speech speed as the emotion value of the robot 100 increases. In this manner, 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. For example, when the user is not able to concentrate on the work, the behavior control unit 250 utters, for example, "Do you want to exercise a little?" or "Let's take a short break." In addition, when the user's work progress is good, the behavior control unit 250 utters, for example, "You're great for doing the work as planned!" or "Let's stop today's work here." Furthermore, when the user's work is stalled, the behavior control unit 250 cooperates with the work terminal to obtain information on the stalled work content and displays information on efficient work methods on the work terminal. The behavior control unit 250 also performs actions in cooperation with the linked device 400 in response to the content of the user's conversation, such as "Tell me about the progress of the work," "Tell me some tips for presentations," or "Tell me an efficient way to do XX."
[0067] The behavior control unit 250 may recognize a change in the user'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 user's voice or facial expression. Alternatively, the change in the user's emotion may be recognized based on the detection of an impact by the touch sensor included in the sensor unit 200. When an impact is detected by the touch sensor included in the sensor unit 200, the user's emotion may be recognized as having become worse, and when the detection result of the touch sensor included in the sensor unit 200 indicates that the user's reaction is laughing, happy, or the like, the user's emotion may be recognized as having become better. Information indicating the user's reaction is output to the communication processing unit 280.
[0068] 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.
[0069] 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.
[0070] 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. The communication processing unit 280 can transmit and receive information to and from the linked device 400.
[0071] The server 300 communicates between each robot 100 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.
[0072] Fig. 3 is a diagram showing an example of an operation flow relating to an operation for determining an action in 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.
[0073] First, in step S101, the user state recognition unit 230 recognizes the state of the user based on the information analyzed by the sensor module unit 210. For example, the user state recognition unit 230 generates perception information such as "The user has not operated the terminal for a certain period of time," or "There is a 90% probability that the user is not concentrating on the work," and performs a process of understanding the meaning of the generated perception information. For example, the user state recognition unit 230 generates semantic information such as "The user has not operated the work terminal for more than 5 minutes, and there is a high probability that the user is not concentrating on the work."
[0074] In step S102, the emotion determining unit 232 determines an emotion value indicating the emotion of the user based on the information analyzed by the sensor module unit 210 and the state of the user recognized by the user state recognizing unit 230.
[0075] 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 recognized by the user state recognition unit 230. The emotion determination unit 232 adds the determined emotion value of the user to the history data 222.
[0076] In step S104, the behavior recognition unit 234 recognizes a behavior classification of the user based on the information analyzed by the sensor module unit 210 and the user's state recognized by the user state recognition unit 230. For example, the behavior recognition unit 234 recognizes user behaviors such as "input operation into the work terminal," "holding one's head," and "walking around" during programming work.
[0077] In step S105, the behavior determination unit 236 determines the behavior of the robot 100 based on a combination of the user's current emotional value determined in step S102 and the past emotional values included in the history data 222, the emotional value of the robot 100, the user's behavior recognized by the behavior recognition unit 234, and the reaction rules 221.
[0078] In step S106, the behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236. For example, the behavior control unit 250 makes an utterance to encourage the user to take a break, or displays information for improving the work efficiency of the user's work on the work terminal.
[0079] In step S107, 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.
[0080] In step S108, 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 user's behavior 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 S109.
[0081] In step S109, 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 user's state recognized by the user state recognition unit 230 are stored in the history data 222.
[0082] As described above, the robot 100 includes a control unit that recognizes the behavior of a user performing a programming task, determines its own behavior corresponding to the recognized user behavior, and controls a control target based on its own determined behavior. This allows the robot 100 to execute an appropriate behavior, such as providing information for efficiently performing the task, to the user performing a programming task.
[0083] In addition, the control unit of the robot 100 determines an action to provide mental support to the user who is a programming learner and an action to provide advice on a learning method to the user, thereby enabling the robot 100 to maintain the motivation of the programming learner.
[0084] Furthermore, the control unit of the robot 100 determines an action for providing mental support to users who are members of a software development team, an action for providing support for improving teamwork in the software development team, and an action for providing advice on the development process in software development. As a result, the robot 100 can contribute to the success of a project by improving teamwork in the software development team, maintaining the motivation of team members, and providing advice on improving the development process.
[0085] The control unit of the robot 100 also determines an action to provide mental support to the user who is a hackathon participant, and an action to provide advice on the progress of the project and advice on improving presentation skills. This allows the robot 100 to support the hackathon participant by providing mental support and technical support such as project progress and presentation methods.
[0086] In addition, the control unit of the robot 100 determines an action to provide mental support to the user who is a programmer and an action to present a solution to a problem that occurs during work. This enables the robot 100 to support the programmer in maintaining a stable mental state and to appropriately deal with a problem that occurs during work.
[0087] Furthermore, the control unit of the robot 100 determines an action to provide mental support to a user involved in a project related to artificial intelligence and machine learning, and an action to provide advice on improving the efficiency of the work content of the project. As a result, the robot 100 can provide mental support to programmers involved in projects related to artificial intelligence and machine learning, and contribute to the success of the project by suggesting algorithm selections with high work efficiency, etc.
[0088] The control unit of the robot 100 also determines an action to provide mental support to the user who is a game developer, and an action to provide advice on improving the efficiency of the development process and advice on game design. In this way, the robot 100 can contribute to the success of game development by providing mental support to the programmer of the game developer and technical support such as game design and debugging methods.
[0089] The control unit of the robot 100 also determines an action to provide mental support to the user who is a web designer and an action to provide advice on improving the performance of the website. This allows the robot 100 to contribute to the development of a high-performance website by providing mental support to the programmer who is a web designer and advice on improving web design and user experience.
[0090] Furthermore, the control unit of the robot 100 determines an action to provide mental support to a user who performs work related to security of information technology and an action to improve security. As a result, the robot 100 can provide mental support to programmers related to IT security and information on the appropriate implementation of security measures, thereby enabling IT security experts to perform appropriate work.
[0091] In the above embodiment, the robot 100 recognizes the user by using the face image of the user, but the disclosed technology is not limited to this aspect. For example, the robot 100 may recognize the user by using a voice uttered by the user, the user's email address, the user's SNS ID, or an ID card with a built-in wireless IC tag that the user possesses.
[0092] 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.
[0093] 4 is a diagram illustrating an example of a hardware configuration of a computer 1200 functioning as the robot 100 and the server 300. A program installed in the computer 1200 can cause the computer 1200 to function as one or more "parts" of the 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.
[0094] The computer 1200 according to this embodiment includes a CPU 1212, a RAM 1214, and a graphic 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, and an IC card drive, which are connected to the host controller 1210 via an input / output controller 1220. The DVD drive may be a DVD-ROM drive, a DVD-RAM drive, etc. The storage device 1224 may be a hard disk drive, a solid state drive, etc. The computer 1200 also includes input / output units such as a ROM 1230 and a keyboard, which are connected to the input / output controller 1220 via an input / output chip 1240.
[0095] 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 retrieves 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.
[0096] 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 reads programs or data from a DVD-ROM or the like and provides them 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.
[0097] 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.
[0098] The programs are provided by a computer-readable storage medium such as a DVD-ROM 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.
[0099] 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, a DVD-ROM, or a recording medium such as an IC card, and transmits the read transmission data to the network, or writes reception data received from the network to a reception buffer area or the like provided on the recording medium.
[0100] 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, a DVD drive (DVD-ROM), 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.
[0101] 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.
[0102] The above-mentioned 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.
[0103] 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.
[0104] 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.
[0105] 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 either source code 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.
[0106] 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.
[0107] (Other embodiments) 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.
[0108] FIG. 5 is a diagram showing an emotion map 700 on which multiple emotions are mapped. In the emotion map 700, 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 700, 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.
[0109] (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.
[0110] By detecting emotions in about 100 msec and immediately performing a corresponding reaction (e.g., a backchannel), unnatural backchannels can be avoided, 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 700. 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.
[0111] (2) The directionality of emotions and the strength of their intensity may be preset in reference to the emotion map 700, 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 or security, the robot 100 may nod and continue to listen. If the robot 100 feels anxious, confused, or suspicious, the robot 100 may tilt its head or stop shaking its head.
[0112] These emotions are distributed in the three o'clock direction of emotion map 700 and usually fluctuate between relief and anxiety. In the right half of emotion map 700, situational awareness dominates over internal sensations, resulting in a sense of calm.
[0113] (3) If the robot 100 is praised and feels good, the filler "ah" may be inserted before the line, and if the robot 100 is hurt by 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 700.
[0114] (4) In the left half of the emotion map 700, internal sensations (reactions) are more important than situational awareness. This can give the impression that the person is reacting unconsciously.
[0115] 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 700.
[0116] 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 700.
[0117] (5) The inside of emotion map 700 represents what is going on in one's mind, while the outside of emotion map 700 represents behavior. Therefore, the further out on the outside of emotion map 700 you go, the more visible the emotions become (the more they are expressed in behavior).
[0118] (6) When listening to someone while feeling a sense of security, which is distributed around the 3 o'clock area of the emotion map 700, the robot 100 may lightly nod its head and say "Hmmm." 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.
[0119] 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 700, 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 700. 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 is a diagram showing another example of an emotion map. FIG. 6 shows an example in which multiple emotions, such as "peace of mind," "calm," and "encouraging," have similar emotion values.
[0120] Furthermore, the emotion determining unit 232 may determine the emotion of the robot 100 according to a specific mapping. Specifically, the emotion determining unit 232 inputs the information analyzed by the sensor module unit 210, the state of the user 10 recognized by the user state recognizing unit 230, and the state of the robot 100 to a pre-trained neural network, acquires emotion values indicating each emotion shown in the emotion map 700, 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 700. For example, the neural network is trained based on learning data that indicates that when it is recognized from the output of the touch sensor 207 that the robot 100 is being stroked by the user 10, the emotion value becomes "3" which indicates "happiness," and learning data that indicates that when it is recognized from the output of the acceleration sensor 205 that the robot 100 is being hit by the user 10, the emotion value becomes "3" which indicates "anger." Furthermore, this neural network is trained so that emotions that are placed close to each other have similar values, as in the emotion map 900 shown in FIG.
[0121] The emotion determination unit 232 may also determine the emotion of the robot 100 based on the behavioral content of the robot 100 generated by the sentence generation model. Specifically, the emotion determination unit 232 inputs the behavioral content of the robot 100 generated by the sentence generation model to a pre-trained neural network, acquires emotion values indicating each emotion shown in the emotion map 700, and integrates the acquired emotion values indicating each emotion with the emotion values indicating each emotion of the current robot 100 to update the emotion of the robot 100. For example, the emotion values indicating each acquired emotion and the emotion values indicating each emotion of the current robot 100 are averaged and integrated. This neural network is pre-trained based on multiple learning data that are combinations of texts indicating the behavioral content of the robot 100 generated by the sentence generation model and emotion values indicating each emotion shown in the emotion map 700.
[0122] For example, if the utterance of the robot 100, "That's great. You're lucky," is obtained as the behavioral content of the robot 100 generated by the sentence generation model, then when the text representing this utterance is input to the neural network, a high emotional value is obtained for the emotion "happy," and the emotions of the robot 100 are updated so that the emotional value of the emotion "happy" becomes higher.
[0123] The behavior determination unit 236 generates the robot's behavior content by adding fixed sentences for asking about the robot's behavior 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 sentences into a sentence generation model with an interactive function.
[0124] For example, the behavior determining unit 236 acquires 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 as shown in Fig. 7. Fig. 7 is a diagram showing an example of an emotion table. 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.
[0125] 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 emotion of the robot 100 corresponds to multiple index numbers, multiple texts representing the state of the robot 100 are obtained.
[0126] Also, for the emotions of the user 10, an emotion table as shown in FIG. 8 is prepared. FIG. 8 is a diagram showing an example of the emotion table. Here, if the user's behavior is speaking "I'm AAA," the emotion of the robot 100 is index number "2," and the emotion of the user 10 is index number "3," then "The robot is in a very happy state. The user is in a normal happy state. The user spoke to me saying, "I'm AAA. How would you respond as the robot?" is input to the sentence generation model, and the content of the robot's behavior is acquired. The behavior decision unit 236 decides the robot's behavior from this content of the behavior.
[0127] In this way, the robot 100 can change its behavior according to the index number corresponding to the robot's emotion, so that the user gets the impression that the robot 100 has a heart, and is encouraged to take actions such as talking to the robot.
[0128] 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.
[0129] 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.
[0130] 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. [Explanation of symbols]
[0131] 1. Control System 20 Communication Network 100 Robots 200 Sensor section 201 Mike 202 3D Depth Sensor 203 2D Camera 204 Distance Sensor 210 Sensor module section 211 Voice Emotion Recognition Unit 212 Speech Understanding Department 213 Facial expression recognition unit 214 Face Recognition Unit 220 Storage Unit 221 Reaction Rules 222 Historical Data 230 User state recognition unit 232 Emotion Determination Department 234 Behavior Recognition Department 236 Action Decision-Making Department 238 Memory control unit 250 Behavior Control Unit 252 Control Object 280 Communication Processing Unit 300 Servers 400 Related Devices 700 Emotion Map 900 Emotion Map
Claims
1. A control unit that recognizes an action of a user performing a programming task, determines its own action corresponding to the recognized action of the user, and controls a control target based on the determined action of its own An electronic device comprising:
2. The control unit is The electronic device according to claim 1 , further comprising: a step of determining, for the user who is a programming learner, an action for providing mental support to the user and an action for providing advice on a learning method.
3. The control unit is The electronic device of claim 1 , which determines actions to provide mental support to the users who constitute a software development team, actions to provide support in improving teamwork in the software development team, and actions to provide advice regarding the development process in software development.
4. The control unit is The electronic device according to claim 1 , which determines an action to provide mental support to the user who is a participant in a hackathon, and an action to provide advice on the progress of a project and advice on improving presentation skills.
5. The control unit is The electronic device according to claim 1 , further comprising: a determination as to an action for providing mental support to the user who is a programmer; and a determination as to an action for suggesting a solution to a problem that occurs during work.
6. The control unit is The electronic device of claim 1 , which determines, for the user involved in a project related to artificial intelligence and machine learning, an action to provide mental support to the user and an action to provide advice on improving the efficiency of the project's work content.
7. The control unit is The electronic device according to claim 1 , further comprising: determining an action for providing mental support to the user who is a game developer; and an action for providing advice on improving the efficiency of a development process and advice on game design to the user.
8. The control unit is The electronic device according to claim 1 , further comprising: determining an action for providing psychological support to the user who is a web designer; and an action for providing advice on improving website performance to the user.
9. The control unit is The electronic device according to claim 1 , further comprising: a determination unit that determines, for a user performing work related to security of information technology, an action for providing psychological support to the user and an action for improving security.
Citation Information
Patent Citations
Determination of analite in medium containing particle
JP1985053847A
Cited By
system
JP2026155763A
