<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Mobile Traffic Prediction Model Based on Area Spatio- Temporal Feature 1</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jian Ma</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chaoran Zhou</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xin Zhang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ming Yue</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Changchun University of Science and Technology</institution>
          ,
          <addr-line>Changchun</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <fpage>46</fpage>
      <lpage>52</lpage>
      <abstract>
        <p>Accurate prediction of mobile traffic can help operators plan network resources in advance and strengthen the management of network resources. Accuracy of mobile traffic prediction is affected by such spatio-temporal factors as the change of pedestrian flow and historical flow in surrounding areas. In this paper, we propose a Prediction Model for Spatio-Temporal Feature of mobile traffic (STFP) based on Residual Network (ResNet) and Long Short-Term Memory Network (LSTM). By analyzing the Pearson Correlation Coefficient (PCC) of mobile traffic data, we determined that proximity data and periodic data were selected as inputs to the STFP model. To avoid gradient explosion, the STFP model uses ResNet as spatial feature extraction network. We assign different weights to the outputs of the two branches for dynamic fusion according to the degree of influence of different input, and then use LSTM to extract the temporal features of the two inputs, and finally realize the prediction of mobile traffic. We select four deep learning models as baselines. The experimental results show that compared with the baseline models, the STFP model has better prediction accuracy and better indicators of RMSE, MAPE and R2.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;mobile traffic prediction</kwd>
        <kwd>spatio-temporal features</kwd>
        <kwd>residual network</kwd>
        <kwd>Long Short-Term Memory Network</kwd>
        <kwd>Pearson Correlation Coefficient</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>
        In the field of mobile communication, many scholars had carried out related research on the
prediction of mobile traffic, which proved that mobile traffic has time correlation, and adopted the time
series analysis method. Literature [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] used Autoregressive Integrated Moving Average model
(ARIMA) to predict mobile traffic, but ARIMA model requires time series data to be stable, which may
lead to model prediction accuracy decline. Other typical machine learning mobile traffic prediction
methods also has limitations, such as: Support Vector Machine (SVM) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], K-Nearest Neighbor
(KNN) [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], etc. Compared with time series analysis methods, these methods can learn data regularity.
However, the prediction accuracy will decrease when dealing with complex high-dimensional data.
      </p>
      <p>
        Deep learning methods that can process high-dimensional data and extract nonlinear data features
have a better ability to capture the characteristics of mobile data than typical machine learning
methods. However, the models proposed in literature [
        <xref ref-type="bibr" rid="ref8 ref9">8-10</xref>
        ] such as LSTM and Deep Belief Network
(DBN) only focus on the temporal feature of mobile traffic data, without considering the spatial
feature of the data. Literature [11] analyzed the mobile base station data and found that adding adjacent
mobile base station mobile traffic data for prediction can improve the prediction accuracy. Literature
[12] proposed a combined model that used Convolutional Neural Network (CNN) to extract spatial
features and LSTM to extract temporal features to predict mobile traffic data, which improved the
prediction accuracy. In literature [13], Generative Adversary Networks (GAN) and transfer learning
strategies were used to address data scarcity and improve prediction performance. Literature [14]
proposed a model based on Graph Convolutional Network (GCN) and Gated Linear Units (GLU) to
predict mobile traffic consumption at different time horizons by simulating the mobility of mobile
networks and crowds.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Prediction model</title>
    </sec>
    <sec id="sec-4">
      <title>3.1. Problem definition</title>
      <p>The prediction of mobile traffic is to predict the mobile traffic usage of this area at the next
moment through the historical mobile traffic usage of an area. In this paper, by dividing the prediction
area into M×N squares, each square represents the mobile traffic generated in this area at time t, and
then constructs the mobile traffic spatio-temporal matrix Xt of the entire prediction area at time t. The
problem is to predict the mobile traffic spatio-temporal matrix Xt+1 at the next moment through the
historical mobile traffic spatio-temporal matrix Xt.</p>
    </sec>
    <sec id="sec-5">
      <title>3.2. STFP model structure</title>
      <p>To capture the temporal and spatial correlation of mobile traffic and achieve accurate mobile
