Data processing method and system applied to network services
By introducing reference network session training text and prior annotation knowledge, combined with recurrent network training and transfer parameter learning, an accurate and efficient network service mining network is generated, which solves the problems of low accuracy and low efficiency of network session text mining in traditional methods. Efficient and flexible network service mining is achieved.
Patent Information
- Application Number
- CN202410221256.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-02-28
AI Technical Summary
Traditional network service mining methods are difficult to accurately capture key information in network conversation texts, and lack efficient processing capabilities and the ability to utilize prior knowledge, resulting in low mining accuracy and efficiency.
By introducing reference network session training text and its prior annotation knowledge, combined with recurrent network training and transfer parameter learning, an accurate and efficient network service mining network is gradually generated, and network parameters are optimized to adapt to different types and scales of mining tasks.
It improves the accuracy and efficiency of network service mining, realizes efficient mining of network conversation text, has flexibility and scalability, and can make full use of prior knowledge to adapt to different network service needs.
Smart Images

Figure CN117785964B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and more specifically, to a data processing method and system for network services. Background Art
[0002] With the rapid development and popularization of network technology, network services have become an indispensable part of people's daily lives. In network services, network conversation text is an important medium for interaction between users and service providers, which contains rich information about user needs and behaviors. Therefore, effective mining and analysis of network conversation text is of great significance to improving the quality of network services and user experience.
[0003] However, traditional web service mining methods often face many challenges. First, the high diversity and complexity of web conversation texts make it difficult to accurately capture key information in the mining process. Second, the real-time nature of web services requires that mining methods must have efficient processing capabilities to cope with large-scale web conversation data. In addition, how to make full use of existing prior knowledge to guide the mining process and improve the accuracy and efficiency of mining is also a problem that traditional methods cannot solve. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a data processing method and system for network services, which introduces reference network conversation training texts and the reference prior annotation knowledge they carry, combines the ideas of cyclic network training and transfer parameter learning, and gradually generates an accurate and efficient network service mining network. Specifically, in each cyclic network training stage, the network parameters of the application class guided network are learned according to the mining error generated in the previous stage, and the network performance is continuously optimized. At the same time, the optimized network is converted into a new application class guidance network by transfer parameter learning, which is used to mine the application class network conversation training text. The first network service mining network finally generated can make full use of prior knowledge, accurately and efficiently mine key information in network conversation texts, and provide strong support for the optimization and improvement of network services. It not only improves the accuracy and efficiency of network service mining, but also has strong flexibility and scalability. By adjusting the network structure and parameter settings, it can adapt to network service mining tasks of different types and scales.
[0005] According to a first aspect of the present application, a data processing method applied to a network service is provided, the method comprising:
[0006] Acquire reference network conversation training text and application network conversation training text, wherein the reference network conversation training text carries reference class prior annotation knowledge, and the reference class prior annotation knowledge represents a priori mining result of the reference network conversation training text in a target network service mining process;
[0007] In the k+1th cyclic network training stage, the application class guided network generated in the kth cyclic network training stage mines the reference class network conversation training text, and performs network parameter learning error discrimination based on the reference class prior annotation knowledge to generate a first reference class training error, wherein k is a positive integer;
[0008] Performing network parameter learning on the application class guided network generated in the kth cyclic network training phase according to the first reference class training error to generate a reference application class guided network;
[0009] The application class guiding network generated in the k+1th cyclic network training stage mines the application class network conversation training text to generate application class fuzzy mining content, and the reference application class guided network mines the application class network conversation training text, performs network parameter learning error discrimination based on the application class fuzzy mining content, and generates a first application feature space training error. The application class guiding network generated in the k+1th cyclic network training stage is a neural network generated by performing migration parameter learning on the reference application class guided network;
[0010] The reference application class guided network is subjected to network parameter learning based on the first application feature space training error to generate an application class guided network generated in the k+1th cyclic network training phase until a first network service mining network is generated, wherein the first network service mining network is used to mine application class network conversation texts and reference class network conversation texts.
[0011] In a possible implementation of the first aspect, the method further includes:
[0012] In the k+1th cyclic network training stage, the application-class guided network generated in the kth cyclic network training stage performs semantic scene vector adaptability analysis on the reference-class network conversation training text and the application-class network conversation training text to generate a semantic scene adaptability error;
[0013] The step of performing network parameter learning on the application class guided network generated in the kth cyclic network training phase according to the first reference class training error to generate a reference application class guided network includes:
[0014] The application class guided network generated in the k-th cyclic network training phase is subjected to network parameter learning according to the semantic scene adaptability error and the first reference class training error to generate the reference application class guided network.
[0015] In a possible implementation of the first aspect, the application class guided network generated according to the kth cyclic network training stage performs semantic scene vector adaptability parsing on the reference class network conversation training text and the application class network conversation training text to generate a semantic scene adaptability error, including:
[0016] Extracting the reference class semantic embedding vector of the reference class network conversation training text by the guided network according to the application class generated in the kth cyclic network training stage;
[0017] Extracting the application class semantic embedding vector of the application class network conversation training text by the guided network according to the application class generated in the kth cyclic network training stage;
[0018] Performing service risk mining on the reference class semantic embedding vector to generate first mining content, wherein the first mining content represents the confidence that the reference class semantic embedding vector belongs to the reference class network conversation training text;
[0019] Performing service risk mining on the application class semantic embedding vector to generate second mining content, the second mining content representing the confidence that the application class semantic embedding vector belongs to the application class network session training text;
[0020] The semantic scene adaptability error is determined based on a direction in which a feature distance between the first mined content and the second mined content is reduced and a feature distance between the reference class semantic embedding vector and the application class semantic embedding vector is increased.
[0021] In a possible implementation of the first aspect, the step of determining the semantic scene adaptability error based on a direction of reducing a feature distance between the first mined content and the second mined content and increasing a feature distance between the reference class semantic embedding vector and the application class semantic embedding vector includes:
[0022] calculating a first feature distance between the first mined content and the second mined content;
[0023] Calculating a second feature distance between the reference class semantic embedding vector and the application class semantic embedding vector;
[0024] Based on the first feature distance and the second feature distance, a corresponding adaptive error function is defined, and the adaptive error function is used to define corresponding weights for the first feature distance and the second feature distance so as to minimize the first feature distance and maximize the second feature distance.
[0025] In a possible implementation of the first aspect, before the step of mining the application class network conversation training text through the application class guidance network generated by the k+1th cyclic network training stage to generate the application class fuzzy mining content, the step includes:
[0026] Obtaining first network function layer definition information of the reference application class guided network;
[0027] Obtain the second network function layer definition information of the application class guidance network generated in the k-th cyclic network training phase;
[0028] Integrate the first network function layer definition information and the second network function layer definition information based on the set network optimization parameter to generate integrated network function layer definition information;
[0029] According to the integrated network function layer definition information, the application class guidance network generated in the k+1th cyclic network training phase is generated.
[0030] In a possible implementation of the first aspect, after the application class guidance network generated by the k+1th cyclic network training stage mines the application class network conversation training text to generate application class fuzzy mining content, the method includes:
[0031] The simplified guided network generated in the k-th cyclic network training phase mines the reference network conversation training text, performs network parameter learning error discrimination based on the reference prior annotation knowledge, and generates a second reference training error, wherein the parameter amount of the network function layer definition information of the simplified guided network is less than the parameter amount of the network function layer definition information of the application guidance network;
[0032] The simplified guided network generated in the k-th cyclic network training phase mines the application network conversation training text, performs network parameter learning error discrimination based on the application fuzzy mining content, and generates a second application feature space training error;
[0033] The simplified guided network generated in the k-th cyclic network training phase is subjected to network parameter learning according to the second reference class training error and the second application feature space training error to generate a simplified guided network generated in the k+1-th cyclic network training phase until a second network service mining network is generated, and the second network service mining network is used to mine the application class network conversation text and the reference class network conversation text.
[0034] In a possible implementation of the first aspect, the application class guidance network generated by the k+1th cyclic network training stage mines the application class network conversation training text to generate application class fuzzy mining content, including:
[0035] Mining the application class network conversation training text through the application class guidance network generated in the k+1th cyclic network training stage to generate reference fuzzy mining content corresponding to the application class network conversation training text and a credibility value corresponding to the reference fuzzy mining content;
[0036] If the credibility value corresponding to the reference fuzzy mining content is greater than the set credibility value, it is determined that the reference fuzzy mining content is the application-type fuzzy mining content.
[0037] In a possible implementation of the first aspect, the mining content of the application class network conversation training text by the reference application class guided network is used to perform network parameter learning error discrimination according to the application class fuzzy mining content to generate a first application feature space training error, including:
[0038] Obtaining a credibility value corresponding to the application-class fuzzy mining content;
[0039] The reference application class guided network mines the application class network conversation training text, performs network parameter learning error discrimination based on the application class fuzzy mining content, and generates a reference application feature space training error;
[0040] The reference application feature space training error is fused according to the credibility value to generate the first application feature space training error.
[0041] In a possible implementation of the first aspect, the method further includes:
[0042] Based on the first network service mining network, application-type network conversation texts and reference-type network conversation texts are mined to generate mining results.
[0043] According to the second aspect of the present application, there is provided a data processing system for network services, the data processing system for network services comprising a machine-readable storage medium and a processor, the machine-readable storage medium storing machine-executable instructions, and when the processor executes the machine-executable instructions, the data processing system for network services implements the aforementioned data processing method for network services.
[0044] According to a third aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed, the aforementioned data processing method applied to network services is implemented.
[0045] According to any one of the above aspects, the technical effect of the present application is:
[0046] By introducing the reference class network conversation training text and the reference class prior annotation knowledge it carries, the existing prior mining results can be fully utilized in the data processing process of network services to improve the accuracy and efficiency of mining. In each cyclic network training stage, the network parameter learning error is judged based on the mining content of the reference class network conversation training text generated by the application class guided network in the previous stage, combined with the reference class prior annotation knowledge, so as to generate a more accurate training error. Secondly, a more accurate and efficient application class guided network is gradually generated through continuous iteration and optimization by adopting the cyclic network training method. In each cycle, the network parameters of the application class guided network are learned according to the training error generated in the previous stage, so that it can better adapt to the needs of network service mining tasks. At the same time, by transferring parameter learning, the optimized application class guided network is transformed into a new application class guiding network for mining the application class network conversation training text, which further improves the mining effect. Finally, by generating the first network service mining network, efficient mining of application class network conversation text and reference class network conversation text is achieved. The first network service mining network not only inherits the optimization results of the previous cyclic network training stage, but also can be flexibly adjusted and optimized according to the actual network service mining needs, providing strong support for network service data processing. At the same time, the generation process of the first network service mining network fully considers the characteristics of error discrimination and migration parameter learning of network parameter learning, ensuring its accuracy and efficiency in network service mining tasks.
[0047] That is, the main goal of the embodiment of the present application is to optimize the mining process of network conversation text, use the prior annotation knowledge of the reference network conversation training text, and the fuzzy mining content of the application network conversation training text, perform multiple cycles of network training and error discrimination, and thus generate the final network service mining network. By using the prior annotation knowledge of the reference network conversation training text, this method can more accurately guide the network parameter learning process, thereby reducing the training error. In the multiple cycles of network training stages, by performing migration parameter learning on the reference application class guided network and the application class guided network, the network structure can be gradually optimized, and the efficiency and accuracy of network service mining can be improved. By performing network parameter learning error discrimination on the fuzzy mining content of the application class network conversation training text, this can further optimize the network parameter learning process, thereby generating a more effective network service mining network. Finally, through the generated network service mining network, it is possible to more effectively mine the application class network conversation text and the reference class network conversation text, thereby improving the data processing efficiency and accuracy of network services. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 A flowchart of a data processing method applied to network services provided in an embodiment of the present application.
[0050] Figure 2 A schematic diagram of the component structure of a data processing system applied to network services for implementing the above-mentioned data processing method applied to network services provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0051] To make the purpose, technical scheme and advantages of the embodiment of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below according to the drawings in the embodiment of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description, and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the embodiment of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add at least one other operation to the flowchart under the guidance of the content of the present application, or destroy at least one operation from the flowchart.
[0052] Figure 1 As shown, the flow chart of the data processing method and system applied to network services provided by the embodiment of the present application should be understood that in other embodiments, the order of some steps of the data processing method applied to network services of this embodiment can be shared with each other according to actual needs, or some steps can be omitted or maintained. The detailed steps of the data processing method applied to network services include:
[0053] Step S110, obtaining reference network conversation training text and application network conversation training text, wherein the reference network conversation training text carries reference class prior annotation knowledge, and the reference class prior annotation knowledge represents the prior mining result of the reference class network conversation training text in the target network service mining process.
[0054] The reference network conversation training text refers to a set of network conversation text data that has been annotated and used to train machine learning models. These data usually come from real network conversation scenarios, such as chat rooms, forums, social media, etc. Annotation processing refers to adding additional information to these texts to indicate their categories, topics, or other important features. For example, suppose that an intelligent customer service system is being developed and different types of requests such as complaints, consultations, and suggestions in user conversations need to be identified. Then, some historical customer service chat records can be collected and experts can be asked to annotate these records, indicating the type of each record (such as complaints, consultations, etc.). These annotated records constitute the reference network conversation training text.
[0055] The application network conversation training text refers to another set of unlabeled original network conversation text data, which also comes from real network conversation scenarios. These data will be used to train the model, and it is expected that the model can automatically learn the patterns and rules therein. Continuing with the example of the intelligent customer service system, in addition to the labeled reference text, there will also be a large number of unlabeled customer service chat records. These records will be directly used to train the model to test the performance of the model in actual applications.
[0056] The reference class prior annotation knowledge refers to the annotation information attached to the reference class network conversation training text, which represents the known results or prior information of these texts in a certain network service mining task. This knowledge is usually derived from expert judgment, historical data or other reliable sources. For example, in the case of an intelligent customer service system, the prior annotation knowledge is the type label (such as complaint, consultation, etc.) assigned by experts to each reference class text. These labels are known during the training process and are used to guide the model to learn how to correctly classify new conversation texts.
[0057] The target network service mining process refers to the process of achieving a certain goal by analyzing and mining network conversation text in a specific network service scenario. This goal may be to improve customer satisfaction, optimize service processes, discover potential problems, etc. For example, in the case of an intelligent customer service system, the target network service mining process is to automatically identify different types of user requests by analyzing and mining customer service chat records, and provide personalized service responses accordingly. This process aims to improve customer service efficiency, reduce manual intervention and enhance user experience.
[0058] Therefore, in this embodiment, the data processing system applied to the network service as a server is first connected to the network session database, which stores a large amount of network session data. The server retrieves the reference network session training text and the application network session training text from the network session database by executing SQL query statements.
[0059] Step S120, in the k+1th cyclic network training stage, the application class guided network generated in the kth cyclic network training stage mines the content of the reference class network conversation training text, and performs network parameter learning error judgment based on the reference class prior annotation knowledge to generate a first reference class training error, where k is a positive integer.
[0060] In this embodiment, at the beginning of the k+1th cyclic network training phase, the server loads the application class guided network generated in the kth phase. Then, the server inputs the reference class training text into the model, performs forward propagation calculation, and obtains the mining results of the model on the reference class network conversation training text (such as predicted satisfaction tags, topic classification, etc.).
[0061] Next, the server compares the mining results with the prior annotation knowledge carried by the reference network conversation training text. By calculating indicators such as precision, recall, and F1 score, the server evaluates the performance of the application class guided network when processing the reference class network conversation training text, and calculates the first reference class training error based on this.
[0062] Step S130, performing network parameter learning on the application class guided network generated in the kth cyclic network training phase according to the first reference class training error to generate a reference application class guided network.
[0063] In this embodiment, according to the first reference class training error calculated in step S120, the server starts to adjust the parameters of the application class guided network generated in the kth cyclic network training phase. Specifically, the back propagation algorithm and the gradient descent optimizer can be used to update the weights and bias items of the network to reduce the training error.
[0064] During the parameter adjustment process, the server can try different hyperparameter settings such as learning rate, batch size, and number of iterations to find the best optimization strategy. At the same time, in order to prevent overfitting, the server may also use regularization techniques (such as L1 regularization, L2 regularization) or Dropout strategy to enhance the generalization ability of the model.
[0065] After multiple rounds of iterative optimization, when the training error reaches a preset threshold or the number of iterations reaches the upper limit, the server will stop training and save the current network state as the reference application class guided network. This newly generated reference application class guided network has higher accuracy and robustness when processing reference class network conversation training text.
[0066] Step S140, mining the application class network conversation training text through the application class guidance network generated in the k+1th cyclic network training stage to generate application class fuzzy mining content, and using the mining content of the application class network conversation training text by the reference application class guided network, performing network parameter learning error discrimination based on the application class fuzzy mining content to generate a first application feature space training error, and the application class guidance network generated in the k+1th cyclic network training stage is a neural network generated by performing migration parameter learning on the reference application class guided network.
[0067] In the k+1th cyclic network training phase, the server loads the newly generated application class guidance network (which is obtained by learning the migration parameters of the reference application class guided network). Then, the server inputs the application class network conversation training text into this application class guidance network, performs forward propagation calculation, and obtains the mining results of the application class guidance network on the application class network conversation training text.
[0068] Since there is no prior annotation knowledge for comparison and verification of application-type network conversation training texts, these mining results may be ambiguous or uncertain. In order to evaluate the performance of the application-type guidance network in processing application-type network conversation training texts and calculate the training error, the server uses an unsupervised learning method. Some similarity metrics (such as cosine similarity, Euclidean distance, etc.) can be used to compare the two mining results of the reference application-type guided network on the same batch of application-type network conversation training texts (that is, the results obtained by mining using the reference application-type guided network and the application-type guidance network respectively). The difference value calculated in this way is called the first application feature space training error. This error value reflects the stability and consistency of the reference application-type guided network when processing data in actual application scenarios.
[0069] Step S150, performing network parameter learning on the reference application class guided network according to the first application feature space training error, generating an application class guided network generated in the k+1th cyclic network training stage, until a first network service mining network is generated, and the first network service mining network is used to mine application class network conversation text and reference class network conversation text.
[0070] According to the first application feature space training error calculated in step S140, the server again adjusts and optimizes the parameters of the reference application class guided network. Similar to step S130, the back propagation algorithm and gradient descent optimizer are used to update the weights and bias items of the network, but this time the goal is to minimize the application feature space training error.
[0071] During the parameter adjustment process, the server will also try different hyperparameter settings and regularization strategies to find the best optimization solution. In addition, in order to further improve the performance of the model and prevent overfitting, the server may also use ensemble learning methods (such as Bagging, Boosting, etc.) to combine the prediction results of multiple models.
[0072] After multiple rounds of iterative optimization, when the application feature space training error reaches a preset threshold or the number of iterations reaches the upper limit, the server will stop training and save the current network state as the application class guided network generated in the k+1th cyclic network training phase. This newly generated network model has higher accuracy and stability when processing application class network conversation training text.
[0073] Finally, when all the recurrent network training stages are completed (i.e., the preset maximum number of cycles is reached or other termination conditions are met), the server will generate a final network service mining network - the first network service mining network. This network can effectively mine and analyze both reference network conversation texts and application network conversation texts, providing strong support for future network services.
[0074] Based on the above steps, by introducing the reference class network conversation training text and the reference class prior annotation knowledge it carries, the existing prior mining results can be fully utilized in the data processing process of network services to improve the accuracy and efficiency of mining. In each cyclic network training stage, the network parameter learning error is judged based on the mining content of the reference class network conversation training text by the application class guided network generated in the previous stage, combined with the reference class prior annotation knowledge, so as to generate a more accurate training error. Secondly, a more accurate and efficient application class guided network is gradually generated through continuous iteration and optimization by adopting the cyclic network training method. In each cycle, the network parameters of the application class guided network are learned according to the training error generated in the previous stage, so that it can better adapt to the needs of the network service mining task. At the same time, by transferring parameter learning, the optimized application class guided network is converted into a new application class guiding network for mining the application class network conversation training text, which further improves the mining effect. Finally, by generating the first network service mining network, efficient mining of application class network conversation text and reference class network conversation text is achieved. The first network service mining network not only inherits the optimization results of the previous cyclic network training stage, but also can be flexibly adjusted and optimized according to the actual network service mining needs, providing strong support for network service data processing. At the same time, the generation process of the first network service mining network fully considers the characteristics of error discrimination and migration parameter learning of network parameter learning, ensuring its accuracy and efficiency in network service mining tasks.
[0075] That is, the main goal of the embodiment of the present application is to optimize the mining process of network conversation text, use the prior annotation knowledge of the reference network conversation training text, and the fuzzy mining content of the application network conversation training text, perform multiple cycles of network training and error discrimination, and thus generate the final network service mining network. By using the prior annotation knowledge of the reference network conversation training text, this method can more accurately guide the network parameter learning process, thereby reducing the training error. In the multiple cycles of network training stages, by performing migration parameter learning on the reference application class guided network and the application class guided network, the network structure can be gradually optimized, and the efficiency and accuracy of network service mining can be improved. By performing network parameter learning error discrimination on the fuzzy mining content of the application class network conversation training text, this can further optimize the network parameter learning process, thereby generating a more effective network service mining network. Finally, through the generated network service mining network, it is possible to more effectively mine the application class network conversation text and the reference class network conversation text, thereby improving the data processing efficiency and accuracy of network services.
[0076] In a possible implementation, the method further includes:
[0077] Step A110, in the k+1th cyclic network training stage, the application class guided network generated in the kth cyclic network training stage performs semantic scene vector adaptability analysis on the reference class network conversation training text and the application class network conversation training text to generate a semantic scene adaptability error.
[0078] In this embodiment, in the k+1th cyclic network training phase, the server first loads the application class guided network generated in the kth cyclic network training phase. This network already has a certain ability to process network conversation texts.
[0079] The server inputs the reference network conversation training text and the application network conversation training text into the application guided network at the same time. The network performs adaptive analysis of the semantic scene vectors for these two types of texts. The so-called semantic scene vector refers to the conversion of semantic information in the text into a vector representation in a high-dimensional space for mathematical operations and comparisons. Adaptive analysis is to check whether these vectors match the current learning state of the network.
[0080] As a result, the server obtains a semantic scene adaptation error. This error reflects the difference between the semantic scene vector generated by the network when processing the two types of text and the current learning state of the network. If the error is large, it means that the network's semantic understanding of the two types of text is not accurate enough or there is a deviation.
[0081] Step S130 may include: performing network parameter learning on the application class guided network generated in the kth cyclic network training phase according to the semantic scene adaptability error and the first reference class training error to generate the reference application class guided network.
[0082] After obtaining the semantic scene adaptability error, the server prepares to adjust the parameters of the application class guided network generated in the kth cyclic network training phase.
[0083] In detail, the server not only considers the previously calculated first reference class training error (i.e., the difference between the network's processing of reference class text and the actual annotation knowledge), but also combines the semantic scene adaptability error just obtained. These two errors are used together as the basis for network parameter learning.
[0084] Specifically, the server uses the back-propagation algorithm and the gradient descent optimizer to update the network's weights and biases. During the update process, the server adjusts the network parameters according to the size and direction of the two errors, hoping that the network will be able to more accurately understand the semantics and generate a vector representation that is more in line with the actual scenario the next time it processes similar text.
[0085] After a round of network parameter learning, the server generates a new network model - the reference application class guided network. This network not only has higher accuracy when processing reference class text (due to considering the first reference class training error), but also can generate vector representations that are more in line with the actual semantic scene when processing application class text (due to considering the semantic scene adaptation error).
[0086] In this way, by combining the semantic scene adaptation error and the first reference class training error for network parameter learning, the server can generate a more comprehensive and accurate network service mining model. This model will be able to better understand and process various network conversation texts in future network services, thereby providing a better service experience.
[0087] In a possible implementation, step A110 may include:
[0088] Step A111, extracting the reference class semantic embedding vector of the reference class network conversation training text according to the application class guided network generated in the kth cyclic network training stage.
[0089] In the k+1th recurrent network training phase, the server first uses the application class guided network generated in the kth recurrent network training phase to process the reference class network conversation training text.
[0090] In detail, the server inputs the reference class network conversation training text into the application class guided network, and extracts the reference class semantic embedding vectors through the internal operation of the network. These vectors are points in high-dimensional space, which capture the semantic information in the text and make similar texts closer in the vector space.
[0091] Thus, the server obtains a set of reference semantic embedding vectors corresponding to the reference network conversation training texts.
[0092] Step A112, the guided network extracts the application class semantic embedding vector of the application class network conversation training text according to the application class generated in the kth cyclic network training stage.
[0093] The server then uses the same application class guided network to process the application class network session training text.
[0094] In detail, the server inputs application-class network conversation training text into the network and extracts application-class semantic embedding vectors. These vectors also capture the semantic information in the text, but they are generated for text in actual application scenarios.
[0095] Thus, the server obtains a set of application-class semantic embedding vectors corresponding to the application-class network conversation training text.
[0096] Step A113, performing service risk mining on the reference class semantic embedding vector to generate a first mining content, wherein the first mining content represents the confidence that the reference class semantic embedding vector belongs to the reference class network conversation training text.
[0097] Step A114, performing service risk mining on the application class semantic embedding vector to generate second mining content, wherein the second mining content represents the confidence that the application class semantic embedding vector belongs to the application class network conversation training text.
[0098] The server now needs to perform further analysis on the extracted semantic embedding vectors to assess the confidence that each of them belongs to the category of its original text.
[0099] In detail, the server first performs service risk mining on the reference class semantic embedding vector. This usually involves using some algorithm or model to calculate the degree of match between each vector and its category. The result of the mining is the first mining content, which characterizes the confidence that the reference class semantic embedding vector belongs to the reference class network conversation training text.
[0100] Next, the server performs similar service risk mining on the application class semantic embedding vector to generate a second mining content, which represents the confidence that the application class semantic embedding vector belongs to the application class network conversation training text.
[0101] As a result, the server obtains two mined contents, which respectively represent the matching degree of the reference class and application class semantic embedding vectors with their original text categories.
[0102] Step A115, determining the semantic scene adaptability error based on the direction of reducing the feature distance between the first mined content and the second mined content and increasing the feature distance between the reference class semantic embedding vector and the application class semantic embedding vector.
[0103] Finally, the server needs to determine the semantic scene adaptation error, which will be used to guide further training of the network.
[0104] In detail, the server determines the error based on two principles: one is to reduce the feature distance between the first mined content and the second mined content, which means that the server hopes that the network can maintain consistency when processing different types of texts; the other is to increase the feature distance between the reference class semantic embedding vector and the application class semantic embedding vector, which reflects that the server hopes that the network can better distinguish different types of texts.
[0105] The server calculates the difference between the two mined contents and the difference between the two types of vectors to comprehensively obtain the semantic scene adaptability error. This error value will be used as one of the bases for adjusting network parameters.
[0106] As a result, the server obtains a quantified semantic scene adaptability error value, which reflects the adaptability and discrimination ability of the current network at the semantic level when processing reference and application texts. This error value will be used to guide the next step of network training and optimization.
[0107] In a possible implementation, step A115 may include:
[0108] Step A1151: Calculate a first characteristic distance between the first mined content and the second mined content.
[0109] Step A1152, calculating the second feature distance between the reference class semantic embedding vector and the application class semantic embedding vector.
[0110] Step A1153, based on the first feature distance and the second feature distance, define a corresponding adaptive error function, and the adaptive error function is used to define corresponding weights for the first feature distance and the second feature distance to minimize the first feature distance and maximize the second feature distance.
[0111] In this embodiment, the server has obtained the first mining content and the second mining content through service risk mining, which respectively represent the confidence that the reference class and application class semantic embedding vectors belong to the respective original text categories. Now, the server needs to calculate the feature distance between the two.
[0112] In detail, the server calculates the first feature distance between the first mined content and the second mined content using a certain distance measurement method (such as Euclidean distance, cosine similarity, etc.) This distance reflects the difference in confidence level when the network processes different types of text.
[0113] As a result, the server obtains a quantitative first feature distance value, which measures the consistency of the network's confidence when processing reference and application texts.
[0114] Next, the server needs to calculate the feature distance between the reference class semantic embedding vector and the application class semantic embedding vector. This distance will reflect the network's ability to distinguish different types of text at the semantic level.
[0115] In detail, the server also uses a distance metric to calculate the second feature distance between two types of semantic embedding vectors. This calculation process takes into account the position and distribution of the vectors in the high-dimensional space to ensure that similar texts are close in the vector space, while different texts are far away.
[0116] As a result, the server obtains a quantitative second feature distance value, which measures the network's ability to distinguish between reference and application texts at the semantic level.
[0117] Now that the server has calculated two key feature distance values, in order to integrate this information into a unified error metric for network training and optimization, the server needs to define an adaptive error function.
[0118] In detail, the server defines an adaptability error function based on the first feature distance and the second feature distance. The goal of this function is to minimize the first feature distance (i.e., increase the consistency of confidence) while maximizing the second feature distance (i.e., enhance the ability to distinguish at the semantic level). In order to balance these two goals, the server assigns them corresponding weights.
[0119] The adaptive error function may be a complex mathematical expression that combines the weighted first feature distance and second feature distance, as well as other possible regularization terms or constraints. By adjusting the weights and function form, the server can flexibly control how and how much importance is given to different types of text during network training.
[0120] As a result, the server obtains an adaptive error function that comprehensively considers the network's confidence consistency and semantic differentiation ability when processing different types of text. This function will become the basis for subsequent network training and optimization processes.
[0121] In a possible implementation manner, before step S140, the following steps are included:
[0122] Step B110: Obtain the first network function layer definition information of the guided network of the reference application class.
[0123] In this embodiment, before the server is ready to perform the k+1th cyclic network training phase, it first needs to obtain the first network function layer definition information of the reference application class guided network obtained by previous training. This information defines the structure of the network, the connection relationship between layers, and the specific functions and parameters of each layer.
[0124] Specifically, the server accesses a file or database storing the reference application class guided network model to extract the first network function layer definition information. This information may include the type of layer (such as convolutional layer, pooling layer, fully connected layer, etc.), the size of the layer (such as the number of neurons), the selection of activation function, and parameters such as layer weights and biases.
[0125] As a result, the server successfully obtains the first network function layer definition information of the reference application class guided network, and is ready for subsequent network integration and optimization.
[0126] Step B120, obtaining the second network function layer definition information of the application class guidance network generated in the k-th cyclic network training phase.
[0127] In this embodiment, next, the server needs to obtain the second network function layer definition information of the application class guidance network generated in the kth cyclic network training phase. This network is the product of the previous training phase, and its structure and parameters have been learned and adjusted to a certain extent.
[0128] In detail, the server also accesses the file or database storing the application class guidance network model generated in the k-th cyclic network training phase to extract the second network function layer definition information. This information is similar to the first network function layer definition information, but may differ due to different training data and objectives.
[0129] As a result, the server successfully obtains the second network function layer definition information of the application class guidance network generated in the k-th cyclic network training phase, providing the necessary foundation for the subsequent network integration.
[0130] Step B130: Integrate the first network function layer definition information and the second network function layer definition information based on the set network optimization parameters to generate integrated network function layer definition information.
[0131] In this embodiment, the server now has the functional layer definition information of the two networks, and it needs to integrate these two pieces of information according to the set network optimization parameters to generate a new and more powerful network model.
[0132] In detail, the server first analyzes the commonalities and differences between the first network function layer definition information and the second network function layer definition information. Then, based on the set network optimization parameters (such as learning rate, regularization strength, etc.), the server uses a certain integration strategy (such as layer stacking, feature fusion, etc.) to effectively combine the two parts of information. During the integration process, the server may adjust the parameters or structure of some layers to adapt to the new training objectives and data distribution.
[0133] As a result, the server successfully integrates the first network function layer definition information and the second network function layer definition information, and generates definition information of a new network model that includes the advantages of both, namely, the integrated network function layer definition information.
[0134] Step B140: generating the application class guidance network generated in the k+1th cyclic network training phase according to the integrated network function layer definition information.
[0135] In this embodiment, finally, the server needs to generate an application class guidance network for the k+1th cyclic network training phase according to the integrated network function layer definition information. This new network will serve as the starting point for the next training phase and is responsible for further learning and optimizing the application class conversation text processing capabilities in the network service.
[0136] In detail, the server builds a new application class guidance network according to the network structure specified in the integrated network function layer definition information, the connection relationship between layers, and the specific functions and parameters of each layer. During the construction process, the server may use some deep learning frameworks or libraries (such as TensorFlow, PyTorch, etc.) to simplify operations and improve efficiency. At the same time, the server also needs to configure appropriate training algorithms and optimizers for the new network so that it can effectively learn and update its parameters in the next training phase.
[0137] As a result, the server successfully generated the application-based guidance network for the k+1th cyclic network training phase, fully preparing for the subsequent training and optimization work. This new network will combine the advantages of the previous two networks and show stronger performance and generalization ability when processing application-based network conversation text.
[0138] In a possible implementation manner, after step S140, the following steps are included:
[0139] Step C110, the simplified guided network generated in the kth cyclic network training stage mines the content of the reference class network conversation training text, and performs network parameter learning error judgment based on the reference class prior annotation knowledge to generate a second reference class training error. The parameter amount of the network function layer definition information of the simplified guided network is less than the parameter amount of the network function layer definition information of the application class guidance network.
[0140] In this embodiment, after completing the k+1th cyclic network training stage and generating the application class guidance network, the server now needs to use the streamlined guided network generated in the kth cyclic network training stage to mine the reference class network conversation training text, and determine the network parameter learning error based on the reference class prior annotation knowledge to generate a second reference class training error.
[0141] In detail, the server first uses the refined guided network generated by the k-th recurrent network training stage to process the reference class network session training text to extract the mining content.
[0142] Next, the server compares the extracted mining content with the known prior annotation knowledge of the reference class and calculates the differences between them.
[0143] Based on these differences, the server determines the network parameter learning error and generates a second reference class training error, which reflects the degree to which the simplified guided network deviates from the prior knowledge when processing the reference class network conversation training text.
[0144] As a result, the server obtains the second reference class training error, which is a quantitative indicator used to measure the performance of the streamlined guided network when processing the reference class network conversation training text.
[0145] Step C120, the simplified guided network generated in the k-th cyclic network training stage mines the application network conversation training text, performs network parameter learning error discrimination based on the application fuzzy mining content, and generates a second application feature space training error.
[0146] In this embodiment, next, the server needs to use the same streamlined guided network to process the application-type network conversation training text, and determine the network parameter learning error based on the previously generated application-type fuzzy mining content to generate a second application feature space training error.
[0147] In detail, the server uses the streamlined guided network generated by the k-th recurrent network training stage to process the application-class network conversation training text and extract the mining content.
[0148] Then, the server compares the extracted mining content with the previously generated application-class fuzzy mining content and calculates the difference between them.
[0149] Based on these differences, the server determines the network parameter learning error and generates a second application feature space training error, which reflects the degree of deviation of the streamlined guided network from the fuzzy mining content when processing the application network conversation training text.
[0150] As a result, the server obtains the second application feature space training error, which is also a quantitative indicator used to measure the performance of the streamlined guided network in processing application-type network conversation training text.
[0151] Step C130, performing network parameter learning on the simplified guided network generated in the k-th cyclic network training phase according to the second reference class training error and the second application feature space training error, generating a simplified guided network generated in the k+1-th cyclic network training phase, until a second network service mining network is generated, and the second network service mining network is used to mine the application class network conversation text and the reference class network conversation text.
[0152] In this embodiment, the server now needs to perform network parameter learning on the simplified guided network generated in the kth cyclic network training stage according to the second reference class training error and the second application feature space training error to generate a simplified guided network generated in the k+1th cyclic network training stage.
[0153] In detail, the server takes the second reference class training error and the second application feature space training error as input, and uses an optimization algorithm (such as a gradient descent algorithm) to update the parameters of the streamlined guided network.
[0154] During the parameter update process, the server continuously adjusts network parameters such as weights and biases to minimize training errors and improve network performance.
[0155] After a certain number of iterations and optimizations, the server generates a streamlined guided network generated in the k+1th cyclic network training phase.
[0156] As a result, the server gets a new, optimized, streamlined guided network that has better performance when processing reference and application network session text.
[0157] Finally, the server needs to repeat the above steps until a second network service mining network that meets the requirements is generated. This network will be used to mine application-type network conversation texts and reference-type network conversation texts.
[0158] In detail, the server will repeat the recurrent network training phase to continuously generate new streamlined guided networks and optimize their performance.
[0159] After each cyclic network training phase, the server will evaluate whether the performance of the current streamlined guided network meets the requirements. If it meets the requirements, the training will be stopped and the second network service mining network will be output; if it does not meet the requirements, it will continue to enter the next cyclic network training phase for training and optimization.
[0160] Finally, when the streamlined guided network generated by a certain cyclic network training phase meets all requirements (such as reaching the preset accuracy, recall rate and other indicators), the server outputs it as the second network service mining network.
[0161] As a result, the server obtains a high-performance second network service mining network, which can effectively mine and analyze application-type network conversation texts and reference-type network conversation texts.
[0162] In a possible implementation, step S140 may include:
[0163] Step S141, mining the application class network conversation training text through the application class guidance network generated in the k+1th cyclic network training stage, generating reference fuzzy mining content corresponding to the application class network conversation training text and a credibility value corresponding to the reference fuzzy mining content.
[0164] In this embodiment, the server has generated an application class guidance network through the k+1th cyclic network training phase. Now, the server will use this network to mine the application class network session training text to generate reference fuzzy mining content and assign credibility values to these contents.
[0165] Specifically, the server inputs the application class network conversation training text into the application class guidance network generated in the k+1th cyclic network training phase. The application class guidance network processes and analyzes the input text and extracts features and patterns therein.
[0166] Based on the internal logic of the network and the learned parameters, the application class guides the network to generate reference fuzzy mining content corresponding to the input text. These contents may be keywords, phrases, sentences or their combination in the text, reflecting the main information and potential meaning of the text.
[0167] At the same time, the application class guidance network also assigns a credibility value to each reference fuzzy mining content. This value indicates the network's confidence in the mining content, that is, the relevance and accuracy of the content. The higher the credibility value, the greater the network's confidence in the mining content; conversely, the lower the confidence.
[0168] Thus, the server obtains the reference fuzzy mining contents corresponding to the application network conversation training texts and their credibility values.
[0169] Step S142: if the credibility value corresponding to the reference fuzzy mining content is greater than the set credibility value, it is determined that the reference fuzzy mining content is the application type fuzzy mining content.
[0170] In this embodiment, the server now needs to determine the final application-type fuzzy mining content according to the credibility value of the reference fuzzy mining content. Only when the credibility value exceeds the set credibility threshold, the corresponding reference fuzzy mining content will be selected as the application-type fuzzy mining content.
[0171] In detail, the server traverses all reference fuzzy mined contents and their corresponding credibility values.
[0172] For each reference fuzzy mining content, the server compares its credibility value with the set credibility threshold. This threshold is a standard preset according to actual needs and network performance to filter out high-quality mining content.
[0173] If the credibility value of a reference fuzzy mining content is greater than the set credibility threshold, the server determines it as application-type fuzzy mining content, which means that the content is considered to be sufficiently relevant and accurate to be used for subsequent analysis and processing.
[0174] If the credibility value of a reference fuzzy mining content is less than or equal to the set credibility threshold, the server excludes it and does not treat it as application-class fuzzy mining content. This may be because the relevance or accuracy of the content is insufficient to meet the requirements of subsequent processing.
[0175] Therefore, the server determines the final application-class fuzzy mining content based on the comparison results of the credibility values. These contents are selected from the reference fuzzy mining content, have high quality and accuracy, and can be used for subsequent network conversation text analysis and processing.
[0176] In a possible implementation, the step S140 may further include:
[0177] Step S143, obtaining the credibility value corresponding to the application-type fuzzy mining content.
[0178] Step S144, the reference application class guided network mines the application class network conversation training text, performs network parameter learning error discrimination based on the application class fuzzy mining content, and generates a reference application feature space training error.
[0179] Step S145 , fusing the reference application feature space training error according to the credibility value to generate the first application feature space training error.
[0180] In this embodiment, the server has assigned a credibility value to each mining content in the process of the application class guiding the network to generate the application class fuzzy mining content. Now, the server needs to obtain these credibility values for use in the subsequent network parameter learning error discrimination.
[0181] For example, the server retrieves the application-class fuzzy mining content and its corresponding credibility value from a previously stored or cached location. The server ensures that each mining content is correctly matched with its credibility value so that these values can be accurately used in subsequent processing. As a result, the server successfully obtains the credibility value corresponding to the application-class fuzzy mining content, and is ready for the next step of network parameter learning error discrimination.
[0182] Next, it is necessary to use the reference application class guided network to mine the application class network conversation training text, and judge the network parameter learning error based on the application class fuzzy mining content to generate the reference application feature space training error. In detail, the server inputs the application class network conversation training text into the reference application class guided network to obtain the mining content. The server compares the mining content generated by the reference application class guided network with the previously obtained application class fuzzy mining content. The server calculates the difference between the mining content and the application class fuzzy mining content, and this difference reflects the learning error of the reference application class guided network when processing the application class network conversation training text. The server quantifies this difference as the reference application feature space training error. As a result, the server generates a reference application feature space training error, which reflects the degree of deviation of the reference application class guided network from the application class fuzzy mining content when processing the application class network conversation training text.
[0183] Then, it is necessary to fuse the reference application feature space training error according to the credibility value of the application class fuzzy mining content to generate the first application feature space training error. In detail, the server traverses all reference application feature space training errors and the credibility values of their corresponding application class fuzzy mining content. For each reference application feature space training error, the server performs weighted processing according to the credibility value of its corresponding application class fuzzy mining content. The training error corresponding to the mining content with a higher credibility value will obtain a larger weight, while the training error corresponding to the mining content with a lower credibility value will obtain a smaller weight. The server fuses all weighted reference application feature space training errors to obtain the first application feature space training error. This error comprehensively considers the impact of mining content with different credibility values on network parameter learning. Thus, the first application feature space training error is generated. This error is a weighted fusion result that integrates mining content with different credibility values, which can more accurately reflect the performance of the reference application class guided network when processing application class network conversation training text.
[0184] In a possible implementation manner, the application-type network conversation text and the reference-type network conversation text may be mined based on the first network service mining network to generate a mining result.
[0185] For example, the server inputs the application network conversation text and the reference network conversation text into the first network service mining network respectively. These texts may contain various forms of data such as user dialogues, chat records, comments, feedback, etc.
[0186] The First Web Service Mining Network processes and analyzes the input text. It may use techniques such as Natural Language Processing (NLP), deep learning, and machine learning to extract features and representations of the text. During the processing, the First Web Service Mining Network may identify information such as keywords, phrases, entities, sentiment tendencies, and topic classifications in the text. This information is essential for understanding the content and intent of the text. The First Web Service Mining Network may also compare and correlate application-type web conversation texts and reference-type web conversation texts to discover similarities and differences between them. This helps reveal insights into user behavior, preferences, needs, and so on.
[0187] After processing and analyzing the mining network, the server will generate a series of mining results. These results may be presented in structured data, visual charts, reports or other forms so that users can easily understand and use them.
[0188] For example, the server obtains processed data and analysis results from the first network service mining network. These data may include extracted features, classification labels, association rules, etc. The server performs post-processing on the mining results as needed, such as aggregation, sorting, filtering, etc., to make them more in line with the user's expectations and needs. Finally, the server presents the mining results to the user in an appropriate format and manner. Through these results, the user can gain in-depth insights and understanding of the application network conversation text and the reference network conversation text, so as to make more informed decisions or take more effective actions.
[0189] Figure 2 The data processing 100 applied to network services shown includes: a processor 1001 and a memory 1003. The processor 1001 and the memory 1003 are connected, such as through a bus 1002. Optionally, the data processing 100 applied to network services may also include a transceiver 1004, which can be used for data interaction between the server and other servers, such as data transmission and / or data reception. It should be noted that in actual scheduling, the transceiver 1004 is not limited to one, and the structure of the data processing 100 applied to network services does not constitute a limitation on the embodiments of the present application.
[0190] Processor 1001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 1001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0191] The bus 1002 may include a path to transmit information between the above components. The bus 1002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 1002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0192] The memory 1003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium, other magnetic storage devices, or any other medium that can be used to carry or store program code and can be read by a computer, without limitation herein.
[0193] The memory 1003 is used to store program codes for executing the embodiments of the present application, and the execution is controlled by the processor 1001. The processor 1001 is used to execute the program codes stored in the memory 1003 to implement the steps shown in the above method embodiments.
[0194] An embodiment of the present application provides a computer-readable storage medium having program code stored thereon. When the program code is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0195] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless there is a clear description in this article, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders based on demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages according to the actual implementation scenario. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage in these sub-steps or stages can also be executed at different times respectively. In different scenarios at the execution time, the execution order of these sub-steps or stages can be flexibly configured based on demand, and the embodiment of the present application does not limit this.
[0196] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the scheme of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.
Claims
1. A data processing method applied to network services, characterized in that: The method comprises: Acquire reference network conversation training text and application network conversation training text, wherein the reference network conversation training text carries reference class prior annotation knowledge, and the reference class prior annotation knowledge represents a priori mining result of the reference network conversation training text in a target network service mining process; In the k+1th cyclic network training stage, the application class guided network generated in the kth cyclic network training stage mines the reference class network conversation training text, and performs network parameter learning error discrimination based on the reference class prior annotation knowledge to generate a first reference class training error, wherein k is a positive integer; Performing network parameter learning on the application class guided network generated in the kth cyclic network training phase according to the first reference class training error to generate a reference application class guided network; The application class guiding network generated in the k+1th cyclic network training stage mines the application class network conversation training text to generate application class fuzzy mining content, and the reference application class guided network mines the application class network conversation training text, performs network parameter learning error discrimination based on the application class fuzzy mining content, and generates a first application feature space training error. The application class guiding network generated in the k+1th cyclic network training stage is a neural network generated by performing migration parameter learning on the reference application class guided network; Performing network parameter learning on the reference application class guided network according to the first application feature space training error, generating an application class guided network generated in the k+1th cyclic network training phase, until a first network service mining network is generated, wherein the first network service mining network is used to mine application class network conversation texts and reference class network conversation texts; The method further comprises: In the k+1th cyclic network training stage, the application-class guided network generated in the kth cyclic network training stage performs semantic scene vector adaptability analysis on the reference-class network conversation training text and the application-class network conversation training text to generate a semantic scene adaptability error; The step of performing network parameter learning on the application class guided network generated in the kth cyclic network training phase according to the first reference class training error to generate a reference application class guided network includes: Performing network parameter learning on the application class guided network generated in the kth cyclic network training phase according to the semantic scene adaptability error and the first reference class training error to generate the reference application class guided network; The application class guided network generated according to the k-th cyclic network training stage performs semantic scene vector adaptability analysis on the reference class network conversation training text and the application class network conversation training text to generate a semantic scene adaptability error, including: Extracting the reference class semantic embedding vector of the reference class network conversation training text by the guided network according to the application class generated in the kth cyclic network training stage; Extracting the application class semantic embedding vector of the application class network conversation training text by the guided network according to the application class generated in the kth cyclic network training stage; Performing service risk mining on the reference class semantic embedding vector to generate first mining content, wherein the first mining content represents the confidence that the reference class semantic embedding vector belongs to the reference class network conversation training text; Performing service risk mining on the application class semantic embedding vector to generate second mining content, the second mining content representing the confidence that the application class semantic embedding vector belongs to the application class network session training text; Determining the semantic scene adaptability error based on a direction in which a feature distance between the first mined content and the second mined content is reduced and a feature distance between the reference class semantic embedding vector and the application class semantic embedding vector is increased; The step of determining the semantic scene adaptability error based on the direction of reducing the feature distance between the first mined content and the second mined content and increasing the feature distance between the reference class semantic embedding vector and the application class semantic embedding vector comprises: calculating a first feature distance between the first mined content and the second mined content; Calculating a second feature distance between the reference class semantic embedding vector and the application class semantic embedding vector; Based on the first characteristic distance and the second characteristic distance, a corresponding adaptive error function is defined, wherein the adaptive error function is used to define corresponding weights for the first characteristic distance and the second characteristic distance so as to minimize the first characteristic distance and maximize the second characteristic distance; The application class guidance network generated by the k+1th cyclic network training stage mines the application class network conversation training text to generate application class fuzzy mining content, including: Mining the application class network conversation training text through the application class guidance network generated in the k+1th cyclic network training stage to generate reference fuzzy mining content corresponding to the application class network conversation training text and a credibility value corresponding to the reference fuzzy mining content; If the credibility value corresponding to the reference fuzzy mining content is greater than the set credibility value, determining that the reference fuzzy mining content is the application-type fuzzy mining content; The step of using the reference application class guided network to mine the application class network conversation training text, performing network parameter learning error discrimination according to the application class fuzzy mining content, and generating a first application feature space training error includes: Obtaining a credibility value corresponding to the application-class fuzzy mining content; The reference application class guided network mines the application class network conversation training text, performs network parameter learning error discrimination based on the application class fuzzy mining content, and generates a reference application feature space training error; The reference application feature space training error is fused according to the credibility value to generate the first application feature space training error.
2. The data processing method applied to network services according to claim 1, characterized in that: Before the step of mining the application class network conversation training text through the application class guidance network generated by the k+1th cyclic network training stage to generate the application class fuzzy mining content, the step includes: Obtaining first network function layer definition information of the reference application class guided network; Obtain the second network function layer definition information of the application class guidance network generated in the k-th cyclic network training phase; Integrate the first network function layer definition information and the second network function layer definition information based on the set network optimization parameter to generate integrated network function layer definition information; According to the integrated network function layer definition information, the application class guidance network generated in the k+1th cyclic network training phase is generated.
3. The data processing method applied to network services according to claim 1 or 2, characterized in that: The application class guidance network generated by the k+1th cyclic network training stage mines the application class network conversation training text to generate application class fuzzy mining content, including: The simplified guided network generated in the k-th cyclic network training phase mines the reference network conversation training text, performs network parameter learning error discrimination based on the reference prior annotation knowledge, and generates a second reference training error, wherein the parameter amount of the network function layer definition information of the simplified guided network is less than the parameter amount of the network function layer definition information of the application guidance network; The simplified guided network generated in the k-th cyclic network training phase mines the application network conversation training text, performs network parameter learning error discrimination based on the application fuzzy mining content, and generates a second application feature space training error; The simplified guided network generated in the k-th cyclic network training phase is subjected to network parameter learning according to the second reference class training error and the second application feature space training error to generate a simplified guided network generated in the k+1-th cyclic network training phase until a second network service mining network is generated, and the second network service mining network is used to mine the application class network conversation text and the reference class network conversation text.
4. The data processing method applied to network services according to claim 1, characterized in that: The method further comprises: Based on the first network service mining network, application-type network conversation texts and reference-type network conversation texts are mined to generate mining results.
5. A data processing system applied to network services, characterized in that: The invention comprises a processor and a computer-readable storage medium, wherein the computer-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by the processor, the data processing method applied to network services as described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Dialogue model training method and device, computer equipment and storage medium
CN111680123A
Object classification method and device, training method and device, equipment and storage medium
CN111709493A
Training method and device for financial risk identification model, computer equipment and medium
CN111724083A
Semi-supervised anomaly detection method based on transfer learning
CN113128613A
Model training method and related equipment
CN113807183A
