Behavior control system and program

The behavior control system assesses question difficulty and responds appropriately, using gestures and sounds to enhance user interaction, addressing the challenge of inconsistent robot responses to user queries.

WO2024190445A1PCT designated stage expired Publication Date: 2024-09-19SOFTBANK GROUP CORP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/007632
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-25
Filing Date
2024-02-29
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Current behavior control systems for robots lack the ability to appropriately respond to user questions based on the difficulty level and context, leading to inconsistent and unsatisfactory interactions.

Method used

A behavior control system that includes a behavior recognition unit, difficulty estimation unit, and action determining unit to assess the difficulty of user questions and respond accordingly, using gestures, sounds, and emotional expressions to engage users effectively.

Benefits of technology

The system enables robots to provide tailored responses to user questions, enhancing user interaction by adjusting actions based on question difficulty, improving engagement and satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024007632_19092024_PF_FP_ABST
    Figure JP2024007632_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A behavior control system includes: a behavior recognition unit that recognizes behavior of a user; a difficulty estimation unit that estimates the difficulty of a question when the behavior of the user is recognized as a question; and a behavior decision unit that, when a score corresponding to the difficulty is equal to or greater than a threshold, decides a behavior of being happy to be asked a question by the user and a behavior of answering the question as behaviors to be executed.
Need to check novelty before this filing date? Find Prior Art

Description

Behavior control system and program

[0001] The present invention relates to a behavior control system and a program.

[0002] a behavior control system including: a behavior information storage unit that stores decision information for deciding an action based on a user's state; a user state recognition unit that recognizes the user's state; a behavior decision unit that decides an action to be performed based on the user's state recognized by the user state recognition unit and the decision information; a reaction recognition unit that recognizes the user's reaction to performing the action decided by the behavior decision unit; a transmission unit that transmits the user's state recognized by the user state recognition unit, the action decided by the behavior decision unit, and the user's reaction recognized by the reaction recognition unit to an external server; a receiving unit that receives from the server an action appropriate to the user's state recognized by the user state recognition unit if the behavior decision unit is unable to decide an action to be performed based on the user's state and the decision information; and a behavior information update unit that updates the decision information based on the action received by the receiving unit from the server (see, for example, Japanese Patent Publication No. 6053847).

[0003] It is desirable to have the robot perform appropriate actions in response to questions from the user.

[0004] According to a first aspect of the present invention, there is provided a behavior control system including: a behavior recognition unit that recognizes a user's behavior; a difficulty estimation unit that, when the user's behavior is recognized as a question, estimates the difficulty of the question; and a behavior determination unit that, when a score according to the difficulty is equal to or greater than a threshold, determines, as behaviors to be executed, a behavior of being pleased to be asked a question by the user and a behavior of answering the question.

[0005] The behavior determination unit may determine, as the behavior to be executed, an action of being pleased to be asked a question by the user and an action of answering the question when the cumulative value of the score is equal to or greater than a threshold value, or when the number of times the score according to the difficulty level has been equal to or greater than a threshold value is a predetermined number of times or more.

[0006] According to a second aspect of the present invention, there is provided a behavior control system including: a behavior recognition unit that recognizes a user's behavior; a difficulty estimation unit that, when the user's behavior is recognized as a question, estimates the difficulty of the question; and, when a score according to the difficulty is equal to or greater than a threshold, a behavior determination unit that determines, as a behavior to be executed by a robot, at least one of a behavior of making a predetermined gesture and a behavior of outputting a specific voice, and an behavior to respond to the question.

[0007] When the cumulative value of the score is equal to or greater than a threshold value, the behavior decision unit may select as the specified gesture at least one of a gesture that calls the user's attention, a gesture that entertains the user, and a gesture that expresses the content of the response to the user.

[0008] When the cumulative value of the score is equal to or greater than a threshold value, the behavior determination unit may select, as the specific sound, at least one of music and sound effects having a lower output than the sound of the response to the user.

[0009] According to a third aspect of the present invention, there is provided a behavior control system comprising: a behavior recognition unit that recognizes a user's behavior, a difficulty estimation unit that estimates the difficulty of the question when the user's behavior is recognized as a question, and a behavior determination unit that selects one answer mode from a plurality of answer modes based on the content of the question, and determines, as a behavior to be performed by a robot, an action that answers the question in a manner corresponding to the estimated difficulty in the selected answer mode.

[0010] The response mode may include a conversation mode in which the user mainly converses with the robot, and the behavior determination unit may set the robot's happy reaction in the conversation mode to be higher than in other response modes.

[0011] The answering modes may include a study mode in which the user is taught by the robot, and the behavior determining unit may set the joyful reaction of the robot in the study mode to be lower than that in other answering modes.

[0012] The answering mode may include a consultation mode in which the user consults the robot, and the behavior determining unit may suppress a happy reaction of the robot in the consultation mode.

[0013] According to a fourth aspect, there is provided a program that causes a computer to function as the above-described behavior control system.

[0014] The above summary of the invention does not list all of the necessary features of the present invention, and subcombinations of these features may also constitute inventions.

[0015] 10 is a schematic diagram showing an example of a system 5 according to the present embodiment; FIG. 10 is a schematic diagram showing an example of a motion flow by the robot 100 according to the first embodiment; FIG. 10 is an image diagram showing an example of a gesture performed by the robot 100 according to the third embodiment; FIG. 10 is a schematic diagram showing an example of a motion flow by the robot 100 according to the third embodiment; FIG. 10 is a schematic diagram showing an example of a motion flow by the robot 100 according to the fourth embodiment; FIG. 10 is a schematic diagram showing an example of a motion flow by the robot 100 according to the fourth embodiment; FIG. 10 is a schematic diagram showing an example of a motion flow by the robot 100 according to the fifth embodiment; FIG. 10 is a schematic diagram showing an example of a motion flow by the robot 100 according to the sixth embodiment; FIG. 10 shows an emotion map 5400 to which multiple emotions are mapped; FIG. 10 is a schematic diagram showing the functional configuration of the robot 100 according to the seventh embodiment; FIG. 10 shows an example of an utterance of a response behavior of the robot 100 according to the seventh embodiment; FIG. 10 shows an example of a movement of a response behavior of the robot 100 according to the seventh embodiment; FIG. 10 is a schematic diagram showing an example of a motion flow by the robot 100 according to the seventh embodiment;

[0016] 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.

[0017] FIG. 1 schematically illustrates an example of a system 5 according to this embodiment. The system 5 includes a robot 100, a robot 101, a robot 102, and a server 300. Users 10a, 10b, 10c, and 10d are users of the robot 100. Users 11a, 11b, and 11c are users of the robot 101. Users 12a and 12b are users of the robot 102. In the description of this embodiment, users 10a, 10b, 10c, and 10d may be collectively referred to as users 10. Users 11a, 11b, and 11c may be collectively referred to as users 11. Users 12a and 12b may be collectively referred to as users 12. The robots 101 and 102 have substantially the same functions as the robot 100. Therefore, the system 5 will be described mainly focusing on the functions of the robot 100.

[0018] 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 records captured image data, etc. of the user 10 in the server 300, and requests the image data, etc. from the server 300 as needed and provides it to the user 10.

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

[0020] 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.

[0021] The robot 100 stores rules that define the actions that the robot 100 will take based on the actions of the user 10, and performs various actions in accordance with the rules.

[0022] Specifically, the robot 100 has reaction rules for determining the behavior of the robot 100 based on 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." Furthermore, the reaction rules define the behavior of the robot 100 as "apologizing" when the behavior of the user 10 is "angry." Furthermore, the reaction rules define the behavior of the robot 100 as "answering" when the behavior of the user 10 is "asking a question." Furthermore, the reaction rules define the behavior of the robot 100 as "calling out" when the behavior of the user 10 is "sad."

[0023] When the robot 100 recognizes that the behavior of the user 10 is "laughing" based on the reaction rules, the robot 100 selects the behavior of "laughing" 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 "laughing," the robot 100 performs a "laughing" motion and outputs a sound representing laughter. This allows the robot 100 to laugh together with the user 10.

[0024] 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 "laughing," the robot 100 action of "laughing," the fact that the user 10's reaction was positive, and attributes of the user 10.

[0025] 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 then analyzes the user reaction information from the robots 100, 101, and 102 and updates the reaction rules.

[0026] 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.

[0027] 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, a behavior recognition unit 232, a difficulty estimation unit 234, a behavior determination unit 236, a behavior control unit 250, a control target 252, and a communication processing unit 280.

[0028] The control object 252 includes a display device, a speaker, LEDs in the eyes, and motors for driving the arms, hands, and feet. The posture and gestures of the robot 100 are controlled by controlling the motors of the arms, hands, and feet. Some of the emotions of the robot 100 can be expressed by controlling these motors. Some of the emotions 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.

[0029] 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 audio data. The microphone 201 may be provided on the head of the robot 100 and may have a binaural recording function. The 3D depth sensor 202 continuously emits an infrared pattern and detects the contour of an object by 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 images using visible light and generates visible light video information. The distance sensor detects the distance to an object by emitting, 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, etc.

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

[0031] The storage unit 220 includes a reaction rule 221. At least a portion of the storage unit 220 is implemented by a storage medium such as a memory. The storage unit 220 may include a person DB that stores facial images of the user 10, attribute information of the user 10, and the like. Note that the functions of the components of the robot 100 shown in FIG. 2 , excluding 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 operating an operating system (OS) and a program running on the OS.

[0032] 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.

[0033] 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 quantities such as frequency components of the voice and recognizes the emotion of the user 10 based on the extracted feature quantities. 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.

