Attribute identification method and device

Through the feature fusion of multi-modal data, the problem of low accuracy of single-modal data in attribute recognition is solved, the accuracy of attribute recognition is improved, and the user experience is enhanced.

CN115062691BActive Publication Date: 2024-09-06ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210581712.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-09-06
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

The existing technology has low accuracy in attribute recognition, especially in human-computer interaction scenarios. The use of single-modal data may ignore certain information, resulting in poor user experience.

Method used

By obtaining original data from at least two modalities (such as speech and text), feature mining and feature fusion are performed respectively, and the fused features are used for attribute recognition to ensure that no information beneficial to attribute recognition is missed.

Benefits of technology

The accuracy of attribute recognition is improved, the advantages of multi-modal data are fully utilized, and the user experience is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115062691B
    Figure CN115062691B
Patent Text Reader

Abstract

The embodiments of this specification describe attribute identification methods and devices. According to the method of the embodiment, the original data for identifying the attribute from at least two modalities is first obtained, and then the attribute features are mined for the original data of each modality respectively. Further, after the attribute features of each modality are fused, the identification result of the attribute can be obtained according to the fused fusion features. This scheme realizes the identification of attributes by fusing data of different modalities, so that the advantages of identifying attributes by data of each modality can be fully absorbed, and certain information that is beneficial to attribute identification will not be missed, thereby improving the accuracy of attribute identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the field of computer technology, and more particularly, to attribute identification methods and devices. Background Art

[0002] Attribute recognition is a technical method often used in business scenarios. For example, in human-computer interaction business, if the machine cannot accurately recognize the user's emotional state, then the machine cannot take accurate actions to serve the user, resulting in a poor user experience. Therefore, attribute recognition helps improve the user experience.

[0003] However, the accuracy of identifying attributes is currently low. Summary of the invention

[0004] One or more embodiments of the present specification describe an attribute recognition method and device, which can improve the accuracy of attribute recognition.

[0005] According to a first aspect, there is provided an attribute identification method, comprising:

[0006] Acquire original data from at least two modalities for identifying the attribute; wherein the semantic similarity of the original data of the at least two modalities is greater than a predetermined value;

[0007] Performing feature mining on the original data of the at least two modes respectively to obtain attribute features corresponding to each mode; wherein the attribute features are features that can affect the attributes;

[0008] The attribute features corresponding to each modality are fused to obtain fused features;

[0009] The fusion feature is used to obtain the recognition result of the attribute.

[0010] In a possible implementation, when the at least two modalities include a speech modality, the attribute features include a speech feature vector and a speech alignment matrix;

[0011] The obtaining of raw data from at least two modalities for identifying the attribute includes: obtaining a speech signal from a speech modality for identifying the attribute;

[0012] The performing feature mining on the original data of the at least two modes to obtain attribute features corresponding to each mode includes:

[0013] Dividing the speech signal into at least two frames according to a preset first time length to obtain a time domain segmentation signal;

[0014] Performing Fourier transform on the time domain segmentation signal to obtain frequency domain segmentation features;

[0015] Using at least one feature extraction convolution kernel to extract attribute features from the frequency domain segmentation features to obtain extracted features;

[0016] According to the extracted features, a speech feature vector and a speech alignment matrix corresponding to the speech modality are obtained respectively; wherein the dimension size of the representation frame in the speech alignment matrix is ​​equal to the dimension size of the representation frame in the speech feature vector.

[0017] In a possible implementation manner, signals of two adjacent frames in the time-domain segmented signal have a temporal overlap of a preset second time length, and the second time length is shorter than the first time length.

[0018] In a possible implementation, the at least one feature extraction convolution kernel includes a first convolution kernel, a second convolution kernel, and a third convolution kernel; and the first convolution kernel and the second convolution kernel have different sizes, and the second convolution kernel and the third convolution kernel have the same size;

[0019] The step of extracting attribute features from the frequency domain segmentation features using at least one feature extraction convolution kernel to obtain extracted features includes:

[0020] Using the first convolution kernel to perform feature extraction on the frequency domain segmentation feature to obtain a first extracted feature;

[0021] Using the second convolution kernel to perform feature extraction on the first extracted feature to obtain a second extracted feature;

[0022] The third convolution kernel is used to perform feature extraction on the second extracted feature to obtain the extracted feature.

[0023] In a possible implementation, obtaining a speech feature vector corresponding to the speech modality according to the extracted features includes:

[0024] The extracted features are mined for local attribute features using a self-attention mechanism to obtain a speech feature vector corresponding to the speech modality; wherein the local attribute features are features that can characterize the details of the attributes.

[0025] In a possible implementation, obtaining a speech alignment matrix corresponding to the speech modality according to the extracted features includes:

[0026] Scanning the matrix corresponding to the extracted features using a preset fourth convolution kernel; wherein the size of the fourth convolution kernel satisfies: enabling the dimension size used to represent the frame in the speech alignment matrix to be equal to the dimension size used to represent the frame in the speech feature vector; and,

[0027] A matrix formed by the maximum values ​​in each scanning result is determined as the speech alignment matrix of the speech modality.

[0028] In a possible implementation, when the at least two modalities include a text modality, the attribute features include a text feature vector and a text alignment matrix;

[0029] The obtaining of original data from at least two modalities for identifying the attribute includes: obtaining text data from a text modality for identifying the attribute;

[0030] The performing feature mining on the original data of the at least two modes to obtain attribute features corresponding to each mode includes:

[0031] The text data is input into a pre-trained text extraction model for feature extraction to obtain the text feature vector; wherein the training method of the text extraction model comprises: training with at least one set of sample sets; each set of sample sets includes a character information and a coding information;

[0032] The text feature vector is linearly transformed using pre-set linear transformation parameters to obtain the text alignment matrix; wherein the column dimension size of the text alignment matrix is ​​equal to the column dimension size of the speech feature vector obtained through the speech signal.

[0033] In a possible implementation manner, when the at least two modalities include a voice modality and a text modality;

[0034] The step of fusing the attribute features corresponding to each modality to obtain a fusion feature includes:

