← Lab /Security & privacy

Simpler single-path CNN matches dual-path accuracy while being more efficient and robust

A simpler single-path CNN can achieve the same classification performance as a dual-path model but with better training efficiency and robustness to noise

Security & privacy arXiv 16 Nov 2026 Measurement Prototype evidence

Published as “CNN Architecture Comparison for Malware Classification with Limited Training Data”

Why it matters

A simpler single-path CNN can be deployed more quickly, with lower storage and computational cost, while maintaining robustness, making it better suited for real-world malware-classification pipelines where training data and resources are limited.

Summary

The single-path VGG16-based CNN is faster to train, yields smaller model files, and remains far more robust to Gaussian noise than the dual-path VGG16 + custom CNN, even though both achieve perfect classification (1.0 accuracy, precision, recall, F1, AUC) across all training-data sizes. Evidence comes from three independent runs at 20-80% training data, but the result is limited to a binary, highly separable task on two malware families from the public Malimg benchmark.

What they found 3

  1. Both architectures achieve perfect primary classification performance across all training data sizes.

    “Both the single-path and dual-path architectures achieved perfect scores (1.0) for accuracy, precision, recall, and F1-score across all tested training data sizes, from 20% to 80%.”

  2. The single-path model trains significantly faster than the dual-path model.

    “At 20% training data, the single-path model trains on average 13.29 seconds faster (a 17.7% speed advantage relative to the dual-path time), and this advantage increases significantly with more data. At 80% training data, the single-path model is 34.08 seconds faster, representing a 51.2% speed advantage.”

  3. The dual-path model results in larger saved model files.

    “The dual-path model, having learned more unique settings, resulted in significantly larger saved files (175 MB vs 130 MB).”

Caveats 7

  • Both models reach identical perfect accuracy, so the dual-path design provides no gain in primary classification performance.
  • The dual-path architecture incurs longer training times (up to 51.2% slower) and larger model size (≈35% larger).
  • Under increasing Gaussian noise, the dual-path model’s accuracy drops to ~0.81 at high noise levels, whereas the single-path model remains at 1.0.
  • The experiments were conducted solely on two specific malware families (C2LOP.P, Dialplatform.B) selected from the Malimg dataset.
  • The results may not generalize to multi-class scenarios involving all 25 Malimg families or other families with less distinct visual features.
  • Robustness was only evaluated against additive Gaussian noise.
  • Only one specific implementation of a single-path (frozen VGG16 head) and dual-path (fine-tuned VGG16 block5 + specific custom CNN + intermediate concatenation) architecture was tested.

What’s new here 4

  • Systematic comparison of single-path and dual-path CNNs across four training-data proportions (20-80%).
  • Evaluation of secondary metrics-training time, model size, and robustness to additive Gaussian noise-in addition to classification accuracy.
  • Application of intermediate feature fusion to malware image classification and analysis of its impact under data-constrained conditions.
  • Demonstration that a simpler single-path architecture can outperform a more complex dual-path design in efficiency and noise robustness.