Page interaction information mining method and system for intelligent digital human

Through the optimized text emotion polarity detection algorithm and description vector extraction technology, the problem of insufficient reliability of text emotion polarity detection in existing methods is solved, and accurate emotion polarity prediction and interaction quality evaluation of complex texts are achieved.

CN118312620BActive Publication Date: 2024-10-01北京中关村科金技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410735124.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-10-01
Estimated Expiration
2044-06-07

AI Technical Summary

Technical Problem

Existing text emotion polarity detection methods have insufficient prediction reliability and robustness when faced with complex and changeable text inputs, especially when dealing with texts that contain multiple emotions or have obscure emotional expressions, and are difficult to be accurate. Captures the true emotional polarity of the text and fails to fully utilize the contextual information and relevant emotional features in the text.

Method used

An optimized text emotion polarity detection algorithm is used to estimate multiple emotion polarity labels for interactive text on digital human pages. Through description vector extraction and feature interaction, the interaction index is determined for interaction quality evaluation, and the algorithm parameters are corrected based on the estimated information. , improve the reliability and robustness of emotion polarity detection.

Benefits of technology

Improved the prediction reliability and robustness of text emotion polarity detection, especially when processing complex text input, it can more accurately capture emotional polarity, improve the accuracy of emotion polarity prediction and user interaction quality evaluation .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118312620B_ABST
    Figure CN118312620B_ABST
Patent Text Reader

Abstract

The present invention provides a page interaction information mining method and system for intelligent digital people. In the optimization link of the text emotion polarity detection algorithm, for each emotion polarity label description vector, when the features interact, the focusing degree of the emotion polarity label description vector is greater than the focusing degree of other emotion polarity label description vectors, that is, other emotion polarity label description vectors have a slight influence on the interaction description vector corresponding to the emotion polarity label description vector, just like when obtaining the interaction description vector, the influence of other emotion polarity label description vectors on the emotion polarity label description vector is reduced, so that the reliability and robustness of the optimized text emotion polarity detection algorithm in estimating each emotion polarity label can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of natural language processing, and more specifically, to a page interaction information mining method and system for intelligent digital humans. Background Art

[0002] With the rapid development of artificial intelligence technology, intelligent digital humans have become an important part of modern interactive experience. In the application of intelligent digital humans, the mining of page interaction information is particularly important, especially text emotion polarity detection, which is crucial for understanding user needs, providing personalized services, and improving AI functions. However, existing text emotion polarity detection methods often have problems with insufficient estimation reliability and robustness when facing complex and changeable text input. This is mainly reflected in the accurate judgment of text emotion polarity, especially when dealing with text containing multiple emotions or with more obscure emotional expressions, traditional detection methods may find it difficult to accurately capture the true emotion polarity of the text. In addition, when processing text, existing methods often fail to make full use of the contextual information and related emotional features in the text, resulting in limited accuracy of emotion polarity estimation. At the same time, these methods often give the same weight to all features during feature interaction, and fail to perform differentiated processing based on the importance of the features, thereby affecting the reliability and robustness of the estimation results. Therefore, how to improve the estimation reliability and robustness of text emotion polarity detection, especially when dealing with complex text input, has become a problem that needs to be solved urgently. Summary of the invention

[0003] In view of this, the embodiment of the present invention at least provides a method and system for mining page interaction information for intelligent digital people. The technical solution of the present invention is implemented as follows:

[0004] According to one aspect of an embodiment of the present invention, a method for mining page interaction information for a smart digital person is provided, the method comprising:

[0005] Using a pre-optimized text emotion polarity detection algorithm to estimate multiple emotion polarity labels for the digital human page interaction text to be detected, and obtaining estimated information corresponding to each emotion polarity label of the digital human page interaction text to be detected;

[0006] Determining an interaction index of the digital human page interaction text to be detected based on the estimated information corresponding to each of the emotion polarity labels of the digital human page interaction text to be detected, and performing an interaction quality evaluation on the digital human page interaction text to be detected according to the interaction index;

[0007] The optimization steps of the text emotion polarity detection algorithm include:

[0008] The text emotion polarity detection algorithm is used to extract description vectors of the text knowledge template and multiple emotion polarity labels, and the knowledge template description vector and multiple emotion polarity label description vectors are obtained accordingly;

[0009] For each of the emotion polarity label description vectors, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector; when performing feature interaction, the focus degree of the emotion polarity label description vector is greater than the focus degree of the other emotion polarity label description vectors;

[0010] Perform feature interaction on the interaction description vector corresponding to each of the emotion polarity label description vectors and the multiple emotion polarity label description vectors to obtain a target interaction description vector;

[0011] The text emotion polarity detection algorithm is adopted to estimate multiple emotion polarity labels of the text knowledge template based on the target interaction description vector to obtain estimation information, and the algorithm parameters of the text emotion polarity detection algorithm are corrected according to the estimation information and the template true indication information of the text knowledge template.

[0012] According to an example of an embodiment of the present invention, for each of the emotion polarity label description vectors, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, including:

[0013] The following steps are performed for each emotion polarity label description vector corresponding to the emotion polarity label:

[0014] Masking vector elements of other emotion polarity label description vectors among the plurality of emotion polarity label description vectors to obtain masked other emotion polarity label description vectors;

[0015] Performing feature interaction between the masked other emotion polarity label description vector and the emotion polarity label description vector to obtain a first description vector, and performing feature interaction between the emotion polarity label description vector and the knowledge template description vector to obtain a second description vector;

[0016] Based on the first description vector and the second description vector, an interaction description vector corresponding to the emotion polarity label is obtained.

[0017] According to an example of an embodiment of the present invention, the acquiring, based on the first description vector and the second description vector, an interaction description vector corresponding to the emotion polarity label includes:

[0018] Merging the first description vector and the second description vector to obtain an interaction description vector corresponding to the emotion polarity label;

[0019] Alternatively, the first description vector is multiplied by a first description vector influence coefficient defined in advance to obtain a first intermediate description vector; the first intermediate description vector and the second description vector are merged to obtain an interaction description vector corresponding to the emotion polarity label, wherein the value range of the first description vector influence coefficient is [0,1).

[0020] According to an example of an embodiment of the present invention, wherein the number of the knowledge template description vectors is at least 2, after extracting description vectors from the text knowledge template and the multiple emotion polarity labels using the text emotion polarity detection algorithm and obtaining the knowledge template description vector and the multiple emotion polarity label description vectors respectively, the method further includes:

[0021] For each of the knowledge template description vectors, perform feature interaction between the knowledge template description vector and the plurality of emotion polarity label description vectors to obtain a knowledge template interaction description vector;

[0022] The estimating the plurality of emotion polarity labels for the text knowledge template based on the target interaction description vector to obtain estimation information includes:

[0023] Based on the knowledge template interaction description vector and the target interaction description vector, a plurality of emotion polarity labels are estimated for the text knowledge template to obtain estimation information.

[0024] According to an example of an embodiment of the present invention, each of the emotion polarity labels includes a corresponding target interaction description vector, and the estimating the text knowledge template based on the knowledge template interaction description vector and the target interaction description vector to obtain the estimated information includes:

[0025] For each of the emotion polarity labels, the following steps are performed respectively:

[0026] Performing feature interaction on the target interaction description vector corresponding to the emotion polarity label, the target interaction description vectors corresponding to other emotion polarity labels among the plurality of emotion polarity labels, and the knowledge template interaction description vector to obtain an intermediate interaction description vector;

[0027] The sentiment polarity label is estimated for the text knowledge template based on the intermediate interaction description vector to obtain estimated information corresponding to the sentiment polarity label.

[0028] According to an example of an embodiment of the present invention, the emotion polarity label description vector includes a first sub-emotion polarity label description vector and a second sub-emotion polarity label description vector; for each of the emotion polarity label description vectors, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, including:

[0029] For each of the emotion polarity label description vectors, obtain a multiplication result of a second sub-emotion polarity label description vector of another emotion polarity label description vector in the multiple emotion polarity label description vectors and a predefined second description vector influence coefficient, and obtain a third description vector according to a first sub-emotion polarity label description vector of the emotion polarity label description vector and the multiplication result, wherein the second description vector influence coefficient is less than 0;

[0030] For each of the emotion polarity label description vectors, perform feature interaction between the first sub-emotion polarity label description vector of the emotion polarity label description vector and the emotion polarity label description vector to obtain a fourth description vector, and perform feature interaction between the first sub-emotion polarity label description vector of the emotion polarity label description vector and the knowledge template description vector to obtain a fifth description vector;

[0031] Based on the third description vector, the fourth description vector and the fifth description vector, an interaction description vector corresponding to the emotion polarity label is obtained.

[0032] According to an example of an embodiment of the present invention, the acquiring, based on the third description vector, the fourth description vector and the fifth description vector, the interaction description vector corresponding to the emotion polarity label includes:

[0033] Merging the third description vector, the fourth description vector and the fifth description vector to obtain an interaction description vector corresponding to the emotion polarity label;

[0034] Alternatively, the third description vector is multiplied by a third description vector influence coefficient defined in advance to obtain a second intermediate description vector; the second intermediate description vector, the fourth description vector and the fifth description vector are merged to obtain an interaction description vector corresponding to the emotion polarity label, wherein the value range of the third description vector influence coefficient is [0,1).

[0035] According to an example of an embodiment of the present invention, the step of performing feature interaction on the interaction description vector corresponding to each of the emotion polarity label description vectors and the multiple emotion polarity label description vectors to obtain a target interaction description vector includes:

[0036] For each of the emotion polarity label description vectors, weighted average or merge the interaction description vector corresponding to the emotion polarity label description vector and the emotion polarity label description vector to obtain a target interaction description vector corresponding to the emotion polarity label description vector;

[0037] The estimating the plurality of emotion polarity labels for the text knowledge template based on the target interaction description vector to obtain estimation information includes:

[0038] For each of the emotion polarity labels, the emotion polarity label is estimated for the text knowledge template based on the target interaction description vector corresponding to the emotion polarity label to obtain estimation information corresponding to the emotion polarity label.

[0039] According to an example of an embodiment of the present invention, wherein the number of the emotion polarity label description vectors is not less than 3, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector for each emotion polarity label description vector to obtain an interaction description vector, including:

