AI Cybersecurity Lab

Intrusion and anomaly detection, malware analysis, threat intelligence, phishing, security logs and incident response: defensive experiments that really compute in your browser on synthetic data, with algorithms, datasets, projects and quizzes.

28interactive experiments

Imbalanced Learning for Malware Classification

Research and Metrics · Research idea

Research problem

Malware is a minority in real traffic.

Goal

Compare re-weighting, resampling and threshold tuning.

Suggested hypothesis

Threshold tuning beats resampling in practical PR-AUC (a hypothesis).

Suggested method

Vary class ratio and repeat across seeds.

Suggested datasets

Suggested algorithms

Metrics

PR-AUC, recall at fixed FPR, MCC.

Related experiments

Challenges

  • Temporal evaluation
  • Scarce examples

Candidate gaps (need a literature check)

  • Which imbalance methods work best on PE features? (needs a check)

Related labs

References

  1. Saito, Rehmsmeier (2015). The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets. PLOS ONE 10(3), e0118432. doi:10.1371/journal.pone.0118432
  2. Arp, Quiring, Pendlebury, Warnecke, Pierazzi, Wressnegger, Cavallaro, Rieck (2024). Pitfalls in Machine Learning for Computer Security. Communications of the ACM 67(11), pp. 104-112. doi:10.1145/3643456