traffic prediction, we propose a mobile traffic prediction model STFP based on ResNet and LSTM. The
model structure is shown in Figure 1. We determine proximity sequences and periodic sequences
according to the characteristics of mobile traffic. The STFP model extracts the spatial characteristics of
mobile traffic of different sequences through two-dimensional convolution and residual blocks, and
then weights the two outputs and fuses them. The fusion matrix is input to the LSTM to extract
temporal features. Finally, a fully connected layer is used to fuse the spatial and temporal features to
obtain the result.</p>
    </sec>
    <sec id="sec-6">
      <title>3.3. Input sequence</title>
      <p>Through correlation analysis of the PCC of mobile traffic, the proximity sequence and the periodic
sequence are determined.</p>
      <p>(1) proximity sequence Xc: It is composed of the mobile traffic spatio-temporal matrix at the
previous time t adjacent to the predicted time t+1 of the predicted day T.</p>
      <p>X c = {X tT , X tT−1...XtT−c}
(2) periodic sequence Xp: It is composed of the mobile traffic spatio-temporal matrix at time t+1 of
historical day T-1.</p>
      <p>X p = {XtT+−11, XtT −1...XtT−−q1}</p>
    </sec>
    <sec id="sec-7">
      <title>3.4. Convolution module</title>
      <p>The predicted area in the mobile traffic space-time matrix has spatial correlation with adjacent
areas. Using two-dimensional convolutional layers to process images can extract image features without
losing spatial information and can extract high-dimensional complex features from simple features.
The two-dimensional convolution is shown in Figure 2. In the STFP model, the spatio-temporal
matrix of mobile traffic at time t in Xc and Xp is processed by two-dimensional convolution. The matrix is
regarded as a single-channel image data and sent to the convolutional layer to extract the spatial
features.</p>
    </sec>
    <sec id="sec-8">
      <title>3.5. Residual module</title>
      <p>Adding residual units to convolutional layers can effectively solve the gradient explosion problem.
The residual unit directly adds the unit's input to the unit's output through residual connection before
activating. Batch normalization is added to the residual unit to alleviate the gradient vanishing of the
deep network and make the training of the deep network model more stable. To avoid network
degradation caused by stacking convolutional layers, residual units are stacked after the convolutional
layers, and the spatio-temporal matrices of mobile traffic of different sequences processed by
twodimensional convolution are input into the residual module.</p>
    </sec>
    <sec id="sec-9">
      <title>3.6. Weighted fusion module</title>
      <p>The outputs of the two branches are Xcout and Xpout respectively and have different weights. To
dynamically fuse the outputs of the two branches, two trainable weight matrices are used to learn weight
values from historical data, and the outputs are weighted and fused. Finally, the fusion output is
obtained through the activation function. The weighted fusion is defined as:</p>
      <p>X F = f (W C X cout + W P X pout )
(1)
among them, Wc and Wp are the trainable weight matrices of different branches, f is the activation
function, and XF is the output after weighted fusion.</p>
    </sec>
    <sec id="sec-10">
      <title>3.7. LSTM module</title>
      <p>To capture long-term temporal features of mobile traffic data, the STFP model uses LSTM to
process the data. LSTM processes data through three gating units. Flatten the spatio-temporal matrix
obtained after weighting fusion into a one-dimensional vector and input it into LSTM. The input gate
extracts the input on demand, retains important information, the forget gate selectively discards the
information of the previous time step, and obtains the output value through the output gate.</p>
    </sec>
    <sec id="sec-11">
      <title>4. Experiment</title>
    </sec>
    <sec id="sec-12">
      <title>4.1. Dataset</title>
    </sec>
    <sec id="sec-13">
      <title>4.1.1. Mobile traffic dataset source</title>
      <p>The experimental data in this paper comes from the open mobile traffic data set of Milan in the
"Telecom Italia Big Data Challenge"[15].</p>
    </sec>
    <sec id="sec-14">
      <title>4.1.2. Data visualization and analysis</title>
    </sec>
    <sec id="sec-15">
      <title>4.2. Evaluation metric</title>
    </sec>
    <sec id="sec-16">
      <title>4.3. Experimental setup</title>
      <p>We choose to use Root Mean Square Error (RMSE), Mean Absolute Error (MAE) and Coefficient
of Determination (R2) as model evaluation metrics to evaluate the performance of the model.</p>
      <p>The model training method is as follows: The optimization function is the Adam optimizer. The
learning rate is 0.001, the batch size is 64, and the number of iterations is 500. The loss function is
mean squared error (MSE). To eliminate the influence of dimension, the input data are min-max
normalized before training.</p>
    </sec>
    <sec id="sec-17">
      <title>4.4. Experimental results and analysis</title>
      <p>
        To verify the performance of the STFP model, LSTM [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], GRU [16], 3DCNN [17] and
