Multi-modal emotion interaction system and method

Through a multimodal emotional interaction system, combined with large language model and virtual human control information, the problems of unreliable information sources and lack of personalized content in child care of autistic children are solved, the combination of theory and practice is achieved, and the intervention measures are improved. Standardization and personalization meet the diverse needs of parents.

CN118888086AActive Publication Date: 2024-11-01DUKE KUNSHAN UNIVERSITY

Patent Information

Application Number
CN202410902796.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-11-01
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

The existing technology has problems such as unreliable information sources, lack of personalized content, and a gap between theoretical knowledge and actual operations in the care of children with autism, resulting in lack of standardization and inconsistency in intervention measures, and it is difficult for theoretical knowledge to guide practical practice, and parents are at home. , the needs in the social and educational environment cannot be fully met.

Method used

Design a multi-modal emotional interaction system, including the client and the server, collect user information (audio and image data), analyze and generate virtual human control information and scene information, combine large language models to generate training information, and provide behavioral language Data, generate proxy images of interactive answers, help parents understand and manage their children's behavior, and achieve the combination of theory and practice.

Benefits of technology

Improve the standardization and personalization of intervention measures, enhance the reliability and practicality of information, reduce the mental health burden of parents, provide customized, easy to understand and apply intervention strategies, and improve parents' customized interventions to their children's needs. ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118888086A_ABST
    Figure CN118888086A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a multi-mode emotion interaction system and method, the system comprises a client and a server, parents are guided to understand and intervene behaviors of children through the cooperation of the client and the server and the application of a behavior analysis (ABA) theory as a basic framework, and the parents are guided to understand details of the intervening behaviors through simulation scene practice, so that the interestingness of the children is improved, and the interestingness of the children is improved. A structured route map can be provided for parents, the parents are helped to understand and manage behaviors of children, theoretical concepts are combined with practical application, and the ability of the parents to provide customized intervention aiming at demands of the children is improved. The method can be used for solving the problems of unreliable information source, lack of personalized content and existence of a gap between theoretical knowledge and real operation in current autism child nursing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of assisted rehabilitation training, and in particular to a multimodal emotional interaction system and method. Background Art

[0002] Current technologies focus primarily on interventions that parents implement for children with autism in a home setting, which involve addressing complex behavioral challenges such as social development, communication disorders, and emotion management. Parents often rely on social media and information provided by professional educators, such as platforms such as WeChat, Zhihu, and Douyin, to obtain detailed content and case-based explanations to help them understand and implement interventions.

[0003] However, there are many problems and shortcomings in existing technologies. First, there is a lack of standardized implementation of intervention measures, and inconsistencies often occur when different personnel implement them. Second, it is difficult to extract practical intervention methods from theoretical knowledge because the lack of comprehensive details often makes theoretical knowledge unable to effectively guide practical intervention practices. In addition, information sources that rely on social media and other platforms may have variations in reliability and content quality, and these platforms lack personalized filtering capabilities. Existing technologies are also insufficient to fully meet the diverse needs of parents in family, social and educational environments. At the same time, parents spend a long time with autistic children and are concerned about their mental health. The root of these problems lies in the limitations of existing technologies, such as the reliability of information sources, the lack of personalized content, and the inadequacy of theoretical knowledge in practical applications. In view of the current problems of unreliable information sources, lack of personalized content, and the gap between theoretical knowledge and actual operations in the care of autistic children, it is necessary to conduct further research on multimodal emotional interaction technology in order to provide customized, comprehensive, easy-to-understand and easy-to-apply intervention strategies. Summary of the invention

[0004] The embodiments of the present invention provide a multimodal emotional interaction system and method to solve the problems of unreliable information sources, lack of personalized content, and the gap between theoretical knowledge and practical operations in the current care of autistic children.

[0005] On the one hand, the present invention provides a multimodal emotional interaction system, the system includes a client and a server, the client includes a front end and a back end;

[0006] The front end includes:

