Industrial terminal perception model training method and device

Through multi-source heterogeneous data fusion and generative learning methods, the problem of data homogeneity and scarcity in industrial terminal perception model training is solved, the generalization, robustness and adaptability of the model are improved, and the production and manufacturing process is improved. The quality and data acquisition efficiency provide technical support for the new generation of intelligent manufacturing.

CN118194980BActive Publication Date: 2024-09-10JIHUA LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410610851.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-09-10
Estimated Expiration
2044-05-16

AI Technical Summary

Technical Problem

During the training process of industrial terminal perception models in industrial scenarios, there are problems such as data homogeneity, single data type and scarcity of data quantity, resulting in low generalization and robustness of the model, inability to effectively adapt to new targets, and affecting the quality of the production and manufacturing process. quality.

Method used

Using a multi-source heterogeneous data fusion method, we collect multi-dimensional job data through sub-servers, use feature extraction network models and generative learning methods to generate supplementary data, initially train the base model, and optimize the model through knowledge distillation and incremental learning. Improve the adaptability and generalization of the model.

Benefits of technology

It effectively improves the generalization and robustness of the industrial terminal perception model, enhances the adaptability to new targets, improves the quality and data acquisition efficiency of the manufacturing process, and supports the construction of a new generation of intelligent manufacturing and industrial robot perception systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118194980B
    Figure CN118194980B
Patent Text Reader

Abstract

The present invention provides an industrial terminal perception model training method and device, which relates to the field of machine learning technology. The method includes the steps of: obtaining the first operation data of the industrial terminal sent by each sub-server and storing it into a first data set; extracting high-level features from the first data set using a preset feature extraction network model; training a diffusion model using a training sample set; generating second operation data through the trained diffusion model using the high-level features extracted from the first data set and storing it into a second data set; preliminarily training a base model using the first data set and the second data set; training the base model again using the first operation data to obtain an industrial terminal perception model. The industrial terminal perception model training method of the present invention can make up for the problems of data homogeneity, single data type and scarce data quantity in industrial scenarios, which is conducive to ensuring the quality of the production and manufacturing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of machine learning, and in particular to an industrial terminal perception model training method and device. Background Art

[0002] With the development of industrial robots and artificial intelligence technology, data-driven large-scale machine learning technology has gradually been promoted and applied in the field of industrial robot perception and has effectively improved the quality of the manufacturing process. However, industrial scenarios have obvious structural characteristics and a significant trend of data homogeneity. As a result, the training process of industrial terminal perception models in industrial scenarios (industrial terminals such as industrial robots) generally has problems such as data homogeneity, single data sample type, and scarce number of effective data samples. As a result, the generalization and robustness of industrial terminal perception models are low, and they are not adaptable to new targets, which reduces the actual operating efficiency of industrial terminal perception models and directly affects the quality of the manufacturing process.

[0003] There is currently no effective technical solution to the above problems. Summary of the invention

[0004] The purpose of the present invention is to provide an industrial terminal perception model training method and device, which can make up for the problems of data homogeneity, single data type and scarce data quantity in industrial scenarios, and is conducive to ensuring the quality of the production process.

[0005] In a first aspect, the present invention provides an industrial terminal perception model training method, comprising the following steps:

[0006] S1. Obtain the first operation data of the industrial terminal sent by each sub-server and store it as a first data set;

[0007] S2. extracting high-level features from the first data set using a preset feature extraction network model;

[0008] S3. Training the diffusion model using a training sample set; the training sample set is the high-level features extracted from the historical first operation data by the feature extraction network model;

[0009] S4. Generate second operation data through the trained diffusion model using the high-level features extracted from the first data set and store it as a second data set;

[0010] S5. Preliminary training of a base model using the first data set and the second data set;

[0011] S6. The initially trained base model is transmitted back to each of the sub-servers and the base model is trained again using the first operation data corresponding to each of the sub-servers to obtain an industrial terminal perception model corresponding to each of the sub-servers.

