Data quality improvement method, related device and medium

By fitting the implicit manifold through the target neural network model and updating iteratively using gradient descent, the problem of noise and missing values ​​in the deep learning model is solved, the data quality is improved, and the model performance and the reliability of data analysis are enhanced.

CN118550906AActive Publication Date: 2024-08-27PENG CHENG LAB
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410651092.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-27
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In existing technologies such as image recognition, 3D portrait technology, and industrial error detection, deep learning models do not deal well with issues such as noise and missing values, resulting in low data quality and limiting model performance.

Method used

The target neural network model is used to fit the implicit manifold, and the output distance and gradient descent iterative update methods are used to improve the approximation accuracy of the data to be improved and the implicit manifold, and generate high-quality data.

Benefits of technology

It improves the reliability of data quality improvement processing and final data quality, reduces the amount of iterative calculations, and enhances the reliability of data analysis and decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550906A
    Figure CN118550906A
Patent Text Reader

Abstract

The embodiment of the invention provides a data quality improvement method, a related device and a medium. The method comprises the following steps: inputting to-be-promoted data into a target neural network model to obtain an output distance; generating intermediate data according to the output distance, the to-be-promoted data, the first gradient information and a preset gradient descent rate hyper-parameter; and updating the to-be-promoted data according to the intermediate data, returning to the step of inputting the to-be-promoted data into the target neural network model to obtain the output distance so as to iteratively update the to-be-promoted data until a preset iteration stop condition is met, and taking the to-be-promoted data meeting the preset iteration stop condition as target data. According to the embodiment of the invention, the reliability of data quality improvement processing can be improved, and the final data quality is improved. The embodiment of the invention can be applied to scenes such as image processing, digital human rendering and industrial anomaly detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to a method for improving data quality, a related device and a medium. Background Art

[0002] In the fields of image recognition, 3D portrait technology, industrial error detection, etc., deep learning models are usually used for data processing to optimize images or portraits, or to improve the accuracy of industrial error detection. In this process, deep learning models use a large amount of input data for self-learning and optimize model output. However, real data is often affected by various problems, such as noise, missing values, etc., resulting in poor data quality.

[0003] In related technologies, data quality is usually improved by using preset rules and statistical methods. However, these methods are not effective in dealing with noise, missing values ​​and other issues in the data, which limits the performance of the model. How to improve the reliability of data quality improvement processing is an issue that needs to be discussed urgently. Summary of the invention

[0004] The embodiments of the present disclosure provide a data quality improvement method, related devices and media, which are intended to improve the reliability of data quality improvement processing and improve the final data quality.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for improving data quality, the method comprising:

[0006] Inputting the data to be promoted into the target neural network model to obtain an output distance, wherein the output distance represents the minimum distance between the data to be promoted and an implicit manifold, and the implicit manifold is obtained based on a high-quality data set;

[0007] Generate intermediate data according to the output distance, the data to be promoted, first gradient information and a preset gradient descent rate hyperparameter, wherein the first gradient information is used to characterize the direction from the data to be promoted to the nearest data point on the implicit manifold;

[0008] The data to be improved is updated according to the intermediate data, and the step of inputting the data to be improved into the target neural network model to obtain the output distance is returned to iteratively update the data to be improved until a preset iteration stop condition is met, and the data to be improved that meets the preset iteration stop condition is used as the target data.

[0009] In a second aspect, an embodiment of the present disclosure provides a data quality improvement device, including:

[0010] An output distance calculation unit, used for inputting the data to be promoted into the target neural network model to obtain an output distance, wherein the output distance represents the minimum distance between the data to be promoted and an implicit manifold, and the implicit manifold is obtained based on a high-quality data set;

[0011] an intermediate data calculation unit, configured to generate intermediate data according to the output distance, the data to be promoted, first gradient information, and a preset gradient descent rate hyperparameter, wherein the first gradient information is used to characterize the direction from the data to be promoted to the nearest data point on the implicit manifold;

[0012] A target data determination unit is used to update the data to be improved according to the intermediate data, send the data to be improved to the output distance calculation unit, so as to iteratively update the data to be improved until a preset iteration stop condition is met, and use the data to be improved that meets the preset iteration stop condition as the target data.

[0013] Optionally, the data quality improvement device further includes:

[0014] A training data construction unit, used to obtain an original data set, and construct a training data set according to the original data set, wherein the training data set includes a plurality of high-quality data and a plurality of low-quality data;

[0015] A manifold construction unit, configured to construct the implicit manifold according to the plurality of high-quality data, wherein a first distance between each of the high-quality data and the implicit manifold is 0;

[0016] A first calculation unit, configured to calculate a second distance between each of the low-quality data and the implicit manifold, wherein the second distance is greater than 0;

[0017] A neural network training unit is used to input the training data set, the first distance and the second distance into a preset neural network model, train the preset neural network model, and obtain the target neural network model.

[0018] Optionally, the training data construction unit is specifically used to:

[0019] Acquire the original data set, wherein the original data set is a high-quality data set corresponding to the data to be improved;

[0020] Performing noise addition processing on the high-quality data set to obtain a low-quality data set;

[0021] The high-quality data set and the low-quality data set are combined to obtain the training data set.

[0022] Optionally, the first computing unit is specifically configured to:

[0023] For each low-quality data, a plurality of neighboring data closest to the low-quality data are determined from the high-quality data set by using a K-nearest-neighbor algorithm;

[0024] Determine the distance value between the low-quality data and each of the neighboring data;

[0025] The second distance of the low-quality data is obtained according to an average value of a plurality of the distance values.

[0026] Optionally, the neural network training unit is specifically used for:

[0027] A first loss function of the preset neural network model is constructed according to the output distance corresponding to each of the high-quality data and the corresponding first distance, and the output distance corresponding to each of the low-quality data and the corresponding second distance.

[0028] Optionally, the neural network training unit is specifically used for:

[0029] Determining second gradient information of each low-quality data according to a derivative of each low-quality data and an output distance corresponding to the low-quality data;

[0030] According to the second gradient information of each of the low-quality data, a second loss function of the preset neural network model is constructed.

[0031] Optionally, the intermediate data calculation unit is specifically used for:

[0032] Determining the first gradient information according to the derivative of the data to be improved and the output distance;

[0033] Determine a gradient descent value according to the product of the first gradient information, the gradient descent rate hyperparameter, and the output distance;

[0034] The intermediate data is determined according to the difference between the data to be promoted and the gradient descent value.

[0035] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the data quality improvement method in the first aspect is implemented.

[0036] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer executes the computer program, the data quality improvement method as in the first aspect is implemented.

[0037] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, comprising a computer program or computer instructions, wherein the computer program or the computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or the computer instructions from the computer-readable storage medium, and the processor executes the computer program or the computer instructions, so that the computer device executes the data quality improvement method as in the first aspect.