[0007] A collection module is used to collect user information, including audio data and image data;

[0008] An output module is used to display the proxy image obtained based on the analysis of user information, and the proxy image includes the virtual scene and character dynamics;

[0009] The backend includes:

[0010] A receiving module is used to receive the behavior language data sent by the server, and the behavior language data is obtained by analyzing the user information;

[0011] A generation module, used to generate corresponding virtual human control information according to the behavior voice data;

[0012] A scene control module is used to manage the scene information of the application based on the behavioral voice data;

[0013] An interactive module, used to generate an agent image for interactive answers based on virtual human control information and scene information;

[0014] The server side includes:

[0015] Emotion recognition module, used to analyze user information collected by the front end to obtain recognition information;

[0016] A retrieval module, used for retrieving retrieval information according to the identification information;

[0017] A pre-training module is used to generate training information based on the recognition information and the retrieval information and based on the large language model. The training information includes questions and dialogues.

[0018] The emotion fusion module is used to generate behavioral language data based on the recognition information and training information.

[0019] Furthermore, the server and the client communicate through a WebSocket tunnel.

[0020] Furthermore, the backend also includes a storage module for storing user interaction and application data, as well as log records.

[0021] Furthermore, the acquisition module is also used for:

[0022] Capture video and audio through the Micro_Camera class and use the front camera to capture the user's facial image;

[0023] Use Texture2D to process facial images, including resizing, rotating, and converting to JPEG format to obtain image data;

[0024] Use WebSocket to send the image data to the server in the form of a Base64 string.

[0025] Use the Microphone class to capture audio from the device's microphone and record it as audio data;

[0026] Send the audio data to the server in the form of a Base64 string.

[0027] Furthermore, the acquisition module is also used for:

[0028] Slice the audio data into fixed-size slices to obtain audio slices;

[0029] The audio slices are transmitted in a streaming manner so that the server can restore the audio slices to audio data;

[0030] Coroutine is used to control the image data collection action. After confirming the reception of the emotion result of the previous image data calculated by the system backend, the next image data is transmitted to the backend for calculation to control the sending and receiving of the communication protocol.

[0031] Furthermore, the emotion recognition module is also used to perform facial feature recognition, voice conversion, text emotion recognition, and audio emotion recognition on image data and audio data to obtain recognition information. The recognition information includes encoding facial expressions, lip movements, and body postures into BML tags of the behavior markup language. The BML tags are used to control the performance of virtual characters.

[0032] Furthermore, the recognition information also includes an emotion calculation output value, and the emotion recognition module is also used to:

[0033] Use the emotion model to perform speech recognition on the audio data to obtain the emotion label and the first emotion probability. The emotion label includes one of negative, neutral or positive. The first emotion probability includes the probability of multiple emotion classifications such as anger, fear, happiness, neutral, sadness, and surprise.

[0034] Use the lightweight open source model HSEmotion for facial expression recognition to identify the image data and obtain the second emotion probability, which includes the probabilities of multiple emotion classifications such as anger, fear, happiness, neutrality, sadness, and surprise.

[0035] According to the emotion label, the first emotion probability and the second emotion probability, the emotion calculation output value is obtained.

[0036] Furthermore, the generation module is also used to map the body language animation of the virtual human control information according to the emotion calculation output value.

[0037] Furthermore, the generation module is also used to adjust the facial expressions, lip movements and body postures of the virtual person using the Avatar_Animation and Animation_Controller classes.