[0012] The industrial terminal perception model training method provided by the present invention overcomes the problems of low deployment and operation efficiency of existing industrial terminal perception models due to the small amount of effective data samples, insufficient adaptability to new targets, and low robustness and generalization of industrial terminal perception models, thereby ensuring the quality of the production and manufacturing process and helping to promote the construction of a new generation of intelligent manufacturing and its industrial robot perception system.

[0013] Furthermore, the specific steps in step S1 include:

[0014] S11. The first operation data of multiple dimensions is stored in different data structures into the first data set;

[0015] The specific steps in step S4 include:

[0016] S41. Store the second operation data of multiple dimensions into the second data set in different data structures.

[0017] Storing multi-dimensional job data in different data structures to form corresponding data sets can effectively improve the storage efficiency of the sub-server.

[0018] Furthermore, the specific steps in step S5 include:

[0019] S51. According to the first data set and the second data set, obtaining the similarity between the first data set and the second data set;

[0020] S52. When the similarity is lower than a preset first threshold, perform the following steps:

[0021] S521. Filtering low-quality operation data and abnormal operation data from the second data set;

[0022] S522. Correct the low-quality operation data and remove the abnormal operation data from the second data set;

[0023] S523. Return to step S51;

[0024] S53. When the similarity is greater than or equal to the first threshold, merging the second data set into the first data set to obtain a third data set;

[0025] S54. Preliminarily train the base model using the third data set.

[0026] By comparing the similarity between the first data set and the second data set, it is determined whether there are low-quality operation data and abnormal operation data in the second data set that cause large errors. Then, through cleaning and correction, it is ensured that the error of the second operation data meets the specified requirements to ensure subsequent training.

[0027] Furthermore, the specific steps in step S51 include:

[0028] S511. Using a preset standard to judge the network model, obtain a first key feature of the first data set and a second key feature of the second data set;

[0029] S512. Obtain the similarity by comparing the first key feature and the second key feature.

[0030] The generation quality of the second operation data can be judged according to the similarity between the two, and when the generation quality of the second operation data is low, the second operation data is cleaned and corrected until the similarity between the two meets the specified requirements.

[0031] Furthermore, the specific steps in step S521 include:

[0032] S5211. Using a preset adversarial training technology to enhance the model, identify the low-quality operation data from the second data set;

[0033] S5212. Use a preset autoencoder network model to identify the abnormal operation data from the second data set.

[0034] Furthermore, the specific steps in step S522 include:

[0035] S5221. Based on the digital image processing method and the three-dimensional point cloud processing method, the low-quality operation data is corrected and the abnormal operation data is removed from the second data set.

[0036] Furthermore, the specific steps in step S54 include:

[0037] S541. Perform data fusion processing on the third data set using a preset deep neural network model to obtain a normalized multi-source heterogeneous data set;

[0038] S542. Preliminarily train the base model using the normalized multi-source heterogeneous dataset.

[0039] Furthermore, the specific steps in step S542 include:

[0040] S5421. Based on the incremental learning method, the base model is trained using the normalized multi-source heterogeneous data set according to a preset period.

[0041] Furthermore, the specific steps in step S6 include:

[0042] S61. Based on the knowledge distillation method, the first operation data corresponding to each of the sub-servers is used to cyclically train the initially trained base model to obtain the industrial terminal perception model corresponding to each of the sub-servers.

[0043] In a second aspect, the present invention provides an industrial terminal perception model training device, comprising a sub-server and a central server that are communicatively connected to each other, each of the sub-servers being communicatively connected to at least one industrial terminal;

[0044] The sub-server comprises:

[0045] A data collection module, used for collecting first operation data of a corresponding industrial terminal;

[0046] A data sending module, used for sending the first operation data to the central server;

[0047] The central server comprises:

[0048] An acquisition module, used for acquiring the first operation data of the industrial terminal sent by each of the sub-servers and storing it into a first data set;

[0049] An extraction module, used for extracting high-level features from the first data set using a preset feature extraction network model;

[0050] A second training module is used to train the diffusion model using a training sample set; the training sample set is high-level features extracted from the historical first operation data by the feature extraction network model;