[0038] The implicit manifold in the embodiment of the present disclosure is constructed by high-quality data corresponding to the target data. Through the distance between the data to be improved and the implicit manifold, the data that needs to be improved in quality (the output distance is greater than 0) can be accurately obtained, and the distance to be improved can be approached to the implicit manifold based on the distance to obtain the target data corresponding to the data to be improved, thereby achieving data quality improvement. Since the implicit manifold is usually irregular, the distance relationship between the data point and the implicit manifold is relatively complex, and the amount of calculation to directly calculate the distance relationship between the data point and the implicit manifold is very large. The present disclosure uses a target neural network model that fits the implicit manifold to output the output distance of the data to be improved, and the output distance is the distance relationship between the data to be improved and the implicit manifold. By fitting the implicit manifold through the neural network model, each data to be improved is input into the target neural network model to output a more accurate distance relationship between the data to be improved and the implicit manifold. Then, based on the output distance output by the model, the data to be improved is updated in an iterative manner using a gradient descent to approach the implicit manifold to obtain the corresponding target data. Since the output distance used in each iteration is obtained through the target neural network model, the amount of calculation in the iterative approximation process is reduced, and the distance relationship between the data to be improved and the implicit manifold updated in each iteration can be accurately obtained through the target neural network model, making the target data obtained by the iteration more accurate. Ultimately, the reliability of data quality improvement processing is improved, and the final data quality is improved.

[0039] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A system architecture diagram for a method for improving data quality according to an embodiment of the present disclosure;

[0041] Figure 2 A schematic diagram of an embodiment of the present disclosure applied to a digital human rendering scene;

[0042] Figure 3is a flow chart of a method for improving data quality according to an embodiment of the present disclosure;

[0043] Figure 4 for Figure 3 Flow chart of training target neural network model before step 310;

[0044] Figure 5 A schematic diagram of an unsigned distance field according to an example of the present disclosure;

[0045] Figure 6 for Figure 4 A schematic diagram of the training target neural network model;

[0046] Figure 7 for Figure 4 Step 410 is a flowchart of obtaining an original data set and constructing a training data set based on the original data set;

[0047] Figure 8 for Figure 7 A schematic diagram of obtaining the original data set and constructing the training data set based on the original data set;

[0048] Fig. 9 for Figure 4 Flowchart of calculating the second distance between each low-quality data and the implicit manifold in step 430;

[0049] Fig.10 A schematic diagram of a data labeling process according to an embodiment of the present disclosure;

[0050] Fig.11 for Figure 3 Step 320 generates a flowchart of intermediate data;

[0051] Fig.12 It is a detailed diagram of an implementation of the data quality improvement method of the embodiment of the present disclosure;

[0052] Fig.13 A schematic diagram of the effect of improving data quality according to an embodiment of the present disclosure;

[0053] Fig.14 is a module diagram of a data quality improvement device according to an embodiment of the present disclosure;

[0054] Fig.15 According to the embodiment of the present disclosure Figure 4 The terminal structure diagram of the data quality improvement method shown;

[0055] Fig.16 According to the embodiment of the present disclosure Figure 4 The server structure diagram of the data quality improvement method shown. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical methods and advantages of the present disclosure more clear, the present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present disclosure and are not used to limit the present disclosure.

[0057] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0058] In the description of the embodiments of the present disclosure, unless otherwise clearly defined, words such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above words in the embodiments of the present disclosure in combination with the specific content of the technical solution. In the embodiments of the present disclosure, words such as "further", "exemplarily" or "optionally" are used to indicate examples, illustrations or explanations, and should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. The use of words such as "further", "exemplarily" or "optionally" is intended to present related concepts in a specific way.

[0059] Before further describing the embodiments of the present disclosure in detail, the nouns and terms involved in the embodiments of the present disclosure are described. The nouns and terms involved in the embodiments of the present disclosure are subject to the following interpretations:

[0060] Artificial intelligence (AI) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. AI is a branch of computer science that attempts to understand the essence of intelligence and produce a new type of intelligent machine that can respond in a similar way to human intelligence. Research in this field includes robotics, speech recognition, image recognition, natural language processing and expert systems. AI can simulate the information process of human consciousness and thinking. AI is also a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0061] Deep Learning (DL) is a new research direction in the field of Machine Learning (ML). It is introduced into machine learning to make it closer to its original goal - Artificial Intelligence (AI). Deep learning is the inherent laws and representation levels of learning sample data. The information obtained in the learning process is of great help in the interpretation of data such as text, images and sounds. Its ultimate goal is to enable machines to have analytical learning capabilities like humans and to recognize data such as text, images and sounds.

[0062] Artificial Neural Network (ANN): It is to abstract the human brain neural network from the perspective of information processing, establish a simple model, and form different networks according to different connection methods. It is referred to as neural network or neural network-like. Neural network is a computing model composed of a large number of nodes (or neurons) connected to each other. Each node represents a specific output function, called the activation function. The connection between each two nodes represents a weighted value for the signal passing through the connection, called the weight, which is equivalent to the memory of the artificial neural network. The output of the network varies depending on the connection method of the network, the weight value and the activation function. The network itself is usually an approximation of a certain algorithm or function in nature, or it may be an expression of a logical strategy.

[0063] Neural Unsigned Distance Fields (NUDF): is a neural network model for representing 3D shapes. It is an unsigned distance field, which means it can represent the distance from the surface of an object to any point, not just the distance inside or outside the object. The input of NUDF is points in 3D space, and the output is the distance from these points to the nearest surface. This representation method can be used to generate detailed 3D shapes, such as for 3D modeling in computer graphics or object surface reconstruction in virtual reality.

[0064] Processing unit: A processing unit is a unit that processes data. Processing units include a central processing unit (CPU), a graphics processing unit (GPU), a tensor processing unit (TPU), and a neural network processing unit (NPU).

[0065] In the fields of image recognition, 3D portrait technology, industrial error detection, etc., deep learning models are usually used for data processing to optimize images or portraits, or to improve the accuracy of industrial error detection. In this process, the deep learning model will use a large amount of input data for self-learning and optimize the model output. However, real data is often affected by various problems, such as noise, missing values, etc., resulting in poor data quality. In related technologies, pre-set rules, statistical methods, etc. are usually used to improve data quality, but these methods do not deal well with problems such as noise and missing values ​​in the data, resulting in limited model performance.

[0066] Based on this, the embodiments of the present disclosure provide a method for improving data quality, a related device and a medium. The method for improving data quality provided by the embodiments of the present disclosure uses a target neural network model that fits an implicit manifold corresponding to the target data to obtain the distance relationship between the data to be improved and the implicit manifold, and iteratively updates the data to be improved by gradient descent to approach the implicit manifold, and finally obtains the target data, which can improve the reliability of the data quality improvement process and improve the final data quality.

[0067] System architecture and scenario description of the application of the disclosed embodiments

[0068] Figure 1 1 is a system architecture diagram for the data quality improvement method according to the embodiment of the present disclosure, which includes an object terminal 140, the Internet 130, a gateway 120, a server 110, and the like.

[0069] The server 110 refers to a computer system that can provide data quality improvement services and target neural network model training services to the object terminal 140. Compared with the object terminal 140, the server 110 has higher requirements in terms of stability, security, performance, etc. The server 110 can also be a database that can provide data acquisition services to the object terminal 140. The server 110 can be a high-performance computer in a network platform, a cluster of multiple high-performance computers, a part of a high-performance computer (such as a virtual machine), a combination of parts of multiple high-performance computers (such as virtual machines), etc. The server 110 can also communicate with the Internet 130 in a wired or wireless manner to exchange data.