[0035] Calculating the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain an influence matrix of the speech modality; wherein the attribute features of the text modality are features that can characterize the details of the attributes;

[0036] Calculating the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain an influence matrix of the text modality; wherein the attribute features of the speech modality are features that can characterize the details of the attributes;

[0037] The influence matrix of the speech modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality are concatenated to obtain the fusion feature.

[0038] In a possible implementation, the attribute features of the speech modality include a speech feature vector and a speech alignment matrix, and the attribute features of the text modality include a text feature vector and a text alignment matrix;

[0039] The calculating the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain the influence matrix of the speech modality includes:

[0040] The influence matrix of the speech mode is calculated using the following formula:

[0041] E a =δ(W a ·X s )

[0042] Among them, E a The influence matrix used to characterize the speech modality, W a For characterizing the speech alignment matrix, X s is used to represent the text feature vector, and δ(·) is used to represent the Sigmoid activation function;

[0043] and / or,

[0044] The calculating the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain the influence matrix of the text modality includes:

[0045] The influence matrix of the text modality is calculated using the following formula:

[0046] E s =δ(W s ·X a )

[0047] Among them, E s The influence matrix used to characterize the text modality, W s Used to characterize the text alignment matrix, X a is used to characterize the speech feature vector, and δ(·) is used to characterize the Sigmoid activation function.

[0048] In a possible implementation, the attribute feature of the speech modality includes a speech feature vector, and the attribute feature of the text modality includes a text feature vector;

[0049] The step of concatenating the influence matrix of the speech modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality to obtain the fusion feature includes:

[0050] Calculating the sum of the influence matrix of the speech modality and the speech feature vector to obtain a fusion matrix of the speech modality;

[0051] Calculating the sum of the influence matrix of the text modality and the text feature vector to obtain a fusion matrix of the text modality;

[0052] The fusion feature is calculated using the following formula:

[0053]

[0054] Wherein, A is used to characterize the fusion feature, a fusion matrix for characterizing the speech modality, It is used to represent the fusion matrix of the text modality, and Concat(·) is used to represent matrix concatenation.

[0055] In a possible implementation, obtaining the recognition result of the attribute by using the fusion feature includes:

[0056] Calculating at least one mathematical feature quantity of the fusion feature; wherein the mathematical feature quantity includes: mean and variance;

[0057] The at least one mathematical feature is input into a pre-trained attribute recognition model to obtain the recognition result of the attribute; wherein the training method of the attribute recognition model includes: training with at least one group of sample training sets; each group of sample training sets includes at least one mathematical feature of the attribute and a recognition result of the attribute.

[0058] In a possible implementation, the attribute includes: a user's emotional state.

[0059] According to a second aspect, there is provided an attribute recognition device, comprising: a data acquisition module, a feature mining module, a feature fusion module and an attribute recognition module;

[0060] The data acquisition module is configured to acquire original data from at least two modalities for identifying the attribute; wherein the semantic similarity of the original data of the at least two modalities is greater than a predetermined value;

[0061] The feature mining module is configured to perform feature mining on the original data of the at least two modes acquired by the data acquisition module, respectively, to obtain attribute features corresponding to each mode; wherein the attribute features are features that can affect the attributes;

[0062] The feature fusion module is configured to fuse the attribute features corresponding to each modality obtained by the feature mining module to obtain a fused feature;

[0063] The attribute recognition module is configured to obtain the attribute recognition result by using the fusion feature obtained by the feature fusion module.

[0064] According to a third aspect, a computing device is provided, comprising: a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method described in any one of the first aspects is implemented.

[0065] According to the method and device provided in the embodiments of this specification, when identifying an attribute, the original data for identifying the attribute from at least two modalities can be first obtained, and then the attribute features of the original data of each modality can be mined respectively. Further, after the attribute features of each modality are fused, the identification result of the attribute can be obtained based on the fused fusion features. It can be seen that this scheme realizes the identification of attributes by fusing data of different modalities, so that the advantages of identifying attributes by each modal data can be fully absorbed, and certain information that is beneficial to attribute identification will not be missed, thereby improving the accuracy of attribute identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0067] Figure 1 is a flow chart of an attribute identification method provided by an embodiment of this specification;

[0068] Figure 2 is a flow chart of a method for attribute feature mining provided by an embodiment of this specification;

[0069] Figure 3 is a flow chart of a method for extracting attribute features provided by an embodiment of this specification;

[0070] Figure 4 is a flow chart of another attribute feature extraction method provided by an embodiment of this specification;

[0071] Figure 5 is a flow chart of another method for extracting attribute features provided by an embodiment of this specification;

[0072] Figure 6 is a flow chart of a feature fusion method provided by an embodiment of this specification;

[0073] Figure 7 is a flow chart of another attribute identification method provided by an embodiment of this specification;

[0074] Figure 8 It is a schematic diagram of an attribute recognition device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0075] Artificial intelligence recognition technology is a frequently used technical means in business scenarios. For example, image recognition, text recognition, and voice recognition can be performed. Recognition technology can improve convenience for users and provide users with a better user experience. In particular, the recognition of certain attributes in business scenarios can further enhance the user experience. For example, emotion recognition can be performed through the user's voice or text to further determine what method to use for human-computer interaction; for another example, the user's attitude towards a person, object, or event can be recognized through text or voice.

[0076] Currently, single-modal data is often used for attribute recognition in business scenarios. For example, in security business scenarios, humans and machines need to interact a lot. In order to provide services to customers with accurate speech content, the user's emotional state is usually recognized and perceived through the user's voice, or the user's facial image is used to recognize and perceive the user's emotional state. However, using single-modal data for attribute recognition may ignore certain information. For example, sometimes users will express a certain emotion and attitude by increasing the volume, changing the timbre, etc., which cannot be recognized through text. Therefore, the accuracy of attribute recognition using single-modal data is relatively low.

[0077] Based on this, this solution considers fusing multi-modal data and identifying attributes based on the fused data. In this way, the advantages of attribute identification using each modal data can be fully absorbed, and certain information that is beneficial to attribute identification will not be missed, thereby improving the accuracy of attribute identification.

[0078] like Figure 1 As shown, the embodiment of this specification provides an attribute identification method, which may include the following steps:

[0079] Step 101: obtaining original data from at least two modalities for identifying attributes; wherein the semantic similarity of the original data of at least two modalities is greater than a predetermined value;

[0080] Step 103: performing feature mining on the original data of at least two modes respectively to obtain attribute features corresponding to each mode; wherein the attribute features are features that can affect the attributes;

[0081] Step 105: Fusing the attribute features corresponding to each modality to obtain a fused feature;

[0082] Step 107: Using the fused features, obtain the attribute recognition result.

[0083] In the embodiments of this specification, when identifying an attribute, the original data for identifying the attribute from at least two modalities can be first obtained, and then the attribute features of the original data of each modality can be mined. Furthermore, after the attribute features of each modality are fused, the identification result of the attribute can be obtained based on the fused fusion features. It can be seen that this scheme realizes the identification of attributes by fusing data of different modalities, so that the advantages of identifying attributes by each modal data can be fully absorbed, and certain information that is beneficial to attribute identification will not be missed, thereby improving the accuracy of attribute identification.

[0084] The following is a detailed description of the attached Figure 1 The various steps in are described below.

[0085] First, in step 101 , raw data from at least two modalities for identifying attributes is acquired.

[0086] The raw data from different modalities may be different types of data. For example, it may be a voice signal of a voice modality, text data of a text modality, picture data of an image modality, and video data of a video modality. Of course, it is easy to understand that the semantic similarity of the raw data of at least two modalities obtained should be greater than a predetermined value.

[0087] For example, when performing user emotion recognition, the voice information emitted by the user can be first obtained, and then the voice information can be recognized to identify the text semantics expressed by the user. In this way, the multiple modal raw data used for user emotion recognition can be the voice information emitted by the user and the text semantic data recognized based on the voice information. Of course, the text semantic data in the multi-modal raw data can also be directly input by the user.

[0088] For example, when identifying a user's attitude towards an item, the user's voice information, the user's image information when expressing the attitude, and the text information can be obtained. In this way, by integrating the tone and timbre information in the voice modality, the user's expression information about the item to be identified in the image modality, and the text information about the item to be identified in the text modality, the integration of information with different modal advantages is achieved, and the user's attitude towards the identified item can be more accurately identified.

[0089] Then in step 103, feature mining is performed on the original data of at least two modes respectively to obtain attribute features corresponding to each mode.

[0090] As mentioned in step 101 above, the original data used for attribute recognition can come from multiple modalities such as voice, text, image, and video. Step 103 is explained below using voice modality and text modality.

[0091] The following is an explanation of the situation of the voice mode.

[0092] When at least two modalities in step 101 include a speech modality, the attribute features may include a speech feature vector and a speech alignment matrix; in this case, when step 101 obtains raw data from at least two modalities for identifying attributes, a speech signal from the speech modality for identifying attributes may be obtained. The speech signal may be a directly collected speech signal emitted by the user, or may be a played recording information, etc. For example, in the field of artificial intelligence, when a user issues a command to an artificial intelligence device by speaking, the speech emitted by the user is a speech signal of the speech modality.

[0093] At this time, step 103 performs feature mining on the original data of at least two modes to obtain the attribute features corresponding to each mode, such as Figure 2 As shown, the following steps may be included:

[0094] Perform feature mining on the original data of at least two modes to obtain the attribute features corresponding to each mode, including:

[0095] Step 201: Divide the speech signal into at least two frames according to a preset first time length to obtain a time domain segmentation signal;

[0096] Step 203: Perform Fourier transform on the time domain segmentation signal to obtain frequency domain segmentation features;

[0097] Step 205: extracting attribute features from the frequency domain segmentation features using at least one feature extraction convolution kernel to obtain extracted features;

[0098] Step 207: Based on the extracted features, a speech feature vector and a speech alignment matrix corresponding to the speech modality are obtained respectively; wherein the dimension size of the frame represented in the speech alignment matrix is ​​equal to the dimension size of the frame represented in the speech feature vector.

[0099] In the embodiments of the present specification, when performing feature mining on a speech signal, the speech signal is first divided into at least two frames according to a preset first time length to obtain a time domain segmentation signal, and then the time domain segmentation signal is converted into a frequency domain segmentation feature through Fourier transform. Further, attribute feature extraction is performed on the frequency domain segmentation feature obtained by convolution kernel to obtain extracted features, and a speech feature vector and a speech alignment matrix corresponding to the speech modality are obtained based on the extracted features. It can be seen that when performing attribute feature mining, the present solution splits the speech signal into multiple segments by frame for processing, so that the data processing efficiency will not be greatly reduced due to the large amount of a single data, and the stability and efficiency of data processing can be improved.

[0100] Step 201 is described below.

[0101] In this step, consider dividing the audio signal of indefinite length into small segments of fixed length, for example, into small segments with a frame of 25 ms.

[0102] In addition, in order to avoid information leakage caused by window boundaries, that is, information leakage caused by incomplete closure of two adjacent frames after segmentation, it is considered that when segmenting the speech signal, the signals of two adjacent frames in the time domain segmentation signal after segmentation have a time overlap of a preset second time length, and the second time length is smaller than the first time length of each frame. For example, the first time length of each frame is 25ms, and the second time length of the time overlap is 5ms.

[0103] Step 203 is described below.

[0104] Step 103 needs to realize the mining of attribute features, and for speech signals, the information in the frequency domain dimension can better reflect the characteristics of the attributes, such as different pronunciations, tones, volumes, etc. may correspond to different frequencies. Therefore, after the speech signal is segmented by frame, consider converting the segmented time domain segmentation signal into the frequency domain segmentation feature in the frequency domain dimension through Fourier transform. This is more conducive to the next step of extracting and mining attribute features.

[0105] Fbank is a front-end processing method that can process audio in a manner similar to that of the human ear to improve the performance of speech recognition. Therefore, the signal segmentation in step 201 and the Fourier transform in step 203 can process the speech signal through the Fbank processing method.

[0106] Step 205 is described below.

