Graph-based Method for App Usage Prediction with Attributed Heterogeneous Network Embedding
Abstract
:1. Introduction
- First, we introduce network embedding to App prediction problem. By converting application, location, and temporal information into different types of nodes in a heterogeneous network and mapping related attribute information into the same potential space, we can capture the relationship between Apps and time or location or the previous App.
- Second, we propose a novel App usage prediction framework named AHNEAP based on representation learning on the attributed heterogeneous network. The framework contains three major components: data pre-processing, representation learning, and link prediction. The data pre-processing generates an attributed heterogeneous network from historical App usage records. Then, representation learning produces universal embedding features for elements related to the App usage e.g., App name and timestamp. Finally, the link prediction process completes the fusion of embedding of the time, location, and the previous application obtained from the previous step firstly, then constructs a neural network to decide the importance of the three types to predict the most likely used App within a certain period of time.
- Finally, we conduct extensive experiment evaluations with the LiveLab App usage dataset, and demonstrate and analyze the prediction performance about the top-k candidate applications. Experiments show that AHNEAP outperforms the baseline methods: Most Frequently Used (MFU), Most Recently Used (MRU), and traditional Bayes.
2. Related Work
2.1. App Usage Prediction
2.2. Network Embedding
3. Graph-Based App Usage Prediction
3.1. Data Pre-Processing
3.2. Representation Learning
- , in “usedTime” sub-graph
- , in “usedLocation” sub-graph
- , in “precede” sub-graph
3.3. Link Prediction
4. Experimental Evaluation
4.1. Evaluation Setup
4.1.1. Dataset
4.1.2. Performance Metrics
4.2. Comparison Methods
- Most Frequently Used (MFU): The MFU method counts the users’ history of mobile App usage and selects the most frequently used ones.
- Most Recently Used (MRU): The MRU method counts the users’ history of mobile App usage and selects the most recently used ones.
- Bayes Network Model [6]: In the traditional Bayes model, the input feature is a tuple or : the location when using Apps, : the hour of day when using Apps, : the interval of day when using Apps, : the day of day when using Apps, : the latest used App, : a flag whether the battery is being charged when using Apps as user profile extracted from the historical records. This model is improved based on the traditional Bayes model with LivaLab dataset.
- Graph Embedding (GE): We’ll predict the next application through only one of the time, location, and the previous application, purely using the GATNE-I model. In this method, we calculate the similarity of three types of relationships according to Adjusted Cosine Similarity separately and calculate the accuracy. Then, we choose the maximum as the final rate of each application.
4.3. Performance Analysis
5. Discussion
Author Contributions
Funding
Conflicts of Interest
References
- Cao, H.; Lin, M. Mining smartphone data for App usage prediction and recommendations: A survey. Pervasive Mobile Comput. 2017, 37, 1–22. [Google Scholar] [CrossRef]
- Kostakos, V.; Ferreira, D.; Goncalves, J.; Hosio, S. Modelling smartphone usage: A markov state transition model. In Proceedings of the 2016 ACM International Joint Conference on Pervasive and Ubiquitous Computing, Heidelberg, Germany, 12–16 September 2016; ACM: New York, NY, USA, 2016; pp. 486–497. [Google Scholar]
- Liao, Z.X.; Lei, P.R.; Shen, T.J.; Li, S.C.; Peng, W.C. Mining Temporal Profiles of Mobile Applications for Usage Prediction. In Proceedings of the 2012 IEEE 12th International Conference on Data Mining Workshops (ICDMW), Brussels, Belgium, 10 December 2012; IEEE: Piscataway, NJ, USA, 2012. [Google Scholar]
- Yan, T.; Chu, D.; Ganesan, D.; Kansal, A.; Liu, J. Fast App Launching for Mobile Devices Using Predictive User Context. In Proceedings of the 10th International Conference on Mobile Systems, Applications and Services (MobiSys 2012), Low Wood Bay, UK, 25–29 June 2012. [Google Scholar]
- Tan, Y.; Yu, K.; Wu, X.; Pan, D.; Liu, Y. Predicting app usage based on link prediction in user-app bipartite network. In International Conference on Smart Computing and Communication; Springer: Cham, Switzerland, 2017; pp. 191–205. [Google Scholar]
- Huang, K.; Zhang, C.; Ma, X.; Chen, G. Predicting mobile application usage using contextual information. In Proceedings of the 2012 ACM Conference on Ubiquitous Computing, Pittsburgh, PA, USA, 5–8 September 2012; pp. 1059–1065. [Google Scholar]
- Chen, X.; Wang, Y.; He, J.; Pan, S.; Li, Y.; Zhang, P. CAP: Context-aware App Usage Prediction with Heterogeneous Graph Embedding. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol. 2019, 3, 1–25. [Google Scholar] [CrossRef]
- Tan, C.; Liu, Q.; Chen, E.; Xiong, H. Prediction for mobile application usage patterns. In Proceedings of the Nokia MDC workshop, Newcastle, UK, 18 June 2012. [Google Scholar]
- Natarajan, N.; Shin, D.; Dhillon, I.S. Which app will you use next?: Collaborative filtering with interactional context. In Proceedings of the RecSys, Hong Kong, China, 12–16 October 2013; pp. 201–208. [Google Scholar]
- Zou, X.; Zhang, W.; Li, S.; Pan, G. Prophet: What app you wish to use next. In Proceedings of the 2013 UbiComp’13 Adjunc, Zurich, Switzerland, 8–12 September 2013; pp. 167–170. [Google Scholar]
- Baeza-Yates, R.; Jiang, D.; Silvestri, F.; Harrison, B. Predicting the next app that you are going to use. In Proceedings of the Eighth ACM International Conference on Web Search and Data Mining, Shanghai, China, 2–6 February 2015; ACM: New York, NY, USA, 2015; pp. 285–294. [Google Scholar]
- Shin, C.; Hong, J.-H.; Dey, A.K. Understanding and Prediction of Mobile Application Usage for Smart Phones. In Proceedings of the ACM International Conference on Ubiquitous Computing (Ubicomp), Pittsburgh, PA, USA, 5–8 September 2012; pp. 173–182. [Google Scholar]
- Parate, A.; Böhmer, M.; Chu, D.; Ganesan, D.; Marlin, B.M. Practical prediction and prefetch for faster access to applications on mobile phones. In Proceedings of the ACM International Joint Conference on Pervasive and Ubiquitous Computing, Zurich, Switzerland, 8–12 September 2013; ACM: New York, NY, USA, 2013; pp. 275–284. [Google Scholar]
- Rahnamoun, R.; Rawassizadeh, R.; Maskooki, A. Learning Mobile App Usage Routine through Learning Automata. arXiv 2016, arXiv:1608.03507. [Google Scholar]
- Xu, S.; Li, W.; Zhang, X.; Gao, S.; Zhan, Y.; Zhao, Y.; Zhu, W.; Sun, T. Predicting Smartphone App Usage with Recurrent Neural Networks. In International Conference on Wireless Algorithms, Systems, and Applications; Springer: Cham, Switzerland, 2018; pp. 532–544. [Google Scholar]
- Xu, Y.; Zhu, Y.; Shen, Y.; Yu, J. Leveraging app usage contexts for app recommendation: A neural approach. World Wide Web 2019, 22, 2721–2745. [Google Scholar] [CrossRef]
- Lu EH, C.; Lin, Y.W.; Ciou, J.B. Mining mobile application sequential patterns for usage prediction. In Proceedings of the 2014 IEEE International Conference on Granular Computing (GrC), Noboribetsu, Japan, 22–24 October 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 185–190. [Google Scholar]
- Hsu, K.W. Effectively mining time-constrained sequential patterns of smartphone application usage. In Proceedings of the 11th International Conference on Ubiquitous Information Management and Communication, Beppu, Japan, 5–7 January 2017; ACM: New York, NY, USA, 2017; pp. 1–8. [Google Scholar]
- Cui, P.; Wang, X.; Pei, J.; Zhu, W. A survey on network embedding. IEEE Trans. Knowl. Data Eng. 2018, 31, 833–852. [Google Scholar] [CrossRef] [Green Version]
- Perozzi, B.; Al-Rfou, R.; Skiena, S. Deepwalk: Online learning of social representations. In Proceedings of the KDD’14, New York, NY, USA, 24–27 August 2014; ACM: New York, NY, USA, 2014; pp. 701–710. [Google Scholar]
- Grover, A.; Leskovec, J. node2vec: Scalable feature learning for networks. In Proceedings of the KDD’16, San Francisco, CA, USA, 13–17 August 2016; ACM: New York, NY, USA, 2016; pp. 855–864. [Google Scholar]
- Qiu, J.; Dong, Y.; Ma, H.; Li, J.; Wang, K.; Tang, J. Network embedding as matrix factorization: Unifying deepwalk, line, pte, and node2vec. In Proceedings of the WSDM’18, Los Angeles, CA, USA, 5–9 February 2018; ACM: New York, NY, USA, 2016; pp. 459–467. [Google Scholar]
- Kipf, T.N.; Welling, M. Semi-Supervised Classification with Graph Convolutional Networks. In Proceedings of the ICLR’17, Toulon, France, 24–26 April 2017. [Google Scholar]
- Hamilton, W.; Ying, Z.; Leskovec, J. Inductive representation learning on large graphs. In Proceedings of the NIPS’17, Long Beach, CA, USA, 4–9 December 2017; pp. 1024–1034. [Google Scholar]
- Liben-Nowell, D.; Kleinberg, J. The link-prediction problem for social networks. J. Assoc. Inf. Sci. Technol. 2007, 58, 1019–1031. [Google Scholar] [CrossRef] [Green Version]
- Lin, Y.-Y.; Liu, T.-L.; Chen, H.-T. Semantic manifold learning for image retrieval. In Proceedings of the 13th annual ACM international conference on Multimedia, Hilton, Singapore, 6–11 November 2005; ACM: New York, NY, USA, 2005; pp. 249–258. [Google Scholar]
- Liao, L.; He, X.; Zhang, H.; Chua, T.S. Attributed social network embedding. IEEE Trans. Knowl. Data Eng. 2018, 30, 2257–2270. [Google Scholar] [CrossRef] [Green Version]
- Yang, J.; Leskovec, J. Overlapping community detection at scale: A nonnegative matrix factorization approach. In Proceedings of the 6th ACM International Conference on Web Search and Data Mining, Rome, Italy, 4–8 February 2013. [Google Scholar]
- Zhao, W.X.; Huang, J.; Wen, J.R. Learning Distributed Representations for Recommender Systems with a Network Embedding Approach. In Asia Information Retrieval Symposium; Springer: Cham, Switzerland, 2016. [Google Scholar]
- Li, Y.; Chen, W.; Yan, H. Learning Graph-based Embedding For Time-Aware Product Recommendation. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, Singapore, 6–10 November 2017. [Google Scholar]
- Zhang, C.; Yu, L.; Wang, Y.; Shah, C.; Zhang, X. Collaborative User Network Embedding for Social Recommender Systems. In Proceedings of the 2017 SIAM International Conference on Data Mining, Houston, TX, USA, 27–29 April 2017; pp. 381–389. [Google Scholar]
- Cen, Y.; Zou, X.; Zhang, J.; Yang, H.; Zhou, J.; Tang, J. Representation Learning for Attributed Multiplex Heterogeneous Network. arXiv 2019, arXiv:1905.01669. [Google Scholar]
- Lin, Z.; Feng, M.; Santos, C.N.d.; Yu, M.; Xiang, B.; Zhou, B.; Bengio, Y. A structured self-attentive sentence embedding. In Proceedings of the ICLR’17, Toulon, France, 24–26 April 2017. [Google Scholar]
- Shepard, C.; Rahmati, A.; Tossell, C.; Zhong, L.; Kortum, P. LiveLab: Measuring wireless networks and smartphone users in the field. ACM SIGMETRICS Perform. Eval. Rev. 2011, 38, 15–20. [Google Scholar] [CrossRef]
- Liu, X.; Ai, W.; Li, H.; Tang, J.; Huang, G.; Feng, F.; Mei, Q. Deriving User Preferences of Mobile Apps from Their Management Activities. ACM Trans. Inf. Syst. 2017, 35, 1–32. [Google Scholar] [CrossRef] [Green Version]
- Lu, H.C.; Yang, Y.W. Mining mobile application usage pattern for demand prediction by considering spatial and temporal relations. GeoInformatica 2018, 22, 693–721. [Google Scholar] [CrossRef]
- Liu, D.; Xiang, C.; Li, S.; Ren, J.; Liu, R.; Liang, L.; Guan, Y.; Chen, X. HiNextApp: A context-aware and adaptive framework for app prediction in mobile systems. Sustain. Comput. Inform. Syst. 2019, 22, 219–229. [Google Scholar] [CrossRef]
Interval | Hour | ||||
---|---|---|---|---|---|
User | Top- | ACCURACY | F1 Score | ACCURACY | F1 Score |
3 | 0.67 | 0.78 | 0.68 | 0.79 | |
A04 | 4 | 0.73 | 0.83 | 0.72 | 0.82 |
5 | 0.78 | 0.86 | 0.77 | 0.85 | |
3 | 0.64 | 0.75 | 0.62 | 0.74 | |
A07 | 4 | 0.72 | 0.82 | 0.70 | 0.81 |
5 | 0.76 | 0.85 | 0.75 | 0.84 | |
3 | 0.60 | 0.72 | 0.63 | 0.75 | |
A12 | 4 | 0.67 | 0.78 | 0.70 | 0.81 |
5 | 0.71 | 0.81 | 0.75 | 0.84 | |
3 | 0.73 | 0.84 | 0.66 | 0.77 | |
B02 | 4 | 0.80 | 0.87 | 0.73 | 0.82 |
5 | 0.85 | 0.91 | 0.79 | 0.87 | |
3 | 0.69 | 0.79 | 0.66 | 0.77 | |
B04 | 4 | 0.75 | 0.84 | 0.74 | 0.83 |
5 | 0.80 | 0.88 | 0.77 | 0.86 |
Hour | Interval | |||||
---|---|---|---|---|---|---|
Train | Test | Train | Test | |||
User | #nodes | #edges | #node Pairs | #nodes | #edges | #node Pairs |
A07 | 3822 | 28861 | 482 | 1278 | 24178 | 414 |
A04 | 4062 | 22570 | 370 | 1247 | 17813 | 307 |
A12 | 4048 | 28347 | 480 | 1423 | 24441 | 418 |
B04 | 3925 | 25540 | 432 | 1369 | 20716 | 359 |
B02 | 3478 | 24103 | 405 | 1251 | 19981 | 344 |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhou, Y.; Li, S.; Liu, Y. Graph-based Method for App Usage Prediction with Attributed Heterogeneous Network Embedding. Future Internet 2020, 12, 58. https://doi.org/10.3390/fi12030058
Zhou Y, Li S, Liu Y. Graph-based Method for App Usage Prediction with Attributed Heterogeneous Network Embedding. Future Internet. 2020; 12(3):58. https://doi.org/10.3390/fi12030058
Chicago/Turabian StyleZhou, Yifei, Shaoyong Li, and Yaping Liu. 2020. "Graph-based Method for App Usage Prediction with Attributed Heterogeneous Network Embedding" Future Internet 12, no. 3: 58. https://doi.org/10.3390/fi12030058
APA StyleZhou, Y., Li, S., & Liu, Y. (2020). Graph-based Method for App Usage Prediction with Attributed Heterogeneous Network Embedding. Future Internet, 12(3), 58. https://doi.org/10.3390/fi12030058