Transformer-Based Artificial Intelligence for Computer Networking: A Review of Network Traffic Modeling, Security, Prediction, and Automation
Abstract
Transformer architectures have transformed artificial intelligence by enabling effective learning of long-range dependencies in sequential and structured data. Their success in natural language processing and multimodal learning has motivated increasing research into their application to computer networking. Network traffic, logs, telemetry streams, configuration files, and security events contain temporal and structural dependencies that can potentially be modeled using transformer-based architectures. This review investigates the emerging use of transformers in computer networking, focusing on traffic prediction, anomaly detection, intrusion detection, traffic classification, network performance forecasting, configuration analysis, and network automation. Different transformer architectures and adaptation strategies are examined in relation to networking requirements such as low latency, high throughput, scalability, and continuous learning. The review compares transformers with recurrent neural networks, convolutional models, graph neural networks, and conventional machine learning techniques. Challenges involving computational complexity, model size, training data, interpretability, real-time inference, and adversarial robustness are analyzed. The paper concludes with future opportunities for lightweight transformers, graph-transformer hybrids, network foundation models, and AI-native autonomous networking.
References
Dang, S., Amin, O., Shihada, B., & Alouini, M.-S. (2020). What should 6G be? Nature Electronics, 3, 20–29. https://doi.org/10.1038/s41928-019-0355-6
Anand, A., Singh, B., & Prabhat, S. (2025). Policy-Driven Automation in Cloud Backbones: A Network Slicing Approach Using AWS Cloud WAN.
Akyildiz, I. F., Kak, A., & Nie, S. (2020). Internet of Things (IoT): 5G and 6G vision, architecture, and applications. Microprocessors and Microsystems, 77, 103237. https://doi.org/10.1016/j.micpro.2020.103237
Shafin, R., Chen, L., Matinmikko-Blue, M., & Saad, W. (2020). Artificial intelligence-enabled cellular networks: A survey. IEEE Communications Surveys & Tutorials, 22(1), 795–819.
Sirohi, D., Kumar, N., Rana, P. S., Tanwar, S., Iqbal, R., & Hijjii, M. (2023). Federated learning for 6G-enabled secure communication systems: A comprehensive survey. Artificial Intelligence Review, 56, 1–93. https://doi.org/10.1007/s10462-023-10417-3
Niknam, S., Dhillon, H. S., & Reed, J. H. (2020). Federated learning for wireless communications: Motivation, opportunities and challenges. IEEE Communications Magazine, 58(6), 46–51.
Lim, W. Y. B., Luong, N. C., Hoang, D. T., Jiao, Y., Liang, Y.-C., Yang, Q., Niyato, D., & Miao, C. (2020). Federated learning in mobile edge networks: A comprehensive survey. IEEE Communications Surveys & Tutorials, 22(3), 2031–2063.
Nguyen, D. C., Ding, M., Pathirana, P. N., Seneviratne, A., Li, J., Niyato, D., & Poor, H. V. (2022). Federated learning for Internet of Things: A comprehensive survey. IEEE Communications Surveys & Tutorials, 23(3), 1622–1658.
Rahmani, S., Baghbani, A., Bouguila, N., & Patterson, Z. (2023). Graph neural networks for intelligent transportation systems: A survey. IEEE Transactions on Intelligent Transportation Systems, 24(8), 8846–8885. https://doi.org/10.1109/TITS.2023.3257759
Ouyang, Y., Zhao, Z., & others. (2025). AI-enabled routing in next generation networks: A survey. Alexandria Engineering Journal, 120, 449–474. https://doi.org/10.1016/j.aej.2025.01.095
Tang, F., Mao, B., Kawamoto, Y., & Kato, N. (2021). Survey on machine learning for intelligent end-to-end communication toward 6G: From network access, routing to traffic control and streaming adaption. IEEE Communications Surveys & Tutorials, 23(3), 1578–1598. https://doi.org/10.1109/COMST.2021.3073009
Rahmani, M., Norouzi, S., Chen, J., Ahmadi, H., Braun, T., Chowdhury, K., & Burr, A. G. (2026). Hybrid GNN-centric architectures for AI-native 6G wireless networks: A comprehensive survey. IEEE Communications Surveys & Tutorials, 28, 5678–5712. https://doi.org/10.1109/COMST.2026.3681198
Anand, A., KA, S. D., & Soni, M. (2026, February). Tasmanian Devil Integrated Greylag Goose Optimization for Secure and Energy Efficient Clustering and Routing in Wireless Sensor Network. In 2026 3rd International Conference on Integrated Intelligence and Communication Systems (ICIICS) (pp. 1-7). IEEE.