[0107] In step 205, when at least one feature extraction convolution kernel is used to extract attribute features from the frequency domain segmentation features, in a possible implementation, the at least one feature extraction convolution kernel may include a first convolution kernel, a second convolution kernel, and a third convolution kernel; and the first convolution kernel and the second convolution kernel have the same size, while the second convolution kernel and the third convolution kernel have different sizes. Figure 3 As shown, step 205 can be implemented by the following steps:

[0108] Step 301: extracting the frequency domain segmentation feature using a first convolution kernel to obtain a first extracted feature;

[0109] Step 303: extracting the first extracted features using the second convolution kernel to obtain second extracted features;

[0110] Step 305: Use the third convolution kernel to perform feature extraction on the second extracted feature to obtain the extracted feature.

[0111] In this embodiment, when using the convolution kernel to extract attribute features, the first convolution kernel can be used to extract the frequency domain segmentation features to obtain the first extracted features, and then the second convolution kernel can be used to extract the first extracted features to obtain the second extracted features, and finally the third convolution kernel can be used to extract the second extracted features to obtain the extracted features. In this way, more information that is beneficial to attribute recognition can be extracted by extracting features layer by layer, reducing information loss.

[0112] For example, for each frame, it is 1×80 data. When extracting attribute features, the 1×80 data will be extracted into 256×80 data. Of course, when extracting attribute features, the 1×80 data can be directly extracted into 256×80 extracted features through a convolution kernel. It is also possible to first extract the 1×80 data into a first extracted feature of 64×80 through a first convolution kernel, and then extract the first extracted feature of 64×80 through a second convolution kernel into a second extracted feature of 128×80, and finally extract the second extracted feature of 128×80 through a third convolution kernel into a 256×80 extracted feature. Among them, the size of the first convolution kernel can be 5×1, and the size of the second convolution kernel and the third convolution kernel can both be 2×1.

[0113] Step 207 is described below.

[0114] In this step, after the extracted features are obtained through attribute feature extraction, the speech feature vector and speech alignment matrix of the speech modality can be further obtained based on the extracted features. For example, in a possible implementation, the self-attention mechanism can be used to perform local attribute feature mining on the extracted features to obtain the speech feature vector corresponding to the speech modality. The local attribute feature is a feature that can characterize the details of the attribute, so that the detailed features in the extracted features that are beneficial to attribute recognition can be further mined, thereby improving the recognition accuracy when performing attribute recognition based on the speech feature vector.

[0115] Conformer is a hybrid network structure that uses convolution operations and self-attention mechanisms to enhance representation learning. It interactively fuses local feature global representations at different resolutions, and can retain local features and global representations to the maximum extent. Therefore, in this embodiment, the extracted features can be input into the Conformer network to learn the context information of the speech signal and obtain the speech feature vector of the speech modality. For example, the voice information such as volume, pitch, and timbre in the speech signal can be learned through the Conformer network, which cannot be obtained from data of other modalities, and using these voice information is more conducive to identifying some attributes. For example, it is more conducive to identifying the user's emotional state through the user's voice information such as pitch, timbre, and volume.

[0116] Of course, in another possible implementation, the speech alignment matrix of the speech modality can also be obtained by extracting features. Figure 4 As shown, step 207 can also obtain the speech alignment matrix through the following steps:

[0117] Step 401: Scanning the matrix corresponding to the extracted features using a preset fourth convolution kernel; wherein the size of the fourth convolution kernel satisfies: enabling the dimension size used to represent the frame in the speech alignment matrix to be equal to the dimension size used to represent the frame in the speech feature vector; and,

[0118] Step 403: Determine a matrix formed by the maximum values ​​in each scanning result as a speech alignment matrix of the speech modality.

[0119] In this embodiment, when determining the speech alignment matrix, the preset fourth convolution kernel can be used to first scan the matrix corresponding to the extracted features, and then the matrix formed by the maximum values ​​in each scanning result is determined as the speech alignment matrix of the speech modality. Since the fourth convolution kernel can make the dimension size used to represent the frame in the speech alignment matrix equal to the dimension size used to represent the frame in the speech feature vector, this can better ensure the subsequent feature fusion.

[0120] When scanning, the maximum value of each scanning result is taken in step 403, and the maximum value is the most representative feature information of this scanning. In this way, the alignment matrix of the speech mode formed by the maximum value of each scanning result can represent the most prominent feature information in the speech signal.

[0121] Moreover, by setting the appropriate size of the fourth convolution kernel, the speech alignment matrix of the corresponding dimension can be obtained, thereby realizing its fusion with other attribute features. In a possible implementation, the above steps 401-403 can be implemented through the MaxPoling operation when determining the speech alignment matrix. For each scan or extracted feature value, only the value with the largest score is taken as the retained value of the extraction. This not only allows the speech alignment matrix to contain strong feature information, but also makes it easier to achieve matrix alignment for further feature fusion.

[0122] The text mode is described below.

[0123] When at least two modes in step 101 include a text mode, the attribute features may include a text feature vector and a text alignment matrix; at this time, when step 101 obtains the original data for identifying the attribute from at least two modes, it may obtain text data for identifying the attribute from the text mode. The text data may be directly input by the user or obtained by recognition. For example, after the user sends a voice signal, the semantic information to be expressed by the user is obtained by recognizing the voice signal, thereby forming text data for identifying the attribute.

[0124] At this time, step 103 performs feature mining on the original data of at least two modes to obtain the attribute features corresponding to each mode, such as Figure 5 As shown, the following steps may be included:

[0125] Step 501: Input text data into a pre-trained text extraction model to extract features and obtain a text feature vector; wherein the training method of the text extraction model includes: using at least one set of sample sets for training; each set of sample sets includes a character information and a coding information;

[0126] Step 503: linearly transform the text feature vector using pre-set linear transformation parameters to obtain a text alignment matrix; wherein the column dimension size of the text alignment matrix is ​​equal to the column dimension size of the speech feature vector obtained through the speech signal.

[0127] In this embodiment, when the speech mode is the text mode, the acquired text data can be first input into a pre-trained text extraction model to extract features to obtain a text feature vector. Then, the text feature vector is linearly changed using the pre-trained linear transformation parameters to obtain a text alignment matrix. For the subsequent feature fusion operation, step 503 uses a linear change method to enable the obtained text alignment matrix to meet the dimensional size requirements, thereby ensuring the feasibility of the subsequent fusion calculation.