CNNLSTM [12] are selected for comparison. The results are shown in Table 1.
      </p>
      <p>The experimental results in Table 1 shows that LSTM and GRU are models for predicting mobile
traffic based on time series, and the ability to extract spatial characteristics of mobile traffic is
insufficient. 3DCNN is a prediction model with the ability to extract spatiotemporal features. The prediction
effect is better than that of LSTM and GRU, but it is insufficient for long-term temporal feature
extraction. CNN-RNN is a combined prediction model, which extracts spatial features and long-term
temporal features through CNN and LSTM respectively, so the prediction error is low, but the
periodicity of the data is not considered. The STFP model considers the proximity and periodicity of
mobile traffic in the time dimension, and extracts the feature of the spatial dimension, and the prediction
performance is better.</p>
      <p>As shown in Fig.4, LSTM and GRU learn the changing laws of mobile traffic, but they are less
effective in predicting mobile traffic during peak periods. 3DCNN learned change law of mobile traffic
peak period, but the error between the predicted value and the actual value is large. The curve fitting
effect of CNN-RNN is stronger than that of LSTM and GRU, but the periodicity of mobile traffic is
not considered, so the prediction accuracy is not as good as that of STFP model. The STFP model
considers the proximity and periodicity of mobile traffic, so the prediction accuracy is better.</p>
    </sec>
    <sec id="sec-18">
      <title>5. Conclusion and future work</title>
      <p>Aiming at the spatio-temporal features of mobile traffic, we propose a mobile traffic prediction
model STFP based on ResNet and LSTM.</p>
      <p>To capture proximity and periodicity of mobile traffic data, the model determined the proximity
sequence and periodic sequence by analyzing the PCC of the data. Convolution module and residual
unit module are used to extract spatial features while avoiding gradient explosion. Learn two branch
weights from historical data and dynamically fuse the inputs of the two branches. The model extracts
long-term temporal features of mobile traffic data by using LSTM. Experiments show that the
prediction effect of the STFP model is better than the baseline models.</p>
      <p>However, since the STFP model does not introduce external factors (such as weather, holidays,
large-scale events, etc.), this will affect the accuracy of predicting mobile traffic. Based on the STFP
model, we will design an external factor module to introduce the feature information of external
features, to improve the robustness of the model and make the model have better predictive ability in
complex situations.</p>
    </sec>
    <sec id="sec-19">
      <title>6.Acknowledgment</title>
    </sec>
    <sec id="sec-20">
      <title>7. References</title>
      <p>This work is supported by Jilin Provincial Department of Science and Technology—Jilin
Provincial Natural Science Foundation (NO. 20200201182JC)
[10] Narejo S, Pasero E. An application of internet traffic prediction with deep neural network[M]//M
ultidisciplinary Approaches to Neural Computing. Springer, Cham, 2018: 139-149
[11] Zhou X, Zhao Z, Li R, et al. The predictability of cellular networks traffic[C]//2012 international
symposium on communications and information technologies (ISCIT). IEEE, 2012: 973-978
[12] Huang C W, Chiang C T, Li Q. A study of deep learning networks on mobile traffic
forecasting[C]//2017 IEEE 28th annual international symposium on personal, indoor, and mobile radio
communications (PIMRC). IEEE, 2017: 1-6
[13] Wu Q, He K, Chen X, et al. Deep transfer learning across cities for mobile traffic prediction[J]. I</p>
      <p>EEE/ACM Transactions on Networking, 2021
