Fractional Tchebichef-ResNet-SE: A Hybrid Deep Learning Framework Integrating Fractional Tchebichef Moments with Attention Mechanisms for Enhanced IoT Intrusion Detection
Abstract
1. Introduction
- •
- A fractional Tchebichef moment-based feature transformation as a preprocessing technique that converts high-dimensional network traffic data into compact, noise-resistant 232 × 232 feature matrices suitable for convolutional processing is introduced.
- •
- A principled mathematical framework is provided for dimensionality reduction while preserving discriminative information.
- •
- A deep Residual Network architecture is developed to enhance with Squeeze-and-Excitation attention blocks that overcomes the degradation problem for IoT intrusion detection.
- •
- A Comprehensive empirical evaluation is conducted on multiple benchmark datasets including Bot-IoT and Leopard Mobile IoT.
2. Related Work
3. Tchebichef Polynomials and Moments
3.1. Standard Tchebichef Polynomials
3.2. Efficient Computation via Recurrence Relations
3.3. Fractional Tchebichef Polynomials
3.4. Fractional Tchebichef Moments
3.5. Advantages for Network Traffic Analysis
4. Residual Network with Squeeze-and-Excitation Attention
4.1. Residual Learning Framework
4.2. Squeeze-and-Excitation Attention Mechanism
- •
- Squeeze Operation: Global spatial information is aggregated through global average pooling, producing a channel descriptor zc that captures the global distribution of channel-wise responses:
- •
- Excitation Operation: Channel dependencies are captured through two fully connected layers with bottleneck structure:
- •
- Scale Operation: Original feature maps are recalibrated through channel-wise multiplication with learned attention weights:
4.3. Loss Function and Optimization
5. Proposed Deep Learning Framework
5.1. Network Traffic Preprocessing Pipeline
5.2. Fractional Tchebichef Moment Feature Transformations
- (1)
- Noise resistance: the low-pass filtering characteristics of lower-order moments suppress high-frequency noise inherent in network traffic measurements.
- (2)
- Dimensionality reduction: essential traffic patterns are captured in a structured format that reduces computational burden while preserving discriminative information.
- (3)
- Multi-scale pattern capture: the hierarchical nature of polynomial orders enables simultaneous representation of both coarse-grained attack signatures and fine-grained anomalous behaviors.
- (4)
- Discretization error elimination: unlike continuous orthogonal moments that require numerical approximation, Fractional Tchebichef moments operate directly in the discrete domain, ensuring analytical precision throughout the transformation process.
5.3. ResNet-SE Architecture Configuration
5.4. Justification of the 232 × 232 Dimensionality
6. Experimental Results
6.1. Experimental Setup
6.2. Dataset Description
- Bot-IoT Dataset: A comprehensive IoT network traffic dataset containing over 72 million records including DDoS attacks (1,926,624 samples), DoS attacks (1,650,260), reconnaissance (91,082), theft (79), and normal traffic (477). The dataset was collected from a realistic IoT network environment comprising weather stations, smart thermostats, motion sensors, and security cameras [50]. Bot-IoT demonstrates superiority over alternative datasets for ML applications by capturing realistic IoT device communications with contemporary attack vectors, unlike legacy datasets (KDD99, NSL-KDD) containing synthetic traffic from outdated protocols or datasets focused on traditional IT infrastructure (UNSW-NB15). The dataset’s substantial scale (72+ million records), IoT-specific attack patterns, and class diversity enable robust deep learning model training while addressing resource exhaustion and device compromise scenarios characteristic of real-world IoT environments.
- Leopard Mobile IoT Dataset: Comprising 14,733 malware samples and 2486 benign samples (17,219 total), this dataset represents real-world IoT security scenarios including various attack types such as DDoS, DoS, malware infections, and unauthorized access attempts. Figure 5 shows class distribution of evaluation to Bot-IoT and Leopard Mobile IoT datasets.
6.3. Performance Comparison with Baseline Methods
6.4. Impact of Input Image Dimensions
6.5. Ablation Study
6.6. Training Dynamics
6.7. Confusion Matrix Analysis
6.8. Cross-Dataset Generalization
6.9. Computational Efficiency
6.10. False Positive Analysis and Cybersecurity Implications
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Gaurav, A.; Arya, V.; Chui, K.T.; Gupta, B.B. AI-based model for securing cognitive IoT devices in advance communication systems. Int. J. Cogn. Comput. Eng. 2025, 6, 351–359. [Google Scholar] [CrossRef]
- Islam, S.F.; Tawfik, M. Enhancing IoT Systems with Bio-Inspired Intelligence in Fog Computing Environments. Stat. Optim. Inf. Comput. 2025, 13, 1916–1932. [Google Scholar]
- Tawfik, M.; Abu-Ein, A.A.; Noaman, H.M.; Abdelhaliem, A.H.; Fathi, I.S. FedMedSecure: Federated few-shot learning with cross-attention mechanisms and explainable AI for collaborative healthcare cybersecurity. Sci. Rep. 2025, 15, 40050. [Google Scholar] [CrossRef]
- Al-Hazaimeh, O.M.; Abu-Ein, A.A.; Fathi, I.S.; Tawfik, M. Securing IoT Systems Using Artificial Intelligence-Driven Approaches. Stat. Optim. Inf. Comput. 2026, 15, 1899–1912. [Google Scholar]
- Rao, D.V.J.; Josephine, M.S.; Jeyabalaraja, V.; Arulkumaran, P.; Rathore, A. A high performance hybrid LSTM CNN secure architecture for IoT environments using deep learning. Sci. Rep. 2025, 15, 7750. [Google Scholar] [CrossRef]
- Liu, H.; Lang, B. Machine learning and deep learning methods for intrusion detection systems: A survey. Appl. Sci. 2019, 9, 4396. [Google Scholar] [CrossRef]
- Ring, M.; Wunderlich, S.; Scheuring, D.; Landes, D.; Hotho, A. A survey of network-based intrusion detection data sets. Comput. Secur. 2019, 86, 147–167. [Google Scholar] [CrossRef]
- Moustafa, N.; Slay, J. The evaluation of network anomaly detection systems: Statistical analysis of the UNSW-NB15 data set and the comparison with the KDD99 data set. Inf. Secur. J. Glob. Perspect. 2016, 25, 18–31. [Google Scholar] [CrossRef]
- LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef]
- Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning; MIT Press: Cambridge, MA, USA, 2016; ISBN 978-0262035613. [Google Scholar]
- Wang, W.; Zhu, M.; Zeng, X.; Ye, X.; Sheng, Y. Malware traffic classification using convolutional neural network for representation learning. In Proceedings of the IEEE International Conference on Information Networking (ICOIN), Da Nang, Vietnam, 11–13 January 2017; pp. 712–717. [Google Scholar] [CrossRef]
- Yin, C.; Zhu, Y.; Fei, J.; He, X. A deep learning approach for intrusion detection using recurrent neural networks. IEEE Access 2017, 5, 21954–21961. [Google Scholar] [CrossRef]
- Vinayakumar, R.; Alazab, M.; Soman, K.P.; Poornachandran, P.; Al-Nemrat, A.; Venkatraman, S. Deep learning approach for intelligent intrusion detection system. IEEE Access 2019, 7, 41525–41550. [Google Scholar] [CrossRef]
- Ferrag, M.A.; Maglaras, L.; Moschoyiannis, S.; Janicke, H. Deep learning for cyber security intrusion detection: Approaches, datasets, and comparative study. J. Inf. Secur. Appl. 2020, 50, 102419. [Google Scholar] [CrossRef]
- Tawfik, M.; Fathi, I.S.; Nimbhore, S.S.; Alsmadi, I.M.; Sawah, M.S. E-RespiNet: An LLM-ELECTRA driven triple-stream CNN with feature fusion for asthma classification. PLoS ONE 2025, 20, e0334528. [Google Scholar]
- Hu, J.; Shen, L.; Albanie, S.; Sun, G.; Wu, E. Squeeze-and-Excitation Networks. IEEE Trans. Pattern Anal. Mach. Intell. 2020, 42, 2011–2023. [Google Scholar] [CrossRef]
- Koroniotis, N.; Moustafa, N.; Sitnikova, E.; Turnbull, B. Towards the development of realistic botnet dataset in the Internet of Things for network forensic analytics: Bot-IoT dataset. Future Gener. Comput. Syst. 2019, 100, 779–796. [Google Scholar] [CrossRef]
- Mukundan, R.; Ong, S.H.; Lee, P.A. Image analysis by Fractional Tchebichef moments. IEEE Trans. Image Process. 2001, 10, 1357–1364. [Google Scholar] [CrossRef] [PubMed]
- Fathi, I.S.; El-Saeed, A.R.; Hassan, G.; Aly, M. Fractional Chebyshev Transformation for Improved Binarization in the Energy Valley Optimizer for Feature Selection. Fractal Fract. 2025, 9, 521. [Google Scholar]
- Yap, P.T.; Paramesran, R.; Ong, S.H. Image analysis by Krawtchouk moments. IEEE Trans. Image Process. 2003, 12, 1367–1377. [Google Scholar] [CrossRef] [PubMed]
- Hassan, G.; Hosny, K.M.; Fathi, I.S. Optimized bio-signal reconstruction and watermarking via enhanced fractional orthogonal moments. Sci. Rep. 2025, 15, 30337. [Google Scholar] [CrossRef] [PubMed]
- Zhu, H.; Shu, H.; Xia, T.; Luo, L.; Coatrieux, J.L. Translation and scale invariants of Tchebichef moments. Pattern Recognit. 2007, 40, 2530–2542. [Google Scholar][Green Version]
- Shu, H.; Zhang, H.; Beijing, C.; Haigron, P.; Luo, L.M. Fast computation of Fractional Tchebichef moments for binary and grayscale images. IEEE Trans. Image Process. 2010, 19, 3171–3180. [Google Scholar] [CrossRef]
- Mukundan, R. A new class of rotational invariants using discrete orthogonal moments. In Proceedings of the 6th IASTED International Conference on Signal and Image Processing, Honolulu, HI, USA, 23–25 August 2004; pp. 80–84. [Google Scholar]
- Xiao, B.; Ma, J.; Wang, X. Image analysis by Bessel-Fourier moments. Pattern Recognit. 2010, 43, 2620–2629. [Google Scholar] [CrossRef]
- Zhang, H.; Shu, H.; Han, G.N.; Coatrieux, G.; Luo, L.; Coatrieux, J.L. Blurred image recognition by Legendre moment invariants. IEEE Trans. Image Process. 2010, 19, 596–611. [Google Scholar] [CrossRef]
- Pee, C.Y.; Ong, S.H.; Raveendran, P. Efficient translation, rotation, and scale invariants of discrete Tchebichef moments. IEEE Access 2021, 9, 163954–163964. [Google Scholar]
- Hu, J.; Shen, L.; Sun, G. Squeeze-and-Excitation Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–22 June 2018; pp. 7132–7141. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar] [CrossRef]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Cover, T.; Hart, P. Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 1967, 13, 21–27. [Google Scholar] [CrossRef]
- Buczak, A.L.; Guven, E. A survey of data mining and machine learning methods for cyber security intrusion detection. IEEE Commun. Surv. Tutor. 2016, 18, 1153–1176. [Google Scholar] [CrossRef]
- Bellman, R. Dynamic Programming; Princeton University Press: Princeton, NJ, USA, 1957; ISBN 978-0691079516. [Google Scholar]
- He, H.; Garcia, E.A. Learning from imbalanced data. IEEE Trans. Knowl. Data Eng. 2009, 21, 1263–1284. [Google Scholar] [CrossRef]
- Elaziz, M.A.; Abualigah, L.; Attiya, I. Advanced optimization technique for scheduling IoT tasks in cloud-fog computing environments. Future Gener. Comput. Syst. 2021, 124, 142–154. [Google Scholar] [CrossRef]
- Ghafari, R.; Mansouri, N. An efficient task scheduling in fog computing using improved artificial hummingbird algorithm. J. Comput. Sci. 2023, 74, 102152. [Google Scholar] [CrossRef]
- Wang, W.; Sheng, Y.; Wang, J.; Zeng, X.; Ye, X.; Huang, Y.; Zhu, M. HAST-IDS: Learning hierarchical spatial-temporal features using deep neural networks to improve intrusion detection. IEEE Access 2018, 6, 1792–1806. [Google Scholar] [CrossRef]
- Zhang, Z.; Zhou, J.; Wu, L.; Li, J. A deep learning approach for network intrusion detection based on NSL-KDD dataset. In Proceedings of the IEEE 14th International Conference on e-Business Engineering (ICEBE), Shanghai, China, 4–6 November 2017; pp. 41–47. [Google Scholar] [CrossRef]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
- Gueriani, A.; Kheddar, H.; Himeur, Y. Enhancing IoT security with CNN and LSTM-based intrusion detection systems. arXiv 2014, arXiv:2405.18624. [Google Scholar]
- Hernandez-Jaimes, M.L.; Martinez-Cruz, A.; Ramírez-Gutiérrez, K.A.; Feregrino-Uribe, C. Artificial intelligence for IoMT security: A review of intrusion detection systems, attacks, datasets and Cloud-Fog-Edge architectures. Internet Things 2023, 23, 100887. [Google Scholar] [CrossRef]
- Alotaibi, S.R.; Maashi, M.; Alamro, H.; Alotaibi, A.; Hamza, M.A.; Abdelmageed, A. Explainable artificial intelligence in web phishing classification on secure IoT with cloud-based cyber-physical systems. Alex. Eng. J. 2025, 110, 490–505. [Google Scholar] [CrossRef]
- Al-Shurbaji, T.; Abdulwahab, M.A.; Mahdi, H.F.; Abdulkareem, M.C.; Nawar, B.S. BoT-EnsIDS: Approach for detecting IoT Botnet attacks leveraging bio-inspired based ensemble feature selection and hybrid deep learning model. Alex. Eng. J. 2025, 129, 744–767. [Google Scholar] [CrossRef]
- Roy, A.G.; Navab, N.; Wachinger, C. Recalibrating fully convolutional networks with spatial and channel ‘squeeze & excitation’ blocks. IEEE Trans. Med. Imaging 2019, 38, 540–549. [Google Scholar] [CrossRef]
- Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. CBAM: Convolutional Block Attention Module. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 3–19. [Google Scholar] [CrossRef]
- Aldakheel, E.A.; Khafaga, D.S.; Fathi, I.S.; Hosny, K.M.; Hassan, G. Efficient Analysis of Large-Size Bio-Signals Based on Orthogonal Generalized Laguerre Moments of Fractional Orders and Schwarz–Rutishauser Algorithm. Fractal Fract. 2023, 7, 826. [Google Scholar] [CrossRef]
- Hassan, G.; Hosny, K.M.; Fouda, M.M.; Fathi, I.S. Efficient Compression of Fetal Phonocardiography Bio-Medical Signals for Internet of Healthcare Things. IEEE Access 2023, 11, 122991–123003. [Google Scholar] [CrossRef]
- Fathi, I.S.; Ardah, H.; Hassan, G.; Aly, M. Protecting IOT Networks Through AI-Based Solutions and Fractional Fractional Tchebichef Moments. Fractal Fract. 2025, 9, 427. [Google Scholar] [CrossRef]
- Peterson, J.M.; Leevy, J.L.; Khoshgoftaar, T.M. A review and analysis of the Bot-IoT dataset. In Proceedings of the IEEE International Conference on Service-Oriented System Engineering (SOSE), Oxford, UK, 23–26 August 2021; pp. 20–27. [Google Scholar] [CrossRef]











