Stress-Testing Structure-Aware Calibration of Malware Graph Neural Networks under Type Shift
Abstract
Post-hoc malware calibrators can condition confidence on graph structure, but their structural inputs may leave the support represented by validation data under malware-type shift. We study this risk on MalNet-Tiny by holding out each of four malware types across three seeds, freezing a graph isomorphism network, and fitting post-hoc mappings only on known-type data. On known-type tests, generic and combined structural calibrators have negative log likelihood (NLL) of 0.4341 and 0.4628. Their mean held-out-type gap widens to 0.1369, with a four-type 95% interval of [-0.0125, 0.2864] and improvement in one of four types. Eight label-independent nuisance variables produce a smaller mean NLL increase of 0.0415, but the paired combined-versus-nuisance interval includes zero. We then use calibration data to define a community-support guard: predictions outside the 95th percentile of calibration-standardized community displacement revert to the generic calibrator. The guard reduces combined NLL by 0.1133 and high-confidence errors from 43.25 to 33.25 per 400-sample cell. It also outperforms matched-rate random fallback on the original folds, while generic and uncalibrated probabilities retain lower held-out-type NLL. This exploratory recovery localizes harmful combined predictions; the stress test exposes heterogeneous calibration failures without establishing a general structural-calibration penalty or a deployment gain over simpler alternatives.
Create a lesson
Metadata
- Comments
- 6 pages; expanded evaluation controls and discussion, clarified uncertainty, and added references
Related papers
Structure-Aware Merkle Trees for Tamper-Localizable Dataset and Model Integrity on Blockchain and Distributed Storage
Shared title terminologycs.CRZeeshan Ali, Dajana Cassioli
Partition-Matched Evaluation of Community Features under Distribution Shift in Android Malware Function-Call Graphs
Shared title terminologycs.CRJunru Zhu, Yixin Yang, Xiaoqing Ding et al.
Temporal Generalization and Explanation Stability of Control Flow Graph Neural Networks for Malware Detection
Shared title terminologycs.CRMd. Asif Sajeed, Md. Nazrul Islam Mondal, Md Ashraful Hossen Akash
An Enhanced Adaptive Graph Neural Network (AGNN) for Hardware Trojan Identification
Shared title terminologycs.CRBanalata Bhunia, Malay Kule, Hafizur Rahaman
Calibrated Decision Models for Autonomous Penetration-Testing Harnesses: JEV and Laya as System One Decision Layers for LLM-Driven Pentest Agents
Shared title terminologycs.CRJoas Antonio dos Santos Barbosa
When Do Differentially Private Inputs Protect Graph Shift Operators?
Shared title terminologycs.CRAndrew Campbell, Chenyue Zhang, Hang Liu et al.