[0040] For each of the emotion polarity label description vectors, a target number of other emotion polarity label description vectors are screened out from a plurality of other emotion polarity label description vectors in the plurality of emotion polarity label description vectors as first other emotion polarity label description vectors, and the remaining other emotion polarity label description vectors in the plurality of other emotion polarity label description vectors are used as second other emotion polarity label description vectors;

[0041] Masking the first other emotion polarity label description vector by vector elements to obtain the masked first other emotion polarity label description vector;

[0042] Performing feature interaction on the emotion polarity label description vector, the masked first other emotion polarity label description vector, and the second other emotion polarity label description vector to obtain a sixth description vector, and performing feature interaction on the emotion polarity label description vector and the knowledge template description vector to obtain a seventh description vector;

[0043] Merging the sixth description vector and the seventh description vector to obtain an interaction description vector corresponding to the emotion polarity label;

[0044] Alternatively, the sixth description vector is multiplied by the influence coefficient of the fourth description vector defined in advance to obtain a third intermediate description vector; the third intermediate description vector and the seventh description vector are merged to obtain an interaction description vector corresponding to the emotion polarity label; wherein the value range of the influence coefficient of the fourth description vector is [0,1).

[0045] According to another aspect of an embodiment of the present invention, a computer system is provided, comprising: a processor; and a memory, wherein the memory stores a computer-readable code, and when the computer-readable code is executed by the processor, the processor executes the method described above.

[0046] The beneficial effects of the present invention at least include: the present invention provides a page interaction information mining method and system for intelligent digital humans, in the optimization link of the text emotion polarity detection algorithm, the text emotion polarity detection algorithm is used to extract description vectors of text knowledge templates and multiple emotion polarity labels, and obtain knowledge template description vectors and multiple emotion polarity label description vectors, for each emotion polarity label description vector, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the multiple emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, feature interaction is performed on the interaction description vectors corresponding to each emotion polarity label description vector and the multiple emotion polarity label description vectors to obtain a target interaction description vector, and then multiple emotion polarity labels are estimated for the text knowledge template based on the target interaction description vector to obtain estimation information, so as to correct the algorithm parameters of the text emotion polarity detection algorithm based on the estimation information and the template true indication information of the text knowledge template.

[0047] For each emotion polarity label description vector, when features interact, the focus degree of the emotion polarity label description vector is greater than that of other emotion polarity label description vectors, that is, other emotion polarity label description vectors have a slight influence on the interaction description vector corresponding to the emotion polarity label description vector. For example, when obtaining the interaction description vector, the influence of other emotion polarity label description vectors on the emotion polarity label description vector is reduced. This can improve the reliability and robustness of the optimized text emotion polarity detection algorithm in estimating each emotion polarity label.

[0048] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention 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 only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 It is a schematic diagram of the architecture of an application scenario provided by the present invention;

[0051] Figure 2 It is a flow chart of a method for mining page interaction information for intelligent digital people provided by the present invention;

[0052] Figure 3 It is a schematic diagram of an optimization process of a text emotion polarity detection algorithm provided by an embodiment of the present invention;

[0053] Figure 4 It is a structural diagram of a computer system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] 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 only 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.

[0055] In order to facilitate a clearer understanding of the present invention, the application scenarios of the method for mining page interaction information for intelligent digital people of the present invention are first introduced. Figure 1 As shown, the application scenario includes a computer system 1000 and a terminal cluster, and the terminal cluster may include one or more terminals, and the number of terminals is not limited here. Figure 1 As shown, the terminal cluster may specifically include terminal 1, terminal 2, ..., terminal n; it can be understood that terminal 1, terminal 2, terminal 3, ..., terminal n can all be connected to the computer system 10 through a network, so that each terminal can exchange data with the computer system 1000 through the network connection.

[0056] It is understandable that the computer system 1000 may refer to a device for executing a method for mining page interaction information for intelligent digital people, and the computer system 1000 may also be used to store digital human page interaction text. Among them, the computer system 1000 may be an independent physical server, or a server cluster or distributed system composed of at least two physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. The terminal may specifically refer to a vehicle-mounted terminal, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a screen speaker, a smart watch, etc., but is not limited thereto. Each terminal and the computer system 1000 may be directly or indirectly connected by wired or wireless communication. At the same time, the number of terminals and servers may be one or at least two, and the present invention is not limited thereto.

[0057] For further information, see Figure 2 , is a flow chart of a method for mining page interaction information for intelligent digital people provided by an embodiment of the present invention. Figure 2 As shown, this method can be Figure 1 The method for mining page interaction information for intelligent digital people may include the following steps:

[0058] Step S110: using a pre-optimized text emotion polarity detection algorithm to estimate multiple emotion polarity labels for the digital human page interaction text to be detected, and obtaining estimation information corresponding to each emotion polarity label of the digital human page interaction text to be detected.

[0059] The text sentiment polarity detection algorithm is a machine learning algorithm used to analyze the emotional tendencies expressed in text, such as positive, negative, or neutral. It recognizes emotions in text by learning from a large amount of labeled data. For example, suppose a text sentiment analysis model based on deep learning is used, such as a convolutional neural network (CNN) or a long short-term memory network (LSTM), which can extract features from text and predict its emotional polarity.

[0060] Pre-optimization means that the algorithm or model has been trained on a large amount of data and has adjusted its internal parameters to achieve a high prediction accuracy. For example, a text sentiment polarity detection algorithm is trained on millions of text data with sentiment labels and continuously optimizes its internal weights through the back-propagation algorithm to improve its prediction ability for future texts.

[0061] The interactive texts on the digital human page to be tested are text information generated when users interact with the digital human on the smart digital human interface, such as user questions, comments or feedback. For example, if a user enters "What's the weather like today?" or "This product is really useful!" on the digital human chat interface, these are all interactive texts to be tested.

[0062] Sentiment polarity labels are also called emotional polarity labels, which are used to describe the type of emotions expressed in the text, such as "positive", "negative", "neutral", etc. Sometimes they may also include more detailed emotions, such as "angry", "happy", "sad", etc. For example, for the review "This movie is great!", its sentiment polarity label can be "positive" or "happy".

[0063] Estimated information refers to the prediction result obtained by the algorithm after analyzing the sentiment polarity of the text, which usually includes the predicted sentiment polarity label and the corresponding confidence level (indicating the accuracy of the prediction). For example, for a piece of interactive text, the algorithm may predict that its sentiment polarity is "positive" and give a confidence level of 0.85, indicating that the algorithm is 85% confident that the sentiment of the text is positive.

[0064] Specifically, in step S110 , the computer system uses an optimized text sentiment polarity detection algorithm (ie, an algorithm that has been trained with a large amount of data and has achieved a high accuracy).

[0065] Specifically, when users interact on the Smart Digital Human page, such as asking questions, making comments, or providing feedback, these interactive information will be captured by the computer system. Subsequently, the computer system inputs these interactive texts into the trained text sentiment polarity detection algorithm. The text sentiment polarity detection algorithm can identify the emotional tendencies contained in the text, such as emotional polarity labels such as "positive", "negative" or "neutral".

[0066] For example, if a user leaves a message on the page: "This smart digital person is awesome and helped me a lot!" After this text is input into the sentiment polarity detection algorithm, the algorithm will analyze the vocabulary, tone, and context in the text, and then estimate that the most likely sentiment polarity label for this text is "positive". At the same time, the algorithm will also give a confidence level, indicating the degree of certainty of the estimated result. For example, in this example, the algorithm can give an estimated confidence level of 0.9 for the "positive" sentiment polarity label (ranging from 0 to 1, with 1 indicating complete certainty).

[0067] This estimation process is done through machine learning models, such as support vector machines (SVM), logistic regression, or neural networks. These models are trained on a large amount of labeled data to learn how to accurately determine the sentiment polarity of text. In actual applications, the model predicts the sentiment polarity based on the input text features (such as word frequency, n-gram features, etc.).

[0068] Step S120: determining the interaction index of the digital human page interaction text to be detected based on the estimated information corresponding to each of the emotion polarity labels of the digital human page interaction text to be detected, and performing interaction quality evaluation on the digital human page interaction text to be detected according to the interaction index.

[0069] In step S120, the computer system determines the interaction index of the text based on the estimated information obtained in step S110, that is, the estimated result of each emotional polarity label corresponding to the interactive text of the digital human page to be detected. The interaction index is a quantitative indicator used to measure the activity and satisfaction of the user when interacting with the intelligent digital human.

[0070] When determining the interaction index, the computer system comprehensively considers the estimated information of multiple emotion polarity labels. For example, if the estimated information shows that the confidence of the "positive" emotion polarity label in the text is very high, while the confidence of the "negative" emotion polarity label is very low, then this means that the user may feel very satisfied when interacting with the intelligent digital human, so the interaction index will increase accordingly.

[0071] Specifically, the computer system can use a weighted calculation method to determine the interaction index. Each emotional polarity label is assigned a weight, which can be set according to the actual application scenario. For example, a "positive" emotional polarity label may be assigned a higher weight because it represents the user's positive feedback and satisfaction. The computer system then calculates a comprehensive interaction index based on the estimated confidence of each emotional polarity label and its corresponding weight.

[0072] For example, suppose the estimated confidence of the "positive" sentiment polarity label is 0.8, the estimated confidence of the "negative" sentiment polarity label is 0.2, and the weight of the "positive" label is set to 2 and the weight of the "negative" label is set to 1. Then, the interaction index can be . The higher this value is, the better the quality of interaction between the user and the smart digital human. After obtaining the interaction index, the computer system evaluates the interaction quality of the interactive text of the digital human page to be detected based on this index. If the interaction index exceeds a preset threshold, then the interaction can be considered to be of high quality, otherwise it is considered to be of low quality. Such an evaluation helps the smart digital human system understand the user's satisfaction and activity, thereby optimizing its services and interaction methods. In general, step S120 objectively and quantitatively evaluates the quality of interaction between the user and the smart digital human by comprehensively considering the estimated information of multiple emotional polarity labels and the interaction index calculated based on this information.

