← Lab /AI/ML

Hybrid autoencoder and MAML achieves high accuracy on ransomware detection with few shots

The proposed hybrid model attains high accuracy, F1 and MCC across 1-50 shot ransomware detection tasks

AI/ML arXiv 1 Oct 2026 Method Prototype evidence

Published as “A Hybrid Approach to Malware Detection: Integrating Few-Shot Model-Agnostic Meta-Learning with Autoencoders”

Why it matters

The approach could enable rapid deployment of malware detectors in environments where labeled samples are scarce, such as emerging ransomware outbreaks.

Summary

The paper presents a hybrid Autoencoder-Feature-Extractor plus Model-Agnostic Meta-Learning (AFE-MAML) classifier for few-shot malware detection. It reports that the model reaches 0.9365 accuracy and 0.8730 MCC in a 50-shot setting and consistently outperforms baseline CNN, LSTM, MLP and Random Forest models in low-shot regimes (1- to 20-shot). Evidence is based on experiments with up to 2000 query samples per setting, but the paper does not provide details on the underlying dataset or real-world deployment.

What they found 1

  1. MAML hybrid maintains high accuracy from 0.876 at 1-shot to 0.933 at 50-shot, outperforming baselines in few-shot settings

    “MAML hybrid achieves consistently high accuracy, ranging from 0.876 at 1-shot to 0.933 at 50-shot”

Caveats 1

  • Random Forest eventually surpasses the MAML hybrid in high-shot regimes, achieving up to 0.950 accuracy and 0.900 MCC

What’s new here 3

  • Combines an autoencoder feature extractor with MAML for rapid adaptation to new malware with minimal labeled data
  • Evaluates performance across a wide range of few-shot settings (1 to 50 shots) on a balanced 1000-benign/1000-malware query set
  • Shows superior accuracy, F1, precision, recall, and MCC compared to traditional classifiers in low-data regimes