[0128] Among them, the text extraction model can be trained through the Bert network framework.

[0129] Further in step 105, the attribute features corresponding to the obtained modes are fused to obtain fused features.

[0130] After performing feature mining on the original data of at least two modalities to obtain the attribute features corresponding to each modality, it is considered to fuse the obtained attribute features. For example, when the at least two modalities include a voice modality and a text modality, when performing attribute feature fusion in step 105, Figure 6 As shown, this can be achieved through the following steps:

[0131] Step 601: Calculate the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain the influence matrix of the speech modality; wherein the attribute features of the text modality are features that can characterize the details of the attributes;

[0132] Step 603: Calculate the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain an influence matrix of the text modality; wherein the attribute features of the speech modality are features that can characterize the details of the attributes;

[0133] Step 605: concatenate the influence matrix of the speech modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality to obtain fusion features.

[0134] In this embodiment, when performing attribute feature fusion, the influence of the attribute features of the text modality on the attribute features of the speech modality can be calculated first, and then the influence of the attribute features of the speech modality on the attribute features of the text modality can be calculated. Finally, the obtained influence matrix of the attribute modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality are spliced ​​to obtain fusion features. In this scheme, not only the influence of the attribute features of the text modality on the attribute features of the speech modality is taken into account, but also the influence of the attribute features of the text modality on the attribute features of the speech modality is taken into account, so that the correlation between the text modality and the speech modality in the attribute features can be fully considered. Based on the fusion feature with correlation characteristics, the attributes can be identified more accurately.

[0135] For example, when calculating the influence matrix of the speech modality, the attribute features of the text modality can be features that can characterize the details of the attribute, while the attribute features of the speech modality can be features that characterize the strong characteristic information about the attribute in the text data; and when calculating the influence matrix of the text modality, the attribute features of the speech modality can be features that can characterize the details of the attribute, while the attribute features of the text modality can be features that characterize the strong characteristic information about the attribute in the speech signal. In this way, the influence matrix obtained based on the similarity relationship between attribute features of different modalities and different representation levels can obtain more data that is beneficial to attribute identification after fusion.

[0136] Step 601 is described below.

[0137] When performing attribute feature fusion, first consider calculating the influence of the attribute features of the text modality on the attribute features of the speech modality. At this time, the attribute features of the speech modality may include a speech alignment matrix, and the attribute features of the text modality may include a text feature vector. In this way, when step 601 calculates the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain the influence matrix of the speech modality, it can be obtained by the following calculation formula:

[0138] E a =δ(W a ·X s )

[0139] Among them, E a The influence matrix used to characterize the speech modality, W a Used to represent the voice alignment matrix, X s It is used to represent the text feature vector, and δ(·) is used to represent the Sigmoid activation function.

[0140] Step 603 is described below.

[0141] When performing attribute feature fusion, after calculating the influence of the attribute features of the text modality on the attribute features of the speech modality, the influence of the attribute features of the speech modality on the attribute features of the text modality can be further calculated. At this time, the attribute features of the speech modality can include a speech feature vector, and the attribute features of the text modality can include a text alignment matrix. In this way, when step 603 calculates the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain the influence matrix of the text modality, it can be obtained by the following calculation formula:

[0142] E s =δ(W s ·X a )

[0143] Among them, E s The influence matrix used to characterize the text modality, Ws Used to represent the text alignment matrix, X a It is used to represent the speech feature vector, and δ(·) is used to represent the Sigmoid activation function.

[0144] Through step 601 and step 603, the cross-fusion of the attribute features of the speech modality and the attribute features of the text modality is achieved, and the fusion of features of different modalities and different levels is fully realized, so that the obtained fusion features can be more suitable for attribute recognition, that is, the accuracy of the obtained attribute recognition results is higher.

[0145] Step 605 is described below.

[0146] In a possible implementation, the attribute features of the speech modality may include a speech feature vector, and the attribute features of the text modality may include a text feature vector. At this time, in step 605, when the influence matrix of the speech modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality are spliced ​​to obtain the fusion features, the sum of the influence matrix of the speech modality and the speech feature vector can be calculated first to obtain the fusion matrix of the speech modality, and then the sum of the influence matrix of the text modality and the text feature vector can be calculated to obtain the fusion matrix of the text modality. Finally, the fusion features are calculated using the following calculation formula:

[0147]

[0148] Among them, A is used to characterize the fusion feature, The fusion matrix used to characterize the speech modality, It is used to represent the fusion matrix of text modality, and Concat(·) is used to represent matrix concatenation.

[0149] In this embodiment, when performing attribute feature fusion, in order to further avoid reducing the recognition accuracy due to information loss, it is considered that before fusing the influence matrix of the speech modality and the influence matrix of the text modality, the speech feature vector of the speech modality is first fused into the influence matrix of the speech modality, and the text feature vector of the text modality is fused into the influence matrix of the text modality. Since the speech feature vector and the text feature vector contain more original features than the influence matrix, the possibility of information loss can be further reduced, thereby achieving the purpose of improving the accuracy of attribute recognition.

[0150] It should be noted that the above calculation formula is for the fusion calculation formula of one frame. For the case of multiple frames, other frames can be spliced ​​in sequence. For example, the above calculation formula can be The superscripts 1, 2, 3, etc. of the fusion matrix represent the sequence numbers of the frames.

[0151] Finally, in step 107, the fusion features are used to obtain the attribute recognition result.

[0152] For example, the attributes may include the user's emotional state, and the user's attribute recognition results may be states such as happy, angry, furious, and impatient.

[0153] For another example, the attributes may also include the user's attitude towards a certain viewpoint, and the user's attribute recognition result may be attitudes such as support, opposition, and indifference.

[0154] In a possible implementation, when obtaining the attribute recognition result by using the fusion feature in step 107, Figure 7 As shown, this can be achieved through the following steps:

[0155] Step 701: Calculate at least one mathematical feature quantity of the fusion feature; wherein the mathematical feature quantity includes: mean and variance;