[0073] Please refer to Figure 3 , the optimization step of the text emotion polarity detection algorithm may include the following steps:

[0074] Step S1: using a text emotion polarity detection algorithm to extract description vectors from a text knowledge template and a plurality of emotion polarity labels, respectively, and obtaining a knowledge template description vector and a plurality of emotion polarity label description vectors accordingly.

[0075] In step S1, features of the text knowledge template (i.e., the template text composed of the text training sample) and the sentiment polarity label are extracted. In this process, the computer system uses the text sentiment polarity detection algorithm to analyze and process these data (for example, based on the feature extraction operator set in the text sentiment polarity detection algorithm, such as an encoder).

[0076] First, the computer system extracts features from text knowledge templates, that is, text samples that have been labeled with emotional polarity labels. These text samples come from various sources, such as user interaction records with intelligent digital humans, comments on social media, movie reviews, etc. The purpose of feature extraction is to convert these texts into a format that computers can understand and process, namely, description vectors. Description vectors are a mathematical representation that can capture key information in text, such as vocabulary, grammatical structure, semantic relationships, etc. In the scenario of text emotional polarity detection, description vectors are mainly used to represent emotion-related features in text. For example, certain specific words or phrases may strongly imply certain emotions, such as "happy", "sad", "angry", etc. By extracting these features, the computer system can more accurately understand the emotions expressed in the text.

[0077] Specifically, the computer system can use word embedding technology (such as Word2Vec, GloVe, etc.) to convert each word in the text into a high-dimensional vector. The positional relationship of these vectors in space reflects the semantic similarity between the words. Subsequently, the computer system aggregates these word vectors to generate a description vector for the entire text. In addition to feature extraction of the text knowledge template, step S1 also requires the extraction of description vectors for multiple emotional polarity labels. Emotional polarity labels are usually discrete categories, such as "positive", "negative" or "neutral". In order to convert these labels into description vectors, the computer system can use a technology called "One-Hot Encoding". In this encoding method, each label is represented as a vector containing only one "1" and multiple "0s", where the position of "1" corresponds to the index of the label in the predefined label set.

[0078] However, in practical applications, in order to more finely represent the relationship between the emotion polarity labels, the computer system can also use more complex embedding technology to generate the description vector of the emotion polarity label, which is not specifically limited. Step S1 converts the text knowledge template and the emotion polarity label into a description vector form that can be processed by the computer, providing effective input data for the subsequent training of the emotion polarity detection model.

[0079] Step S2: For each of the emotion polarity label description vectors, perform feature interaction between the emotion polarity label description vector and other emotion polarity label description vectors in the multiple emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector; when performing feature interaction, the focus degree of the emotion polarity label description vector is greater than the focus degree of the other emotion polarity label description vectors.

[0080] Step S2 involves the feature interaction of the emotion polarity label description vector and the knowledge template description vector. In this link, the computer system performs feature fusion on these description vectors to generate a more expressive interactive description vector. Specifically, in step S2, for each emotion polarity label description vector, the computer system performs feature interaction with other emotion polarity label description vectors and knowledge template description vectors. This feature interaction can be regarded as an information fusion process, which can effectively integrate features from different sources, thereby enriching the expressive power of the vector.

[0081] When performing feature interaction, the computer system assigns different focus levels to different description vectors. The focus level here can be understood as the importance or weight of the vector in the feature interaction process. According to the description of step S2, the focus level of the emotion polarity label description vector currently being processed will be greater than that of other emotion polarity label description vectors. This means that during the feature interaction process, the features of the current emotion polarity label description vector will be more prominently reflected in the interaction description vector.

[0082] In order to achieve this feature interaction, the computer system can use the weighted fusion method. Weighted fusion is a simple and effective feature fusion method, which assigns different weights to different feature vectors and then linearly combines them into a new vector. In this process, the setting of weights is the key, which determines the contribution of different feature vectors in the fusion process.

[0083] To illustrate with a specific example, suppose there are three emotion polarity labels: "positive", "negative" and "neutral", and a text knowledge template "This movie is really good!". In step S1, the description vectors of these three emotion polarity labels and the description vector of the text knowledge template have been obtained. In step S2, when processing the description vector of the "positive" emotion polarity label, it will be weighted and fused with the description vectors of the "negative" and "neutral" emotion polarity labels and the description vector of the text knowledge template. In this fusion process, the weight of the description vector of the "positive" emotion polarity label will be relatively high to ensure that its characteristics are fully reflected in the interactive description vector.

[0084] Through this feature interaction, the computer system can generate more expressive interaction description vectors, which not only contain the features of the text knowledge template, but also incorporate the features of multiple sentiment polarity labels. This provides richer and more effective input data for the subsequent training of the sentiment polarity detection model.

[0085] Step S3: performing feature interaction on the interaction description vector corresponding to each of the emotion polarity label description vectors and the multiple emotion polarity label description vectors to obtain a target interaction description vector.

[0086] Step S3 is another key step in the training process of the text emotion polarity detection algorithm, which involves further feature interaction between the interaction description vector and the emotion polarity label description vector generated in the previous step. Through this step, the computer system can generate a more comprehensive and accurate target interaction description vector, providing strong support for subsequent emotion polarity detection.

[0087] In step S3, the computer system first reviews the interaction description vectors generated for each emotion polarity label description vector in step S2. These interaction description vectors have integrated the features of the text knowledge template and multiple emotion polarity labels. Next, the computer system performs feature interaction again between the interaction description vector corresponding to each emotion polarity label description vector and all emotion polarity label description vectors. The purpose of this secondary feature interaction is to further strengthen the correlation between different emotion polarity labels and extract more core and common features. Doing so helps improve the model's ability to recognize complex emotional expressions, especially when dealing with texts that contain multiple emotions at the same time.

[0088] The specific way of feature interaction can be weighted fusion, that is, according to the importance of each interaction description vector and sentiment polarity label description vector, different weights are assigned to them, and then linearly combined. The weight assignment can be determined based on previous experience, experimental data or a specific algorithm.

[0089] Taking the intelligent digital human interaction scenario as an example, suppose the user expresses a complex emotion when communicating with the digital human, which includes satisfaction with the product (positive emotion), expectations for the future (another expression of positive emotion), and a hint of uneasiness about the unknown (negative emotion). In step S3, the computer system integrates these complex emotional features into a target interaction description vector by weighted fusion.

[0090] This target interaction description vector not only contains the vocabulary, grammar and semantic features in the user's text, but also integrates the comprehensive expression of multiple emotions. In this way, when the model encounters text with similar complex emotions in the subsequent emotional polarity detection task, it can more accurately identify and understand the user's true feelings.

[0091] In general, step S3 generates a more comprehensive and in-depth target interaction description vector through further feature interaction and weighted fusion, providing a richer and more accurate data basis for the training of the text sentiment polarity detection algorithm.

[0092] Step S4: adopting the text emotion polarity detection algorithm, based on the target interaction description vector, estimate multiple emotion polarity labels for the text knowledge template to obtain estimation information, and according to the estimation information and the template true indication information of the text knowledge template, correct the algorithm parameters of the text emotion polarity detection algorithm.

[0093] Step S4 is the final step in the training process of the text sentiment polarity detection algorithm. It involves using the target interaction description vector generated in the previous step to estimate the sentiment polarity label of the text knowledge template, and correcting the algorithm parameters based on the estimated results and the true label to improve the accuracy of the model.

[0094] In this step, the computer system uses the text emotion polarity detection algorithm to estimate multiple emotion polarity labels for the text knowledge template based on the target interaction description vector obtained in step S3. The estimation process is essentially that the model determines which emotion polarity or polarities the text is most likely to belong to based on the learned features and rules. For example, in the interactive scenario of the smart digital human, the user can enter a text such as "Great, this new feature is really useful!" The model needs to accurately estimate that the emotion polarity of this sentence is "positive". After the estimation is completed, the computer system obtains a set of estimation information, that is, the model's prediction results for the emotion polarity of each text knowledge template. Then, the computer system compares this estimation information with the true indication information (also called supervision label, i.e. Label) of the text knowledge template. The true indication information is pre-labeled to guide the model to learn the correct answer.

[0095] By comparing the difference between the estimated information and the actual indication information, the computer can calculate the prediction error of the model. This error reflects the performance of the model under the current parameter settings. The larger the error, the worse the prediction ability of the model, and further optimization is needed.

[0096] In order to reduce the prediction error, the computer system corrects the parameters of the text sentiment polarity detection algorithm based on the loss of estimated information and true indication information. These parameters may include the weights and biases of the model, which directly affect the prediction results of the model. The process of correcting the parameters is usually implemented through the back propagation algorithm, which can update the parameters of the model according to the gradient information of the loss function (such as the cross entropy loss function, the mean square error loss function, etc.), so that the model can more accurately approach the true result in the next prediction.

[0097] To illustrate with a specific example, suppose the model has a deviation when estimating the sentiment polarity of a certain text, and mistakenly estimates that the text that should be "positive" is "neutral". In step S4, the computer system corrects the model's parameters based on this error, so that the model can more accurately identify the sentiment polarity of similar texts in subsequent training and prediction. Step S4 is a key link in the training of the text sentiment polarity detection algorithm. It corrects the model parameters by comparing the estimated information with the actual indication information, thereby continuously improving the model's prediction accuracy and generalization ability.

[0098] In one implementation, the step S2, for each of the emotion polarity label description vectors, performing feature interaction between the emotion polarity label description vector and other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, may include:

[0099] The following steps are performed for each emotion polarity label description vector corresponding to the emotion polarity label:

[0100] Step S21: performing vector element masking on other emotion polarity label description vectors in the plurality of emotion polarity label description vectors to obtain masked other emotion polarity label description vectors.

[0101] In step S21, vector elements of other emotion polarity label description vectors in the plurality of emotion polarity label description vectors are masked. The purpose of this step is to selectively focus on or ignore certain features in subsequent feature interactions, thereby improving the model's ability to recognize specific emotion polarity labels.

