Emotional estimation device, emotional estimation method, and emotional estimation program

By extracting media feature quantities in the emotion estimation device and calculating the emotion feature quantities using a reference model of a specific user, the problem in the prior art that emotion estimation is affected by speaking style characteristics is solved, and high-precision emotion estimation is achieved.

CN118568552APending Publication Date: 2024-08-30KK TOSHIBA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311047349.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2023-08-18
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the existing technology, emotion estimation is easily affected by the speaking style characteristics of users who often speak in a loud voice, resulting in inaccurate emotion estimation and difficulty in smoothly extracting changes in the user's emotions.

Method used

An emotion estimation device is designed, which includes an acquisition unit, a media feature amount extraction unit, an emotion feature amount calculation unit, and an emotion estimation unit. It extracts media feature amounts from the user's media data and uses the baseline emotion feature amount of a specific user to extract The model calculates the amount of emotional features to reduce the excessive influence of speaking style, thereby inferring the user's emotions with high accuracy.

Benefits of technology

It achieves high-precision prediction of user's emotions, avoids the excessive influence of normal speaking style characteristics, can observe changes in user's emotions, and improves the accuracy of emotion prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568552A
    Figure CN118568552A
Patent Text Reader

Abstract

The embodiment of the invention relates to an emotional estimation device, an emotional estimation method, and an emotional estimation program. Provided are an emotional estimation device, an emotional estimation method, and an emotional estimation program with which emotions can be estimated with high accuracy. An emotion estimation device according to one embodiment includes an acquisition unit, a media feature amount extraction unit, an emotion feature amount calculation unit, and an emotion estimation unit. The acquisition unit acquires media data of a specific user in which media of the specific user is recorded. The media feature amount extraction unit extracts a media feature amount from the media data of the specific user. The emotional feature amount calculation unit calculates an emotional feature amount on the basis of the extracted media feature amount and an emotional feature amount extraction model indicating the reference of the media feature amount of the specific user. The emotion estimation unit estimates the emotion of the specific user on the basis of the calculated emotion feature amount.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is based on Japanese Patent Application No. 2023-029725 (filing date: 2 / 28 / 2023) and benefits from priority from that application. This application incorporates the entire contents of that application by reference. Technical Field

[0002] Embodiments of the present invention relate to an emotion estimation device, an emotion estimation method, and an emotion estimation program. Background Art

[0003] Emotion estimation is a technology that estimates the user's emotions (e.g., joy, sadness, anger, etc.) from data collected from the user, such as voice data obtained by recording the user's voice. Emotion estimation is used in various applications such as estimating customer satisfaction in call centers and monitoring the mental health of employees.

[0004] In the emotion estimation based on voice, the waveform signal of the user's voice itself or the feature quantity extracted from the waveform signal of the voice for each analysis frame is used as input. Recently, in order to perform emotion estimation with higher accuracy, attempts have been made to estimate the user's emotions by using the characteristics of the user's speaking style in addition to the waveform signal or feature quantity mentioned above.

[0005] It is known that a speaker identification neural network (NN) model learned using a large amount of general voice data is prepared in advance, and a technology is known in which the output of the hidden layer when the user's voice data is input into the speaker identification NN model is extracted as a feature value of the user's speaking style. In this technology, a feature value from the voice and a feature value from the speaking style are extracted for each utterance of the user, and the user's emotion is estimated based on the two extracted feature values. Summary of the invention

[0006] However, in the above method, there is a possibility that the emotion estimation is excessively influenced by the characteristics of the normal speaking style, and the user's emotional changes may not be extracted smoothly. For example, if the user is a person who often speaks in a loud voice, there is a possibility that the emotion is often estimated to be "happy".

[0007] An object of the present invention is to provide an emotion estimation device, an emotion estimation method, and an emotion estimation program capable of estimating emotions with high accuracy.

[0008] An emotion inference device according to one embodiment includes an acquisition unit, a media feature extraction unit, an emotion feature calculation unit, and an emotion inference unit. The acquisition unit acquires media data of a specific user in which the media of the specific user is recorded. The media feature extraction unit extracts media features from the media data of the specific user. The emotion feature calculation unit calculates emotion features based on the extracted media features and an emotion feature extraction model representing a reference of the media features of the specific user. The emotion inference unit infers the emotion of the specific user based on the calculated emotion features.

[0009] According to the emotion estimation device having the above-described structure, emotions can be estimated with high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is a block diagram showing an emotion estimation device according to an embodiment.

[0011] Figure 2 This is a block diagram showing the hardware configuration of the emotion estimation device according to the embodiment.

[0012] Figure 3 It is shown Figure 1 A flowchart showing the operation of the acquisition unit is shown.

[0013] Figure 4 It is shown Figure 1 Flowchart showing the operation of the media feature extraction unit.

[0014] Figure 5 It is shown Figure 1 A flowchart showing the operation of the model output unit is shown.

[0015] Figure 6 It is shown Figure 1 Flowchart of the operation of the emotion feature value calculation unit shown.