[0034] 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 relationships, etc. of the eyes and mouth.

[0035] 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 the face image of the user 10 captured by the 2D camera 203.

[0036] 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, it mainly performs processing related to perception using the analysis results of the sensor module unit 210. For example, it generates perceptual information such as "Dad is alone" or "There is a 90% chance that Dad is not smiling." It then performs processing to understand the meaning of the generated perceptual information. For example, it generates semantic information such as "Dad is alone and looks lonely."

[0037] The behavior recognition unit 232 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 into a pre-trained neural network, the probability of each of a plurality of predetermined behavior categories (for example, "laughing," "angry," "asking a question," and "sad") is obtained, and the behavior category with the highest probability is recognized as the behavior of the user 10.

[0038] When the user's behavior recognized by the behavior recognition unit 232 is recognized as "asking a question," the difficulty estimation unit 234 estimates a score according to the difficulty of the question based on text information representing the content of the user's utterance from the information analyzed by the sensor module unit 210. For example, the text information representing the content of the user's utterance is input into a pre-trained neural network to obtain a score according to the difficulty of the question. Note that the higher the difficulty of the question, the higher the score.

[0039] The behavior determination unit 236 determines the behavior of the robot 100 based on the user behavior recognized by the behavior recognition unit 232 and the reaction rules 221. At this time, if the score according to the difficulty level estimated by the difficulty estimation unit 234 is equal to or greater than a threshold, the behavior to be executed is determined to be a behavior of delighting in being asked a question by the user 10 and a behavior of answering the question. Here, "a behavior of delighting in being asked a question by the user" is, for example, a proud behavior (a boastful behavior) in response to a question from the user.

[0040] 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.

[0041] Furthermore, when the behavior decision unit 236 decides on "behavior that is pleasing to be asked a question by the user," the behavior control unit 250 outputs a voice that expresses pride (for example, "I'm good at answering questions like this") from the speaker, and expresses the posture and gesture of the robot 100 that expresses pride (for example, the movement of slowly raising one hand) by driving the motors of the arms, hands, feet, etc.

[0042] The behavior control unit 250 may recognize a change in the user 10's emotions in response to the execution of the behavior determined by the behavior determination unit 236. For example, the change in emotions may be recognized based on the voice or facial expression of the user 10. Alternatively, the change in emotions may be recognized based on the detection of an impact by a touch sensor included in the sensor unit 200. If an impact is detected by the touch sensor included in the sensor unit 200, it may be recognized that the user 10's emotions have worsened. If it is determined from the detection result of the touch sensor included in the sensor unit 200 that the user 10's reaction is smiling, happy, or the like, it may be recognized that the user 10's emotions have improved. Information indicating the user 10's reaction is output to the communication processing unit 280.

[0043] 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. The communication processing unit 280 also 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.

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

[0045] 3 shows an example of an operation flow for determining the behavior 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 the step that is executed.

[0046] 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 .

[0047] In step S102 , the behavior recognition unit 232 recognizes the 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 .

[0048] In step S104, it is determined whether the behavioral category of the user 10 recognized in step S102 is "asking a question." If the behavioral category of the user 10 recognized in step S102 is "asking a question," the process proceeds to step S108. On the other hand, if the behavioral category of the user 10 recognized in step S102 is not "asking a question," the process proceeds to step S106.

[0049] In step S106 , the behavior decision unit 236 decides the behavior of the robot 100 based on the user's behavior recognized by the behavior recognition unit 232 and the reaction rule 221 .

[0050] In step S108, the difficulty level estimation unit 234 estimates a score according to the difficulty level of the question based on the text information representing the content of the user's utterance, which is included in the information analyzed by the sensor module unit 210.

[0051] In step S110, it is determined whether the score corresponding to the difficulty of the question estimated in step S108 is equal to or greater than a threshold. If the score corresponding to the difficulty of the question estimated in step S108 is equal to or greater than the threshold, the process proceeds to step S112. On the other hand, if the score corresponding to the difficulty of the question estimated in step S108 is less than the threshold, the process proceeds to step S114.

[0052] In step S112, the behavior determining unit 236 determines, as the behavior to be executed, a behavior of being pleased to be asked a question by the user 10 and a behavior of answering the question.

[0053] In step S114, the behavior determining unit 236 determines, based on the reaction rule 221, an action to be performed, which is an action to answer the question.

[0054] In step S116, the behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236.

[0055] As described above, the robot 100 can take a boastful action at an appropriate time in response to a question from a user. That is, when the difficulty of the question is higher than a threshold, the robot can adopt a boastful expression and appearance. For example, when asked the answer to a difficult calculation or when asked about a good restaurant, the robot will adopt a boastful expression and appearance while answering the question. On the other hand, when the difficulty of the question is lower than the threshold, for example, when asked a low-difficulty question such as "What time is it now?" or "What's the weather today?", the robot will answer the question without adopting a boastful expression or appearance.

[0056] In addition, when the cumulative value of the score according to the difficulty level is equal to or greater than a threshold value, or when the number of times the score according to the difficulty level is equal to or greater than a threshold value exceeds a predetermined number of times, the behavior decision unit 236 may decide that the behavior to be executed is an behavior of being pleased to be asked a question by the user, and an behavior of answering the question.

[0057] Furthermore, the difficulty level estimation unit 234 may estimate the difficulty level of a question taking into account the age of the user asking the question. For example, even for the same question, the difficulty level estimation unit 234 may estimate the difficulty level of the question so that the difficulty score gradually decreases from 3 years old to 18 years old and then remains constant. In other words, even for the same question, the difficulty level estimation unit 234 may cause the robot's joyful response to differ depending on the user's age.

[0058] For example, even if the question is simple, if the content is not studied at the user's age, the difficulty level estimation unit 234 increases the difficulty level score and causes the robot to behave in a way that is pleasing to the user's question.

[0059] Specifically, if the user is a first-grader and asks a multiplication problem that is taught to second-graders, the difficulty level estimation unit 234 increases the difficulty level of the question compared to when the user is a second-grader, and makes the robot look and pose proud when answering. Also, if the user is a third-grader and asks a multiplication problem that is taught to second-graders, the difficulty level estimation unit 234 decreases the difficulty level of the question compared to when the user is a second-grader, and makes the robot look and pose proud when answering.

[0060] Conversely, the difficulty level estimation unit 234 may gradually increase the difficulty level score for the same question once the user reaches a certain age (for example, 70 years old).

[0061] In this way, by estimating the difficulty of a question taking into account the age of the user, it is possible to make the robot 100 respond according to the age of the user asking the question.

[0062] Second Embodiment The behavior control unit 250 may change the time it takes for the robot 100 to perform an action in response to a question from the user 10, depending on the score corresponding to the difficulty of the question estimated by the difficulty estimation unit 234. For example, the lower the score estimated by the difficulty estimation unit 234, the shorter the time it takes for the robot 100 to return an answer to the user's question. Alternatively, the higher the score, the longer the time it takes for the robot 100 to return an answer to the question from the user 10, or the robot 100 may perform a thought gesture before returning an answer. Note that the behavior control unit 250 may cause the robot 100 to perform an action such as folding its arms, putting its hands on its head, or turning on the spot as a thought gesture before returning an answer.

[0063] The behavior control unit 250 can express the difficulty of the question to the user 10 by the passage of time or the like, by changing the time it takes for the robot 100 to perform an action in response to the question from the user 10, depending on the score. In other words, the user 10 can be given a sense of satisfaction that the robot has asked a difficult question.

[0064] Note that even when the score according to the difficulty of the question estimated by the difficulty estimation unit 234 is relatively low and the question can be answered immediately, the behavior control unit 250 may change the time until the robot 100 performs an action in response to the question of the user 10 according to the age of the user 10. For example, even when the scores are the same, if the user 10 who has asked the question is a child, the behavior control unit 250 may increase the time until the robot 100 performs an action in response to the question of the user 10 compared to when the user 10 who has asked the question is an adult. In other words, the behavior control unit 250 can make the robot 10 pretend to think for a while before answering according to the age of the user 10, even if the question is easy to answer.

[0065] Furthermore, even if the scores according to the difficulty of the question estimated by the difficulty estimation unit 234 are the same, the behavior control unit 250 may change the time until the robot 100 performs an action in response to the question of the user 10 depending on the attributes of the user 10. For example, even if the scores are the same, the time until the robot 100 performs an action in response to the question of the user 10 may be changed depending on whether the user 10 who asked the question is male or female.

[0066] [Third Embodiment] The third embodiment is characterized in that, when the robot 100 is asked a question by the user 10, if the score corresponding to the difficulty of the question is equal to or greater than a threshold, the robot 100 performs a predetermined gesture and outputs a specific voice as an action to be executed. When the difficulty of the question is high, it is expected that the robot 100's answer explanation will be long and it will take a long time for the user 10 who is asking the question to understand. Therefore, in this embodiment, it is possible to make the robot 100 perform a gesture or output a voice while explaining the answer to a high-difficulty question. Differences from the first embodiment will be described below. Note that the same components will be assigned the same reference numerals, and detailed description will be omitted.

[0067] The behavior determination unit 236 determines the behavior of the robot 100 based on the behavior of the user 10 recognized by the behavior recognition unit 232 and the reaction rules 221. At this time, if the behavior of the user 10 is "asking a question" and the score according to the difficulty estimated by the difficulty estimation unit 234 is equal to or greater than a threshold, the behavior determination unit 236 determines the behavior of making a gesture and the behavior of outputting a voice as the behavior to be executed.