[0102] Assume that an intelligent digital person is interacting with a user, and the user publishes a text with obvious emotional color. The digital person needs to accurately identify the emotional polarity expressed in the text in order to make an appropriate response. When executing step S21, the computer system first selects a specific emotional polarity label, such as "happy". Then, the computer system obtains the emotional polarity label description vector corresponding to the "happy" label. At the same time, the computer system also obtains the description vectors of other emotional polarity labels (such as "sad", "angry", etc.).

[0103] Next, the computer system masks the vector elements of these other emotional polarity label description vectors. The specific operation of masking is to mask some elements in the vector by multiplying them by 0, and multiply the elements to be retained by 1. In this way, the computer system can control which features are considered in subsequent feature interactions and which features are ignored.

[0104] For example, suppose the description vector of the "sad" label is [0.5, 0.3, 0.2, 0.7]. When processing the "happy" label, we want to ignore the third element (i.e. 0.2) in the description vector of the "sad" label. Then, we can achieve this through a mask vector [1, 1, 0, 1]. Perform element-wise multiplication of this mask vector with the description vector of the "sad" label to obtain the masked vector [0.5, 0.3, 0, 0.7]. In this way, when processing the "happy" label, the third feature in the description vector of the "sad" label is effectively masked.

[0105] In this way, step S21 helps the computer system to more accurately focus on the features most relevant to the currently processed emotion polarity label, thereby improving the accuracy of emotion polarity detection.

[0106] Step S22: performing feature interaction between the masked other emotion polarity label description vectors and the emotion polarity label description vector to obtain a first description vector, and performing feature interaction between the emotion polarity label description vector and the knowledge template description vector to obtain a second description vector.

[0107] In step S22, the computer system will perform feature interaction between the masked other emotion polarity label description vectors and the currently processed emotion polarity label description vector, and will also perform feature interaction between the current emotion polarity label description vector and the knowledge template description vector. The purpose of feature interaction is to capture the potential connections between different vectors, thereby improving the model's ability to judge emotion polarity. Specifically, when the intelligent digital human interacts with the user, the user's text input may contain multiple emotional components, and there may be complex associations between these emotional components. Through feature interaction, the emotional expression in the text can be more fully understood.

[0108] Taking the "happy" emotion polarity label as an example, the computer system first obtains the description vector of the "happy" emotion polarity label. At the same time, after the processing of step S21, the description vectors of other emotion polarity labels (such as "sad", "angry", etc.) after masking have been obtained. In step S22, the computer system performs feature interaction between these masked description vectors and the description vector of the "happy" label.

[0109] A common way of feature interaction is weighted fusion. In this process, the computer system assigns different weights to each vector based on its importance or relevance, and then combines them into a new vector. This new vector, the first description vector, combines the feature information of the current sentiment polarity label with other sentiment polarity labels, which helps the model understand the emotional expression in the text more comprehensively.

[0110] In addition, step S22 also requires feature interaction between the emotion polarity label description vector and the knowledge template description vector. The knowledge template description vector usually contains prior knowledge or contextual information related to a specific emotion polarity. For example, in the interactive scenario of a smart digital human, the knowledge template may contain the user's historical conversation records, the user's personal information, and the digital human's previous response strategy to the user's emotions. Through feature interaction with the knowledge template description vector, a second description vector can be obtained. This vector not only contains the emotional features of the current text, but also incorporates rich contextual information, which helps the model to more accurately judge the emotional polarity of the text. Step S22 integrates feature information from multiple sources through feature interaction, providing rich input for subsequent emotion polarity detection. In the application of smart digital humans, this step helps to improve the digital human's understanding and response capabilities to user emotions.

[0111] Step S23: Based on the first description vector and the second description vector, an interaction description vector corresponding to the emotion polarity label is obtained.

[0112] Step S23 involves obtaining an interactive description vector corresponding to the currently processed emotion polarity label based on the first description vector and the second description vector generated in the previous step. This interactive description vector integrates information from different sources and provides rich features for subsequent emotion polarity judgment.

[0113] When interacting with users, intelligent digital humans need to quickly and accurately understand the user's emotions in order to make appropriate responses. The generation of interaction description vectors is to help digital humans better capture and understand the user's emotional expressions. Specifically, when the computer system executes step S23, it reviews the first description vector and the second description vector generated in step S22. The first description vector combines the feature information of the current emotion polarity label and other emotion polarity labels, reflecting the potential connection between different emotional components in the text. The second description vector incorporates the feature information of the current emotion polarity label and the knowledge template, providing prior knowledge and contextual background related to specific emotions.

[0114] Taking the "happy" emotion polarity label as an example, assume that in step S22, the computer system has generated the corresponding first description vector and second description vector through feature interaction. In step S23, the computer system combines these two vectors and generates an interactive description vector in a certain way (such as weighted summation, splicing and fusion through neural network, etc.). This interactive description vector not only contains the emotional features directly expressed in the text (such as "happy" related vocabulary, grammatical structure, etc.), but also incorporates the influence of other emotional components and related prior knowledge and contextual information. This enables the interactive description vector to more comprehensively represent the emotional content of the text and provide rich input for subsequent emotional polarity judgment.

[0115] In the application of intelligent digital humans, the interaction description vector generated in step S23 will be used as the input of the emotion recognition model (such as support vector machine, neural network, etc.). The model will judge the emotional polarity of the text based on this vector, thereby guiding the digital human to make a corresponding response. In this way, step S23 helps to improve the intelligent digital human's ability to understand and respond to user emotions and enhance the user experience.

[0116] In some implementations, the step S23 of acquiring the interaction description vector corresponding to the emotion polarity label based on the first description vector and the second description vector may include:

[0117] Merging the first description vector and the second description vector to obtain an interaction description vector corresponding to the emotion polarity label;

[0118] Alternatively, the first description vector is multiplied by a first description vector influence coefficient defined in advance to obtain a first intermediate description vector; the first intermediate description vector and the second description vector are merged to obtain an interaction description vector corresponding to the emotion polarity label, wherein the value range of the first description vector influence coefficient is [0,1).

[0119] Step S23 involves acquiring an interaction description vector corresponding to the emotion polarity label based on the first description vector and the second description vector.

[0120] In the specific implementation, step S23 can complete the acquisition of the interaction description vector in two ways. First, a simple and direct method is to merge the first description vector and the second description vector, for example, by splicing. This operation is equivalent to integrating the feature information in the two vectors to form a more comprehensive feature representation. Taking the "happy" emotion as an example, the first description vector may capture the potential association with other emotions in the text (such as "surprise", "satisfaction", etc.), while the second description vector incorporates prior knowledge such as the happy emotion in the user's historical conversation and the digital person's previous response strategy. By splicing these two vectors, an interaction description vector that contains both the current text emotional features and the contextual information can be obtained, providing rich input for subsequent emotional polarity judgment.

[0121] Another more flexible approach is to introduce a first description vector influence coefficient (which can be understood as a weight) to adjust the contribution of the first description vector in the interaction description vector. The influence coefficient of the first description vector ranges from [0,1), which means that the influence of the first description vector can be any value from zero to close to but less than 1. In this way, the weight ratio of the two description vectors can be dynamically adjusted according to actual needs. For example, in some cases, it may be more desirable for the model to rely on prior knowledge and contextual information (i.e., the second description vector), while in other cases, it may pay more attention to the emotional features in the current text (i.e., the first description vector). By adjusting this influence coefficient, the model can be more flexibly adapted to different application scenarios and needs.

[0122] In the specific operation, the computer system first multiplies the first description vector by the influence coefficient of the first description vector defined in advance to obtain a first intermediate description vector. This intermediate vector is actually a scaled version of the original first description vector, and its scaling degree is determined by the influence coefficient. Then, the computer system merges (such as splicing) this intermediate vector with the second description vector to obtain the final interaction description vector. This process is equivalent to adjusting the relative importance of the two description vectors by the influence coefficient while retaining their respective characteristics. In general, these two implementation methods of step S23 are to better integrate and utilize the feature information in the first description vector and the second description vector to improve the accuracy of emotional polarity detection. In the page interaction information mining scenario for intelligent digital people, these operations help digital people understand users' emotions more accurately and make appropriate responses.

[0123] In some implementation schemes, the number of the knowledge template description vectors is at least 2. In the step S1, the description vectors of the text knowledge template and multiple emotion polarity labels are extracted respectively using a text emotion polarity detection algorithm. After the corresponding knowledge template description vectors and multiple emotion polarity label description vectors are obtained, the method may further include: step S1A: for each of the knowledge template description vectors, the knowledge template description vector is subjected to feature interaction with the multiple emotion polarity label description vectors to obtain a knowledge template interaction description vector. At this time, the step S4, based on the target interaction description vector, estimates the multiple emotion polarity labels of the text knowledge template to obtain estimation information, may include: step S4A: based on the knowledge template interaction description vector and the target interaction description vector, estimates the multiple emotion polarity labels of the text knowledge template to obtain estimation information.

[0124] Step S1 is the process of extracting description vectors. In this step, the computer system uses a text emotion polarity detection algorithm to extract description vectors from text knowledge templates and multiple emotion polarity labels (such as "happy", "sad", "angry", etc.). These description vectors are numerical representations of text features and can capture the emotional information in the text.

[0125] Taking the application scenario of intelligent digital human as an example, suppose there is a text knowledge template about the dialogue script of "user asking about weather conditions". The computer system extracts the description vector of this script and each emotional polarity label. The extracted knowledge template description vector and emotional polarity label description vector will be used for subsequent feature interaction and emotional polarity estimation.

[0126] In step S1A, the computer system further processes these description vectors. For each knowledge template description vector, the computer system performs feature interaction, such as weighted fusion, with multiple emotional polarity label description vectors. This feature interaction can capture the potential connection between the knowledge template and different emotions, thereby generating a richer feature representation. Weighted fusion is a commonly used feature interaction method, which assigns different weights to each vector according to its importance, and then combines them into a new vector. In this example, the knowledge template interaction description vector obtained by weighted fusion will contain various emotional information related to the weather inquiry script.

[0127] In step S4, multiple emotion polarity labels are estimated for the text knowledge template based on the target interaction description vector. The target interaction description vector is obtained through processing in the previous step, and it combines the feature information of the text knowledge template and the emotion polarity label. The computer system uses this vector to predict the emotion polarity expressed by the text knowledge template.