[0051] A generating module, configured to generate second operation data by using the high-level features extracted from the first data set through the trained diffusion model and store the second operation data as a second data set;

[0052] A third training module, for preliminarily training a base model using the first data set and the second data set;

[0053] A feedback module, used for transmitting the base model after preliminary training back to each of the sub-servers;

[0054] The sub-server also includes:

[0055] The first training module is used to train the initially trained base model transmitted back by the central server using the first operation data of the corresponding industrial terminal to obtain the corresponding industrial terminal perception model.

[0056] The industrial terminal perception model training device provided by the present invention can realize multi-source heterogeneous data fusion and multiple industrial robot group learning, improve the quality of industrial terminal perception model acquisition samples and its training process, and then improve its generalization and robustness, which is conducive to further solving the problems of industrial robot intelligent learning and production line intelligence.

[0057] From the above, it can be seen that the industrial terminal perception model training method provided by the present invention expands the job data provided by the sub-server through a generative learning method, thereby compensating for the problems of data homogeneity, single data type and scarce data quantity in industrial scenarios, and effectively improving the generalization and robustness of the industrial terminal perception model, improving the data acquisition efficiency and scene adaptability of industrial robots in the production process, and improving the actual operation efficiency of the industrial terminal perception model. It provides technical support at the data acquisition level for building a new generation of intelligent manufacturing and its industrial robot perception system, which is conducive to ensuring the quality of the production process.

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

[0059] Figure 1 A flow chart of an industrial terminal perception model training method provided in an embodiment of the present invention.

[0060] Figure 2 This is an operating block diagram of the industrial terminal perception model training method in an embodiment of the present invention.

[0061] Figure 3 A structural schematic diagram of an industrial terminal perception model training device provided in an embodiment of the present invention.

[0062] Description of labels:

[0063] 100, sub-server; 110, data acquisition module; 120, data sending module; 130, first training module; 200, central server; 210, acquisition module; 220, extraction module; 230, second training module; 240, generation module; 250, third training module; 260, feedback module; 300, industrial terminal. DETAILED DESCRIPTION

[0064] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0065] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0066] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or mutual communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0067] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0068] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art can be aware of the application of other processes and / or the use of other materials.

[0069] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0070] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0071] Reference Figure 1 and attached Figure 2 The present invention provides an industrial terminal perception model training method, comprising the following steps:

[0072] S1. Obtain the first operation data of the industrial terminal sent by each sub-server and store it as a first data set;

[0073] S2. extracting high-level features from the first data set using a preset feature extraction network model;

[0074] S3. Use the training sample set to train the diffusion model or the generative adversarial network model; the training sample set is the high-level features extracted by the feature extraction network model from the historical first operation data;

[0075] S4. Generate second job data using the high-level features extracted from the first data set through the trained diffusion model or generative adversarial network model and store it as a second data set;

[0076] S5. Preliminary training of the base model using the first data set and the second data set;

[0077] S6. The initially trained base model is transmitted back to each sub-server and the base model is trained again using the first operation data corresponding to each sub-server to obtain the industrial terminal perception model corresponding to each sub-server.

[0078] In this embodiment, the industrial terminal is, for example, an industrial robot. In actual application, a sub-server is deployed at the local node to collect the first operation data of each industrial robot under the local node and store it as a first data set. The first operation data includes, for example, multi-dimensional perception data such as visual information, force / tactile information, position information, joint variable information, and environmental map information.

[0079] The first data set is then input into a feature extraction network model constructed based on deep learning to obtain high-level features in the first data set under the local node. Specifically, the feature extraction network model includes, for example, a deep fully connected neural network, a basic network structure constructed using residual blocks, a multi-layer perceptron, a maximum pooling layer, etc. For one-dimensional array data such as position information and joint variable information, a deep fully connected neural network can be used to extract the corresponding high-level features; for two-dimensional matrix data such as visual information and force / tactile information, it is regarded as an image processing problem, and the basic network structure constructed using residual blocks can be used and the corresponding high-level features can be extracted through multiple convolutions; for point cloud data such as environmental map information, a multi-layer perceptron can be used for modeling, and then the maximum pooling layer can be used to extract global features as the corresponding high-level features.