[0068] The difficulty level estimation unit 234 estimates a score according to the difficulty level of the question and determines whether the score is equal to or greater than a threshold. When the score according to the difficulty level estimated by the difficulty level estimation unit 234 is equal to or greater than the threshold, the difficulty level of the question asked by the user 10 is high.

[0069] 4A is an image diagram of an example of the gesture of the robot 100 when the behavior determining unit 236 determines that the robot 100 should perform a predetermined gesture. The predetermined gestures as the behavior of the robot 100 include (1) a gesture of calling attention, (2) a cheerful and entertaining gesture, (3) a gesture expressing the content of an explanation, (4) a gesture emphasizing a part of an explanation, and (5) a gesture of dancing. Note that the behaviors of the robot 100 are not limited to the listed examples. Here, (1) a gesture of calling attention is an example of a gesture of calling the user's attention. Also, (2) a cheerful and entertaining gesture and (5) a gesture of dancing are examples of gestures of entertaining the user. Furthermore, (3) a gesture expressing the content of an explanation and (4) a gesture emphasizing a part of an explanation are examples of gestures of expressing the content of a response to the user.

[0070] 4A(a) is an image diagram of (1) a gesture for drawing attention. For example, this gesture is made when the user 10 becomes bored with the robot 100's long answer explanation and moves away or looks away. Specifically, the robot 100 raises its upper arm to a high position and bends and straightens its wrist joint, thereby drawing the user 10's attention to the robot 100. This gesture is similar to the gesture made by a human being when saying, "Look at me."

[0071] 4A(b) is an image diagram of (2) a cheerful and entertaining gesture. For example, this gesture is made when the user 10 finds the robot 100's answer and explanation uninteresting and has a gloomy expression or looks down. Specifically, this gesture is made by bending the joints of the robot 100's arms and moving them rhythmically to make the user 10 feel happy.

[0072] 4A(c) is an image diagram of (3) gestures expressing the content of the explanation. For example, this gesture is made when the user 10 finds the answer explanation of the robot 100 difficult and cannot keep up with it, groaning or tilting his head. Specifically, this gesture is made by expressing numbers with the fingers of the robot 100's hand or expressing the content of the explanation with gestures, so that the user 10 can catch up with the understanding.

[0073] 4A(d) is an image diagram of (4) a gesture emphasizing an explanation point. For example, this gesture is made when the user 10 loses track of the key points of the robot 100's long answer explanation and looks dazed or sleepy. Specifically, the robot 100 makes an emphatic pose while outputting a voice saying, "This is important," in the middle of the answer explanation, thereby conveying the key points of the answer explanation to the user 10.

[0074] In addition to this, the robot 100 can perform various other gestures, such as (5) dancing (not shown), which increases the interest of the user 10 by dancing while the robot 100 is explaining its answer.

[0075] In this way, the robot 100 can assist the user 10 in understanding by making certain gestures while answering and explaining questions from the user 10, and can also entertain and liven up the user. The certain gestures include gestures that call attention, cheerful and entertaining gestures, gestures that express the content of the explanation, gestures that emphasize parts of the explanation, and dancing gestures, as well as various other variations. For example, the gestures include gestures that think together, gestures that laugh, gestures that nod or show affirmation, etc.

[0076] Furthermore, when the behavior determining unit 236 determines that the robot 100 should output a specific sound, the robot 100 outputs the sound. There are two types of sounds that the robot 100 may output: (1) playing background music (BGM) and (2) playing sound effects.

[0077] (1) BGM refers to background music, and may be a melody played by an instrument or natural sounds such as birds chirping or the sound of a babbling brook. Specifically, when the user 10 is bored with the long answer explanation of the robot 100, the robot 100 plays upbeat music to increase the interest of the user 10. Also, specifically, when the user 10 is having difficulty following the answer explanation of the robot 100, the robot 100 plays relaxing music to relieve the tension of the user 10.

[0078] (2) The sound effect is a sound other than background music emitted from the robot 100 and added as part of the performance. Specifically, when the user 10 is bored with the long answer explanation of the robot 100, the robot 100 may output a sound effect such as "beep" to increase the interest of the user 10. Also, specifically, when the answer explanation of the robot 100 is long and there is a point in the explanation that needs to be emphasized, the robot 100 may output a sound effect such as a drum roll "ta-da-da!" to highlight the emphasized point or to liven up the atmosphere.

[0079] The background music and sound effects as specific sounds output by the robot 100 are configured to have a lower volume or sound pressure than the sound of the answer to the question. In other words, the background music and sound effects are set so as not to block out the sound of the answer. The action of the robot 100 outputting sounds is expected to have the following effects on the user 10: - Help the user concentrate on explaining the answer - Relax and make it easier to listen - Liven up the atmosphere - Make it exciting - Ease the difficulty of explaining the answer

[0080] The robot 100 is not limited to performing either one of the gesture action and the voice output action, and the action decision unit 236 may decide to perform both of them in combination. In addition, although the above description has been given using an example in which the robot 100's response explanation is long, the present invention is not limited to this and can be applied to, for example, a case in which it takes a long time for the user 10 to understand or a case in which the user 10 is silent.

[0081] The operation of the robot 100 according to this embodiment will be described below. The robot 100 executes a behavior decision process shown in Fig. 4B. The processing in the robot 100 is executed by the CPU 1212 functioning as a user state recognition unit 230, a behavior recognition unit 232, a difficulty estimation unit 234, a behavior decision unit 236, a behavior control unit 250, and a communication processing unit 280.

[0082] Fig. 4B is a flowchart showing the behavior decision process of the robot 100. The CPU 1212 repeatedly executes the flowchart shown in Fig. 4B.

[0083] First, in step S4200 , the CPU 1212 recognizes the state of the user 10 based on the information analyzed by the sensor module unit 210 .

[0084] In step S4202 , the CPU 1212 recognizes the behavior category 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 .

[0085] In step S4204, the CPU 1212 determines whether the behavioral category of the user 10 recognized in step S4202 is "asking a question." If the CPU 1212 determines that the behavioral category of the user 10 recognized in step S4202 is "asking a question" (step S4204: YES), the process proceeds to step S4206. On the other hand, if the CPU 1212 determines that the behavioral category of the user 10 recognized in step S4202 is not "asking a question" (step S4204: NO), the process proceeds to step S4216.

[0086] In step S4206, the CPU 1212 estimates a score according to the difficulty level of the question based on the text information representing the content of the user's utterance, which is included in the information analyzed by the sensor module unit 210.

[0087] In step S4208, the CPU 1212 determines whether the score corresponding to the question difficulty level estimated in step S4206 is equal to or greater than a threshold. If the CPU 1212 determines that the score corresponding to the question difficulty level estimated in step S4206 is equal to or greater than the threshold (step S4208: YES), the CPU 1212 proceeds to step S4210. On the other hand, if the CPU 1212 determines that the score corresponding to the question difficulty level estimated in step S4206 is not equal to or greater than the threshold, i.e., is less than the threshold (step S4208: NO), the CPU 1212 proceeds to step S4214.

[0088] In step S4210, the CPU 1212 determines, as the actions to be executed, an action of being pleased to be asked a question by the user 10 and an action of answering the question.

[0089] In step S4212, the CPU 1212 determines the action to be executed as a gesture action and an action to output a voice. Note that the action may be both or either one of them.

[0090] In step S4214, the CPU 1212 determines, based on the reaction rules 221, an action to answer the question as the action to be executed.

[0091] In step S4216 , the CPU 1212 determines the behavior of the robot 100 based on the user's behavior recognized by the behavior recognition unit 232 and the reaction rule 221 .

[0092] In step S4218, the behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236. Then, the CPU 1212 ends the processing of this flowchart.

[0093] [Fourth Embodiment] The fourth embodiment is characterized in that, when the robot 100 is asked a question by the user 10, the answer mode of the robot 100 is switched based on the state of the user 10 and the content of the question. There are various answer modes, such as a "conversation mode," a "study mode," a "work mode," and a "consultation mode," and the content of the answer of the robot 100 is changed depending on the answer mode. In addition, by changing the score threshold for the difficulty of the question depending on the answer mode, the behavior of the robot 100 will differ depending on the emotional value.

[0094] A wide variety of questions from the user 10 are expected, ranging from casual to business-like questions. The robot 100 needs to provide answers that meet the user's 10 expectations and are not out of place. Therefore, in this embodiment, the answering mode of the robot 100 is switched based on the state of the user 10 and the content of the question, enabling the robot 100 to provide an answer that is appropriate for the state of the user 10, including the situation around the user 10, and the content of the question. Differences from the first embodiment will be described below. Note that the same components will be assigned the same reference numerals, and detailed descriptions will be omitted.

[0095] The behavior determination unit 236 determines the behavior of the robot 100 based on the state and behavior of the user 10 recognized by the state recognition unit 230 and the behavior recognition unit 232, and the reaction rule 221. At this time, if the behavior of the user 10 is "asking a question," the robot 100 switches the answer mode and determines one mode.

[0096] The difficulty level estimation unit 234 estimates a score according to the difficulty level of the question and determines whether the score is equal to or greater than a threshold. A different threshold is set for each answer mode. The score according to the difficulty level estimated by the difficulty level estimation unit 234 is equal to or greater than the threshold when the difficulty level of the question asked by the user 10 is high.

[0097] The answering modes that can be switched by the robot 100 include, for example, a "conversation mode," a "study mode," a "work mode," and a "consultation mode." However, the answering modes are not limited to these examples.

