Abstract
Quantifying the deviation of testing samples from known benign traffic in the form of novelty scores is essential for identifying new malicious traffic and detecting concept drifts of benign traffic. Most existing solutions generate novelty scores based on the outputs from the supervised neural network’s last layers. However, the performance of these supervised techniques is significantly compromised in the unbalanced dynamic interconnected specialized IoT network traffic such as Electronic Power Grid. To solve this challenge, we investigate an improved novelty score calculation approach. It employs the targeted distance loss to ensure that different known classes form class-specific, dense clusters within the embedding space outputted by the neural network. The minimum distance between the testing sample and the centers of each known class is utilized as the novelty score. Extensive comparison experiments on public datasets and real Electronic Power Grid traffic demonstrate that our approach outperforms existing supervised techniques. As the imbalance in known class distributions increases, our proposed method consistently achieves higher AUROC and AUPR than baselines, with a reduced FPR95. This study analyzes imbalanced known class distributions’ negative impact on novelty detection and provides practical improvement.
Funding Information
  • National Key Research and Development Program of China (2021YFB3101903)
  • Key Laboratory of Trustworthy Distributed Computing and Service from Beijing University of Posts and Telecommunications