[0070] The gateway 120 is also called an internetwork connector or a protocol converter. The gateway realizes network interconnection at the transport layer and is a computer system or device that acts as a converter. The gateway is a translator between two systems that use different communication protocols, data formats or languages, or even completely different architectures. At the same time, the gateway can also provide filtering and security functions. The message sent by the object terminal 140 to the server 110 must be sent to the corresponding server 110 through the gateway 120. The message sent by the server 110 to the object terminal 140 must also be sent to the corresponding object terminal 140 through the gateway 120.

[0071] The object terminal 140 is a device used to display the results of data quality improvement and / or target neural network model training so that the object can view it. The object can input the data set that needs to be improved in data quality and / or the neural network model expected to be trained in the object terminal 140. The object terminal 140 includes various forms such as desktop computers, laptops, PDAs (personal digital assistants), mobile phones, car terminals, home theater terminals, dedicated terminals, digital tablets, etc. In addition, it can be a single device or a collection of multiple devices. For example, multiple devices are connected through a local area network, share a display device to work together, and together constitute a terminal. The terminal can also communicate with the Internet 130 in a wired or wireless manner to exchange data.

[0072] During the process of model training and data quality improvement, the server 110 may perform the training alone, and the object terminal 140 may obtain and display the results of the server 110's execution; or the server 110 and the object terminal 140 may perform the training together; or the server 110 may provide the object terminal 140 with the required data, and then the object terminal 140 may perform model training and data quality improvement.

[0073] The embodiments of the present disclosure can be applied in various scenarios, such as Figure 2 The schematic diagram shown is applied in the scene of digital human rendering.

[0074] like Figure 2 As shown, in the scene of digital human rendering, since the data used for rendering is often affected by various problems, such as noise, missing values, etc., resulting in low data quality, it is necessary to improve the data quality of the data used for rendering. In the embodiment of the present disclosure, firstly, a high-quality digital human body movement data set without noise, missing values, etc. is selected from the digital human body movement database. The high-quality digital human body movement data set is input into the training data construction module.

[0075] The training data construction module obtains a low-quality digital human body motion data set by adding noise to the high-quality digital human body motion data set. The training data construction module constructs an implicit manifold based on the high-quality digital human body motion data set, that is, the high-quality digital human body motion data are all located on the implicit manifold, and the distance between the high-quality digital human body motion data and the implicit manifold is 0. The training data construction module calculates the distance between each low-quality digital human body motion data and the implicit manifold, and the distance between the low-quality digital human body motion data and the implicit manifold is greater than 0. The training data construction module uses the high-quality digital human body motion data set, the low-quality digital human body motion data set and the distance between each data and the implicit manifold as training data samples and inputs them into the neural network model.

[0076] The neural network model is trained based on a high-quality digital human body motion data set, a low-quality digital human body motion data set, and the distance between each data and the implicit manifold, and fits the unsigned distance field corresponding to the implicit manifold. The trained neural network model can output the distance between the data and the implicit manifold based on the input data. The specific neural network model can be selected according to the data to be processed. For example, a multilayer perceptron (MLP) model is selected in the embodiment of the present disclosure.

[0077] The digital human body motion data currently needed for digital human rendering is input into the trained neural network model. The trained neural network model will output the distance corresponding to each data. Among them, the digital human body motion data with a distance of 0 is high-quality data and does not need to be improved in data quality. However, the digital human body motion data with a distance greater than 0 has problems and needs to be improved in data quality.

[0078] For the digital human body motion data that needs to be improved in data quality, the data quality improvement module updates the digital human body motion data to make it approach the implicit manifold according to the distance of the digital human body motion data output by the trained neural network model, the digital human body motion data, the first gradient information, and the preset value of the gradient descent rate hyperparameter. The data quality improvement module inputs the updated digital human body motion data into the trained neural network model for training, obtains the distance of the updated digital human body motion data, and updates and approximates it again. Until the number of iterations is met, or the distance output by the model is less than the preset value, it means that the digital human body motion data has been updated to high-quality data (the distance between the implicit manifold and the implicit manifold is close to 0).

[0079] The data quality improvement module sends the digital human body movement data with improved data quality to the digital human rendering module for rendering and display.

[0080] In summary, the disclosed embodiment uses high-quality digital human body motion data to construct training samples, and trains the neural network model so that the neural network model fits the unsigned distance field corresponding to the high-quality digital human body motion data. Thus, the trained neural network model can be used to output the distance between the current digital human body motion data and the implicit manifold corresponding to the high-quality data. The relationship between the corresponding digital human body motion data and the high-quality data can be more accurately characterized by the distance relationship between the implicit manifold. Based on the gradient descent method, the digital human body motion data is updated and iterated to make it approach the implicit manifold (high quality), and finally it can be updated to the corresponding high-quality digital human body motion data to achieve data quality improvement. Since the trained neural network model can accurately obtain the distance relationship between the digital human body motion data updated in each iteration and the implicit manifold, the iterative digital human body motion data is more accurate. Finally, the reliability of the data quality improvement process is improved, and the final data quality is improved.

[0081] It should be understood that the above content only illustrates some application scenarios of the present disclosure. The business scenarios to which the present disclosure can be applied may include but are not limited to the specific embodiments listed above.

[0082] General description of the disclosed embodiments

[0083] It should be emphasized that the embodiments of the present disclosure can be applied to a variety of application scenarios, such as graphics processing, image recognition, digital human rendering, factory anomaly detection and other scenarios. In the related art, deep learning models are usually used to perform relevant data processing in the above-mentioned scenarios. The deep learning model will use a large amount of input data for self-learning and optimize the model output. However, real data is often affected by various problems, such as noise, missing values, etc., resulting in poor data quality. Some embodiments of the present disclosure provide a data quality improvement method, related devices and media, which are intended to improve the reliability of data quality improvement processing and improve the final data quality.

[0084] Data quality improvement methods are methods that need to be applied to scenarios where large amounts of data are needed, and that improve or repair quality problems in the data before using the data for related processing or analysis.

[0085] The data quality improvement method of the embodiment of the present disclosure may be executed on a server, may be executed on a terminal, or may be executed partially on a server and partially on a terminal.

[0086] like Figure 3 As shown, according to one embodiment of the present disclosure, a method for improving data quality includes:

[0087] Step 310: input the data to be promoted into the target neural network model to obtain an output distance, wherein the output distance represents the minimum distance between the data to be promoted and the implicit manifold, and the implicit manifold is obtained based on the high-quality data set;

[0088] Step 320: Generate intermediate data according to the output distance, the data to be promoted, the first gradient information and the preset gradient descent rate hyperparameter, wherein the first gradient information is used to characterize the direction from the data to be promoted to the nearest data point on the implicit manifold;

[0089] Step 330, update the data to be improved according to the intermediate data, return to the step of inputting the data to be improved into the target neural network model, and obtain the output distance, so as to iteratively update the data to be improved until the preset iteration stop condition is met, and use the data to be improved that meets the preset iteration stop condition as the target data.