[0098] Here, examples of cases in which the robot 100 switches to each answer mode are given below. The robot 100 switches the answer mode to the "conversation mode" when, for example, there are multiple users 10 and they are chatting, when a user 10 is alone and looking for someone to talk to, when a user 10 is speaking frankly, when a question from a user 10 is about daily life, etc. The user 10 may also manually switch to the "conversation mode."

[0099] The robot 100 switches the answer mode to the "study mode" when, for example, the user 10 is studying, when the user 10 is attending a class, when the user 10 asks a question about studying, etc. The user 10 may also manually switch to the "study mode."

[0100] The robot 100 switches the answer mode to the "work mode" when, for example, the user 10 is working, when there are multiple users 10 and they are talking with business associates, when the user 10 speaks to them in a business-like manner, when the question from the user 10 is work-related, etc. The user 10 may also manually switch to the "work mode."

[0101] The robot 100 switches the answering mode to the "consultation mode" when, for example, the user 10 is in a worried state, when the user 10 is in a difficult state, when the user 10 is depressed, when the question of the user 10 is a matter for consultation, etc. The user 10 may also manually switch to the "consultation mode."

[0102] The answer content for each answer mode, the setting of the threshold for the difficulty of the question, and the corresponding behavior of the robot 100 are described below. When the robot 100 is in the "conversation mode," the robot 100 answers the question of the user 10 frankly. In addition, in the "conversation mode," by setting the threshold for the score according to the difficulty of the question low, the robot 100 is more likely to behave in a manner that expresses pleasure or boastfulness in response to the user 10 asking a difficult question. In addition, because the threshold for the score according to the difficulty of the question is set low, the emotional values ​​of the robot 100 are more likely to be high in "joy" and "pleasure."

[0103] When the robot 100 is in the "study mode," the robot 100 answers questions from the user 10 in a teaching manner. In addition, in the "study mode," the threshold score corresponding to the difficulty of the question is set high, making it difficult for the robot 100 to exhibit behaviors that are reactions of joy or boastful behavior. In addition, because the threshold score corresponding to the difficulty of the question is set high, the emotional values ​​of the robot 100 tend to be low for "joy" and "pleasure."

[0104] When the robot 100 is in the "work mode," the robot 100 responds to the user's 10 questions politely or in businesslike language. In addition, in the "work mode," the threshold score corresponding to the difficulty of the question is set high, making it difficult for the robot 100 to take actions that are reactions of joy or boastful behavior. Furthermore, the robot 100 is made to output less voices and movements when taking joyful actions. In addition, because the threshold score corresponding to the difficulty of the question is set high, the emotional values ​​of the robot 100 tend to be low for "joy" and "pleasure."

[0105] When the robot 100 is in the "consultation mode," the robot 100 gives a sympathetic answer to the question of the user 10. In addition, in the "consultation mode," the threshold score according to the difficulty of the question is set to the maximum value, so that the robot 100 does not take actions that are reactions of joy or boastfulness. In addition, because the threshold score according to the difficulty of the question is set to the maximum value, the emotional value of the robot 100 does not take the values ​​of "joy" or "pleasure."

[0106] It should be noted that other modes besides the above examples can be added to the answering mode of the robot 100. For example, there is a "child mode" that simplifies the explanation of the answer so that even an elementary school student can understand, a "love mode" in which the robot 100 pretends to be a partner and engages in a conversation, and a "pet mode" in which the robot 100 pretends to be a non-human animal such as a dog and responds.

[0107] The operation of the robot 100 according to this embodiment will be described below. The robot 100 executes a behavior decision process shown in Figures 5A and 5B. The processing in the robot 100 is executed by the CPU 1212 functioning as a user state recognition unit 230, a behavior recognition unit 232, a difficulty estimation unit 234, a behavior decision unit 236, a behavior control unit 250, and a communication processing unit 280.

[0108] 5A and 5B are flowcharts showing the behavior decision process of the robot 100 according to the fourth embodiment. The CPU 1212 repeatedly executes the flowcharts shown in FIGS.

[0109] First, in step S5200 , the CPU 1212 recognizes the state of the user 10 based on the information analyzed by the sensor module unit 210 .

[0110] In step S5202 , the CPU 1212 recognizes the behavior category 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 .

[0111] In step S5204, the CPU 1212 determines whether the behavior category of the user 10 recognized in step S5202 is "asking a question." If the CPU 1212 determines that the behavior category of the user 10 recognized in step S5202 is "asking a question" (step S5204: YES), the process proceeds to step S5206. On the other hand, if the CPU 1212 determines that the behavior category of the user 10 recognized in step S5202 is not "asking a question" (step S5204: NO), the process proceeds to step S5230.

[0112] In step S5206, the CPU 1212 switches the response mode of the robot 100 and determines one mode.

[0113] 5B, in step S5208, the CPU 1212 acquires a threshold value of the difficulty level score according to the response mode of the robot 100.

[0114] In step S5210 , the CPU 1212 estimates a score according to the difficulty level of the question based on the text information representing the content of the user's utterance, which is included in the information analyzed by the sensor module unit 210 .

[0115] In step S5212, the CPU 1212 determines whether the score corresponding to the question difficulty level estimated in step S5210 is equal to or greater than a threshold. If the CPU 1212 determines that the score corresponding to the question difficulty level estimated in step S5210 is equal to or greater than the threshold (step S5212: YES), the CPU 1212 proceeds to step S5214. On the other hand, if the CPU 1212 determines that the score corresponding to the question difficulty level estimated in step S5210 is not equal to or greater than the threshold, i.e., is less than the threshold (step S5212: NO), the CPU 1212 proceeds to step S5216.

[0116] In step S5214, the CPU 1212 determines, as the behavior to be executed, a behavior corresponding to the emotional value and a behavior to answer the question. For example, when the answer mode is the "conversation mode," the CPU 1212 determines a behavior to be happy to be asked a question by the user 10 and a behavior to answer the question. Here, when answering a question, the content of the answer is determined according to the answer mode. Depending on the answer mode, the behavior that is a happy reaction of the robot 100 is refrained or suppressed.

[0117] In step S5216, the CPU 1212 determines an action to be taken, which is to answer the question. When answering the question, the answer content is determined in accordance with the answer mode.

[0118] Returning to FIG. 5A , in step S5230 , the CPU 1212 determines the behavior of the robot 100 based on the user's behavior recognized by the behavior recognition unit 232 and the reaction rule 221 .

[0119] In step S5232, the behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236. Then, the CPU 1212 ends the processing of this flowchart.

[0120] In this way, by switching the mode when the robot 100 answers a question from the user 10, not only can the robot 100 respond in line with the user 10's expectations, but the robot 100's position also becomes clear, making it easier for the robot 100 to create an answer. The robot 100 itself can recognize its own role. It can also accumulate data on answer content and expressions appropriate for each answer mode, enabling efficient learning. Furthermore, the ability to switch answer modes reduces the robot 100's inappropriate answers, reducing the frequency with which the user 10 is angry or sad, thereby not only increasing the robot's favorability among the user 10 but also stabilizing the robot 100's emotional value.

[0121] Fifth Embodiment The fifth embodiment is characterized in that when the robot 100 switches answer modes in response to a question from the user 10, a range of emotional values ​​that the robot 100 can assume is set. Setting the range of emotional values ​​that the robot 100 can assume depending on the answer mode makes it possible to prevent the robot 100 from becoming emotionally aroused. Differences from the fourth embodiment will be described below. Note that the same components are denoted by the same reference numerals, and detailed descriptions thereof will be omitted.

[0122] Here, examples of the emotional range for each response mode are shown below. The range can be set within a range from 0 to 5, with 0 indicating no emotion and closer to 5 indicating a stronger emotion. In the following examples, the ranges for "joy," "anger," "sorrow," and "happiness" are explained.

[0123] When the robot 100 is in the "conversation mode", it is desirable that the robot 100 respond cheerfully. Therefore, the range of each emotion of the robot 100 is set, for example, as "happiness" from 3 to 5, "anger" from 0, "sadness" from 0, and "happiness" from 3 to 5, so that the robot 100 will not experience emotions beyond each range.

[0124] When the robot 100 is in the "study mode," it is desired that the robot 100 teach seriously. Therefore, the range of each emotion of the robot 100 is set, for example, as "happiness" from 0 to 3, "anger" from 0 to 2, "sadness" from 0 to 2, and "happiness" from 0 to 3, so that the robot 100 will not experience emotions outside each range.

[0125] When the robot 100 is in "work mode", it is desirable that the robot 100 responds politely. Therefore, the range of each emotion of the robot 100 is set, for example, as "happiness" from 0 to 2, "anger" from 0 to 2, "sadness" from 0, and "happiness" from 0 to 1, so that the robot 100 will not experience emotions outside each range.

[0126] When the robot 100 is in the "consultation mode," it is desirable for the robot 100 to respond in a sympathetic manner. Therefore, the range of each emotion of the robot 100 is set, for example, as "happiness" from 0 to 1, "anger" from 0, "sadness" from 0 to 2, and "happiness" from 0, so that the robot 100 will not experience emotions outside each range.

[0127] The operation of the robot 100 according to this embodiment will be described below. The robot 100 executes the behavior decision process shown in Figures 5A and 5C. The processing in the robot 100 is executed by the CPU 1212 functioning as a user state recognition unit 230, a behavior recognition unit 232, a difficulty estimation unit 234, a behavior decision unit 236, a behavior control unit 250, and a communication processing unit 280.

[0128] 5A and 5C are flowcharts showing the behavior decision process of the robot 100 according to the fifth embodiment. The CPU 1212 repeatedly executes the flowcharts shown in FIGS.

