CN111091278A - Edge detection model construction method and device for mechanical equipment anomaly detection - Google Patents

Edge detection model construction method and device for mechanical equipment anomaly detection Download PDF

Info

Publication number
CN111091278A
CN111091278A CN201911231023.2A CN201911231023A CN111091278A CN 111091278 A CN111091278 A CN 111091278A CN 201911231023 A CN201911231023 A CN 201911231023A CN 111091278 A CN111091278 A CN 111091278A
Authority
CN
China
Prior art keywords
detection model
anomaly detection
training
model
compressed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911231023.2A
Other languages
Chinese (zh)
Other versions
CN111091278B (en
Inventor
蔺思宇
马君
王伟
刘勇攀
李素洁
刘涛
杨晨旺
周景源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meifang Science And Technology Tianjin Co ltd
Original Assignee
Meifang Science And Technology Tianjin Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meifang Science And Technology Tianjin Co ltd filed Critical Meifang Science And Technology Tianjin Co ltd
Priority to CN201911231023.2A priority Critical patent/CN111091278B/en
Publication of CN111091278A publication Critical patent/CN111091278A/en
Application granted granted Critical
Publication of CN111091278B publication Critical patent/CN111091278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/082Learning methods modifying the architecture, e.g. adding, deleting or silencing nodes or connections
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The embodiment of the invention provides an edge detection model construction method and device for mechanical equipment anomaly detection, wherein the method comprises the following steps: establishing an unsupervised anomaly detection model, and performing model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model; establishing a supervised anomaly detection model, and performing model pruning training and quantitative training by using a historical data training set with a label to obtain a compressed supervised anomaly detection model; and sending the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware node for the edge hardware node to carry out ensemble learning so as to obtain an anomaly detected edge detection model. The method can effectively simplify the detection model with accurate detection result but large calculation scale in the cloud computing server, only loses a small amount of calculation precision, greatly compresses both model volume and calculation resource occupation, and fully meets the edge calculation requirement.

Description

Edge detection model construction method and device for mechanical equipment anomaly detection
Technical Field
The invention relates to the field of mechanical equipment anomaly monitoring, in particular to a method and a device for constructing an edge detection model for mechanical equipment anomaly detection.
Background
With the development of big data artificial intelligence and the rise of industry 4.0, equipment monitoring and abnormal early warning are more and more emphasized by various industrial enterprises. Most industrial intelligent enterprises select a form of a cloud platform when energizing the traditional industry, namely, a complex algorithm is deployed on a server, and original data of equipment such as vibration, temperature and noise are uploaded to the cloud platform through a wireless network or a 2G network for operation. Although the method can ensure the accuracy of early warning to a certain degree, the defects are also very obvious: 1)2G or wireless transmission of a large amount of data goes to the cloud, so that the collector cannot be changed from active to passive, and the transmission consumes very much power because the original data is huge. Active means that complex wiring is performed around the equipment, which results in increased safety hazards and failure probability. 2) In the age of data, i.e., assets, no enterprise wants its own device data to be leaked out in large quantities, and wireless transmission of the original data increases such risks. Therefore, how to enable the wireless device to upload the early warning result only to cloud, and meanwhile, ensuring the effective accuracy is a current big difficulty.
The current anomaly detection edge computing system relates to the field of edge computing and comprises a hardware subsystem and a software subsystem, wherein the hardware subsystem comprises a data acquisition module and a computing platform, detected signals are digitally transmitted to the computing platform through the data acquisition module, and the computing platform bears high-complexity operation and supports data integration, a data communication interface and network services; the software subsystem runs on a computing platform, processes and analyzes the digitized signals and presents the digitized signals to the outside, and comprises a model online training module, a model execution module and Web service.
Although the algorithm is migrated to the edge device operation in the current detection method, the anomaly detection algorithm only uses simple physical characteristics (mean value, standard deviation, peak value, Fourier transform and the like) and a simple machine learning linear model in order to meet the edge calculation performance. Although the calculation and the updating of the model in the edge section can be guaranteed, the accuracy of the anomaly monitoring is reduced along with the simplification of the edge characteristics and the model compared with that of the cloud platform, so that the number of false reports and missing reports is increased. On the other hand, in order to blur the influence of the decrease of the accuracy, the health index with wider evaluation is finally output at the edge end, which causes the user to have a poor understanding of the concept during use and is not easy to quantify.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide an edge detection model construction method and apparatus for mechanical equipment anomaly detection.
In a first aspect, an embodiment of the present invention provides an edge detection model building method for mechanical device anomaly detection, including: establishing an unsupervised anomaly detection model, and performing model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model; establishing a supervised anomaly detection model, and performing model pruning training and quantitative training by using a historical data training set with a label to obtain a compressed supervised anomaly detection model; and sending the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware node for the edge hardware node to carry out ensemble learning so as to obtain an anomaly detected edge detection model.
Further, the establishing of the unsupervised anomaly detection model includes: acquiring historical data of normal operation of a plurality of mechanical devices to form a historical normal data set; establishing an initial unsupervised anomaly detection model, and training the initial unsupervised anomaly detection model by using the historical normal data set to obtain the unsupervised anomaly detection model; the establishing of the supervised anomaly detection model comprises the following steps: acquiring historical data of a plurality of mechanical devices, and acquiring abnormal result labels corresponding to the historical data to form a historical data training set with labels; establishing an initial supervised anomaly detection model, and training the initial supervised anomaly detection model by using a historical data training set with labels to obtain the supervised anomaly detection model.
Further, the performing model pruning training and quantitative training by using the historical normal data set to obtain a compressed unsupervised anomaly detection model includes: performing model pruning training by using a historical normal data set to obtain an unsupervised anomaly detection model after pruning; and carrying out quantitative training on the pruned unsupervised anomaly detection model by using historical normal data to obtain the compressed unsupervised anomaly detection model.
Further, the performing model pruning training and quantitative training by using the historical data training set with the label to obtain the compressed supervised anomaly detection model includes: performing model pruning training by using a historical data training set with a label to obtain a pruned supervised anomaly detection model; and carrying out quantitative training on the pruned supervised anomaly detection model by using a historical data training set with a label to obtain the compressed supervised anomaly detection model.
In a second aspect, an embodiment of the present invention provides an edge detection model building method for mechanical device anomaly detection, including: receiving an unsupervised anomaly detection model after compression and a supervised anomaly detection model after compression; performing ensemble learning on the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to obtain an anomaly detected edge detection model; the compressed unsupervised anomaly detection model is obtained by using a historical normal data set by a cloud platform server and performing model pruning training and quantitative training on the unsupervised anomaly detection model; and the compressed supervised anomaly detection model is a cloud platform server, and is obtained by performing model pruning training and quantitative training on the supervised anomaly detection model by using sample data with a label.
Further, after receiving the post-compression unsupervised anomaly detection model and the post-compression supervised anomaly detection model, and before performing ensemble learning on the post-compression unsupervised anomaly detection model and the post-compression supervised anomaly detection model, the method further includes: and performing fine tuning operation on the compressed unsupervised anomaly detection model by using an edge normal data set, and performing fine tuning operation on the compressed supervised anomaly detection model by using an edge labeled training set.
In a third aspect, an embodiment of the present invention provides an edge detection model building apparatus for anomaly detection of mechanical equipment, including: the first model building module is used for building an unsupervised anomaly detection model, and performing model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model; the second model building module is used for building a supervised anomaly detection model, and performing model pruning training and quantitative training by using a historical data training set with labels to obtain a compressed supervised anomaly detection model; and the sending module is used for sending the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware nodes for the edge hardware nodes to carry out ensemble learning so as to obtain the anomaly detected edge detection model.
In a fourth aspect, an embodiment of the present invention provides an edge detection model building apparatus for anomaly detection of mechanical equipment, including: the receiving module is used for receiving the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model; the processing module is used for performing ensemble learning on the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to obtain an anomaly detected edge detection model; the compressed unsupervised anomaly detection model is obtained by using a historical normal data set by a cloud platform server and performing model pruning training and quantitative training on the unsupervised anomaly detection model; and the compressed supervised anomaly detection model is a cloud platform server, and is obtained by performing model pruning training and quantitative training on the supervised anomaly detection model by using sample data with a label.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method for constructing an edge detection model for detecting an anomaly of a mechanical device according to the first aspect of the present invention.
In a sixth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for constructing an edge detection model for detecting an anomaly of a mechanical device according to the first aspect of the present invention.
According to the method and the device for constructing the edge detection model for anomaly detection of the mechanical equipment, the historical normal data set is used for model pruning training and quantitative training to obtain the compressed unsupervised anomaly detection model, the historical data training set with the label is used for model pruning training and quantitative training to obtain the compressed supervised anomaly detection model, the detection model with accurate detection result and large calculation scale in the cloud computing server can be effectively simplified, only a small amount of calculation precision is lost, the method and the device can be effectively suitable for the storage limitation and the calculation capacity limitation of edge nodes, the model volume and the calculation resource occupation are greatly compressed, and the edge calculation requirement is fully met. The compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model are sent to the edge hardware nodes, the detection models of the two types are simultaneously used for edge nodes to carry out detection analysis, and integrated learning is carried out through the edge hardware nodes, so that the detection advantages of the two models can be respectively combined, and the detection precision is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of an edge detection model construction method for anomaly detection of mechanical equipment according to an embodiment of the present invention;
fig. 2 is a flowchart of an edge detection model construction method for anomaly detection of mechanical equipment according to another embodiment of the present invention;
FIG. 3 is a flowchart of a method for constructing an edge detection model for anomaly detection of mechanical equipment according to another embodiment of the present invention;
fig. 4 is a structural diagram of an edge detection model construction apparatus for anomaly detection of mechanical equipment according to an embodiment of the present invention;
fig. 5 is a structural diagram of an edge detection model building apparatus for detecting an anomaly of a mechanical device according to another embodiment of the present invention;
fig. 6 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an edge detection model construction method for anomaly detection of mechanical equipment according to an embodiment of the present invention, and as shown in fig. 1, an edge detection model construction method for anomaly detection of mechanical equipment according to an embodiment of the present invention may be implemented by using a cloud computing server, and includes:
101. and establishing an unsupervised anomaly detection model, and performing model pruning training and quantitative training by using the historical normal data set to obtain the compressed unsupervised anomaly detection model.
The embodiment of the invention mainly realizes the detection of the abnormal state of the mechanical equipment. First, the cloud computing server may pre-establish a historical database for storing operation data of the mechanical device, such as vibration data, temperature data, and the like, where the data type is set according to specific requirements. In 101, a preliminary unsupervised anomaly detection model is established, such as a convolutional neural network model, and a convolutional neural network encoder and a convolutional neural network decoder are selected to form the unsupervised anomaly detection model.
The historical normal data set is obtained by selecting data in a normal operation state from historical data and constructing the data. And performing model pruning operation on the constructed unsupervised anomaly detection model by using a historical normal data set. Model Pruning (Model Pruning) is a Model compression method that introduces sparsity to dense connections of deep neural networks, reducing the number of non-zero weights by directly zeroing out "unimportant" weights. Through the above processing, a small-scale unsupervised abnormality detection model after compression is obtained. Quantization may be implemented by converting elements within the model into equivalent eight-bit versions (e.g., storing and computing 32 floating-point numbers approximately as 8-bit integers), involving operations including convolution, matrix multiplication, activation functions, pooling operations, and stitching. The pair model may be compressed to 1/4. Through the processing, a small-scale compressed unsupervised abnormity detection model is obtained
102. And establishing a supervised anomaly detection model, and performing model pruning training and quantitative training by using a historical data training set with labels to obtain a compressed supervised anomaly detection model.
At 102, a preliminary supervised anomaly detection model is established, for example, a Convolutional Neural Network (CNN) lengthened short-term memory network (LSTM) is selected to form the supervised anomaly detection model.
The labeled historical data training set is obtained by selecting data in a normal operation state and data in an abnormal state from historical data, and combining corresponding normal and abnormal labels to establish the labeled historical data training set. And performing model pruning operation on the constructed supervised anomaly detection model by using a historical normal data set. By the pruning treatment, a small-scale supervised anomaly detection model after pruning is obtained. And (4) carrying out quantitative operation on the obtained small-scale pruned supervised anomaly detection model by utilizing a historical data training set. By this processing, a small-scale compressed supervised anomaly detection model is obtained
103. And sending the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware nodes for the edge hardware nodes to perform ensemble learning to obtain an anomaly detected edge detection model.
The edge hardware node is a detection device closest to the mechanical equipment, and may be a computer device for directly acquiring and analyzing the running state data of the mechanical equipment, or a mechanical equipment itself integrating a data acquisition and analysis function. And after receiving the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model, the edge hardware node performs ensemble learning.
Ensemble learning is a meta-algorithm that combines several machine learning model algorithms into a prediction model to achieve the effect of reducing variance (bagging), bias (boosting) or improving prediction (stacking). After ensemble learning, it becomes possible to obtain a smaller scale edge detection model for local detection. And the edge detection model is used for monitoring the abnormality of the mechanical equipment by the edge hardware node.
According to the edge detection model construction method for mechanical equipment anomaly detection, model pruning training and quantitative training are carried out by using a historical normal data set to obtain a compressed unsupervised anomaly detection model, model pruning training and quantitative training are carried out by using a historical data training set with a label to obtain a compressed supervised anomaly detection model, the detection model with accurate detection results and large calculation scale in a cloud computing server can be effectively simplified, only a small amount of calculation precision is lost, the edge detection model construction method can be effectively suitable for the storage limitation and the calculation capacity limitation of edge nodes, the model volume and the calculation resource occupation are greatly compressed, and the edge calculation requirements are fully met. The compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model are sent to the edge hardware nodes, the detection models of the two types are simultaneously used for edge nodes to carry out detection analysis, and integrated learning is carried out through the edge hardware nodes, so that the detection advantages of the two models can be respectively combined, and the detection precision is improved.
Based on the content of the foregoing embodiment, as an optional embodiment, establishing an unsupervised anomaly detection model includes: acquiring historical data of normal operation of a plurality of mechanical devices to form a historical normal data set; and establishing an initial unsupervised anomaly detection model, and training the initial unsupervised anomaly detection model by using a historical normal data set to obtain the unsupervised anomaly detection model. Establishing a supervised anomaly detection model, comprising: acquiring historical data of a plurality of mechanical devices, and acquiring abnormal result labels corresponding to the historical data to form a historical data training set with labels; and establishing an initial supervised anomaly detection model, and training the initial supervised anomaly detection model by using a historical data training set with labels to obtain the supervised anomaly detection model.
The process of establishing the unsupervised anomaly detection model is firstly the selection of a data set. The historical data of normal operation of a plurality of mechanical devices, namely the data without the result labels, are acquired when the devices are in normal operation, such as vibration data and temperature data, and the data form a historical normal data set. And establishing an unsupervised anomaly detection model with initialized parameters, such as the convolutional neural network model, and training the initialized unsupervised anomaly detection model by using the obtained historical normal data set to obtain the established unsupervised anomaly detection model. That is, before pruning training, the unsupervised anomaly detection model is trained, so that the precision of the model after pruning operation can be improved. The supervised anomaly detection model is similar to the supervised anomaly detection model, but the training of the supervised anomaly detection model is based on a historical data training set with result labels, wherein the historical data training set contains normal data and abnormal data, and a determined result is used as a label, so that the established supervised anomaly detection model is obtained after training.
Based on the content of the above embodiment, as an optional embodiment, performing model pruning training and quantization training using a historical normal data set to obtain a compressed unsupervised anomaly detection model, includes: performing model pruning training by using a historical normal data set to obtain an unsupervised anomaly detection model after pruning; and carrying out quantitative training on the unsupervised anomaly detection model after pruning by using the historical normal data to obtain the compressed unsupervised anomaly detection model.
And performing model pruning training on the unsupervised anomaly detection model by using the historical normal data set, and performing quantitative training on the unsupervised anomaly detection model after pruning by using a large amount of historical normal data again, so as to obtain the unsupervised anomaly detection model after quantitative training, namely the compressed unsupervised anomaly detection model. Through quantitative training, the unsupervised anomaly detection model after pruning can be further compressed, and the accuracy of the model is not influenced while the size of the model is further reduced.
Based on the content of the foregoing embodiment, as an optional embodiment, performing model pruning training and quantitative training using a labeled historical data training set to obtain a compressed supervised anomaly detection model, includes: performing model pruning training by using a historical data training set with a label to obtain a pruned supervised anomaly detection model; and carrying out quantitative training on the pruned supervised anomaly detection model by using a historical data training set with a label to obtain a compressed supervised anomaly detection model.
And performing model pruning training on the supervised anomaly detection model by using the historical data training set with the labels, and performing quantitative training on the pruned supervised anomaly detection model by using a large amount of historical data with the labels again to obtain the quantitatively trained supervised anomaly detection model, namely the compressed supervised anomaly detection model. Through quantitative training, the supervised anomaly detection model after pruning can be further compressed, and the accuracy of the model is not influenced while the size of the model is further reduced.
Fig. 2 is a flowchart of an edge detection model building method for anomaly detection of mechanical equipment according to another embodiment of the present invention, and as shown in fig. 2, an embodiment of the present invention provides an edge detection model building method for anomaly detection of mechanical equipment, which uses an edge hardware node as an execution main body, and includes:
201. receiving an unsupervised anomaly detection model after compression and a supervised anomaly detection model after compression;
202. performing ensemble learning on the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to obtain an anomaly detected edge detection model;
the compressed unsupervised anomaly detection model is obtained by using a historical normal data set by a cloud platform server and performing model pruning training and quantitative training on the unsupervised anomaly detection model; and the compressed supervised anomaly detection model is a cloud platform server, and is obtained by performing model pruning training and quantitative training on the supervised anomaly detection model by using sample data with a label.
The embodiment of the method takes the edge hardware node as an execution main body, and the cloud platform server of the embodiment is a general finger of a cloud computing platform different from the edge node. For the related specific steps, reference may be made to the above method using the cloud computing server as an execution subject, which is not described herein again.
Based on the content of the foregoing embodiment, as an optional embodiment, after receiving the post-compression unsupervised anomaly detection model and the post-compression supervised anomaly detection model, before performing ensemble learning on the post-compression unsupervised anomaly detection model and the post-compression supervised anomaly detection model, the method further includes: and performing fine tuning operation on the compressed unsupervised anomaly detection model by using an edge normal data set, and performing fine tuning operation on the compressed supervised anomaly detection model by using an edge labeled training set.
The Fine tuning operation of the model is Fine-tune, and the transfer learning is a machine learning idea, and the Fine-tune is applied to the deep learning. The weights of the pre-trained network model are selectively loaded (usually all layers before the last fully-connected layer, also called bottleneck layer) by modifying the structure of the pre-trained network model (for example, modifying the number of output sample classes). Retraining the model with its own data set is the basic step of fine tuning. Fine tuning allows for fast training of a model, and better results can be achieved with relatively small amounts of data.
According to the embodiment of the invention, the edge data is used for performing tune-tune on the model, so that the method and the device are fully adaptive to the self condition of individual operation of the equipment, and the generalization of the model after the edge is issued is ensured.
Based on the above embodiments, fig. 3 is a flowchart of an edge detection model building method for detecting an anomaly of a mechanical device according to another embodiment of the present invention, as shown in fig. 3, and refer to the above embodiments specifically. The invention uses a plurality of complex neural networks to carry out ensemble learning to complete edge calculation, and the accuracy is far higher than that of a simple machine learning linear model. The invention can compress the complex neural network anomaly monitoring model of the cloud to be within 5% of the original anomaly monitoring model, the operation time is only 1/15 or even lower than the original anomaly monitoring model, and the edge calculation chip is ensured to be fully capable of operating the edge calculation algorithm. Through verification of a large amount of real data, all compression guarantees that the accuracy rate of the original neural network model is reduced by no more than 3%, and guarantees that the edge calculation effect is basically equal to the accuracy rate of cloud calculation under big data.
Fig. 4 is a structural diagram of an edge detection model building apparatus for anomaly detection of mechanical equipment according to an embodiment of the present invention, and as shown in fig. 4, the edge detection model building apparatus for anomaly detection of mechanical equipment is applied to a cloud computing server or a cloud computing platform, and includes: a first model building module 401, a second model building module 402 and a sending module 403. The first model building module 401 is configured to build an unsupervised anomaly detection model, and perform model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model; the second model building module 402 is configured to build a supervised anomaly detection model, and perform model pruning training and quantitative training by using a labeled historical data training set to obtain a compressed supervised anomaly detection model; the sending module 403 is configured to send the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware node for the edge hardware node to perform ensemble learning, so as to obtain an anomaly detected edge detection model.
Fig. 5 is a structural diagram of an edge detection model building apparatus for anomaly detection of mechanical equipment according to another embodiment of the present invention, and as shown in fig. 5, the edge detection model building apparatus for anomaly detection of mechanical equipment is applied to an edge hardware node, and includes: the receiving module 501 is configured to receive an unsupervised anomaly detection model after compression and a supervised anomaly detection model after compression; the processing module 502 is configured to perform ensemble learning on the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to obtain an edge detection model for anomaly detection; the compressed unsupervised anomaly detection model is obtained by using a historical normal data set by a cloud platform server and performing model pruning training and quantitative training on the unsupervised anomaly detection model; and the compressed supervised anomaly detection model is a cloud platform server, and is obtained by performing model pruning training and quantitative training on the supervised anomaly detection model by using sample data with a label.
The device embodiment provided in the embodiments of the present invention is for implementing the above method embodiments, and for details of the process and the details, reference is made to the above method embodiments, which are not described herein again.
According to the edge detection model construction device for anomaly detection of mechanical equipment, provided by the embodiment of the invention, model pruning training and quantitative training are carried out by using the historical normal data set to obtain a compressed unsupervised anomaly detection model, and model pruning training and quantitative training are carried out by using the historical data training set with the label to obtain a compressed supervised anomaly detection model. The compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model are sent to the edge hardware nodes, the detection models of the two types are simultaneously used for edge nodes to carry out detection analysis, and integrated learning is carried out through the edge hardware nodes, so that the detection advantages of the two models can be respectively combined, and the detection precision is improved.
Fig. 6 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, the electronic device may include: a processor 601, a communication Interface 602, a memory 603 and a bus 604, wherein the processor 601, the communication Interface 602 and the memory 603 complete communication with each other through the bus 604. The communication interface 602 may be used for information transfer of an electronic device. The processor 601 may call logic instructions in the memory 603 to perform a method comprising: establishing an unsupervised anomaly detection model, and performing model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model; establishing a supervised anomaly detection model, and performing model pruning training and quantitative training by using a historical data training set with a label to obtain a compressed supervised anomaly detection model; and sending the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware nodes for the edge hardware nodes to perform ensemble learning to obtain an anomaly detected edge detection model.
In addition, the logic instructions in the memory 603 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-described method embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the transmission method provided in the foregoing embodiments when executed by a processor, and for example, the method includes: establishing an unsupervised anomaly detection model, and performing model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model; establishing a supervised anomaly detection model, and performing model pruning training and quantitative training by using a historical data training set with a label to obtain a compressed supervised anomaly detection model; and sending the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware nodes for the edge hardware nodes to perform ensemble learning to obtain an anomaly detected edge detection model.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An edge detection model construction method for mechanical equipment anomaly detection is characterized by comprising the following steps:
establishing an unsupervised anomaly detection model, and performing model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model;
establishing a supervised anomaly detection model, and performing model pruning training and quantitative training by using a historical data training set with a label to obtain a compressed supervised anomaly detection model;
and sending the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware node for the edge hardware node to carry out ensemble learning so as to obtain an anomaly detected edge detection model.
2. The method for constructing the edge detection model for anomaly detection of mechanical equipment according to claim 1, wherein the establishing of the unsupervised anomaly detection model comprises the following steps:
acquiring historical data of normal operation of a plurality of mechanical devices to form a historical normal data set;
establishing an initial unsupervised anomaly detection model, and training the initial unsupervised anomaly detection model by using the historical normal data set to obtain the unsupervised anomaly detection model;
the establishing of the supervised anomaly detection model comprises the following steps:
acquiring historical data of a plurality of mechanical devices, and acquiring abnormal result labels corresponding to the historical data to form a historical data training set with labels;
establishing an initial supervised anomaly detection model, and training the initial supervised anomaly detection model by using a historical data training set with labels to obtain the supervised anomaly detection model.
3. The method for constructing an edge detection model for anomaly detection of mechanical equipment according to claim 1, wherein the performing model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model comprises:
performing model pruning training by using a historical normal data set to obtain an unsupervised anomaly detection model after pruning;
and carrying out quantitative training on the pruned unsupervised anomaly detection model by using historical normal data to obtain the compressed unsupervised anomaly detection model.
4. The method for constructing the edge detection model for anomaly detection of mechanical equipment according to claim 1, wherein the performing model pruning training and quantitative training by using the labeled historical data training set to obtain the compressed supervised anomaly detection model comprises:
performing model pruning training by using a historical data training set with a label to obtain a pruned supervised anomaly detection model;
and carrying out quantitative training on the pruned supervised anomaly detection model by using a historical data training set with a label to obtain the compressed supervised anomaly detection model.
5. An edge detection model construction method for mechanical equipment anomaly detection is characterized by comprising the following steps:
receiving an unsupervised anomaly detection model after compression and a supervised anomaly detection model after compression;
performing ensemble learning on the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to obtain an anomaly detected edge detection model;
the compressed unsupervised anomaly detection model is obtained by using a historical normal data set by a cloud platform server and performing model pruning training and quantitative training on the unsupervised anomaly detection model; and the compressed supervised anomaly detection model is a cloud platform server, and is obtained by performing model pruning training and quantitative training on the supervised anomaly detection model by using sample data with a label.
6. The method for constructing an edge detection model for anomaly detection of mechanical equipment according to claim 5, wherein after receiving the unsupervised anomaly detection model after compression and the supervised anomaly detection model after compression, and before performing ensemble learning on the unsupervised anomaly detection model after compression and the supervised anomaly detection model after compression, the method further comprises:
and performing fine tuning operation on the compressed unsupervised anomaly detection model by using an edge normal data set, and performing fine tuning operation on the compressed supervised anomaly detection model by using an edge labeled training set.
7. An edge detection model construction device for mechanical equipment anomaly detection is characterized by comprising the following steps:
the first model building module is used for building an unsupervised anomaly detection model, and performing model pruning training and quantitative training by using a historical normal data set to obtain a compressed unsupervised anomaly detection model;
the second model building module is used for building a supervised anomaly detection model, and performing model pruning training and quantitative training by using a historical data training set with labels to obtain a compressed supervised anomaly detection model;
and the sending module is used for sending the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to the edge hardware nodes for the edge hardware nodes to carry out ensemble learning so as to obtain the anomaly detected edge detection model.
8. An edge detection model construction device for mechanical equipment anomaly detection is characterized by comprising the following steps:
the receiving module is used for receiving the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model;
the processing module is used for performing ensemble learning on the compressed unsupervised anomaly detection model and the compressed supervised anomaly detection model to obtain an anomaly detected edge detection model;
the compressed unsupervised anomaly detection model is obtained by using a historical normal data set by a cloud platform server and performing model pruning training and quantitative training on the unsupervised anomaly detection model; and the compressed supervised anomaly detection model is a cloud platform server, and is obtained by performing model pruning training and quantitative training on the supervised anomaly detection model by using sample data with a label.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for constructing an edge detection model for anomaly detection of a mechanical device according to any one of claims 1 to 6 when executing the program.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for constructing an edge detection model for anomaly detection of a mechanical device according to any one of claims 1 to 6 when executing the program.
CN201911231023.2A 2019-12-04 2019-12-04 Edge detection model construction method and device for mechanical equipment anomaly detection Active CN111091278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911231023.2A CN111091278B (en) 2019-12-04 2019-12-04 Edge detection model construction method and device for mechanical equipment anomaly detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911231023.2A CN111091278B (en) 2019-12-04 2019-12-04 Edge detection model construction method and device for mechanical equipment anomaly detection

