arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.19025cs.CRcs.AI
收藏

面向路由的混合专家图模型在恶意软件检测中的解释

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

University of New Brunswick(新不伦瑞克大学)

Hossein Shokouhinejad, Roozbeh Razavi-Far, Griffin Higgins, Ali. A Ghorbani

AI总结:

本文提出了一种面向路由的混合专家图模型,通过多统计量节点编码和专家级多样性提升恶意软件检测的透明性。

摘要:

混合专家(MoE)通过结合图的多个视图来提供灵活的图推理,通过学习的路由器。我们研究了在恶意软件检测中使用控制流图(CFGs)的路由感知解释方法。我们的架构在两个层次上构建多样性。在节点层面,每层计算多个邻域统计量,并通过MLP融合,受度数重新加权因子rho和池化选择lambda{mean, std, max}的指导,生成不同的节点表示,以捕捉CFGs中的互补结构线索。在读出层面,六个专家,每个与特定(rho,lambda)视图相关联,输出图级logits,这些logits由路由器加权以得到最终预测。事后解释通过每个专家的边级归因生成,并通过路由门聚合,使理由反映每个专家强调的内容以及其被选择的强度。在相同的CFG数据集上,与单专家GNN基线如GCN、GIN和GAT相比,所提出的MoE实现了强大的检测准确性,同时在基于稀疏性的扰动下产生稳定且忠实的归因。结果表明,使路由显式化并结合多统计量节点编码与专家级多样性可以提高MoE决策在恶意软件分析中的透明性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