[0129] First, in step S5200 , the CPU 1212 recognizes the state of the user 10 based on the information analyzed by the sensor module unit 210 .

[0130] In step S5202 , the CPU 1212 recognizes the behavior category 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 .

[0131] In step S5204, the CPU 1212 determines whether the behavior category of the user 10 recognized in step S5202 is "asking a question." If the CPU 1212 determines that the behavior category of the user 10 recognized in step S5202 is "asking a question" (step S5204: YES), the process proceeds to step S5206. On the other hand, if the CPU 1212 determines that the behavior category of the user 10 recognized in step S5202 is not "asking a question" (step S5204: NO), the process proceeds to step S5230.

[0132] In step S5206, the CPU 1212 switches the response mode of the robot 100 and determines one mode.

[0133] Proceeding to FIG. 5C, in step S5218, the CPU 1212 acquires the range of emotions according to the response mode of the robot 100.

[0134] In step S5220 , the CPU 1212 estimates a score according to the difficulty level of the question based on the text information representing the content of the user's utterance, which is included in the information analyzed by the sensor module unit 210 .

[0135] In step S5222, the CPU 1212 determines an action to be performed that corresponds to the difficulty level of the question and an action to answer the question. For example, when the answer mode is the "conversation mode," the CPU 1212 determines the emotion of the robot 100 within the emotional range acquired in step S5218 and determines an action to answer the question. In particular, in this embodiment, the emotional value of the robot 100 is set to a value that does not deviate from the emotional range. For example, in the "conversation mode" where the range of "easy" is set to 3 to 5, if the emotional value of the robot 100 is "1," which is outside the range of the emotional range, the emotion of the robot 100 is increased so that it becomes "3," the lower limit of the range of the emotional range. Also, for example, in the "work mode" where the range of "easy" is set to 0 to 1, if the emotional value of the robot 100 is "5," which is outside the range of the emotional range, the emotion of the robot 100 is suppressed so that it becomes "1," the upper limit of the range of the emotional range.

[0136] The emotional value of the robot 100 may change depending on the difficulty of the question. For example, the emotional value may be multiplied by a predetermined coefficient in each answer mode so that the emotion of the robot 100 falls within a range of emotions. When answering a question, the content of the answer is determined according to the answer mode. In this embodiment, for example, depending on the answer mode, the range of emotions of "joy" and "pleasure" of the robot 100 is set to be narrow.

[0137] Returning to FIG. 5A , in step S5230 , the CPU 1212 determines the behavior of the robot 100 based on the user's behavior recognized by the behavior recognition unit 232 and the reaction rule 221 .

[0138] In step S5232, the behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236. Then, the CPU 1212 ends the processing of this flowchart.

[0139] In this way, the range of emotions that the robot 100 can have is set for each response mode, so that the robot 100 can be prevented from becoming too excited or from reacting inappropriately to the situation.

[0140] [Sixth Embodiment] The sixth embodiment is characterized in that, when the robot 100 switches the answer mode in response to a question from the user 10, an emotion map (described later) is used to indicate the types of emotions that the robot 100 can have. Differences from the fifth embodiment will be described below. Note that the same components are denoted by the same reference numerals, and detailed descriptions thereof will be omitted.

[0141] FIG. 5E is a diagram illustrating an emotion map 5400 on which multiple emotions are mapped. In the emotion map 5400, emotions are arranged in concentric circles radiating from the center. Emotions closer to the center of the concentric circles are more primitive. Emotions representing states and behaviors arising from a state of mind are arranged on the outer edges of the concentric circles. The concept of emotion includes both affect and mental states. Emotions generally generated from reactions occurring in the brain are arranged on the left side of the concentric circles. Emotions generally induced by situational judgment are arranged on the right side of the concentric circles. Emotions generally generated from reactions occurring in the brain and induced by situational judgment are arranged on the upper and lower sides of the concentric circles. Furthermore, the emotion of "pleasure" is arranged on the upper side of the concentric circles, and the emotion of "discomfort" is arranged on the lower side. In this way, in the emotion map 5400, multiple emotions are mapped based on the structure by which emotions are generated, and emotions that tend to occur simultaneously are mapped close to each other.

[0142] In this embodiment, after the robot 100 switches to the answer mode in response to a question from the user 10, the emotion of the robot 100 is determined using the data in the emotion map 5400. For example, when the user 10 asks the robot 100 for advice and the robot 100 switches to the "advice mode," the robot 100 may initially feel relieved and then change to a kind emotion as it gives advice. Alternatively, the robot 100 may start out feeling kind, but then become sad when the content of the next question from the user 10 is very serious, or become frustrated because the question is difficult and the robot 100 is unable to offer advice on a solution. In this way, the robot 100 expresses one of the emotions in the emotion map 5400 or changes the type of emotion.

[0143] The operation of the robot 100 according to this embodiment will be described below. The robot 100 executes the behavior decision process shown in Figures 5A and 5D. The processing in the robot 100 is executed by the CPU 1212 functioning as a user state recognition unit 230, a behavior recognition unit 232, a difficulty estimation unit 234, a behavior decision unit 236, a behavior control unit 250, and a communication processing unit 280.

[0144] 5A and 5D are flowcharts showing the behavior decision process of the robot 100 according to the sixth embodiment. The CPU 1212 repeatedly executes the flowcharts shown in FIGS.

[0145] First, in step S5200 , the CPU 1212 recognizes the state of the user 10 based on the information analyzed by the sensor module unit 210 .

[0146] In step S5202 , the CPU 1212 recognizes the behavior category 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 .

[0147] In step S5204, the CPU 1212 determines whether the behavior category of the user 10 recognized in step S5202 is "asking a question." If the CPU 1212 determines that the behavior category of the user 10 recognized in step S5202 is "asking a question" (step S5204: YES), the process proceeds to step S5206. On the other hand, if the CPU 1212 determines that the behavior category of the user 10 recognized in step S5202 is not "asking a question" (step S5204: NO), the process proceeds to step S5230.

[0148] In step S5206, the CPU 1212 switches the response mode of the robot 100 and determines one mode.

[0149] 5D, in step S5224, the CPU 1212 acquires emotion map data according to the response mode of the robot 100. The emotion map data is determined by the direction from the center of the emotion map and the range of distance from the center. For example, when the robot 100 is in the "conversation mode," an angle of 30 degrees to the right from the top of the emotion map in FIG. 5 and the range of emotions aligned at the same angle, including "joy," "fun," and "proud," are acquired as emotion map data. Note that, depending on the response mode, multiple ranges with different directions from the center of the emotion map may be acquired.

[0150] In step S5226 , the CPU 1212 estimates a score according to the difficulty level of the question based on the text information representing the content of the user's utterance, which is included in the information analyzed by the sensor module unit 210 .

[0151] In step S5228, the CPU 1212 determines, as the action to be executed, an action corresponding to the difficulty level of the question and an action to answer the question. For example, when the answer mode is "conversation mode," the CPU 1212 determines the emotion of the robot 100 based on the emotion map data acquired in step S5224, and determines the action to answer the question. For example, when the emotion value of the robot 100 is high, the emotion determined is "proud," and when the emotion value is low, the emotion determined is "delighted" with "joy" as the lower limit ("like," which is outside the range of emotions, is not determined). Note that the type of emotion of the robot 100 may change depending on the difficulty level of the question. Here, when answering a question, the answer content is determined according to the answer mode.

[0152] Returning to FIG. 5A , in step S5230 , the CPU 1212 determines the behavior of the robot 100 based on the user's behavior recognized by the behavior recognition unit 232 and the reaction rule 221 .

[0153] In step S5232, the behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236. Then, the CPU 1212 ends the processing of this flowchart.

[0154] [Seventh Embodiment] The seventh embodiment is characterized by a response behavior that the robot 100 takes when a user asks the robot 100 a question and one of the users answers before the robot 100 answers. Differences from the first embodiment will be described below. Note that the same components are denoted by the same reference numerals, and detailed descriptions thereof will be omitted.

[0155] The robot 100 not only converses with the user 10, provides images to the user 10, and answers questions from the user, but also performs responsive actions such as indicating whether the answer is correct or incorrect, reacting, etc. For example, when the robot 100 is asked a question by the user 10a, if the user 10b answers before the robot 100, the robot 100 not only indicates whether the answer is correct or incorrect, but also reacts according to the attitude of the user 10a or user 10b.

[0156] 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 10 and provide images and the like 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 records captured image data and the like of the user 10 in the server 300, and requests the image data and the like from the server 300 as needed to provide the image data and the like to the user 10.

[0157] As an example of a behavioral decision model, the robot 100 stores rules that define the behavior that the robot 100 will perform based on the emotions of the user 10, the emotions of the robot 100, and the behavior of the user 10, and performs various behaviors in accordance with the rules.

[0158] Specifically, the robot 100 has reaction rules, as an example of a behavior determination model 223, 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 "laughing" as the behavior of the robot 100 when the behavior of the user 10 is "laughing." Furthermore, the reaction rules define the behavior of "apologizing" as the behavior of the robot 100 when the behavior of the user 10 is "angry." Furthermore, the reaction rules define the behavior of "answering" as the behavior of the robot 100 when the behavior of the user 10 is "asking a question." Furthermore, the reaction rules define the behavior of "indicating the correct answer" as the behavior of the robot 100 when the behavior of the user 10 is "answering." Furthermore, the reaction rules define the behavior of "calling out" as the behavior of the robot 100 when the behavior of the user 10 is "sad."