[0128] In step S4A, the estimation process considers both the knowledge template interaction description vector and the target interaction description vector. Together, these two vectors provide rich feature information for estimation. By comparing the similarity of these two vectors or using machine learning models (such as support vector machines, neural networks, etc.) for classification, the computer system can more accurately predict the emotional polarity expressed by the text knowledge template. For example, in a script for weather inquiries, the computer system can predict the emotional polarity that the user may have when asking about the weather, such as "curiosity", "expectation" or "anxiety".

[0129] In some implementations, each of the emotion polarity labels includes a corresponding target interaction description vector, and the step S4A, estimating a plurality of the emotion polarity labels for the text knowledge template based on the knowledge template interaction description vector and the target interaction description vector to obtain the estimation information, may include:

[0130] For each of the emotion polarity labels, the following steps are performed respectively:

[0131] Step S4A1: Perform feature interaction on the target interaction description vector corresponding to the emotion polarity label, the target interaction description vectors corresponding to other emotion polarity labels in the plurality of emotion polarity labels, and the knowledge template interaction description vector to obtain an intermediate interaction description vector.

[0132] In step S4A1, the computer system performs a feature interaction operation, specifically, the target interaction description vector corresponding to the currently processed emotion polarity label is subjected to feature interaction with the target interaction description vectors corresponding to other emotion polarity labels, and the knowledge template interaction description vector. This process aims to fuse multi-party feature information to form a more comprehensive and rich feature representation for subsequent estimation steps. Weighted fusion is a common method of feature interaction. In weighted fusion, each vector is assigned a weight according to its importance, and then these weighted vectors are combined into a new vector, namely the intermediate interaction description vector. This new vector not only contains the features of the current emotion polarity label, but also integrates the features of other emotion polarity labels and the features of knowledge templates, thereby providing more comprehensive feature information.

[0133] Taking the application scenario of intelligent digital human as an example, suppose the computer system is processing a text knowledge template about "users express satisfaction with the digital human service", and the current emotional polarity label of interest is "satisfied". In this scenario, the computer system will first extract the target interaction description vector corresponding to the emotional polarity label "satisfied". This vector captures the characteristic information related to the "satisfied" emotion.

[0134] Next, the computer system obtains the target interaction description vectors corresponding to other emotion polarity labels (such as "unsatisfied", "average", etc.). These vectors represent other possible emotional states and contain feature information related to these emotions. In addition, the computer system also uses the knowledge template interaction description vector generated in the previous step. This vector combines the feature interaction information between the text knowledge template and multiple emotion polarity labels, providing context for emotion polarity estimation.

[0135] In step S4A1, the computer system weightedly fuses the target interaction description vector corresponding to "satisfied", the target interaction description vectors corresponding to other emotion polarity labels, and the knowledge template interaction description vector. By assigning appropriate weights to each vector and adding them together, the computer system obtains an intermediate interaction description vector. This vector combines the characteristics of the "satisfied" emotion, the characteristics of other possible emotions, and the characteristics of the text knowledge template, providing comprehensive input information for the next step of emotion polarity estimation.

[0136] In summary, step S4A1 generates an intermediate interaction description vector that integrates multiple feature information through feature interaction operations, especially weighted fusion methods. This vector will serve as an important input in subsequent steps to help the computer system more accurately estimate the emotional polarity expressed by the text knowledge template.

[0137] Step S4A2: estimating the emotion polarity label of the text knowledge template based on the intermediate interaction description vector to obtain estimation information corresponding to the emotion polarity label.

[0138] In the training step of the text emotion polarity detection algorithm, step S4A2 is the key link of emotion polarity estimation. In this step, the computer system uses the intermediate interaction description vector generated in the previous step to estimate the emotion polarity label of the text knowledge template, and then obtains the estimated information corresponding to the emotion polarity label.

[0139] Assume that after the feature interaction in step S4A1, the computer system has obtained an intermediate interaction description vector that integrates multi-party information. This vector not only contains the features of the currently processed sentiment polarity label, but also incorporates the features of other sentiment polarity labels and text knowledge templates, providing rich contextual information for the estimation of sentiment polarity.

[0140] In step S4A2, the computer system passes the intermediate interaction description vector as input to a trained machine learning model, such as a support vector machine (SVM), a random forest, or a neural network. These models have the ability to learn from input data and predict output labels. For example, if it is a neural network, the computer system can input the intermediate interaction description vector into a multi-layer perceptron (MLP) neural network. Each layer of the neural network performs a nonlinear transformation on the input data, and finally outputs a predicted value by learning and adjusting the weights and biases in the network. This predicted value represents the possibility of the text knowledge template expressing the current emotional polarity label.

[0141] For example, if the emotion polarity label currently being processed is "happy", then the neural network will output a value between 0 and 1, indicating the probability that the text knowledge template expresses the emotion "happy". This predicted value is the estimated information corresponding to the "happy" emotion polarity label. In addition to neural networks, other machine learning models can also be used for estimation. Regardless of which model is used, the core idea is to use the intermediate interaction description vector as input, and output the estimated information of the emotion polarity label through the learning and prediction capabilities of the model.

[0142] Step S4A2 estimates the emotional polarity label of the text knowledge template by using the intermediate interaction description vector and the machine learning model, and obtains the estimated information corresponding to the label. This step can help the digital human understand and respond to the user's emotional expression more accurately, thereby improving the user experience and service quality.

[0143] In another implementation, the emotion polarity label description vector includes a first sub-emotion polarity label description vector and a second sub-emotion polarity label description vector; the step S2, for each of the emotion polarity label description vectors, performs feature interaction between the emotion polarity label description vector and other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, may include:

[0144] Step S2A: For each of the emotion polarity label description vectors, obtain the multiplication result of the second sub-emotion polarity label description vector of other emotion polarity label description vectors in the multiple emotion polarity label description vectors and the pre-defined second description vector influence coefficient, and obtain a third description vector based on the first sub-emotion polarity label description vector of the emotion polarity label description vector and the multiplication result, wherein the second description vector influence coefficient is less than 0.

[0145] In the training step of the text sentiment polarity detection algorithm, step S2A involves processing and converting the sentiment polarity label description vector.

[0146] First, the computer system processes each emotion polarity label description vector. These vectors are usually composed of two parts: the first sub-emotion polarity label description vector and the second sub-emotion polarity label description vector. The first sub-vector may mainly capture features directly related to emotion polarity, while the second sub-vector may contain some auxiliary or contextual information.

[0147] In step S2A, the computer system pays special attention to the second sub-emotion polarity label description vector in the other emotion polarity label description vector. This is because when processing a specific emotion polarity, it is necessary to understand the influence of other emotion polarities. For example, if a text mainly expresses the emotion of "happiness", but it also implies a hint of "sadness", then this hint of "sadness" can affect the judgment of the overall emotion.

[0148] To quantify this influence, the computer system obtains the second subvector of other emotion polarity labels and multiplies it with a pre-defined second description vector influence coefficient. This influence coefficient is a value less than 0, which means that it will affect the current emotion polarity judgment in a negative weighted way. In other words, this coefficient is used to measure the "offsetting" or "weakening" effect of other emotion polarities on the current emotion polarity.

[0149] For example, suppose there is a "happy" emotion polarity label description vector and a "sad" emotion polarity label description vector. When processing the "happy" label, the computer system considers the second subvector of the "sad" label and combines it with a negative influence coefficient through multiplication. In this way, if there are both "happy" and "sad" elements in the text, the final emotion judgment will take this complexity into account.

[0150] Next, the computer system obtains a third description vector based on the result of the multiplication operation of the first sub-emotional polarity label description vector of the current emotion polarity label. This third description vector is actually an adjustment or correction of the original emotion polarity label description vector, which more comprehensively reflects the emotional complexity in the text.

[0151] In the application of intelligent digital humans, since digital humans need to accurately understand and respond to the user's emotions, and the user's emotions are often complex and changeable, through the processing of step S2A, digital humans can more finely capture and interpret the user's emotional expression, thereby providing more intimate and humane services.

[0152] Step S2B: For each of the emotion polarity label description vectors, perform feature interaction between the first sub-emotion polarity label description vector of the emotion polarity label description vector and the emotion polarity label description vector to obtain a fourth description vector, and perform feature interaction between the first sub-emotion polarity label description vector of the emotion polarity label description vector and the knowledge template description vector to obtain a fifth description vector.

[0153] In the training step of the text sentiment polarity detection algorithm, in step S2B, the computer system will perform two types of feature interactions on each sentiment polarity label description vector to obtain a more comprehensive feature representation.

[0154] First, the computer system performs feature interaction between the first sub-emotion polarity label description vector of the emotion polarity label description vector and the entire emotion polarity label description vector. This interaction can be achieved in a variety of ways, such as weighted fusion. Weighted fusion means that the corresponding elements of the first sub-vector and the entire emotion polarity label description vector are added according to certain weights to generate a new vector, namely the fourth description vector. This new vector not only contains the information of the first sub-vector, but also incorporates the features of the entire emotion polarity label description vector, making the representation more comprehensive.

[0155] For example, in the scenario of page interaction information mining for intelligent digital people, assuming there is a "happy" emotion polarity label description vector, its first sub-vector may mainly describe the features of words or phrases directly related to "happiness", and the entire emotion polarity label description vector may also contain other auxiliary information, such as emoticons, modal particles, etc. Through weighted fusion, a fourth description vector can be obtained that contains both the core "happiness" feature and other auxiliary features.

[0156] Secondly, the computer system will also perform feature interaction between the first sub-emotion polarity label description vector of the emotion polarity label description vector and the knowledge template description vector. This interaction is usually performed in a weighted summation manner. The knowledge template description vector may contain some prior knowledge or context information related to a specific emotion polarity. By performing a weighted summation with the first sub-vector, the computer system can incorporate these prior knowledge or context information into the description of the emotion polarity label, thereby generating a fifth description vector.

[0157] Continuing with the example of the emotion "happy", the knowledge template description vector may contain some typical words, phrases or scene descriptions related to the emotion "happy". Through the weighted summation with the first sub-vector, the fifth description vector will be able to better capture the context and deep meaning of the emotion "happy" expressed in the text.

