The invention discloses a KAN-based network flow data zero-loss category forgetting method. The method comprises the steps of
data processing, data division and forgetting category determination. Model training; formulating: converting the KAN into a formula; target calculation: calculating an optimized target; optimizing the target formula, and updating the coefficient of the target formula through a
gradient descent method to realize zero loss forgetting; zero-loss forgetting testing is carried out, and whether zero-loss efficient forgetting is achieved or not is tested. According to the method, the memory of the intrusion detection model on the network flow data can be removed, the model is helped to forget knowledge related to polluted data in specific scenes such as poisoning attacks, the
window period of the model is effectively shortened, and rapid
recovery of the model is ensured. Specifically, zero-loss forgetting is carried out based on a KAN model, polluted network flow data is taken as a forgetting class, accurate class forgetting is realized by converting the KAN model into a specific formula,
coefficient optimization is carried out by using a
gradient descent algorithm aiming at a target formula, namely a formula corresponding to the forgetting class, and the forgetting class of the forgetting class is optimized while forgetting. The accuracy of the intrusion detection model in
data retention is not affected, and zero loss forgetting in experiments is realized. The
engineering implementation of the invention strictly follows the strict requirements of lightweight, real-time performance and accuracy of a
network security defense
system, and provides theoretical support and a technical scheme for constructing a credible intelligent detection
system.