[0159] When the robot 100 recognizes that the behavior of the user 10 is "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 representing the words "apologize."

[0160] Furthermore, when the condition that the emotion of the robot 100 is "normal" (i.e., "joy" = 0, "anger" = 0, "sadness" = 0, "happiness" = 0) and the state of the user 10 is "alone and looks lonely" is satisfied, it is determined that the emotion of the robot 100 will change to "worried" and that the robot 100 will be able to perform the action of "calling out."

[0161] 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 appears lonely, the robot 100 increases the emotion value of "sadness" of the robot 100. Furthermore, 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 phrase "What's wrong?", which indicates concern, into a worried voice and outputs it.

[0162] 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 user 10's reaction was positive, and the attributes of the user 10.

[0163] 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 then analyzes the user reaction information from the robots 100, 101, and 102 and updates the reaction rules.

[0164] 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.

[0165] Furthermore, when the robot 100 recognizes that the behavior of the user 10 is "asking a question," the robot 100 uses the sentence generation model. Furthermore, when one of the users 10 answers a question from the user 10 before the robot 100, the robot 100 can indicate whether the answer is correct or incorrect using the sentence generation model. Note that the sentence generation model may not only execute processing within the CPU 1212 of the robot 100, but may also acquire the results of processing executed outside the robot 100, such as on the server 300.

[0166] Here, the sentence generation model may be interpreted as an algorithm and calculation for automatic dialogue processing using text. The sentence generation model is publicly known as disclosed in, for example, Japanese Patent Application Laid-Open No. 2018-081444 and ChatGPT (Internet search <URL: https: / / openai.com / blog / chatgpt>), and therefore a detailed description thereof will be omitted. Such a sentence generation model is configured using a large language model (LLM).

[0167] As described above, the robot 100 has a function for recognizing the behavior and state of the user 10. Specifically, the robot 100 recognizes whether there are multiple users 10 (users 10a, 10b, 10c, and 10d in the example of FIG. 1 ) from images acquired by the camera function, and recognizes whether the users 10 are joking or serious by analyzing their facial expressions. Furthermore, the robot 100 can distinguish not only the content of the user's utterances but also which user is speaking by analyzing the user's utterances using the microphone function. The speaker may be identified using the camera function. The speaker may also be identified by analyzing the direction of speech using multiple microphones. Furthermore, the robot 100 can recognize whether the user 10 is joking or serious by analyzing the user's 10 voice. The robot 100 determines the behavior to be performed by the robot 100 based on the recognized behavior and state of the user 10 in accordance with the reaction rules of the behavioral decision-making model 223.

[0168] The robot 100 uses the behavior decision model 223 to determine the behavior to be performed by the robot 100 based on the behavior and state of the user 10 .

[0169] As described above, the behavior decision model 223 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. The robot 100 transmits to the server 300 reaction information of the user 10 and an emotional value of the robot 100 obtained as a result of repeated dialogue between the user 10 and the robot 100. The server 300 stores the user reaction information and the robot emotional value received from the robot 100. The server 300 analyzes user reaction information not only from the robot 100 but also from the robots 101 and 102, etc., and updates the reaction rules. In other words, the behavior decision model 223 is updated by event processing of the robot 100, etc.

[0170] 6A schematically illustrates the functional configuration of a seventh embodiment of the robot 100. The robot 100 includes a sensor unit 200, a sensor module unit 210, a storage unit 220, a control unit 228, and a control target 252. The control unit 228 includes a state recognition unit 230, an emotion determination unit 231, a behavior recognition unit 232, an acquisition unit 235, a behavior determination unit 236, a memory control unit 238, a behavior control unit 250, and a communication processing unit 280.

[0171] The sensor unit 200 includes a microphone 201, a 3D depth sensor 202, a 2D camera 203, a distance sensor 204, a touch sensor 205, and an acceleration sensor 206. The microphone 201 continuously detects sound and outputs audio data. The microphone 201 may be provided on the head of the robot 100 and may have a binaural recording function. The 3D depth sensor 202 continuously emits an infrared pattern and detects the contour of an object by 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 images using visible light and generates visible light video information. The distance sensor detects the distance to an object by emitting, 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, etc.

[0172] 6A, the components of the robot 100 excluding the control target 252 and the sensor unit 200 are examples of components included in the behavior control system of the robot 100. The behavior control system of the robot 100 controls the control target 252.

[0173] The storage unit 220 includes a behavioral decision model 223 and history data 222. The history data 222 includes the behavior of the user 10, the user's past emotional value, the user's reaction information, the robot's past emotional value, and the robot's behavior history. Specifically, the history data 222 includes the user's 10 emotional value, the robot's 100 emotional value, and a plurality of event data including the user's 10 emotional value, the robot's 100 emotional value, and the user's 10 behavior. The data including the user's 10 behavior includes camera images representing the user's 10 behavior. The emotional value and behavior history are recorded for each user 10, for example, by being associated with the user's 10 identification information. At least a portion of the storage unit 220 is implemented as a storage medium such as a memory. The storage unit 220 may include a person DB that stores the user's 10 facial image, attribute information, and the like. Note that the functions of the components of the robot 100 shown in FIG. 2 , excluding 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 CPU operations using operating system (OS) and programs that run on the OS.

[0174] 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 state recognition unit 230.

[0175] 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 state of the user 10. For example, the voice emotion recognition unit 211 extracts feature quantities such as frequency components of the voice and recognizes the state of the user 10 based on the extracted feature quantities. 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.

[0176] 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 relationships, etc. of the eyes and mouth.

[0177] 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 the face image of the user 10 captured by the 2D camera 203.

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

[0179] The state recognition unit 230 also recognizes whether there are multiple users 10 based on the information analyzed by the sensor module unit 210. As shown in Fig. 1, when multiple users 10a, 10b, 10c, and 10d are present around the robot 100, the state recognition unit 230 can recognize the state of each user 10 and generate perceptual information for each user 10.

[0180] The emotion determination unit 231 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 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 into a pre-trained neural network to obtain an emotion value indicating the emotion of the user 10.

[0181] 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 user's emotion is a cheerful emotion accompanied by a sense of pleasure or comfort, such as "joy," "pleasure," "comfort," "relief," "excitement," "relief," and "fulfillment," the value is positive, and the more cheerful the emotion, the larger the value. If the user's emotion is a negative emotion, such as "anger," "sorrow," "discomfort," "anxiety," "sorrow," "worry," and "emptiness," the value is negative, 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 is 0.

[0182] In addition, the emotion determination unit 231 determines an emotion value indicating the emotion of the robot 100 based on the information analyzed by the sensor module unit 210, the information detected by the sensor unit 200, and the state of the user 10 recognized by the state recognition unit 230.

[0183] The emotion value of the robot 100 includes emotion values ​​for each of a plurality of emotion categories, and is a value (0 to 5) indicating the strength of each of the emotions, for example, "joy," "anger," "sorrow," and "happiness."

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

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

[0186] The emotion determination unit 231 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.

[0187] The behavior recognition unit 232 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 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 into a pre-trained neural network, the probability of each of a plurality of predetermined behavioral categories (for example, "laughing," "angry," "asking a question," and "sad") is obtained, and the behavioral category with the highest probability is recognized as the behavior of the user 10.

[0188] When the behavior of the user 10a is recognized as a question, the acquisition unit 235 acquires a behavior of a correct answer that is a correct answer to the question. Specifically, the question is input to the sentence generation model, and the answer content is acquired as the output. Furthermore, the acquisition unit 235 acquires, from the sentence generation model, a behavior indicating a correct or incorrect answer to an answer provided by one of the users 10, before the correct answer is notified to the user 10a. Specifically, an answer provided by one of the users 10 is input to the sentence generation model, and the correct or incorrect answer to that answer is acquired.

[0189] The behavior determination unit 236 determines a behavior corresponding to the behavior of the user 10 recognized by the behavior recognition unit 232 based on the current emotion value of the user 10 determined by the emotion determination unit 231, history data 222 of past emotion values ​​determined by the emotion determination unit 231 before the current emotion value of the user 10 was determined, and the emotion value of the robot 100. In this embodiment, a case is described in which the behavior determination 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 determination unit 236 may use multiple 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. Furthermore, the behavior determination 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 determining unit 236 may further consider a history of positive reaction information of the user 10 to the behavior of the robot 100 when determining the behavior of the robot 100. The behavior determined by the behavior determining unit 236 includes a gesture performed by the robot 100 or a speech content of the robot 100.

[0190] When the robot 100 recognizes that the behavior of the user 10a is "asking a question," if any of the users 10a answers before the robot 100, the behavior determination unit 236 determines a behavior that indicates whether the answer is correct or incorrect. Furthermore, the behavior determination unit determines the behavior of the robot 100 so that the robot 100 not only takes an action that simply indicates the result, but also makes a large gesture to express the result or responds in accordance with the attitude or mood of the user 10. At that time, the behavior of the robot 100 may also be determined using past reaction information of the users 10.

[0191] Specifically, the behavior determining unit 236 uses the answer content acquired by the acquiring unit 235 to determine a response behavior such as a reaction.

[0192] 6B is a diagram summarizing variations of examples of utterances in response behavior of the robot 100. As shown in FIG. 6B, the content of the utterances in response behavior of the robot 100 differs depending on whether the answer result of the user 10 matches the answer prepared by the robot 100, whether it does not match, or whether it does not match either. Furthermore, the content of the utterances in response behavior of the robot 100 differs not only depending on the answer result of the user 10 but also on the user's behavior (whether it is playful behavior or serious behavior).

