Nanotube algorithm optimization method and device based on algorithm evaluation and computer medium

By establishing an algorithm baseline standard system and a data backflow testing mechanism on the algorithm management platform, combined with the scoring and ranking mechanism, the problem of insufficient algorithm quality assurance and optimization automation closed loop in the existing technology has been solved, and the continuous optimization and data analysis of the algorithm have been achieved. Improved model security and stability.

CN118779200APending Publication Date: 2024-10-15E SURFING VISION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310328554.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing technology lacks an evaluation mechanism for algorithm models, resulting in insufficient algorithm quality assurance and a lack of automated closed-loop processes. Online data cannot be directly returned to algorithm manufacturers, making it difficult to optimize algorithms.

Method used

Establish an algorithm baseline standard system, conduct testing and optimization through online reflow data, output deprived sample data and abnormal data label analysis, realize continuous tracking and optimization of the algorithm, and introduce a scoring and ranking mechanism to motivate developers.

Benefits of technology

It realizes the continuous tracking and optimization of the algorithm, ensures the safety, reliability and performance stability of the model, provides data analysis tools to help optimize, and promotes the continuous iterative upgrade of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779200A_ABST
    Figure CN118779200A_ABST
Patent Text Reader

Abstract

The invention discloses a nanotube algorithm optimization method and device based on algorithm evaluation and a computer medium. The method comprises the following steps: introducing an algorithm on an algorithm management platform; admission testing is carried out on the evaluation algorithm; the algorithm passing the evaluation admission test is applied online; performing periodic evaluation on the evaluation algorithm; outputting a periodic evaluation report; and scoring and ranking the evaluation algorithms. Related apparatus and computer media are also described.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of machine learning, and more specifically to the field of machine learning algorithm evaluation. More specifically, it relates to a method, device and computer medium for optimizing a management algorithm based on algorithm evaluation. Background Art

[0002] With the rapid development of the artificial intelligence industry, more and more people are paying attention to standardized and process-based platforms based on AI, in pursuit of rapid implementation of AI capabilities and driving explosive growth in the AI ​​industry. As a telecom operator, the algorithm management platform based on the AI ​​middle platform not only needs to manage the self-developed algorithms developed on this platform, but also needs to be able to manage the algorithms of other manufacturers and put them into production.

[0003] The algorithms managed by the algorithm warehouse need to test the interface specifications and functionality during the algorithm access verification phase to ensure the quality of the algorithm. However, the generalization ability of the model after it is launched is more important. The security and reliability of the online model, as well as the performance, stability, and robustness of the inference capability provided online, all need to be continuously tracked and optimized after the algorithm is launched. However, in the existing technology, the following problems exist in the implementation of continuous optimization of the algorithm:

[0004] First, there is no evaluation mechanism for algorithm models, so there is a lack of quality assurance;

[0005] Second, an automated closed-loop process for iterative optimization of algorithm models has not been established;

[0006] Third, considering data security issues, online reflux data cannot be directly provided to algorithm manufacturers, and online algorithm test reports are also difficult to use original sample data.

[0007] Therefore, there is an urgent need in the art for a method, device and computer medium that can continuously track the management algorithm and its users. The method, device and computer medium can continuously track and optimize the algorithm based on the evaluation of the algorithm. Summary of the invention

[0008] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description given later.

[0009] Based on the problem of continuous optimization of online algorithms in the algorithm management platform in the prior art, this application proposes a management algorithm optimization method, device and computer medium based on algorithm evaluation. The method, device and computer medium have the following advantages.

[0010] First, we established an algorithm baseline standard system to perform baseline standard testing and optimize and improve the baseline standard when testing the algorithm based on online reflux data;

[0011] Second, we established an online data reflow testing mechanism, so we can continuously test the algorithm using the reflow data;

[0012] Third, the output test report adds de-privacy sample data and abnormal data label analysis to help developers optimize the algorithm later;

[0013] Fourth, an algorithm scoring and ranking mechanism was established to encourage algorithm developers to continue to optimize the algorithm.

[0014] According to a first aspect of the present application, a method for optimizing a management algorithm based on algorithm evaluation is disclosed, the method comprising the following steps:

[0015] Introduce algorithms on the algorithm management platform;

[0016] Conduct an admission test on the algorithm;

[0017] The algorithms that pass the access test will be put into use online;

[0018] Conduct periodic evaluation of the algorithm;

[0019] Output a report on the periodic assessment; and

[0020] The algorithm is scored and ranked.