[0156] Step 703: Input at least one mathematical feature into a pre-trained attribute recognition model to obtain a recognition result of the attribute; wherein the attribute recognition model training method includes: training with at least one set of sample training sets; each set of sample training sets includes at least one mathematical feature of the attribute and a recognition result of the attribute.

[0157] In this embodiment, when using the fused features to obtain the attribute recognition result, at least one mathematical feature quantity of the fused features can be calculated first. For example, the mean and variance of the fused features can be calculated. Then, the obtained at least one mathematical feature is input into the pre-trained attribute recognition model to obtain the attribute recognition result. In this way, by converting the feature data at the frame level into feature data at the mathematical feature level, it is more conducive to the classification model to perform classification, that is, using the mathematical feature quantity is more conducive to the attribute recognition model to recognize the attribute.

[0158] When the mathematical features are input into the attribute recognition model, the model can output the probability of various attribute results, so that the final result can be further determined based on the probability value. For example, when identifying the user's emotional state, when the mathematical features of the fusion features are input into the attribute recognition model, the recognition results are 90% for happiness, 5% for anger, and 5% for anxiety, then the user's emotional state is happy.

[0159] like Figure 8 As shown, this specification also provides an attribute recognition device, which may include: a data acquisition module 801, a feature mining module 802, a feature fusion module 803 and an attribute recognition module 804;

[0160] The data acquisition module 801 is configured to acquire original data from at least two modalities for identifying attributes; wherein the semantic similarity of the original data of at least two modalities is greater than a predetermined value;

[0161] The feature mining module 802 is configured to perform feature mining on the original data of at least two modes acquired by the data acquisition module 801, respectively, to obtain attribute features corresponding to each mode; wherein the attribute features are features that can affect the attributes;

[0162] The feature fusion module 803 is configured to fuse the attribute features corresponding to each modality obtained by the feature mining module 802 to obtain a fused feature;

[0163] The attribute recognition module 804 is configured to obtain an attribute recognition result by using the fused features obtained by the feature fusion module 803 .

[0164] In a possible implementation, when the at least two modalities include a speech modality, the attribute features include a speech feature vector and a speech alignment matrix;

[0165] The data acquisition module 801 is configured to acquire a speech signal from a speech modality for identifying the attribute when acquiring the original data from at least two modalities for identifying the attribute;

[0166] When performing feature mining on the original data of at least two modalities to obtain the attribute features corresponding to each modality, the feature mining module 802 is configured to perform the following operations:

[0167] Divide the speech signal into at least two frames according to a preset first time length to obtain a time domain segmentation signal;

[0168] Perform Fourier transform on the time domain segmentation signal to obtain the frequency domain segmentation feature;

[0169] Using at least one feature extraction convolution kernel to extract attribute features from the frequency domain segmentation features to obtain extracted features;

[0170] According to the extracted features, a speech feature vector and a speech alignment matrix corresponding to the speech modality are obtained respectively; wherein the dimension size of the frame represented in the speech alignment matrix is ​​equal to the dimension size of the frame represented in the speech feature vector.

[0171] In a possible implementation, signals of two adjacent frames in the time domain segmentation signal obtained by the feature mining mode have a time overlap of a preset second time length, and the second time length is smaller than the first time length.

[0172] In a possible implementation, at least one feature extraction convolution kernel includes a first convolution kernel, a second convolution kernel, and a third convolution kernel; and the first convolution kernel and the second convolution kernel have different sizes, and the second convolution kernel and the third convolution kernel have the same size;

[0173] When the feature mining module 802 uses at least one feature extraction convolution kernel to extract attribute features from the frequency domain segmentation features to obtain extracted features, it is configured to perform the following operations:

[0174] Using the first convolution kernel to extract the frequency domain segmentation feature, to obtain the first extracted feature;

[0175] Using a second convolution kernel to perform feature extraction on the first extracted feature to obtain a second extracted feature;

[0176] The third convolution kernel is used to perform feature extraction on the second extracted feature to obtain the extracted feature.

[0177] In a possible implementation, when the feature mining module 802 obtains the speech feature vector corresponding to the speech modality according to the extracted features, it is configured to perform the following operations:

[0178] The self-attention mechanism is used to mine local attribute features of the extracted features to obtain a speech feature vector corresponding to the speech modality; wherein the local attribute features are features that can characterize the details of the attributes.

[0179] In a possible implementation, when obtaining the speech alignment matrix corresponding to the speech modality according to the extracted features, the feature mining module 802 is configured to perform the following operations:

[0180] Scanning the matrix corresponding to the extracted features using a preset fourth convolution kernel; wherein the size of the fourth convolution kernel satisfies: being able to make the dimension size used to represent the frame in the speech alignment matrix equal to the dimension size used to represent the frame in the speech feature vector; and,

[0181] The matrix formed by the maximum values ​​in each scanning result is determined as the speech alignment matrix of the speech modality.

[0182] In a possible implementation, when the at least two modalities include a text modality, the attribute features include a text feature vector and a text alignment matrix;

[0183] The data acquisition module 801 is configured to acquire text data for identifying the attribute from the text modality when acquiring the original data for identifying the attribute from at least two modalities;

[0184] When performing feature mining on the original data of at least two modalities to obtain the attribute features corresponding to each modality, the feature mining module 802 is configured to perform the following operations:

[0185] Input text data into a pre-trained text extraction model to extract features and obtain a text feature vector; wherein the training method of the text extraction model includes: using at least one set of sample sets for training; each set of sample sets includes a character information and a coding information;

[0186] The text feature vector is linearly transformed using pre-set linear transformation parameters to obtain a text alignment matrix; wherein the column dimension size of the text alignment matrix is ​​equal to the column dimension size of the speech feature vector obtained through the speech signal.

[0187] In a possible implementation, when the at least two modalities include a voice modality and a text modality;

[0188] When the feature fusion module 803 fuses the attribute features corresponding to each modality to obtain the fused feature, it is configured to perform the following operations:

[0189] Calculate the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain the influence matrix of the speech modality; wherein the attribute features of the text modality are features that can characterize the details of the attributes;