[0016] Figure 7 This is a flowchart showing the emotion estimation process in the offline operation according to the embodiment.

[0017] Figure 8 This is a flowchart showing the emotion estimation process in real-time operation according to the embodiment.

[0018] (Explanation of symbols)

[0019] 100: emotion inference device; 102: acquisition unit; 104: media feature extraction unit; 106: model output unit; 108: emotion feature calculation unit; 110: emotion inference unit; 112: model database; 200: computer; 202: CPU; 204: RAM; 206: auxiliary storage device; 208: input and output interface. DETAILED DESCRIPTION

[0020] The following describes an embodiment with reference to the accompanying drawings. The embodiment relates to a technique for estimating a user's emotions based on the user's media data in which the user's media is recorded. The media may represent any of sound, moving images, and text, and the media data may include at least one of sound data, moving image data, and text data. Hereinafter, the user who is the object of emotion estimation is referred to as a specific user.

[0021] Figure 1 The emotion estimation device 100 according to one embodiment is schematically shown. Figure 1 As shown, the emotion estimation device 100 includes an acquisition unit 102, a media feature extraction unit 104, a model output unit 106, an emotion feature calculation unit 108, an emotion estimation unit 110, and a model database (DB) 112. The emotion estimation device 100 can be installed in a computer such as a server or a personal computer (PC).

[0022] The acquisition unit 102 acquires media data of a specific user. For example, the acquisition unit 102 receives media data acquired by one or more media data acquisition devices as input media data, and extracts the media data of the specific user from the input media data based on specific user information for identifying the specific user.

[0023] The media feature extraction unit 104 extracts media features from the media data of the specific user acquired by the acquisition unit 102. Specifically, the media feature extraction unit 104 extracts media features from the media data of the specific user for each processing unit for performing emotion inference. The media features of each processing unit have a plurality of media features respectively extracted from a plurality of data segments contained in the media data corresponding to the processing unit. When the media is sound, the processing unit may be an utterance, and the data segment may be an analysis frame. When the media is a moving image, the processing unit may be a predetermined time length, and the data segment may be a frame image. When the media is text, the processing unit may be a sentence, and the data segment may be a word.

[0024] The model output unit 106 outputs an emotion feature extraction model related to a specific user. The emotion feature extraction model related to a specific user can be generated in advance and stored in the model DB 112. The model DB 112 is configured to store a plurality of emotion feature extraction models related to a plurality of users. The emotion feature extraction model related to each user represents a benchmark of media feature quantities related to the user. In other words, the emotion feature extraction model related to each user represents a media feature quantity corresponding to the user's emotion in normal times. The emotion feature extraction model is generated by calculating statistics of media feature quantities in a plurality of processing units extracted from the user's media data.

[0025] The model output unit 106 checks whether there is an emotion feature extraction model related to the specific user in the model DB 112. If there is an emotion feature extraction model related to the specific user in the model DB 112, the model output unit 106 extracts the emotion feature extraction model related to the specific user from the model DB 112, and provides the emotion feature extraction model related to the specific user to the emotion feature calculation unit 108. If there is no emotion feature extraction model related to the specific user in the model DB 112, the model output unit 106 generates an emotion feature extraction model related to the specific user based on the media feature in the plurality of processing units extracted by the media feature extraction unit 104, and provides the emotion feature extraction model related to the specific user to the emotion feature calculation unit 108.

[0026] The emotion feature calculation unit 108 calculates the emotion feature based on the media feature extracted by the media feature extraction unit 104 and the emotion feature extraction model output by the model output unit 106. Specifically, the emotion feature calculation unit 108 calculates the statistics of the media feature in the media data of the specific user for each processing unit, and calculates the emotion feature indicating the difference between the statistics of the calculated media feature and the emotion feature extraction model related to the specific user for each processing unit.

[0027] The emotion estimation unit 110 estimates the emotion of the specific user based on the emotion feature calculated by the emotion feature calculation unit 108. Specifically, the emotion estimation unit 110 estimates the emotion of the specific user based on the emotion feature of each processing unit.

[0028] Figure 2 An example of the hardware structure of a computer 200 on which the emotion estimation device 100 can be installed is schematically shown. Figure 2 As shown, the computer 200 includes, as hardware elements, a CPU (Central Processing Unit) 202, a RAM (Random Access Memory) 204, an auxiliary storage device 206, and an input / output interface 208. The CPU 202 is communicatively connected to the RAM 204, the auxiliary storage device 206, and the input / output interface 208.

[0029] The CPU 202 is an example of a general-purpose processor capable of executing programs. The RAM 204 includes a volatile memory such as SDRAM (Synchronous Dynamic Random Access Memory) and is used as a work area for the CPU 202. The auxiliary storage device 206 includes a non-volatile memory such as a HDD (Hard Disk Drive) or an SSD (Solid State Drive) and stores a program group including the emotion estimation program and data.

