The invention discloses an activity identification method based on a variational auto-
encoder and a sequential network, and belongs to the technical field of behavior feature identification, and the method comprises the following steps: S1, collecting an
original data set of an activity
signal, and carrying out the preprocessing of the
original data set; s2, extracting potential features by adopting VAE based on the S1, and outputting a
reconstruction error; s3, on the basis of the S1, obtaining time dynamic characteristics by adopting CNN-GRU; s4, performing
feature fusion by adopting a self-attention
mechanism based on results of S2 and S3, performing soft distribution by adopting a deep embedded clustering layer, and performing classification by adopting a classifier to complete model training; and S5, testing, judging whether the input is OOD data or not, and outputting the category. According to the method, the
reconstruction error and the output of the deep embedded clustering layer are judged, so that the OOD data are effectively identified and processed, and the robustness and generalization ability of the model are enhanced; through combination of VAE, CNN, GRU and a self-attention mechanism, spatiotemporal features in IMU signals are comprehensively extracted, activity identification accuracy is improved,
time sequence information is effectively reserved, and model training efficiency is improved.