[0038] In order to solve the problems of unreliable information sources, lack of personalized content, and gap between theoretical knowledge and actual operation in the current care of autistic children, the purpose of the present invention is to provide a multimodal emotional interaction system, including a client and a server, the client including a front end and a back end; the front end includes: a collection module for collecting user information, the user information includes audio data and image data; an output module for displaying an agent image obtained by analyzing the user information, the agent image includes a virtual scene and character dynamics; the back end includes: a receiving module for receiving behavioral language data sent by the server, the behavioral language data is obtained by analyzing the user information; a generation module for generating corresponding virtual human control information according to the behavioral voice data; a scene control module for managing the scene information of the application according to the behavioral voice data; an interaction module for generating an agent image of interactive answers according to the virtual human control information and the scene information; the server includes: an emotion recognition module for analyzing the user information collected by the front end to obtain recognition information; a retrieval module for retrieving the retrieval information according to the recognition information; a pre-training module for generating training information based on a large language model according to the recognition information and the retrieval information, the training information includes questions and dialogues; an emotion fusion module for generating behavioral language data according to the recognition information and the training information.

[0039] Compared with the prior art, the present invention has the following advantages:

[0040] Through the combination of client and server, a multimodal emotional interaction assistant is created. On the server, a pre-trained large language model (GPT) or database model (raw) receives the user's query and generates dialogue and voice output. These outputs are sent to the client through the emotion recognition module, including facial, voice and text emotion recognition, and the emotion generation module, and finally form a behavior markup language, which will be sent to the client, and the client receives the user's information through video and audio input, and then generates video and audio output, including the agent's actions and scenes, etc., that is, the applied behavior analysis (ABA) theory is used as the basic framework to guide parents to understand and intervene in their children's behavior, and through simulated scenario exercises, guide parents to understand the details of the intervention behavior, and provide parents with a structured roadmap to help them understand and manage their children's behavior. At the same time, it combines theoretical concepts with practical applications to improve parents' ability to provide customized interventions for their children's needs. In this way, the present invention will solve the deficiencies of the prior art in standardization, combination of theory and practice, information reliability and personalization, and practicality and ease of learning.

[0041] On the other hand, the present invention provides a multimodal emotion interaction method, using the above multimodal emotion interaction system, comprising:

[0042] Collect user information, including audio data and image data;

[0043] Analyze user information to obtain identification information;

[0044] Retrieve the search information based on the identification information;

[0045] Generate training information based on the large language model according to the recognition information and the retrieval information. The training information includes questions and dialogues.

[0046] Generate behavioral language data based on the recognition information and the training information;

[0047] Receiving behavioral language data sent by the server, the behavioral language data is obtained based on the analysis of user information;

[0048] Generate corresponding virtual human control information according to the behavioral voice data;

[0049] Manage application scenario information based on behavioral voice data;

[0050] Generate an agent image for interactive answering based on virtual human control information and scene information, the agent image includes virtual scene and character dynamics;

[0051] Show agency images. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0053] Figure 1 It is a schematic diagram of a multimodal emotion interaction system according to an embodiment of the present invention.

[0054] Figure 2 It is a flowchart of a multimodal emotional interaction method according to another embodiment of the present invention. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] See also Figure 1 A multimodal emotion interaction system 10 according to an embodiment of the present invention includes a client 11 and a server 12 , wherein the client 11 includes a front end 111 and a back end 112 .

[0057] The front end 111 includes a collection module 1111 and an output module 1112. The collection module 1111 is used to collect user information, and the user information includes audio data and image data.

[0058] As one implementation manner, the acquisition module 1111 is further used for:

[0059] Capture video and audio through the Micro_Camera class and use the front camera to capture the user's facial image;

[0060] Use Texture2D to process facial images, including resizing, rotating, and converting to JPEG format to obtain image data;

[0061] Use WebSocket to send the image data to the server in the form of a Base64 string 12;

[0062] Use the Microphone class to capture audio from the device's microphone and record it as audio data;

[0063] The audio data is sent to the server in the form of a Base64 string 12 .

[0064] That is, the acquisition module 1111 can capture video and audio through the `Micro_Camera` class. Micro_Camera is a software class that is responsible for calling and controlling the device's camera. This class has the functions of starting the camera, capturing audio and video data, and can adjust the camera parameters (such as resolution, frame rate, etc.) as needed. The Micro_Camera class can effectively obtain high-quality audio and video data from the device's camera, which is particularly important for real-time video communication and monitoring systems. For video, we use the front camera to capture the user's facial image, and then use Texture2D for processing, including resizing, rotation, and conversion to JPEG format. The captured image is sent to the server in the form of a Base64 string using WebSocket through the sending interface for sentiment analysis. After analysis, the server returns the emotional data (such as the emotional value of facial expressions) to the Unity client 11.