[0030] The CPU 202 operates according to the program stored in the auxiliary storage device 206. When the emotion estimation program is executed by the CPU 202, the CPU 202 performs the processing described with respect to the emotion estimation device 100. For example, the CPU 202 operates as the acquisition unit 102, the media feature extraction unit 104, the model output unit 106, the emotion feature calculation unit 108, and the emotion estimation unit 110 included in the emotion estimation device 100 according to the emotion estimation program. The auxiliary storage device 206 functions as the model DB 112.

[0031] The input / output interface 208 includes an interface for connecting an input device and an output device. The input device is a device that allows a system user (a human operator who operates the emotion estimation device 100) to input information, such as a keyboard and a mouse. The output device is a device that outputs information to the system user, such as a display device and a speaker.

[0032] In the case of adopting the client server model, the computer 200 may be provided with a communication interface instead of or in addition to the input / output interface 208. The CPU 202 communicates with the client used by the system user via the communication interface. The CPU 202 receives inputs made by the system user from the client via the communication interface, and sends information to be prompted to the system user to the client via the communication interface.

[0033] In addition, the computer 200 may also include a dedicated processor such as FPGA (Field Programmable Gate Array) or ASIC (Application Specific Integrated Circuit) instead of or in addition to a general-purpose processor. The processing circuit refers to a general-purpose processor, a dedicated processor, or a combination of a general-purpose processor and a dedicated processor.

[0034] Programs such as the emotion estimation program can be provided to the computer 200 in a state where they are stored in a recording medium that can be read by a computer. In this case, the computer 200 has a drive that reads data from the recording medium and obtains the program from the recording medium. Examples of recording media include magnetic disks, optical disks (CD-ROM, CD-R, DVD-ROM, DVD-R, etc.), optical magnetic disks (MO, etc.), and semiconductor memories. In addition, the program can also be distributed via a communication network. Specifically, the program can also be stored in a server on the communication network, and the computer 200 can download the program from the server.

[0035] <First Embodiment>

[0036] In the first embodiment, an example is described in which the media data is audio data. Figure 1 The process performed by the emotion estimation device 100 shown.

[0037] Figure 3 The operation of the acquisition unit 102 is schematically shown. Figure 3 In step S301, the acquisition unit 102 acquires voice data from a media data acquisition device. For example, in applications such as call centers that handle telephone voices, a microphone of a telephone or a built-in microphone of a smartphone, a microphone connected to a personal computer, etc. are used as a media data acquisition device. For example, in applications in conferences, an earphone microphone or a desk microphone connected to a personal computer are used as a media data acquisition device.

[0038] When the sound source separation is performed for each user (step S302; "Yes"), the process proceeds to step S304. When the sound source separation is not performed for each user (step S302; "No"), the process proceeds to step S303. When recording telephone voice or recording sound with a headset microphone, the voice of a single user can be recorded for each user, so the sound data is separated by the sound source. On the other hand, when recording the sound of a meeting with a desktop microphone, a sound that is a mixture of the voices of multiple users is recorded in the sound data. In this case, the acquisition unit 102 separates the sound for each user by sound source separation (step S303). Sound source separation can be achieved by well-known techniques.

[0039] In step S304, the acquisition unit 102 selects the voice of the specific user from the sounds separated for each user, and outputs the sound data recording the voice of the specific user. For example, the acquisition unit 102 may also associate the separated sounds with the user information and prompt them to the system user, so that the system user selects the sound that becomes the object of emotion speculation (i.e., the voice of the specific user) from the separated sounds. In this case, the specific user information is input by the system user. In addition, in the case where the voice of the specific user is obtained in advance, the acquisition unit 102 may also calculate the similarity between the voice of the specific user obtained in advance and each separated sound, and automatically select the separated sound with the highest similarity as the voice of the specific user. In this case, the specific user information is the voice of the specific user obtained in advance.

[0040] In this way, the acquisition unit 102 receives the audio data acquired by the media data acquisition device as input audio data, and extracts the audio data of a specific user from the input audio data.

[0041] Figure 4 The operation of the media feature extraction unit 104 is schematically shown. Figure 4 In step S401, the media feature extraction unit 104 divides the voice data of the specific user into speech units. Here, speech refers to a time interval (hereinafter referred to as a sound interval) in which sound exists and is sandwiched by a silent interval of more than a certain time (typically 0.2 seconds). Specifically, the media feature extraction unit 104 first detects the sound interval through sound interval detection. Sound interval detection can be achieved by a well-known technology. Next, the media feature extraction unit 104 divides the voice data of the specific user into speech units based on the detected sound interval.

[0042] In step S402, the media feature extraction unit 104 extracts media features for each analysis frame from each utterance of a specific user. Specifically, the media feature extraction unit 104 divides the sound data corresponding to each utterance into analysis frames, and extracts media features from the sound data corresponding to each analysis frame. As an example, the sound data corresponding to each utterance is divided into analysis frames with a frame length of 25 milliseconds and a frame displacement of 10 milliseconds. As media features, power spectrum, Mel filter bank features, MFCC (Mel Frequency Cepstral Coefficient), NN acoustic model, NN emotion model, etc., the output of the intermediate layer of the sound processing NN, etc. can be used, but are not limited to these.

