Adaptive Deep Representation Learning with Counterfactual Feature Attribution for Explainable Ransomware Detection in Class-Imbalanced Malware Environments

Authors

  • G Badrinath Author
  • Dr.Alampally Sreedevi Author

Keywords:

Ransomware Detection, TabNet, Adaptive Class-Sensitive Learning, Class-Imbalanced Learning, Explainable Artificial Intelligence.

Abstract

The rapid evolution of ransomware has emerged as a critical cybersecurity challenge, demanding intelligent detection frameworks capable of accurately distinguishing malicious executables from benign software. Existing machine learning and deep learning approaches often exhibit degraded performance under class-imbalanced data, resulting in biased learning, increased false negatives, and limited model interpretability. To address these limitations, this study proposes an Adaptive Class-Sensitive Learning-enabled TabNet (ACSL–TabNet) framework that dynamically adjusts class weights during training while exploiting TabNet's sequential attention mechanism to learn highly discriminative representations from static Portable Executable (PE) header and behavioral features. The proposed model is implemented using Python 3.11 in the PyTorch framework with TabNet, Scikit-learn, and Captum libraries for explainability. Experiments were conducted on the Ransomware Dataset 2024 containing 21,752 executable samples from 26 malware families, including 10,876 ransomware and 10,876 benign files. The proposed framework achieved 98.8% accuracy, 98.84% recall, 98.78% F1-score, and 99.63% AUC, outperforming existing methods such as LGBM (91.0%), XGBoost (93.0%), Bi-LSTM with CNN (98.0%), and SB-BR-STM CNN (98.5%), yielding an accuracy improvement of 0.3% over the strongest baseline and 7.8% over conventional machine learning models. Furthermore, the integrated Counterfactual and Integrated Attribution-Based Explainability (CIAE) module provides both feature attribution and decision boundary explanations, enhancing the transparency and trustworthiness of ransomware predictions. The experimental results demonstrate that the proposed ACSL–TabNet framework offers a robust, adaptive, and interpretable solution for accurate ransomware detection in imbalanced cybersecurity environments.

Downloads

Download data is not yet available.

Downloads

Published

2026-09-22

How to Cite

Adaptive Deep Representation Learning with Counterfactual Feature Attribution for Explainable Ransomware Detection in Class-Imbalanced Malware Environments. (2026). Minimax Theory and Its Applications, 11(2s), 713-733. https://journalmta.com/index.php/jmta/article/view/449