[0090] Steps 310 to 330 are briefly described below.

[0091] In step 310, the data to be improved refers to data that may have data quality problems and needs to be improved. Data quality problems include missing values, outliers, inconsistencies, etc.

[0092] The target neural network model is a neural network model obtained by training a preset neural network using training samples constructed using existing data in the corresponding field to fit the implicit manifold. The neural network model can be selected based on the data in the corresponding field, such as a multilayer perceptron (MLP) model.

[0093] The output distance refers to the distance between the input function to be improved and the implicit manifold fitted during the training process of the target neural network model.

[0094] An implicit manifold refers to an implicit surface, which is represented by a distance function from a data point in space to the surface. In the present disclosure, the implicit manifold is obtained based on a high-quality data set, that is, the high-quality data in the data of the corresponding field are all on the implicit manifold, and the distance between the high-quality data point and the corresponding implicit manifold should be 0. A high-quality data set refers to a collection of data without missing values, outliers, inconsistencies and other data quality issues.

[0095] The data in the corresponding field refers to the data of the current application scenario. For example, in the digital human rendering scenario, the data in the corresponding field is the digital human body movement data; in the image processing scenario, the data in the corresponding field is the image feature data; in the industrial anomaly detection scenario, the data in the corresponding field is the anomaly feature data.

[0096] In step 320, the first gradient information represents the direction of the data to be promoted to the nearest data point on the implicit manifold. The first gradient information can be used to control the direction of the data to be promoted during gradient descent iteration, so that the intermediate data can move closer to the implicit manifold. The gradient descent rate hyperparameter refers to a parameter used to control the rate of change of the data to be promoted during gradient descent iteration. The intermediate data refers to the data that is closer to the implicit manifold calculated based on the data to be promoted, that is, the data to be promoted after an iterative update.

[0097] In step 330, the target data refers to the data with improved data quality obtained by updating and iterating the data to be improved. The target data is more accurate, complete, consistent and reliable than the original data to be improved. The subsequent use of the target data for related processing can improve the reliability and effect of data analysis and decision-making. For example, in the digital human rendering scene, before rendering, the corresponding target data is obtained through the above steps 310 to 330 for the data to be used for rendering, and then the target data is used for rendering, so that the presented digital human body movements can be more smooth and natural.

[0098] The iteration stopping condition refers to the condition that can be used as a basis for judging whether the data to be improved in the iterative update meets the expectations and the data quality has been improved.

[0099] In one example, the iteration stop condition is: the output distance is less than the preset distance threshold. That is, the data to be promoted obtained by the current update is input into the target neural network model. If the output distance obtained is less than the preset distance threshold, it means that the data to be promoted is already on the implicit manifold or is close enough to the implicit manifold. It can be regarded as finding a high-quality data point corresponding to the data to be promoted on the implicit manifold, and the data to be promoted is the required target data. If the output distance obtained is greater than the preset distance threshold, the gradient descent update calculation is continued for the data to be promoted to obtain a new data to be promoted that is closer to the implicit manifold.

[0100] In another example, the iteration stop condition is: the number of updates for the data to be promoted is greater than a preset frequency threshold. That is, the number of times the gradient descent iterative update calculation (step 320) is currently performed on the data to be promoted has reached the target number, and it can be determined that the data to be promoted obtained by the last update calculation is already on the implicit manifold or is close enough to the implicit manifold, and it can be regarded as finding a high-quality data point corresponding to the data to be promoted on the implicit manifold, and the data to be promoted is the required target data.

[0101] In the above-mentioned embodiments of steps 310 to 330, the data that needs to be improved in quality (the output distance is greater than 0) can be accurately obtained through the distance between the data to be improved and the implicit manifold, and the distance to be improved can be approached to the implicit manifold based on the distance to obtain the target data corresponding to the data to be improved, thereby achieving data quality improvement. Since the implicit manifold is usually irregular, the distance relationship between the data point and the implicit manifold is relatively complex, and the amount of calculation required to directly calculate the distance relationship between the data point and the implicit manifold is very large. The disclosed embodiment uses a target neural network model that fits the implicit manifold to output the output distance of the data to be improved, and the output distance is the distance relationship between the data to be improved and the implicit manifold. By fitting the implicit manifold through the neural network model, each data to be improved is input into the target neural network model to output a more accurate distance relationship between the data to be improved and the implicit manifold. Then, based on the output distance output by the model, the data to be improved is updated using an iterative method of gradient descent to approach the implicit manifold to obtain the corresponding target data. Since the output distance used in each iteration is obtained through the target neural network model, the amount of calculation in the iterative approximation process is reduced, and the distance relationship between the data to be improved and the implicit manifold updated in each iteration can be accurately obtained through the target neural network model, making the target data obtained by the iteration more accurate. Ultimately, the reliability of data quality improvement processing is improved, and the final data quality is improved.

[0102] The above is a general description of steps 310 to 330 . The specific implementation process of steps 310 and 320 will be described in detail below.

[0103] In step 310, the data to be promoted is input into the target neural network model to obtain an output distance, wherein the output distance represents the minimum distance between the data to be promoted and the implicit manifold, and the implicit manifold is obtained based on a high-quality data set.

[0104] In one embodiment, referring to Figure 4 Before step 310, the data quality improvement method further includes:

[0105] Step 410: obtaining an original data set, and constructing a training data set according to the original data set, wherein the training data set includes a plurality of high-quality data and a plurality of low-quality data;

[0106] Step 420: construct an implicit manifold based on the multiple high-quality data, wherein the first distance between each high-quality data and the implicit manifold is 0;

[0107] Step 430, calculating the second distance between each low-quality data and the implicit manifold, wherein the second distance is greater than 0;

[0108] Step 440: input the training data set, the first distance, and the second distance into a preset neural network model, train the preset neural network model, and obtain a target neural network model.

[0109] In step 410, the original data set refers to a set of data selected from a database in the field to which the application scenario belongs for training the neural network model. The training data set refers to a data set obtained based on the original data set, which can be obtained directly from the original data set or obtained after processing the original data set. High-quality data refers to data without data quality problems such as missing values, outliers, inconsistencies, etc. Correspondingly, low-quality data refers to data with at least one data quality problem such as missing values, outliers, inconsistencies, etc.

[0110] In one example, when selecting data from the original data set, multiple high-quality data and multiple low-quality data in the database are selected to obtain an original data set containing high-quality data and low-quality data. The original data set is directly used as a training data set, or the training data set is obtained after relevant processing, so that the training data set can include high-quality data and low-quality data.

[0111] In another example, when selecting data from the original data set, all high-quality data in the database are selected. The high-quality data is processed to obtain corresponding low-quality data. The high-quality data of the original data set and the processed low-quality data are integrated and used to construct the training data set, so that the training data set can include high-quality data and low-quality data.

[0112] In step 420, the specific concept of the implicit manifold is as follows:

[0113] Signed distance field (SDF) is often used to construct implicit surfaces, that is, implicit manifolds. The representation of an implicit surface is defined as a distance function, that is, the distance function from a point in space to the surface. For example, to define the surface of a sphere, its distance function can be expressed as f(x) = |xc|-r, where x is any point in space, c is the center of the sphere, and r is the radius of the sphere. From the functional relationship, we can see that when the point is inside the sphere, the distance from the point to the spherical surface f(x) <0; when the point is a point on the spherical surface, the distance from the point to the spherical surface f(x) = 0; and when the point is outside the sphere, the distance f(x) > 0. Any point in space has a corresponding distance to the surface. This implicit surface definition method in which the distance function allows negative values ​​is called a signed distance field.

[0114] In the embodiment of the present disclosure, an unsigned distance field (UDF) is used. UDF ignores the directionality of the implicit surface. When defining a surface, its distance function f(x) is the absolute value of the distance from a point in space to the surface. Figure 5 As shown, when a point is on the represented spatial surface, its distance function f(x)=0, and when the point is not on the surface, f(x)>0 (such as f(x)=0.8, f(x)=1.0 in the figure).

[0115] like Figure 5 As shown in , in the unsigned distance field, the value of f(x) is the shortest distance from the selected data point to the implicit manifold, that is, the length of the perpendicular line to the implicit manifold. The gradient direction of f(x) is the direction in which the function value changes the fastest, so its gradient direction is the direction of the normal vector to the implicit manifold, which can be expressed as:

[0116]

[0117] in Represents the gradient vector of f(x).

[0118] “Constructing an implicit manifold based on multiple high-quality data” means that each high-quality data is set on the implicit manifold, that is, the distance between each high-quality data and the implicit manifold is 0. The implicit manifold is represented by the first distance (f(x)=0) between each high-quality data and the implicit manifold.

[0119] In step 430, the second distance refers to the minimum distance between the low-quality data point and the implicit manifold. Since the unsigned distance field is adopted in the embodiment of the present disclosure, the second distance is greater than 0.

[0120] In step 440, each high-quality data of the training data set and its corresponding first distance, each low-quality data of the training data set and its corresponding second distance together constitute an unsigned distance field. These data and corresponding distances are input into a preset neural network model for training, so that the neural network model learns the distance function from the data to the implicit manifold, so as to achieve the fitting of the neural network model with the unsigned distance field of the tone, and finally obtain the target neural network model.

[0121] Reference Figure 6 , combined with Figure 6 The process of training the target neural network model is explained. In order to train the neural network model, it is necessary to train each data point in the data set P, including the set M established using high-quality data and the set N constructed using low-quality data outside the implicit manifold. Each data point x∈P used for training has a corresponding implicit manifold distance D∈R *For each high-quality data x∈M, since it is located on the defined likelihood data manifold, its first distance D=0; and for each low-quality data x∈N, its second distance D>0. In summary, the training data used to train the neural network model is a set P={(x i ,D i )} 1≤i≤n , where n is the total number of data in the training data set. Input the set P into the preset neural network model for deep learning. Finally, the required target neural network model is obtained. Input the data that needs to be improved into the target neural network model, and the distance between the data and the implicit manifold learned by the target neural network model can be obtained.

[0122] Since the implicit manifold is usually irregular, the distance relationship between the data point and the implicit manifold is relatively complex. The amount of calculation to directly calculate the distance relationship between the data point and the implicit manifold is very large, and the accuracy of the result cannot be guaranteed. The above steps 410 to 440 construct a training sample containing an unsigned distance field to train the neural network model. The neural network model is made to fit the implicit manifold, and each data to be promoted is input into the target neural network model to output a more accurate distance relationship between the data to be promoted and the implicit manifold.

[0123] In step 410, an original data set is obtained, and a training data set is constructed according to the original data set, wherein the training data set includes a plurality of high-quality data and a plurality of low-quality data.

[0124] In one embodiment, for some scenarios, according to the requirements of the scenario, it may be necessary to process the data in the original data set before constructing the training data set. For example, in an image processing scenario, if the data in the original data set obtained is original image data, it is necessary to first perform feature extraction on the original image data to obtain image feature data. Then, the training data set is constructed based on the data set composed of the image feature data.

[0125] In one embodiment, referring to Figure 7 , step 410 includes:

[0126] Step 710: Obtain an original data set, wherein the original data set is a high-quality data set corresponding to the data to be improved;

[0127] Step 720: adding noise to the high-quality data set to obtain a low-quality data set;

[0128] Step 730: Merge the high-quality data set and the low-quality data set to obtain a training data set.

[0129] In step 720, the noise addition process refers to adding noise to the data in the high-quality data set, so that these high-quality data have data quality problems and are converted into corresponding low-quality data.

[0130] Reference Figure 8 , combined with Figure 8 The process of constructing a training data set is explained. Training data construction mainly involves the construction of a neural network training data set, including the collection of high-quality data and the generation of low-quality data by adding noise. The process is as follows: Figure 8 As shown. A high-quality data set in the target field is obtained from the Internet. For example, if it is applied to a digital human rendering scene, the target field is the digital human, and the data obtained is the digital human body movement data. This high-quality data set is screened from the data of a large online database. It does not have quality problems such as noise and missing values, and is comprehensive and can represent the distribution characteristics of data in this field. Here, the high-quality data is marked as: x∈M, where M represents the set of all high-quality data;

[0131] Add Gaussian noise ε to each high-quality data. The mean of the noise is 0, and its variance σ depends on the specific data distribution. Here, the low-quality data is marked as: y∈N, where N represents the set of all low-quality data. For example, by adding multiple Gaussian noises with different variances, a wider distribution of low-quality data can be obtained, that is:

[0132]

[0133] Integrate high-quality data and low-quality data to obtain the final training data set, P = M ∪ N.

[0134] If high-quality data and low-quality data are directly selected from the database, the relative relationship between high-quality and low-quality data will not be obvious, and the difficulty of data selection will be increased. The above steps 710 to 730 only select high-quality data from the database, and the quality data is obtained by adding noise to the high-quality data. The relative relationship between the high-quality and low-quality data obtained in this way will be clearer, which is more conducive to the subsequent training of the neural network model.

[0135] In step 430 , a second distance between each low-quality data and the implicit manifold is calculated, wherein the second distance is greater than zero.

[0136] In one embodiment, referring to Fig. 9 , step 430 includes:

[0137] Step 910: for each low-quality data, determine a plurality of neighboring data closest to the low-quality data from the high-quality data set by using a K-nearest neighbor algorithm;

[0138] Step 920: Determine the distance value between the low-quality data and each neighboring data;

[0139] Step 930: Obtain a second distance of the low-quality data according to an average value of the multiple distance values.

[0140] In step 910, the K-Nearest Neighbor algorithm (KNN) refers to an instance-based learning algorithm for classification and regression problems. The principle of the algorithm is that if most of the k most similar samples (i.e., the closest samples in the feature space) of a sample belong to a certain category, then the sample also belongs to this category. Therefore, through the K-nearest neighbor algorithm, multiple high-quality data that are closest to the low-quality data can be obtained. The neighbor data is the high-quality data that is closest to the low-quality data in the high-quality data set.

