← Lab /Security & privacy

Multimodal transformer detects Windows malware with 98.3% accuracy

Combining text, image, graph, and audio modalities improves malware detection performance over unimodal and bimodal approaches

Security & privacy arXiv 19 Aug 2026 Method Simulation evidence

Published as “Malformer: A Multi-Modal Malware Detector Using Transformers”

Why it matters

The quadrimodal transformer approach can raise detection accuracy and robustness, offering defenders a more resilient tool against diverse and obfuscated Windows malware.

Summary

Malformer reaches 98.3% accuracy and an F1 score of 0.9833 on a 201,549-sample Windows malware dataset, beating unimodal and bimodal baselines by 4.6-17.6 percentage points. The evidence comes from the abstract; the paper does not provide detailed per-modality breakdowns or false-positive rates, so the strength of the claim rests on a single reported aggregate metric.

What they found 1

  1. High overall detection performance

    “Malformer achieved 98.3% accuracy and an F1 score of 0.9833, outperforming both unimodal baselines and bimodal detectors by 4.6-17.6 percentage points.”

Caveats 3

  • Feature extraction for assembly and graph modalities can fail on obfuscated binaries, potentially reducing effectiveness when those modalities are missing.
  • Both assembly and graph extraction require successful disassembly. Malware authors can use a variety of techniques to obfuscate their code from this part of the pipeline, leading to failures therein.
  • we only use the samples for which all feature extraction succeeded for a “perfect” case for the models tested.

What’s new here 4

  • Integrates four orthogonal modalities (text, image, graph, audio) into a single transformer-based detector.
  • Uses an adaptive loss-weighting scheme to balance contributions of modalities during training.
  • Applies early concatenation without multi-head self-attention as the most effective fusion strategy.
  • Employs RoBERTa for both text and graph encodings and WavLM for audio representations.