[0043] In this way, the media feature extraction unit 104 extracts the media feature from the audio data of the specific user.

[0044] Figure 5The operation of the model output unit 106 is schematically shown. Figure 5 In step S501, the model output unit 106 obtains specific user information for specifying a specific user. Here, the specific user information obtained in the obtaining unit 102 can be referred to.

[0045] In step S502, the model output unit 106 checks whether the emotion feature extraction model related to the specific user exists in the model DB 112 based on the specific user information. If the emotion feature extraction model related to the specific user exists in the model DB 112 (step S502; "Yes"), the model output unit 106 reads the emotion feature extraction model related to the specific user from the model DB 112 and provides the emotion feature extraction model related to the specific user to the emotion feature calculation unit 108 (step S505).

[0046] If the emotion feature extraction model related to the specific user does not exist in the model DB 112 (step S502: No), the flow proceeds to step S503. In step S503, the model output unit 106 obtains the media feature of the specific user extracted by the media feature extraction unit 104 into quantities corresponding to a plurality of utterances.

[0047] In step S504, the model output unit 106 learns the emotion feature extraction model related to the specific user based on the media feature of the plurality of utterances obtained, and registers the learned emotion feature extraction model in the model DB 112. Next, in step S505, the model output unit 106 provides the emotion feature extraction model related to the specific user to the emotion feature calculation unit 108.

[0048] The system user may be requested to determine whether there is an emotion feature extraction model related to a specific user in the model DB 112. That is, the model output unit 106 may determine whether there is an emotion feature extraction model related to a specific user in the model DB 112 based on the input from the system user. As an example, the model output unit 106 may present a list of emotion feature extraction models registered in the model DB 112 to the system user in order to allow the system user to confirm whether there is an emotion feature extraction model related to a specific user in the model DB 112. For example, the model output unit 106 selects an emotion feature extraction model related to a specific user from the list, and if there is no emotion feature extraction model related to the specific user, a newly created image requesting the system user to select an emotion feature extraction model is displayed on the display device.

[0049] The model DB 112 may further store the voice data used in learning each emotion feature extraction model in association with the emotion feature extraction model. In this case, the model output unit 106 can automatically determine whether there is an emotion feature extraction model related to the specific user in the model DB 112 by finding the similarity between the voice data of the specific user and the voice data associated with each emotion feature extraction model. For example, the model output unit 106 finds the similarity between the voice data of the specific user and the voice data associated with each emotion feature extraction model, and determines the emotion feature extraction model associated with the voice data whose similarity with the voice data of the specific user exceeds a predetermined threshold as the emotion feature extraction model related to the specific user.

[0050] The processing of executing the learning of the emotion feature quantity extraction model shown in step S504 will be described.

[0051] The model output unit 106 selects as learning data the media feature quantities corresponding to N utterances of the specific user obtained by the obtaining unit 102. N may be equal to the number of utterances of the specific user obtained. n As shown below.

[0052]

Mathematical formula 1

[0053]

[0054] S n It is K line T n The matrix is ​​a matrix of columns. n is the index assigned to the utterance of a specific user used as learning data. t is the index assigned to the analysis frame, and s t n is the K-dimensional media feature vector in the t-th frame, T n is the media feature sequence S n The length of the sequence.

[0055] Next, the model output unit 106 creates an emotion feature extraction model related to a specific user based on the media feature corresponding to the N utterances. As the emotion feature extraction model, a model representing the statistics of the media feature in the learning data is used. For example, the emotion feature extraction model can be defined as the following formula (2) or formula (3).

[0056]

Mathematical formula 2

[0057] m=[mean([S1,S2,...,S N ])]···Formula (2)

[0058] m=[var([S1,S2,...,S N])]···Formula (3)

[0059] Here, [S1, S2, ..., S N ] is the following K rows Σ N i=1 T i Matrix of columns.

[0060]

[0061] mean() represents the operation of taking the mean of the elements for each row of the matrix, that is, the operation of finding the mean in the frame direction for each element of the feature vector. var() represents the operation of taking the variance of the elements for each row of the matrix, that is, the operation of finding the variance in the frame direction for each element of the feature vector. m is a symbol representing the emotional feature extraction model, and in the case of equation (2) or (3), it is a K-dimensional vector.

[0062] Alternatively, a vector obtained by connecting the vector of equation (2) and the vector of equation (3) may be used as the emotion feature extraction model m.

[0063] The emotion feature extraction model m is not limited to the above. For example, all media feature sequences S may be used. n (1≤n≤N), the result obtained by modeling the distribution of media feature quantities using a Gaussian Mixture Model (GMM) is used. In this case, a GMM super vector, which is a vector formed by connecting the mean components of the GMM, is used as the emotion feature quantity extraction model m. The learning of the GMM can be realized by a known technique.

[0064] In this way, the model output unit 106 outputs the emotion feature extraction model related to the specific user.

