Self-Supervised Learning for Android Malware Detection on a Time-Stamped Dataset

Annan Fu, Hao Pei, Maryam Tanha
4/24/2026
cs.CRcs.LG
benchmark-datasetcontrastive-ssl

No confident code implementation found for this paper.

Abstract

Android malware detectors built with machine learning often suffer from temporal bias: models are trained and evaluated without respecting apps' actual release times, inflating accuracy and weakening real-world robustness. We address this by constructing a time-stamped dataset of benign and malicious Android apps and introducing a timestamp-verification procedure to ensure temporal accuracy.

Show full abstract

We then propose a detection framework that uses Bootstrap Your Own Latent (BYOL) for self-supervised pre-training to learn obfuscation-resilient representations, followed by supervised classification. Under time-aware evaluation, the method attains 98% accuracy and 89% F1. We further characterize malware behavior by analyzing true positives and false negatives using VirusTotal and the MITRE ATT&CK framework. To support reproducibility and further innovation, we release our dataset and source code.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fu2026selfsupervised,
  title  = {Self-Supervised Learning for Android Malware Detection on a Time-Stamped Dataset},
  author = {Annan Fu and Hao Pei and Maryam Tanha},
  year   = {2026},
  eprint = {2604.23025},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.23025v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.23025.svg)](https://codeofpaper.com/paper/2604.23025)

Discussion