Application score determination method and device, program product and electronic equipment
By converting review texts into vectors and inputting them into the semantic segmentation network model, the problem of low efficiency in traditional methods is solved and more accurate application scoring and user experience information understanding are achieved.
Patent Information
- Application Number
- CN202410780112.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, tags of review texts are obtained based on traditional manual annotation methods, which results in low efficiency of scoring determination in software applications and inability to accurately capture contextual information in long texts.
By converting the review text in the review data into vector form, a target matrix is generated and input into the pre-trained semantic segmentation network model for analysis. User tags are extracted to characterize the user experience, and then the application rating is determined.
It improves the overall understanding and analysis efficiency of long text user experience information, solves the problem of low efficiency of traditional methods, and achieves more accurate application scoring.
Smart Images

Figure CN118569728A
Abstract
Description
Technical Field
[0001] The present application relates to the fields of big data, financial technology and other related technical fields, and more specifically, to a method, device, program product and electronic device for determining an application score. Background Art
[0002] In the prior art, software applications are rated to provide feedback on the comprehensive experience of the user group corresponding to the software application, which has become a common means of ranking software applications. In the prior art solution, the rating results of the software application are usually obtained by comprehensively analyzing the pre-acquired review data set of multiple users on the software application. However, due to the large amount of text data in the review data set, when processing long texts through traditional analysis methods, due to the lack of comprehensive understanding of the contextual information in the long text, the traditional analysis methods often cannot accurately capture the user experience information in the review data, resulting in the problem of low efficiency in analyzing the review data, which in turn causes the technical problem of low efficiency in determining the rating of the software application in the prior art.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The present application provides a method, device, program product and electronic device for determining an application rating, so as to at least solve the technical problem of low efficiency in determining the application rating caused by obtaining labels of review texts based on traditional manual annotation methods in the prior art.
[0005] According to one aspect of the present application, a method for determining an application rating is provided, comprising: obtaining review data of a target application, wherein the review data includes at least L review texts of the target application, where L is a positive integer; converting the L review texts in the review data into L target text vectors, and generating a target matrix based on the L target text vectors; inputting the target matrix into a target model to obtain a user label corresponding to each of the L review texts, wherein the user label is used to characterize the user experience of a user who submits the review text when using the target application, and the target model is a semantic segmentation network model trained based on historical review data of M applications, where M is a positive integer; determining a target rating of the target application based on the L user labels corresponding to the L review texts, wherein the target rating is used to characterize the comprehensive user experience of all users who have used the target application.
[0006] Optionally, the method for determining the application score also includes: obtaining a first text vector corresponding to each comment text in L comment texts, wherein the first text vector is used to characterize the frequency of each word appearing in the comment text; taking the first text vector with the largest vector length in the L first text vectors as the longest text vector; and performing an updating operation on the L first text vectors based on the vector length of the longest text vector to obtain L target text vectors, wherein the updating operation is used to unify the vector lengths of the L first text vectors.
[0007] Optionally, the method for determining the application score also includes: obtaining L-1 first text vectors excluding the longest text vector from the L first text vectors; taking the difference between the vector length of each first text vector in the L-1 first text vectors and the vector length of the longest text vector as the target difference corresponding to the first text vector; inserting a corresponding number of zero elements of the target difference into each first text vector to obtain a second text vector corresponding to the first text vector; taking the L-1 second text vectors corresponding to the L-1 first text vectors and the longest text vector as L target text vectors.
[0008] Optionally, the method for determining the application score also includes: performing feature extraction on each target text vector of the L target text vectors included in the target matrix through a target model to obtain a first feature of the target text vector, wherein the first feature is used to characterize keyword information in the comment text corresponding to the target text vector; obtaining an association vector corresponding to each target text vector, wherein the association vector corresponding to each target text vector is a vector in the target matrix that has a contextual connection with the target text vector; performing feature extraction on the association vector corresponding to each target text vector to obtain a second feature of the target text vector, wherein the second feature is used to characterize keyword information in the comment text corresponding to the association vector; and determining a user label of the comment text corresponding to each target text vector based on the first feature and the second feature corresponding to the target text vector.
[0009] Optionally, the method for determining the application score also includes: determining a first frequency corresponding to each target text vector based on the first feature and the second feature corresponding to the target text vector, wherein the first frequency is used to represent the frequency of occurrence of a first keyword in the keyword information represented by the first feature and the second feature; determining a second frequency corresponding to each target text vector based on the first feature and the second feature corresponding to the target text vector, wherein the second frequency is used to represent the frequency of occurrence of a second keyword in the keyword information represented by the first feature and the second feature, and the second keyword is a keyword with opposite semantics to the first keyword; determining a user label for the target text vector based on the first frequency and the second frequency corresponding to the target text vector.
[0010] Optionally, the method for determining the application score also includes: judging whether the first frequency corresponding to each target text vector is greater than a preset threshold; when the first frequency corresponding to each target text vector is greater than the preset threshold, determining that the user tag of the target text vector is a first user tag, wherein the first user tag is used to characterize that the user experience corresponding to the user who submitted the comment text is greater than a first preset experience; when the first frequency corresponding to each target text vector is less than or equal to the preset threshold, judging whether the second frequency corresponding to the target text vector is greater than the preset threshold; when the second frequency corresponding to each target text vector is greater than the preset threshold, determining that the user tag of the target text vector is a second user tag, wherein the second user tag is used to characterize that the user experience corresponding to the user who submitted the comment text is less than a second preset experience, and the second preset experience is less than the first preset experience; when the second frequency corresponding to each target text vector is less than or equal to the preset threshold, determining that the user tag of the target text vector is a third user tag, wherein the third user tag is used to characterize that the user experience corresponding to the user who submitted the comment text is greater than or equal to the second preset experience and less than or equal to the first preset experience.
[0011] Optionally, the training step of the target model includes: generating M historical matrices based on the historical comment data of M applications, wherein the M historical matrices correspond one-to-one to the historical comment data of the M applications; obtaining a training label corresponding to each historical vector in the L historical vectors included in each historical matrix, wherein each historical vector is used to represent a historical comment text in the historical comment data, and the training label corresponding to each historical vector is used to represent the user experience of the user who submitted the historical comment text when using the application; using the M historical matrices and the training labels corresponding to the historical vectors as training samples, and inputting them into the initial model, wherein the initial model is a semantic segmentation model including N neural network layers, and N is a positive integer; iteratively updating the network parameters of each of the N neural network layers through the training samples until the model parameters of the model obtained by the last update are greater than or equal to the preset parameter threshold.
[0012] Optionally, the method for determining the application score also includes: controlling the training sample to perform forward propagation in each of the N neural network layers to obtain the output result of each neural network layer; determining the loss function corresponding to the neural network layer based on the output result of each neural network layer and the training label corresponding to each historical vector included in the training sample, wherein the loss function is used to determine the gap value between the output result of the neural network layer and the actual result represented by the training label corresponding to each historical vector; performing back propagation in each of the N neural network layers based on the chain rule, and determining the gradient corresponding to the neural network layer according to the loss function corresponding to the neural network layer, wherein the gradient is used to characterize the partial derivative of the loss function of the neural network layer with respect to the network parameters of the neural network layer; and updating the network parameters of each neural network layer according to the gradient corresponding to the neural network layer based on the gradient descent algorithm.
[0013] According to another aspect of the present application, a device for determining an application score is also provided, including: a first acquisition unit, used to acquire comment data of a target application, wherein the comment data includes at least L comment texts of the target application, where L is a positive integer; a conversion unit, used to convert the L comment texts in the comment data into L target text vectors, and generate a target matrix based on the L target text vectors; an input unit, used to input the target matrix into a target model to obtain a user label corresponding to each of the L comment texts, wherein the user label is used to characterize the user experience of a user who submits the comment text when using the target application, and the target model is a semantic segmentation network model trained based on historical comment data of M applications, where M is a positive integer; a first determination unit, used to determine a target score of the target application based on the L user labels corresponding to the L comment texts, wherein the target score is used to characterize the comprehensive user experience of all users who have used the target application.
[0014] According to another aspect of the present application, a computer program product is provided, in which a computer program is stored, wherein when the computer program is running, the computer program product is controlled to execute any one of the above-mentioned methods for determining an application score.
[0015] According to another aspect of the present application, an electronic device is also provided, wherein the electronic device includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any of the above-mentioned methods for determining an application score.
[0016] In the present application, the review data of the target application is first obtained, wherein the review data includes at least L review texts of the target application, where L is a positive integer. Then, the L review texts in the review data are converted into L target text vectors, and a target matrix is generated based on the L target text vectors. Then, the target matrix is input into the target model to obtain a user label corresponding to each of the L review texts, wherein the user label is used to characterize the user experience of the user who submitted the review text when using the target application. The target model is a semantic segmentation network model trained based on historical review data of M applications, where M is a positive integer. Furthermore, the target score of the target application is determined based on the L user labels corresponding to the L review texts, wherein the target score is used to characterize the comprehensive user experience of all users who have used the target application.
[0017] From the above content, it can be seen that after obtaining the long text representing the comment data of multiple users (i.e., the comment data of the target application), the present application does not directly analyze the long text, but converts each comment text included in the comment data of the target application into a vector form, and the present application uses the converted multiple vectors (i.e., L target text vectors) to form a target matrix. Thereafter, the target matrix is input into the pre-trained semantic segmentation model for processing. Compared with the method of directly performing user experience analysis on the content of the long text in the prior art, the present application achieves the purpose of reducing the amount of data to be subsequently analyzed by the semantic segmentation model by converting the long text into a vector matrix.
[0018] In addition, during the processing of long texts by the semantic segmentation model, the present application analyzes each target text vector in the target matrix through the semantic segmentation model to obtain the user label of the comment text corresponding to each target text vector. That is, the semantic segmentation model achieves the purpose of better understanding the contextual information in the long text by performing pixel-level segmentation on the long text, thereby improving the overall understanding ability of the present application of the user experience information included in the long text.
[0019] It can be seen that the present application improves the speed of determining the user label corresponding to each comment text by performing information analysis on the target matrix corresponding to the long text based on the target model. At the same time, it achieves the purpose of improving the efficiency of analyzing the comment data, thereby achieving the technical effect of improving the efficiency of determining the application rating, and further solves the technical problem of low efficiency in determining the application rating caused by obtaining the labels of the comment text based on the traditional manual annotation method in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0021] Figure 1 is a flowchart of an optional method for determining an application score according to an embodiment of the present application;
[0022] Figure 2 is a flowchart of an optional method for determining a user tag corresponding to a comment text according to an embodiment of the present application;
[0023] Figure 3 is a flowchart of an optional method for updating network parameters of a neural network layer in a model according to an embodiment of the present application;
[0024] Figure 4 is a schematic diagram of an optional device for determining an application score according to an embodiment of the present application;
[0025] Figure 5 is a schematic diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] It should also be noted that the relevant information (including but not limited to information for display and analysis) and data (including but not limited to comment data of the target application) involved in this application are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set up between this system and the relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0029] In addition, the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant information and data involved in this application comply with the relevant laws, regulations and standards of the relevant regions, and necessary confidentiality measures have been taken and do not violate public order and good morals. In addition, this application provides corresponding operation entrances for users to choose to agree to authorization or refuse authorization. If the user chooses to refuse authorization, he / she will enter the corresponding expert decision-making process.
[0030] According to an embodiment of the present application, an embodiment of a method for determining an application score is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0031] In the optional embodiments of the present application, the definitions of the key terms involved are as follows:
[0032] Traditional analysis methods: Traditional analysis methods mainly rely on traditional machine learning methods, including dictionary methods and machine learning classification methods. Among them, the dictionary method is based on a preset dictionary and is a method of judging the user experience by counting the number of words that represent different semantics in the text. Machine learning classifiers can use classification algorithms such as support vector machines (SVM), naive Bayes, or decision trees to classify text labels through training models.
[0033] Deep learning methods: In recent years, deep learning methods have achieved remarkable results in the field of text analysis. Among them, recurrent neural networks, long short-term memory networks, and convolutional neural networks are widely used. For example, recurrent neural networks (RNNs) can capture temporal information in texts, but they are limited in long-term dependencies and gradient vanishing problems. Long short-term memory networks (LSTMs) effectively solve the long-term dependency problem of RNNs by introducing memory units. Convolutional neural networks (CNNs) perform well in image processing and have also been successfully applied to text classification. These deep learning methods have improved the performance of text analysis to a certain extent, but still face some challenges, such as complex structures in texts and multi-level semantic understanding.
[0034] Attention mechanism: The attention mechanism is widely used in text processing tasks. By introducing the attention mechanism, the model can focus more on the important parts of the text and improve the processing effect of long texts.
[0035] BERT (Bidirectional Encoder Representations from Transformers) model: BERT is a pre-trained deep learning model that can better capture contextual information through a bidirectional attention mechanism. In text analysis, the fine-tuning BERT model can achieve excellent performance.
[0036] The present application provides a system for determining an application score (hereinafter referred to as a determination system) for executing the method for determining an application score in the present application. Figure 1 is a flowchart of an optional method for determining an application score according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0037] Step S101, obtaining comment data of a target application.
[0038] In step S101 , the review data includes at least L review texts of the target application, where L is a positive integer.
[0039] Optionally, when the technical solution of the present application is applied to the field of financial technology, the target application is a software application developed by a financial institution, and the L review texts are user reviews fed back by a user group corresponding to the target application.
[0040] Optionally, after the determination system obtains the original text of the comment data, it is necessary to perform a data cleaning operation on the original text of the comment data to remove HTML (Hyper Text Markup Language) tags, stop words and repeated content in the original text, thereby reducing the amount of comment data that the subsequent determination system needs to process.
[0041] Step S102: convert L comment texts in the comment data into L target text vectors, and generate a target matrix based on the L target text vectors.
[0042] Optionally, the determination system can convert each comment text into a corresponding target text vector by word frequency analysis. For example, the determination system first performs word segmentation processing on the i-th comment text, dividing it into individual words or phrases, and then the determination system counts the frequency of occurrence of each word in the i-th comment text, and then the determination system generates a target text vector corresponding to the i-th comment text based on the frequency of occurrence of each word in the i-th comment text.
[0043] Optionally, the determination system further achieves the purpose of reducing the amount of data that needs to be analyzed by the target model in the determination system by converting the comment text into a vector form, thereby improving the analysis efficiency of the target model.
[0044] Step S103, inputting the target matrix into the target model to obtain the user label corresponding to each comment text in the L comment texts.
[0045] In step S103, the user tag is used to characterize the user experience of the user who submitted the review text when using the target application. The target model is a semantic segmentation network model trained based on historical review data of M applications, where M is a positive integer.
[0046] Optionally, the semantic segmentation network model includes the following key components:
[0047] (1) Embedding layer: used to convert text into dense embedding representations that capture the semantic relationships between words.
[0048] (2) Multi-layer convolutional neural network: used to extract feature information from model input data through filters (convolution kernels).
[0049] (3) Attention mechanism component: It is used to enable the network to focus on the important parts of the text based on the attention mechanism, thereby improving the target model's attention to the key information in the comment text.
[0050] (4) Decoding layer: used to perform semantic segmentation through the deconvolution layer, dividing the text into semantic units. The deconvolution layer is also called the transposed convolution layer or the upsampling layer. The deconvolution layer can expand the dimension of the model input data. The deconvolution layer is usually used to implement upsampling operations or transposed convolution operations to complete tasks such as feature map recovery, image generation, and semantic segmentation in the neural network model.
[0051] Step S104: determining a target rating of the target application based on the L user tags corresponding to the L comment texts.
[0052] In step S104, the target score is used to represent the comprehensive user experience of all users who have used the target application.
[0053] Optionally, if the tag type of each user tag in the L user tags is different, the preset score corresponding to the user tag is also different. The determination system can determine the target score of the target application by weighted summing the preset score of each user tag in the L user tags.
[0054] From the above content, it can be seen that after obtaining the long text representing the comment data of multiple users (i.e., the comment data of the target application), the present application does not directly analyze the long text, but converts each comment text included in the comment data of the target application into a vector form, and the present application uses the converted multiple vectors (i.e., L target text vectors) to form a target matrix. Thereafter, the target matrix is input into the pre-trained semantic segmentation model for processing. Compared with the method of directly performing user experience analysis on the content of the long text in the prior art, the present application achieves the purpose of reducing the amount of data to be subsequently analyzed by the semantic segmentation model by converting the long text into a vector matrix.
[0055] In addition, during the processing of long texts by the semantic segmentation model, the present application analyzes each target text vector in the target matrix through the semantic segmentation model to obtain the user label of the comment text corresponding to each target text vector. That is, the semantic segmentation model achieves the purpose of better understanding the contextual information in the long text by performing pixel-level segmentation on the long text, thereby improving the overall understanding ability of the present application of the user experience information included in the long text.
[0056] It can be seen that the present application improves the speed of determining the user label corresponding to each comment text by performing information analysis on the target matrix corresponding to the long text based on the target model. At the same time, it achieves the purpose of improving the efficiency of analyzing the comment data, thereby achieving the technical effect of improving the efficiency of determining the application rating, and further solves the technical problem of low efficiency in determining the application rating caused by obtaining the labels of the comment text based on the traditional manual annotation method in the prior art.
[0057] In an optional embodiment, the determination system first obtains the first text vector corresponding to each comment text in L comment texts, wherein the first text vector is used to characterize the frequency of each word appearing in the comment text. Then, the determination system takes the first text vector with the largest vector length among the L first text vectors as the longest text vector. Finally, the determination system performs an update operation on the L first text vectors based on the vector length of the longest text vector to obtain L target text vectors, wherein the update operation is used to unify the vector length of the L first text vectors.
[0058] Optionally, the determination system unifies the vector lengths of the L first text vectors by performing an update operation on the L first text vectors based on the vector length of the longest text vector, thereby achieving the following technical effects:
[0059] (1) Convenient operations between vectors: When the lengths of vectors are unified, addition, subtraction, multiplication and division operations can be easily performed between vectors without the need for additional processing or conversion.
[0060] (2) Easier to understand and compare: Vectors of uniform length are easier to compare and understand because their structure and form are more consistent.
[0061] (3) Convenient data processing and analysis: In data processing and analysis, vectors of uniform length can more conveniently perform operations such as statistics, modeling, and prediction.
[0062] (4) Reduce errors and confusion: Vectors of uniform length can reduce errors and confusion caused by inconsistent lengths, thereby improving the accuracy and reliability of the data.
[0063] (5) Easy to visualize and display: Vectors of uniform length are easier to present during visualization and display, and can effectively convey information and ideas.
[0064] In an optional embodiment, the determination system first obtains L-1 first text vectors excluding the longest text vector among the L first text vectors. Secondly, the determination system uses the difference between the vector length of each first text vector among the L-1 first text vectors and the vector length of the longest text vector as the target difference corresponding to the first text vector. Thereafter, the determination system inserts a corresponding number of zero elements of the target difference into each first text vector to obtain the second text vector corresponding to the first text vector. Finally, the determination system uses the L-1 second text vectors corresponding to the L-1 first text vectors and the longest text vector as L target text vectors.
[0065] Optionally, based on the above embodiments, it can be known that the determination system achieves the purpose of updating the vector length of each first text vector in the vector of L-1 first text vectors to be consistent with the vector length of the longest text vector by inserting zero elements into the first text vector that is smaller than the vector length of the longest text vector, thereby ensuring that the vector lengths of the L target text vectors obtained by the determination system are consistent.
[0066] Optionally, the determination system can also achieve the purpose of ensuring that the vector lengths of the L target text vectors are consistent by the following methods, including:
[0067] (1) Adding a zero vector: For a vector with insufficient length, the system is able to increase the length of the vector by adding a zero vector at the end of the vector so that the vector length of the vector is equal to the preset vector length.
[0068] (2) Truncated vector: For a vector that is too long, the system is able to shorten the length of the vector by truncating the vector so that the vector length is equal to the preset vector length.
[0069] In an optional embodiment, Figure 2is a flowchart of a method for determining a user tag corresponding to an optional comment text according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0070] Step S201 , extracting features from each target text vector in the L target text vectors included in the target matrix through a target model to obtain a first feature of the target text vector.
[0071] In step S201, the first feature is used to characterize keyword information in the comment text corresponding to the target text vector.
[0072] Optionally, after the target matrix is input into the target model, feature extraction is performed on each target text vector in the target matrix through the multi-layer convolutional neural network in the target model to obtain the first feature of each target text vector, and the first feature is used to characterize the keyword information in the comment text corresponding to the target text vector, thereby achieving the purpose of improving the sensitivity of the target model to analyzing the keyword information in the comment text.
[0073] Step S202, obtaining the associated vector corresponding to each target text vector.
[0074] In step S202, the association vector corresponding to each target text vector is a vector in the target matrix that has a contextual connection with the target text vector.
[0075] Optionally, before obtaining the association vector corresponding to each target text vector, the determination system performs a transpose convolution operation on the target matrix through a deconvolution layer in the target model to obtain a high-dimensional target matrix of a higher dimension, wherein the high-dimensional target matrix includes the association vector corresponding to each target text vector. Thereafter, the determination system obtains a second feature corresponding to each target text vector by performing feature extraction on the association vector included in the high-dimensional target matrix.
[0076] Step S203: extracting features from the associated vector corresponding to each target text vector to obtain a second feature of the target text vector.
[0077] In step S203, the second feature is used to characterize the keyword information in the comment text corresponding to the association vector.
[0078] Step S204 , determining a user label of the comment text corresponding to each target text vector according to the first feature and the second feature corresponding to the target text vector.
[0079] Optionally, the determination system can determine the user tag of the comment text corresponding to each target text vector based on the keyword information represented by the first feature and the second feature corresponding to the target text vector.
[0080] Optionally, after feature learning is completed (i.e., after obtaining the first feature and the second feature), the target model will use operations such as upsampling or transposed convolution to restore the size of the feature map (i.e., the dimension of the target matrix) to the size of the original input image (i.e., the dimension of the high-dimensional target matrix including the associated vector). In the current process, the target model achieves the purpose of gradually mapping features to pixel-level outputs.
[0081] In an optional embodiment, the determination system first determines the first frequency corresponding to each target text vector based on the first feature and the second feature corresponding to the target text vector, wherein the first frequency is used to characterize the frequency of occurrence of the first keyword in the keyword information represented by the first feature and the second feature. Secondly, the determination system determines the second frequency corresponding to each target text vector based on the first feature and the second feature corresponding to the target text vector, wherein the second frequency is used to characterize the frequency of occurrence of the second keyword in the keyword information represented by the first feature and the second feature, and the second keyword is a keyword with opposite semantics to the first keyword. Then, the determination system determines the user label of the target text vector based on the first frequency and the second frequency corresponding to each target text vector.
[0082] Optionally, the first keyword is a keyword that represents that the user experience is in an improved state when the user who submits the corresponding comment text uses the target application; the second keyword is a keyword that represents that the user experience is in a decreased state when the user who submits the corresponding comment text uses the target application.
[0083] In an optional embodiment, the determination system first determines whether the first frequency corresponding to each target text vector is greater than a preset threshold value. Then, when the first frequency corresponding to each target text vector is greater than the preset threshold value, the determination system determines that the user label of the target text vector is a first user label, wherein the first user label is used to characterize that the user experience corresponding to the user who submitted the comment text is greater than a first preset experience degree. Thereafter, when the first frequency corresponding to each target text vector is less than or equal to the preset threshold value, the determination system determines whether the second frequency corresponding to the target text vector is greater than the preset threshold value.
[0084] Furthermore, when the second frequency corresponding to each target text vector is greater than a preset threshold, the determination system determines that the user label of the target text vector is a second user label, wherein the second user label is used to characterize that the user experience corresponding to the user who submitted the comment text is less than a second preset experience, and the second preset experience is less than the first preset experience. Thereafter, when the second frequency corresponding to each target text vector is less than or equal to the preset threshold, the determination system determines that the user label of the target text vector is a third user label, wherein the third user label is used to characterize that the user experience corresponding to the user who submitted the comment text is greater than or equal to the second preset experience and less than or equal to the first preset experience.
[0085] Optionally, it is determined that the tag types of the user tags in the system include a first user tag, a second user tag, and a third user tag.
[0086] From the above content, it can be seen that the determination system achieves the purpose of determining the label type of the user label corresponding to the target text vector based on the judgment result by judging the size of the first frequency and the second frequency corresponding to each target text vector. The above-mentioned method of comparing numerical values is easy to implement, thereby achieving the technical effect of improving the target model to determine the label type of the user label corresponding to the target text vector, and further achieving the technical effect of improving the subsequent target model to determine the target score of the target application according to the user label corresponding to each target text vector.
[0087] In an optional embodiment, during the training of the target model, the determination system first generates M historical matrices based on the historical comment data of M applications, wherein the M historical matrices correspond one-to-one to the historical comment data of the M applications. Then, the determination system obtains the training label corresponding to each historical vector in the L historical vectors included in each historical matrix, wherein each historical vector is used to represent a historical comment text in the historical comment data, and the training label corresponding to each historical vector is used to represent the user experience of the user who submitted the historical comment text when using the application. Then, the determination system uses the M historical matrices and the training labels corresponding to the historical vectors as training samples and inputs them into the initial model, wherein the initial model is a semantic segmentation model including N neural network layers, and N is a positive integer. Finally, the determination system iteratively updates the network parameters of each of the N neural network layers through the training samples until the model parameters of the model obtained by the last update are greater than or equal to the preset parameter threshold.
[0088] Optionally, the above model parameters include: recall rate, precision rate and F1 score, wherein the recall rate focuses on the model's coverage of positive samples, that is, the model's ability to detect all true positive samples; the precision rate focuses on the accuracy of the model in predicting positive categories, that is, how many of the positive samples predicted by the model are true positive samples; the F1 score is the harmonic mean of the recall rate and the precision rate, and the F1 score comprehensively considers the recall rate and the precision rate of the model.
[0089] Optionally, the calculation formula of the recall rate is as shown in the following formula (1):
[0090]
[0091] In the above formula (1), TP (True Positive) is the number of true positive examples, and FN (False Negative) is the number of false negative examples. For example, if the target model can correctly find 80 positive examples out of 100 positive examples, the recall rate of the target model is 80%.
[0092] Optionally, a true positive example refers to the number of samples of a positive class that are correctly predicted by the target model as samples of the positive class, and a false negative example refers to the number of samples of a positive class that are incorrectly predicted by the target model as samples of the negative class.
[0093] Optionally, the calculation formula of the accuracy is shown in the following formula (2):
[0094]
[0095] In the above formula (2), FP (False Positive) is the number of false positive examples, which refers to the number of negative class samples that are incorrectly predicted as positive class samples by the target model.
[0096] Optionally, the calculation formula of the accuracy is shown in the following formula (3):
[0097]
[0098] In the above formula (3), the value range of the F1 score is between 0 and 1. The higher the F1 score value, the better the performance of the target model.
[0099] Optionally, the determination system can optimize the above model parameters by the following methods, including:
[0100] (1) Hyperparameter tuning: Use cross-validation or a separate validation set to try different hyperparameter combinations, such as learning rate, regularization parameter, model complexity, etc. For each hyperparameter combination, evaluate the performance of the model on the validation set and select the best performing hyperparameter combination.
[0101] (2) Feature selection and feature engineering: Feature selection is performed on the validation set. By trying to add, delete, or transform features, features that have a positive impact on model performance are selected. Use the validation set to evaluate the effects of different feature engineering methods, such as using more complex feature transformations, feature combinations, etc.
[0102] (3) Model selection: Evaluate the performance of different models on the validation set, including different algorithms, model structures, ensemble methods, etc. Select the model that performs best on the validation set, or use model selection methods (such as grid search, random search) to determine the optimal model.
[0103] (4) Threshold selection: Try different classification thresholds on the validation set, observe the changes in model parameters, and select a classification threshold that can balance recall and precision and performs well on the validation set.
[0104] (5) Model interpretation and error analysis: Analyze the samples where the model predicts errors on the validation set to understand the situations in which the model is prone to errors. Based on the analysis results, adjust the model parameters, feature engineering methods, or perform more in-depth feature engineering.
[0105] (6) Cross-validation: Use cross-validation to evaluate the performance of the model. Divide the data into multiple subsets and use one of the subsets as the validation set and the rest as the training set in turn. The validation results of each subset are averaged to obtain a more reliable performance evaluation.
[0106] (7) Model integration: Evaluate the performance of different models on the validation set and try to use model integration methods such as voting and stacking. Combine the prediction results of multiple models and select the model integration method with the best performance.
[0107] (8) Early stopping strategy: Use the validation set to monitor the performance of the model. When the performance of the model parameters on the validation set no longer improves, stop the model training in time to avoid overfitting.
[0108] In an optional embodiment, Figure 3 is a flowchart of an optional method for updating network parameters of a neural network layer in a model according to an embodiment of the present application, such as Figure 3 As shown, in the process of iteratively updating the network parameters of each neural network layer in N neural network layers through training samples, the method includes the following steps:
[0109] Step S301, controlling the training sample to perform forward propagation in each of the N neural network layers to obtain the output result of each neural network layer.
[0110] Optionally, the calculation formula for the output result of each neural network layer is shown in the following formula (4):
[0111]
[0112] In the above formula (4), z (l) is the linear combination of the lth neural network layer in N neural network layers, a (l) is the output after being processed by the activation function f, W (l) and b (l) are the weight and bias of the lth neural network layer, a (0) is the input data of the target model.
[0113] Step S302, determining the loss function corresponding to each neural network layer based on the output result of each neural network layer and the training label corresponding to each historical vector included in the training sample.
[0114] In step S302, the loss function is used to determine the gap value between the output result of the neural network layer and the actual result represented by the training label corresponding to each history vector.
[0115] Optionally, the loss function can be a function of various forms, common ones include mean square error and cross entropy loss.
[0116] Step S303, performing back propagation in each of the N neural network layers based on the chain rule, and determining the gradient corresponding to each neural network layer according to the loss function corresponding to the neural network layer.
[0117] In step S303, the gradient is used to characterize the partial derivative of the loss function of the neural network layer with respect to the network parameters of the neural network layer.
[0118] Optionally, after obtaining the loss functions of all neural network layers, use the chain rule to go in the reverse direction of the network.
[0119] (l)
[0120] Path calculation gradient, taking the lth layer of neural network as an example, calculate the output a of the lth layer of neural network layer to the lth layer
[0121] (l)
[0122] The partial derivative of the input z of the neural network layer And the loss function of the lth neural network layer is
[0123] (l)
[0124] Partial derivatives of the neural network layer with respect to its input z
[0125] Optionally, according to the chain rule, the loss function of the l-th neural network layer can be obtained for the weight W of the l-th neural network layer: (l) and bias b (l) The partial derivative of .
[0126] Step S304, based on the gradient descent algorithm, the network parameters of each neural network layer are updated according to the gradient corresponding to the neural network layer.
[0127] Optionally, taking the lth neural network layer as an example, the determination system can generally use the following formula (5) to update the network parameters in the lth neural network layer:
[0128]
[0129] In the above formula (5), α is the learning rate of the l-th neural network layer, and J is the loss function of the l-th neural network layer.
[0130] Optionally, the determination system repeats the forward propagation, loss calculation, back propagation and parameter update steps until a convergence condition is met, where the model reaches a predetermined number of training rounds or the loss function converges.
[0131] In the present application, the review data of the target application is first obtained, wherein the review data includes at least L review texts of the target application, where L is a positive integer. Then, the L review texts in the review data are converted into L target text vectors, and a target matrix is generated based on the L target text vectors. Then, the target matrix is input into the target model to obtain a user label corresponding to each of the L review texts, wherein the user label is used to characterize the user experience of the user who submitted the review text when using the target application. The target model is a semantic segmentation network model trained based on historical review data of M applications, where M is a positive integer. Furthermore, the target score of the target application is determined based on the L user labels corresponding to the L review texts, wherein the target score is used to characterize the comprehensive user experience of all users who have used the target application.
[0132] From the above content, it can be seen that after obtaining the long text representing the comment data of multiple users (i.e., the comment data of the target application), the present application does not directly analyze the long text, but converts each comment text included in the comment data of the target application into a vector form, and the present application uses the converted multiple vectors (i.e., L target text vectors) to form a target matrix. Thereafter, the target matrix is input into the pre-trained semantic segmentation model for processing. Compared with the method of directly performing user experience analysis on the content of the long text in the prior art, the present application achieves the purpose of reducing the amount of data to be subsequently analyzed by the semantic segmentation model by converting the long text into a vector matrix.
[0133] In addition, during the processing of long texts by the semantic segmentation model, the present application analyzes each target text vector in the target matrix through the semantic segmentation model to obtain the user label of the comment text corresponding to each target text vector. That is, the semantic segmentation model achieves the purpose of better understanding the contextual information in the long text by performing pixel-level segmentation on the long text, thereby improving the overall understanding ability of the present application of the user experience information included in the long text.
[0134] It can be seen that the present application improves the speed of determining the user label corresponding to each comment text by performing information analysis on the target matrix corresponding to the long text based on the target model. At the same time, it achieves the purpose of improving the efficiency of analyzing the comment data, thereby achieving the technical effect of improving the efficiency of determining the application rating, and further solves the technical problem of low efficiency in determining the application rating caused by obtaining the labels of the comment text based on the traditional manual annotation method in the prior art.
[0135] In summary, the technical solutions of this application can solve the following technical problems:
[0136] (1) Context understanding problem: When processing long texts based on traditional analysis methods, the traditional analysis methods lack a comprehensive understanding of the context information included in the long texts, and thus cannot accurately capture the user experience information included in the context. This application introduces a semantic segmentation network to achieve pixel-level segmentation of the text, thereby achieving the purpose of better understanding the context structure and improving the overall understanding ability of the technical solution of this application on the user experience information included in the long texts.
[0137] (2) Information extraction problem: Traditional analysis methods may not be able to accurately extract user experience information from long texts, resulting in inaccurate judgment of the comprehensive user experience corresponding to the review data. The present application can perform semantic segmentation on long texts based on a semantic segmentation network, dividing the long texts into multiple independent semantic units, thereby achieving the purpose of feature extraction for each semantic unit, thereby improving the accuracy of user experience information analysis.
[0138] (3) Explainability issues: Due to the black-box nature of some deep learning models in the information analysis process, it is difficult to explain the basis for deep learning models to analyze and make decisions on user experience information. This application can improve the explainability of the target model based on the semantic segmentation network by visualizing the semantic segmentation results, so that users can more intuitively understand the basis for the target model to make judgments on the user experience information included in the text.
[0139] (4) Flexibility issue: Traditional analysis methods and some deep learning models may lack sufficient flexibility and find it difficult to adapt to the needs of different fields and application scenarios. However, the model design of the semantic segmentation network has a certain degree of flexibility. This application can customize the semantic segmentation network by adjusting the network architecture and loss function, thereby improving the versatility and flexibility of the target model in different application scenarios.
[0140] In the actual application scenario, the data set corresponding to the user comments of the mobile banking application is first collected, and then the data set is analyzed based on the technical solution of this application, so as to effectively determine the usage experience information of each user on the mobile banking application, so as to provide optimization suggestions for the mobile banking application based on different user experience information, so as to provide better user product services.
[0141] According to another aspect of the embodiment of the present application, a device for determining an application score is also provided. Figure 4 is a schematic diagram of an optional device for determining an application score according to an embodiment of the present application, such as Figure 4 As shown, the device for determining an application score further includes: a first acquisition unit 401 , a conversion unit 402 , an input unit 403 and a first determination unit 404 .
[0142] Optionally, a first acquisition unit is used to acquire comment data of a target application, wherein the comment data includes at least L comment texts of the target application, where L is a positive integer; a conversion unit is used to convert the L comment texts in the comment data into L target text vectors, and generate a target matrix based on the L target text vectors; an input unit is used to input the target matrix into a target model to obtain a user label corresponding to each of the L comment texts, wherein the user label is used to characterize the user experience of a user who submits the comment text when using the target application, and the target model is a semantic segmentation network model trained based on historical comment data of M applications, where M is a positive integer; a first determination unit is used to determine a target score of the target application based on the L user labels corresponding to the L comment texts, wherein the target score is used to characterize the comprehensive user experience of all users who have used the target application.
[0143] In an optional embodiment, the conversion unit includes: a first acquisition subunit, a first determination subunit and a first update subunit.
[0144] Optionally, a first acquisition subunit is used to obtain a first text vector corresponding to each comment text in L comment texts, wherein the first text vector is used to characterize the frequency of each word appearing in the comment text; a first determination subunit is used to take the first text vector with the largest vector length in the L first text vectors as the longest text vector; and a first update subunit is used to perform an update operation on the L first text vectors based on the vector length of the longest text vector to obtain L target text vectors, wherein the update operation is used to unify the vector lengths of the L first text vectors.
[0145] In an optional embodiment, the first updating subunit includes: a first acquiring module, a first determining module, an inserting module and a second determining module.
[0146] Optionally, a first acquisition module is used to acquire L-1 first text vectors excluding the longest text vector from the L first text vectors; a first determination module is used to take the difference between the vector length of each first text vector in the L-1 first text vectors and the vector length of the longest text vector as the target difference corresponding to the first text vector; an insertion module is used to insert a corresponding number of zero elements of the target difference into each first text vector to obtain a second text vector corresponding to the first text vector; and a second determination module is used to take the L-1 second text vectors corresponding to the L-1 first text vectors and the longest text vector as L target text vectors.
[0147] In an optional embodiment, the input unit includes: a first extraction subunit, a second acquisition subunit, a second extraction subunit and a second determination subunit.
[0148] Optionally, a first extraction subunit is used to perform feature extraction on each of the L target text vectors included in the target matrix through a target model to obtain a first feature of the target text vector, wherein the first feature is used to characterize keyword information in the comment text corresponding to the target text vector; a second acquisition subunit is used to obtain an association vector corresponding to each target text vector, wherein the association vector corresponding to each target text vector is a vector in the target matrix that has a contextual connection with the target text vector; a second extraction subunit is used to perform feature extraction on the association vector corresponding to each target text vector to obtain a second feature of the target text vector, wherein the second feature is used to characterize keyword information in the comment text corresponding to the association vector; a second determination subunit is used to determine a user label of the comment text corresponding to the target text vector based on the first feature and the second feature corresponding to each target text vector.
[0149] In an optional embodiment, the second determining subunit includes: a third determining module, a fourth determining module and a fifth determining module.
[0150] Optionally, a third determination module is used to determine the first frequency corresponding to each target text vector based on the first feature and the second feature corresponding to the target text vector, wherein the first frequency is used to characterize the frequency of occurrence of the first keyword in the keyword information represented by the first feature and the second feature; a fourth determination module is used to determine the second frequency corresponding to each target text vector based on the first feature and the second feature corresponding to the target text vector, wherein the second frequency is used to characterize the frequency of occurrence of the second keyword in the keyword information represented by the first feature and the second feature, and the second keyword is a keyword with opposite semantics to the first keyword; a fifth determination module is used to determine the user label of the target text vector based on the first frequency and the second frequency corresponding to each target text vector.
[0151] In an optional embodiment, the fifth determination module includes: a first judgment submodule, a first determination submodule, a second judgment submodule, a second determination submodule and a third determination submodule.
[0152] Optionally, a first judgment submodule is used to judge whether the first frequency corresponding to each target text vector is greater than a preset threshold; a first determination submodule is used to determine that the user label of the target text vector is a first user label when the first frequency corresponding to each target text vector is greater than the preset threshold, wherein the first user label is used to characterize that the user experience corresponding to the user who submitted the comment text is greater than the first preset experience; a second judgment submodule is used to judge whether the second frequency corresponding to the target text vector is greater than the preset threshold when the first frequency corresponding to each target text vector is less than or equal to the preset threshold; a second determination submodule is used to determine that the user label of the target text vector is a second user label when the second frequency corresponding to each target text vector is greater than the preset threshold, wherein the second user label is used to characterize that the user experience corresponding to the user who submitted the comment text is less than the second preset experience, and the second preset experience is less than the first preset experience; a third determination submodule is used to determine that the user label of the target text vector is a third user label when the second frequency corresponding to each target text vector is less than or equal to the preset threshold, wherein the third user label is used to characterize that the user experience corresponding to the user who submitted the comment text is greater than or equal to the second preset experience and less than or equal to the first preset experience.
[0153] In an optional embodiment, the device for determining an application score further includes: a generating unit, a second acquiring unit, a second determining unit, and an updating unit.
[0154] Optionally, a generating unit is used to generate M historical matrices based on the historical comment data of M applications, wherein the M historical matrices correspond one-to-one to the historical comment data of the M applications; a second acquiring unit is used to acquire a training label corresponding to each of the L historical vectors included in each historical matrix, wherein each historical vector is used to represent a historical comment text in the historical comment data, and the training label corresponding to each historical vector is used to represent the user experience of the user who submitted the historical comment text when using the application; a second determining unit is used to input the M historical matrices and the training labels corresponding to the historical vectors as training samples into an initial model, wherein the initial model is a semantic segmentation model including N neural network layers, and N is a positive integer; an updating unit is used to iteratively update the network parameters of each of the N neural network layers through the training samples until the model parameters of the model obtained by the last update are greater than or equal to a preset parameter threshold.
[0155] In an optional embodiment, the updating unit includes: a first propagation subunit, a third determination subunit, a second propagation subunit and a second updating subunit.
[0156] Optionally, the first propagation subunit is used to control the training sample to perform forward propagation in each of the N neural network layers to obtain the output result of each neural network layer; the third determination subunit is used to determine the loss function corresponding to the neural network layer based on the output result of each neural network layer and the training label corresponding to each historical vector included in the training sample, wherein the loss function is used to determine the gap value between the output result of the neural network layer and the actual result represented by the training label corresponding to each historical vector; the second propagation subunit is used to perform back propagation in each of the N neural network layers based on the chain rule, and determine the gradient corresponding to the neural network layer according to the loss function corresponding to the neural network layer, wherein the gradient is used to characterize the partial derivative of the loss function of the neural network layer with respect to the network parameters of the neural network layer; the second update subunit is used to update the network parameters of each neural network layer according to the gradient corresponding to the neural network layer based on the gradient descent algorithm.
[0157] In the present application, the review data of the target application is first obtained, wherein the review data includes at least L review texts of the target application, where L is a positive integer. Then, the L review texts in the review data are converted into L target text vectors, and a target matrix is generated based on the L target text vectors. Then, the target matrix is input into the target model to obtain a user label corresponding to each of the L review texts, wherein the user label is used to characterize the user experience of the user who submitted the review text when using the target application. The target model is a semantic segmentation network model trained based on historical review data of M applications, where M is a positive integer. Furthermore, the target score of the target application is determined based on the L user labels corresponding to the L review texts, wherein the target score is used to characterize the comprehensive user experience of all users who have used the target application.
[0158] From the above content, it can be seen that after obtaining the long text representing the comment data of multiple users (i.e., the comment data of the target application), the present application does not directly analyze the long text, but converts each comment text included in the comment data of the target application into a vector form, and the present application uses the converted multiple vectors (i.e., L target text vectors) to form a target matrix. Thereafter, the target matrix is input into the pre-trained semantic segmentation model for processing. Compared with the method of directly performing user experience analysis on the content of the long text in the prior art, the present application achieves the purpose of reducing the amount of data to be subsequently analyzed by the semantic segmentation model by converting the long text into a vector matrix.
[0159] In addition, during the processing of long texts by the semantic segmentation model, the present application analyzes each target text vector in the target matrix through the semantic segmentation model to obtain the user label of the comment text corresponding to each target text vector. That is, the semantic segmentation model achieves the purpose of better understanding the contextual information in the long text by performing pixel-level segmentation on the long text, thereby improving the overall understanding ability of the present application of the user experience information included in the long text.
[0160] It can be seen that the present application improves the speed of determining the user label corresponding to each comment text by performing information analysis on the target matrix corresponding to the long text based on the target model. At the same time, it achieves the purpose of improving the efficiency of analyzing the comment data, thereby achieving the technical effect of improving the efficiency of determining the application rating, and further solves the technical problem of low efficiency in determining the application rating caused by obtaining the labels of the comment text based on the traditional manual annotation method in the prior art.
[0161] According to another aspect of an embodiment of the present application, a computer program product is further provided. The computer program product includes a stored computer program, wherein when the computer program is running, the computer program product is controlled to execute any one of the above-mentioned methods for determining an application score.
[0162] According to another aspect of an embodiment of the present application, an electronic device is also provided, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any of the above-mentioned methods for determining an application score by executing the executable instructions.
[0163] Optionally, Figure 5 is a schematic diagram of an optional electronic device according to an embodiment of the present application, such as Figure 5 As shown, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, a method for determining an application score of any one of the above items is implemented.
[0164] The above-mentioned embodiments or examples disclosed in the present application are not exhaustive, but are only illustrative of some embodiments or examples, and are not intended to be specific limitations on the scope of protection disclosed in the present application. In the absence of contradiction, each step in a certain embodiment or example in the present application can be implemented as an independent example, and the steps can be combined arbitrarily. For example, the scheme after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be combined arbitrarily; in addition, the various embodiments or examples can be combined arbitrarily, for example, some or all steps of different embodiments or examples can be combined arbitrarily, and a certain embodiment or example can be combined arbitrarily with the optional methods or optional examples of other embodiments or examples.
[0165] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0166] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart 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 data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0167] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0168] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0169] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0170] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0171] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0172] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0173] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for determining an application score, characterized in that: include: Acquire comment data of a target application, wherein the comment data includes at least L comment texts of the target application, where L is a positive integer; Convert L comment texts in the comment data into L target text vectors, and generate a target matrix according to the L target text vectors; Input the target matrix into the target model to obtain the user label corresponding to each of the L comment texts, wherein the user label is used to characterize the user experience of the user who submitted the comment text when using the target application, and the target model is a semantic segmentation network model trained based on the historical comment data of M applications, where M is a positive integer; A target score for the target application is determined based on the L user tags corresponding to the L review texts, wherein the target score is used to represent a comprehensive user experience of all users who have used the target application.
2. The method for determining an application score according to claim 1, characterized in that: Converting L comment texts in the comment data into L target text vectors includes: Obtaining a first text vector corresponding to each comment text in the L comment texts, wherein the first text vector is used to represent the frequency of each word appearing in the comment text; The first text vector with the largest vector length among the L first text vectors is taken as the longest text vector; An updating operation is performed on the L first text vectors based on the vector length of the longest text vector to obtain the L target text vectors, wherein the updating operation is used to unify the vector lengths of the L first text vectors.
3. The method for determining an application score according to claim 2, characterized in that: The L first text vectors are updated based on the vector length of the longest text vector to obtain the L target text vectors, including: Obtain L-1 first text vectors other than the longest text vector among the L first text vectors; Taking the difference between the vector length of each first text vector in the L-1 first text vectors and the vector length of the longest text vector as the target difference corresponding to the first text vector; Inserting a corresponding number of zero elements of the target difference into each of the first text vectors to obtain a second text vector corresponding to the first text vector; The L-1 second text vectors corresponding to the L-1 first text vectors and the longest text vector are used as the L target text vectors.
4. The method for determining an application score according to claim 1, characterized in that: The target matrix is input into the target model to obtain the user label corresponding to each comment text in the L comment texts, including: Performing feature extraction on each target text vector in the L target text vectors included in the target matrix through the target model to obtain a first feature of the target text vector, wherein the first feature is used to characterize keyword information in the comment text corresponding to the target text vector; Obtaining an associated vector corresponding to each target text vector, wherein the associated vector corresponding to each target text vector is a vector in the target matrix that has a contextual connection with the target text vector; Performing feature extraction on the association vector corresponding to each target text vector to obtain a second feature of the target text vector, wherein the second feature is used to represent keyword information in the comment text corresponding to the association vector; A user label of the comment text corresponding to each target text vector is determined according to the first feature and the second feature corresponding to the target text vector.
5. The method for determining an application score according to claim 4, characterized in that: Determining a user label of the comment text corresponding to each target text vector according to the first feature and the second feature corresponding to the target text vector includes: Determining a first frequency corresponding to each target text vector according to the first feature and the second feature corresponding to the target text vector, wherein the first frequency is used to represent the frequency of occurrence of a first keyword in the keyword information represented by the first feature and the second feature; Determining a second frequency corresponding to each target text vector according to the first feature and the second feature corresponding to the target text vector, wherein the second frequency is used to represent the frequency of occurrence of a second keyword in the keyword information represented by the first feature and the second feature, and the second keyword is a keyword with opposite semantics to the first keyword; A user label of the target text vector is determined according to the first frequency and the second frequency corresponding to each target text vector.
6. The method for determining an application score according to claim 5, characterized in that: Determining a user label of the target text vector according to the first frequency and the second frequency corresponding to each target text vector includes: Determine whether the first frequency corresponding to each target text vector is greater than a preset threshold; In the case where the first frequency corresponding to each target text vector is greater than the preset threshold, determining the user tag of the target text vector as a first user tag, wherein the first user tag is used to represent that the user experience degree corresponding to the user who submitted the comment text is greater than a first preset experience degree; In the case where the first frequency corresponding to each target text vector is less than or equal to the preset threshold, determining whether the second frequency corresponding to the target text vector is greater than the preset threshold; In the case where the second frequency corresponding to each target text vector is greater than the preset threshold, determining the user label of the target text vector as a second user label, wherein the second user label is used to represent that the user experience degree corresponding to the user who submitted the comment text is less than a second preset experience degree, and the second preset experience degree is less than the first preset experience degree; When the second frequency corresponding to each target text vector is less than or equal to the preset threshold, the user tag of the target text vector is determined to be a third user tag, wherein the third user tag is used to characterize that the user experience degree corresponding to the user who submitted the comment text is greater than or equal to the second preset experience degree and less than or equal to the first preset experience degree.
7. The method for determining an application score according to claim 1, characterized in that: The target model is trained by the following steps: Generate M history matrices according to the historical review data of the M applications, wherein the M history matrices correspond one-to-one to the historical review data of the M applications; Obtaining a training label corresponding to each of the L historical vectors included in each historical matrix, wherein each of the historical vectors is used to represent a historical comment text in the historical comment data, and the training label corresponding to each of the historical vectors is used to represent the user experience of the user who submitted the historical comment text when using the application; The training labels corresponding to the M history matrices and the history vectors are used as training samples and input into an initial model, wherein the initial model is a semantic segmentation model including N neural network layers, where N is a positive integer; The network parameters of each of the N neural network layers are iteratively updated through the training samples until the model parameters of the model obtained by the last update are greater than or equal to a preset parameter threshold.
8. The method for determining an application score according to claim 7, characterized in that: In the process of iteratively updating the network parameters of each of the N neural network layers through the training samples, the method for determining the application score further includes: Controlling the training sample to perform forward propagation in each of the N neural network layers to obtain an output result of each neural network layer; Determine a loss function corresponding to the neural network layer based on the output result of each neural network layer and the training label corresponding to each historical vector included in the training sample, wherein the loss function is used to determine the gap value between the output result of the neural network layer and the actual result represented by the training label corresponding to each historical vector; Performing back propagation on each of the N neural network layers based on the chain rule, and determining a gradient corresponding to each neural network layer according to a loss function corresponding to each neural network layer, wherein the gradient is used to characterize a partial derivative of the loss function of the neural network layer with respect to a network parameter of the neural network layer; Based on the gradient descent algorithm, the network parameters of the neural network layer are updated according to the gradient corresponding to each neural network layer.
9. A device for determining an application score, characterized in that: include: A first acquisition unit is used to acquire comment data of a target application, wherein the comment data at least includes L comment texts of the target application, where L is a positive integer; A conversion unit, used for converting L comment texts in the comment data into L target text vectors, and generating a target matrix according to the L target text vectors; An input unit, used to input the target matrix into a target model, to obtain a user label corresponding to each of the L comment texts, wherein the user label is used to characterize the user experience of the user who submitted the comment text when using the target application, and the target model is a semantic segmentation network model trained based on historical comment data of M applications, where M is a positive integer; The first determination unit is configured to determine a target score for the target application based on the L user tags corresponding to the L review texts, wherein the target score is used to represent a comprehensive user experience of all users who have used the target application.
10. A computer program product, characterized in that The computer program product comprises a computer program, wherein when the computer program is run, the computer program product is controlled to execute the method for determining the application score according to any one of claims 1 to 8.
11. An electronic device, characterized in that: The invention comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the application score according to any one of claims 1 to 8.
Citation Information
Cited By
Transaction early warning method and device for anonymous virtual wallet
CN119693138A