[0065] In terms of audio, client 11 uses the `Microphone` class to capture audio from the device's microphone. The recorded audio is saved as an AudioClip and converted to WAV format through the `SavWav` conversion interface, and then converted to a Base64 string for binary data stream transmission. Using Base64 encoding to convert audio data into a string format can protect the integrity of the data during transmission. Base64-encoded data can also be sent through any text transfer protocol, which provides a high degree of flexibility and compatibility for data exchange on multiple network protocols. This Base64 string is then also sent to the server through the `WsClient` sending interface for voice emotion analysis.

[0066] In order to reduce the system transmission and operation pressure, the acquisition module 1111 is also used for:

[0067] Slice the audio data into fixed-size slices to obtain audio slices;

[0068] Transmit the audio slices in a streaming manner so that the server 12 restores the audio slices to audio data;

[0069] The coroutine is used to control the image data collection action. After confirming that the emotion result of the previous image data calculated by the system backend 112 has been received, the next image data is transmitted to the backend 112 for calculation to control the sending and receiving of the communication protocol.

[0070] The output module 1112 is used to display the proxy image obtained according to the analysis of the user information, and the proxy image includes the virtual scene and the character dynamics.

[0071] After the server 12 completes the processing, the returned data (including the emotional value of the facial expression and the result of the speech analysis) is transmitted back to the client 11 through the `WsClient` class. Based on this data, the client 11 uses the `Avatar_Animation` and `Animation_Controller` classes to adjust the facial expressions, lip movements, and body postures of the virtual character. These adjustments are made based on the emotional data and speech content returned by the server to ensure that the performance of the virtual character matches the actual emotional state and speech content of the user, and finally a proxy image is obtained, which is displayed to the user through the output module 1112.

[0072] The backend 112 includes a receiving module 1121 , a generating module 1122 , a scene control module 1123 and an interaction module 1124 .

[0073] The receiving module 1121 is used to receive the behavior language data sent by the server 12, where the behavior language data is obtained by analyzing the user information.

[0074] The generation module 1122 is used to generate corresponding virtual human control information according to the behavior voice data.

[0075] As one implementation manner, the generation module 1122 is further configured to use the Avatar_Animation and Animation_Controller classes to adjust the facial expressions, lip movements, and body postures of the virtual person.

[0076] As one implementation mode, the generation module 1122 is also used to map the body language animation of the virtual human control information according to the emotion calculation output value.

[0077] The scene control module 1123 is used to manage the scene information of the application according to the behavioral voice data.

[0078] The interactive module 1124 is used to generate an agent image for interactive responses based on the virtual human control information and scene information.

[0079] As one implementation manner, the backend 112 further includes a storage module for storing user interaction and application data, as well as log records.

[0080] The server side 12 includes an emotion recognition module 121 , a retrieval module 122 , a pre-training module 123 and an emotion fusion module 124 .

[0081] The emotion recognition module 121 is used to analyze the user information collected by the front end 111 to obtain recognition information.

[0082] In the embodiment of the present invention, the emotion recognition module 121 can be used for facial feature recognition, voice conversion, text emotion recognition, and audio emotion recognition.

[0083] As one of the implementation modes, the emotion recognition module 121 is also used to perform facial feature recognition, voice conversion, text emotion recognition, and audio emotion recognition on image data and audio data to obtain recognition information. The recognition information includes encoding facial expressions, lip movements, and body postures into BML tags of the behavior markup language. The BML tags are used to control the performance of virtual characters.