[0080] Furthermore, all high-level features are uniformly stored in the form of vectors to facilitate subsequent data fusion processing.

[0081] Afterwards, the high-level features of the historical first operation data are used as a training sample set to train a generative adversarial network model or a diffusion model, which is used to generate second operation data. The purpose is to supplement the generated second operation data into the first data set through a generative learning method to expand the first operation data under the local node, thereby solving the problem of single data type and scarce quantity, and greatly improving the data acquisition efficiency of industrial robots in the production and manufacturing process. Since the generative adversarial network model or the diffusion model is trained based on the high-level features extracted from the historical first operation data, it can ensure that the second operation data generated by it is similar to the first operation data to a certain extent, thereby ensuring that the second operation data generated by it conforms to the high-level features of the local node to a certain extent, thereby avoiding the introduction of errors that cause the industrial terminal perception model obtained by subsequent training to be unable to adapt to the industrial robot under the local node.

[0082] Finally, the first data set and the second data set are used to preliminarily train the base model and the preliminarily trained base model is transmitted back to each sub-server, and the base model is retrained using the corresponding first operation data. Since one-to-one training is performed on the first operation data of each sub-server, an industrial terminal perception model with strong adaptability to the industrial robots corresponding to each sub-server can be obtained, thereby solving the problem of data homogeneity, greatly improving the scene adaptability of industrial robots in the production and manufacturing process, and improving the generalization and robustness of the industrial terminal perception model, providing technical support at the data acquisition level for building a new generation of intelligent manufacturing and its industrial robot perception system, and is conducive to solving the problems of intelligent learning of industrial robots and intelligent production lines.

[0083] In some embodiments, the specific steps in step S1 include:

[0084] S11. The first operation data of multiple dimensions is stored in different data structures as a first data set;

[0085] The specific steps in step S4 include:

[0086] S41. Store the second operation data of multiple dimensions into a second data set in different data structures.

[0087] In this embodiment, since the configurations, operation scenes and operation tasks of each industrial robot are different, in order to ensure the storage efficiency of the sub-server, the multi-dimensional operation data (including the first operation data and the second operation data) are stored in different data structures to form corresponding data sets (including the first data set and the second data set). Specifically, for image data such as visual information, it can be stored in the form of a two-dimensional matrix; for data such as force / tactile information, after its normal force and tangential force are visualized as pixel grayscale, it can be stored in the form of a two-dimensional matrix; for data such as position information and joint variable information, it can be stored in the form of a one-dimensional array; for data such as environmental map information, the dense point cloud map is divided and managed through the octree mechanism, and it can be stored in the form of a structured dense point cloud. This can greatly improve the data storage efficiency of the sub-server.

[0088] In some embodiments, the specific steps in step S5 include:

[0089] S51. According to the first data set and the second data set, obtaining the similarity between the first data set and the second data set;

[0090] S52. When the similarity is lower than a preset first threshold, perform the following steps:

[0091] S521. Filter low-quality operation data and abnormal operation data from the second data set;

[0092] S522. Correct the low-quality operation data and remove the abnormal operation data from the second data set;

[0093] S523. Return to step S51;

[0094] S53. When the similarity is greater than or equal to the first threshold, merging the second data set into the first data set to obtain a third data set;

[0095] S54. Preliminarily train the base model using the third data set.

[0096] In actual application, since the second operation data is actually generated by a generative adversarial network model or a diffusion model, its essence is different from the first operation data (the first operation data is real operation data directly obtained by an industrial robot, and the first operation data is used as a real sample, but the second operation data is not, and the second operation data is used as a generated sample). Therefore, the second operation data will inevitably have errors that are different from the first operation data. In order to judge the generation quality of the second operation data and ensure that the error of the second operation data meets the specified requirements to ensure subsequent training, this embodiment determines whether there is low-quality operation data and abnormal operation data that cause large errors in the second data set by comparing the similarity between the first data set and the second data set, and then optimizes the second data set by correcting the low-quality operation data and eliminating the abnormal operation data, so as to reduce the number of invalid data samples in the third data set, thereby improving the accuracy of the base model, which is conducive to the subsequent training of an industrial terminal perception model with high generalization, robustness and adaptability.

