Related Experiment Videos
Explainable zero-day attack detection in IoMT using transformer-based time-series modeling
Mahdee Jodayree1, Arman Kavoosi Ghafi2, Sara Amiri3
1Department of Computing and Software, Faculty of Engineering, McMaster University, Hamilton, ON, Canada.
Scientific Reports
|May 21, 2026
Summary
This study introduces a novel intrusion detection system for Internet of Medical Things (IoMT) networks, enhancing security against complex cyber threats. The system demonstrates superior accuracy and generalization across diverse datasets, improving IoMT network protection.
Area of Science:
- Cybersecurity
- Network Intrusion Detection Systems
- Internet of Medical Things (IoMT)
Background:
- Securing Internet of Things (IoT) and Internet of Medical Things (IoMT) networks presents challenges due to class imbalance, zero-day attacks, and deployment constraints.
- Existing intrusion detection systems (IDS) often struggle with feature engineering, ensemble methods, or data augmentation, leading to brittle performance across diverse datasets.
- Current IDS are typically closed-set, limiting their calibrated performance in real-world, open-set environments.
Purpose of the Study:
- To develop a novel intrusion detection system (IDS) that addresses severe class imbalance, zero-day attacks, and deployment constraints in IoMT networks.
- To shift towards protocol-aware sequence modeling and principled open-set calibration for robust and generalizable network security.
- To create an IDS capable of calibrated performance across heterogeneous datasets and practical deployment scenarios.
Main Methods:
- Introduced a Protocol State-Masked, Multi-scale Transformer architecture incorporating finite-state protocol constraints into the self-attention mechanism.
- Augmented the core architecture with auxiliary heads for next-state prediction and violation scoring, alongside an energy-based open-set module calibrated using Extreme Value Theory.
- Trained the model on the CICIoMT2024 dataset and evaluated its generalization on the independent WUSTL-EHMS-2020 testbed.
Main Results:
- Achieved 99.62% accuracy and 99.30% macro-F1 (binary) on CICIoMT2024; 98.90% accuracy and 98.40% macro-F1 (19-class) on CICIoMT2024.
- Demonstrated strong zero-day attack detection with an AUROC-OOD of 0.975 and FPR@95%TPR of 7.8%.
- Showcased excellent cross-dataset transferability on the unseen WUSTL-EHMS-2020 dataset, achieving ≈99.6% overall accuracy and ≈99.6% balanced TPR/TNR.
Conclusions:
- The proposed protocol-aware Transformer effectively mitigates class imbalance and curbs overfitting through structural supervision and calibrated open-set thresholds.
- Ablation studies confirmed the significant benefits of protocol masking and auxiliary heads in sharpening decision boundaries and reducing false alarms.
- The developed IDS delivers calibrated, high-fidelity detection that generalizes across diverse datasets, proving practical for real-world IoMT network deployment.
Related Concept Videos
Energy Losses in Transformers
In an ideal transformer, it is assumed that there are no energy losses, and, hence, all the power at the primary winding is transferred to the secondary winding. However, in reality, the transformers always have some energy losses, and, hence, the output power obtained at the secondary winding is less than the input power at the primary winding due to energy losses.
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the copper windings...
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the copper windings...
Steps in Outbreak Investigation
In the ever-evolving field of public health, statistical analysis serves as a cornerstone for understanding and managing disease outbreaks. By leveraging various statistical tools, health professionals can predict potential outbreaks, analyze ongoing situations, and devise effective responses to mitigate impact. For that to happen, there are a few possible stages of the analysis:
Types Of Transformers
Transformers can provide desired voltages to a circuit by modifying the number of turns in the secondary windings.
If the ratio of the number of turns in the secondary winding to that of the primary winding is greater than one, then the transformer is said to be a step-up transformer. In a step-up transformer, the voltage at the secondary winding is greater than the voltage applied at the primary winding.
However, if this ratio is less than one, the transformer is said to be a step-down...
If the ratio of the number of turns in the secondary winding to that of the primary winding is greater than one, then the transformer is said to be a step-up transformer. In a step-up transformer, the voltage at the secondary winding is greater than the voltage applied at the primary winding.
However, if this ratio is less than one, the transformer is said to be a step-down...
Transformers with Off-Nominal Turns Ratios
In scenarios involving parallel transformers with disparate ratings, developing per-unit models requires accommodating off-nominal turns ratios. This situation arises when the selected base voltages are not proportional to the transformer’s voltage ratings. Consider a transformer where the rated voltages are related by the term a. If the chosen voltage bases satisfy a relationship involving term b, term c is defined as the ratio of these bases. This ratio is then substituted into the rated...