[0084] In an embodiment of the present invention, the system integrates a pre-trained large language model on the server side 12 for processing user queries and generating dialogue and voice outputs. These outputs are processed by the emotion recognition module 121 and ultimately converted into a behavior markup language. These animated expressions (facial expressions, lip movements, and body postures) are encoded into behavior markup language (BML), which is a coding system for describing human behaviors and actions. Our system dynamically generates BML tags based on the emotion recognition results to control the performance of the virtual character, so that the character's actions and expressions are synchronized with the user's emotional state and voice content. Through such a processing flow, an expressive virtual character is realized that can react and interact accordingly based on the user's emotional state and voice content, creating a more natural and immersive interactive experience.

[0085] In addition, the recognition information may also include an emotion calculation output value, and the emotion recognition module 121 is also used to:

[0086] Use the emotion model to perform speech recognition on the audio data to obtain the emotion label and the first emotion probability. The emotion label includes one of negative, neutral or positive. The first emotion probability includes the probability of multiple emotion classifications such as anger, fear, happiness, neutral, sadness, and surprise.

[0087] Use the lightweight open source model HSEmotion for facial expression recognition to identify the image data and obtain the second emotion probability, which includes the probabilities of multiple emotion classifications such as anger, fear, happiness, neutrality, sadness, and surprise.

[0088] According to the emotion label, the first emotion probability and the second emotion probability, the emotion calculation output value is obtained.

[0089] The retrieval module 122 is used to retrieve the retrieval information according to the identification information.

[0090] In the embodiment of the present invention, the search module 122 performs a search based on the identification information to obtain search information, and the search information may include follow-up questions and dialogues.

[0091] The pre-training module 123 is used to generate training information based on the recognition information and the retrieval information and based on the large language model, and the training information includes questions and dialogues.

[0092] The emotion fusion module 124 is used to generate behavioral language data based on the recognition information and the training information.

[0093] In the embodiment of the present invention, the emotion fusion module 124 fuses different emotion recognition results and generates behavior language data, which includes a behavior markup language.

[0094] As one implementation method, the server 12 and the client 11 communicate through a WebSocket tunnel. The user's interaction with the front end 111 of the client 11 is realized through video and audio input, and the front end 111 transmits the user input to the server 12 and the back end 112 for processing. The back end 112 processes the user input and generates corresponding actions and feedback through scene control, question generator, and audio, body gesture and facial expression modules, and then the front end 111 displays it to the user through video and audio output.

[0095] There are many problems with existing technologies in the field of family intervention for children with autism, including:

[0096] 1. Lack of standardization of intervention measures: Existing intervention methods lack standardized implementation, and different implementers may lead to inconsistent results.

[0097] 2. The disconnect between theoretical knowledge and practical application: In existing technologies, theoretical knowledge is often insufficient to guide actual intervention practices, especially in the absence of comprehensive and detailed guidance.

[0098] 3. Reliability and personalization issues of information sources: Parents currently rely mainly on platforms such as social media to obtain intervention information, but the reliability and content quality of these information sources vary, and there is a lack of personalized content for individual families and children.

[0099] 4. Limitations in practicality and learnability: Existing intervention strategies are often not practical or easy to understand, especially for parents of different levels, who need simpler and easier to remember effective guidance.

[0100] The multimodal emotion interaction system of the embodiment of the present invention has significant improvements in many aspects, including:

[0101] 1. More professional content planning: Compared with common search engines and platforms, the present invention provides more finely planned content, reducing users' concerns about the authenticity and relevance of the content.

[0102] 2. More flexible accessibility: The present invention alleviates the time and space constraints of consultation with professional educators and provides on-demand learning possibilities.

[0103] 3. Efficiency improvement: This invention promotes the absorption of comprehensive knowledge through repeated learning and actual case analysis, thereby improving efficiency.

[0104] 4. Emotional support: The present invention provides emotional comfort through the role of virtual agents, especially for novice parents, and reduces negative emotions such as anxiety.

[0105] 5. Enhanced trust and intention to use: Due to the above advantages, users’ trust in the system and willingness to use it are significantly improved.