[14] Fang Y, Ergüt S, Patras P. SDGNet: A Handover-Aware Spatiotemporal Graph Neural Network
for Mobile Traffic Forecasting[J]. IEEE Communications Letters, 2022, 26(3): 582-586
[15] Barlacchi G, De Nadai M, Larcher R, et al. A multi-source dataset of urban life in the city of
Milan and the Province of Trentino[J]. Scientific data, 2015, 2(1): 1-15
[16] Fu R, Zhang Z, Li L. Using LSTM and GRU neural network methods for traffic flow
prediction[C]//2016 31st Youth Academic Annual Conference of Chinese Association of Automation
(YAC). IEEE, 2016: 324-328
[17] Ji S, Xu W, Yang M, et al. 3D convolutional neural networks for human action recognition[J].</p>
      <p>IEEE transactions on pattern analysis and machine intelligence, 2012, 35(1): 221-231</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Liu</surname>
            <given-names>X</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guo</surname>
            <given-names>Y</given-names>
          </string-name>
          , et al.
          <article-title>The demand and development of Internet of Things for 5G: A survey</article-title>
          [C]//2018 IEEE International Conference on
          <article-title>Consumer Electronics-Taiwan (ICCE-TW)</article-title>
          . IEEE,
          <year>2018</year>
          :
          <fpage>1</fpage>
          -
          <lpage>2</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Anand</surname>
            <given-names>R</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sindhwani</surname>
            <given-names>N</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Juneja</surname>
            <given-names>S. Cognitive</given-names>
          </string-name>
          <article-title>Internet of Things, Its Applications, and Its Challenges: A Survey[M]//Harnessing the Internet of Things (IoT) for a Hyper-Connected Smart World</article-title>
          . Apple Academic Press,
          <year>2022</year>
          :
          <fpage>91</fpage>
          -
          <lpage>113</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>ALRikabi H T H</surname>
          </string-name>
          ,
          <string-name>
            <surname>Hazim H T. Secure</surname>
          </string-name>
          <article-title>Chaos of 5G Wireless Communication System Based on IOT Applications[</article-title>
          J].
          <source>International Journal of Online &amp; Biomedical Engineering</source>
          ,
          <year>2022</year>
          ,
          <volume>18</volume>
          (
          <issue>12</issue>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Xu</surname>
            <given-names>Y</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gui</surname>
            <given-names>G</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gacanin</surname>
            <given-names>H</given-names>
          </string-name>
          , et al.
          <article-title>A survey on resource allocation for 5G heterogeneous networks: Current research, future trends, and challenges</article-title>
          [J].
          <source>IEEE Communications Surveys &amp; Tutorials</source>
          ,
          <year>2021</year>
          ,
          <volume>23</volume>
          (
          <issue>2</issue>
          ):
          <fpage>668</fpage>
          -
          <lpage>695</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Zhou</surname>
            <given-names>B</given-names>
          </string-name>
          ,
          <string-name>
            <surname>He</surname>
            <given-names>D</given-names>
          </string-name>
          , Sun Z.
          <source>Traffic predictability based on ARIMA/GARCH model[C]//2006 2nd Conference on Next Generation Internet Design and Engineering</source>
          ,
          <year>2006</year>
          . NGI'06. IEEE,
          <year>2006</year>
          : 8 pp.-
          <fpage>207</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Liu</surname>
            <given-names>X</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fang</surname>
            <given-names>X</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Qin</surname>
            <given-names>Z</given-names>
          </string-name>
          , et al.
          <article-title>A short-term forecasting algorithm for network traffic based on chaos theory and SVM[J]</article-title>
          .
          <source>Journal of network and systems management</source>
          ,
          <year>2011</year>
          ,
          <volume>19</volume>
          (
          <issue>4</issue>
          ):
          <fpage>427</fpage>
          -
          <lpage>447</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Chang</surname>
            <given-names>H</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            <given-names>Y</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yoon</surname>
            <given-names>B</given-names>
          </string-name>
          , et al.
          <article-title>Dynamic near-term traffic flow prediction: system-oriented approach based on past experiences[J]</article-title>
          .
          <source>IET intelligent transport systems</source>
          ,
          <year>2012</year>
          ,
          <volume>6</volume>
          (
          <issue>3</issue>
          ):
          <fpage>292</fpage>
          -
          <lpage>305</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Abbasi</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shahraki</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Taherkordi</surname>
            <given-names>A</given-names>
          </string-name>
          .
          <article-title>Deep learning for network traffic monitoring and analysis (NTMA): A survey[J]</article-title>
          .
          <source>Computer Communications</source>
          ,
          <year>2021</year>
          ,
          <volume>170</volume>
          :
          <fpage>19</fpage>
          -
          <lpage>41</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Alawe</surname>
            <given-names>I</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ksentini</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hadjadj-Aoul</surname>
            <given-names>Y</given-names>
          </string-name>
          , et al.
          <article-title>Improving traffic forecasting for 5G core network scalability: A machine learning approach</article-title>
          [J].
          <source>IEEE Network</source>
          ,
          <year>2018</year>
          ,
          <volume>32</volume>
          (
          <issue>6</issue>
          ):
          <fpage>42</fpage>
          -
          <lpage>49</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>