{'fraction_non_alphanumeric': 0.02926829268292683, 'fraction_numerical': 0.004878048780487805, 'mean_word_length': 5.527272727272727, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Prediction-based Online Cost Optimization Algorithm for 5G Vertical

End-to-end network slicing in 5G enables new business models and use cases across all industry verticals. Network slicing is an efficient solution that fulfills the diverse business requirements, characterized by a Service Level Agreement (SLA). 5G service providers offer the network slices through various plans differing in leasing period, allocated resources, and price. With uncertain future demand, it is challenging for businesses to select a cost-effective plan that supports the traffic. In this work, we propose a prediction-based online algorithm that minimizes the cost through plan selection for different applications in industry verticals. First, the future traffic demand is predicted using the Recurrent Neural Network (RNN)-based Long Short-Term Memory (LSTM) model, which continuously learns and adapts to the dynamic requirements with higher prediction accuracy. The traffic prediction model estimates the future demand, and the proposed algorithm leverages it for plan selection. The problem is formulated as an Integer Linear Program (ILP), which provides an offline optimal solution of the problem. Results from extensive simulations, with real-world datasets, illustrate that the proposed algorithm reduces the best worst-case expected Competitive Ratio (CR) by 20% over randomized ski-rental algorithm and 37% over deterministic algorithm.