[0106] 6. Personalized intelligent QA response: The present invention can provide refined intelligent question and answer feedback based on the user's personalized needs, making the user experience more personalized and accurate.

[0107] 7. Refined case selection for autonomous learning: The present invention carefully plans the cases in the autonomous learning module to meet the needs of different parents and children, and enhances the pertinence and practicality of the educational content.

[0108] 8. Continuous optimization of database and user interface (UI): Through interaction with parents and clinicians, the present invention continuously optimizes and expands the content and interface design, thereby improving the user experience.

[0109] 9. Clarity of knowledge framework: The present invention enhances the clarity of the knowledge framework by providing structured intervention steps, enabling parents to understand and manage their children's behavior more effectively.

[0110] 10. Enhanced learnability and intuitiveness: The present invention emphasizes providing intuitive and easy-to-understand instructional content, so that parents at all levels of expertise can more easily adopt intervention methods through imitation learning and rapid practice.

[0111] See also Figure 2 A multimodal emotion interaction method according to another embodiment of the present invention adopts the above-mentioned multimodal emotion interaction system, comprising:

[0112] Step 201: Collect user information, which includes audio data and image data.

[0113] Step 202: Analyze user information to obtain identification information.

[0114] Step 203, retrieve information based on the identification information.

[0115] Step 204: Generate training information based on the large language model according to the recognition information and the retrieval information. The training information includes questions and dialogues.

[0116] Step 205, generating behavioral language data based on the recognition information and the training information.

[0117] Step 206, receiving the behavior language data sent by the server, the behavior language data being obtained by analyzing the user information.

[0118] Step 207, generating corresponding virtual human control information according to the behavioral voice data.

[0119] Step 208, managing application scenario information based on the behavioral voice data.

[0120] Step 209 , generating an agent image for interactive answering according to the virtual human control information and the scene information, wherein the agent image includes the virtual scene and the dynamics of the character.

[0121] Step 210, display the proxy image.

[0122] As one of the implementation methods of the embodiment of the present invention, the client (Unity end) collects the user's audio and image data through a microphone and a camera respectively. In the data collection process, the timestamp when the user starts using the microphone is used as the beginning of the collection period, and the timestamp when the user stops using the microphone is used as the end of the collection period. Among them, the audio data is transmitted in a streaming manner. Limited by the data volume size of the single transmission protocol, the system front end slices the audio data into fixed sizes, sends it to the system back end, and performs streaming segmented speech recognition to reduce delays. When the audio data stops collecting, the system back end splices the segmented audio data with the corresponding speech recognition results to obtain the text results of speech recognition, and saves the audio data. For image data, the system front end uses coroutine to control the collection action of image data. When the system front end confirms that the emotional result of the previous image data calculated by the system back end has been received, the next image data is transmitted to the back end for calculation to control the sending and receiving of the communication protocol. These inputs are transmitted to the server end.

[0123] The server processes the input, runs the emotion recognition module, and transmits the generated behavior markup language back to the Unity side. On the server side, the system backend performs speech recognition on the received complete audio data, and uses a dictionary-based three-category emotion model on the text results after speech recognition to obtain the emotion labels of "negative", "neutral" or "positive". For speech emotion recognition, a speech emotion model based on Resnet34 is used to finally output the probabilities of six emotion classifications: "anger", "fear", "happy", "neutral", "sadness", and "surprise". For facial expression recognition, a lightweight facial expression recognition open source model HSEmotion is used to output the probabilities of six emotion classifications: "anger", "fear", "happy", "neutral", "sadness", and "surprise" for the images collected during the acquisition process, and a data structure is used to accumulate the values ​​of each probability during the acquisition process, and finally average them in time and space based on the number of images. In order to integrate the six-dimensional voice emotion, facial expression and text emotion, the six emotions are converted into "positive" and "negative" calculation values ​​with a certain weighting coefficient, such as "positive calculation value" equals "1.2*happy+0.4*neutral+1*surprise", and "negative calculation value" equals "0.8*anger+0.6*fear+1.2*sadness". Finally, the "positive" calculation value is subtracted from the "negative" calculation value as the single-modal emotion output of voice emotion / facial expression. In terms of emotion fusion, the text, voice, and face are linearly weighted with different weights to obtain the final emotion calculation output value and pass it to the unity end.

