A graph-based machine learning framework called DAGR-GNN achieved the highest zero-day detection rates, the lowest false-positive rates, and the strongest resilience to structural graph attacks across three publicly available malware benchmark datasets, according to an original research study published in Frontiers in Big Data. Developed by Meena P. and Rama Prabha K. P. at the School of Computer Science and Engineering, Vellore Institute of Technology in Chennai, India, the Dual-Graph Adversarially Robust Graph Neural Network pairs standard malware similarity graphs with adversarially perturbed graph views during training. Across benchmarks covering Windows executables, malicious PDF documents, and Portable Executable files, DAGR-GNN also attained the highest receiver operating characteristic area under the curve (ROC-AUC) on every dataset. On clean, unattacked test data, however, competing baselines slightly outperformed DAGR-GNN in accuracy and F1-score on two benchmarks, indicating that its main advantages lie in unseen-malware detection and attack resistance rather than clean-data classification alone.
Detecting zero-day malware—previously unseen variants lacking known signatures or labeled examples—remains difficult for cybersecurity systems. Signature-based detectors rely on patterns from prior threats and fail against novel variants, whereas conventional vector-based machine learning models treat software samples independently and miss relational dependencies among API calls, processes, and execution pathways. Graph Neural Networks (GNNs) overcome that constraint by aggregating neighborhood information to capture higher-order structural patterns. Yet existing GNN malware detectors generally assume that input graphs are static and trustworthy, leaving them vulnerable when minor edge additions, deletions, or rewirings alter node representations while preserving malicious functionality. Many earlier studies also use random train-test splits that place samples from the same malware family in both training and testing sets, overestimating real-world generalization. The authors emphasize that adversarial GNN training itself is not new; their contribution combines tabular sample-similarity graphs, gradient-based edge-flip training, an embedding-alignment objective, and a family-disjoint evaluation protocol.
To assess the framework across heterogeneous file formats and feature spaces, the researchers evaluated DAGR-GNN on three publicly available tabular malware datasets. The largest, the Windows Malware Detection Dataset, contains 198,350 executable files—100,200 malicious and 98,150 benign—described by static and dynamic behavioral features. The second dataset, CIC-PDFMal2022, comprises 10,025 PDF documents, including 5,557 malicious and 4,468 benign samples characterized by structural, metadata, and content-based attributes. The third benchmark, SOMLAP, consists of 51,409 Portable Executable files—19,809 malicious and 31,600 benign—represented by 108 PE-header features. All three datasets passed through an identical preprocessing pipeline before graph construction: missing values were filled using median imputation, duplicate records were removed, categorical attributes were converted into numerical values through label encoding, and numerical features were scaled with Min-Max normalization. To avoid data leakage, every preprocessing step was fitted strictly on the training partition and applied unchanged to validation and test nodes.
Rather than relying on random sample-level splits, the team simulated zero-day detection by partitioning malware groups so that training, validation, and test sets were pairwise disjoint. Whole groups were assigned using a grouped splitter with a fixed seed so that roughly 60 percent of malicious samples fell into training, 20 percent into validation, and 20 percent into zero-day testing, while benign samples—which carry no family labels—were split randomly in matching proportions. This produced test partitions of approximately 20,040 malicious and 19,630 benign samples on Windows, 1,112 malicious and 893 benign samples on CIC-PDFMal2022, and 3,962 malicious and 6,320 benign samples on SOMLAP.
Because tabular malware datasets lack explicit relational structure, DAGR-GNN converts each dataset into a similarity graph where each software sample is a node connected to its ten nearest neighbors based on Euclidean distance in feature space. Samples with similar behavioral profiles thus cluster directly. For classification, the framework uses a shared two-layer Graph Convolutional Network (GCN) with 128 hidden units per layer, self-loops, symmetric degree normalization, ReLU activations, 0.5 dropout, and a linear softmax output layer separating benign and malicious files. The two-layer design balances first- and second-hop neighborhood context while mitigating the over-smoothing typical of deeper GNNs, and the authors note that no attention, structure-learning, or ensemble modules are used. Models were trained using the Adam optimizer at an initial learning rate of 0.001 for up to 100 epochs with early stopping on validation families, repeated across ten random seeds from 0 to 9.
DAGR-GNN’s core mechanism is a dual-graph min-max training strategy that optimizes the shared GCN parameters simultaneously on the clean similarity graph and an adversarially perturbed graph view recomputed at every training step. Rather than relying on non-adaptive random edge rewiring, which does not maximize classification loss, the framework generates perturbations using a projected gradient descent (PGD) topology edge-flip attack over ten steps with a step size of 0.01 and 20 Bernoulli samples. Because a dense perturbation matrix is infeasible for up to 198,350 nodes, the attack operates on 50-node mini-batch induced subgraphs, restricting candidate flips to existing edges for deletion and each node’s 20 nearest feature-space neighbors for insertion under a 5 percent edge budget while keeping node features fixed. Alongside clean and adversarial cross-entropy losses, a cosine-distance embedding-alignment term weighted at 0.5 pulls each node’s second-layer representations across both views closer together.
The researchers benchmarked DAGR-GNN against ten published malware detectors—GraphShield, Anakin, HGAT-MD, FABLDroid, DynMD, MalHAPGNN, BiGNN-IDS, AGSGNN, Tian-GNN, and ArchSentry—all re-run under identical splits, preprocessing, and similarity graphs, except the non-graph model FABLDroid, which used tabular features directly. Paired bootstraps with 10,000 resamples and paired t-tests across ten seeds with Holm correction evaluated differences against each dataset’s strongest baseline. All baselines exceeded 98 percent clean accuracy because the tabular features are highly separable. DAGR-GNN led ROC-AUC on every dataset, reaching 99.98 percent on Windows, 99.97 percent on CIC-PDFMal2022, and 99.98 percent on SOMLAP. On Windows, it led accuracy at 99.83 percent versus GraphShield’s 99.72 percent (Holm-adjusted p equals 0.048), while F1-scores of 99.82 and 99.80 percent were comparable (p equals 0.182) and GraphShield led recall at 99.82 percent. On CIC-PDFMal2022, Tian-GNN significantly led accuracy at 99.86 versus 99.50 percent (p equals 0.003, about seven of 2,005 test samples) and F1-score (p equals 0.004), while GraphShield significantly led SOMLAP accuracy at 99.85 versus 99.67 percent (p equals 0.012) and F1-score (p equals 0.006).
Clearer differences appeared on the held-out zero-day partitions, where the authors reported both zero-day detection rate (ZDR) and false-positive rate (FPR) on held-out benign samples at a 0.5 decision threshold, noting that ZDR alone would reward classifying every file as malicious. Across ten seeds, DAGR-GNN achieved the highest ZDR and lowest FPR on all three benchmarks. On Windows, it reached 95.12 percent ZDR and 0.82 percent FPR, compared with 93.12 percent and 1.24 percent for GraphShield, the strongest Windows baseline. On CIC-PDFMal2022, DAGR-GNN recorded 94.80 percent ZDR and 0.94 percent FPR, ahead of Tian-GNN at 93.81 percent and 1.19 percent. On SOMLAP, DAGR-GNN attained 94.90 percent ZDR and 0.88 percent FPR, versus GraphShield’s 94.21 percent and 0.98 percent. A standard GCN trained solely on clean graphs trailed all three, recording 86.52 to 88.14 percent ZDR with false-positive rates between 1.96 and 2.41 percent.
Under PGD edge-flip attacks on 50-node test subgraphs at budgets of 5, 10, and 20 percent, DAGR-GNN retained stronger accuracy and lower attack success rates (ASR)—the fraction of correctly detected clean malware nodes misclassified as benign under attack. At a 10 percent budget, DAGR-GNN held accuracies of 98.36, 98.01, and 98.12 percent on Windows, CIC-PDFMal2022, and SOMLAP, versus 96.12, 95.12, and 96.84 percent for GraphShield. Its ASR stood at 12.5, 13.8, and 13.1 percent, compared with 29.8, 33.1, and 28.1 percent for GraphShield and 56.3 to 59.1 percent for the clean-trained GCN. Even at a 20 percent budget, DAGR-GNN’s ASR of 23.1 to 25.8 percent stayed below GraphShield’s 10 percent rates. A Windows ablation at the 10 percent budget showed that adding random rewiring, PGD edge flips, and embedding alignment raised attacked accuracy stepwise from 91.03 to 94.58, 97.18, and 98.36 percent and ZDR from 88.14 to 95.12 percent, while clean accuracy moved only from 99.61 to 99.83 percent.
Several documented limitations bound how these results should be interpreted. Flipping similarity edges serves as a surrogate rather than a direct simulation of feature-space or problem-space attacks in which real adversaries alter file attributes or executable behavior. Because PGD attacks were restricted to 50-node mini-batch subgraphs and could not flip edges across subgraphs, robustness against a full-graph attacker was not evaluated. Furthermore, GraphShield and Tian-GNN do not expose graph gradients and were attacked by transfer from a surrogate GCN—a weaker attack than the white-box PGD applied directly to DAGR-GNN and the clean GCN—so reported robustness gaps represent a lower bound rather than a like-for-like comparison. Several baselines were also adapted from other graph domains, and cluster-disjoint splits may differ in difficulty from true malware-family splits. The authors highlight feature-space and problem-space attacks, learnable perturbations, dynamic temporal graphs, explainability tools, and real-time scaling for future work.
Subject of Research: Dual-graph adversarial training with graph neural networks for robust and zero-day malware detection on tabular security benchmarks
Article Title: Dual-graph adversarial training for robust and zero-day malware detection using graph neural networks
Article References: P., M., & K. P., R. P. (2026). Dual-graph adversarial training for robust and zero-day malware detection using graph neural networks. Frontiers in Big Data, 9, Article 1972496. https://doi.org/10.3389/fdata.2026.1972496
Image Credits: AI Generated
DOI: 10.3389/fdata.2026.1972496
Keywords: DAGR-GNN, Graph Neural Networks, Graph Convolutional Networks, Zero-Day Malware Detection, Adversarial Training, Dual-Graph Learning, Embedding Alignment, PGD Topology Attack, Edge-Flip Attacks, k-Nearest Neighbor Graphs, CIC-PDFMal2022, SOMLAP, Windows Malware, Family-Disjoint Evaluation, Adversarial Robustness, Malware Classification, Cybersecurity, Frontiers in Big Data
News Source: Denise Maddox. (December 4, 2026). Dual-Graph Adversarial Training Improves Zero-Day Malware Detection in Benchmark Tests. Scienmag.