[0097] Specifically, the specific steps in step S521 include:

[0098] S5211. Using a preset adversarial training technology to enhance the model to identify low-quality operation data from the second data set;

[0099] S5212. Use a preset autoencoder network model to identify abnormal operation data from the second data set.

[0100] In this embodiment, low-quality operation data is, for example, operation data that may mislead the standard judgment network model (see below); abnormal operation data is, for example, operation data such as outliers and abnormal samples that appear due to the introduction of noise by the generative adversarial network model or the diffusion model.

[0101] In some embodiments, the specific steps in step S51 include:

[0102] S511. Using a preset standard to judge the network model, obtain a first key feature of the first data set and a second key feature of the second data set;

[0103] S512. Obtain similarity by comparing the first key feature and the second key feature.

[0104] In this embodiment, the standard evaluation network model includes, for example, pre-trained convolutional neural networks, graph convolutional neural networks, 3D deep neural networks and other networks. By extracting the first key feature in the first data set and the second key feature in the second data set, where the first key feature corresponds to the feature of the real sample and the second key feature corresponds to the feature of the generated sample, the generation quality of the second job data can be judged according to the similarity between the two, and when the generation quality of the second job data is low, the second job data is cleaned and corrected until the similarity between the two meets the specified requirements.

[0105] Specifically, the key features (including the first key feature and the second key feature) include, for example, image gradient, image grayscale, point cloud density, motion sequence and other features. The similarity in the comparison process reflects the consistency between the first key feature and the second key feature.

[0106] Furthermore, the specific steps in step S522 include:

[0107] S5221. Based on the digital image processing method and the three-dimensional point cloud processing method, the low-quality operation data is corrected and the abnormal operation data is removed from the second data set.

[0108] In this embodiment, when the standard evaluation network model determines that the quality of the second operation data in the second data set is low, the second operation data can be cleaned and corrected according to digital image processing methods such as morphological operations, two-dimensional filtering, image enhancement, and three-dimensional point cloud processing methods such as spatial filtering and hierarchical upsampling, so as to reduce low-quality operation data and abnormal operation data that cause large errors and improve the similarity between the second data set and the first data set.

[0109] Furthermore, as described above, after executing step S522, the process will return to executing step S51. After cleaning and correcting the second operation data, the second key feature of the second data set will be reacquired and compared with the first key feature again to determine the similarity again until the similarity meets the specified requirements. Finally, low-quality operation data (which does not exist after correction, which is equivalent to elimination) and abnormal operation data will be eliminated to establish a third data set with structural integrity, modal diversity, distribution type completeness, high quality and large scale.

[0110] In some embodiments, the specific steps in step S54 include:

[0111] S541. Perform data fusion processing on the third data set using a preset deep neural network model to obtain a normalized multi-source heterogeneous data set;

[0112] S542. Preliminary training of the base model using normalized multi-source heterogeneous datasets.

[0113] In this embodiment, a multi-scale and multi-channel deep neural network is used to perform heterogeneous data trimming, splicing and reorganization of the operation data in the third data set, so as to achieve high-level feature fusion of multi-type data structures, and further integrate the operation data in the third data set into a normalized multi-source heterogeneous data set that can be directly used for end-to-end training.

[0114] Specifically, for high-level features extracted from different types of job data and stored in vector form, supervised learning is used to learn the low-dimensional embedding of each type of data, and then the physical feature embedding is output after multi-dimensional data fusion (that is, after trimming, splicing and reorganization). Finally, the Transformer model and multi-layer perceptron are used to realize high-level feature fusion to obtain a normalized multi-source heterogeneous data set.

[0115] Furthermore, a large reinforcement learning model is trained as a base model using normalized multi-source heterogeneous datasets as input.