| Layer Type | Output Shape | Parameters | Description |
|---|---|---|---|
| Input | 232 × 232 × 1 | 0 | Fractional Tchebichef moment features |
| Conv1 + MaxPool | 58 × 58 × 64 | 3200 | Initial feature extraction |
| Stage 1 | 58 × 58 × 64 | 73,984 | 3 SE-ResNet blocks |
| Stage 2 | 29 × 29 × 128 | 230,144 | 4 SE-ResNet blocks |
| Stage 3 | 15 × 15 × 256 | 1,180,672 | 6 SE-ResNet blocks |
| Stage 4 | 8 × 8 × 512 | 2,364,416 | 3 SE-ResNet blocks |
| GAP + FC | K classes | 394,240 | Classification head |
| Method | Accuracy (%) | F1-Score (%) | Category |
|---|---|---|---|
| K-Nearest Neighbors | 84.70 | 82.30 | Traditional ML |
| Support Vector Machine | 87.50 | 85.10 | Traditional ML |
| Random Forest | 92.00 | 90.50 | Traditional ML |
| Traditional CNN | 96.90 | 95.80 | Deep Learning |
| ResNet (baseline) | 99.30 | 98.87 | Deep Learning |
| Proposed ResNet-SE | 99.78 | 99.37 | Proposed |
| Configuration | Accuracy (%) | Precision (%) | F1-Score (%) |
|---|---|---|---|
| Baseline CNN (no ResNet, no SE) | 99.54 | 99.38 | 98.87 |
| CNN + Residual Blocks (no SE) | 99.72 | 99.51 | 99.18 |
| CNN + SE Attention (no ResNet) | 99.68 | 99.47 | 99.12 |
| ResNet-SE without BatchNorm | 99.61 | 99.42 | 99.05 |
| ResNet-SE without Dropout | 99.53 | 99.37 | 98.94 |
| Full Model (Proposed ResNet-SE) | 99.78 | 99.55 | 99.37 |
| Method | Training Time (s) | Inference Throughput (Samples/s) | Parameters |
|---|---|---|---|
| KNN | — | 312.4 | — |
| SVM (RBF) | 847.3 | 284.7 | — |
| Random Forest | 124.6 | 1847.2 | — |
| Traditional CNN | 3240.5 | 198.3 | 2.1 M |
| ResNet (baseline) | 4118.7 | 143.6 | 4.2 M |
| Proposed ResNet-SE | 4356.2 | 127.9 | 4.46 M |
| Dataset | Method | False Positive Rate (%) | False Negative Rate (%) | True Negatives | False Positives | True Positives | False Negatives |
|---|---|---|---|---|---|---|---|
| Bot-IoT | KNN | 8.30 | 12.50 | 437 | 40 | 3,150,892 | 450,153 |
| SVM | 6.10 | 9.80 | 448 | 29 | 3,248,763 | 352,282 | |
| Random Forest | 3.40 | 6.20 | 461 | 16 | 3,378,140 | 222,905 | |
| Traditional CNN | 2.80 | 2.10 | 463 | 14 | 3,526,351 | 74,694 | |
| ResNet (baseline) | 1.20 | 0.95 | 471 | 6 | 3,566,845 | 34,200 | |
| Proposed ResNet-SE | 0.22 | 0.35 | 476 | 1 | 3,589,864 | 11,181 | |
| Leopard Mobile | KNN | 11.20 | 9.80 | 2207 | 279 | 13,291 | 1442 |
| SVM | 8.50 | 7.30 | 2275 | 211 | 13,657 | 1076 | |
| Random Forest | 4.90 | 5.10 | 2364 | 122 | 13,985 | 748 | |
| Traditional CNN | 2.10 | 1.80 | 2434 | 52 | 14,468 | 265 | |
| ResNet (baseline) | 1.30 | 1.10 | 2454 | 32 | 14,571 | 162 | |
| Proposed ResNet-SE | 0.40 | 0.28 | 2476 | 10 | 14,692 | 41 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Fathi, I.S.; El-Saeed, A.R.; Tawfik, M.; Hassan, G. Fractional Tchebichef-ResNet-SE: A Hybrid Deep Learning Framework Integrating Fractional Tchebichef Moments with Attention Mechanisms for Enhanced IoT Intrusion Detection. Fractal Fract. 2026, 10, 172. https://doi.org/10.3390/fractalfract10030172
Fathi IS, El-Saeed AR, Tawfik M, Hassan G. Fractional Tchebichef-ResNet-SE: A Hybrid Deep Learning Framework Integrating Fractional Tchebichef Moments with Attention Mechanisms for Enhanced IoT Intrusion Detection. Fractal and Fractional. 2026; 10(3):172. https://doi.org/10.3390/fractalfract10030172
Chicago/Turabian StyleFathi, Islam S., Ahmed R. El-Saeed, Mohammed Tawfik, and Gaber Hassan. 2026. "Fractional Tchebichef-ResNet-SE: A Hybrid Deep Learning Framework Integrating Fractional Tchebichef Moments with Attention Mechanisms for Enhanced IoT Intrusion Detection" Fractal and Fractional 10, no. 3: 172. https://doi.org/10.3390/fractalfract10030172
APA StyleFathi, I. S., El-Saeed, A. R., Tawfik, M., & Hassan, G. (2026). Fractional Tchebichef-ResNet-SE: A Hybrid Deep Learning Framework Integrating Fractional Tchebichef Moments with Attention Mechanisms for Enhanced IoT Intrusion Detection. Fractal and Fractional, 10(3), 172. https://doi.org/10.3390/fractalfract10030172