[0124] The Unity side generates corresponding actions and feedback based on the received behavior markup language, and displays it to the user through video and audio output. After processing on the server side, an emotional value will be returned. This value is a 1:1 weighted average of text emotion and expression emotion, ranging from -1 to 1. Based on this integrated value, different expression animations will be used to reflect the emotional state of the character. Representing the user's current emotional state, after obtaining the analysis results of facial expressions from the server, the Avatar_Animation class maps these data to a series of predefined facial expressions (such as "Sympathy", "Sad", "Serious", etc.) and lip movements. There are 9 types of expression types, including 4 positive expressions, 4 negative expressions, and 1 neutral (normal) expression. Each expression corresponds to a specific value range:

[0125] Most negative expression: integrated_val∈[-1,-0.875]

[0126] The second most negative expression: integrated_val∈(-0.875,-0.625]

[0127] Mildly negative expression: integrated_val∈(-0.625,-0.375]

[0128] Slightly negative expression: integrated_val∈(-0.375,-0.125]

[0129] Neutral expression: integrated_val∈(-0.125, 0.125]

[0130] Slightly positive expressions: integrated_val∈[0.125, 0.375]

[0131] Mild positive expression: integrated_val∈[0.375, 0.625]

[0132] Second positive expression: integrated_val∈[0.625, 0.875]

[0133] Most positive expression: integrated_val∈[0.875, 1]

[0134] These facial animations will be played dynamically according to the integrated value to show the emotional state of the character. In addition, the character's mouth animation will continue to play to simulate the action of speaking, which is mainly reflected in the opening and closing of the mouth. In addition, these emotional data can be mapped to a series of body postures and gestures through the Animation_Controller class. The body language animation will randomly select five of them to play, increasing the naturalness and diversity of expression. To enhance the expressiveness of the character. At the same time, the server will generate the required audio and return streaming audio to Unity, which is processed and played by the PlaySound class in Unity.

[0135] Testing and Feedback:

[0136] User testing was conducted in a lab environment with each user session lasting approximately 30 minutes.

[0137] The test consisted of a pre-test involving three scenario-based inquiries, after which participants interacted with the intelligent dialogue and autonomous practice modules.

[0138] The session ends with an individual interview, where the content of the test is drawn from the system's comprehensive database.

[0139] In addition, other personnel can directly use the interface provided by this research project to provide targeted feedback responses with emotional values.

[0140] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0141] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0142] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A multimodal emotional interaction system, characterized in that: It includes a client and a server, wherein the client includes a front end and a back end; The front end comprises: A collection module, used to collect user information, wherein the user information includes audio data and image data; An output module, used to display the proxy image obtained by analyzing the user information, wherein the proxy image includes a virtual scene and character dynamics; The backend includes: A receiving module, used for receiving behavioral language data sent by a server, wherein the behavioral language data is obtained by analyzing the user information; A generating module, used for generating corresponding virtual human control information according to the behavioral voice data; A scene control module, used to manage scene information of the application according to the behavioral voice data; An interactive module, used for generating the agent image for interactive answering according to the virtual human control information and the scene information; The server side includes: An emotion recognition module, used to analyze the user information collected by the front end to obtain recognition information; A retrieval module, used to retrieve retrieval information according to the identification information; A pre-training module, configured to generate training information based on a large language model according to the recognition information and the retrieval information, wherein the training information includes questions and dialogues; The emotion fusion module is used to generate the behavioral language data according to the recognition information and the training information.

2. The multimodal emotional interaction system according to claim 1, characterized in that: The server and the client communicate via a WebSocket tunnel.