[0116] It should be noted that after completing the initial training of the base model, the new first job data sent by the sub-server is kept received, and the new first job data is continued to be integrated into a new normalized multi-source heterogeneous data set through the aforementioned steps, thereby continuously updating the model parameters and strategies of the base model.

[0117] Specifically, the specific steps in step S542 include:

[0118] S5421. Based on the incremental learning method, the base model is trained using normalized multi-source heterogeneous data sets according to a preset period.

[0119] The specific steps in step S6 include:

[0120] S61. Based on the knowledge distillation method, the first operation data corresponding to each sub-server is used to cyclically train the initially trained base model to obtain the industrial terminal perception model corresponding to each sub-server.

[0121] In the above embodiment, taking into account the diversity of perception target types in industrial scenarios, during the long-term operation of the perception system, the real-time first operation data of the industrial robot is periodically and continuously transmitted to the central server so that the central server can iteratively train the base model according to a fixed period based on the incremental learning method, thereby realizing autonomous updating of the base model.

[0122] Specifically, through end-cloud collaborative edge intelligence technology, under the framework of federated learning technology, the first operation data of potential new targets and scene knowledge sampled from the sub-servers are aggregated to the cloud using consistent knowledge distillation and attention knowledge distillation technologies. Then, through model similarity and attention similarity distillation, the base model is continuously and dynamically updated in an incremental learning manner to achieve optimization of the network structure and base model parameters, and finally aggregated into an industrial terminal perception model with strong performance and autonomous evolution capabilities, which is conducive to the formation of a dynamic multi-scenario, multi-source heterogeneous data and multi-machine remote collaborative mutual sensing industrial robot operation data set. Efficient acquisition and autonomous learning training mechanism.

[0123] Furthermore, in the process of transmitting the initially trained base model back to each sub-server for secondary training to obtain the industrial terminal perception model, considering the large scale of the base model, in order to improve the practicality of the base model in industrial perception scenarios, the base model is distilled using knowledge distillation methods such as instance consistency distillation, related consistency knowledge distillation, and attention similarity distillation.

[0124] Specifically, a one-to-many spatial matching knowledge distillation pattern is designed through the method of attention similarity distillation using a target-aware converter. During the distillation process, each element of the features of the base model (i.e., the teacher model) is adaptively refined to all spatial positions of the features of the industrial terminal perception model (i.e., the student model). In this way, the industrial terminal perception model can imitate each spatial component of the base model, thereby improving the matching ability of the industrial terminal perception model, realizing the lightweight deployment of the base model knowledge to the industrial terminal, enhancing the performance of the lightweight model of the industrial terminal, and finally forming an industrial terminal perception model that is highly adaptable to the operating tasks of each industrial terminal.

[0125] Reference Figure 3 , the present invention provides an industrial terminal perception model training device, which is integrated in a back-end control device in the form of a computer program, and includes a sub-server 100 and a central server 200 that are communicatively connected to each other, and each sub-server 100 is communicatively connected to at least one industrial terminal 300;

[0126] The sub-server 100 includes:

[0127] The data collection module 110 is used to collect the first operation data of the corresponding industrial terminal 300;

[0128] The data sending module 120 is used to send the first operation data to the central server 200;

[0129] The central server 200 includes:

[0130] An acquisition module 210, configured to acquire the first operation data of the industrial terminal 300 sent by each sub-server and store the data into a first data set;

[0131] An extraction module 220, configured to extract high-level features from the first data set using a preset feature extraction network model;

[0132] The second training module 230 is used to train the diffusion model or the generative adversarial network model using the training sample set; the training sample set is the high-level features extracted by the feature extraction network model from the historical first operation data;

[0133] A generating module 240, configured to generate second operation data by using the high-level features extracted from the first data set through a trained diffusion model or a generative adversarial network model and store the second operation data as a second data set;

[0134] A third training module 250 is used to preliminarily train a base model using the first data set and the second data set;

[0135] A feedback module 260, used to transmit the initially trained base model back to each sub-server 100;

[0136] The sub-server 100 further includes:

[0137] The first training module 130 is used to train the initially trained base model transmitted back by the central server 200 using the first operation data of the corresponding industrial terminal 300 to obtain the corresponding industrial terminal perception model.

[0138] In this embodiment, when the sub-server 100 stores the first job data of multiple dimensions in different data structures to improve data storage efficiency, the central server 200 can uniformly decode the various types of data structures from the sub-server 100 to obtain a first data set represented by a unified structure.

[0139] In addition, the central server 200, as the aforementioned cloud, continuously obtains the first operation data sent by the sub-server 100 to train and update the base model. Through real-time data collection, sharing of remote data, data generation, data correction, remote reinforcement learning of multiple sub-servers 100 and lightweight model deployment, it realizes multi-source heterogeneous data fusion and group learning of multiple industrial robots, improves the quality of sample acquisition and training process of the industrial terminal perception model, and then improves its generalization and robustness, which is conducive to further solving the problems of intelligent learning of industrial robots and intelligent production lines.

[0140] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the 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 through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0141] In addition, 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.

[0142] Furthermore, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0143] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0144] Descriptions with reference to the terms "one embodiment", "certain embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" are intended to mean that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0145] The above description is only an embodiment of the present invention and is not intended to limit the protection scope of the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for training an industrial terminal perception model, characterized in that: The following steps are involved: S1. Obtain the first operation data of the industrial terminal sent by each sub-server and store it as a first data set; S2. extracting high-level features from the first data set using a preset feature extraction network model; S3. Training the diffusion model using a training sample set; the training sample set is the high-level features extracted from the historical first operation data by the feature extraction network model; S4. Generate second operation data through the trained diffusion model using the high-level features extracted from the first data set and store it as a second data set; S5. Preliminary training of a base model using the first data set and the second data set; S6. The preliminarily trained base model is transmitted back to each of the sub-servers and the base model is trained again using the first operation data corresponding to each sub-server to obtain an industrial terminal perception model corresponding to each sub-server; The specific steps in step S1 include: S11. The first operation data of multiple dimensions is stored in different data structures into the first data set; The specific steps in step S4 include: S41. storing the second operation data of multiple dimensions into the second data set in different data structures; The first operation data and the second operation data both include visual information, force / tactile information, position information, joint variable information and environment map information; the force / tactile information includes normal force and tangential force; the environment map information includes a dense point cloud map; Among them, visual information is stored in the form of a two-dimensional matrix; force / tactile information is obtained by visualizing the normal force and tangential force as pixel grayscale and then stored in the form of a two-dimensional matrix; position information and joint variable information are stored in the form of a one-dimensional array; environmental map information is stored in the form of a structured dense point cloud after the dense point cloud map is divided and managed through the octree mechanism; The feature extraction network model includes a deep fully connected neural network, a basic network structure constructed with residual blocks, a multi-layer perceptron, and a maximum pooling layer; Among them, the basic network structure constructed by residual blocks is used to extract the corresponding high-level features of visual information and force / tactile information through multiple convolutions; the deep fully connected neural network is used to extract the corresponding high-level features of position information and joint variable information; the environmental map information is modeled by multi-layer perceptron and then the maximum pooling layer is used to extract global features as the corresponding high-level features; All high-level features are stored in the form of vectors.

2. The industrial terminal perception model training method according to claim 1 is characterized in that: The specific steps in step S5 include: S51. According to the first data set and the second data set, obtaining the similarity between the first data set and the second data set; S52. When the similarity is lower than a preset first threshold, perform the following steps: S521. Filtering low-quality operation data and abnormal operation data from the second data set; S522. Correct the low-quality operation data and remove the abnormal operation data from the second data set; S523. Return to step S51; S53. When the similarity is greater than or equal to the first threshold, merging the second data set into the first data set to obtain a third data set; S54. Preliminarily train the base model using the third data set.

3. The industrial terminal perception model training method according to claim 2 is characterized in that: The specific steps in step S51 include: S511. Using a preset standard to judge the network model, obtain a first key feature of the first data set and a second key feature of the second data set; S512. Obtain the similarity by comparing the first key feature and the second key feature.