[0141] In step 920, the specific calculation formula of the distance value between the low-quality data and the neighboring data is as follows:

[0142] d j =||yx j ||2

[0143] Among them, d j is the distance between the low-quality data and the jth neighbor data (the nearest high-quality data), y is the low-quality data, x j is the jth neighbor data.

[0144] In step 930, the calculation formula of the second distance is as follows:

[0145]

[0146] Where D is the second distance, k is the total number of neighboring data. The average value of the distance between the low-quality data and each neighboring data is calculated, and the average value is used as the approximate value of the minimum distance between the low-quality data and the implicit manifold.

[0147] Reference Fig.10 , the training data set is annotated by the data annotation module. The data of the training data set are input into the data annotation module in sequence to determine whether the input data is high-quality data. If it is high-quality data, the distance value D1 of the first distance corresponding to the high-quality data is determined to be 0. If it is low-quality data, the distance value D2 of the second distance of the low-quality data is calculated by the method of steps 910 to 930 above. When each data in the training data set has obtained its own distance value, the data annotation is completed, and the training data set P is obtained. i ,D i )} 1≤i≤n .

[0148] In the above steps 910 to 930, a plurality of high-quality data closest to the low-quality data are determined by the K nearest neighbor algorithm, and the average of the plurality of distance values ​​is used as the second distance. In this way, the second distance obtained is closer to the actual minimum distance, which can reduce data errors.

[0149] In step 440, the training data set, the first distance, and the second distance are input into a preset neural network model, and the preset neural network model is trained to obtain a target neural network model.

[0150] In one embodiment, during the training of the preset neural network model, a first loss function is constructed by the following method: according to the output distance corresponding to each high-quality data and the corresponding first distance, and the output distance corresponding to each low-quality data and the corresponding second distance, the first loss function of the preset neural network model is constructed. The first loss function is a standard distance loss function.

[0151] Specifically, the first loss function is obtained by: obtaining a data pair (x, D) of the constructed training data set P according to the method provided in the above embodiment. Inputting the data pair into a preset neural network model, the output f of the neural network model can be obtained. udf (x), f udf (x) represents the minimum distance between the input data and the implicit manifold. Calculate f udf (x) is the absolute difference between the distance value D obtained in the corresponding data annotation stage, and this difference is minimized. The specific formula is as follows:

[0152]

[0153] L UDF That is, the first loss function, L UDF The role of is to constrain the output of the neural network model to a given implicit manifold distance. The given implicit manifold distance is the distance value corresponding to the data in the training data set determined during the training data construction phase.

[0154] In one embodiment, during the training of the preset neural network model, a second loss function is also constructed by the following method: according to the derivative of each low-quality data and the output distance corresponding to the low-quality data, the second gradient information of each low-quality data is determined; according to the second gradient information of each low-quality data, the second loss function of the preset neural network model is constructed. Among them, the second loss function is a regularized loss function. The second gradient information represents the direction from the low-quality data to the nearest data point on the implicit manifold. For each low-quality data, the second gradient information is obtained according to the product of the derivative of the low-quality data and the output distance of the output of the neural network model to be trained for the low-quality data input.

[0155] Specifically, all low-quality data (D>0) are used to minimize a regularization loss L eik , to encourage the unsigned distance field corresponding to the implicit manifold to have a unit norm gradient. The specific formula of the second loss function is as follows:

[0156]

[0157] L eik That is, the second loss function, (x, D)∈P, D≠0 represents that the second loss function value only considers low-quality data (D≠0). eik The role of is to constrain the gradient of the trained neural network model so that the process of improving data quality using the trained target neural network model is more stable.

[0158] In some embodiments, in the process of training a preset neural network model, the first loss function and the second loss function provided in the above embodiment are used simultaneously. The neural network model is trained in combination with the first loss function and the second loss function, so that the target neural network model obtained by training can fit the unsigned distance field corresponding to the training data set. The distance field retains the relative distance between the data points and allows the data space to be traversed along the negative gradient of the distance function, and the gradient points to the direction in which the distance from the data point to the implicit manifold decreases fastest. Therefore, based on the target neural network model, the data to be promoted is updated in an iterative manner of gradient descent to approach the implicit manifold, and the corresponding target data is obtained. The target neural network model can accurately obtain the distance relationship between the data to be promoted and the implicit manifold updated in each iteration, so that the target data obtained by iteration is more accurate. Ultimately, the reliability of the data quality improvement process is improved, and the final data quality is improved.

[0159] In step 320, intermediate data is generated according to the output distance, the data to be promoted, the first gradient information and the preset gradient descent rate hyperparameter, wherein the first gradient information is used to characterize the direction from the data to be promoted to the nearest data point on the implicit manifold.

[0160] In one embodiment, referring to Fig.11 , step 320 includes:

[0161] Step 1110: Determine first gradient information according to the derivative and output distance of the data to be improved;

[0162] Step 1120: determining a gradient descent value according to the product of the first gradient information, the gradient descent rate hyperparameter, and the output distance;

[0163] Step 1130: Determine the intermediate data according to the difference between the data to be improved and the gradient descent value.

[0164] Specifically, based on the trained target neural network model f udf , the target neural network model can output the minimum distance f between any given data to be improved x and the implicit manifold udf (x). Through the derivative of the data to be improved x and the minimum distance f udf (x) can determine the first gradient information of the data to be improved x. The first gradient information represents the direction from the nearest high-quality data x' on the implicit manifold to the data to be improved x. Therefore, by applying the gradient descent method, the data to be improved x can be moved (updated) toward the implicit manifold, and finally the target data with improved data quality can be updated. The target data can be considered to satisfy the conditions: Among them, S represents the implicit manifold, and d(x,x′) represents the distance from the data point x to be improved to the high-quality data point x′ in the implicit manifold S.

[0165] The formula for obtaining intermediate data for each gradient descent is as follows:

[0166]

[0167] Among them, α is the preset gradient descent rate hyperparameter, x i represents the intermediate data obtained from the iteration of step i, x i-1 Indicates the xth i-1 The data to be improved is obtained by step iteration.

[0168] Detailed diagram of the implementation of the data enhancement method of the disclosed embodiment

[0169] Refer to the following Fig.12 , the implementation details of the data enhancement method of the embodiment of the present disclosure are explained in detail and by way of example.

[0170] In step 1210, training data is constructed: the system obtains high-quality data and constructs a batch of low-quality data by adding noise, etc., and these data together constitute a training set. Specifically, the original data set is obtained, where the original data set is a high-quality data set corresponding to the data to be improved; the high-quality data set is processed by adding noise to obtain a low-quality data set; the high-quality data set and the low-quality data set are merged to obtain a training data set.

[0171] In step 1220, an unsigned distance field is constructed: an implicit unsigned distance field is constructed, and the distance from each data to the implicit manifold is calculated. The unsigned distance field reflects the relative position relationship of the data in the feature space. Specifically, based on multiple high-quality data, an implicit manifold is constructed, wherein the first distance between each high-quality data and the implicit manifold is 0; the second distance between each low-quality data and the implicit manifold is calculated, wherein the second distance is greater than 0. Each high-quality data of the training data set, and its corresponding first distance, each low-quality data of the training data set, and its corresponding second distance, together constitute an unsigned distance field. It should be noted that in the disclosed embodiment, the construction of the unsigned distance field is reflected by marking the corresponding distance value for each data in the training data set.

