Distributed Deep Learning at the Edge: A Novel Proactive and Cooperative Caching Framework for Mobile Edge Networks
Yuris Mulya Saputra, Dinh Thai Hoang, Diep N. Nguyen, Eryk Dutkiewicz,, Dusit Niyato, and Dong In Kim

TL;DR
This paper introduces two deep learning-based proactive caching strategies for mobile edge networks, improving content demand prediction accuracy and reducing service delay while addressing privacy concerns.
Contribution
It presents a novel distributed deep learning framework for cooperative caching that preserves user privacy and enhances prediction accuracy in edge networks.
Findings
Prediction accuracy improved by up to 33.7% RMSE reduction.
Service delay decreased by 36.1%.
Distributed approach outperforms centralized methods.
Abstract
This letter proposes two novel proactive cooperative caching approaches using deep learning (DL) to predict users' content demand in a mobile edge caching network. In the first approach, a (central) content server takes responsibilities to collect information from all mobile edge nodes (MENs) in the network and then performs our proposed deep learning (DL) algorithm to predict the content demand for the whole network. However, such a centralized approach may disclose the private information because MENs have to share their local users' data with the content server. Thus, in the second approach, we propose a novel distributed deep learning (DDL) based framework. The DDL allows MENs in the network to collaborate and exchange information to reduce the error of content demand prediction without revealing the private information of mobile users. Through simulation results, we show that our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Distributed Deep Learning at the Edge: A Novel Proactive and Cooperative Caching Framework for Mobile Edge Networks
Yuris Mulya Saputra, Dinh Thai Hoang, Diep N. Nguyen, Eryk Dutkiewicz, Dusit Niyato, and Dong In Kim Y. M. Saputra and D. T. Hoang, D. N. Nguyen, and E. Dutkiewicz are with University of Technology Sydney, Australia (email: [email protected], Hoang.Dinh, Diep.Nguyen, and [email protected]). D. Niyato is with Nanyang Technological University, Singapore (email: [email protected]).D. I. Kim is with Sungkyunkwan University, South Korea (e-mail: [email protected]).
Abstract
This letter proposes two novel proactive cooperative caching approaches using deep learning (DL) to predict users’ content demand in a mobile edge caching network. In the first approach, a (central) content server takes responsibilities to collect information from all mobile edge nodes (MENs) in the network and then performs our proposed deep learning (DL) algorithm to predict the content demand for the whole network. However, such a centralized approach may disclose the private information because MENs have to share their local users’ data with the content server. Thus, in the second approach, we propose a novel distributed deep learning (DDL) based framework. The DDL allows MENs in the network to collaborate and exchange information to reduce the error of content demand prediction without revealing the private information of mobile users. Through simulation results, we show that our proposed approaches can enhance the accuracy by reducing the root mean squared error (RMSE) up to % and reduce the service delay by % compared with other machine learning algorithms.
Index Terms:
Mobile edge caching, deep learning, distributed deep learning, proactive and cooperative caching.
I Introduction
Mobile edge caching (MEC) has been emerging as one of the most effective solutions to deal with the ever-increasing traffic demand for new services (e.g., video streaming, IoT, and virtual reality applications) in mobile networks. The key idea of an MEC network is to distribute popular contents closer to the mobile users via mobile edge nodes (MENs) [1] to reduce the service delay for the mobile users. As a result, the deployment of MEC network helps to improve the users’ experiences (e.g., trustworthy wireless connections, fast data transfer, and low energy consumption) and thus maximize the revenues for the MEC service providers [2].
To efficiently cache the popular contents in the MEC network, proactive caching is one of the most effective methods to predict the mobile users’ demands (i.e., content requests). In particular, the proactive caching can provide optimal caching decisions to increase the cache hit rate and reduce the operational as well as service costs on the backhaul link for the MEC service providers [2]. In [3], a learning based proactive caching using singular value decomposition (SVD) to cache data at the base stations was investigated. In this work, the data is first collected from the base stations and then trained in a big data platform. Nevertheless, the SVD technique sets all empty entries to be zero, leading to a poor prediction accuracy, especially when a dataset is extremely sparse. Furthermore, the SVD observes approximated ranks of elements and thus may produce negative numbers which provide no information about real users’ demands. To address this problem, the authors in [4] adopted the non-negative matrix factorization (NMF) to predict the demand probability along with an implicit feedback of the users’ social context. As such, the NMF technique applies the additive parts-based representation with non-negative elements to enhance the interpretability of the elements when the dataset is sparse. However, the NMF is a linear model which considers only two-factor correlation (i.e., the user-content relationship) without learning multi-level correlation. Given that, deep learning seems a suitable solution that relies on deep neural networks (DNN) to learn multiple levels of processing layers. Each layer of the DNN provides nonlinear transformations of the complex hidden features to obtain correlations between the mobile users and the content demands hierarchically (i.e., a layer learns and aggregates a set of features according to the previous layer’s results) [5].
In this letter, we introduce two novel proactive cooperative caching approaches using DL algorithms to improve the accuracy of content demand prediction for the MEC network. In the first approach, we develop a model utilizing the content server (CS) as a centralized node to collect information from all the MENs. We then use the DL to predict the demands for the whole network. However, such an approach may raise the concerns on information privacy and communication overhead. To address these problems, we propose the novel approach using DDL-based framework. In this framework, the CS only needs to collect the trained models from MENs and update the global model accordingly [6]. After that, the global model will be sent back to the MENs for further updates. Through simulation results, we demonstrate that both proposed approaches can improve the accuracy of prediction up to % and reduce the service delay by % compared with other well-known proactive caching algorithms at MENs, i.e., SVD and NMF.
II System Model
II-A Network Architecture
The proposed network architecture is illustrated in Fig. 1. Mobile users are connected to MENs within their service area. All MENs are also connected to the CS through the backhaul links by using either wireless (i.e., cellular networks) or wired connections. Each MEN is equipped with a finite storage capacity to cache popular contents locally according to the decision of proactive cooperative caching framework. When a user sends a content request to an MEN, the content will be sent to the user instantly if the content is stored locally at the MEN. Otherwise, the MEN downloads the content from the CS or from one of its directly connected MENs, and sends it to the requesting user. We denote as the set of MENs, as the set of mobile users in the MEC network, and as the total number of mobile users in the network. In this way, represents the set of mobile users at MEN-’s coverage area. Each MEN- has the storage capacity denoted by . Note that mobile users can move and download their requested contents from any MEN in the network. Thus, the set of users captures all users who visit and download contents at MEN-. In addition, the set also captures the case when a user, e.g., user , downloads a content at MEN- via another MEN. Then, we denote as the set of contents.
II-B Proactive Cooperative Caching Mechanism
To cache popular contents, each MEN, e.g., MEN-, collects from mobile users in its serving area and sets up a dataset, i.e., , containing popularity factors of user over the content . For the first approach (i.e., using DL in the CS), the CS collects from the MENs cooperatively and then concatenates them into dataset vertically with popularity factor of the user (where ) over the content . In this way, MENs can share the model information to improve the prediction accuracy for the whole network. We use to predict the content demands and then generate dataset containing predicted popularity factors at the CS. This is then sent back to the MENs for content placement decision. Specifically, each MEN- obtains as the predicted popularity factor aggregation of content .
In the second approach with the DDL, each MEN- can predict the demands locally using . Then, the CS only needs to collect the trained models from MENs and update the global model cooperatively (explained in Section IV) and create which contains predicted popularity factors . To perform the content placement decision, each MEN- aggregates the predicted popularity factors of content as . Based on of the first and second approaches, we can obtain specific largest numbers of at MEN- in descending order. In particular, we select the contents with top- of which are likely to be cached at MEN-.
III DL-Based Proactive Cooperative Caching
In this approach, the CS needs to learn through the DNN by partitioning into smaller subsets (referred to as mini-batch size ). For DNN, each layer produces an output matrix containing global weight matrix to control how strong the influence of a layer’s each neuron to the other, and global bias vector to fit the dataset as follows:
[TABLE]
where is the input matrix (i.e., training dataset) of layer in the CS (with ) and is the rectified linear unit (ReLU) activation function to transform the input of the layer into a nonlinear form for learning more complex feature interaction patterns. In this case, returns if it receives any positive input, and zero otherwise. As the DNN contains several layers including the hidden layers, we can express . To prevent the overfitting problem and the generalization error [7], we augment a dropout layer just after the last hidden layer. This additional layer randomly drops the input by a fraction rate , and thus the rest of the input elements are scaled by . Then, the output layer will generate which is used to find the prediction loss for each mini-batch iteration . In particular, if we consider , where and , as the global model for all DNN layers, the prediction loss for one in the CS is expressed by the mean-squared error (MSE) , where . Here, and are the elements of matrices and , respectively. Then, we can compute the global gradient of using DL by .
After is obtained, the CS updates the global model with the aim to minimize the prediction loss function, i.e., . As such, we adopt the adaptive learning rate optimizer Adam to provide fast convergence and profound robustness to the model [8]. Consider and to be the exponential moving average (to estimate the mean) of the and the squared to predict the variance at , respectively. Then, the update rules of and can be expressed by:
[TABLE]
where and represent the exponential decay steps of and at , respectively. To update the global model, we also consider the learning step to decide how fast the global model will be updated at each . In particular, the update rule for follows this expression:
[TABLE]
Then, the global model for the next is updated by:
[TABLE]
where indicates a constant to avoid zero division when the is almost zero. For this approach, is used to learn the dataset for the next in the CS. The same process is repeated until each sample of has been observed referred to as epoch time . Then, the process terminates when the prediction loss converges or the certain number of epoch time is reached. In this case, we can obtain the final global model to predict of training dataset and new dataset using Eq. (1). The algorithm for proactive cooperative caching using DL is shown in Fig. 2 in which the process inside the dotted block (A) is executed at the CS.
IV DDL-Based Proactive Cooperative Caching
In this approach, each MEN distributedly implements the DL technique to learn from its dataset locally. The is then divided into smaller subsets with mini-batch size . For DNN, each MEN- generates the output matrix
[TABLE]
where is the input matrix of layer at MEN- (with ) and is the ReLU activation function at MEN-. We also drop the input in the dropout layer by a fraction rate . In the output layer, we can generate and find the prediction loss for each by , where . Here, and are the element of matrices and at MEN-, respectively. Next, we can compute the local gradient by . When computation is completed for each , each MEN will send this local gradient to the CS for global gradient aggregation . Specifically, the CS acts as a parameter server to aggregate the gradients of the models from all connected MENs and then update the global model by using Eq. (4) before sending back to the MENs. Doing so allows all MENs to collaborate by sharing local model information to each other to further improve the prediction accuracy through the CS. To guarantee that the gradient staleness is 0, the gradient averaging process is enabled right after local gradients, i.e., are received by the CS synchronously. Here, the gradient staleness happens when local gradients are computed using an obsolete/non-latest global model. Then, the global gradient of the DDL is .
To minimize the prediction loss function, i.e., , at each MEN-, we also adopt the Adam optimizer and update the global model as expressed in Eqs. (2)-(4). This is then sent back to the MENs for the next local learning process. The aforementioned process continues until the prediction loss converges or is reached. We then can predict of training dataset and new dataset at each MEN using through Eq. (5). The algorithm for proactive cooperative caching using DDL is summarized in Fig. 2. The process inside the dotted block (B) is implemented at the CS.
V Performance Evaluation
V-A Experimental Setup
We evaluate the performance of the content prediction on the MEC network with one CS and six MENs using TensorFlow CPU library in Linux platform of an Intel Xeon Gold 6150 2.7GHz 18 cores with 180GB RAM. We compare our proposed frameworks with two well-known machine learning methods including SVD [3] and NMF [9]. We use Movielens 1M-dataset with more than 1M ratings from 6040 users with 3952 movies. Then, we split the dataset into 80% training dataset and 20% testing dataset. From the training dataset, we divide the number of samples equally with respect to the number of MENs when DDL is implemented. Each MEN runs the testing dataset for the popularity factor prediction to compute the performance metrics. For DNN, we use two hidden layers with neurons per layer and one dropout layer with a fraction rate . We also apply the adaptive learning rate optimizer Adam with initial step size and epoch time during the learning process. Furthermore, for the content placement algorithm, we consider the same size for each content at 200MB. The bandwidth between an MEN and the CS is set at 60Mbps.
V-B Simulation Results
Fig. 3 shows the comparison between conventional baseline and proposed methods. We first evaluate the prediction accuracy, i.e., RMSE, as the learning epoch increases in Fig. 3(a). In particular, the RMSE obtained by the DDL is 33.7% lower than those of SVD and NMF. The reason is that DDL can deeply learn the meaningful features from the subset of the whole dataset independently at different MENs, and thus the sensitivity to learn new testing dataset becomes better when the local models obtained by the MENs are aggregated together. In other words, the average prediction of all MENs will produce less variance and lower error regarding the number of MENs [10]. In contrast, SVD and NMF only generate linear assumptions of two factors based on the low-rank approximation [9] without deeply learning the representations, and thus the RMSE cannot be minimized properly. For the DL, although the RMSE is higher than that of the DDL, the DL can improve the RMSE by as much as 25.1% compared with those of the SVD and NMF.
We then observe the average delay to download contents from the CS and cache hit rate when the storage capacity increases in Figs. 3(b) and 3(c), respectively. Align with the trend of the RMSE, the DL and DDL approaches can reduce average delay up to 21.5% and 36.1% and increase the cache hit rate by 10% and 14.4%, respectively, compared with those of SVD and NMF. The reason is that the proposed approaches can optimize the use of hyperparameter settings to improve the accuracy of content demand prediction. Examples of the hyperparameters settings include the number of hidden layers and neurons, the regularization methods, the activation functions, and the size of mini-batch. We also observe in Fig. 4 that the DDL can learn the dataset faster than the DL as the number of the MENs increases. This interesting trend can provide useful information for MEC service providers to tradeoff between the learning time of the users’ demands and the implementation costs in the MEC network.
VI Summary
In this letter, we have presented two novel proactive cooperative caching approaches leveraging deep learning (DL) and distributed deep learning (DDL) algorithms for the MEC network. In the first approach, the CS collects the information from all MENs and uses the DL technique to predict the users’ demands for the network. Then, to further minimize the communication overhead and address the privacy concern, we proposed the DDL-based scheme in which the DL can be executed at the edge. This scheme allows MENs to only exchange the gradient information, not the complete information of the users, and perform the DL to predict users demand without revealing the private information of the mobile users.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Y. Mao, C. You, J. Zhang, K. Huang, and K. B. Letaief, “A survey on mobile edge computing: the communication perspective", IEEE Communications Surveys & Tutorials , vol. 19, no. 4, Fourth Quarter 2017, pp. 2322-2358.
- 2[2] D. T. Hoang, D. Niyato, D. N. Nguyen, E. Dutkiewicz, P. Wang, and Z. Han, “A dynamic edge caching framework for mobile 5G networks", IEEE Wireless Communications , 2018.
- 3[3] E. Zeydan, E. Bastug, M. Bennis, M. A. Kader, I. A. Karatepe, A. S. Er, and M. Debbah, “Big data caching for networking: moving from cloud to edge", IEEE Communications Magazine , vol. 54, no. 9, Sept. 2016, pp. 36-42.
- 4[4] J. Ahn, S. H. Jeon, and H. Park, “A novel proactive caching strategy with community-aware learning in Co MP-enabled small-cell networks", IEEE Communications Letters , vol. 22, no. 9, Sept. 2018, pp. 1918-1921.
- 5[5] S. Zhang, L. Yao, A. Sun, and Y. Tay, “Deep learning based recommender system: a survey and new perspectives", ACM Computing Surveys , vol. 1, no. 1, Jul. 2018, pp. 1-35.
- 6[6] J. Dean et al., “Large scale distributed deep networks", ACM NIPS 2012 , Dec. 2012, pp. 1223-1231.
- 7[7] N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, “Dropout: A simple way to prevent neural networks from overfitting", The Journal of Machine Learning Research , vol. 15, no. 1, Jan. 2014, pp. 1532-4435.
- 8[8] D. Kingma and J. Ba, “Adam: a method for stochastic optimization", ICLR 2015 , May 2015.