[0021] According to a preferred embodiment of the present application, performing an admission test on the algorithm includes: setting an admission test baseline standard, and performing an admission test on the algorithm based on the baseline standard.

[0022] According to a preferred embodiment of the present application, periodically evaluating the algorithm includes: periodically evaluating the algorithm based on an online reflow data set and updating the baseline standard based on a report of the periodic evaluation.

[0023] According to a preferred embodiment of the present application, periodic evaluation of the algorithm based on the online reflow data set also includes: customizing data reflow rules to periodically reflow data to a specified data set; introducing a pre-labeling model to pre-label the reflow data and generate a new data set; and using the new data set as an evaluation input to automatically or manually initiate the periodic evaluation.

[0024] According to a preferred embodiment of the present application, the report of the periodic evaluation includes the de-privacy sample data and the label analysis results of the abnormal data.

[0025] According to a preferred embodiment of the present application, if the report of the periodic evaluation indicates that the algorithm is not effective, the report and the abnormal data are fed back to the provider of the algorithm for subsequent optimization of the algorithm.

[0026] According to a preferred embodiment of the present application, scoring and ranking the algorithm includes:

[0027] The algorithm is scored and ranked based on its execution accuracy, execution efficiency, resources consumed when executing the algorithm, and stability.

[0028] According to the preferred embodiment of the present application, the comprehensive score of the algorithm is: P*W p +E*W E , where P is the evaluation index of the algorithm, E is the performance index of the algorithm, and W represents the weight.

[0029] According to a second aspect of the present application, a management algorithm optimization device based on algorithm evaluation is disclosed, the device comprising:

[0030] Algorithm introduction module, used to introduce the algorithm on the algorithm management platform;

[0031] Algorithm admission test module, used to perform admission test on the algorithm;

[0032] The algorithm online module is used to put the algorithm that has passed the admission test online for application;

[0033] Continuous tracking and evaluation module, used to perform periodic evaluation of the algorithm;

[0034] A report output module, used to output the report of the periodic evaluation; and

[0035] The scoring and ranking module is used to score and rank the algorithm.

[0036] According to a third aspect of the present application, a computer-readable medium storing a computer-executable code is disclosed. When the computer-executable code is executed by a computer, the method described above is performed.

[0037] To achieve the foregoing and related ends, the one or more aspects include the features fully described below and particularly pointed out in the appended claims. The following description and drawings set forth in detail certain illustrative features of the one or more aspects. However, these features are merely indicative of several of the various ways in which the principles of the various aspects may be employed, and this description is intended to cover all such aspects and their equivalents. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to understand in detail the manner in which the above-stated features of the present application are used, a more specific description of the above briefly summarized contents may be made with reference to various aspects, some of which are illustrated in the accompanying drawings. However, it should be noted that the accompanying drawings illustrate only certain typical aspects of the present application and should not be considered to limit its scope, as the present description may allow for other equally effective aspects.

[0039] In the attached picture:

[0040] Figure 1 is a flow chart illustrating a method for optimizing a management algorithm based on algorithm evaluation according to an embodiment of the present application;

[0041] Figure 2 is a schematic diagram illustrating a baseline management mechanism of a management algorithm optimization method according to an embodiment of the present application;

[0042] Figure 3 is a schematic diagram illustrating a data backflow test mechanism of a method for optimizing a management algorithm according to an embodiment of the present application;

[0043] Figure 4 A schematic diagram of a test report output mechanism of the method for optimizing the management algorithm according to an embodiment of the present application is illustrated in FIG.

[0044] Figure 5 A schematic diagram of a scoring and ranking mechanism of a method for optimizing a management algorithm according to an embodiment of the present application is illustrated in FIG.

[0045] Figure 6 It is a structured block diagram illustrating a device for optimizing a management algorithm based on algorithm evaluation according to an embodiment of the present application. DETAILED DESCRIPTION

[0046] The detailed description set forth below in conjunction with the accompanying drawings is intended as a description of various configurations and is not intended to represent the only configurations in which the concepts described herein may be practiced. This detailed description includes specific details to provide a thorough understanding of the various concepts. However, it will be apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known components are shown in block diagram form in order to avoid diluting such concepts.

[0047] It is to be understood that other embodiments would be apparent based on the present disclosure, and that system, structural, process, or mechanical changes may be made without departing from the scope of the present disclosure.

