# ML-Based 5G Network Slicing Security:
## 1 Introduction  
With the emergence of new technologies that require advances in networks and communication (including high throughput, low latency, and high reliability), such as the Internet of Things (IoT), augmented reality (AR), and vehicle-to-vehicle (V2V) and vehicle-to-everything (V2X) communication [1], 5G networks satisfy more and more of the needs of consumers. 5G has opened up a wealth of opportunities, thereby allowing for innovation and providing reliability for service providers and consumers. These aspects have led service providers to move toward an era of virtualization and adopt 5G. 5G promises data rates that are 10 to 100 times faster, high coverage, high reliability, low latency, an improved quality of service (QoS), and economically affordable services. Such services and opportunities are growing day by day, which has led to competition among service providers and network operators to deploy 5G and adopt the network slicing phenomenon within the physical network. 5G stands for fifth-generation wireless mobile technology, which offers three diverse services: eMBB, mMTC, and URLLC. eMBB stands for enhanced mobile broadband, which offers a 10 to 100 GBPS peak data rate. eMBB uses macro and small cells to provide a high mobility of up to 500 Kmph and also reduces power consumption. mMTC stands formassive machine type communication, which provides long-range connectivity with a very low data rate of up to 1 to 100 Kbps. It also provides ultra low-cost machine-to-machine (M2M) communication. URLLC stands for ultra-reliable low-latency communication, which offers ultra-responsive connections between multiple devices with less than 1 ms latency. It also offers 5 ms end-to-end latency between mobiles and base stations. It is ultra-reliable and has a 99.9999% available service, which provides medium data rates of approximately 50 Kbps to 10 Mbps [2]. The 5G network is expected to act as an instigator for market growth. Until 2020, there were 92 commercial networks in 38 countries across the world, with only 150 million 5G subscribers in China and 8 million subscribers in South Korea. Ericsson have forecasted to reach 320 million subscribers in the United States only by 2025 [3]. 5G encourages communication service providers (CSPs) to surpass the subscriber-driven business models, make significant improvements, and re-establish CSPs as digital service providers (DSP) for driving innovations, safety, and productivity across the globe [4]. According to the World Economic Forum, 5G is driving the fourth industrial revolution. Many multinational companies are conducting research on 5G, including Samsung, Huawei, LG, Ericsson, Qualcomm, Nokia, ZTE Corp., NEC Corp., Verizon, Orange, AT&T, and Cisco Systems [5]. The Dallas-based company AT&T covers about 16% of the US Basking Ridge. The ultra-wideband network of the New Jersey-based company Verizon now covers 31 states [6]. Qualcomm claims that by 2035, 5G will be worth USD 13 trillion to goods and service industries across the globe [7]. Since 5G can provide connectivity between millions of devices with a faster data rate than ever before, it is necessary to shift over to 5G to cope with the needs and greed of the market. There are numerous ongoing projects that involve 5G and could impact the world through various sectors, such as robotics, medicine, automotives, agriculture, mining, media, and fashion, comprising projects that include untethered industrial robots, robots on farms, AI in diagnosis, VR in palliative care, virtual patient operation (telesurgery), and AR smart glasses and safety [8]. All of the aforementioned services are difficult to provide on 4G mobile networks or any other traditional networks. To compensate for the physical network and provide network services using limited resources at a low cost and minimum expenditure for the network service providers, it is better to partition the physical network through network slicing. Network slicing is one of the key features of 5G.