← Lab /AI/ML

Self-supervised pretraining achieves 98% accuracy on time-aware Android malware detection

BYOL pretraining yields 98% accuracy and 89% F1 under temporally correct evaluation

AI/ML arXiv 24 Apr 2026 Method Simulation evidence

Published as “Self-Supervised Learning for Android Malware Detection on a Time-Stamped Dataset”

Why it matters

The approach suggests that self-supervised BYOL pre-training can improve static-feature-based Android malware detectors, especially for obfuscated samples, without requiring high-quality labels.

Summary

The paper reports that a logistic regression classifier trained on BYOL-pretrained embeddings of static Android app features (permissions, API calls, opcodes) achieves 89% recall, 89% precision and 98% accuracy on a test set of 400 malicious apps, and is especially effective against obfuscated malware. Evidence comes from a single experimental evaluation on a MacBook Air using five-fold cross-validation; no abstract or broader benchmarks are provided.

What they found 2

  1. The Random Forest baseline attains higher precision (97%) but lower recall (73%) than the BYOL-enhanced LR detector.

    “When trained on all features, the RF classifier attains higher precision (97% vs. 89%), indicating a more conservative detector with fewer false positives but more missed malware samples.”

  2. Using all extracted static features (permissions, API calls, opcode sequences) yields the best performance for the LR classifier.

    “As shown in the table, when we use all of the extracted static features, i.e., permissions, API calls and opcode sequences, the best performance for LR is achieved.”

Caveats 5

  • The RF baseline achieves 97% precision, higher than the LR's 89%, showing a trade-off between precision and recall.
  • Even with BYOL, 10.3% of obfuscated malware samples are missed (false negatives).
  • Collection and Discovery behaviors are common to both false negatives and true positives, limiting discriminative power.
  • The labels are not always reliable (heuristic VirusTotal votes, malware shows different behavior at run-time vs. static analysis)
  • we plan to conduct a deeper comparison with prior SSL and representation-learning approaches for Android malware detection, and to evaluate a broader range of classifiers for more comprehensive benchmarking.

What’s new here 4

  • Creation of a time-stamped Android app dataset with a API-call-based timestamp verification method.
  • First application of the BYOL self-supervised learning framework to Android malware detection, avoiding the need for negative pairs.
  • Demonstration that BYOL embeddings improve a simple logistic regression detector’s recall and overall accuracy compared to a baseline Random Forest.
  • Public release of the dataset and code for reproducibility.