Leveraging Interpretable Tsetlin Machine for PDF Malware Detection

Rahul Jaiswal, Ole-Christoffer Granmo
7/10/2026
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

In the digital era, Portable Document Format (PDF) is one of the most widely used file formats for storing and exchanging digital documents due to its platform independence and rich functionality. However, these same capabilities have also made PDF files an attractive attack vector for cyberattackers, who embed malicious code within seemingly legitimate documents to compromise target systems.

Show full abstract

This paper presents a novel interpretable Tsetlin Machine (TM)-based framework for PDF malware detection. The proposed framework extracts salient features from PDF documents through static analysis without executing the files and employs rule-based learning to accurately classify benign and malicious PDF documents. Numerical evaluation on the RIT-PDFMal-2026 dataset demonstrates that the proposed framework achieves an accuracy of 98.02%, outperforming several state-of-the-art machine learning classifiers. Moreover, the proposed framework provides intrinsic interpretability by transparently explaining its classification decisions. Edge deployment on a Raspberry Pi further supports real-time, on-device PDF malware detection. The combination of better accuracy, computational efficiency, and intrinsic interpretability makes the proposed framework a promising solution for practical PDF malware detection.

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{jaiswal2026leveraging,
  title  = {Leveraging Interpretable Tsetlin Machine for PDF Malware Detection},
  author = {Rahul Jaiswal and Ole-Christoffer Granmo},
  year   = {2026},
  eprint = {2607.09290},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.09290v2}
}

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/2607.09290.svg)](https://codeofpaper.com/paper/2607.09290)

Discussion