Publications (2)

Publication Number Publication Date
CN111091278A true CN111091278A (en) 2020-05-01
CN111091278B CN111091278B (en) 2023-09-08

Family

ID=70394710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911231023.2A Active CN111091278B (en) 2019-12-04 2019-12-04 Edge detection model construction method and device for mechanical equipment anomaly detection

Country Status (1)

Country Link
CN (1) CN111091278B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367781A (en) * 2020-05-26 2020-07-03 浙江大学 Instance processing method and device
CN111736999A (en) * 2020-06-19 2020-10-02 复旦大学 Neural network end cloud collaborative training system capable of reducing communication cost
CN111931389A (en) * 2020-10-12 2020-11-13 湃方科技(天津)有限责任公司 Method and device for analyzing normal and abnormal running state of rotary equipment
CN112379269A (en) * 2020-10-14 2021-02-19 武汉蔚来能源有限公司 Battery abnormity detection model training and detection method and device thereof
CN112580804A (en) * 2020-12-23 2021-03-30 中国科学院上海微系统与信息技术研究所 Method and device for determining target image processing model and storage medium
CN112862459A (en) * 2021-03-02 2021-05-28 岭东核电有限公司 Test abnormity monitoring method and device, computer equipment and storage medium
CN113727348A (en) * 2020-05-12 2021-11-30 华为技术有限公司 Method, device and storage medium for detecting user data of User Equipment (UE)
CN114462623A (en) * 2022-02-10 2022-05-10 电子科技大学 Data analysis method, system and platform based on edge calculation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260748A (en) * 2015-10-16 2016-01-20 吉林大学 Method for clustering uncertain data
CN109508745A (en) * 2018-11-14 2019-03-22 上海交通大学 The detection method of gas turbine gascircuit fault based on Bayesian network model
CN109947079A (en) * 2019-03-20 2019-06-28 阿里巴巴集团控股有限公司 Region method for detecting abnormality and edge calculations equipment based on edge calculations
CN110210512A (en) * 2019-04-19 2019-09-06 北京亿阳信通科技有限公司 A kind of automation daily record method for detecting abnormality and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260748A (en) * 2015-10-16 2016-01-20 吉林大学 Method for clustering uncertain data
CN109508745A (en) * 2018-11-14 2019-03-22 上海交通大学 The detection method of gas turbine gascircuit fault based on Bayesian network model
CN109947079A (en) * 2019-03-20 2019-06-28 阿里巴巴集团控股有限公司 Region method for detecting abnormality and edge calculations equipment based on edge calculations
CN110210512A (en) * 2019-04-19 2019-09-06 北京亿阳信通科技有限公司 A kind of automation daily record method for detecting abnormality and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727348A (en) * 2020-05-12 2021-11-30 华为技术有限公司 Method, device and storage medium for detecting user data of User Equipment (UE)
CN111367781A (en) * 2020-05-26 2020-07-03 浙江大学 Instance processing method and device
CN111736999A (en) * 2020-06-19 2020-10-02 复旦大学 Neural network end cloud collaborative training system capable of reducing communication cost
CN111931389A (en) * 2020-10-12 2020-11-13 湃方科技(天津)有限责任公司 Method and device for analyzing normal and abnormal running state of rotary equipment
CN111931389B (en) * 2020-10-12 2021-01-01 湃方科技(天津)有限责任公司 Method and device for analyzing normal and abnormal running state of rotary equipment
CN112379269A (en) * 2020-10-14 2021-02-19 武汉蔚来能源有限公司 Battery abnormity detection model training and detection method and device thereof
CN112379269B (en) * 2020-10-14 2024-03-05 武汉蔚来能源有限公司 Battery abnormality detection model training and detection method and device thereof
CN112580804A (en) * 2020-12-23 2021-03-30 中国科学院上海微系统与信息技术研究所 Method and device for determining target image processing model and storage medium
CN112580804B (en) * 2020-12-23 2024-04-05 中国科学院上海微系统与信息技术研究所 Determination method and device for target image processing model and storage medium
CN112862459A (en) * 2021-03-02 2021-05-28 岭东核电有限公司 Test abnormity monitoring method and device, computer equipment and storage medium
CN114462623A (en) * 2022-02-10 2022-05-10 电子科技大学 Data analysis method, system and platform based on edge calculation

