NetNN: Neural Intrusion Detection System in Programmable Networks
<|reference_start|>NetNN: Neural Intrusion Detection System in Programmable Networks: The rise of deep learning has led to various successful attempts to apply deep neural networks (DNNs) for important networking tasks such as intrusion detection. Yet, running DNNs in the network control plane, as typically done in existing proposals, suffers from high latency that impedes the practicality of such approaches. This paper introduces NetNN, a novel DNN-based intrusion detection system that runs completely in the network data plane to achieve low latency. NetNN adopts raw packet information as input, avoiding complicated feature engineering. NetNN mimics the DNN dataflow execution by mapping DNN parts to a network of programmable switches, executing partial DNN computations on individual switches, and generating packets carrying intermediate execution results between these switches. We implement NetNN in P4 and demonstrate the feasibility of such an approach. Experimental results show that NetNN can improve the intrusion detection accuracy to 99\% while meeting the real-time requirement.<|reference_end|>
@article{razavi2024netnn:,
    title={NetNN: Neural Intrusion Detection System in Programmable Networks},
    author={Kamran Razavi, Shayan Davari Fard, George Karlos, Vinod Nigade, Max
  M"uhlh"auser, Lin Wang},
    journal={arXiv preprint arXiv:2406.19990},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.19990},
    primaryClass={cs.CR cs.DC}
}