[0048] With reference to the accompanying drawings, aspects are described with reference to one or more components and one or more methods that can perform the actions or functions described herein. On the one hand, the term "module" used herein can be one of the parts that constitute the system, can be hardware or software or some combination thereof, and can be divided into other components. Although the operations described below in the accompanying drawings are presented in a specific order and / or as performed by example components, it should be understood that the order of these actions and the components that perform the actions can vary depending on the implementation. In addition, it should be understood that the following actions or functions can be performed by a specially programmed processor, a processor that executes specially programmed software or a computer-readable medium, or by any other combination of hardware components and / or software components that can perform the described actions or functions.

[0049] Figure 1 A flowchart of a method for optimizing a management algorithm based on algorithm evaluation according to an embodiment of the present application is explained in the figure.

[0050] like Figure 1 As shown in , the management algorithm optimization method according to the present application mainly includes the following steps.

[0051] Step 1: Algorithm introduction

[0052] That is, upload the image of the algorithm on the algorithm management platform.

[0053] Step 2: Algorithm access test

[0054] That is, a baseline standard is set and the algorithm is tested for entry based on the baseline standard.

[0055] Step 3: Algorithm launch

[0056] Algorithms that pass the algorithm access test will be put online for application.

[0057] Step 4: Continuous follow-up evaluation

[0058] Based on the online reflux data sample set, the algorithm is periodically evaluated, baseline standard testing is performed, and the baseline standard is optimized and improved.

[0059] Step 5 Report Output

[0060] Periodically output algorithm evaluation reports, including de-private sample data and abnormal data label analysis results

[0061] Step 6: Score Ranking

[0062] All algorithms in the algorithm warehouse are scored and ranked to encourage algorithm providers to continuously optimize and upgrade the algorithm.

[0063] Figure 2 The baseline management mechanism according to an embodiment of the present application is explained in FIG.

[0064] The following combination Figure 2 The key technologies used in the baseline management mechanism according to this application are described in detail.

[0065] Algorithm baseline setting

[0066] Algorithm baseline setting is a quantitative method to measure the performance of an algorithm in order to determine whether the algorithm meets the minimum performance requirements in the same type of specific task scenarios.

[0067] For example, some baseline algorithms for the current specific task scenarios, including random prediction algorithms, zero rule algorithms, etc., use the performance indicators of these baseline algorithms in the task scenarios, such as accuracy, recall rate and other algorithm indicators, as the minimum expected scores for the current task scenarios, thereby providing judgment and comparison standards for subsequent optimization algorithms.

[0068] Algorithm baseline standard update

[0069] After multiple algorithms for the same type of task scenario are compared and tested against a unified baseline standard, the optimal algorithm that meets the current task scenario is selected and cold-started and put into operation.

[0070] Through the BadCase (difficult examples) continuously generated by online business and randomly extracted data, after being labeled, a data set that is closer to the business and has higher quality is formed. Algorithm evaluation is continuously carried out based on the continuously returned data set in order to screen out more stable and robust algorithms. Based on the continuously optimized algorithm performance indicator scores, the baseline standards are continuously improved to provide more accurate evaluation standards for the evaluation of subsequent algorithms.

[0071] Figure 3 A schematic diagram of a data backflow test mechanism of the Naguan algorithm optimization method according to an embodiment of the present application is illustrated in FIG.

[0072] like Figure 3 As shown in , after the algorithm model is launched in production, if you need to monitor the actual evaluation effect of the algorithm, you need to evaluate the algorithm through real data, and the evaluation results can be provided to the algorithm provider for subsequent optimization of the algorithm performance.

[0073] In order to ensure real-time monitoring of the algorithm's effects, it is necessary to customize data reflow rules (such as regularly collecting online data and landing it), introduce pre-labeled models to process the reflow data, and trigger the algorithm evaluation service in real time to automatically evaluate the algorithm's effects and output reports and baseline scores, etc., to complete the monitoring of the algorithm's true effects.

[0074] First, you need to define online reflow rules to periodically reflow data to the specified data set. 2. Perform data processing on the reflowed data set, such as deduplication and identification of difficult data. Then, pre-label the reflowed data and generate a new data set version.

[0075] Then, use this version of the dataset as the evaluation input, and automatically or manually initiate the algorithm evaluation service to generate an evaluation report for the algorithm.

[0076] If the algorithm performs poorly, the evaluation report and BadCase output can be fed back to the algorithm provider as a reference for the algorithm provider to subsequently optimize the algorithm.

[0077] Finally, the algorithm provider updates the optimized algorithm to the algorithm warehouse platform.

[0078] Figure 4 A schematic diagram of a test report output mechanism of the management algorithm optimization method according to an embodiment of the present application is explained in FIG.

