Routing-Aware Explanations for Mixture of Experts Graph Models in Malware Detection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Shokouhinejad, Hossein, Razavi-Far, Roozbeh, Higgins, Griffin, Ghorbani, Ali. A
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912917635465216
author Shokouhinejad, Hossein
Razavi-Far, Roozbeh
Higgins, Griffin
Ghorbani, Ali. A
author_facet Shokouhinejad, Hossein
Razavi-Far, Roozbeh
Higgins, Griffin
Ghorbani, Ali. A
contents Mixture-of-Experts (MoE) offers flexible graph reasoning by combining multiple views of a graph through a learned router. We investigate routing-aware explanations for MoE graph models in malware detection using control flow graphs (CFGs). Our architecture builds diversity at two levels. At the node level, each layer computes multiple neighborhood statistics and fuses them with an MLP, guided by a degree reweighting factor rho and a pooling choice lambda in {mean, std, max}, producing distinct node representations that capture complementary structural cues in CFGs. At the readout level, six experts, each tied to a specific (rho, lambda) view, output graph-level logits that the router weights into a final prediction. Post-hoc explanations are generated with edge-level attributions per expert and aggregated using the router gates so the rationale reflects both what each expert highlights and how strongly it is selected. Evaluated against single-expert GNN baselines such as GCN, GIN, and GAT on the same CFG dataset, the proposed MoE achieves strong detection accuracy while yielding stable, faithful attributions under sparsity-based perturbations. The results indicate that making the router explicit and combining multi-statistic node encoding with expert-level diversity can improve the transparency of MoE decisions for malware analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2602_19025
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Routing-Aware Explanations for Mixture of Experts Graph Models in Malware Detection
Shokouhinejad, Hossein
Razavi-Far, Roozbeh
Higgins, Griffin
Ghorbani, Ali. A
Cryptography and Security
Artificial Intelligence
Mixture-of-Experts (MoE) offers flexible graph reasoning by combining multiple views of a graph through a learned router. We investigate routing-aware explanations for MoE graph models in malware detection using control flow graphs (CFGs). Our architecture builds diversity at two levels. At the node level, each layer computes multiple neighborhood statistics and fuses them with an MLP, guided by a degree reweighting factor rho and a pooling choice lambda in {mean, std, max}, producing distinct node representations that capture complementary structural cues in CFGs. At the readout level, six experts, each tied to a specific (rho, lambda) view, output graph-level logits that the router weights into a final prediction. Post-hoc explanations are generated with edge-level attributions per expert and aggregated using the router gates so the rationale reflects both what each expert highlights and how strongly it is selected. Evaluated against single-expert GNN baselines such as GCN, GIN, and GAT on the same CFG dataset, the proposed MoE achieves strong detection accuracy while yielding stable, faithful attributions under sparsity-based perturbations. The results indicate that making the router explicit and combining multi-statistic node encoding with expert-level diversity can improve the transparency of MoE decisions for malware analysis.
title Routing-Aware Explanations for Mixture of Experts Graph Models in Malware Detection
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2602.19025