Skip to content

News2 min read

UNB Researchers Make AI Malware Detection Explainable with a 'Dual Prototype' Framework

A Canadian Institute for Cybersecurity poster connects graph-neural-network malware verdicts to known benign and malicious behaviour patterns, keeping detection strong while making it interpretable.

A program call graph with a red three-node subgraph and a MALICIOUS verdict, matched to a malicious prototype panel while a benign prototype panel sits dimmed

Machine learning is good at spotting malware. Explaining why it flagged a file is another problem entirely — and for security teams deciding what to quarantine, "trust me" is not an answer.

A poster from UNB's Canadian Institute for Cybersecurity tackles exactly that gap. Prototype-Guided Dual Explanations for GNN-Based Malware Detection, by researchers Hossein Shokouhinejad, Roozbeh Razavi-Far, Griffin Higgins, and Ali A. Ghorbani — the institute's founding director and 2026 Order of New Brunswick recipient — will be on the wall at the PST Cybersecurity Summit 2026 in Fredericton on Aug. 20.

The problem: black-box verdicts

Modern malware detectors increasingly lean on Graph Neural Networks (GNNs), which model a program's structure — its call graph, dependencies, and behaviour — as a graph rather than a flat blob of bytes. That structure is powerful, but GNN verdicts are notoriously hard to explain: a security analyst gets a malicious/benign label without a legible reason.

The approach: prototypes with two views

The proposed framework introduces dual prototype-based explanations. The model learns representative prototypes — typical benign and typical malicious behavioural patterns — and each verdict is explained by connecting it to those prototypes.

The "dual" part: explanations are grounded on both sides — what makes this sample look benign, and what makes it look malicious — so an analyst sees the decision anchored in known behaviour rather than abstract features. The researchers say the approach keeps strong detection capability while making the reasoning interpretable and security-focused.

The poster sits on top of a sustained line of work from the same four researchers. Their open-access paper "Enhancing GNN Explanations for Malware Detection with Dual Subgraph Matching", published in Machine Learning and Knowledge Extraction in December 2025, develops the same two-sided explanation idea by matching a sample's subgraphs against reference behaviour — and the group presented a broader GNN malware portfolio at an IEEE data-mining workshop a month earlier.

Why it matters

Explainability is a deployment requirement, not a nice-to-have, for security tooling. Regulated buyers, managed-security providers, and SOC teams need to justify automated decisions. Work that makes AI malware detection legible — without sacrificing detection rate — is exactly the kind of research that flows from the institute's labs into the province's security companies and their customers.

Sources

ChronologyCIC· 11 stories since Aug 4, 2026

  1. Mastercard's Canada Security VP Keynoted CIC's Fredericton Summit — Then Toured the IoT Lab It Funds
  2. UNB Researchers Threat-Model the Protocols That Let AI Agents Act
Chronology · show all 11 stories
  1. UNB Researchers Build a Practical Roadmap for the Post-Quantum Migration
  2. UNB Poster Weighs the Privacy Cost of Federated-Learning Aggregation
  3. UNB Researchers Deploy Collaborative AI Agents to Guard Power-Substation Networks
  4. UNB Researchers Build a Mixture-of-Experts Defence Against Adversarial AI Attacks
  5. UNB Researchers Make AI Malware Detection Explainable with a 'Dual Prototype' Framework (this story)
  6. UNB Researcher Takes a Geometric Axe to Optimization's Symmetry Problem
  7. UNB Researcher's 'Trust Passport' Would Stamp Every AI Reply with Its Risk Profile
  8. National Cyber Agencies and Big Banks Head to Fredericton for UNB's Cybersecurity Summit
  9. Cybersecurity Pioneer Ali Ghorbani Named to the Order of New Brunswick

Related coverage