[0065] Figure 6 The operation of the emotion feature calculation unit 108 is schematically shown. Figure 6 In step S601, the emotion feature calculation unit 108 receives the media feature of the specific user from the media feature extraction unit 104, and receives the emotion feature extraction model m related to the specific user from the model output unit 106. The number of utterances of the specific user is set to N'. Here, N ≤ N'. The media feature sequence U of the specific user used in the calculation of the emotion feature of each utterance is n′ As shown below.

[0066]

Mathematical formula 3

[0067]

[0068] Here, U n′ It is K line T n′The matrix is ​​a matrix of columns. n′ is the index assigned to a specific user’s utterance. t is the index assigned to the analysis frame. tn′ is the K-dimensional media feature vector in the t-th frame, T n′ is the media feature sequence U n′ The length of the sequence. Please note that in U n′ (1≤n′≤N′) and S mentioned in the model output unit 106 n In (1≤n≤N), there is an identical portion in a part of the data.

[0069] In step S602, the emotion feature value calculation unit 108 obtains a media feature value sequence U of a specific user for each utterance. n′ The statistics in U n′ The symbol of the statistic (1≤n′≤N′) is M n′ .

[0070] When the emotion feature extraction model m is expressed by equation (2), M n′ As shown in the following formula (6).

[0071]

Mathematical formula 4

[0072] M n′ =[mean(U n′ )]···Formula (6)

[0073] Here, mean() represents an operation of taking the mean of elements for each row of a matrix.

[0074] When the model m is expressed by equation (3), M n′ As shown in the following formula (7).

[0075]

Mathematical formula 5

[0076] M n′ =[var(U n′ )]···Formula (7)

[0077] Here, var() represents a calculation for taking the variance of elements for each row of a matrix.

[0078] When using formula (6) or formula (7), M n′ becomes a K-dimensional vector.

[0079] When GMM is used in learning model m, the GMM is used as the prior distribution and the GMM is used to learn U n′ The statistics of the model are modeled, and the GMM super vector, which is a vector formed by connecting the mean components obtained thereby, is obtained as M n′ .

[0080] In step S603, the emotion feature calculation unit 108 obtains the emotion feature for each utterance based on the statistics of the media feature obtained in utterance units and the emotion feature extraction model m related to the specific user. n′ The emotional feature quantity in (1≤n′≤N′) is set to E n′ .

[0081] The emotion feature calculation unit 108 calculates the emotion feature extraction model m and the media feature statistic M related to the specific user as shown in the following formula (8): n′ The calculated difference is set as the emotional feature value E n′ .

[0082]

Mathematical formula 6

[0083] E n′ =mM n′ Formula (8)

[0084] In addition, in the learning of the emotion feature extraction model m and the statistics M n′ When GMM is used in the calculation of the emotion feature quantity, the emotion feature quantity calculation unit 108 may also calculate the emotion feature quantity extraction model m and the media feature quantity statistic M representing the specific user by further considering the information of GMM. n′ The emotional characteristic quantity E of the difference n′ .

[0085] In this way, the emotion feature calculation unit 108 calculates the media feature of the utterance of the specific user, and calculates the emotion feature for each utterance based on the difference between the emotion feature extraction model m related to the specific user and the media feature of the utterance.

[0086] The emotion estimation unit 110 estimates the emotion of the specific user based on the emotion feature quantity of the specific user for each utterance. n′ (1≤n′≤N′), calculate the vector O representing the probability of the emotion of each utterance of a specific user n′ (1≤n′≤N′). When the types of estimated emotions are set to P, O n′ is a P-dimensional vector. n′ Calculate O n′ The model can use, for example, decision trees or NN, but is not limited to these. n′ In addition to the emotional feature E n′ In addition, the media feature sequence U n′ .

[0087] Regarding the operation mode of the emotion estimation device 100, there are two modes: offline operation and real-time operation. Offline operation is a mode in which the emotion estimation device 100 is operated after the sound recording is completed, such as after a meeting is completed or a call is completed at a call center. Real-time operation is a mode in which the emotion estimation device 100 is operated while the sound is being recorded, such as during a meeting or during a call at a call center.

[0088] Figure 7 The emotion estimation process in the offline operation performed by the emotion estimation device 100 is schematically shown. Figure 7 The emotional inference process shown.

[0089] In step S701 , the acquisition unit 102 acquires voice data obtained by voice recording, and extracts voice data of a specific user from the acquired voice data.

[0090] In step S702, the media feature extraction unit 104 extracts media features from the speech data of the specific user. For example, the media feature extraction unit 104 divides the speech data of the specific user into utterance units and calculates a sequence of media features from the speech data corresponding to each utterance.

[0091] In step S703, the model output unit 106 outputs the emotion feature extraction model related to the specific user. For example, the model output unit 106 determines whether the emotion feature extraction model related to the specific user exists in the model DB 112. If the emotion feature extraction model related to the specific user exists in the model DB 112, the model output unit 106 extracts the emotion feature extraction model related to the specific user from the model DB 112 and provides it to the emotion feature calculation unit 108. If the emotion feature extraction model related to the specific user does not exist in the model DB 112, the model output unit 106 receives the media feature sequence in the plurality of utterances from the media feature extraction unit 104, calculates the emotion feature extraction model related to the specific user based on the media feature sequence in the plurality of utterances according to the above formula (2) or formula (3), and provides it to the emotion feature calculation unit 108.

