← Lab /AI/ML

Interpretable Tsetlin Machine detects PDF malware with 98.02% accuracy

The proposed Tsetlin Machine framework achieves 98.02% accuracy on PDF malware detection

AI/ML arXiv 10 Jul 2026 Method Simulation evidence

Published as “Leveraging Interpretable Tsetlin Machine for PDF Malware Detection”

Why it matters

The approach offers a fast, interpretable alternative for PDF malware detection that could be deployed in environments where transparency and low latency are required.

Summary

The TM framework reaches 98.02% accuracy on the RIT-PDFMal-2026 dataset, with a false positive rate of 1.1% and false negative rate of 7.0%, comparable to the best baseline (Random Forest at 98.28%) but with faster inference (2.853 μs vs 3.901 μs) and intrinsic interpretability. The evidence is based on a single public dataset and a set of standard ML baselines; the paper reports macro-averaged precision/recall/F1 of ~96% and provides clause-level explanations.

What they found 2

  1. Inference time of the TM is 2.853 μs per sample, about 26.9% faster than Random Forest.

    “the TM requires only 2.853 μs, making it approximately 26.9% faster during inference.”

  2. Macro-averaged precision, recall, and F1-score are 96.03%, 95.95%, and 95.99% respectively.

    “TM attains macro-averaged precision, recall, and F1-score of 96.03%, 95.95%, and 95.99%, respectively”

Caveats 5

  • Random Forest achieves marginally higher accuracy and F1-score.
  • The malicious class recall is lower (93.03%) than the benign class recall (98.86%).
  • A false negative rate of 7.0% indicates a non-trivial number of malware samples are missed.
  • the study is limited to a single public dataset
  • the interpretability analysis is demonstrated using representative case studies rather than a formal user-based evaluation.

What’s new here 4

  • Provides intrinsic interpretability via human-readable propositional clauses rather than post-hoc explanations.
  • Uses static feature extraction without executing PDFs, reducing analysis overhead.
  • Achieves inference speed comparable to or faster than gradient-boosting baselines while maintaining similar accuracy.
  • Demonstrates clause activation heatmaps and feature-level contribution analysis for each prediction.