Skip to content
Open access

Hybrid Convolutional-Hopfield Neural Networks for Image-Based Malware Classification

2026 · International journal of research and scientific innovation · 0 citations

TL;DR

A novel hybrid CNN-Hopfield Neural Network (CNN-HNN) framework that replaces traditional dense classification heads with continuous Modern Hopfield associative memory layers is proposed, achieving top-tier accuracy and reducing classification-head parameter counts while reducing floating-point operations (FLOPs) and accelerating inference latency to under 2 ms per sample.

Abstract

Static malware analysis increasingly relies on visual binary representations to bypass signature evasion techniques, yet standard Convolutional Neural Network (CNN) classifiers depend on parameterized Fully Connected (FC) layers that introduce parameter bloat, high latency, and vulnerability to class imbalance. To address these structural limits, this paper proposes a novel hybrid CNN-Hopfield Neural Network (CNN-HNN) framework that replaces traditional dense classification heads with continuous Modern Hopfield associative memory layers. In this architecture, raw malware executables are transformed into 2D grayscale image matrices, from which a CNN backbone extracts abstract latent feature representations. The continuous Hopfield layer then acts as a pattern retrieval engine, evaluating the extracted query vector against stored class archetype prototypes using log-sum-exp energy minimization. Benchmark evaluations on the MalImg and Microsoft Malware Classification Challenge datasets demonstrate that the hybrid model achieves top-tier accuracy (99.58% and 99.62%, respectively) while reducing classification-head parameter counts by up to 78%, lowering floating-point operations (FLOPs) by over 65%, and accelerating inference latency to under 2 ms per sample. Furthermore, the associative energy landscape isolates minority threat categories within distinct basins of attraction, achieving an F1-score improvement of over 20% on severely imbalanced classes compared to standard CNNs.

Read PDF

Similar papers

Open access 2026

A Multi-Modal Deep Learning Framework for Robust Polymorphic Malware Detection

A Hybrid Multi-Modal Deep Learning framework that combines visual and structural features reduces modality collapse and creates a much stronger system compared to using either input type on its own, improves detection performance on deeply hidden contemporary threats, including the AveMariaRAT and CobaltStrike families...

Phil Steadman, Paul Jenkins, Rajkumar Singh Rathore et al. · 0 citations
Open access Aug 2026

Intelligent malware detection on Android smartphones via a hybrid approach using gradient boosting and convolutional neural network

Evaluation using metrics such as accuracy, precision, F1 score, and false positive rate indicates that CNN-GBM outperforms existing deep learning models, and enhancements stem from the effective integration of CNN feature extraction with GBM’s boosting capabilities.

C. Chimeleze, Norziana Jamil, Z. M. Zain et al. · 0 citations
#explainable ai Open access Aug 2026

DEVELOPMENT OF A HYBRID NN–CNN DEEP LEARNING FRAMEWORK FOR INTELLIGENT MALWARE DETECTION, FAMILY CLASSIFICATION, AND VARIANT IDENTIFICATION

A Hybrid Neural Network–Convolutional Neural Network (NN–CNN) Deep Learning Framework for malware detection, malware-family classification, and malware-variant identification and considers two important issues in practical malware detection: model explainability and generalization to previously unseen malware.

Chioma Grace Nwankwo, B. C. Amanze, Ikechukwu Amaefule · 0 citations
Conference Jul 2026

A Performance Comparison of Convolutional Neural Networks and Vision Transformers for Malware Detection

The detection of malware is a great challenge in cybersecurity because the threat environment keeps on changing. Convolutional Neural Networks (CNNs) are frequently applied to conduct image-based malware detection. On the other hand, Vision Transformers (ViTs) that leverage self-attention mechanisms have emerged as a n...

Zhi-Siang Lim, Shing-Chiang Tan · 0 citations
Review Open access 2026

The Next Generation of Malware Defense using Deep Hashing and Neural Embeddings

This survey systematically examines the evolution of binary similarity detection, tracing the trajectory from classical fuzzy hashing techniques to contemporary deep representation learning architectures, providing a unified taxonomy and outlines key challenges for resilient malware lineage tracking and zero-day threat...

Uma Kannan, Rajendran Swamidurai · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.