[0193] Here, the answer of the user 10 refers to a case where a speaker (e.g., user 10a) asks a question to the robot 100 and another person (e.g., user 10b) answers before the robot 100, or a case where a speaker (e.g., user 10a) asks a question to the robot 100 and the person who asked the question (user 10a) answers before the robot 100.

[0194] An example of the utterance content shown in Fig. 6B will be described below. When the answer of the user 10 matches the answer prepared by the robot 100 ("O" in the figure) and the behavior of the user 10 is playful ("A" in the figure), the robot 100 will make utterances mocking the user 10, such as "Just a coincidence!", "Lucky you!", or "You're right on the money."

[0195] Furthermore, when the answer of the user 10 matches the answer prepared by the robot 100 and the user 10 behaves seriously ("B" in the figure), the robot 100 makes utterances praising the user 10, such as "As expected, that's the right answer!", "You know a lot. To be more precise...", or "You're a genius! If you can say that much, that's perfect."

[0196] Furthermore, if the answer given by the user 10 does not match the answer prepared by the robot 100 ("X" in the figure) and the user 10 behaves in a playful manner, the robot 100 will make utterances that are negative towards the user 10, such as "Why not?", "No!", or "Well, goodbye then!"

[0197] Furthermore, if the answer given by the user 10 does not match the answer prepared by the robot 100 and the user 10 is acting seriously, the robot 100 will give advice to the user 10 such as, "That's close, try thinking about it from a different angle," "Let's get rid of your preconceptions!" or "That's true, but a different answer would be better this time."

[0198] Furthermore, if the robot 100 is unable to determine whether the answer provided by the user 10 matches or does not match the answer prepared by the robot 100 and therefore does not match ("?" in the figure), and if the user 10 is behaving in a playful manner, the robot 100 will make utterances expressing confusion to the user 10, such as "That's a bit strange," "Come back later," or "I have no idea."

[0199] Furthermore, if the robot 100 is unable to determine whether the answer provided by the user 10 matches or does not match the answer prepared by the robot 100 and the user 10 is acting seriously, the robot 100 will make utterances such as "Let's think about it again!", "Hmm, that's difficult. To put it simply?", or "I really can't decide," asking the user 10 to reconsider.

[0200] In addition, the robot 100 can change its attitude and tone of speech depending on whether the respondent (in this case, user 10a or user 10b) is a familiar user with whom the robot 100 has had many conversations, or whether the respondent is a new user.

[0201] Furthermore, the content of the speech of the response behavior of the robot 100 shown in FIG. 6B is an example, and the content is not limited to this.

[0202] Here, the robot 100 can objectively recognize whether the respondent's behavior is playful or serious. Specifically, the state of the respondent can be identified based on the features of the voice detected by the microphone 201 of the sensor unit 200 and recognized by the voice emotion recognition unit 211, and the pattern of facial expression captured by the 2D camera 203 of the sensor unit 200 and recognized by the facial expression recognition unit 213.

[0203] 6C is a diagram summarizing variations of examples of the response behavior of the robot 100. As shown in FIG. 6C, the content of the utterance of the response behavior of the robot 100 differs depending on whether the answer result of the user 10 matches the answer prepared by the robot 100, does not match, or does not match either. Furthermore, the response behavior of the robot 100 differs not only depending on the answer result of the user 10 but also on the user's behavior (whether playful or serious).

[0204] Here, the answer of the user 10 refers to a case where a speaker (e.g., user 10a) asks a question to the robot 100 and another person (e.g., user 10b) answers before the robot 100, or a case where a speaker (e.g., user 10a) asks a question to the robot 100 and the person who asked the question (user 10a) answers before the robot 100.

[0205] An example of the movement shown in Fig. 6C will be described below. When the answer of the user 10 matches the answer prepared by the robot 100 ("O" in the figure) and the behavior of the user 10 is playful ("A" in the figure), the robot 100 performs a movement to entertain the user 10, such as "doing a cheerful dance," "humming," or "playing background music."

[0206] Furthermore, if the answer given by the user 10 matches the answer prepared by the robot 100 and the user 10 behaves seriously ("B" in the figure), the robot 100 will make movements that praise the user 10, such as "making a circle pose," "patting the head," or "clap."

[0207] Furthermore, if the answer given by the user 10 does not match the answer prepared by the robot 100 ("X" in the figure), and the user 10 behaves playfully, the robot 100 will make a motion that denies the user 10, such as "making a gesture of the hand to make a tsukkomi," "shaking the head from side to side in denial," or "waving the hand from side to side in goodbye."

[0208] Furthermore, if the answer given by the user 10 does not match the answer prepared by the robot 100 and the user 10 is acting seriously, the robot 100 will behave in a way that is sympathetic to the user 10, such as making an X pose, making a disappointing hand gesture, or giving a serious hint while making a gesture.

[0209] Furthermore, if the answer of the user 10 is not applicable ("?" in the figure) because it is not possible to determine whether the answer matches or does not match the answer prepared by the robot 100, and if the behavior of the user 10 is playful, the robot 100 will make movements that express confusion towards the user 10, such as "making a strange pose," "making a worried pose," or "making another hand gesture."

[0210] Furthermore, if the robot 100 is unable to determine whether the answer of the user 10 matches or does not match the answer prepared by the robot 100 and the user 10 is acting seriously, the robot 100 will make a movement to ask the user 10 to reconsider, such as "making a hand gesture to try again," "making a hand gesture to suggest something," or "making a pose that shows that it does not understand."

[0211] In addition, the robot 100 can change its attitude and behavior depending on whether the respondent (in this case, user 10a or user 10b) is a familiar user with whom the robot has had many conversations, or a new user.

[0212] Furthermore, the content of the response behavior of the robot 100 shown in FIG. 6C is merely an example, and the robot 100 is not limited to this content.

[0213] Furthermore, the robot 100 can not only indicate whether the answer of the respondent is correct or incorrect as described above, but also pretend to have forgotten the answer and act silly. In this case, if the robot 100 forgets the answer or pretends not to know, and the user 10 makes a comment, the robot 100 can respond by appearing embarrassed.

[0214] In this way, the robot 100 can show human-like responses when repeatedly engaging in question-and-answer sessions with the user 10 .

[0215] 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 emotional value of the robot 100.

[0216] Specifically, if the 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 including 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.