[0092] In step S704, the emotion feature calculation unit 108 calculates the emotion feature for each utterance based on the emotion feature extraction model and the media feature. For example, the emotion feature calculation unit 108 calculates the statistic of the media feature for each utterance according to the above formula (6) or formula (7), and calculates the difference between the emotion feature extraction model and the statistic of the media feature for each utterance according to the above formula (8) as the emotion feature.

[0093] In step S705 , the emotion estimation unit 110 estimates the emotion of the specific user based on the emotion feature quantity for each utterance.

[0094] Figure 8 The emotion estimation process in real-time operation performed by the emotion estimation device 100 is schematically shown. Figure 8 For example, the media data acquisition device provides the emotion estimation device 100 with the sound data obtained by sound recording in real time.

[0095] In step S801, the acquisition unit 102 extracts the voice data of a specific user from the voice data received from the media data acquisition device. In step S802, the media feature extraction unit 104 extracts the media feature from the voice data of the specific user. For example, when the media feature extraction unit 104 detects the end of an utterance of the specific user, it extracts the media feature from the voice data corresponding to the utterance.

[0096] In step S803, the model output unit 106 checks whether there is an emotion feature extraction model related to the specific user in the model DB 112. If there is an emotion feature extraction model related to the specific user in the model DB 112 (step S803; "Yes"), in step S804, the model output unit 106 reads the emotion feature extraction model related to the specific user from the model DB 112 and provides the emotion feature extraction model related to the specific user to the emotion feature calculation unit 108.

[0097] On the other hand, when the emotion feature extraction model related to the specific user does not exist in the model DB 112 (step S803; "No"), in step S805, the model output unit 106 determines whether the speech of the specific user has collected the amount corresponding to N speech utterances. When the speech of the specific user has collected the amount corresponding to N speech utterances (step S805; "Yes"), in step S806, the model output unit 106 performs learning of the emotion feature extraction model related to the specific user based on the sound data of the amount corresponding to the N speech utterances of the specific user. Specifically, the model output unit 106 calculates the emotion feature extraction model related to the specific user based on the media feature extracted from the sound data of the amount corresponding to the N speech utterances of the specific user by the media feature extraction unit 104 according to the above formula (2) or formula (3). The model output unit 106 provides the learned emotion feature extraction model to the emotion feature calculation unit 108 and registers it in the model DB 112.

[0098] When the quantity corresponding to N utterances of the specific user is not collected (step S805; No), in step S807, the model output unit 106 reads the emotion feature extraction model related to general users from the model DB 112, and provides the emotion feature extraction model related to general users to the emotion feature calculation unit 108. The emotion feature extraction model related to general users means an emotion feature extraction model learned using general speaker data.

[0099] The flow proceeds to step S808 from step S804, step S806, or step S807. In step S808, the emotion feature calculation unit 108 calculates the statistics of the media feature based on the media feature in one utterance obtained in step S802 according to the above formula (6) or formula (7), and calculates the emotion feature based on the difference between the statistics of the media feature and the emotion feature extraction model received from the model output unit 106 according to the above formula (8).

[0100] In step S809 , the emotion estimation unit 110 estimates the emotion of the specific user based on the emotion feature value calculated by the emotion feature value calculation unit 108 .

[0101] The above-mentioned processing is repeatedly performed until the meeting or call ends. If there is no emotion feature extraction model related to the specific user in the model DB 112, the emotion inference device 100 uses the emotion feature extraction model related to the general user to perform emotion inference before the specific user's speech has collected the amount corresponding to N utterances. When the specific user's speech has collected the amount corresponding to N utterances, the emotion inference device 100 generates the emotion feature extraction model related to the specific user, and uses the emotion feature extraction model related to the specific user to perform emotion inference for subsequent utterances.

[0102] As described above, the emotion estimation device 100 performs emotion estimation based on the emotion feature extraction model learned from a plurality of utterances of a specific user and the difference in the emotion feature of the utterance unit. As a result, emotion estimation can be performed by observing the amount of change from the characteristics of the normal utterance style of the specific user without being excessively affected by the characteristics of the normal utterance style of the specific user. As a result, emotion estimation can be performed with high accuracy.

[0103] The inventors conducted an evaluation experiment of emotion estimation according to the embodiment. In the experiment, the RAVDESS data set, which is the performed voice of English, was used. The RAVDESS data set includes performed voices of 8 kinds of emotions obtained from 24 speakers. In the experiment, 90% of the RAVDESS data set was selected as learning data, and 10% of the data set was selected as evaluation data.

[0104] In the experiment, a baseline technique and the proposed technique (the above-mentioned technique involved in the embodiment) were compared.

[0105] In the baseline method, the learning data is used to perform the training of the emotion estimation NN, which uses the Mel filter bank feature extracted from the audio data as input to perform emotion estimation.

