The invention discloses a zero sample fault detection method based on weighted
semantic consistency embedding, and belongs to the field of industrial fault diagnosis. The method comprises the following steps that firstly,
industrial equipment is used for collecting multi-mode sensor data, and standardized data are obtained through normalization,
wavelet denoising and
time sequence segmentation preprocessing; determining a fault attribute dimension based on domain expert knowledge, assigning each
fault class to form a semantic attribute vector, and constructing a semantic
attribute weight matrix through
mutual information gain between attributes and fault tags; embedding data and semantic attributes into a
shared space by using a data
encoder and a semantic attribute
encoder, decoding and calculating reconstruction loss by combining a data decoder and a semantic attribute decoder, and introducing weight to construct weighted
semantic consistency loss; combining the two types of loss to
train an
encoder and a decoder, and extracting training data features by using the trained encoder and training a multi-attribute classifier; and finally, in a zero sample scene, extracting embedded features without fault data, inputting the embedded features into an attribute classifier, and matching fault categories through a maximum
posterior probability. According to the method, the equal-weight
hypothesis defect of an existing
semantic consistency embedding method is broken through, key
semantics are strengthened through
mutual information gain weights, consistency loss is weighted to
resist noise interference, and the precision, robustness and generalization ability of zero sample fault diagnosis are remarkably improved.