[0190] Calculate the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain the influence matrix of the text modality; wherein the attribute features of the speech modality are features that can characterize the details of the attributes;

[0191] The influence matrix of the speech modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality are concatenated to obtain fusion features.

[0192] In a possible implementation, the attribute features of the speech modality include a speech feature vector and a speech alignment matrix, and the attribute features of the text modality include a text feature vector and a text alignment matrix;

[0193] When calculating the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain the influence matrix of the speech modality, the feature fusion module 803 is configured to perform the following operations:

[0194] The influence matrix of the speech mode is calculated using the following formula:

[0195] E a =δ(W a ·X s )

[0196] Among them, E a The influence matrix used to characterize the speech modality, W a Used to represent the voice alignment matrix, X sIt is used to represent the text feature vector, and δ(·) is used to represent the Sigmoid activation function;

[0197] In a possible implementation, when calculating the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain the influence matrix of the text modality, the feature fusion module 803 is configured to perform the following operations:

[0198] Use the following formula to calculate the influence matrix of text mode:

[0199] E s =δ(W s ·X a )

[0200] Among them, E s The influence matrix used to characterize the text modality, W s Used to represent the text alignment matrix, X a It is used to represent the speech feature vector, and δ(·) is used to represent the Sigmoid activation function.

[0201] In a possible implementation, the attribute features of the speech modality include a speech feature vector, and the attribute features of the text modality include a text feature vector;

[0202] When the feature fusion module 803 concatenates the influence matrix of the speech modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality to obtain the fused feature, it is configured to perform the following operations:

[0203] Calculate the sum of the influence matrix of the speech mode and the speech feature vector to obtain the fusion matrix of the speech mode;

[0204] Calculate the sum of the influence matrix of the text modality and the text feature vector to obtain the fusion matrix of the text modality;

[0205] Use the following formula to calculate the fusion features:

[0206]

[0207] Among them, A is used to characterize the fusion feature, The fusion matrix used to characterize the speech modality, It is used to represent the fusion matrix of text modality, and Concat(·) is used to represent matrix concatenation.

[0208] In a possible implementation, when the attribute recognition module 804 obtains the attribute recognition result by using the fusion feature, it is configured to perform the following operations:

[0209] Calculate at least one mathematical feature quantity of the fusion feature; wherein the mathematical feature quantity includes: mean and variance;

[0210] At least one mathematical feature is input into a pre-trained attribute recognition model to obtain the recognition result of the attribute; wherein the training method of the attribute recognition model includes: training with at least one group of sample training sets; each group of sample training sets includes at least one mathematical feature of the attribute and a recognition result of the attribute.

[0211] In a possible implementation, the attributes identified by the attribute identification module 804 include the user's emotional state.

[0212] The present specification also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute a method in any one of the embodiments in the specification.

[0213] The present specification also provides a computing device, including a memory and a processor, wherein executable codes are stored in the memory, and when the processor executes the executable codes, a method in any embodiment of the present specification is implemented.

[0214] It is to be understood that the structures illustrated in the embodiments of this specification do not constitute a specific limitation on the attribute identification device. In other embodiments of the specification, the attribute identification device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0215] The information interaction, execution process, etc. between the units in the above-mentioned device are based on the same concept as the method embodiments of this specification. For specific contents, please refer to the description in the method embodiments of this specification and will not be repeated here.

[0216] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this specification can be implemented by hardware, software, widgets, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0217] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects described in this specification. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. Attribute identification methods, including: Acquire original data from at least two modalities for identifying the attribute; wherein the semantic similarity of the original data of the at least two modalities is greater than a predetermined value; Performing feature mining on the original data of the at least two modes respectively to obtain attribute features corresponding to each mode; wherein the attribute features are features that can affect the attributes; The attribute features corresponding to each modality are fused to obtain fused features; Using the fusion feature, obtaining the recognition result of the attribute; Wherein, when the at least two modes include a voice mode and a text mode; The step of fusing the attribute features corresponding to each modality to obtain a fusion feature includes: Calculating the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain an influence matrix of the speech modality; wherein the attribute features of the text modality are features that can characterize the details of the attributes; Calculating the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain an influence matrix of the text modality; wherein the attribute features of the speech modality are features that can characterize the details of the attributes; The influence matrix of the speech modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality are concatenated to obtain the fusion feature; The attribute features of the speech modality include a speech feature vector and a speech alignment matrix, and the attribute features of the text modality include a text feature vector and a text alignment matrix; The step of calculating the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain the influence matrix of the speech modality includes: calculating the influence matrix of the speech modality using the following calculation formula: E a =δ(W a ·X s ) Among them, E a The influence matrix used to characterize the speech modality, W a For representing the speech alignment matrix, X s is used to represent the text feature vector, and δ(·) is used to represent the Sigmoid activation function; And / or, calculating the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain the influence matrix of the text modality includes: calculating the influence matrix of the text modality using the following calculation formula: E s =δ(W s ·X a ) Among them, E s The influence matrix used to characterize the text modality, W s Used to characterize the text alignment matrix, X a is used to characterize the speech feature vector, and δ(·) is used to characterize the Sigmoid activation function.

2. The method according to claim 1, wherein: When the at least two modalities include a speech modality, the attribute features include a speech feature vector and a speech alignment matrix; The obtaining of raw data from at least two modalities for identifying the attribute includes: obtaining a speech signal from a speech modality for identifying the attribute; The performing feature mining on the original data of the at least two modes to obtain attribute features corresponding to each mode includes: Dividing the speech signal into at least two frames according to a preset first time length to obtain a time domain segmentation signal; Performing Fourier transform on the time domain segmentation signal to obtain frequency domain segmentation features; Using at least one feature extraction convolution kernel to extract attribute features from the frequency domain segmentation features to obtain extracted features; According to the extracted features, a speech feature vector and a speech alignment matrix corresponding to the speech modality are obtained respectively; wherein the dimension size of the representation frame in the speech alignment matrix is ​​equal to the dimension size of the representation frame in the speech feature vector.