[0106] In the proposed method, the Mel filter bank feature extracted from the learning data is input to the emotion estimation NN learned by the baseline method, thereby obtaining information output from the intermediate layer selected from the intermediate layer of the emotion estimation NN as the media feature, and an emotion feature extraction model is generated based on this. Furthermore, an emotion estimation NN having the same structure as the structure from the intermediate layer to the output layer selected in the emotion estimation NN learned by the baseline method is separately prepared, and the learning of the emotion estimation NN is performed in a manner in which the emotion feature is used as input to perform emotion estimation.

[0107] The accuracy of emotion recognition is 68.1% in the baseline method and 70.0% in the proposed method. According to the experimental results, the proposed method has better performance than the baseline method. Therefore, it can be seen that the proposed method contributes to the improvement of emotion estimation performance.

[0108] <Second Embodiment>

[0109] In the second embodiment, the case where the media data is text data is described. Figure 1 The emotion estimation device 100 shown in FIG. Regarding each component, points different from the first embodiment will be described, and description of points similar to the first embodiment will be omitted.

[0110] The acquisition unit 102 acquires text data of a specific user. The text data of a specific user may be, for example, text data included in an email sent by the specific user or text data obtained by performing voice recognition on a speech uttered by the specific user. The acquisition unit 102 divides the text into sentence units.

[0111] The media feature extraction unit 104 divides each sentence obtained by the acquisition unit 102 into a word sequence by morphological analysis. Next, the media feature extraction unit 104 extracts a media feature from each word to obtain a media feature sequence of each sentence. As the media feature, for example, the output of an intermediate layer of a language processing NN such as BERT (Bidirectional Encoder Representations from Transformers) can be used, but it is not limited thereto.

[0112] The subsequent process, specifically, the processing in the model output unit 106, the emotion feature value calculation unit 108, and the emotion estimation unit 110 is the same as that described in the first embodiment.

[0113] <Third Embodiment>

[0114] In the third embodiment, the case where the media data is moving image data is described. Figure 1 The emotion estimation device 100 shown in FIG. Regarding each component, points different from the first embodiment will be described, and description of points similar to the first embodiment will be omitted.

[0115] The acquisition unit 102 acquires the motion image data of a specific user. For example, the acquisition unit 102 receives the motion image data from a media data acquisition device such as a camera. The acquisition unit 102 performs automatic person detection on the motion image data, and displays the motion image data together with the result of the automatic person detection on a display device. The acquisition unit 102 selects a person specified by an input from a system user as a specific user, and acquires the motion image data of the specific user while tracking the specific user by automatic person tracking. Automatic person detection and automatic person tracking can be realized by known techniques.

[0116] The media feature extraction unit 104 divides the user's moving image into a certain time (for example, 2 seconds) to obtain a plurality of moving image segments. The media feature extraction unit 104 obtains a media feature sequence for each moving image segment. As the media feature, for example, the output of an intermediate layer of an image processing NN such as a person recognition NN that identifies a person from an input image can be used, but it is not limited thereto.

[0117] The subsequent process, specifically, the processing in the model output unit 106, the emotion feature value calculation unit 108, and the emotion estimation unit 110 is the same as that described in the first embodiment.

[0118] According to the above-mentioned embodiments, emotion estimation is performed based on the difference between the emotion feature extraction model representing the reference of the media feature of the specific user and the emotion feature of the processing unit. As a result, emotion estimation can be performed by observing the change amount of the characteristics of the specific user's behavior in normal times without being excessively affected by the characteristics of the specific user's behavior (such as speech style, activity, or expression of words). As a result, emotion estimation can be performed with high accuracy.

[0119] Although several embodiments of the present invention have been described, these embodiments are merely illustrative and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the gist of the invention. These embodiments and their variations are included in the scope and gist of the invention, and are included in the invention described in the claims and their equivalents.

[0120] Furthermore, the above-mentioned embodiments can be summarized as the following technical solutions.

[0121] Technical Solution 1

[0122] A feeling estimation device, comprising:

[0123] an acquisition unit that acquires media data of a specific user in which the media of the specific user is recorded;

[0124] a media feature extraction unit configured to extract a media feature from the media data of the specific user;

[0125] an emotion feature value calculation unit that calculates an emotion feature value based on the extracted media feature value and an emotion feature value extraction model representing a reference of the media feature value of the specific user; and

[0126] The emotion estimation unit estimates the emotion of the specific user based on the calculated emotion feature amount.

[0127] Technical Solution 2

[0128] In the above technical solution 1,

[0129] The emotion estimation device further includes a model output unit for outputting the emotion feature value extraction model in order to calculate the emotion feature value by the emotion feature value calculation unit.

[0130] The model output unit acquires the emotion feature extraction model from a model database.

[0131] Technical Solution 3

[0132] In the above technical solution 2,

[0133] The model output

[0134] Determine whether the emotion feature extraction model exists in the model database,

[0135] If the emotion feature extraction model exists in the model database, acquiring the emotion feature extraction model from the model database,