3. The multimodal emotional interaction system according to claim 1, characterized in that: The backend also includes a storage module for storing user interaction and application data, as well as log records.

4. The multimodal emotional interaction system according to claim 1, characterized in that: The acquisition module is also used for: Capture video and audio through the Micro_Camera class and use the front-facing camera to capture the user's facial image; Using Texture2D to process the facial image, including resizing, rotating and converting to JPEG format, to obtain the image data; Using WebSocket to send the image data to the server in the form of a Base64 string; Use the Microphone class to capture audio from the device's microphone and record it as audio data; The audio data is sent to the server in the form of a Base64 string.

5. The multimodal emotional interaction system according to claim 4, characterized in that: The acquisition module is also used for: Slicing the audio data into fixed-size slices to obtain audio slices; Transmitting the audio slice in a streaming manner so that the server restores the audio slice to the audio data; The coroutine is used to control the image data collection action. After confirming the reception of the emotion result of the previous image data calculated by the system backend, the next image data is transmitted to the backend for calculation to control the sending and receiving of the communication protocol.

6. The multimodal emotional interaction system according to claim 4, characterized in that: The emotion recognition module is also used to perform facial feature recognition, voice conversion, text emotion recognition, and audio emotion recognition on the image data and the audio data to obtain the recognition information, which includes BML tags that encode facial expressions, lip movements, and body postures into behavior markup language, and the BML tags are used to control the performance of the virtual character.

7. The multimodal emotional interaction system according to claim 6, characterized in that: The recognition information also includes an emotion calculation output value, and the emotion recognition module is further used to: Perform speech recognition on the audio data using an emotion model to obtain an emotion label and a first emotion probability, wherein the emotion label includes one of negative, neutral or positive, and the first emotion probability includes the probabilities of multiple emotion classifications such as anger, fear, happiness, neutral, sadness, and surprise; Use the lightweight open source model HSEmotion for facial expression recognition to recognize the image data and obtain a second emotion probability, where the second emotion probability includes probabilities of multiple emotion classifications such as anger, fear, happiness, neutrality, sadness, and surprise; The emotion calculation output value is obtained according to the emotion label, the first emotion probability and the second emotion probability.

8. The multimodal emotional interaction system according to claim 7, characterized in that: The generation module is also used to map the body language animation of the virtual human control information according to the emotion calculation output value.

9. The multimodal emotional interaction system according to claim 8, characterized in that: The generation module is also used to adjust the facial expressions, lip movements and body postures of the virtual person using the Avatar_Animation and Animation_Controller classes.

10. A multimodal emotional interaction method, characterized in that: The multimodal emotional interaction system according to any one of claims 1 to 9 comprises: Collecting user information, wherein the user information includes audio data and image data; Analyze the user information to obtain identification information; Retrieve the search information according to the identification information; Generate training information based on a large language model according to the recognition information and the retrieval information, wherein the training information includes questions and dialogues; generating the behavioral language data according to the identification information and the training information; Receiving behavioral language data sent by the server, wherein the behavioral language data is obtained by analyzing the user information; Generate corresponding virtual human control information according to the behavioral voice data; Managing application scenario information based on the behavioral voice data; Generate an interactive answering proxy image according to the virtual human control information and the scene information, wherein the proxy image includes a virtual scene and character dynamics; The proxy image is displayed.

Citation Information

Patent Citations

  • Autism intervention system integrated with real character image

    CN108665555A

  • Autistic children early intervention treatment system based on expert real-time participation

    CN109448829A

  • Autism auxiliary intervention system and method based on virtual reality and multi-modal information

    CN110931111A

  • Virtual human expression personalized generation method based on multi-modal interaction information

    CN116311456A

  • Language intervention method, device and equipment for autistic children and storage medium

    CN117116424A

Cited By

  • System and Method for a GPT-Based Emotional Output Modulation via Symbolic Interface State

    US20260310901A1