Abstract:With the increase of network data and the continuous development of hacker technology, the accuracy and efficiency of network intrusion detection technology need to be further improved. To solve this problem, a network intrusion detection model based on network data evasion and improved long term memory network is proposed. The model takes the evasion behavior data in the process of hacking to avoid detection as a training set and a test set. Then the Sparrow optimization algorithm is used to improve the short-time memory network model. The improved long term memory network model is combined with convolutional neural network, and the detection accuracy of the model is further improved by reinforcement learning. The experimental results show that the detection accuracy of the proposed model is 98.51%, the response time is only 0.84s, and the false positive rate is 1.23% and false positive rate is 0.36%, respectively. The proposed model can realize efficient network intrusion detection, guarantee network security in real time, realize network intrusion prevention, and provide reliable technical support for network security. The research design method has positive significance in the field of network attack and defense, and provides a new idea for the research of related fields.