[0136] When the emotion feature extraction model does not exist in the model database, the emotion feature extraction model is learned based on the media data of the specific user, and the learned emotion feature extraction model is registered in the model database.

[0137] Technical Solution 4

[0138] In the above technical solution 3,

[0139] The model output unit generates the emotion feature extraction model by calculating statistics of media feature extracted from at least a part of the media data of the specific user.

[0140] Technical Solution 5

[0141] In the above technical solution 1,

[0142] The emotion characteristic value calculation unit

[0143] For each processing unit for emotion estimation, a statistic of the extracted media feature is calculated.

[0144] The emotional feature quantity is calculated for each of the processing units based on a difference between the calculated statistic of the extracted media feature quantity and the emotional feature quantity extraction model.

[0145] Technical Solution 6

[0146] In the above technical solution 1,

[0147] The acquisition unit receives the media data acquired by the media data acquisition device and specific user information for identifying the specific user, and extracts the media data of the specific user from the received media data based on the received specific user information.

[0148] Technical Solution 7

[0149] In any one of the above technical solutions 1 to 6,

[0150] The media refers to any one of sound, moving image, and text.

[0151] Technical Solution 8

[0152] A method for estimating emotions performed by an emotion estimation device, comprising:

[0153] Acquire media data of a specific user having media of the specific user recorded therein;

[0154] extracting media features from the media data of the specific user;

[0155] calculating an emotional feature quantity based on the extracted media feature quantity and an emotional feature quantity extraction model representing a reference of the media feature quantity of the specific user; and

[0156] The emotion of the specific user is estimated based on the calculated emotion feature amount.

[0157] Technical Solution 9

[0158] A feeling estimation program for causing a computer to function as the following unit:

[0159] A unit for acquiring media data of a specific user in which the media of the specific user is recorded;

[0160] A unit for extracting a media feature from the media data of the specific user;

[0161] a unit for calculating an emotion feature based on the extracted media feature and an emotion feature extraction model representing a reference of the media feature of the specific user; and

[0162] A means for estimating the emotion of the specific user based on the calculated emotion feature amount.

Claims

1. A device for estimating emotions, comprising: an acquisition unit that acquires media data of a specific user in which the media of the specific user is recorded; a media feature extraction unit configured to extract a media feature from the media data of the specific user; an emotion feature value calculation unit that calculates an emotion feature value based on the extracted media feature value and an emotion feature value extraction model representing a reference of the media feature value of the specific user; as well as The emotion estimation unit estimates the emotion of the specific user based on the calculated emotion feature amount.

2. The emotion estimation device according to claim 1, wherein: further comprising a model output unit for outputting the emotion feature value extraction model in order to calculate the emotion feature value by the emotion feature value calculation unit, The model output unit acquires the emotion feature extraction model from a model database.

3. The emotion estimation device according to claim 2, wherein: The model output Determine whether the emotion feature extraction model exists in the model database, If the emotion feature extraction model exists in the model database, acquiring the emotion feature extraction model from the model database, When the emotion feature extraction model does not exist in the model database, the emotion feature extraction model is learned based on the media data of the specific user, and the learned emotion feature extraction model is registered in the model database.

4. The emotion estimation device according to claim 3, wherein: The model output unit generates the emotion feature extraction model by calculating statistics of media feature extracted from at least a part of the media data of the specific user.

5. The emotion estimation device according to claim 1, wherein: The emotion characteristic value calculation unit The statistics of the extracted media feature are calculated for each processing unit for emotion estimation, and the emotion feature is calculated for each processing unit based on the difference between the calculated statistics of the extracted media feature and the emotion feature extraction model.

6. The emotion estimation device according to claim 1, wherein: The acquisition unit receives the media data acquired by the media data acquisition device and specific user information for identifying the specific user, and extracts the media data of the specific user from the received media data based on the received specific user information.

7. The emotion estimation device according to any one of claims 1 to 6, wherein: The media refers to any one of sound, moving image, and text.

8. A method for estimating emotions performed by an emotion estimation device, comprising: Acquire media data of a specific user having media of the specific user recorded therein; extracting media features from the media data of the specific user; calculating an emotional feature quantity based on the extracted media feature quantity and an emotional feature quantity extraction model representing a reference of the media feature quantity of the specific user; and The emotion of the specific user is estimated based on the calculated emotion feature amount.

9. A feeling estimation program for causing a computer to function as the following unit: A unit for acquiring media data of a specific user in which the media of the specific user is recorded; A unit for extracting a media feature from the media data of the specific user; a unit for calculating an emotion feature based on the extracted media feature and an emotion feature extraction model representing a reference of the media feature of the specific user; and A means for estimating the emotion of the specific user based on the calculated emotion feature amount.

Citation Information

Patent Citations

  • APPARATUS, ROBOT, METHOD AND program

    CN108573695A

  • Feeling recognition device

    JP2005283647A

  • Voice analysis apparatus and voice analysis method

    JP2019128531A

  • Improving natural language interactions using emotional modulation

    US20160210985A1

  • Automatic speech-based longitudinal emotion and mood recognition for mental health treatment

    US20200075040A1