[0172] In step 1230, the neural network model is trained: the pre-set neural network model is trained using the constructed training data to fit the unsigned distance field and learn the distance relationship between the data. Specifically, the training data set and the data values ​​corresponding to each data are input into the pre-set neural network model for training, so that the neural network model fits the unsigned distance field and obtains the target neural network model. During the training process, the pre-set neural network model is trained in combination with the first loss function and the second loss function; the first loss function is L UDF =∑ (x,D)∈P |f udf (x)-D|, the second loss function is

[0173]

[0174] In step 1240, data quality is improved: the quality of the input low-quality data is improved by using the trained target neural network model, thereby improving the quality and reliability of the data. Specifically, the data to be improved is input into the trained target neural network model to obtain the output distance, wherein the output distance represents the minimum distance between the data to be improved and the implicit manifold, and the implicit manifold is obtained based on the high-quality data set; intermediate data is generated according to the output distance, the data to be improved, the first gradient information and the preset gradient descent rate hyperparameter, wherein the first gradient information is used to represent the direction from the data to be improved to the nearest data point on the implicit manifold; the data to be improved is updated according to the intermediate data, and the step of inputting the data to be improved into the target neural network model to obtain the output distance is returned to iteratively update the data to be improved until the preset iteration stop condition is met, and the data to be improved that meets the preset iteration stop condition is used as the target data.

[0175] The benefits of step 1210 to step 1240 include, but are not limited to, being able to effectively handle quality issues existing in the data, improving the quality and reliability of the data, and being applicable to various data quality processing scenarios.

[0176] like Fig.13 As shown, Fig.13 This is a schematic diagram of the effect of improving data quality. Fig.13 The upper figure in the figure is the data to be improved, and the scattered points around the ring (implicit manifold) in the figure represent the noise data. Fig.13 The figure below shows the data after data quality improvement. It can be seen that the original noisy data has obtained the corresponding target data through the data quality improvement method of the embodiment of the present disclosure, and together with the original data without data quality problems, it forms a complete circle (implicit manifold).

[0177] Description of the apparatus and device of the present disclosure

[0178] It is to be understood that, although the steps in the above-mentioned flowcharts are sequentially displayed according to the characterization of arrows, these steps are not necessarily executed in sequence according to the order of arrow characterization. Unless there is a clear description in the present embodiment, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the above-mentioned flowcharts can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.

[0179] Fig.14 The data quality improvement device 1400 is a schematic diagram of the structure of the data quality improvement device provided in the embodiment of the present disclosure. The data quality improvement device 1400 includes:

[0180] An output distance calculation unit 1410 is used to input the data to be promoted into the target neural network model to obtain an output distance, wherein the output distance represents the distance between the implicit manifold corresponding to the data to be promoted and the target data to be determined, and the output distance is greater than 0;

[0181] An intermediate data calculation unit 1420 is used to generate intermediate data according to the output distance, the data to be promoted, the first gradient information and the preset gradient descent rate hyperparameter, wherein the first gradient information is used to characterize the direction from the data to be promoted to the nearest data point on the implicit manifold;

[0182] The target data determination unit 1430 is used to update the data to be promoted with the intermediate data, and send the data to be promoted to the output distance calculation unit 1410 until a preset iteration stop condition is met, and the data to be promoted is used as the target data.

[0183] Optionally, the data quality improvement device 1400 further includes:

[0184] A training data construction unit, used to obtain an original data set and construct a training data set according to the original data set, wherein the training data set includes a plurality of high-quality data and a plurality of low-quality data;

[0185] A manifold construction unit, used to construct an implicit manifold according to a plurality of high-quality data, wherein a first distance between each high-quality data and the implicit manifold is 0;

[0186] A first calculation unit is used to calculate a second distance between each low-quality data and the implicit manifold, wherein the second distance is greater than 0;

[0187] The neural network training unit is used to input the training data set, the first distance and the second distance into a preset neural network model, train the preset neural network model, and obtain a target neural network model.

[0188] Optionally, the training data construction unit is specifically used for:

[0189] Obtaining an original data set, wherein the original data set is a high-quality data set corresponding to the data to be improved;

[0190] Add noise to the high-quality data set to obtain a low-quality data set;

[0191] The training dataset is obtained by merging the high-quality dataset and the low-quality dataset.

[0192] Optionally, the first computing unit is specifically configured to:

[0193] For each low-quality data, a K-nearest neighbor algorithm is used to determine multiple neighboring data with the closest distance to the low-quality data from the high-quality data set;

[0194] Determine the distance value between low-quality data and each neighboring data;

[0195] A second distance of the low-quality data is obtained according to an average value of the multiple distance values.

[0196] Optionally, the neural network training unit is specifically used for:

[0197] According to the output distance and the corresponding first distance corresponding to each high-quality data, and the output distance and the corresponding second distance corresponding to each low-quality number, a first loss function of a preset neural network model is constructed.

[0198] Optionally, the neural network training unit is specifically used for:

[0199] Determining second gradient information of each low-quality data according to a derivative of each low-quality data and an output distance corresponding to the low-quality data;

[0200] According to the second gradient information of each low-quality data, a second loss function of the preset neural network model is constructed.

[0201] Optionally, the intermediate data calculation unit 1420 is specifically used for:

[0202] Determine first gradient information according to the derivative of the data to be improved and the output distance;

[0203] Determine a gradient descent value according to the product of the first gradient information, the gradient descent rate hyperparameter, and the output distance;

[0204] Determine the intermediate data based on the difference between the data to be improved and the gradient descent value.

[0205] Reference Fig.15 , Fig.15 The structural block diagram of the terminal part for implementing the data quality improvement method of the embodiment of the present disclosure is as follows: the terminal includes: a radio frequency (RF) circuit 1510, a memory 1515, an input unit 1530, a display unit 1540, a sensor 1550, an audio circuit 1560, a wireless fidelity (WiFi) module 1570, a processor 1580, and a power supply 1590. Those skilled in the art can understand that Fig.15 The terminal structure shown does not constitute a limitation on the mobile phone or computer, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0206] The RF circuit 1510 may be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information from the base station, it is sent to the processor 1580 for processing; in addition, the designed uplink data is sent to the base station.

[0207] The memory 1515 may be used to store software programs and modules. The processor 1580 executes various functional applications and data processing of the content terminal by running the software programs and modules stored in the memory 1515 .

[0208] The input unit 1530 may be used to receive input digital or character information and generate key signal input related to the setting and function control of the content terminal. Specifically, the input unit 1530 may include a touch panel 1531 and other input devices 1532.

[0209] The display unit 1540 may be used to display input information or provided information and various menus of the content terminal. The display unit 1540 may include a display panel 1515.

[0210] The audio circuit 1560 , the speaker 1561 , and the microphone 1562 may provide an audio interface.