[0158] In summary, step S2B generates the fourth description vector and the fifth description vector respectively through two types of feature interactions, namely weighted fusion and weighted summation. These two new vectors not only enrich the feature representation of the original emotion polarity label description vector, but also provide a more comprehensive information basis for subsequent emotion polarity detection. In the application of intelligent digital humans, this rich feature representation will help digital humans understand and respond to users' emotional expressions more accurately.

[0159] Step S2C: Based on the third description vector, the fourth description vector and the fifth description vector, an interaction description vector corresponding to the emotion polarity label is obtained.

[0160] In step S2C, the computer system acquires the interaction description vector corresponding to each emotion polarity label based on the third description vector, the fourth description vector and the fifth description vector generated in the previous steps.

[0161] First, let’s review the meaning of the three description vectors generated in the previous steps:

[0162] The third description vector takes into account the impact of other emotion polarities on the current emotion polarity and can be seen as an "adjusted" emotion representation. The fourth description vector is the result of the interaction between the first subvector of the emotion polarity label description vector and the entire emotion polarity label description vector, representing the feature relationship within the emotion polarity. The fifth description vector is the result of the interaction between the first subvector of the emotion polarity label description vector and the knowledge template description vector, incorporating prior knowledge and contextual information related to emotion polarity.

[0163] In step S2C, the computer system comprehensively considers these three description vectors to obtain the final interaction description vector. This usually involves a fusion or integration process, and possible methods include but are not limited to weighted averaging, splicing and feature extraction through neural networks, etc. Taking weighted averaging as an example, the computer system can assign different weights to the three description vectors, and then perform weighted summation to obtain an interaction description vector that integrates all aspects of information. This interaction description vector not only considers the influence of other emotional polarities, but also reflects the characteristic relationship within the emotional polarity, and also incorporates relevant prior knowledge and contextual information.

[0164] This step is particularly important in the scenario of mining page interaction information for intelligent digital humans. Intelligent digital humans need to accurately understand the user's emotions in order to make appropriate responses. The interaction description vector obtained in step S2C provides a comprehensive and rich emotional representation for the digital human, thereby helping it to better capture and interpret the user's emotions.

[0165] For example, when a user is interacting with an intelligent digital human, and inputs a text that contains both "happy" and slightly "sad" emotions, through the processing of step S2C, the digital human can accurately identify this complex mixture of emotions and make a more considerate and humane response accordingly.

[0166] In general, step S2C is a key integration step in the text sentiment polarity detection algorithm, which ensures that the description vector of the sentiment polarity label can fully and accurately reflect the sentiment information in the text, providing a solid foundation for subsequent sentiment analysis and response.

[0167] In one implementation, the step S2C, obtaining the interaction description vector corresponding to the emotion polarity label based on the third description vector, the fourth description vector, and the fifth description vector, may include:

[0168] Merging the third description vector, the fourth description vector and the fifth description vector to obtain an interaction description vector corresponding to the emotion polarity label;

[0169] Alternatively, the third description vector is multiplied by a third description vector influence coefficient defined in advance to obtain a second intermediate description vector; the second intermediate description vector, the fourth description vector and the fifth description vector are merged to obtain an interaction description vector corresponding to the emotion polarity label, wherein the value range of the third description vector influence coefficient is [0,1).

[0170] Step S2C involves obtaining an interaction description vector corresponding to the emotion polarity label based on the third description vector, the fourth description vector and the fifth description vector.

[0171] First, the first implementation method is to directly merge the third description vector, the fourth description vector and the fifth description vector, for example, by splicing. This means that the computer system connects the three vectors together in a certain order to form a longer vector, namely the interaction description vector corresponding to the emotional polarity label. In this process, each vector retains its original information without any weighting or adjustment. This method is simple and direct, and can fully retain the characteristic information of each vector. Suppose the digital human is having a conversation with the user, and the user enters a text with emotions. The computer system will first extract the emotional polarity label description vector of the text, and obtain the third, fourth and fifth description vectors after processing in the previous steps. Then, in step S2C, these three vectors will be directly spliced ​​into an interaction description vector. This interaction description vector can then be used in the emotional polarity detection model to help the digital human understand the user's emotional state more accurately and respond accordingly.

[0172] The second implementation method is slightly more complicated. In this method, the computer system first multiplies the third description vector with a pre-defined third description vector influence coefficient (i.e., weight) to obtain a second intermediate description vector. The value range of this influence coefficient is [0,1), which means that it will scale each element of the third description vector to a certain extent, but will not change its sign or direction. Then, the computer system merges (such as splicing) the second intermediate description vector, the fourth description vector, and the fifth description vector to obtain the interaction description vector corresponding to the emotional polarity label.

[0173] The benefit of this approach is that it allows fine-tuning the importance of the third description vector. By adjusting the value of the influence coefficient, the weight of the third description vector in the final interaction description vector can be controlled. This may be useful in some cases, especially when it is desired to take more account of the influence of other sentiment polarities.

[0174] If the digital human finds that the user's emotional expression is complex or ambiguous when interacting with the user, then by adjusting the influence coefficient of the third description vector, the digital human can more flexibly capture and interpret the user's emotional state. For example, if the user's text expresses multiple emotions at the same time, increasing the weight of the third description vector may help the digital human more accurately identify these complex emotional mixed states.

[0175] In general, both implementations of step S2C aim to construct a more comprehensive and accurate interaction description vector corresponding to the emotion polarity label by comprehensively considering multiple description vectors. This helps to improve the accuracy and reliability of emotion detection, thus playing an important role in the scene of page interaction information mining of intelligent digital people.

[0176] In one implementation, step S3, performing feature interaction on the interaction description vector corresponding to each of the emotion polarity label description vectors and the multiple emotion polarity label description vectors to obtain a target interaction description vector, may include:

[0177] Step S31: for each of the emotion polarity label description vectors, weighted average or merge the interaction description vector corresponding to the emotion polarity label description vector and the emotion polarity label description vector to obtain a target interaction description vector corresponding to the emotion polarity label description vector;

[0178] Then, at this time, the step S4, estimating the plurality of emotion polarity labels for the text knowledge template based on the target interaction description vector to obtain estimation information, may include:

[0179] Step S41: for each of the emotion polarity labels, the emotion polarity label is estimated for the text knowledge template based on the target interaction description vector corresponding to the emotion polarity label to obtain the estimated information corresponding to the emotion polarity label.

[0180] In step S31, the computer system performs weighted average or merges (e.g., concatenation) of the corresponding interaction description vector with the original emotion polarity label description vector for each emotion polarity label description vector. This process is to merge the rich information contained in the interaction description vector with the original emotion polarity label description vector, thereby obtaining a more comprehensive and in-depth target interaction description vector.

[0181] Taking weighted averaging as an example, suppose there is a "happy" emotion polarity label description vector and a corresponding interaction description vector. Weighted averaging means that the corresponding elements of the two vectors are added according to certain weights and then divided by the sum of the weights to generate a new vector, namely the target interaction description vector. This new vector not only contains the information of the original "happy" emotion polarity label description vector, but also incorporates the characteristics of the interaction description vector, making the representation more comprehensive. The weighted average or merging operation can help the digital human understand the user's emotions more accurately. For example, when the user interacts with the digital human, he enters a text expressing the emotion of "happiness", but through the analysis of the interaction description vector, the computer system finds that there is also a hint of "expectation" in this text. Through the processing of step S31, the digital human can capture these two emotions at the same time, so as to make a more appropriate response.

[0182] In step S41, the computer system estimates the emotional polarity label of the text knowledge template based on the corresponding target interaction description vector for each emotional polarity label. This estimation process is usually completed through a machine learning model, such as a support vector machine (SVM), a neural network, etc. For example, if it is a neural network, the computer system can use the target interaction description vector as the input of the neural network, and then train the network to predict which emotional polarity label the text knowledge template is most likely to belong to. Through a large amount of training data, the neural network can learn the mapping relationship from the target interaction description vector to the emotional polarity label, thereby realizing the emotional polarity estimation of the text knowledge template. It allows the digital human to quickly and accurately judge the user's emotional state after receiving the user's input, and respond accordingly. For example, if the user expresses a "frustrated" emotion, the digital human can provide comforting or encouraging words by detecting this emotion, thereby enhancing the emotional connection and interactive experience with the user.

[0183] In another implementation, the number of the emotion polarity label description vectors is not less than 3, and the step S2, for each of the emotion polarity label description vectors, performing feature interaction between the emotion polarity label description vector and other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, may include:

[0184] Step S2I: For each of the emotion polarity label description vectors, a target number of other emotion polarity label description vectors are screened out from multiple other emotion polarity label description vectors in the multiple emotion polarity label description vectors as the first other emotion polarity label description vectors, and the remaining other emotion polarity label description vectors in the multiple other emotion polarity label description vectors are used as the second other emotion polarity label description vectors.

[0185] In step S2I, the computer system performs a screening process for each emotion polarity label description vector, which is to select a portion of other emotion polarity label description vectors that are most relevant or influential to the currently processed emotion polarity label description vector from multiple emotion polarity label description vectors.

[0186] Specifically, the computer system first determines a target number, which is set according to the design of the algorithm or experimental experience, and determines how many of the other emotion polarity label description vectors should be screened out as "first other emotion polarity label description vectors". These selected vectors are considered to have a significant impact on or are highly relevant to the current emotion polarity label description vector.

[0187] For example, in the scenario of page interaction information mining for intelligent digital people, assuming that there is an emotion polarity label description vector representing "happiness", the computer system can filter out vectors highly related to the emotion "happiness" from other emotion polarity label description vectors, such as "excitement", "satisfaction", etc., as the first other emotion polarity label description vectors. These vectors will be given priority consideration in subsequent feature interaction and emotion analysis.

[0188] The other emotion polarity label description vectors that are not selected are regarded as "second other emotion polarity label description vectors". These vectors may have little impact on the currently processed emotion polarity label description vector, or are not the main consideration in a specific emotion analysis. However, they are still retained in the algorithm's processing flow for possible subsequent comprehensive analysis or as a comparative reference.