[0217] 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 (for example, 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 state recognition unit 230 (for example, the facial expression, emotions, etc. of the user 10).

[0218] Furthermore, since the emotion value of the robot 100 is updated depending on whether the answer of the user 10 is correct or incorrect and the attitude of the user 10, the memory control unit 238 is also executed after the robot 100 has executed the event processing.

[0219] For example, if the answer of the user 10 is correct, the emotion determination unit 231 determines to increase the emotion value of "joy" of the robot 100. Then, based on the updated value, the storage control unit 238 determines whether or not to store data including the behavior of the user 10 in the history data 222. Alternatively, for example, if the answer of the user 10 is incorrect, the emotion determination unit 231 determines to decrease the emotion value of "joy" of the robot 100 and increase the emotion value of "sadness." Then, based on the updated value, the storage control unit 238 determines whether or not to store data including the behavior of the user 10 in the history data 222.

[0220] 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 causes a speaker included in the control target 252 to output a sound. At this time, the behavior control unit 250 may determine the speaking rate of the sound based on the emotional value of the robot 100. For example, the behavior control unit 250 determines a faster speaking rate as the emotional 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 emotional value determined by the emotional determination unit 231.

[0221] Furthermore, the behavior control unit 250 may control the magnitude of the gesture movement based on the behavior determined by the behavior determination unit 236 and in accordance with the magnitude of the emotion value of the robot 100. For example, when the emotion value of "joy" of the robot 100 becomes larger than a preset reference value, the behavior control unit 250 controls the robot 100 to move its arms more vigorously as an expression of dancing.

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

[0223] Furthermore, after the behavior control unit 250 executes the behavior determined by the behavior determination unit 236 in the execution mode determined according to the emotion of the robot 100, the emotion determination unit 231 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 231 increases the emotion value of "joy" 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 mode determined by the behavior control unit 250 is not negative. Furthermore, the emotion determination unit 231 increases the emotion value of "sad" 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 mode determined by the behavior control unit 250 is negative.

[0224] 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 emotion value of "happiness" of the robot 100 is increased, the behavior control unit 250 controls the control object 252 to make the robot 100 perform a happy gesture. When the emotion value of "sadness" of the robot 100 is increased, the behavior control unit 250 controls the control object 252 to make the robot 100 assume a droopy posture.

[0225] 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. The communication processing unit 280 also 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 as the behavioral determination model 223.

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

[0227] The operation of the robot 100 according to this embodiment will be described below. The robot 100 executes a behavior decision process shown in Fig. 6D. The processing in the robot 100 is executed by the CPU 1212 functioning as a state recognition unit 230, an emotion determination unit 231, a behavior recognition unit 232, an acquisition unit 235, a behavior decision unit 236, a memory control unit 238, a behavior control unit 250, and a communication processing unit 280.

[0228] Fig. 6D is a flowchart showing the behavior decision process of the robot 100. The CPU 1212 repeatedly executes the flowchart shown in Fig. 6D.

[0229] First, in step S200, the CPU 1212 recognizes the state of the user 10 and the state of the robot 100 based on the information analyzed by the sensor module unit 210.

[0230] In step S6202 , the CPU 1212 recognizes the 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 state recognition unit 230 .

[0231] In step S6204, the CPU 1212 determines whether the behavior of the user 10 is "asking a question." If the behavior of the user 10 is recognized as "asking a question" (step S6204: YES), the process proceeds to step S6206. On the other hand, if the behavior of the user 10 is not recognized as "asking a question" (step S6204: NO), the process proceeds to step S6212.

[0232] In step S6206, the CPU 1212 acquires the user's 10 behavior in response to the question from the sentence generation model.

[0233] In step S6208, the CPU 1212 determines the behavior of the robot 100 based on the result (the behavioral content of the response) acquired from the sentence generation model and the behavior determination model. Note that if step S6208 is performed two or more times, the previously determined behavior of the robot 100 is updated based on the latest response acquired in step S6206.

[0234] In step S6210, the CPU 1212 determines whether the user 10 has responded before the robot 100. If the user 10 has responded first (step S6210: YES), step S6206 is executed again. On the other hand, if the user 10 has not responded first (step S6210: NO), the CPU 1212 proceeds to step S6214.

[0235] In step S6212, the CPU 1212 determines the behavior of the robot 100 based on the behavior determination model.

[0236] In step S6214, the CPU 1212 controls the determined behavior to execute the behavior of the robot 101. Then, the CPU 1212 ends the processing of this flowchart.

[0237] 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. Furthermore, the functions of the server 300 may be implemented by one or more computers. At least some of the functions of the server 300 may be implemented by a virtual machine. Furthermore, at least some of the functions of the server 300 may be implemented in the cloud.

[0238] 7 schematically shows an example of the hardware configuration of a computer 1200 that functions 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 can cause the computer 1200 to perform operations associated with the apparatus according to the present embodiment or one or more "parts" thereof, and / or can cause the computer 1200 to perform a process according to the present embodiment or steps of the process. Such a program can be executed by the CPU 1212 to cause the computer 1200 to perform specific operations associated with some or all of the blocks in the flowcharts and block diagrams described herein.

[0239] The computer 1200 according to this embodiment includes a CPU 1212, a RAM 1214, and a graphics controller 1216, which are interconnected by a host controller 1210. The computer 1200 also includes input / output units such as a communications 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 ROM 1230 and a legacy input / output unit such as a keyboard, which are connected to the input / output controller 1220 via an input / output chip 1240.

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

[0241] 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 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.

[0242] The ROM 1230 stores therein a boot program or the like that is executed by the computer 1200 upon activation, and / or programs that depend 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, etc.

[0243] 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, RAM 1214, or 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 a method may be configured by implementing operations or processing of information in accordance with the use of the computer 1200.

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

[0245] 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 may 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.

[0246] Various types of information, such as various types of programs, data, tables, and databases, may be stored on the recording medium and may undergo information processing. The CPU 1212 may perform various types of processing on 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 sequences of the programs, and write the results back to the RAM 1214. The CPU 1212 may also search for information in a file, database, etc. on the recording medium. For example, if multiple entries, each having an attribute value of a first attribute associated with an attribute value of a second attribute, are stored on 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 multiple 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.

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

[0248] The blocks in the flowcharts and block diagrams in the present embodiments may represent stages of a process in which an operation is performed or "parts" of a device 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 field programmable gate arrays (FPGAs) and programmable logic arrays (PLAs), including AND, OR, XOR, NAND, NOR, and other logical operations, flip-flops, registers, and memory elements.

[0249] A computer-readable storage medium may include any tangible device capable of storing instructions that are executed by an appropriate device, such that a computer-readable storage medium having instructions stored thereon comprises an article of manufacture, including 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, magnetic, optical, electromagnetic, and semiconductor storage media. 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 disc read-only memories (CD-ROMs), digital versatile discs (DVDs), Blu-ray discs, memory sticks, integrated circuit cards, and the like.

[0250] 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.

[0251] Computer-readable instructions may be provided locally or over a local area network (LAN), a wide area network (WAN) such as the Internet, to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, or programmable circuitry, such that the processor or programmable circuitry executes 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.

[0252] 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 will be apparent to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the claims that such modifications and improvements can also be included within the technical scope of the present invention.

[0253] It should be noted that the execution order 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," "prior to," etc., and that the processes can 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, this does not mean that the processes must be performed in this order.

[0254] The disclosures of Japanese Application Nos. 2023-039084, 2023-088896, 2023-090252, 2023-103691, 2023-111715, and 2023-121154 are incorporated herein by reference in their entirety.

[0255] All publications, patent applications, and technical standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.

Claims

1. A behavior control system including: a behavior recognition unit that recognizes a user's behavior; a difficulty estimation unit that, when the user's behavior is recognized as a question, estimates the difficulty of the question; and a behavior decision unit that, when a score according to the difficulty is equal to or greater than a threshold, decides, as behaviors to be executed, a behavior of being happy to be asked a question by the user and a behavior of answering the question.

2. The behavior control system of claim 1, wherein the behavior decision unit decides that when the cumulative score is equal to or greater than a threshold value, or when the number of times the score according to the difficulty level has been equal to or greater than the threshold value is a predetermined number of times or more, the behavior to be executed is a behavior of being pleased to be asked a question by the user, and a behavior of answering the question.

3. The behavior control system according to claim 1, wherein the difficulty level estimation unit estimates the difficulty level of the question taking into account the age of the user.

4. The behavior control system according to claim 3, wherein the difficulty level estimation unit estimates a lower difficulty level for the questions as the user's age decreases.

5. The behavior control system according to claim 3, wherein the difficulty level estimation unit sets the estimated difficulty level of questions to a constant level when the user's age exceeds a predetermined threshold value.

6. A behavior control system comprising: a behavior recognition unit which recognizes a user's behavior; a difficulty estimation unit which, when the user's behavior is recognized as a question, estimates the difficulty of the question; and a behavior decision unit which, when a score according to the difficulty is equal to or higher than a threshold, decides, as behaviors to be executed, a behavior of being happy to be asked a question by the user and a behavior of answering the question, wherein the behavior decision unit changes the time until an action in response to the user's question is executed according to the score estimated by the difficulty estimation unit.

7. A behavior control system as described in claim 6, wherein the behavior decision unit decides that when the cumulative value of the score is equal to or greater than a threshold value, or when the number of times the score according to the difficulty level has been equal to or greater than the threshold value is equal to or greater than a predetermined number of times, the behavior decision unit decides that the behavior to be executed is a behavior of being pleased to be asked a question by the user, and a behavior of answering the question.

8. A behavior control system according to claim 6, wherein said behavior decision section further changes the time until the behavior in response to the user's question is executed, taking into account the attributes of said user.

9. A behavior control system according to claim 8, wherein said behavior decision unit varies the time until execution of an action in response to a question from said user, depending on the age or sex of said user as an attribute of said user.

10. A behavior control system including: a behavior recognition unit that recognizes a user's behavior; a difficulty estimation unit that, when the user's behavior is recognized as a question, estimates the difficulty of the question; and, when a score according to the difficulty is equal to or greater than a threshold, a behavior decision unit that decides, as a behavior to be executed by the robot, at least one of a behavior of the robot making a predetermined gesture and a behavior of the robot outputting a specific voice, and an behavior to answer the question.

11. The behavior control system of claim 10, wherein when the score is equal to or greater than a threshold, the behavior decision unit selects as the specified gesture at least one of a gesture that calls the user's attention, a gesture that entertains the user, and a gesture that expresses the content of the response to the user.

12. The behavior control system of claim 10, wherein the behavior decision unit selects, as the specific voice, at least one of music and sound effects having a lower output than the voice of the response to the user when the score is equal to or greater than a threshold value.

13. A behavior control system having: a behavior recognition unit that recognizes a user's behavior; a difficulty estimation unit that estimates the difficulty of the question when the user's behavior is recognized as a question; and a behavior determination unit that selects one answer mode from a plurality of answer modes based on the content of the question, and determines, as an action to be performed by a robot, a behavior that answers the question in a manner corresponding to the estimated difficulty in the selected answer mode.

14. The behavior control system of claim 13, wherein the answer mode includes a conversation mode in which the user primarily converses with the robot, and the behavior decision unit sets the robot's happy reaction in the conversation mode to be higher than in other answer modes.

15. The behavior control system according to claim 13, wherein the answer mode includes a study mode in which the user is taught by the robot, and the behavior decision unit sets the happy reaction of the robot in the study mode to be lower than in other answer modes.

16. The behavior control system according to claim 13, wherein the answering mode includes a consultation mode in which the user consults the robot, and the behavior decision unit suppresses a happy reaction of the robot in the consultation mode.

17. A behavior control system including: a behavior recognition unit that recognizes the behavior of one or more users; an acquisition unit that, when a behavior of one user is recognized as a question, acquires a correct answer behavior that is a correct answer to the question; and a behavior decision unit that, when the acquisition unit acquires another answer that is an answer provided by one of the users before the correct answer is notified to the one user, further decides an action for the another answer.

18. The behavior control system of claim 17, wherein the behavior decision unit, when determining an action by comparing the different answer with the correct answer, changes the manner of the behavior depending on whether the different answer matches the correct answer, whether they do not match, or whether there is no match.

19. The behavior control system of claim 18, wherein the behavior decision unit changes the manner of behavior depending on whether the behavior recognition unit recognizes the behavior of the one or more users as playful behavior or as serious behavior.

20. A program for causing a computer to function as the behavior control system according to any one of claims 1 to 19.

Citation Information

Patent Citations

  • Vesicle formulation and infection treatment agent

    JP2023039084A

  • Device, system and method of inspecting mobile object

    JP2023088896A

  • Lens device and imaging apparatus

    JP2023090252A

  • Lighting fixture

    JP2023103691A

  • Information processing program and information processing method

    JP2023111715A