Also Published As

Publication number Publication date
CN111091278B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
CN111091278B (en) Edge detection model construction method and device for mechanical equipment anomaly detection
CN111027487B (en) Behavior recognition system, method, medium and equipment based on multi-convolution kernel residual error network
CN110926782A (en) Circuit breaker fault type judgment method and device, electronic equipment and storage medium
CN111523640A (en) Training method and device of neural network model
CN110581834A (en) communication capability opening abnormity detection method and device
EP3649582A1 (en) System and method for automatic building of learning machines using learning machines
CN115454706A (en) System abnormity determining method and device, electronic equipment and storage medium
CN110261080A (en) The rotary-type mechanical method for detecting abnormality of isomery based on multi-modal data and system
CN110389840B (en) Load consumption early warning method and device, computer equipment and storage medium
CN116703659A (en) Data processing method and device applied to engineering consultation and electronic equipment
KR102105951B1 (en) Constructing method of classification restricted boltzmann machine and computer apparatus for classification restricted boltzmann machine
CN116168403A (en) Medical data classification model training method, classification method, device and related medium
CN115358914A (en) Data processing method and device for visual detection, computer equipment and medium
CN115358374A (en) Knowledge distillation-based model training method, device, equipment and storage medium
EP3683733A1 (en) A method, an apparatus and a computer program product for neural networks
CN115062769A (en) Knowledge distillation-based model training method, device, equipment and storage medium
CN114998649A (en) Training method of image classification model, and image classification method and device
CN114707643A (en) Model segmentation method and related equipment thereof
CN113780239A (en) Iris recognition method, iris recognition device, electronic equipment and computer readable medium
CN112598020A (en) Target identification method and system
US20210097394A1 (en) Method and apparatus for compressing deep learning model
CN113825161A (en) 5G slice abnormity detection method and device based on deep self-coding neural network
CN113159273B (en) Neural network training method and related equipment
CN111427935B (en) Predicting and displaying method for quantized transaction index, electronic equipment and medium
Summer et al. A Methodology for Intelligent Offloading Decision in Mobile Cloud Computing Environments

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Lin Siyu

Inventor after: Ma Jun

Inventor after: Wang Wei

Inventor after: Li Sujie

Inventor after: Liu Tao

Inventor after: Yang Chenwang

Inventor after: Zhou Jingyuan

Inventor before: Lin Siyu

Inventor before: Ma Jun

Inventor before: Wang Wei

Inventor before: Liu Yongpan

Inventor before: Li Sujie

Inventor before: Liu Tao

Inventor before: Yang Chenwang

Inventor before: Zhou Jingyuan

GR01 Patent grant
GR01 Patent grant