[0189] In general, the purpose of step S2I is to perform targeted processing on the emotion polarity label description vector through screening and classification to improve the accuracy and efficiency of emotion polarity detection. In the application of intelligent digital humans, this screening process helps digital humans to understand and respond to the user's emotional state more accurately, thereby providing more personalized and humane services.

[0190] Step S2II: masking the vector elements of the first other emotion polarity label description vector to obtain the masked first other emotion polarity label description vector.

[0191] Step S2II involves masking the vector elements of the first other emotion polarity label description vector. The core purpose of this step is to adjust or control the influence of specific emotion features in order to more accurately capture and analyze the emotion polarity in the text. Specifically, the computer system performs a masking operation on the first other emotion polarity label description vector screened out in step S2I. This masking is usually achieved by multiplying certain elements in the vector by 0, while leaving other elements unchanged (equivalent to multiplying by 1). In this way, certain emotion features can be selectively emphasized or ignored, thereby more carefully simulating and parsing complex emotional expressions in the text. Suppose that a user expresses a mixed emotion when interacting with a digital person, such as "happy and a little disappointed". In this case, the computer system can identify two main emotion polarity labels, "happy" and "disappointed". In step S2I, the computer system may have screened out the other emotion polarity label description vectors that are most relevant to these two emotions as the first other emotion polarity label description vector.

[0192] After entering step S2II, the computer system performs a masking operation on these first other emotion polarity label description vectors. For example, in order to highlight the emotional characteristics of "disappointment", the computer system can mask the vector elements that are highly related to the emotion of "happiness" and retain or emphasize the elements that are more related to the emotion of "disappointment". The advantage of this is that in the subsequent emotion analysis, the subtle emotional differences in the user's expression can be captured more accurately, and a more appropriate response can be made accordingly.

[0193] By masking vector elements, the algorithm can more flexibly handle complex emotional expressions and improve the accuracy and sensitivity of emotion detection. In the application of intelligent digital humans, this means that digital humans can understand the user's emotional state more accurately, thereby providing more intimate and personalized services.

[0194] Step S2III: Perform feature interaction on the emotion polarity label description vector with the masked first other emotion polarity label description vector and the second other emotion polarity label description vector to obtain a sixth description vector, and perform feature interaction on the emotion polarity label description vector with the knowledge template description vector to obtain a seventh description vector.

[0195] In step S2III, the computer system performs two main feature interaction operations. First, the computer system performs feature interaction on the currently processed emotion polarity label description vector with the masked first other emotion polarity label description vector and the second other emotion polarity label description vector. This interaction can be achieved in a variety of ways, such as weighted fusion. Weighted fusion means that the elements in each vector are assigned different weights according to their importance, and then these vectors are merged into a new description vector, namely the sixth description vector.

[0196] Taking the application scenario of intelligent digital human as an example, assume that the currently processed emotion polarity label description vector represents "surprise". In the previous steps, the computer system may have screened out other emotions related to "surprise", such as "curiosity" and "doubt", as the first other emotion polarity label description vector, and masked it to highlight or weaken certain features. At the same time, there are some emotions with a lower correlation with "surprise", such as "calm" or "pleasure", which are classified as the second other emotion polarity label description vector. In step S2III, the computer system weightedly fuses the vector representing "surprise" with these processed vectors to obtain a sixth description vector that integrates multiple emotional features.

[0197] Secondly, the computer system will also perform feature interaction between the currently processed emotion polarity label description vector and the knowledge template description vector. The knowledge template description vector usually contains prior knowledge or contextual information related to a specific emotion. By weighted fusion of these vectors, the computer system can combine the intrinsic characteristics of the emotion and external knowledge to generate a richer description, namely the seventh description vector.

[0198] For example, in the scenario of intelligent digital humans, the knowledge template description vector may contain information about the common expressions, contexts, or related behavior patterns of the emotion "surprise". By interacting with this knowledge, the computer system can more accurately understand the meaning and expression of the emotion "surprise" in different contexts.

[0199] In general, step S2III integrates information of multiple emotions and knowledge through feature interaction, providing a more comprehensive and accurate description for subsequent emotion analysis and classification. In the application of intelligent digital humans, this feature interaction helps digital humans to understand the user's emotional state more deeply and make more appropriate responses.

[0200] Step S2IV: Based on the sixth description vector and the seventh description vector, obtain the interaction description vector corresponding to the emotion polarity label.

[0201] Step S2IV is about how to obtain the interactive description vector corresponding to the emotion polarity label based on the sixth description vector and the seventh description vector obtained in the previous step. This step integrates information from different sources and levels to form a more comprehensive and accurate emotion description. In step S2IV, the computer system further processes the sixth description vector and the seventh description vector obtained through feature interaction in the previous step. The sixth description vector combines the information of the original emotion polarity label description vector, the first other emotion polarity label description vector after masking, and the second other emotion polarity label description vector. The seventh description vector combines the information of the emotion polarity label description vector and the knowledge template description vector.

[0202] Assume that in the previous step, the computer system has obtained the sixth description vector (combining the information of the user's current emotion and related emotions) and the seventh description vector (combining the information of the user's emotion and prior knowledge) representing the user's emotion through weighted fusion and other methods. In step S2IV, the computer system will further integrate these two description vectors to obtain a more accurate and comprehensive interaction description vector.

[0203] Specifically, the computer system can use a variety of methods to integrate the two vectors, such as weighted fusion again, feature extraction and fusion using deep learning models, etc. In this way, the computer system can capture more dimensional emotional information, including the user's current emotional state, other emotional states related to the user's emotions, and contextual information based on knowledge templates.

[0204] For example, if the user expresses a complex emotion when interacting with the intelligent digital human, such as "happy but a little anxious", then in step S2IV, the computer system will more accurately capture and express this mixed emotion by integrating the information of the sixth description vector and the seventh description vector. The resulting interaction description vector will be able to more comprehensively reflect the user's emotional state, thereby providing a more accurate data basis for subsequent emotional analysis and response.

[0205] In summary, step S2IV is a key link in the training process of the text sentiment polarity detection algorithm. It integrates information from multiple sources to form a more comprehensive and accurate sentiment description vector, providing strong support for subsequent sentiment analysis and classification.

[0206] As an implementation scheme, the step S2IV, obtaining the interaction description vector corresponding to the emotion polarity label based on the sixth description vector and the seventh description vector, may include:

[0207] Merging the sixth description vector and the seventh description vector to obtain an interaction description vector corresponding to the emotion polarity label;

[0208] Alternatively, the sixth description vector is multiplied by the influence coefficient of the fourth description vector defined in advance to obtain a third intermediate description vector; the third intermediate description vector and the seventh description vector are merged to obtain an interaction description vector corresponding to the emotion polarity label; wherein the value range of the influence coefficient of the fourth description vector is [0,1).

[0209] First, the computer system can choose to directly merge the sixth description vector and the seventh description vector, for example, by splicing. This merging method is simple and direct, and can preserve the information in the two vectors intact. Taking the application scenario of the intelligent digital human as an example, it is assumed that the sixth description vector captures the user's current emotional state and other emotional features related to it, while the seventh description vector incorporates contextual information based on the knowledge template. By splicing these two vectors, the computer system can obtain an interactive description vector that contains both the user's current emotional features and contextual information, providing a comprehensive data foundation for subsequent emotional analysis and response.

[0210] In addition, the computer system can also adopt a weighted merging method. Specifically, the computer system will first multiply the sixth description vector with the influence coefficient of the fourth description vector defined in advance to obtain a third intermediate description vector. The value range of this influence coefficient is [0,1), which means that it can adjust the influence of the sixth description vector. In this way, the computer system can flexibly control the weights of the original emotional features and related knowledge in the interactive description vector. For example, in the scenario of a smart digital person, if the system believes that the user's current emotional state is more important, the influence coefficient can be set larger to highlight the role of the sixth description vector; conversely, if the system wants to consider contextual information more, the influence coefficient can be appropriately reduced.

[0211] After obtaining the third intermediate description vector, the computer system merges it with the seventh description vector, such as splicing, to obtain an interaction description vector corresponding to the emotion polarity label. This weighted merging method can adjust their influence according to actual needs while retaining the information of the two vectors, so that the interaction description vector is more in line with specific application scenarios and needs.

[0212] In summary, the implementation scheme of step S2IV provides two methods for merging the sixth description vector and the seventh description vector: direct merging and weighted merging. Both methods can effectively integrate information from different sources to form a more comprehensive and accurate emotional description, providing more accurate emotional analysis and response support for intelligent digital people in page interactive information mining.

[0213] In summary, the present invention provides a page interaction information mining method and system for intelligent digital humans. In the optimization link of the text emotion polarity detection algorithm, the text emotion polarity detection algorithm is used to extract description vectors of text knowledge templates and multiple emotion polarity labels to obtain knowledge template description vectors and multiple emotion polarity label description vectors. For each emotion polarity label description vector, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the multiple emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector. Feature interaction is performed on the interaction description vectors corresponding to each emotion polarity label description vector and the multiple emotion polarity label description vectors to obtain a target interaction description vector. Then, based on the target interaction description vector, multiple emotion polarity labels are estimated for the text knowledge template to obtain estimation information. Based on the estimation information and the template true indication information of the text knowledge template, the algorithm parameters of the text emotion polarity detection algorithm are corrected.

[0214] For each emotion polarity label description vector, when features interact, the focus degree of the emotion polarity label description vector is greater than that of other emotion polarity label description vectors, that is, other emotion polarity label description vectors have a slight influence on the interaction description vector corresponding to the emotion polarity label description vector. For example, when obtaining the interaction description vector, the influence of other emotion polarity label description vectors on the emotion polarity label description vector is reduced. This can improve the reliability and robustness of the optimized text emotion polarity detection algorithm in estimating each emotion polarity label.

[0215] According to one embodiment of the present invention, the program can be executed by running on a general-purpose computer system such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing components and storage components. Figure 2 The computer program (including program code) of each step involved in the corresponding method shown in the embodiment of the present invention is used to implement the page interaction information mining method for intelligent digital people. The above computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above computing device through the computer-readable recording medium and run therein.

[0216] See also Figure 4 , is a schematic diagram of the structure of a computer system provided by an embodiment of the present invention. Figure 4As shown, the above-mentioned computer system 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the above-mentioned computer system 1000 may also include: a user interface 1003, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, the user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device away from the aforementioned processor 1001. As Figure 4 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.