[0079] like Figure 4 As shown in , for the data reflowing on the warp line, the machine learning model is used to automatically label the test sample set with data features, such as unclear images, missing information, garbled characters, etc. Of course, as those skilled in the art can appreciate, the manual labeling link can also manually label the reflowed data.

[0080] During the algorithm baseline standard testing phase, quality abnormal data is retained. The quality abnormal data is de-privately processed using a machine learning model to generate sample data, and the results of abnormal data label aggregation analysis reflect the greater impact factors.

[0081] Finally, generate a test report.

[0082] Figure 5 A schematic diagram of the scoring and ranking mechanism of the management algorithm optimization method according to an embodiment of the present application is explained in FIG.

[0083] The quality of an algorithm is usually measured from aspects such as the accuracy of its execution, the efficiency of its execution, the resources consumed during its execution, and the stability of the algorithm.

[0084] The scoring and ranking mechanism evaluates and scores through multiple criteria, and combines practice with comprehensive comparison to select the optimal algorithm that meets the needs of the scenario.

[0085] First, during data training and algorithm execution in an online environment, various data during algorithm execution will be recorded, including execution time, execution results, resource consumption during execution, and various evaluation indicators.

[0086] The recorded data is compared horizontally through conditional filtering, so as to score and rank the algorithms in terms of accuracy, efficiency, resources consumed when executing the algorithms, and stability of the algorithms.

[0087] For real-world scenarios, we use the recorded data to set the weights of the algorithm measurement indicators to complete the evaluation and ranking of the comprehensive scores. The evaluation indicators are represented by P, the performance indicators are represented by E, and the occupancy weight is represented by W.

[0088] Therefore, if Figure 5 As shown in, comprehensive score = P*W p +E*W E .

[0089] The present application also discloses a management algorithm optimization device based on algorithm evaluation, which can execute the algorithm optimization method as described above.

[0090] like Figure 6 As shown in , the algorithm optimization device mainly includes the following modules.

[0091] The algorithm import module is used to upload the algorithm image to the algorithm management platform;

[0092] The algorithm access test module is used to set the baseline standard and perform access test on the algorithm based on the baseline standard;

[0093] The algorithm online module is used to put the algorithms that have passed the algorithm access test online for application;

[0094] The continuous tracking and evaluation module is used to perform periodic algorithm evaluation on the algorithm based on the online reflux data sample set, perform baseline standard testing, and optimize and improve the baseline standard;

[0095] A report output module, which is used to periodically output algorithm evaluation reports, carrying de-privatized sample data and data label analysis results; and

[0096] The scoring and ranking module is used to score and rank all algorithms in the algorithm warehouse to encourage algorithm providers to continuously optimize and upgrade the algorithm.

[0097] Therefore, compared with the prior art, the algorithm evaluation-based management algorithm optimization method, device and computer medium of the present application have the following outstanding advantages.

[0098] First, the technical solution of the present application uses a baseline standard in algorithm quality evaluation and updates the baseline standard in online data reflow testing, thereby being able to accurately evaluate model quality in real time.

[0099] Second, the technical solution of the present application performs data reflux evaluation and update on the online algorithm, thereby enabling continuous optimization of the algorithm.

[0100] Third, the technical solution of the present application adds de-privatized sample data and data label aggregation analysis results to the algorithm detection report, so it can help analyze the problem when the algorithm quality test results are unsatisfactory due to data problems.

[0101] Fourth, the technical solution of this application conducts horizontal algorithm scoring and ranking in algorithm management to promote algorithm providers to continuously optimize, iterate and upgrade their algorithms.

[0102] According to various aspects, elements, or any part of elements, or any combination of elements of the present disclosure, a "processing system" including one or more processors can be implemented. Examples of processors include: microprocessors, microcontrollers, digital signal processors (DSPs), field programmable gate arrays (FPGAs), programmable logic devices (PLDs), state machines, gated logic, discrete hardware circuits, and other suitable hardware configured to perform various functionalities described throughout the present disclosure. One or more processors in a processing system can execute software. Software should be broadly interpreted as meaning instructions, instruction sets, codes, code segments, program codes, programs, subroutines, software modules, applications, software applications, software packages, routines, subroutines, objects, executables, threads of execution, procedures, functions, etc., whether it is described in software, firmware, middleware, microcode, hardware description language, or other terms. Software may reside on a computer-readable medium. The computer-readable medium may be a non-transient computer-readable medium. As examples, non-transitory computer-readable media include: magnetic storage devices (e.g., hard disks, floppy disks, magnetic strips), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs)), smart cards, flash memory devices (e.g., memory cards, memory sticks, key drives), random access memory (RAM), read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), registers, removable disks, and any other suitable medium for storing software and / or instructions that can be accessed and read by a computer. As examples, computer-readable media may also include carrier waves, transmission lines, and any other suitable medium for transmitting software and / or instructions that can be accessed and read by a computer. The computer-readable medium may reside in the processing system, be external to the processing system, or be distributed across multiple entities including the processing system. The computer-readable medium may be implemented in a computer program product. As examples, a computer program product may include a computer-readable medium in packaging materials. Those skilled in the art will recognize how to best implement the described functionality presented throughout this disclosure depending on the specific application and the overall design constraints imposed on the overall system.

