Model fine tuning method, device and equipment, medium and program product
Through the working together between cloud servers and central servers, the initial classification model is carefully adjusted using preset fine-tuning rules and weight coefficients, which solves the problem that traditional model fine-tuning cannot be made locally and targeted fine-tuning, and significantly improves the accuracy and adaptation of the model sex.
Patent Information
- Application Number
- CN202411020912.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-29
AI Technical Summary
The traditional model fine-tuning method is mainly based on global adjustment, neglects local features and cannot be targeted optimization, resulting in poor fine-tuning results.
Through the working together between the cloud server and the central server, the initial classification model is carefully adjusted using preset fine-tuning rules and weight coefficients, and targeted fine-tuning models are generated, and multiple fine-tuning models are fused into target classification through the integration rules. Model.
It significantly improves the accuracy and adaptability of the model, and can be targeted for different fine-tuning reasons, improving the performance and accuracy of the model.
Smart Images

Figure CN119046749A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular, relates to a model fine-tuning method, device, equipment, medium and program product. Background Art
[0002] With the continuous development of artificial intelligence technology, machine learning models have been widely used in various fields.
[0003] In actual operation, model fine-tuning has become an important step to improve the performance and accuracy of the model. However, the traditional model fine-tuning method mainly adjusts the model parameters and structure uniformly based on the newly added data set. Therefore, there are limitations on global adjustment, local features are ignored, and there is a lack of targeted optimization strategies, which affects the effect of fine-tuning.
[0004] Therefore, the existing technology has the problem that the model fine-tuning cannot be performed locally and cannot be performed targeted fine-tuning. Summary of the invention
[0005] The embodiments of the present application provide a model fine-tuning method, device, equipment, medium and program product, which solve the problem that the prior art cannot perform local adjustments and targeted fine-tuning when fine-tuning the model.
[0006] In a first aspect, an embodiment of the present application provides a method for fine-tuning a model, comprising:
[0007] The cloud server responds to the model fine-tuning request and obtains the target fine-tuning reason and fine-tuning sample data in the model fine-tuning request;
[0008] Using the preset M fine-tuning rules and based on the fine-tuning sample data, fine-tune the initial classification model to obtain M fine-tuned classification models, where M is a positive integer greater than or equal to 2;
[0009] Send M fine-tuned classification models to the central server;
[0010] The central server obtains M target weight coefficients corresponding to the target fine-tuning reason in the preset correspondence relationship between the fine-tuning reason and the M weight coefficients, wherein the M target weight coefficients correspond one-to-one to the M fine-tuned classification models;
[0011] According to the preset integration rules, based on M target weight coefficients, the M fine-tuned classification models are integrated to obtain the target classification model.
[0012] In a possible embodiment of the first aspect, the target fine-tuning reason includes a fine-tuning reason of a newly added type tag; before responding to the model fine-tuning request and obtaining the target fine-tuning reason and the fine-tuning sample data in the model fine-tuning request, the method further includes:
[0013] The base station obtains, in response to the classification request of the target service, first characteristic information of the target service in the classification request;
[0014] Using the initial classification model, determining a target preset type label that matches the first feature information among multiple preset type labels;
[0015] In the correspondence between the preset type label and the preset interval, obtaining the target preset interval corresponding to the target preset type label;
[0016] When the first characteristic information is not within the target preset interval, determining that the target fine-tuning reason is a fine-tuning reason of a newly added type tag, and generating a target type tag to which the target service belongs, wherein the target type tag is different from a plurality of preset type tags;
[0017] Generate a model fine-tuning request based on the fine-tuning sample data and the target fine-tuning reason, wherein the fine-tuning sample data includes a target type label and first feature information of the target business;
[0018] Send a model fine-tuning request to the cloud server.
[0019] In a possible embodiment of the first aspect, the first characteristic information of the target service includes N first characteristic values of the target service, where N is a positive integer greater than or equal to 1; the target preset interval includes N sub-intervals, and the N sub-intervals correspond one-to-one to the N first characteristic values; when the first characteristic information is not within the target preset interval, determining that the target fine-tuning reason is a fine-tuning reason of a newly added type label, and generating a target type label to which the target service belongs, including:
[0020] When at least Q of the N first characteristic values of the target business are not within their corresponding sub-intervals, the target fine-tuning reason is determined to be the fine-tuning reason of the newly added type label, and a target type label to which the target business belongs is generated, where Q is a positive integer greater than or equal to 1 and less than or equal to N.
[0021] In a possible embodiment of the first aspect, the target fine-tuning reason includes a fine-tuning reason of model performance; before responding to the model fine-tuning request and obtaining the target fine-tuning reason and the fine-tuning sample data in the model fine-tuning request, the method further includes:
[0022] The central server obtains first indicator values of multiple performance indicators of the initial classification model within a first preset time period;
[0023] When at least one first indicator value is greater than its corresponding preset threshold, obtaining a network connection state within a first preset time period;
[0024] When the network connection state is normal, obtaining historical characteristic information of the first service within a first preset time period;
[0025] When there is no abnormal information in the historical feature information of the first business within the first preset time period, determining the target fine-tuning reason as the fine-tuning reason of the model performance, and obtaining fine-tuning sample data;
[0026] Generate a model fine-tuning request based on the fine-tuning sample data and the fine-tuning reason of the model performance;
[0027] Send a model fine-tuning request to the cloud server.
[0028] In a possible embodiment of the first aspect, the reason for fine-tuning the model performance includes a reason for fine-tuning a target performance indicator, wherein the target performance indicator is a performance indicator among multiple performance indicators whose indicator value is greater than its corresponding preset threshold.
[0029] In a possible embodiment of the first aspect, M fine-tuning rules are used to fine-tune different performance indicators of the initial classification model; the method further includes:
[0030] The central server obtains second indicator values of multiple performance indicators of the initial classification model within a second preset time period;
[0031] When the difference between the second indicator value and the first indicator value of the same performance indicator is greater than or equal to the preset difference, sending the target fine-tuning rule corresponding to the same performance indicator to the cloud server;
[0032] When receiving the target fine-tuning rule, the cloud server replaces the fine-tuning rule corresponding to the same performance indicator with the target fine-tuning rule.
[0033] In a possible embodiment of the first aspect, before using the preset M fine-tuning rules to fine-tune the initial classification model based on the first feature information and the target type label to obtain the M fine-tuned classification models, the method further includes:
[0034] The central server obtains training sample data, where the training sample data includes historical feature information of multiple second services and preset type labels corresponding to the second services;
[0035] Based on the training sample data, supervised training is performed on different original classification models to obtain multiple target original classification models;
[0036] According to the preset loss function, the error values of multiple target original classification models are calculated;
[0037] The target original classification model corresponding to the minimum error value is used as the initial classification model;
[0038] Send the initial classification model to the base station and cloud server.
[0039] In a possible embodiment of the first aspect, the cloud server includes M cloud nodes; the preset M fine-tuning rules are respectively located in different cloud nodes;
[0040] The initial classification model is fine-tuned using the preset M fine-tuning rules based on the first feature information and the target type label, respectively, to obtain M fine-tuned classification models, including:
[0041] Using the fine-tuning rules in the M cloud nodes, the initial classification model is fine-tuned based on the first feature information and the target type label, to obtain M fine-tuned classification models;
[0042] Send the initial classification model to the base station and cloud server.
[0043] Based on the same inventive concept, in the second aspect, an embodiment of the present application also provides a model fine-tuning system, which includes a cloud server and a central server, and the cloud server and the central server are used to execute the model fine-tuning method as in the first aspect, or any embodiment of the first aspect.
[0044] In a possible embodiment of the second aspect, the cloud server includes M cloud nodes, and the preset M fine-tuning rules are respectively located in different cloud nodes.
[0045] In a possible embodiment of the second aspect, the system also includes a base station, and the cloud server, the central server and the base station are used to execute the fine-tuning method of the model as in the first aspect, or any embodiment of the first aspect.
[0046] Based on the same inventive concept, in the third aspect, an embodiment of the present application also provides a model fine-tuning device, which includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the first aspect, or the model fine-tuning method in any embodiment of the first aspect.
[0047] Based on the same inventive concept, in the fourth aspect, an embodiment of the present application also provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the first aspect or the fine-tuning method of the model in any embodiment of the first aspect is implemented.
[0048] Based on the same inventive concept, in the fifth aspect, an embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by the processor of the device, the device can execute the first aspect, or the model fine-tuning method in any embodiment of the first aspect.
[0049] The fine-tuning method, device, equipment, medium and program product of the model of the embodiment of the present application, after the cloud server receives the model fine-tuning request, will extract the fine-tuning reason specified in the request and the related sample data. These sample data cover the characteristic information of the business and its corresponding classification label. Then, each fine-tuning rule set in advance is combined with these features and labels to make a detailed adjustment to the original classification model, thereby generating M fine-tuned models, wherein each fine-tuning rule is fine-tuned in a different way and with different emphasis, and then the cloud server sends the M fine-tuned classification models and the target fine-tuning reason to the central server. Then, after receiving the M fine-tuned classification models and the target fine-tuning reason, the central server can find a corresponding set of (M) weight coefficients from the preset corresponding relationship according to the target fine-tuning reason, so each fine-tuned model will obtain a weight coefficient matching it, so that the importance of these fine-tuned models can be quantitatively evaluated, and then these weight coefficients can be used to merge multiple adjusted models into a more accurate target classification model, so that the initial classification model can be fine-tuned in a targeted manner according to different fine-tuning reasons, significantly improving the accuracy of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features and the accompanying drawings are not drawn to scale.
[0051] Figure 1 It is a flow chart of a fine-tuning method of a model provided in an embodiment of the present application;
[0052] Figure 2 It is a flowchart of fine-tuning a model in the case of adding a new business type label in the fine-tuning method of the model provided in an embodiment of the present application;
[0053] Figure 3 It is a flowchart of fine-tuning a model in a fine-tuning method of a model provided in an embodiment of the present application when no new service type label is added but the model performance is reduced;
[0054] Figure 4 It is a flowchart of replacing fine-tuning rules when the model performance deteriorates seriously in the fine-tuning method of the model provided in the embodiment of the present application;
[0055] Figure 5 It is a flow chart of training the original classification model and generating the initial classification model in the fine-tuning method of the model provided in the embodiment of the present application;
[0056] Figure 6 It is a schematic diagram of the architecture of the fine-tuning system of the model in the fine-tuning method of the model provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0058] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0059] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0060] It is obvious to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit or scope of the present application. Therefore, the present application is intended to cover modifications and changes of the present application that fall within the scope of the corresponding claims (technical solutions for protection) and their equivalents. It should be noted that the implementation methods provided in the embodiments of the present application can be combined with each other without contradiction.
[0061] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0062] With the continuous development of artificial intelligence technology, machine learning models have been widely used in various fields. In practical applications, in order to make machine learning models better adapt to specific business scenarios and data distribution, it is often necessary to fine-tune the model. Fine-tuning means adjusting the parameters and structure of the model to make it more in line with the needs of specific tasks, thereby improving the performance and accuracy of the model.
[0063] However, traditional model fine-tuning methods mainly adjust model parameters and structures uniformly based on new data sets. Therefore, there are limitations on global adjustments, local features are ignored, and targeted optimization strategies are lacking, which affects the effect of fine-tuning. Therefore, related technologies have the problem that model fine-tuning cannot be adjusted locally and cannot be targeted.
[0064] Based on this, the embodiments of the present application provide a model fine-tuning method, device, equipment, medium and program product, which can solve the problem that related technologies cannot perform local adjustments and targeted fine-tuning when fine-tuning the model.
[0065] The fine-tuning method of the model provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0066] Figure 1 is a flow chart of a fine-tuning method of a model provided in an embodiment of the present application, such as Figure 1 As shown, the method may include steps S110 to S150.
[0067] S110, the cloud server responds to the model fine-tuning request and obtains the target fine-tuning reason and fine-tuning sample data in the model fine-tuning request.
[0068] The fine-tuning sample data may include the first characteristic information of the target business, and may also include a target type label to which the target business belongs.
[0069] A model fine-tuning request is a request to fine-tune the initial classification model.
[0070] The initial classification model is a pre-trained model that can classify services and obtain the service type to which the services belong.
[0071] The characteristic information of the target service may be referred to as the first characteristic information. The first characteristic information may include characteristic values corresponding to multiple characteristics of the target service, such as the characteristic values corresponding to the bandwidth characteristic, delay characteristic, spatiotemporal characteristic, data volume characteristic, and time delay characteristic of the target service, which may be used as the first characteristic information.
[0072] It should be noted that fine-tuning the model can be simply understood as conducting supervised training on the basis of the initial classification model, thereby fine-tuning the parameters of the initial classification model. Supervised training requires training sample data and result labels. For example, the training sample data during fine-tuning is the feature information of the target business, and the result label is the target type label to which the target business belongs.
[0073] Specifically, when the cloud server receives a model fine-tuning request, it obtains the target fine-tuning reason and sample data of the fine-tuning in the request. For example, the sample data may include the first feature information of the target business and the target type label to which the target business belongs.
[0074] S120, the cloud server uses the preset M fine-tuning rules and fine-tunes the initial classification model based on the fine-tuning sample data to obtain M fine-tuned classification models, where M is a positive integer greater than or equal to 2.
[0075] Among the preset M fine-tuning rules, different fine-tuning rules have their own advantages. For example, some fine-tuning rules perform better in classification accuracy, while other fine-tuning algorithms perform better in large-scale data processing.
[0076] In one example, the M fine-tuning rules may include support vector machine (SVM), decision tree, random forest, neural network, K-nearest neighbors (KNN), naive Bayes and logistic regression, etc. Among them, models such as support vector machine (SVM), decision tree, random forest or neural network can better adapt to nonlinear data and may perform better in adaptability. Lightweight models such as K-nearest neighbors (KNN), naive Bayes or logistic regression have lower computational complexity and resource consumption. For example, support vector machine (SVM) is used for online training on one cloud node, neural network is used for online training on another cloud node, and naive Bayes algorithm is used for online training on another cloud node.
[0077] M is a positive integer greater than or equal to 2, representing the number of preset fine-tuning rules. The value of M can be set according to actual needs, and is not limited in the embodiments of the present application.
[0078] Specifically, the preset fine-tuning rules can adjust and optimize the initial classification model according to the fine-tuning sample data. For example, among the M fine-tuning rules, each fine-tuning rule will make slight changes to the initial classification model based on the first feature information and target type label of the target business in the fine-tuning sample data, thereby generating M fine-tuned classification models with different performance and characteristics.
[0079] S130, the cloud server sends M fine-tuned classification models and target fine-tuning reasons to the central server.
[0080] S140, when the central server receives M fine-tuned classification models and target fine-tuning reasons, it obtains M target weight coefficients corresponding to the target fine-tuning reasons in the correspondence between the preset fine-tuning reasons and the M weight coefficients, wherein the M target weight coefficients correspond one-to-one to the M fine-tuned classification models.
[0081] Among them, in the preset correspondence relationship between the fine-tuning reasons and the M weight coefficients, a set of corresponding weight coefficients (M weight coefficients) can be specified for each fine-tuning reason.
[0082] Specifically, when the central server receives M fine-tuned classification models and target fine-tuning reasons, it can quickly retrieve M target weight coefficients that match the target fine-tuning reasons in the preset correspondence between fine-tuning reasons and weight coefficients. These coefficients correspond one-to-one with the M classification models obtained after fine-tuning, and are used to quantify the relative importance of each model in the integrated decision. In this way, the integration effect of the model can be optimized by adjusting the weight coefficient according to specific fine-tuning requirements and scenarios.
[0083] S150, the central server integrates the M fine-tuned classification models according to the preset integration rules and based on the M target weight coefficients to obtain a target classification model.
[0084] Among them, the integration rule can integrate the M fine-tuned classification models into a target classification model based on the target weight coefficient corresponding to each fine-tuned classification model.
[0085] For example, the integration rules may include weighted average, voting mechanism, direct integration, feature-level fusion, model-level fusion or neural network integration, etc. Among them, model-level fusion can be implemented by boosting method or stacking method.
[0086] Specifically, after determining the M target weight coefficients, the preset integration rules can be used to integrate the M fine-tuned classification models. By applying the integration rules, the M models can be combined to form a more accurate and robust target classification model. This integration process ensures that the contribution of each fine-tuned model is considered and has different importance, so as to improve the performance of the entire system in a targeted manner.
[0087] According to the fine-tuning method of the model provided in the embodiment of the present application, after receiving the model fine-tuning request in the cloud server, the fine-tuning reason specified in the request and the related sample data will be extracted. These sample data cover the characteristic information of the business and its corresponding classification label. Then, each fine-tuning rule set in advance is combined with these features and labels to make a detailed adjustment to the original classification model, thereby generating M fine-tuned models, wherein each fine-tuning rule is fine-tuned in a different way and with different emphasis, and then the cloud server sends the M fine-tuned classification models and the target fine-tuning reason to the central server. Then, after receiving the M fine-tuned classification models and the target fine-tuning reason, the central server can find a corresponding set of (M) weight coefficients from the preset corresponding relationship according to the target fine-tuning reason, so each fine-tuned model will obtain a weight coefficient matching it, so that the importance of these fine-tuned models can be quantitatively evaluated, and then these weight coefficients can be used to merge multiple adjusted models into a more accurate target classification model, so that the initial classification model can be fine-tuned in a targeted manner according to different fine-tuning reasons, significantly improving the accuracy of the model.
[0088] Combine the following Figure 2 and Figure 3 The detailed process of explaining why different target fine-tuning occurs in different situations is introduced.
[0089] Figure 2 It is a flowchart of fine-tuning the model in the case of adding a new business type label in the fine-tuning method of the model provided in an embodiment of the present application.
[0090] In some embodiments, Figure 2 As shown, the target fine-tuning reason includes the fine-tuning reason of the newly added type tag. Before the server responds to the model fine-tuning request in step S110 and obtains the target fine-tuning reason and fine-tuning sample data in the model fine-tuning request, the model fine-tuning method further includes steps S161 to S166.
[0091] S161: In response to a classification request of a target service, a base station obtains first characteristic information of the target service in the classification request.
[0092] The fine-tuning reason for the newly added type label is the fine-tuning reason for fine-tuning the model when the type of the business is a newly added type.
[0093] It should be noted that, since multiple preset type labels are used when training the initial classification model, when using the initial classification model, when classifying the target business, only the preset type label that is most similar to the type of the target business can be found from the multiple preset type labels. When the type of the target business does not belong to any of the multiple preset type labels, that is, when the target business is a new business, the initial classification model needs to be fine-tuned.
[0094] Specifically, when the target service needs to be classified, the base station may obtain the first characteristic information of the target service.
[0095] S162: The base station uses an initial classification model to determine, from a plurality of preset type tags, a target preset type tag that matches the first feature information.
[0096] Specifically, when it is necessary to classify the target business, the first feature information of the target business can be obtained, and then the pre-trained initial classification model is used to analyze and match the set multiple preset type labels to determine the target preset type label corresponding to the target business.
[0097] S163: The base station obtains a target preset interval corresponding to the target preset type tag from the correspondence between the preset type tag and the preset interval.
[0098] Specifically, in the established correspondence between preset type tags and preset intervals, once the target preset type tag of the target service is determined through the initial classification model, the target preset interval corresponding to the type tag can be quickly found and obtained.
[0099] S164, when the first characteristic information is not within the target preset interval, the base station determines that the target fine-tuning reason is a fine-tuning reason of a newly added type tag, and generates a target type tag to which the target service belongs, wherein the target type tag is different from multiple preset type tags.
[0100] Specifically, when the first characteristic information of the target service does not conform to the determined target preset interval, the system will recognize that this may be due to the addition of a new type tag. Therefore, the system will generate a new type tag that matches the target service, namely the target type tag.
[0101] S165, the base station generates a model fine-tuning request based on the target type tag, the first characteristic information of the target service, and the target fine-tuning reason.
[0102] Specifically, after identifying that the first characteristic information of the target business does not conform to the preset interval and determining that the fine-tuning reason is the newly added type label, the system will generate a model fine-tuning request based on the target type label, the first characteristic information of the target business, and the target fine-tuning reason. This request is intended to instruct the model to make necessary adjustments and optimizations to adapt to the new business type and characteristics, ensuring that similar target businesses in the future can be accurately classified and processed.
[0103] S166, the base station sends a model fine-tuning request to the cloud server.
[0104] In an embodiment of the present application, by accurately identifying and processing the situation of newly added business type labels, the classification accuracy and adaptability of the model are significantly improved. Specifically, after the base station receives the classification request of the target business, it will first obtain its first feature information, and use the initial classification model to match the most similar target preset type label in the preset type label. Subsequently, the base station can check the preset interval corresponding to the target preset type label. If the first feature information is not within the interval, it is identified as a new business type and a new target type label is generated. Finally, based on the fine-tuning sample data (target type label, first feature information) and the target fine-tuning reason (fine-tuning reason for the new type label), a model fine-tuning request is generated to update and optimize the model to ensure accurate classification of similar businesses in the future. It effectively responds to the challenges of diversified and rapidly changing business types, and significantly improves the flexibility and accuracy of the model in handling new business types.
[0105] In some embodiments, the first characteristic information of the target service includes N first characteristic values of the target service, where N is a positive integer greater than or equal to 1. The target preset interval includes N subintervals, and the N subintervals correspond one-to-one to the N first characteristic values. Step S164: When the first characteristic information is not within the target preset interval, the base station determines that the target fine-tuning reason is a fine-tuning reason of a newly added type tag, and generates a target type tag to which the target service belongs, including step S1641.
[0106] S1641, when at least Q first characteristic values among the N first characteristic values of the target service are not within their corresponding sub-intervals, the base station determines that the target fine-tuning reason is the fine-tuning reason of the newly added type label, and generates a target type label to which the target service belongs, where Q is a positive integer greater than or equal to 1 and less than or equal to N.
[0107] Specifically, if among the N first characteristic values of the target business, at least Q characteristic values exceed their corresponding sub-interval ranges, it means that the classification result of the target business type label to which the target business belongs obtained using the initial classification model is wrong. The system will determine that this is due to the fine-tuning of the newly added type label, and generate a new type label that matches the target business accordingly.
[0108] In the embodiment of the present application, the refined analysis of the characteristic values helps to more accurately identify new business types, thereby ensuring that the model can maintain efficient performance when processing increasingly diverse business types.
[0109] In the process of fine-tuning the model, in addition to fine-tuning for the newly added type labels, it also includes fine-tuning based on model performance. Figure 3 This section describes the process of fine-tuning the model when no new business type labels are added but the model performance deteriorates.
[0110] Figure 3 It is a flowchart of model fine-tuning in the model fine-tuning method provided in an embodiment of the present application when no new business type label is added but the model performance is reduced.
[0111] In some embodiments, Figure 3 As shown, the target fine-tuning reason includes the fine-tuning reason of the model performance. Before the cloud server responds to the model fine-tuning request in step S110 and obtains the target fine-tuning reason and fine-tuning sample data in the model fine-tuning request, the model fine-tuning method further includes steps S171 to S176.
[0112] S171, the central server obtains first indicator values of multiple performance indicators of the initial classification model within a first preset time period.
[0113] The first preset period is a period of time used to observe whether the model performance has decreased. The length of the first preset period can be set according to demand, and is not limited in the embodiment of the present application.
[0114] The index values of multiple performance indexes of the initial classification model within the first preset time period may be referred to as first index values.
[0115] Multiple performance indicators, such as response time, number of requests, error rate, and other indicators of the classification model.
[0116] Specifically, when evaluating model performance, the central server can first be controlled to obtain the first indicator values of multiple performance indicators of the initial classification model within a first preset time period. These indicator values will be used as the basis for evaluating model performance and provide data support for subsequent determination of whether performance fine-tuning is needed and how to perform fine-tuning.
[0117] S172: When at least one first indicator value is greater than its corresponding preset threshold, the central server obtains the network connection status within a first preset time period.
[0118] Specifically, if at least one first indicator value is greater than its corresponding preset threshold, the system will further analyze the network connection status.
[0119] S173: When the network connection state is normal, the central server obtains historical feature information of the first service within a first preset time period.
[0120] Specifically, if at least one first indicator value exceeds a preset threshold and the network connection status is normal, the system will further collect and analyze historical characteristic information of the first service within a first preset time period.
[0121] S174, when there is no abnormal information in the historical feature information of the first business within the first preset time period, the central server determines that the target fine-tuning reason is a fine-tuning reason for the model performance, and obtains fine-tuning sample data.
[0122] Specifically, if at least one first indicator value exceeds a preset threshold, and the network connection status is normal and no abnormality is found in the historical feature information of the first service within the first preset period, it indicates that there is a problem of model performance degradation, and this is used as the reason for target fine-tuning. Next, the system will obtain relevant fine-tuning sample data for fine-tuning the model.
[0123] S175, the central server generates a model fine-tuning request based on the fine-tuning sample data and the fine-tuning reason of the model performance.
[0124] Specifically, after determining the reasons for fine-tuning the model performance and collecting the corresponding fine-tuning sample data, a model fine-tuning request can be generated. The model fine-tuning request can serve as a basis for model optimization and performance improvement, and guide the subsequent model fine-tuning process.
[0125] S176, the central server sends a model fine-tuning request to the cloud server.
[0126] In an embodiment of the present application, it can be used to address the situation where no new business type labels are added but the model performance has declined. Specifically, the central server can evaluate whether the model performance has declined by obtaining the first indicator value of multiple performance indicators of the initial classification model within a first preset time period. When it is found that at least one performance indicator exceeds the preset threshold, the network connection status is further analyzed and the historical feature information of the first business is collected. If the network connection is normal and there is no abnormality in the historical feature information, the degradation of the model performance is determined to be the cause of fine-tuning, and fine-tuning sample data is collected. Finally, a model fine-tuning request is generated based on these sample data and fine-tuning reasons to guide subsequent model optimization and performance improvement, which effectively improves the adaptability of the model when performance declines and ensures that the model can continue to provide high-quality services.
[0127] In some embodiments, the reason for fine-tuning the model performance includes the reason for fine-tuning the target performance indicator, wherein the target performance indicator is a performance indicator among multiple performance indicators whose indicator value is greater than its corresponding preset threshold.
[0128] Specifically, when evaluating model performance, the first indicator values of multiple performance indicators of the initial classification model within a first preset time period can be obtained, and then when at least one first indicator value is greater than its corresponding preset threshold value, the network connection status within the first preset time period is obtained, and then when the network connection status is normal, the historical feature information of the first business within the first preset time period is obtained, and when there is no abnormal information in the historical feature information, the target fine-tuning reason is determined to be the fine-tuning reason of the target performance indicator, and the fine-tuning sample data is obtained, and then based on the fine-tuning sample data and the fine-tuning reason of the model performance, a model fine-tuning request is generated.
[0129] In the embodiment of the present application, when the model performance declines, special attention will be paid to which specific target performance indicator has declined, so that the root cause of the model performance problem can be quickly located. When the value of the performance indicator is abnormal, it will be regarded as the main reason for the decline in model performance, and then trigger the corresponding model fine-tuning process to optimize and improve the performance of the target indicator of the model. Different fine-tuning rules correspond to different performance indicators, so the weight coefficients of the fine-tuning rules can be adjusted according to the target performance indicators and non-target performance indicators, that is, the weight coefficients of the M classification models after fine-tuning can be adjusted to adjust the model for the declined performance indicators, thereby optimizing and improving the performance of the target indicator, which helps to ensure that the model can be adjusted quickly and effectively in the face of performance degradation, and maintain its efficient and stable operating state.
[0130] Figure 4 It is a flowchart of replacing fine-tuning rules when the model performance deteriorates seriously in the fine-tuning method of the model provided in the embodiment of the present application.
[0131] In some embodiments, Figure 4 As shown, M fine-tuning rules are used to fine-tune different performance indicators of the initial classification model. The method also includes steps S181 to S183.
[0132] S181, the central server obtains second indicator values of multiple performance indicators of the initial classification model within a second preset time period.
[0133] The second preset period is used to evaluate whether the model performance has seriously declined. The second preset period can be set according to actual needs, and this is not limited in the embodiments of the present application. For example, in the process of using the initial classification model, it is found that Figure 2 , Figure 3 If the model performance indicators still deteriorate seriously after fine-tuning using the fine-tuning method in , you can update the fine-tuning rules.
[0134] Specifically, the system obtains second indicator values of multiple performance indicators of the initial classification model within a second preset time period, so as to evaluate the performance status of the model according to these indicator values and determine whether it is necessary to replace or adjust the rules for fine-tuning the model.
[0135] S182, when the difference between the second indicator value and the first indicator value of the same performance indicator is greater than or equal to the preset difference, the central server sends the target fine-tuning rule corresponding to the same performance indicator to the cloud server.
[0136] The target fine-tuning rule may be other pre-set fine-tuning rules, or may be a fine-tuning rule that can improve the performance indicator after being verified through experiments.
[0137] Specifically, when the difference between the second indicator value of a performance indicator within the second preset time period and the first indicator value within the first preset time period reaches or exceeds the preset difference threshold, it indicates that the model performance has seriously declined. At this time, the central server can send the target fine-tuning rules to the cloud server.
[0138] S183, when receiving the target fine-tuning rule, the cloud server replaces the fine-tuning rule corresponding to the same performance indicator with the target fine-tuning rule.
[0139] Specifically, the cloud server may replace the current fine-tuning rule corresponding to the same performance indicator with the target fine-tuning rule.
[0140] In the embodiment of the present application, by monitoring the second indicator value of multiple performance indicators of the initial classification model in the second preset time period and comparing it with the first indicator value in the first preset time period, when the difference of a certain performance indicator reaches or exceeds the preset threshold, it indicates that the model performance has seriously declined. At this time, the fine-tuning rule corresponding to the performance indicator can be automatically replaced with a new fine-tuning rule (target fine-tuning rule). This replacement can more accurately fine-tune the model according to the significant changes in the performance indicator, so as to quickly restore or improve the performance of the model.
[0141] Figure 5 It is a flow chart of training the original classification model and generating the initial classification model in the fine-tuning method of the model provided in the embodiment of the present application.
[0142] In some embodiments, Figure 5 As shown, in step S120, the cloud server uses the preset M fine-tuning rules to fine-tune the initial classification model based on the first feature information and the target type label, respectively, to obtain M fine-tuned classification models. The fine-tuning method of the model also includes steps S191 to S195.
[0143] S191, the central server obtains training sample data, where the training sample data includes historical feature information of multiple second services and preset type labels corresponding to the second services.
[0144] The second service is the service included in the training sample data when the initial classification model is trained.
[0145] Specifically, before fine-tuning the initial classification model using the preset M fine-tuning rules, the central server needs to generate the initial classification model through supervised training. Sample data for training can be obtained, which includes historical feature information of multiple second services for training and corresponding preset type labels.
[0146] S192, the central server performs supervised training on different original classification models based on the training sample data to obtain multiple target original classification models.
[0147] Specifically, there may be multiple original classification models, that is, there may be multiple machine learning models. By inputting the training sample data into different machine learning models for supervised training respectively, multiple trained target original classification models can be obtained.
[0148] S193, the central server calculates the error values of multiple target original classification models according to a preset loss function.
[0149] Specifically, according to the pre-set loss function, the error values of multiple target original classification models can be calculated. These error values reflect the degree of difference between the model prediction results and the true labels, and can evaluate the performance and accuracy of each target original classification model.
[0150] S194, the central server uses the target original classification model corresponding to the minimum error value as the initial classification model.
[0151] Specifically, based on the principle of minimizing the error value, the target original classification model with the smallest error value can be selected as the initial classification model, which can ensure that the initial classification model has the best performance and accuracy, and provide a high-quality starting point for the subsequent fine-tuning process based on the model.
[0152] S195, the central server sends the initial classification model to the base station and the cloud server.
[0153] In an embodiment of the present application, an initial classification model can be generated through a supervised training process. By obtaining training sample data containing historical feature information of multiple second services and corresponding preset type labels, and using these data to train different original classification models respectively, a plurality of target original classification models are generated. Subsequently, the error values of these models are calculated using a preset loss function to evaluate their performance and accuracy. Ultimately, the target original classification model with the smallest error value is selected as the initial classification model to ensure that it has the best performance and accuracy, providing a high-quality foundation for the subsequent fine-tuning process based on the model, significantly improving the initial performance of the model, and providing a solid foundation for subsequent model fine-tuning and optimization.
[0154] In one example, the central server uses an offline learning method to build an initial classification model. Specifically:
[0155] 1) Preparation of basic data.
[0156] The business resource historical data (historical feature information of a plurality of second businesses and preset type labels corresponding to the second businesses) for fitting learning are collected.
[0157] It should be noted that the historical characteristic information of the multiple second services is derived from the storage of the node close to the source of the mobile service data. The second service is predefined with multiple preset type tags, and the preset type tags are recorded as {A1, A2, ..., Ai}, where each preset type tag corresponds to the range of change of N characteristic information changes, that is, corresponds to N sub-intervals.
[0158] It should also be noted that the N characteristic information are representative and distinctive characteristic information in the business resources, including but not limited to: bandwidth characteristics, delay characteristics, spatiotemporal characteristics, data volume and delay tolerance characteristics, etc.
[0159] 2) Offline training and establishment of basic model.
[0160] Based on the training sample data, supervised training is performed on different original classification models to obtain multiple target original classification models, and the target original classification model corresponding to the minimum error value is used as the initial classification model).
[0161] 2.1) The historical data of mobile service resources (historical feature information of multiple second services) and the historical type data of mobile service resources (preset type labels corresponding to the second services) are divided into two parts, namely, a training data set and a test data set; the training data set is used to train the model, and the test data set is used for verification and evaluation.
[0162] 2.2) Perform training based on the training data set and the specified machine learning algorithm to obtain multiple target original classification models.
[0163] 2.3) Input the test data set into each target original classification model respectively, and calculate the error values of multiple target original classification models according to the preset loss function, and take the target original classification model corresponding to the minimum error value as the initial classification model.
[0164] In the embodiment of the present application, the initial classification model is constructed by adopting an offline learning method, which effectively utilizes the historical data of mobile service resources, and finally determines the initial classification model with the minimum error value by preparing basic data, dividing training and test data sets, and training and evaluating based on machine learning algorithms. Not only are multiple representative and distinguishing service features, such as bandwidth, delay, spatiotemporal features, etc., considered, but the accuracy and reliability of the classification model are also ensured through supervised training and testing processes.
[0165] Based on the same inventive concept, the present application embodiment also provides a model fine-tuning system, such as Figure 6 As shown, the system includes a cloud server and a central server, and the cloud server and the central server are used to execute the fine-tuning method of the model in any of the above embodiments. Therefore, the fine-tuning system of the model has all the beneficial effects of the fine-tuning method of the model.
[0166] In some embodiments, the cloud server includes M cloud nodes, and the preset M fine-tuning rules are respectively located in different cloud nodes.
[0167] In some embodiments, Figure 6 As shown, the system also includes a base station, and the cloud server, the central server and the base station are used to execute the fine-tuning method of the model in any of the above embodiments.
[0168] In one embodiment, you can continue to see Figure 6 , the fine-tuning system of the service may include a base station, a central server and a cloud server. Specifically:
[0169] 1. The base station may include a service receiving module, an edge computing classification module, and an edge transmission module.
[0170] The service receiving module is used to receive a service classification request from a mobile device or other edge node, and may include a network interface and a protocol stack for receiving and parsing the service classification request.
[0171] The edge computing classification module corresponds to the edge node one by one and is deployed on the corresponding edge node. Each edge computing classification module is internally set with a unified initial classification model, which is pre-trained by the central server. The initial classification model is used to process the classification tasks of various business resources.
[0172] The edge transmission module is responsible for communicating with the central server, other base stations or other systems, and may include network communication and data transmission protocols.
[0173] The data is transmitted to the central server for subsequent centralized processing and analysis.
[0174] Transmitting to other base stations enables collaborative work between edge nodes. In some cases, sending data to other edge nodes through the edge transmission module can achieve distributed processing of data sharing and computing tasks, thereby improving the efficiency and response speed of the overall system.
[0175] Transmitted to other systems, which are external systems associated with or independent of the current edge computing subsystem. Data backup, business integration, service expansion, etc. can be performed.
[0176] 2. The central server may include a monitoring and evaluation module, a data processing module, a central computing module, an integration module and an update module.
[0177] The data processing module is used to receive data transmitted from the edge transmission module in the base station, and process and analyze the data to determine whether the input target service is an update service. Data cleaning, denoising, normalization, etc. can be performed. For example, the method for determining whether the input target service is an update service can be through feature change detection. For example, when at least Q feature values among the N feature values of the target service are not within their corresponding subintervals, the target service is determined to be an update service.
[0178] The central computing module has multiple specified machine learning algorithms set up inside, which is used to select the optimal machine learning algorithm based on the error minimization rule, generate the initial classification model, and transmit the initial classification model to each node of the cloud server and the edge transmission module in the base station. All offline data are concentrated in the central server, which can be more easily optimized globally and accurately modeled, which can improve the accuracy of classification model establishment and speed up the speed and efficiency of training.
[0179] The integration module is used to integrate the fine-tuned target initial classification models of M cloud nodes to generate an integrated target classification model.
[0180] The update module is used to receive the integrated target classification model output by the integration module, and is responsible for transmitting the target classification model or updated configuration information back to the edge computing classification module and the cloud node. The update module may include a network communication and data transmission protocol for transmitting data to the corresponding designated base station and cloud node to keep the classification model on the base station and cloud node up to date.
[0181] The monitoring and evaluation module is connected to the edge transmission module and the data processing module. The edge transmission module transmits the monitoring data to the monitoring and evaluation module. The monitoring data includes the classification accuracy of the initial classification model, key model performance indicators such as response time, and N feature information of the business.
[0182] When the monitoring data on the base station received by the monitoring and evaluation module is within a certain acceptable range and there is no obvious downward trend, no adjustment or optimization is required. If the monitoring data on the base station exceeds the acceptable range (preset interval), the reasons for the performance degradation of the classification model are analyzed: 1) If it is a change in the network environment, check the network connection or confirm the network bandwidth to ensure that the network environment can support data transmission; 2) Analyze the extracted feature information. If there are outliers, it indicates that the decline in the model's monitoring data may be caused by a specific type of abnormal data. Consider deleting these abnormal data from the data; 3) If the performance of the model itself is degraded, the performance indicators output by the classification model can be monitored and compared to evaluate which performance indicators of the classification model are degraded or insufficient, and the initial classification model can be fine-tuned and the weight coefficient of the cloud node can be adjusted.
[0183] In one example, when the model performance seriously degrades, the old fine-tuning rules can be replaced, and the fine-tuning rule combination method on the cloud node can be adjusted in the monitoring and evaluation module. Specifically: 1) Select alternative algorithms: Analyze the current machine learning algorithm combination to determine possible improvement directions. According to the characteristics of the problem and the data, select some alternative machine learning algorithm combinations to replace the old fine-tuning rules in the cloud node; 2) Design experiments: In order to evaluate the performance of alternative algorithms, compare the performance of different algorithm combinations by using cross-validation or random sampling; 3) Experimental evaluation: Use the data of new mobile service resources received in the current network to test and evaluate the alternative algorithm combination; 4) Select the best combination: According to the results of the experimental evaluation, select the best performing algorithm combination and input the adjusted combination into the cloud computing system. After receiving the adjustment combination signal from the monitoring and evaluation module, the cloud computing system can implement the adjustment operation on the cloud node.
[0184] In another example, data on new mobile service resources are received from the current network in a certain periodic manner by cross-validation or random sampling, and the model is tested and evaluated using this data to obtain evaluation results. Based on the evaluation results, the algorithm on the cloud node is adjusted to ensure continuous optimization of the model performance.
[0185] 3. The cloud server may include M cloud nodes, and the cloud nodes can use their own fine-tuning rules to perform targeted fine-tuning on the initial classification model.
[0186] M cloud nodes are each set with a different fine-tuning rule.
[0187] In the embodiment of the present application, the fine-tuning system of the model is composed of a base station, a central server and a cloud server. The base station edge computing quickly responds and preliminarily classifies the business, the central server generates the initial classification model, monitors, processes and integrates the data, and the cloud server uses multiple cloud nodes to fine-tune and optimize the classification model, thereby achieving accurate classification and management of distributed business data. This architecture that combines edge computing, central computing and cloud computing can ensure the high efficiency and low latency of edge computing and central computing, while making full use of the integration capabilities of central computing and the distributed computing capabilities of cloud computing.
[0188] In some embodiments, the cloud server includes M cloud nodes; the preset M fine-tuning rules are located in different cloud nodes. The cloud server can use the fine-tuning rules in the M cloud nodes to fine-tune the initial classification model based on the first feature information and the target type label, obtain M fine-tuned classification models, and integrate them in the central server.
[0189] The embodiment of the present application sets a unified classification model on the edge node (base station), and the training and fine-tuning of the classification model are realized through the combination of the central server and the cloud node, which reduces the computing and storage load of the edge node (base station). At the same time, the preset fine-tuning rules are distributed on different cloud nodes, which can flexibly respond to model fine-tuning requests and fine-tune the initial classification model to adapt to changes in different fine-tuning reasons, thereby improving the adaptability and accuracy of the classification model. It effectively solves the problems of large edge node load, high energy consumption and difficulty in flexible adjustment of classification models in the prior art, and provides a more efficient and flexible solution for business resource classification.
[0190] In one example, the preset fusion rule can use stacking. In the stacking method, multiple basic models are first used to predict the training data, and then these prediction results are used as new features to build a new training data set. This new training data set contains metadata of the prediction results of each basic model and can be used to train a meta-model.
[0191] In another example, the preset fusion rule can use Boosting. Boosting is a model fusion method that combines multiple weak classifiers to produce a strong classifier. The basic idea is to weighted average the prediction results of multiple classifiers to obtain the final prediction result. In the Boosting method, each new classifier will give a greater weight to the samples that were misclassified by the previous classifier, so that the model can continuously optimize its classification ability of samples during the iteration process. In the specific implementation process, the Boosting algorithm will dynamically adjust the weight of each classifier according to the performance of each classifier, so that the model can be better optimized in the next iteration.
[0192] It should be understood that in the embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0193] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A model fine-tuning method, characterized in that: include: The cloud server obtains the target fine-tuning reason and fine-tuning sample data in the model fine-tuning request in response to the model fine-tuning request; Using the preset M fine-tuning rules, based on the fine-tuning sample data, fine-tuning the initial classification model to obtain M fine-tuned classification models, wherein M is a positive integer greater than or equal to 2; Sending the M fine-tuned classification models and the target fine-tuning reasons to a central server; When the central server receives the M fine-tuned classification models and the target fine-tuning reasons, it obtains the M target weight coefficients corresponding to the target fine-tuning reasons in the preset correspondence relationship between the fine-tuning reasons and the M weight coefficients, wherein the M target weight coefficients correspond one-to-one to the M fine-tuned classification models; According to a preset integration rule, based on the M target weight coefficients, the M fine-tuned classification models are integrated to obtain a target classification model.
2. The method according to claim 1, characterized in that The target fine-tuning reason includes the fine-tuning reason of adding a new type label; Before obtaining the target fine-tuning reason and fine-tuning sample data in the model fine-tuning request in response to the model fine-tuning request, the method further includes: The base station obtains, in response to the classification request of the target service, the first feature information of the target service in the classification request; Using the initial classification model, determining a target preset type label that matches the first feature information among multiple preset type labels; In the correspondence between the preset type label and the preset interval, obtaining the target preset interval corresponding to the target preset type label; In the case where the first characteristic information is not within the target preset interval, determining that the target fine-tuning reason is the fine-tuning reason of the newly added type tag, and generating the target type tag to which the target service belongs, wherein the target type tag is different from the plurality of preset type tags; Generate the model fine-tuning request based on the fine-tuning sample data and the target fine-tuning reason, wherein the fine-tuning sample data includes the target type tag and the first feature information of the target business; Send the model fine-tuning request to the cloud server.
3. The method according to claim 2, characterized in that The first characteristic information of the target service includes N first characteristic values of the target service, where N is a positive integer greater than or equal to 1; the target preset interval includes N sub-intervals, and the N sub-intervals correspond one-to-one to the N first characteristic values; when the first characteristic information is not within the target preset interval, determining that the target fine-tuning reason is the fine-tuning reason of the newly added type label, and generating the target type label to which the target service belongs, includes: When at least Q of the N first characteristic values of the target business are not within the corresponding sub-intervals, the target fine-tuning reason is determined to be the fine-tuning reason of the newly added type label, and the target type label to which the target business belongs is generated, wherein Q is a positive integer greater than or equal to 1 and less than or equal to N.
4. The method according to claim 1, characterized in that: The target fine-tuning reasons include reasons for fine-tuning model performance; Before obtaining the target fine-tuning reason and fine-tuning sample data in the model fine-tuning request in response to the model fine-tuning request, the method further includes: The central server obtains first indicator values of multiple performance indicators of the initial classification model within a first preset time period; When at least one of the first indicator values is greater than its corresponding preset threshold, obtaining the network connection status within the first preset time period; When the network connection state is normal, obtaining the historical characteristic information of the first service within the first preset time period; In a case where there is no abnormal information in the historical feature information of the first business within the first preset time period, determining the target fine-tuning reason as a fine-tuning reason for the model performance, and acquiring the fine-tuning sample data; Generate a model fine-tuning request based on the fine-tuning sample data and the reason for fine-tuning the model performance; Send the model fine-tuning request to the cloud server.
5. The method according to claim 4, characterized in that The reasons for fine-tuning the model performance include reasons for fine-tuning a target performance indicator, wherein the target performance indicator is a performance indicator whose indicator value is greater than the corresponding preset threshold value among multiple performance indicators.
6. The method according to claim 4, characterized in that The M fine-tuning rules are used to fine-tune different performance indicators of the initial classification model; the method further includes: The central server obtains second indicator values of multiple performance indicators of the initial classification model within a second preset time period; When the difference between the second indicator value and the first indicator value of the same performance indicator is greater than or equal to a preset difference, sending the target fine-tuning rule corresponding to the same performance indicator to the cloud server; When receiving the target fine-tuning rule, the cloud server replaces the fine-tuning rule corresponding to the same performance indicator with the target fine-tuning rule.
7. The method according to claim 1, characterized in that Before fine-tuning the initial classification model using the preset M fine-tuning rules based on the first feature information and the target type label to obtain M fine-tuned classification models, the method further includes: The central server obtains training sample data, where the training sample data includes historical feature information of a plurality of second services and the preset type label corresponding to the second services; Based on the training sample data, supervised training is performed on different original classification models to obtain multiple target original classification models; Calculating error values of multiple target original classification models according to a preset loss function; Taking the target original classification model corresponding to the minimum error value as the initial classification model; The initial classification model is sent to the base station and the cloud server.
8. A fine-tuning system for a model, characterized in that: The system includes a cloud server and a central server, and the cloud server and the central server are used to execute the fine-tuning method of the model as described in any one of claims 1 to 7.
9. The system according to claim 8, characterized in that The cloud server includes M cloud nodes, and the preset M fine-tuning rules are respectively located in different cloud nodes.
10. The system according to claim 8 or 9, characterized in that The system also includes a base station, and the cloud server, the central server and the base station are used to execute the fine-tuning method of the model as described in any one of claims 1 to 7.
Citation Information
Cited By
Resource allocation method and system based on cloud edge collaboration
CN119676185A