[0217] exist Figure 4 In the computer system 1000 shown, the network interface 1004 can provide network communication functions; the user interface 1003 is mainly used to provide an input interface; and the processor 1001 can be used to call the device control application stored in the memory 1005 to implement the method provided in the above embodiment.

[0218] It should be understood that the computer system 1000 described in the embodiment of the present invention can execute the above Figure 2 The description of the page interaction information mining method for the intelligent digital person in the corresponding embodiment. In addition, the description of the beneficial effects of the same method will not be repeated.

[0219] In addition, it should be pointed out here that: the embodiment of the present invention further provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the processor executes the program instructions, the above-mentioned Figure 2 The description of the above-mentioned page interaction information mining method for intelligent digital people in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in the present invention, please refer to the description of the method embodiment of the present invention.

[0220] As an example, the above program instructions may be deployed on one computer system for execution, or deployed on at least two computer systems at one location for execution, or executed on at least two computer systems distributed at at least two locations and interconnected by a communication network. At least two computer systems distributed at at least two locations and interconnected by a communication network may constitute a blockchain network.

[0221] The computer-readable storage medium may also be an external storage device of the computer system, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer system. Further, the computer-readable storage medium may include both a central storage unit of the computer system and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer system. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0222] The terms "first", "second", etc. in the description, claims and drawings of the embodiments of the present invention are used to distinguish different contents, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules that are not listed, or may optionally include other step units inherent to these processes, methods, devices, products or equipment.

[0223] The embodiment of the present invention further provides a computer program product, including a computer program / instruction, which implements the above-mentioned Figure 2 The description of the above-mentioned page interaction information mining method for intelligent digital people in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the embodiment of the computer program product involved in the present invention, please refer to the description of the embodiment of the method of the present invention.

[0224] 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 herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. 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.

[0225] The method and related apparatus provided by the embodiment of the present invention are described with reference to the method flow chart and / or structural diagram provided by the embodiment of the present invention. Specifically, each process and / or block in the method flow chart and / or structural diagram, as well as the combination of the processes and / or blocks in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable network connection device to generate a machine, so that the instructions executed by the processor of the computer or other programmable network connection device generate instructions for implementing the process in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable network-connected device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable network connected device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 The above disclosure is only the preferred embodiment of the present invention, and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A method for mining page interaction information for intelligent digital people, characterized in that: The method comprises: Using a pre-optimized text emotion polarity detection algorithm to estimate multiple emotion polarity labels for the digital human page interaction text to be detected, and obtaining estimated information corresponding to each emotion polarity label of the digital human page interaction text to be detected; Determining an interaction index of the digital human page interaction text to be detected based on the estimated information corresponding to each of the emotion polarity labels of the digital human page interaction text to be detected, and performing an interaction quality evaluation on the digital human page interaction text to be detected according to the interaction index; The optimization steps of the text emotion polarity detection algorithm include: The text emotion polarity detection algorithm is used to extract description vectors of the text knowledge template and multiple emotion polarity labels, and the knowledge template description vector and multiple emotion polarity label description vectors are obtained accordingly; For each of the emotion polarity label description vectors, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector; when performing feature interaction, the focus degree of the emotion polarity label description vector is greater than the focus degree of the other emotion polarity label description vectors; Perform feature interaction on the interaction description vector corresponding to each of the emotion polarity label description vectors and the multiple emotion polarity label description vectors to obtain a target interaction description vector; Using the text emotion polarity detection algorithm, based on the target interaction description vector, the text knowledge template is estimated for a plurality of emotion polarity labels to obtain estimation information, and according to the estimation information and the template true indication information of the text knowledge template, the algorithm parameter of the text emotion polarity detection algorithm is corrected; Wherein, the number of the knowledge template description vectors is at least 2. After extracting description vectors from the text knowledge template and multiple emotion polarity labels respectively using the text emotion polarity detection algorithm to obtain the knowledge template description vector and multiple emotion polarity label description vectors respectively, the method further includes: For each of the knowledge template description vectors, perform feature interaction between the knowledge template description vector and the plurality of emotion polarity label description vectors to obtain a knowledge template interaction description vector; The estimating the plurality of emotion polarity labels for the text knowledge template based on the target interaction description vector to obtain estimation information includes: Predicting a plurality of emotion polarity labels for the text knowledge template based on the knowledge template interaction description vector and the target interaction description vector to obtain prediction information; Each of the emotion polarity labels includes a corresponding target interaction description vector, and the estimating of a plurality of the emotion polarity labels for the text knowledge template based on the knowledge template interaction description vector and the target interaction description vector to obtain estimation information includes: For each of the emotion polarity labels, the following steps are performed respectively: Performing feature interaction on the target interaction description vector corresponding to the emotion polarity label, the target interaction description vectors corresponding to other emotion polarity labels among the plurality of emotion polarity labels, and the knowledge template interaction description vector to obtain an intermediate interaction description vector; Predicting the emotion polarity label for the text knowledge template based on the intermediate interaction description vector to obtain prediction information corresponding to the emotion polarity label; The emotion polarity label description vector includes a first sub-emotion polarity label description vector and a second sub-emotion polarity label description vector; for each of the emotion polarity label description vectors, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, including: For each of the emotion polarity label description vectors, obtain a multiplication result of a second sub-emotion polarity label description vector of another emotion polarity label description vector in the multiple emotion polarity label description vectors and a predefined second description vector influence coefficient, and obtain a third description vector according to a first sub-emotion polarity label description vector of the emotion polarity label description vector and the multiplication result, wherein the second description vector influence coefficient is less than 0; For each of the emotion polarity label description vectors, perform feature interaction between the first sub-emotion polarity label description vector of the emotion polarity label description vector and the emotion polarity label description vector to obtain a fourth description vector, and perform feature interaction between the first sub-emotion polarity label description vector of the emotion polarity label description vector and the knowledge template description vector to obtain a fifth description vector; Based on the third description vector, the fourth description vector and the fifth description vector, acquiring an interaction description vector corresponding to the emotion polarity label; The acquiring, based on the third description vector, the fourth description vector, and the fifth description vector, an interaction description vector corresponding to the emotion polarity label includes: Merging the third description vector, the fourth description vector and the fifth description vector to obtain an interaction description vector corresponding to the emotion polarity label; Alternatively, the third description vector is multiplied by a third description vector influence coefficient defined in advance to obtain a second intermediate description vector; the second intermediate description vector, the fourth description vector and the fifth description vector are combined to obtain an interaction description vector corresponding to the emotion polarity label, wherein the value range of the third description vector influence coefficient is [0,1); The step of performing feature interaction on the interaction description vector corresponding to each of the emotion polarity label description vectors and the plurality of emotion polarity label description vectors to obtain a target interaction description vector includes: For each of the emotion polarity label description vectors, weighted average or merge the interaction description vector corresponding to the emotion polarity label description vector and the emotion polarity label description vector to obtain a target interaction description vector corresponding to the emotion polarity label description vector; The estimating the plurality of emotion polarity labels for the text knowledge template based on the target interaction description vector to obtain estimation information includes: For each of the emotion polarity labels, the emotion polarity label is estimated for the text knowledge template based on the target interaction description vector corresponding to the emotion polarity label to obtain estimation information corresponding to the emotion polarity label; The number of the emotion polarity label description vectors is not less than 3, and for each of the emotion polarity label description vectors, the emotion polarity label description vector is subjected to feature interaction with other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, including: For each of the emotion polarity label description vectors, a target number of other emotion polarity label description vectors are screened out from a plurality of other emotion polarity label description vectors in the plurality of emotion polarity label description vectors as first other emotion polarity label description vectors, and the remaining other emotion polarity label description vectors in the plurality of other emotion polarity label description vectors are used as second other emotion polarity label description vectors; Masking the first other emotion polarity label description vector by vector elements to obtain the masked first other emotion polarity label description vector; Performing feature interaction on the emotion polarity label description vector, the masked first other emotion polarity label description vector, and the second other emotion polarity label description vector to obtain a sixth description vector, and performing feature interaction on the emotion polarity label description vector and the knowledge template description vector to obtain a seventh description vector; Merging the sixth description vector and the seventh description vector to obtain an interaction description vector corresponding to the emotion polarity label; Alternatively, the sixth description vector is multiplied by the influence coefficient of the fourth description vector defined in advance to obtain a third intermediate description vector; the third intermediate description vector and the seventh description vector are merged to obtain an interaction description vector corresponding to the emotion polarity label; wherein the value range of the influence coefficient of the fourth description vector is [0,1).

2. The method according to claim 1, characterized in that For each of the emotion polarity label description vectors, performing feature interaction between the emotion polarity label description vector and other emotion polarity label description vectors in the plurality of emotion polarity label description vectors and the knowledge template description vector to obtain an interaction description vector, including: The following steps are performed for each emotion polarity label description vector corresponding to the emotion polarity label: Masking vector elements of other emotion polarity label description vectors among the plurality of emotion polarity label description vectors to obtain masked other emotion polarity label description vectors; Performing feature interaction between the masked other emotion polarity label description vector and the emotion polarity label description vector to obtain a first description vector, and performing feature interaction between the emotion polarity label description vector and the knowledge template description vector to obtain a second description vector; Based on the first description vector and the second description vector, an interaction description vector corresponding to the emotion polarity label is obtained.

3. The method according to claim 2, characterized in that The acquiring, based on the first description vector and the second description vector, an interaction description vector corresponding to the emotion polarity label includes: Merging the first description vector and the second description vector to obtain an interaction description vector corresponding to the emotion polarity label; Alternatively, the first description vector is multiplied by a first description vector influence coefficient defined in advance to obtain a first intermediate description vector; the first intermediate description vector and the second description vector are merged to obtain an interaction description vector corresponding to the emotion polarity label, wherein the value range of the first description vector influence coefficient is [0,1).

4. A computer system, characterized in that: include: processor; and a memory, wherein the memory stores a computer-readable code, and when the computer-readable code is executed by the processor, the processor executes the method as claimed in any one of claims 1 to 3.