[0103] It should be understood that the specific order or hierarchy of steps in the disclosed methods is an illustration of an exemplary process. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the methods or methodologies described herein may be rearranged. The attached method claims present elements of the various steps in a sample order and are not meant to be limited to the specific order or hierarchy presented unless specifically stated herein.

[0104] The previous description is provided to enable any person skilled in the art to practice the various aspects described herein. Various modifications to these aspects will be readily apparent to those skilled in the art, and the universal principles defined herein may be applied to other aspects. Therefore, the claims are not intended to be limited to the various aspects shown herein, but should be granted the full scope consistent with the language of the claims, wherein the singular reference to the element is not intended to mean "there is and only one" (unless specifically stated) but "one or more". Unless specifically stated otherwise, the term "some" refers to one or more. The phrase "at least one" quoting a list of items refers to any combination of these items, including a single member. As an example, "at least one of a, b or c" is intended to cover: at least one a; at least one b; at least one c; at least one a and at least one b; at least one a and at least one c; at least one b and at least one c; and at least one a, at least one b and at least one c. The elements of the various aspects described throughout this disclosure are all structurally and functionally equivalent schemes currently or hereafter known to those of ordinary skill in the art, and are expressly incorporated herein by reference, and are intended to be covered by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims.

Claims

1. A method for optimizing a management algorithm based on algorithm evaluation, the method comprising the following steps: Introduce algorithms on the algorithm management platform; Conducting an admission test on the algorithm; The algorithms that have passed the access test will be put into use online; Conduct periodic evaluation of the algorithm; Outputting a report of the periodic evaluation; as well as The algorithms are scored and ranked.

2. The algorithm optimization method according to claim 1, characterized in that: The admission test of the algorithm includes: An admission test baseline standard is set, and an admission test is performed on the algorithm based on the baseline standard.

3. The algorithm optimization method according to claim 2, characterized in that: Periodic evaluation of the algorithm includes: The algorithm is periodically evaluated based on the online reflow data set and the baseline standard is updated based on the report of the periodic evaluation.

4. The algorithm optimization method according to claim 3, characterized in that: Periodic evaluation of the algorithm based on the online reflux dataset also includes: Customize data reflow rules to periodically reflow data to a specified dataset; Introducing a pre-annotation model to pre-annotate the reflux data and generate a new data set; The new data set is used as an assessment input to automatically or manually initiate the periodic assessment.

5. The algorithm optimization method according to claim 1, characterized in that: The report of the periodic evaluation includes the analysis results of the de-privacy sample data and the labels of the abnormal data.

6. The algorithm optimization method according to claim 5, characterized in that: If the report of the periodic evaluation indicates that the algorithm is not effective, the report and the abnormal data are fed back to the provider of the algorithm for subsequent optimization of the algorithm.

7. The algorithm optimization method according to claim 1, characterized in that: Scoring and ranking the algorithms include: The algorithms are scored and ranked based on the execution accuracy of the algorithms, the execution efficiency of the algorithms, the resources consumed when executing the algorithms, and the stability of the algorithms.

8. The algorithm optimization method according to claim 1, characterized in that: The comprehensive score of the algorithm is: P*W p +E*W E , where P is the evaluation index of the algorithm, E is the performance index of the algorithm, and W represents the weight.

9. A management algorithm optimization device based on algorithm evaluation, the device comprising: An algorithm introduction module, used to introduce the algorithm on the algorithm management platform; An algorithm admission test module, used to perform an admission test on the algorithm; An algorithm online module, used to apply the algorithm that has passed the admission test online; A continuous tracking and evaluation module is used to periodically evaluate the algorithm; A report output module, used to output the report of the periodic evaluation; as well as The scoring and ranking module is used to score and rank the algorithms.

10. A computer-readable medium storing a computer-executable code, wherein when the computer-executable code is executed by a computer, the method according to any one of claims 1 to 8 is performed.