[0211] In this embodiment, the processor 1580 included in the terminal can execute the data quality improvement method of the previous embodiment.

[0212] The terminals of the embodiments of the present disclosure include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, aircraft, etc. The embodiments of the present disclosure can be applied to various scenarios, including but not limited to content recommendation, data screening, etc.

[0213] Fig.16 A block diagram of the structure of a portion of a server for implementing the data quality improvement method of an embodiment of the present disclosure. The server may have relatively large differences due to different configurations or performances, and may include one or more central processing units (Central Processing Units, referred to as CPU) 1622 (for example, one or more processors) and memory 1632, one or more storage media 1630 (for example, one or more mass storage devices) storing application programs 1616 or data 1644. Among them, the memory 1632 and the storage medium 1630 can be short-term storage or permanent storage. The program stored in the storage medium 1630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 1622 can be configured to communicate with the storage medium 1630 and execute a series of instruction operations in the storage medium 1630 on the server.

[0214] The server may also include one or more power supplies 1626, one or more wired or wireless network interfaces 1650, one or more input and output interfaces 1658, and / or one or more operating systems 1641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0215] The central processor 1622 in the server can be used to execute the data quality improvement method of the embodiment of the present disclosure.

[0216] The embodiments of the present disclosure also provide a computer-readable storage medium, which is used to store program codes, and the program codes are used to execute the data quality improvement methods of the aforementioned embodiments.

[0217] The embodiment of the present disclosure also provides a computer program product, which includes a computer program. A processor of a computer device reads and executes the computer program, so that the computer device executes the above-mentioned data quality improvement method.

[0218] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present disclosure and the above-mentioned drawings are used to distinguish similar contents, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "comprises" and "comprising" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0219] It should be understood that in the present disclosure, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated content, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the associated content before and after is in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0220] It should be understood that in the description of the embodiments of the present disclosure, the meaning of multiple (or multiple items) is more than two, greater than, less than, exceed, etc. are understood to not include the number, and above, below, within, etc. are understood to include the number.

[0221] In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0222] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0223] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0224] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0225] It should also be understood that the various implementations provided in the embodiments of the present disclosure can be combined arbitrarily to achieve different technical effects.

[0226] The above is a specific description of the implementation methods of the present disclosure, but the present disclosure is not limited to the above implementation methods. Technical personnel familiar with the art can also make various equivalent modifications or substitutions without violating the spirit of the present disclosure. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present disclosure.

Claims

1. A method for improving data quality, characterized in that: The method comprises: Inputting the data to be promoted into the target neural network model to obtain an output distance, wherein the output distance represents the minimum distance between the data to be promoted and an implicit manifold, and the implicit manifold is obtained based on a high-quality data set; Generate intermediate data according to the output distance, the data to be promoted, first gradient information and a preset gradient descent rate hyperparameter, wherein the first gradient information is used to characterize the direction from the data to be promoted to the nearest data point on the implicit manifold; The data to be improved is updated according to the intermediate data, and the step of inputting the data to be improved into the target neural network model to obtain the output distance is returned to iteratively update the data to be improved until a preset iteration stop condition is met, and the data to be improved that meets the preset iteration stop condition is used as the target data.

2. The method according to claim 1, characterized in that Before inputting the data to be improved into the target neural network model to obtain the output distance, the method further includes: Acquire an original data set, and construct a training data set according to the original data set, wherein the training data set includes a plurality of high-quality data and a plurality of low-quality data; Constructing the implicit manifold according to the plurality of high-quality data, wherein a first distance between each high-quality data and the implicit manifold is 0; Calculating a second distance between each of the low-quality data and the implicit manifold, wherein the second distance is greater than 0; The training data set, the first distance and the second distance are input into a preset neural network model, and the preset neural network model is trained to obtain the target neural network model.

3. The method according to claim 2, characterized in that The obtaining of the original data set and constructing the training data set according to the original data set includes: Acquire the original data set, wherein the original data set is a high-quality data set corresponding to the data to be improved; Performing noise addition processing on the high-quality data set to obtain a low-quality data set; The high-quality data set and the low-quality data set are combined to obtain the training data set.

4. The method according to claim 2, characterized in that: The calculating the second distance between each of the low-quality data and the implicit manifold comprises: For each low-quality data, a plurality of neighboring data closest to the low-quality data are determined from the high-quality data set by using a K-nearest-neighbor algorithm; Determine the distance value between the low-quality data and each of the neighboring data; The second distance of the low-quality data is obtained according to an average value of a plurality of the distance values.

5. The method according to claim 2 or 4, characterized in that: Before inputting the training data set, the first distance, and the second distance into a preset neural network model and training the preset neural network model to obtain the target neural network model, the method further includes: A first loss function of the preset neural network model is constructed according to the output distance corresponding to each of the high-quality data and the corresponding first distance, and the output distance corresponding to each of the low-quality data and the corresponding second distance.

6. The method according to claim 5, characterized in that Before inputting the training data set, the first distance, and the second distance into a preset neural network model and training the preset neural network model to obtain the target neural network model, the method further includes: Determining second gradient information of each low-quality data according to a derivative of each low-quality data and an output distance corresponding to the low-quality data; According to the second gradient information of each of the low-quality data, a second loss function of the preset neural network model is constructed.

7. The method according to claim 1, characterized in that The generating of intermediate data according to the output distance, the data to be improved, the first gradient information and a preset gradient descent rate hyperparameter includes: Determining the first gradient information according to the derivative of the data to be improved and the output distance; Determine a gradient descent value according to the product of the first gradient information, the gradient descent rate hyperparameter, and the output distance; The intermediate data is determined according to the difference between the data to be promoted and the gradient descent value.

8. A data quality improvement device, characterized in that: include An output distance calculation unit, used for inputting the data to be promoted into the target neural network model to obtain an output distance, wherein the output distance represents the minimum distance between the data to be promoted and an implicit manifold, and the implicit manifold is obtained based on a high-quality data set; an intermediate data calculation unit, configured to generate intermediate data according to the output distance, the data to be promoted, first gradient information, and a preset gradient descent rate hyperparameter, wherein the first gradient information is used to characterize the direction from the data to be promoted to the nearest data point on the implicit manifold; The target data determination unit is used to update the data to be improved according to the intermediate data, send the data to be improved to the output distance calculation unit until a preset iteration stop condition is met, and use the data to be improved that meets the preset iteration stop condition as the target data.

9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the data quality improvement method as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer can implement the data quality improvement method according to any one of claims 1 to 7 when executing the computer program.

11. A computer program product comprising a computer program or computer instructions, characterized in that The computer program or the computer instructions are stored in a computer-readable storage medium, and the processor of a computer device reads the computer program or the computer instructions from the computer-readable storage medium. The processor executes the computer program or the computer instructions, so that the computer device executes the data quality improvement method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Real-time three-dimensional reconstruction method and system for large-scale scene based on line-of-sight updating algorithm

    CN107862733A

  • Data optimization method and device, storage medium and electronic equipment

    CN111798000A

  • Gradient descent method-based fission product quality yield data optimization method

    CN117272810A

  • Method and system for automatically optimizing quality of point cloud data

    WO2015039375A1