3. The method according to claim 2, wherein: Signals of two adjacent frames in the time domain segmentation signal have a time overlap of a preset second time length, and the second time length is shorter than the first time length.

4. The method according to claim 2, wherein: The at least one feature extraction convolution kernel includes a first convolution kernel, a second convolution kernel and a third convolution kernel; and the first convolution kernel is different from the second convolution kernel in size, and the second convolution kernel is the same as the third convolution kernel in size; The step of extracting attribute features from the frequency domain segmentation features using at least one feature extraction convolution kernel to obtain extracted features includes: Using the first convolution kernel to perform feature extraction on the frequency domain segmentation feature to obtain a first extracted feature; Using the second convolution kernel to perform feature extraction on the first extracted feature to obtain a second extracted feature; The third convolution kernel is used to perform feature extraction on the second extracted feature to obtain the extracted feature.

5. The method according to claim 2, wherein: The step of obtaining a speech feature vector corresponding to the speech modality according to the extracted features includes: The extracted features are mined for local attribute features using a self-attention mechanism to obtain a speech feature vector corresponding to the speech modality; wherein the local attribute features are features that can characterize the details of the attributes.

6. The method according to claim 2, wherein: The step of obtaining a speech alignment matrix corresponding to the speech modality according to the extracted features includes: Scanning the matrix corresponding to the extracted features using a preset fourth convolution kernel; wherein the size of the fourth convolution kernel satisfies: being able to make the dimension size used to represent the frame in the speech alignment matrix equal to the dimension size used to represent the frame in the speech feature vector; and, A matrix formed by the maximum values ​​in each scanning result is determined as the speech alignment matrix of the speech modality.

7. The method according to claim 1, wherein: When the at least two modalities include a text modality, the attribute features include a text feature vector and a text alignment matrix; The obtaining of original data from at least two modalities for identifying the attribute includes: obtaining text data from a text modality for identifying the attribute; The performing feature mining on the original data of the at least two modes to obtain attribute features corresponding to each mode includes: The text data is input into a pre-trained text extraction model for feature extraction to obtain the text feature vector; wherein the training method of the text extraction model comprises: training with at least one set of sample sets; each set of sample sets includes a character information and a coding information; The text feature vector is linearly transformed using pre-set linear transformation parameters to obtain the text alignment matrix; wherein the column dimension size of the text alignment matrix is ​​equal to the column dimension size of the speech feature vector obtained through the speech signal.

8. The method according to claim 1, wherein: The attribute features of the speech modality include a speech feature vector, and the attribute features of the text modality include a text feature vector; The step of concatenating the influence matrix of the speech modality, the influence matrix of the text modality, and the matrices corresponding to the attribute features of each modality to obtain the fusion feature includes: Calculating the sum of the influence matrix of the speech modality and the speech feature vector to obtain a fusion matrix of the speech modality; Calculating the sum of the influence matrix of the text modality and the text feature vector to obtain a fusion matrix of the text modality; The fusion feature is calculated using the following formula: Wherein, A is used to characterize the fusion feature, a fusion matrix for characterizing the speech modality, It is used to represent the fusion matrix of the text modality, and Concat(·) is used to represent matrix concatenation.

9. The method according to any one of claims 1 to 8, wherein: The obtaining the recognition result of the attribute by using the fusion feature includes: Calculating at least one mathematical feature quantity of the fusion feature; wherein the mathematical feature quantity includes: mean and variance; The at least one mathematical feature is input into a pre-trained attribute recognition model to obtain the recognition result of the attribute; wherein the training method of the attribute recognition model includes: training with at least one group of sample training sets; each group of sample training sets includes at least one mathematical feature of the attribute and a recognition result of the attribute.

10. The method according to any one of claims 1 to 8, wherein: The attributes include: user emotional state.

11. An attribute recognition device, comprising: Data acquisition module, feature mining module, feature fusion module and attribute recognition module; The data acquisition module is configured to acquire original data from at least two modalities for identifying the attribute; wherein the semantic similarity of the original data of the at least two modalities is greater than a predetermined value; The feature mining module is configured to perform feature mining on the original data of the at least two modes acquired by the data acquisition module, respectively, to obtain attribute features corresponding to each mode; wherein the attribute features are features that can affect the attributes; The feature fusion module is configured to fuse the attribute features corresponding to each modality obtained by the feature mining module to obtain a fused feature; The attribute recognition module is configured to obtain the attribute recognition result by using the fusion feature obtained by the feature fusion module; When at least two modalities include a voice modality and a text modality; When the feature fusion module fuses the attribute features corresponding to each modality to obtain the fused feature, it is configured to perform the following operations: Calculate the influence of the attribute features of the text modality on the attribute features of the speech modality to obtain the influence matrix of the speech modality; wherein the attribute features of the text modality are features that can characterize the details of the attributes; Calculate the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain the influence matrix of the text modality; wherein the attribute features of the speech modality are features that can characterize the details of the attributes; The influence matrix of the speech mode, the influence matrix of the text mode, and the matrices corresponding to the attribute features of each mode are concatenated to obtain fusion features; Among them, the attribute features of the speech modality include a speech feature vector and a speech alignment matrix, and the attribute features of the text modality include a text feature vector and a text alignment matrix; When calculating the influence of the attribute features of the text mode on the attribute features of the speech mode to obtain the influence matrix of the speech mode, the feature fusion module is configured to perform the following operations: using the following calculation formula to calculate the influence matrix of the speech mode: E a =δ(W a ·X s ) Among them, E a The influence matrix used to characterize the speech modality, W a Used to represent the voice alignment matrix, X s It is used to represent the text feature vector, and δ(·) is used to represent the Sigmoid activation function; And / or, when the feature fusion module calculates the influence of the attribute features of the speech modality on the attribute features of the text modality to obtain the influence matrix of the text modality, it is configured to perform the following operations: Use the following formula to calculate the influence matrix of text mode: E s =δ(W s ·X a ) Among them, E s The influence matrix used to characterize the text modality, W s Used to represent the text alignment matrix, X a It is used to represent the speech feature vector, and δ(·) is used to represent the Sigmoid activation function.

12. A computing device comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method according to any one of claims 1 to 10 is implemented.