4. The industrial terminal perception model training method according to claim 2 is characterized in that: The specific steps in step S521 include: S5211. Using a preset adversarial training technology to enhance the model, identify the low-quality operation data from the second data set; S5212. Use a preset autoencoder network model to identify the abnormal operation data from the second data set.

5. The industrial terminal perception model training method according to claim 2 is characterized in that: The specific steps in step S522 include: S5221. Based on the digital image processing method and the three-dimensional point cloud processing method, the low-quality operation data is corrected and the abnormal operation data is removed from the second data set.

6. The industrial terminal perception model training method according to claim 2 is characterized in that: The specific steps in step S54 include: S541. Perform data fusion processing on the third data set using a preset deep neural network model to obtain a normalized multi-source heterogeneous data set; S542. Preliminarily train the base model using the normalized multi-source heterogeneous dataset.

7. The industrial terminal perception model training method according to claim 6 is characterized in that: The specific steps in step S542 include: S5421. Based on the incremental learning method, the base model is trained using the normalized multi-source heterogeneous data set according to a preset period.

8. The industrial terminal perception model training method according to claim 1 is characterized in that: The specific steps in step S6 include: S61. Based on the knowledge distillation method, the first operation data corresponding to each of the sub-servers is used to cyclically train the initially trained base model to obtain the industrial terminal perception model corresponding to each of the sub-servers.

9. An industrial terminal perception model training device, characterized in that: It includes a sub-server and a central server that are communicatively connected to each other, and each of the sub-servers is communicatively connected to at least one industrial terminal; The sub-server comprises: A data collection module, used for collecting first operation data of a corresponding industrial terminal; A data sending module, used for sending the first operation data to the central server; The central server comprises: An acquisition module, used for acquiring the first operation data of the industrial terminal sent by each of the sub-servers and storing it into a first data set; An extraction module, used for extracting high-level features from the first data set using a preset feature extraction network model; A second training module is used to train the diffusion model using a training sample set; the training sample set is high-level features extracted from the historical first operation data by the feature extraction network model; A generating module, configured to generate second operation data by using the high-level features extracted from the first data set through the trained diffusion model and store the second operation data as a second data set; A third training module, used for preliminarily training a base model using the first data set and the second data set; A feedback module, used for transmitting the base model after preliminary training back to each of the sub-servers; The sub-server also includes: A first training module is used to train the initially trained base model transmitted back by the central server using the first operation data of the corresponding industrial terminal to obtain the corresponding industrial terminal perception model; The acquisition module is executed when it is used to acquire the first operation data of the industrial terminal sent by each of the sub-servers and store it into a first data set: S11. The first operation data of multiple dimensions is stored in different data structures into the first data set; The generating module is executed when it is used to generate the second operation data by using the high-level features extracted from the first data set through the trained diffusion model and store it as the second data set: S41. storing the second operation data of multiple dimensions into the second data set in different data structures; The first operation data and the second operation data both include visual information, force / tactile information, position information, joint variable information and environment map information; the force / tactile information includes normal force and tangential force; the environment map information includes a dense point cloud map; Among them, visual information is stored in the form of a two-dimensional matrix; force / tactile information is obtained by visualizing the normal force and tangential force as pixel grayscale and then stored in the form of a two-dimensional matrix; position information and joint variable information are stored in the form of a one-dimensional array; environmental map information is stored in the form of a structured dense point cloud after the dense point cloud map is divided and managed through the octree mechanism; The feature extraction network model includes a deep fully connected neural network, a basic network structure constructed with residual blocks, a multi-layer perceptron, and a maximum pooling layer; Among them, the basic network structure constructed by residual blocks is used to extract the corresponding high-level features of visual information and force / tactile information through multiple convolutions; the deep fully connected neural network is used to extract the corresponding high-level features of position information and joint variable information; the environmental map information is modeled by multi-layer perceptron and then the maximum pooling layer is used to extract global features as the corresponding high-level features; All high-level features are stored in the form of vectors.