Emotion acquisition device, emotion acquisition method, and program
The emotion acquisition device uses a CNN-RNN model with Q-learning to estimate human emotions from facial expressions, allowing robots to learn optimal emotional behaviors through implicit feedback, overcoming the limitations of conventional methods.
Patent Information
- Application Number
- JP2023026244
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-09-03
AI Technical Summary
Conventional methods struggle to accurately acquire human emotions, particularly through facial expressions, due to the complexity and variability of emotional responses.
An emotion acquisition device utilizing a CNN-RNN model to map continuous values from facial expressions, combined with Q-learning for reinforcement learning, allows the robot to estimate emotions based on implicit feedback from users, eliminating the need for explicit user input.
The system accurately estimates human emotions, enabling the robot to learn optimal emotional behaviors through natural interactions, achieving performance comparable to explicit feedback methods without requiring user expertise.
Smart Images

Figure 2024119382000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an emotion acquisition device, an emotion acquisition method, and a program. [Background technology]
[0002] In recent years, development of robots that can communicate with humans has been progressing. Such robots are required to learn emotional behavior (see, for example, Patent Document 1). In the prior art, it has been proposed to learn emotional behavior by using explicit feedback such as a human demonstration (see, for example, Non-Patent Document 1) or by clicking a keyboard button or a mouse. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2022-29599 [Non-patent literature]
[0004] [Non-Patent Document 1] ME Taylor, HB Suay, and S. Chernova, “Integrating reinforcement learning with human demonstrations of varying ability,” in Proceedings of the 10th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pp. 617-624, Citeseer, 2011. Summary of the Invention [Problem to be solved by the invention]
[0005] However, with conventional techniques, it has been difficult to obtain accurate emotions of a person.
[0006] The present invention has been made in consideration of the above problems, and has an object to provide an emotion acquisition device, an emotion acquisition method, and a program that are capable of acquiring a person's accurate emotion. [Means for solving the problem]
[0007] (1) In order to achieve the above object, an emotion acquisition device according to one aspect of the present invention is an emotion acquisition device including: an imaging unit that acquires a human facial expression; a conversion unit that converts the human facial expression acquired by the imaging unit into continuous values that represent the emotion of the human; and an emotion estimation unit that maps the continuous values converted by the conversion unit and estimates the emotion of a target person.
[0008] (2) In the emotion acquisition device according to (1) above, the emotion estimation unit may estimate the emotion of the target person by mapping continuous values using Russell's emotion circumplex model.
[0009] (3) In the emotion acquisition device according to (1) or (2) above, the conversion unit may extract a feature quantity of the image, which is a continuous value, from the acquired image of a human facial expression using a CNN network.
[0010] (4) In the emotion acquisition device of (3) above, the emotion estimation unit may input the continuous value representing the human emotion converted by the conversion unit to an RNN network and obtain a reward according to whether the facial expression of the target person is positive or negative.
[0011] (5) In any one of the emotion acquisition devices according to (1) to (4), the emotion deduction unit updates a Q value in Q-learning by using the following formula every time the emotion of the human is acquired,
number
[0012] (6) In the emotion acquisition device of (5) above, reward R h is calculated by the following formula:
number
[0013] (7) In order to achieve the above-mentioned object, an emotion acquisition method according to one aspect of the present invention is an emotion acquisition method including: an image capture unit captures a human facial expression; a conversion unit converts the human facial expression captured by the image capture unit into continuous values representing the human emotion; and an emotion estimation unit maps the continuous values converted by the conversion unit to estimate the emotion of a target person.
[0014] (8) In order to achieve the above object, a program according to one aspect of the present invention is a program that causes a computer of an emotion acquisition device to acquire human facial expressions, convert the acquired human facial expressions into continuous values representing the human emotions, map the converted continuous values, and estimate the emotions of a target person. Effect of the Invention
[0015] According to (1)-(8), it is possible to obtain a person's accurate emotions. [Brief description of the drawings]
[0016] [Figure 1] FIG. 2 is a diagram showing a learning process of a robot through implicit feedback predicted from human facial expressions according to the first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of an external shape of a robot according to an embodiment. [Diagram 3]1A to 1C are diagrams illustrating examples of how emotional expressions of a robot according to an embodiment are presented in the form of animation. [Figure 4] FIG. 1 is a diagram showing an outline of the structure of a CNN-RNN model for predicting implicit evaluative feedback from human reactive facial expressions according to the first embodiment. [Diagram 5] FIG. 1 is a diagram illustrating an example of the configuration of a robot including an emotion acquisition device according to a first embodiment. [Figure 6] This figure shows an overview of human emotional states under two evaluation conditions and the corresponding emotional actions that a robot can select and execute. [Figure 7] 1A and 1B are diagrams illustrating examples of gesture expressions and facial expressions. [Figure 8] FIG. 1 shows the learning curves from predicted implicit facial feedback and from learning from explicit and random feedback. [Figure 9] FIG. 1 illustrates normalized learning curves for each human emotional state according to facial expression during the learning process. [Figure 10] FIG. 13 illustrates normalized learning curves for each human emotional state expressed by gestures during the learning process. [Figure 11] This is a diagram showing Russell's emotion circumplex model. [Figure 12] FIG. 11 is a diagram illustrating an example of the configuration of a robot including an emotion acquisition device according to a second embodiment. [Figure 13] 13 shows an example of a processing procedure during learning performed by a robot according to the second embodiment. [Figure 14] One heatmap with 40 interactions and one with 80 interactions. [Figure 15] One heatmap with 120 interactions and one heatmap with 160 interactions. [Figure 16] FIG. 11 is a diagram illustrating an example of the configuration of an implicit feedback module according to the second embodiment. [Figure 17]Fig. 13 shows the mean squared error and resonance correlation coefficient of implicit feedback prediction when retaining different numbers of latent components in the training, validation and test datasets. [Figure 18] FIG. 1 shows the mean number of emotional states with optimal behavior for learning from explicit feedback, predicted implicit feedback, and random feedback, and the results of Welch's t-test. [Figure 19] 13A-13C show the learning curves for learning emotional states of facial expressions and gestures, respectively, from predicted implicit feedback. [Figure 20] Figure 1 shows the proportion of positive and negative implicit feedback during the training process in two conditions using facial and gestural emotional states, respectively. [Figure 21] FIG. 13 shows the average evaluation for each condition and the standard deviation, mean absolute error, and Pearson correlation with Haru's learning performance. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the drawings used in the following description, the scale of each component is appropriately changed so that each component is of a recognizable size. In addition, in all the drawings for explaining the embodiments, the same reference numerals are used for the parts having the same functions, and the repeated explanation is omitted. In addition, "based on XX" in this application means "based on at least XX," and includes cases where it is based on other elements in addition to XX. Furthermore, "based on XX" is not limited to cases where XX is used directly, but also includes cases where it is based on XX that has been calculated or processed. "XX" is any element (for example, any information).
[0018] First Embodiment First, an overview of the learning process in this embodiment will be described. FIG. 1 is a diagram showing a learning process of a robot using implicit feedback predicted from human facial expressions according to this embodiment. In this embodiment, for example, the robot 1 understands the current emotional state of a person, selects an emotional behavior according to a learned policy, and presents it to the user. The robot 1 is, for example, a communication robot. As described later, the robot 1 is equipped with a photographing device, a microphone, and the like. In addition, the captured environment is equipped with an environmental sensor such as a photographing device. The person responds to the behavior presented by the robot 1 with facial expressions, justations, voice, and the like. The robot 1 then acquires facial expression information, which is a human's reaction to the emotional behavior displayed by the robot 1, and updates the acquired facial expression information using the reward.
[0019] The robot 1 learns in real time, that is, from continuous interaction with humans. Also, the robot 1 does not need to provide feedback from a human using a keyboard or the like as in the past, and instead uses natural human reactions such as facial expressions for learning.
[0020] (Example of the appearance of a communication robot) Next, an example of the external shape of the robot 1 will be described. FIG. 2 is a diagram showing an example of the external shape of the robot according to the embodiment. In FIG. 2, a front view g101 and a side view g102 are diagrams showing an example of the external shape of the robot 1 according to the embodiment. The robot 1 includes, for example, three display units 111 (eye display unit 111a, eye display unit 111b, and mouth display unit 111c). In the example of FIG. 2, the photographing unit 102a is attached to the upper part of the eye display unit 111a, and the photographing unit 102b is attached to the upper part of the eye display unit 111b. The eye display units 111a and 111b correspond to human eyes and present images and image information corresponding to human eyes. The screen size of the eye display unit 111a and the eye display unit 111b is, for example, 3 inches. The speaker 112 is attached near the mouth display unit 111c that displays an image corresponding to a human mouth of the housing 120. The mouth display unit 111c is, for example, composed of a plurality of LEDs (light-emitting diodes), and each LED is addressable and can be individually driven to turn on and off. The sound pickup unit 103 is attached to a housing 120 .
[0021] The robot 1 also includes a boom 121. The boom 121 is movably attached to the housing 120 via a movable part 131. A horizontal bar 122 is rotatably attached to the boom 121 via a movable part 132. Eye display unit 111a is rotatably attached to horizontal bar 122 via movable unit 133, and eye display unit 111b is rotatably attached to horizontal bar 122 via movable unit 134. Note that the external shape of robot 1 shown in Fig. 2 is an example and is not limited thereto.
[0022] 3 is a diagram showing an example of presenting the emotional expression of the robot according to the embodiment by animation. As shown in FIG. 3, the robot 1 presents the emotional expression by changing the animation displayed on the display unit 111 (eye display unit 111a, eye display unit 111b, mouth display unit 111c). Examples of animations for codes g11 to g17 are "Angry," "Ecstatic," "Disinterested," "Confused," "Blushing," "Sad," and "Sympathetic." Note that the emotional expressions and animations shown in Fig. 3 are merely examples and are not limiting. Emotional expressions may be other than those shown in Fig. 3, and the animations for each emotional expression may be different from those shown in Fig. 3. Furthermore, when each emotional expression is to be displayed, the angle or position of the display unit 111 may be changed as shown in Fig. 3, the angle of the boom 121 may be changed, or an audio signal may be output together.
[0023] (definition) Next, the states, actions, rewards, etc. used in this embodiment will be defined. Almost all reinforcement learning problems are<S,A,T,R,γ> The agent can be modeled as a Markov decision process represented by a tuple: S, A are the set of possible states and actions of the agent. T is the transition probability, the probability that the agent will transition from the current state s to the next state s'. R is the reward function, representing the reward probability when the agent performs action a and transitions from state s to s'. γ is a discount factor, representing the impact of immediate and future rewards. The agent's actions are represented by a policy π(s). S→A maps states to possible actions. The goal of a reinforcement learning agent is to learn a course of action that maximizes the total reward it receives from the environment.
[0024] In this embodiment, for example, Q-learning is used as the reinforcement learning algorithm. The robot 1 acquires the user's current emotional state (facial emotions and gestures) and selects the action with the largest Q value by the greedy strategy. Next, after the robot 1 executes the selected action, the user gives feedback R according to his / her preference. If the action selected by the robot 1 is desirable, the user will show a positive reaction with facial expression, and the Q value of the selected action will increase. If the robot 1 detects the same or a similar human emotional state, it is more likely to select that action again. On the other hand, if the action selected by the robot 1 is undesirable, the user will give negative feedback, and the Q value of the selected action will decrease. If the robot 1 detects a similar human emotional state again next time, it is more likely to try another action.
[0025] Each time the robot 1 receives feedback from a human, it updates the Q value using the following equation (1).
[0026]
number
[0027] In formula (1), s t and a tare the emotional state detected by robot 1 and the selected emotional behavior at time step t, respectively, α is the learning rate, and R h is the predicted implicit feedback and s' is the next state. In the next time step t+1, when the robot 1 detects a new human emotional state, it will perform the emotional routine behavior with the largest Q value, as shown in the following equation (2).
[0028]
number
[0029] In formula (2), A is the set of emotional actions that robot 1 can execute, and s t+1 is the next detected emotional state. This cycle is repeated until the robot 1 has learned the desired optimal behavior for all detected human emotional states.
[0030] (Comparison of rewards) Next, we compare the rewards.,In conventional techniques, some facial expressions are,classified using a pre-trained classification module, but,in many cases, there are many facial expressions that do not belong to,a specific category, and there are facial expressions that are,understood differently by different people (e.g., anger and disgust).
[0031] (Implicit feedback prediction) When the robot 1 takes action, the user's facial expression changes accordingly, indicating the user's level of satisfaction with the emotional behavior of the robot 1. In this embodiment, information on the user's facial expression is extracted as implicit feedback, and the robot 1 can learn to behave in accordance with the user's preferences. In this case, it is not necessary for non-expert users to learn complex learning rules in advance.
[0032] The robot 1 can learn emotional behavior according to the user's preferences through natural interaction. In this embodiment, the captured raw facial expression images are directly mapped to human evaluation feedback in an end-to-end manner and used to shape the emotional behavior of the robot 1 according to the user's preferences. In this embodiment, emotions are estimated from facial expression images using, for example, a Convolutional Neural Network (CNN)-Recurrent Neural Network (RNN) for predicting implicit feedback.
[0033] In the following example, we trained and evaluated this model using the GENKI-4k emotion dataset (http: / / mplab.ucsd.edu, “The MPLab GENKI Database, GENKI-4K Subset”), which has 15,710 images after data augmentation. All facial expressions in the dataset are divided into two categories. For example, there are two categories: "smiling" and "not smiling." All "happy" emotions are included in the "smiling" group, and "unhappy" emotions such as "anger," "contempt," and "sadness" are classified in the "not smiling" group.
[0034] Next, an overview of the model structure will be described. Fig. 4 is a diagram showing an overview of the structure of a CNN-RNN model for predicting implicit evaluation feedback based on human reactive facial expressions according to this embodiment. In prediction, we first preprocess (g32) the emotion image g31 (e.g., cropping and rotating), then transfer it to the designed CNN network (g33) to extract image features. Then, the RNN network (g34) predicts the corresponding reward according to the extracted features. When training the model, the emotions in the "smile" and "non-smile" groups are labeled as "positive" and "negative" feedback, respectively, as shown in Figure 5. The ratio of the training set to the test set is, for example, 4:1. The final prediction accuracy was 80%.
[0035] The CNN network (g33) is, for example, a convolutional layer with a first layer filter dimension of 92×92×16 and 88×88×32, a convolutional layer with a second layer filter dimension of 40×40×64, and a convolutional layer with a third layer filter dimension of 16×16×128. The fourth layer input is a fully connected 2048, and the fifth layer input is a fully connected 300. Note that the above dimensions and number of inputs are merely examples and are not limited to these.
[0036] The RNN network (g34) has, for example, an 8-bit (256) feature map, a 4-bit (128) hidden layer, and a 1-bit (2) output layer. Note that the layer configuration and the number of bits are merely examples and are not limited to these. The output of this CNN-RNN model is a reward, where a positive reward is, for example, “+1” and a negative reward is, for example, “-1”. The emotion acquisition device 11 estimates a person's facial expression based on the output of such a CNN-RNN portion. For example, the emotion acquisition device 11 may be configured to determine that if it estimates anger and a positive output is selected, the estimation is correct, and that if it estimates anger and a negative output is selected, the estimation is incorrect. Alternatively, as described in the second embodiment, the emotion acquisition device 11 may select and evaluate the behavior that maximizes the Q value in Step 3 (FIG. 13), repeat this process, and have the emotion recognition module learn the optimal behavior, and then use the trained emotion recognition module to estimate emotions and select actions.
[0037] (Example of robot and emotion acquisition device configuration) Next, a configuration example of the robot 1 equipped with the emotion acquisition device will be described. Fig. 5 is a diagram showing a configuration example of a robot equipped with the emotion acquisition device according to this embodiment. As shown in FIG. 5, the robot 1 includes, for example, an emotion acquisition device 11, a sound collection unit 103, a generation unit 13, a display unit 111, a speaker 112, a control unit 14, a drive unit 15, and a storage unit 16. The emotion acquisition device 11 includes, for example, an image capture unit 102, an acquisition unit 22, a preprocessing unit 23, a model 24, and a behavior selection unit 27. The emotion acquisition device 11 may include the sound collection unit 103.
[0038] The sound collection unit 103 is, for example, a microphone array including M microphones (M is an integer of 2 or more).
[0039] 2, the display unit 111 includes an eye display unit 111a, an eye display unit 111b, and a mouth display unit 111c. The display unit 111 displays the image or animation generated by the generation unit 13.
[0040] The speaker 112 outputs the acoustic signal generated by the generation unit 13 .
[0041] The control unit 14 drives each part of the robot 1 via the drive unit 15.
[0042] The driving unit 15 includes, for example, an actuator and a driving circuit. The driving unit 15 drives each part of the robot 1 according to the control of the control unit 14.
[0043] The storage unit 16 stores, for example, mathematical expressions, thresholds, programs used by the emotion acquisition device 11, programs used to control the robot 1, and the like.
[0044] The image capturing unit 102 may be attached to the robot 1, or may be grounded in the environment where the robot 1 and the user are present. The image capturing unit 102 is, for example, an RBG camera, or an RGBD camera that can also obtain depth information. Note that the image information captured by the image capturing unit 102 is an image including the face of the user. Note that the image may be any one of a still image, a series of still images, or a video.
[0045] The acquiring unit 22 acquires image information captured by the imaging unit 102. The acquiring unit 22 acquires M-channel sound signals collected by the sound collecting unit 103.
[0046] The preprocessing unit 23 performs a predetermined preprocessing on the image information acquired by the acquisition unit 22. The preprocessing includes, for example, image cropping, image rotation, and image brightness and contrast correction.
[0047] The model 24 includes, for example, a gesture recognition module 241 and a facial expression recognition module 242. The gesture recognition module 241 uses the user's joint positions tracked by a depth sensor included in the image capture unit 102, and classifies joint features using a trained CNN network. The facial expression recognition module 242 is the above-mentioned CNN-RNN model. The facial expression recognition module 242 inputs a preprocessed image to a trained CNN network to extract features. The facial expression recognition module 242 inputs the extracted features to a trained RNN network to estimate whether the user's facial expression is positive or negative.
[0048] The behavior selection unit 27 updates the Q value estimated by the emotion acquisition device 11 using the above-mentioned formula (1). The behavior selection unit 27 selects a behavior for the user's facial expression using the updated Q value and the above-mentioned formula (2).
[0049] The generation unit 13 generates animations and images to be displayed on the display unit 111 in accordance with the selected behavior. The storage unit 16 stores the selected behavior and the animation to be generated in association with each other. The generation unit 13 may generate an audio signal to be output from the speaker 112 based on the estimation result estimated by the emotion acquisition device 11. Examples of facial expression animations presented by the robot 1 and actions performed by the robot 1 will be described later.
[0050] Here, an example of a method for learning the model 24 and the selectivity of actions using the trained model 24 will be described. During learning, the model 24 receives preprocessed image information from the preprocessing unit 23. The facial expression recognition module 242 of the model 24 extracts features from the input image information using a CNN network, inputs the extracted features to the RNN network, and obtains a reward for the action taken by the robot 1 (whether the facial expression was negative or positive). The facial expression recognition module 242 updates the Q value using the obtained reward and formula (1). Furthermore, the model 24 selects the action to be presented the next time during learning by selecting the action that maximizes the Q value. By repeating such processing, the emotion acquisition device 11 learns the model 24. When selecting an action, the emotion acquisition device 11 presents a predetermined action to be presented based on, for example, the result of speech recognition of the user's utterance. The emotion acquisition device 11 acquires an image of the user's facial expression in response to the presented action, obtains a reward indicating whether the user's implicit feedback was positive or negative using the trained model 24, and selects the next action to be presented using the obtained reward.
[0051] (Evaluation, Evaluation Results) Next, the results of evaluating the method of this embodiment will be described. Two evaluation conditions were set to evaluate whether Robot 1 could learn simple empathic and emotional behaviors and adapt to the user's preferences through interaction with humans. In each evaluation condition, one modality was used to express the human emotional state. Since both human facial expressions and gestures can express emotions, in the first condition, human facial expressions were used to express the human emotional state. In the second condition, human gestural expressions were used to express the human emotional state. In both conditions, the user provides responsive facial feedback as implicit evaluation feedback, and Robot 1 acquires the facial expressions, which are evaluation feedback, to learn emotional behavior. At this time, the user's state and feedback are detected and conveyed by separate modules (i.e., Robot 1 does not use the user's facial emotional state as implicit facial feedback).
[0052] The facial expression recognition module uses a pre-trained convolutional neural network to recognize the emotional state of a human face, while the gesture recognition module uses the user's joint positions tracked by a depth sensor to classify joint features using a CNN architecture. Understanding a user's current emotional state typically requires a large amount of iteration and data. For this reason, in the evaluation, the state space of the two conditions was limited to a few emotional states, as shown in Figure 6. Figure 6 is a diagram showing an overview of human emotional states in the two evaluation conditions and the corresponding emotional actions that the robot can select and execute. Figure 7 is a diagram showing examples of gesture expressions and facial expressions. As shown in Figure 6, in the first condition, seven facial expressions, namely "happiness," "sadness," "surprise," "fear," "anger," "neutral," and "disgust," were used as human emotional states. In the second condition, five gesture expressions, namely "applauding," "rejection," "bequiet," "facecover," and "shrugging," were used as human emotional states. Although Robot 1 can move its drive and express emotions through sounds, 10 types of emotional routine actions were designed for each condition based on common sense in human-to-human emotional interactions.
[0053] Next, an example of the evaluation results will be described. FIG. 8 shows the learning curves from predicted implicit facial feedback and learning from explicit and random feedback. Each learning curve is the average of data collected from 10 participants in each condition, except for the random feedback. In FIG. 8, the horizontal axis is the number of interactions, and the vertical axis is the number of times the optimal action was performed. Line g61 is the learning curve for explicit feedback, line g62 is the learning curve for implicit feedback, and line g63 is the learning curve for random feedback. Symbol g51 is for the facial emotional state, and g52 is for the gestural emotional state.
[0054] The evaluation results in Figure 8 show that in the case of explicit feedback, the learning performance increased rapidly and stabilized at about 75 interactions for facial emotion states and about 60 interactions for gesture emotion states. As a result of the evaluation, optimal emotional behaviors were obtained for all seven facial emotion states and five gesture emotion states. Furthermore, in the model of this embodiment, optimal emotional behaviors could be obtained for the five facial emotion states and four gesture emotion states even when the number of interactions was increased. And in the present approach, learning from predicted implicit feedback is far superior to random feedback (prediction accuracy 50%), which represents the worst-case scenario.
[0055] Fig. 9 shows normalized learning curves for each human emotional state based on facial expression during the learning process. The horizontal axis is the number of interactions, and the vertical axis is the number of times the normalized optimal action was performed. Code g81 is "happiness," code g82 is "sadness," code g83 is "anger," code g84 is "fear," code g85 is "surprise," code g86 is "neutral," and code g87 is "disgust."
[0056] Fig. 10 shows normalized learning curves for each human emotional state expressed by gestures during the learning process. The horizontal axis is the number of interactions, and the vertical axis is the number of times the normalized optimal action was performed. Code g91 is "clap," code g92 is "reject," code g93 is "silence," code g94 is "cover your face," and code g95 is "shrug." Each learning curve was averaged and normalized across data collected from 10 participants in each condition.
[0057] As described above, in this embodiment, the robot 1 is made to learn appropriate emotional behavioral responses through dialogue with humans. The robot 1 can learn from implicit feedback obtained from facial expressions and select optimal behavior according to the user's preferences. Furthermore, according to this embodiment, it is possible to achieve performance equivalent to learning from explicit feedback while eliminating the need for the user to learn the learning knowledge in advance.
[0058] <Second embodiment> In this embodiment, human-centered reinforcement learning is used to form a robot's emotional behavior that predicts continuous rewards based on the received implicit facial feedback. In this embodiment, the value and arousal level of the received implicit facial feedback are estimated using Russell's emotion circumplex model. As a result, this embodiment can more accurately describe the intensity of a user's emotions and their satisfaction with the agent's behavior, and can be more consistent with realistic interaction scenarios.
[0059] (Russell's Circumplex of Emotions model) First, we will explain Russell's circumplex model of emotions. Figure 11 is a diagram showing Russell's circumplex model of emotions. Russell's circumplex model expresses arousal on one axis. Arousal (active) is arousal or excitement, and passive is non-arousal or calm. Valence (positive) is pleasure, and negative is discomfort. In Russell's circumplex model, corresponding emotions are represented by a straight line passing through the center (Neutral), which represents opposing emotions. Value indicates the degree of pleasure or discomfort. Arousal indicates the degree of excitement or calm.
[0060] In this embodiment, a model (CNN-RNN model) that predicts continuous rewards based on the valence and arousal of the acquired implicit facial expression feedback is trained.
[0061] Specifically, we trained our predictive model using the MorphSet dataset (see Reference 1), which contains 166,382 images with valence and arousal annotations that have high dimensional consistency.
[0062] Reference 1; V. Vonikakis, NYR Dexter, and S. Winkler, “Morphset: Augmenting categorical emotion datasets with dimensional affect labels using face morphing,” in 2021 IEEE International Conference on Image Processing (ICIP), pp. 2713-2717, IEEE, 2021.
[0063] Reward R for the emotion of each image in the dataset h was calculated according to the Valence and Arousal estimated using Russell's emotional circumplex model, as shown in the following formula (3).
[0064]
number
[0065] In equation (3), V is the estimated valence and A is the estimated arousal value. The higher the valence and arousal, the higher the reward value. The reward calculated using equation (1) was used as the label of the images in the dataset to train the predictive model. The ratio of the training set, validation set, and test set was 7:2:1.
[0066] (Example of robot and emotion acquisition device configuration) Next, a configuration example of a robot 1A equipped with an emotion acquisition device will be described. Fig. 12 is a diagram showing a configuration example of a robot equipped with an emotion acquisition device according to this embodiment. As shown in FIG. 12, the robot 1A includes, for example, an emotion acquisition device 11A, a sound collection unit 103, a generation unit 13, a display unit 111, a speaker 112, a control unit 14, a drive unit 15, and a storage unit 16. The emotion acquisition device 11A includes, for example, an image capture unit 102, an acquisition unit 22, a conversion unit 25, an emotion estimation unit 26, and a behavior selection unit 27A. The sound collection unit 103 may be included in the emotion acquisition device 11.
[0067] The conversion unit 25 converts the facial expression of a person captured by the image capture unit 102 into a continuous value representing the human emotion.
[0068] The emotion estimation unit 26 estimates the emotion of the target person by mapping the continuous values converted by the conversion unit 25. As described above, the result estimated by the emotion estimation unit 26 is, for example, “smile”, “not smile”, “anger”, “contempt”, “sadness”, etc.
[0069] The behavior selection unit 27A selects and executes a behavior (emotion behavior) with the behavior selector using formula (2). tAmong all possible actions in state s, action a with the maximum Q value is selected. Note that A is a set of all possible actions in state s. Note that the action selection unit 27A may be included in the feeling estimation unit 26.
[0070] Here, the processes performed by the conversion unit 25 and the emotion estimation unit 26 will be further described. The conversion unit 25 acquires captured image information via the acquisition unit 22. The conversion unit 25 performs pre-processing (e.g., cropping, rotation, etc.) on the acquired image information. The conversion unit 25 uses a CNN network to extract features (continuous values that represent human emotions) from the pre-processed image.
[0071] The emotion estimation unit 26 derives value and arousal level by mapping the continuous values converted by the conversion unit 25 onto Russell's emotion circumplex model.
[0072] (Processing Procedure) Next, an example of the process procedure performed by the emotion acquisition device 11A during learning will be described. Fig. 13 shows an example of the process procedure performed by the robot according to this embodiment during learning. In the following description, an example will be described in which Q-learning is used as the reinforcement learning algorithm, but the algorithm used is not limited to this and other algorithms may be used.
[0073] (Step S1) The emotion acquisition device 11A starts by selecting a random behavior in order to initialize the Q values of all behaviors to zero.
[0074] (Step S2) The emotion acquisition device 11A acquires a current emotion input of a person represented by facial expressions and gestures at time t, and converts the acquired information into an emotional state s t Preprocessing is performed as follows.
[0075] (Step S3) The emotion acquisition device 11A selects and executes an action (emotional action) with the action selector using formula (2). t From all possible actions, select the action a that maximizes the Q value.
[0076] (Step S4) The emotion acquisition device 11A acquires the result of the user observing the emotional behavior of the robot 1A and reacting with a facial expression according to the user's preference. The emotion acquisition device 11A inputs the acquired facial expression information to an implicit feedback module and provides a continuous reward R h Predict.
[0077] (Step S5) The emotion acquisition device 11A determines the state s t Actions taken in a t The Q value of Q(s t ,a t ) to the predicted implicit continuous reward R h That is, the emotion acquisition device 11A updates the old Q value Q(s t ,a t ) is the predicted implicit continuous reward R h By updating with, the new Q value Q(s t ,a t ) is obtained. If the emotional behavior of robot 1A is desirable, the user will provide positive feedback through facial expressions. In this case, the Q value of the selected emotional behavior will increase. If the same emotional state is detected again next time, robot 1A will select that behavior with a high probability. If not, the user will provide negative feedback, and the Q value of the selected behavior will decrease.
[0078] (Step S6) The emotion acquisition device 11A acquires the user's new emotional state s at the next time t+1. t+1 Detects the state s t+1 The action with the largest Q value in the state s is selected using equation (2). t+1 is the set of all actions that can be performed in
[0079] (Step S7) A new cycle begins. The human being is in a new emotional state s t+1In the emotion acquisition device 11A, a new implicit facial feedback is provided for the executed action. h and predict the state s t+1 The Q-value of the action selected in is updated, and a different action is selected in the new state detected with the updated Q-value. This cycle is repeated until the emotion acquisition device 11A learns the optimal behavior desired for all detected human emotional states. By repeating this cycle, the emotion acquisition device 11A learns the optimal behavior desired for the detected human emotional states.
[0080] In the above-described processing, the implicit feedback module is provided in, for example, the conversion unit 25 and the emotion estimation unit 26. In addition, when in use, the emotion acquisition device 11A inputs a captured facial expression image to the implicit feedback module trained in the above-mentioned procedure, thereby obtaining a continuous reward R h Then, the emotion acquisition device 11A predicts the predicted continuous reward R h The emotions of the target person are estimated using this.
[0081] An example of the learning process will now be further described. Figures 14 and 15 are heatmaps trained by one user, visualizing the learned model (i.e., the Q-scores of all emotional behaviors) for the facial emotional states for each of the 40 interactions during the training process. Figure 14 shows a heatmap for 40 interactions (g200) and a heatmap for 80 interactions (g210). Figure 15 shows a heatmap for 120 interactions (g220) and a heatmap for 160 interactions (g230).
[0082] In the heatmaps in Figures 14 and 15, the horizontal axis represents the seven facial (expression) emotional states of a human user, and the vertical axis represents the ten possible emotional routine actions in each state. Each block shows the Q-score of the emotional behavior in one facial state. For ease of comparison, all Q-scores are normalized to the same scale. The darker the block, the higher the Q-score.
[0083] During each interaction, the user will provide implicit facial feedback and the robot 1A will update the Q-value. The routine behavior with the largest Q-value will be selected by the robot 1A. That is, if the robot 1A detects the same state in a new cycle, it will select the behavior with the darkest color in the heat map.
[0084] After 40 interactions, we see that Robot 1A has learned optimal emotional behaviors for two of all facial emotional states (g200). After 80 interactions, we see that robot 1A has already learned optimal behaviors for five of the seven states (g210). It can be seen that after 120 interactions, robot 1A learns the final optimal policy for all seven face states (g220). After 160 interactions, we see that robot 1A has learned a stable optimal policy that is robust to misperception of implicit feedback, since the Q-value of the optimal action in each state is much larger (i.e., darker) than the other actions (g230). It should be noted that the heat maps shown in FIG. 14 and FIG. 15 are merely examples and are not limiting.
[0085] (Implicit Feedback Module) The implicit feedback module will now be further described. 15 is a diagram showing an example of the configuration of the implicit feedback module according to this embodiment. As shown in FIG. 16, the implicit feedback module 200 includes, for example, a geometric feature extraction unit 201 and a facial expression analysis module 202.
[0086] The geometric feature extraction unit 201 extracts geometric features from the captured facial expression image, for example, by using the trained CNN network described above. The geometric feature extraction unit 201 is included in the conversion unit 25.
[0087] The facial expression analysis module 202 inputs the geometric features extracted by the geometric feature extraction unit 201 to, for example, the trained RNN network described above, estimates the user's emotion from the facial expression, and outputs a reward. The facial expression analysis module 202 is provided in, for example, the emotion estimation unit 26.
[0088] (Evaluation, Evaluation Results) In the evaluation, we used the MorphSet dataset to train the implicit feedback module, and we used the Partial Least Squares (PLS) method to train the dimensionality reduction and predictive model. Furthermore, the evaluation conditions are similar to those of the first embodiment, except that continuous implicit feedback is used here.
[0089] In the evaluation, we asked users to imagine how they would like Robot 1A to react in various emotional states, and had Haru learn to respond according to their preferences. In the learning process, Robot 1A first detects the human emotional state, and then selects and executes an emotional behavior from a set of possible behaviors under each condition according to the learned policy. Users observed Robot 1A's behavior and provided facial feedback according to their preferences. Based on the received facial feedback, Robot 1A predicts implicit rewards and updates the policy.
[0090] Then, a new cycle was started until the robot 1A learned the optimal behavior that satisfied the user for all emotional states under the two conditions (see the evaluation of the first embodiment). Due to time constraints and human physical endurance, the maximum number of interactions was set to 160 times under the first condition in which facial expressions were used as the emotional states, and 120 times under the second condition in which gestural expressions were used as the emotional states. The total experiment time was about 25 minutes.
[0091] In each condition, users trained two agents: one that learned from predicted implicit facial feedback and one that learned from explicit feedback. Both agents were compared to a third agent that learned from random feedback. Training with explicit feedback corresponds to training Haru with 100% accuracy using predicted implicit facial feedback, and training from random feedback corresponds to training Haru with 50% accuracy using predicted implicit facial feedback.
[0092] Explicit feedback was given by pressing a button on the keyboard. In the evaluation, pressing "n" meant a positive reward of +0.5, and pressing "v" meant a negative reward of -0.5. Participants were allowed to give feedback within 3 seconds after observing Haru's behavior. For implicit feedback, the user's facial reaction was obtained by a sensor, and the average recognition amount for 10 consecutive frames (approximately 0.4 seconds) was used as predicted implicit feedback.
[0093] (Selection of latent components for implicit feedback prediction) The number of latent components plays an important role in the prediction of continuous implicit feedback by the Partial Least Squares (PLS) method. A large number of latent components will fit the current data well, but may result in overfitting, which will result in poor generalization of the model to new data. Figure 17 shows the mean square error (MSE) and resonance correlation coefficient (CCC) of implicit feedback prediction when holding different numbers of latent components in the training, validation, and test datasets. The graph with the symbol g241 shows the change in the mean square error of implicit feedback prediction with respect to the number of components. The graph with the symbol g242 shows the change in the resonance correlation coefficient of implicit feedback prediction with respect to the number of components. The line g251 is the result of the training, the line g253 is the result of the validation dataset, and the line g253 is the result of the test dataset. Note that the mean square error and the resonance correlation coefficient are widely used indices to measure the performance of dimensional emotion recognition methods. A higher resonance correlation coefficient value and a lower mean square error value indicate better performance. Furthermore, each learning curve was averaged over data collected from 10 users in each condition.
[0094] The goal is to select the minimum number of latent components to achieve good prediction accuracy. Figure 17 shows that as the number of retained latent components increases, the mean squared error of the training set, validation set, and test set decreases and the resonant correlation coefficient increases. Figure 17 also shows that when the number of latent components is around 80, the mean squared error is the lowest and the resonant correlation coefficient plateaus. For this reason, in our evaluation, we selected 81 latent components for latent feedback prediction.
[0095] Learning from predicted implicit facial feedback I. Performance First, the learning performance in the two experimental conditions was analyzed by averaging the data collected from users in each condition. Welch's t-test was performed to examine the significance of the difference in learning performance with the three types of feedback in the two conditions. Figure 18 shows the average number of emotional states with optimal behavior for learning from explicit feedback, predicted implicit feedback, and random feedback, and the results of the Welch's t-test. In Figure 18, EF indicates explicit feedback, IF indicates implicit feedback, and RF indicates random feedback.
[0096] As shown in Figure 18, "Final performance" represents the average number of optimal actions learned by robot 1A from explicit feedback, implicit feedback, and random feedback in the two conditions. As shown in Figure 18, the difference in learning performance from explicit feedback and implicit feedback is significant (r=0.039) in the condition with facial emotional state. However, the learning performance from both explicit and implicit feedback in both conditions was significantly better than random feedback.
[0097] Figure 19 shows the learning curves of facial and gesture emotional states, respectively, learned from predicted implicit feedback. From Figure 19, we can see that in learning from explicit feedback, Haru's performance increases sharply and stabilizes after about 100 interactions for facial emotional states and about 70 interactions for gesture emotional states. That is, the evaluation results show that optimal emotional behaviors are obtained for all seven facial emotional states and five gesture emotional states, respectively. The evaluation results show that through learning with continuous implicit feedback, the system can quickly understand and dynamically adapt to individual tendencies, thereby achieving performance similar to that of learning with explicit feedback.
[0098] When learning from random feedback, the learning performance of robot 1A varied widely, representing the worst case (50% prediction accuracy). It was also shown that learning from both explicit and implicit feedback was significantly better than learning from random feedback.
[0099] Next, the results of evaluating the number of implicit feedbacks given by users under two conditions during the training process will be described. FIG. 20 is a diagram showing the proportion of positive and negative implicit feedbacks during the training process under two conditions using facial and gesture emotional states, respectively. Each plot is the average value of data collected from 10 users under each condition. Moreover, symbol g281 is the result of the training process when facial expressions are used, and symbol g282 is the result of the training process when gestures are used. In symbols g281 and g282, the horizontal axis indicates the number of interactions, and the vertical axis indicates the proportion of positive and negative implicit feedbacks. In symbols g281 and g282, symbol g291 indicates the proportion of negative implicit feedback, and symbol g292 indicates the proportion of positive implicit feedback.
[0100] From Fig. 20, we can see that the user tends to give more negative feedback than positive feedback in the early stages of training. After the robot 1A's policy is improved, the proportion of negative feedback decreases and the proportion of positive feedback gradually increases. This is consistent with learning from explicit feedback, and indicates that most of the implicit feedback was correctly interpreted by the prediction module of the present embodiment.
[0101] (Correlation with continuous implicit feedback) Next, the relationship between the prediction accuracy and mean absolute error (MAE) of the continuous implicit feedback and Haru's performance was evaluated using the Pearson correlation test. Figure 21 shows the Pearson correlation between the average evaluation and standard deviation, the mean absolute error (MAE), and Haru's learning performance for each condition.
[0102] As shown in Figure 21, the average accuracy of the implicit facial feedback prediction is μ = 0.888 for the facial emotion condition and μ = 0.833 for the gesture emotion condition, with small variance in both conditions (σ = 0.067 for the first condition and σ = 0.074 for the second condition). The mean absolute error (MAE) of the continuous implicit feedback prediction in both conditions is also similar (mean μ = 0.011, standard deviation σ = 0.008, μ = 0.016, σ = 0.009, respectively). Furthermore, Figure 21 shows that the performance of Robot 1A was positively correlated with prediction accuracy (r = 0.613, p = 0.059 in the first condition, and r = 0.396, p = 0.257 in the second condition) and negatively correlated with MAE (r = 0.909, p < 0.001 in the first condition for facial emotional state, and r = -0.552, p = 0.098 in the second condition for gesture emotional state).
[0103] The evaluation results described above with reference to FIGS. 17 to 21 are merely examples, and the present invention is not limited to these.
[0104] As described above, in this embodiment, the emotional behavior of the robot 1A is formed by human-centered reinforcement learning while predicting continuous rewards based on the received implicit facial feedback. In this embodiment, the value and arousal level of the acquired implicit facial feedback are estimated using Russell's emotion circumplex model, so that subtle psychological changes of humans can be more accurately estimated and more effective robot behavior learning can be realized. From the evaluation results, it was confirmed that by using the method of this embodiment, the robot 1A can obtain performance equivalent to that of learning from explicit feedback, and a modest learning process can be realized without the need for a human user to become accustomed to the learning interface in advance.
[0105] In addition, a program for realizing all or part of the functions of the emotion acquisition device 11 (or 11A) in the present invention may be recorded in a computer-readable recording medium, and the program recorded in the recording medium may be read into a computer system and executed to perform all or part of the processing performed by the emotion acquisition device 11 (or 11A). Note that the term "computer system" here includes hardware such as an OS and peripheral devices. The term "computer system" also includes a WWW system equipped with a homepage providing environment (or display environment). The term "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into computer systems. The term "computer-readable recording medium" also includes those that hold a program for a certain period of time, such as volatile memory (RAM) inside a computer system that becomes a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line.
[0106] The above program may also be transmitted from a computer system in which the program is stored in a storage device or the like to another computer system via a transmission medium, or by transmission waves in the transmission medium. Here, the "transmission medium" that transmits the program refers to a medium that has the function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The above program may also be for realizing part of the above-mentioned functions. Furthermore, it may be a so-called difference file (difference program) that can realize the above-mentioned functions in combination with a program already recorded in the computer system.
[0107] The above describes the form for carrying out the present invention using an embodiment, but the present invention is not limited to such an embodiment, and various modifications and substitutions can be made within the scope that does not deviate from the gist of the present invention. [Explanation of symbols]
[0108] 1, 1A... robot, 11, 11A... emotion acquisition device, 103... sound collection unit, 13... generation unit, 111... display unit, 112... speaker, 14... control unit, 15... drive unit, 16... memory unit, 102... imaging unit, 22... acquisition unit, 23... pre-processing unit, 24... model, 25... conversion unit, 26... emotion estimation unit, 27, 27A... behavior selection unit
Claims
1. A photographing unit for capturing human facial expressions; a conversion unit that converts the facial expression of the person acquired by the image capturing unit into a continuous value that represents an emotion of the person; an emotion estimation unit that estimates an emotion of a target person by mapping the continuous values converted by the conversion unit; An emotion acquisition device comprising:
2. The emotion estimation unit estimates the emotion of the target person by mapping continuous values using Russell's emotion circumplex model. The emotion acquisition device according to claim 1 .
3. The conversion unit extracts a feature amount of the image, which is a continuous value, from the acquired image of a human facial expression using a CNN network. The emotion acquisition device according to claim 1 or 2.
4. The emotion estimation unit inputs the continuous value representing the human emotion converted by the conversion unit to an RNN network, and obtains a reward according to whether the facial expression of the target person is positive or negative. The emotion acquisition device according to claim 3 .
5. The emotion estimation unit updates a Q value in Q-learning by using the following formula every time the emotion of the person is acquired, [0010] In the above formula, s t and t are the emotional state detected by the robot and the selected emotional behavior at time step t, respectively, α is the learning rate, and R h is the reward and predicted implicit feedback, s' is the next state, The emotion acquisition device according to claim 1 or 2.
6. The remuneration R h is calculated by the following formula: [0025] V is the estimated Valence and A is the estimated Arousal value. The emotion acquisition device according to claim 5 .
7. The camera captures human facial expressions, a conversion unit converting the facial expression of the person acquired by the image capturing unit into a continuous value representing an emotion of the person; an emotion estimation unit that estimates an emotion of the target person by mapping the continuous values converted by the conversion unit; How to get emotions.
8. The emotion acquisition device's computer Capture human facial expressions, converting the captured human facial expression into a continuous value representative of an emotion of the human; Mapping the transformed continuous values to estimate the emotion of the target person. program.
Citation Information
Patent Citations
Information processing device, control method therefor, computer program, and memory medium
JP2007087346A
Systems and methods for dynamic facial analysis using a recurrent neural network
US20190180469A1
Information processing system, information processing method, and recording medium
WO2019207896A1
Behavioral control devices, behavioral control method, and program
JP2022029599A
Cited By
Behavior control system, behavior control method, and program
WO2026116373A1
