Detecting Irregular Network Activity with Adversarial Learning and Expert Feedback

Gopikrishna Rathinavel, Nikhil Muralidhar, Timothy J. O'Shea, Naren Ramakrishnan

Abstract

Wireless communication systems are increasingly critical to modern infrastructure, yet they remain vulnerable to threats such as jamming, illicit transmissions, and hardware malfunctions. Detecting these anomalies is challenging due to the scarcity of labeled attack data and the high dimensionality of wireless spectrum metadata. This paper introduces Contrastive Adversarial Anomaly Detection (CAAD), a framework that integrates generative modeling with self-supervised contrastive learning. To further enhance performance, we propose CAAD-EF, which incorporates an expert feedback loop guided by uncertainty quantification. Our results demonstrate that CAAD-EF achieves a 92.84% mean performance improvement over state-of-the-art unsupervised methods across multiple wireless datasets.

1. Introduction

As wireless networks become the primary "information highways" for society, the ability to distinguish between legitimate signal fluctuations and malicious intrusions is paramount. However, traditional supervised learning approaches are often impractical for network security because real-world anomalies are rare and diverse, making it nearly impossible to curate a comprehensive labeled dataset. Furthermore, existing systems are frequently "hard-coded" for specific signal types, limiting their ability to generalize to novel interference patterns.

To address these challenges, we propose a generic, unsupervised framework designed to learn the underlying distribution of "normal" network activity. By identifying deviations from this learned baseline, the system can flag suspicious behavior without prior knowledge of specific attack vectors. Additionally, we introduce a mechanism for human-in-the-loop refinement, allowing the model to learn from expert insights in cases where its internal confidence is low.

2. Methodology

2.1 The CAAD Framework

The core of the Contrastive Adversarial Anomaly Detection (CAAD) model is built upon a Wasserstein GAN with Gradient Penalty (WGAN-GP). While standard GANs are typically used for data generation, CAAD leverages the GAN's discriminator to capture the complex structure of benign network metadata.

A key innovation in CAAD is the integration of self-supervised contrastive learning. To bootstrap the model without real anomaly labels, we apply "negative transformations"—such as the addition of salt noise—to benign data to create synthetic anomalies. The model is trained to minimize the distance between benign representations in latent space while maximizing the distance between benign data and these synthetic outliers. This ensures that the learned features are highly discriminative.

2.2 Expert Feedback (CAAD-EF)

To bridge the gap between unsupervised learning and real-world accuracy, we developed CAAD-EF. This iteration introduces two critical components:

  1. Uncertainty Quantification: Using Monte-Carlo (MC) Dropout, the model generates multiple stochastic inferences for each data point. High variance among these "guesses" indicates that the model is uncertain about the classification.
  2. The Feedback Loop: Instead of requesting random labels, the system identifies the "Region of Uncertainty" (ROU) and sends the top 5% most uncertain samples to a human expert. This targeted feedback allows the model to fine-tune its decision boundaries where they are most ambiguous, maximizing the utility of human intervention.

3. Experimental Setup

The framework was evaluated across four distinct datasets to test its versatility:

  • LTW1 & LTW2: Metadata from long-term wireless emissions (800-900MHz) containing real-world "hopper" anomalies (devices jumping frequencies illegally).
  • STW1: Short-term wireless metadata featuring "signal drop" anomalies, such as a 4G LTE station suddenly going offline.
  • MNIST: A benchmark handwritten digit dataset used to prove the model's generalizability; one digit class is treated as "normal" while all others are treated as anomalies.

4. Results and Discussion

4.1 Performance Gains

CAAD-EF significantly outperformed existing state-of-the-art models, including Isolation Forest and fAnoGAN. Across the wireless datasets, the model achieved an average improvement of 92.84% in anomaly F1-scores. The model also maintained high AUROC scores (frequently exceeding 0.97), which is vital for minimizing false positives that lead to operator fatigue in real-world deployments.

4.2 The Value of Expert Feedback

The inclusion of expert feedback proved highly efficient. By labeling only the 5% most uncertain instances, the model's performance increased by 4.19% over the base CAAD framework. This confirms that uncertainty-based filtering is a superior strategy compared to random sampling for human-in-the-loop systems.

5. Conclusion and Future Work

CAAD and CAAD-EF represent a significant step forward in unsupervised anomaly detection for wireless networks. By combining adversarial learning with contrastive objectives and expert feedback, we provide a robust solution to the problem of unlabeled and high-dimensional data.

Future research will focus on addressing covariate shift, ensuring the model can distinguish between malicious activity and natural environmental changes over time. Additionally, we aim to incorporate temporal modeling to detect sequential anomalies that only manifest over long durations, further hardening wireless infrastructure against sophisticated threats.

Summary updated

BibTeX
@inproceedings{rathinavel2022detecting,
  author = {Gopikrishna Rathinavel and Nikhil Muralidhar and Timothy J. O'Shea and Naren Ramakrishnan},
  title = {{Detecting Irregular Network Activity with Adversarial Learning and Expert Feedback}},
  booktitle = {ICDM},
  year = {2022},
}
Figure