{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,15]],"date-time":"2026-06-15T12:49:28Z","timestamp":1781527768769,"version":"3.54.1"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2018,1,8]],"date-time":"2018-01-08T00:00:00Z","timestamp":1515369600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Interact. Mob. Wearable Ubiquitous Technol."],"published-print":{"date-parts":[[2018,1,8]]},"abstract":"<jats:p>Human activity prediction is an interesting problem with a wide variety of applications like intelligent virtual assistants, contextual marketing, etc. One formulation of this problem is jointly predicting human activities (viz. eating, commuting, etc.) with associated durations. Herein a deep learning system is proposed for this problem. Given a sequence of past activities and durations, the system estimates the probabilities for future activities and their durations. Two distinct Long-Short Term Memory (LSTM) networks are developed that cater to different assumptions about the data and achieve different modeling complexities and prediction accuracies. The networks are trained and tested with two real-world datasets, one being publicly available while the other collected from a field experiment. Modeling on the segment level public dataset mitigates the cold-start problem. Experiments indicate that compared to traditional approaches based on sequence mining or hidden Markov modeling, LSTM networks perform significantly better. The ability of LSTM networks to detect long term correlations in activity data is also demonstrated. The trained models are each less than 500KB in size and can be deployed to run in real-time on a mobile device without any dependencies on the cloud. This can help applications like mobile personal assistants by providing predictive context.<\/jats:p>","DOI":"10.1145\/3161201","type":"journal-article","created":{"date-parts":[[2018,1,9]],"date-time":"2018-01-09T13:26:11Z","timestamp":1515504371000},"page":"1-31","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":59,"title":["An LSTM Based System for Prediction of Human Activities with Durations"],"prefix":"10.1145","volume":"1","author":[{"given":"Kundan","family":"Krishna","sequence":"first","affiliation":[{"name":"Adobe Research, Adobe Tower, Prestige Tech Platina, Kadubeesanahalli, Bengaluru, Karnataka, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Deepali","family":"Jain","sequence":"additional","affiliation":[{"name":"Adobe Research, Adobe Tower, Prestige Tech Platina, Kadubeesanahalli, Bengaluru, Karnataka, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sanket V.","family":"Mehta","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, School of Computer Science, Pittsburgh, Pennsylvania, United States"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sunav","family":"Choudhary","sequence":"additional","affiliation":[{"name":"Adobe Research, Adobe Tower, Prestige Tech Platina, Kadubeesanahalli, Bengaluru, Karnataka, India"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2018,1,8]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"Mart\u00edn Abadi Ashish Agarwal Paul Barham Eugene Brevdo Zhifeng Chen Craig Citro Greg S. Corrado Andy Davis Jeffrey Dean Matthieu Devin Sanjay Ghemawat Ian Goodfellow Andrew Harp Geoffrey Irving Michael Isard Yangqing Jia Rafal Jozefowicz Lukasz Kaiser Manjunath Kudlur Josh Levenberg Dan Man\u00e9 Rajat Monga Sherry Moore Derek Murray Chris Olah Mike Schuster Jonathon Shlens Benoit Steiner Ilya Sutskever Kunal Talwar Paul Tucker Vincent Vanhoucke Vijay Vasudevan Fernanda Vi\u00e9gas Oriol Vinyals Pete Warden Martin Wattenberg Martin Wicke Yuan Yu and Xiaoqiang Zheng. 2015. TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems. (2015). https:\/\/www.tensorflow.org\/ Software available from tensorflow.org.  Mart\u00edn Abadi Ashish Agarwal Paul Barham Eugene Brevdo Zhifeng Chen Craig Citro Greg S. Corrado Andy Davis Jeffrey Dean Matthieu Devin Sanjay Ghemawat Ian Goodfellow Andrew Harp Geoffrey Irving Michael Isard Yangqing Jia Rafal Jozefowicz Lukasz Kaiser Manjunath Kudlur Josh Levenberg Dan Man\u00e9 Rajat Monga Sherry Moore Derek Murray Chris Olah Mike Schuster Jonathon Shlens Benoit Steiner Ilya Sutskever Kunal Talwar Paul Tucker Vincent Vanhoucke Vijay Vasudevan Fernanda Vi\u00e9gas Oriol Vinyals Pete Warden Martin Wattenberg Martin Wicke Yuan Yu and Xiaoqiang Zheng. 2015. TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems. (2015). https:\/\/www.tensorflow.org\/ Software available from tensorflow.org."},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1055709.1055714"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2858036.2858557"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/2632048.2636068"},{"key":"e_1_2_2_5_1","unstructured":"Samy Bengio Oriol Vinyals Navdeep Jaitly and Noam Shazeer. 2015. Scheduled sampling for sequence prediction with recurrent neural networks. In Advances in Neural Information Processing Systems. 1171--1179.  Samy Bengio Oriol Vinyals Navdeep Jaitly and Noam Shazeer. 2015. Scheduled sampling for sequence prediction with recurrent neural networks. In Advances in Neural Information Processing Systems. 1171--1179."},{"key":"e_1_2_2_6_1","volume-title":"Hyperopt: a Python library for model selection and hyperparameter optimization. Computational Science 8 Discovery 8, 1","author":"Bergstra James","year":"2015","unstructured":"James Bergstra , Brent Komer , Chris Eliasmith , Dan Yamins , and David D Cox . 2015. Hyperopt: a Python library for model selection and hyperparameter optimization. Computational Science 8 Discovery 8, 1 ( 2015 ), 014008. http:\/\/stacks.iop.org\/1749-4699\/8\/i=1\/a=014008 James Bergstra, Brent Komer, Chris Eliasmith, Dan Yamins, and David D Cox. 2015. Hyperopt: a Python library for model selection and hyperparameter optimization. Computational Science 8 Discovery 8, 1 (2015), 014008. http:\/\/stacks.iop.org\/1749-4699\/8\/i=1\/a=014008"},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/1719970.1720011"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/2802083.2808398"},{"key":"e_1_2_2_9_1","volume-title":"Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555","author":"Chung Junyoung","year":"2014","unstructured":"Junyoung Chung , Caglar Gulcehre , KyungHyun Cho , and Yoshua Bengio . 2014. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555 ( 2014 ). Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. 2014. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555 (2014)."},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2968219.2968548"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/990301.990304"},{"key":"e_1_2_2_12_1","volume-title":"Proc. 8th Aust. Conf. on the Neural Networks","volume":"185","author":"Dunne Rob A","year":"1997","unstructured":"Rob A Dunne and Norm A Campbell . 1997 . On the pairing of the softmax activation and cross-entropy penalty functions and the derivation of the softmax activation function . In Proc. 8th Aust. Conf. on the Neural Networks , Melbourne, 181 , Vol. 185 . Rob A Dunne and Norm A Campbell. 1997. On the pairing of the softmax activation and cross-entropy penalty functions and the derivation of the softmax activation function. In Proc. 8th Aust. Conf. on the Neural Networks, Melbourne, 181, Vol. 185."},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00265-009-0739-0"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00779-005-0046-3"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01561001"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/PROC.1973.9030"},{"key":"e_1_2_2_17_1","volume-title":"Greedy function approximation: a gradient boosting machine. Annals of statistics","author":"Friedman Jerome H","year":"2001","unstructured":"Jerome H Friedman . 2001. Greedy function approximation: a gradient boosting machine. Annals of statistics ( 2001 ), 1189--1232. Jerome H Friedman. 2001. Greedy function approximation: a gradient boosting machine. Annals of statistics (2001), 1189--1232."},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10618-014-0343-4"},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/72.963769"},{"key":"e_1_2_2_20_1","volume-title":"Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850","author":"Graves Alex","year":"2013","unstructured":"Alex Graves . 2013. Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850 ( 2013 ). Alex Graves. 2013. Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850 (2013)."},{"key":"e_1_2_2_21_1","unstructured":"Geoffrey Hinton NiRsh Srivastava and Kevin Swersky. 2012. Lecture 6a Overview of mini--batch gradient descent. (2012).  Geoffrey Hinton NiRsh Srivastava and Kevin Swersky. 2012. Lecture 6a Overview of mini--batch gradient descent. (2012)."},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1162\/neco.1997.9.8.1735"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1080\/00401706.1970.10488634"},{"key":"e_1_2_2_24_1","unstructured":"Andrej Karpathy. 2015. The Unreasonable Effectiveness of Recurrent Neural Networks. http:\/\/karpathy.github.io\/2015\/05\/21\/rnn-effectiveness\/. (2015).  Andrej Karpathy. 2015. The Unreasonable Effectiveness of Recurrent Neural Networks. http:\/\/karpathy.github.io\/2015\/05\/21\/rnn-effectiveness\/. (2015)."},{"key":"e_1_2_2_25_1","volume-title":"The experience sampling method. New Directions for Methodology of Social 8 Behavioral Science","author":"Larson Reed","year":"1983","unstructured":"Reed Larson and Mihaly Csikszentmihalyi . 1983. The experience sampling method. New Directions for Methodology of Social 8 Behavioral Science ( 1983 ). Reed Larson and Mihaly Csikszentmihalyi. 1983. The experience sampling method. New Directions for Methodology of Social 8 Behavioral Science (1983)."},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2971648.2971680"},{"key":"e_1_2_2_27_1","volume-title":"Classification and regression by randomForest. R news 2, 3","author":"Liaw Andy","year":"2002","unstructured":"Andy Liaw and Matthew Wiener . 2002. Classification and regression by randomForest. R news 2, 3 ( 2002 ), 18--22. Andy Liaw and Matthew Wiener. 2002. Classification and regression by randomForest. R news 2, 3 (2002), 18--22."},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2013.09.005"},{"key":"e_1_2_2_29_1","volume-title":"Intl. Conference on HCI.","author":"Liu Andrew","year":"2001","unstructured":"Andrew Liu and Dario Salvucci . 2001 . Modeling and prediction of human driver behavior . In Intl. Conference on HCI. Andrew Liu and Dario Salvucci. 2001. Modeling and prediction of human driver behavior. In Intl. Conference on HCI."},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2488388.2488457"},{"key":"e_1_2_2_31_1","volume-title":"Rosenblum","author":"Liu Ye","year":"2016","unstructured":"Ye Liu , Liqiang Nie , Lei Han , Luming Zhang , and David S . Rosenblum . 2016 . Action2Activity: Recognizing Complex Activities from Sensor Data. CoRR abs\/1611.01872 (2016). http:\/\/arxiv.org\/abs\/1611.01872 Ye Liu, Liqiang Nie, Lei Han, Luming Zhang, and David S. Rosenblum. 2016. Action2Activity: Recognizing Complex Activities from Sensor Data. CoRR abs\/1611.01872 (2016). http:\/\/arxiv.org\/abs\/1611.01872"},{"key":"e_1_2_2_32_1","volume-title":"Hidden Markov and other models for discrete-valued time series","author":"MacDonald Iain L","unstructured":"Iain L MacDonald and Walter Zucchini . 1997. Hidden Markov and other models for discrete-valued time series . Vol. 110 . CRC Press . 115--120 pages. Iain L MacDonald and Walter Zucchini. 1997. Hidden Markov and other models for discrete-valued time series. Vol. 110. CRC Press. 115--120 pages."},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.pmcj.2013.07.016"},{"key":"e_1_2_2_34_1","unstructured":"Prem Melville Raymond J Mooney and Ramadass Nagarajan. 2002. Content-boosted collaborative filtering for improved recommendations. In Aaai\/iaai. 187--192.  Prem Melville Raymond J Mooney and Ramadass Nagarajan. 2002. Content-boosted collaborative filtering for improved recommendations. In Aaai\/iaai. 187--192."},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.5555\/3104322.3104425"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-2836(70)90057-4"},{"key":"e_1_2_2_37_1","volume-title":"Bureau of Labor Statistics","author":"United States Department of Labor.","year":"2015","unstructured":"United States Department of Labor. Bureau of Labor Statistics . 2015 . American Time Use Survey (ATUS), 2003--2015, Multi-Year Data . (2015). https:\/\/www.bls.gov\/tus\/datafiles_0315.htm United States Department of Labor. Bureau of Labor Statistics. 2015. American Time Use Survey (ATUS), 2003--2015, Multi-Year Data. (2015). https:\/\/www.bls.gov\/tus\/datafiles_0315.htm"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.5555\/1953048.2078195"},{"key":"e_1_2_2_39_1","doi-asserted-by":"publisher","DOI":"10.1162\/089976699300016890"},{"key":"e_1_2_2_40_1","volume-title":"Context aware computing for the internet of things: A survey","author":"Perera Charith","year":"2014","unstructured":"Charith Perera , Arkady Zaslavsky , Peter Christen , and Dimitrios Georgakopoulos . 2014. Context aware computing for the internet of things: A survey . IEEE Communications Surveys 8 Tutorials 16, 1 ( 2014 ), 414--454. Charith Perera, Arkady Zaslavsky, Peter Christen, and Dimitrios Georgakopoulos. 2014. Context aware computing for the internet of things: A survey. IEEE Communications Surveys 8 Tutorials 16, 1 (2014), 414--454."},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/2971648.2971691"},{"key":"e_1_2_2_42_1","volume-title":"A survey of decision tree classifier methodology","author":"Rasoul Safavian S","year":"1991","unstructured":"S Rasoul Safavian and David Landgrebe . 1991. A survey of decision tree classifier methodology . IEEE transactions on systems, man, and cybernetics 21, 3 ( 1991 ), 660--674. S Rasoul Safavian and David Landgrebe. 1991. A survey of decision tree classifier methodology. IEEE transactions on systems, man, and cybernetics 21, 3 (1991), 660--674."},{"key":"e_1_2_2_43_1","volume-title":"Long short-term memory based recurrent neural network architectures for large vocabulary speech recognition. arXiv preprint arXiv:1402.1128","author":"Sak Ha\u015fim","year":"2014","unstructured":"Ha\u015fim Sak , Andrew Senior , and Fran\u00e7oise Beaufays . 2014. Long short-term memory based recurrent neural network architectures for large vocabulary speech recognition. arXiv preprint arXiv:1402.1128 ( 2014 ). Ha\u015fim Sak, Andrew Senior, and Fran\u00e7oise Beaufays. 2014. Long short-term memory based recurrent neural network architectures for large vocabulary speech recognition. arXiv preprint arXiv:1402.1128 (2014)."},{"key":"e_1_2_2_44_1","volume-title":"Linear regression analysis","author":"Seber George AF","unstructured":"George AF Seber and Alan J Lee . 2012. Linear regression analysis . Vol. 936 . John Wiley 8 Sons. George AF Seber and Alan J Lee. 2012. Linear regression analysis. Vol. 936. John Wiley 8 Sons."},{"key":"e_1_2_2_45_1","doi-asserted-by":"publisher","DOI":"10.1109\/MPRV.2010.23"},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/ITSC.2006.1706730"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.5555\/2627435.2670313"},{"key":"e_1_2_2_48_1","volume-title":"Divide the gradient by a running average of its recent magnitude. COURSERA: Neural networks for machine learning 4, 2","author":"Tieleman Tijmen","year":"2012","unstructured":"Tijmen Tieleman and Geoffrey Hinton . 2012. Lecture 6.5-rmsprop : Divide the gradient by a running average of its recent magnitude. COURSERA: Neural networks for machine learning 4, 2 ( 2012 ). Tijmen Tieleman and Geoffrey Hinton. 2012. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural networks for machine learning 4, 2 (2012)."},{"key":"e_1_2_2_49_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4615-5703-6_3"},{"key":"e_1_2_2_50_1","doi-asserted-by":"publisher","DOI":"10.5555\/2832747.2832806"},{"key":"e_1_2_2_51_1","first-page":"11","volume-title":"Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence -","volume":"2550","author":"Zhao Zhongtang","year":"2011","unstructured":"Zhongtang Zhao , Yiqiang Chen , Junfa Liu , Zhiqi Shen , and Mingjie Liu . 2011 . Cross-people Mobile-phone Based Activity Recognition . In Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence - Volume Volume Three (IJCAI\u201811). AAAI Press, 2545-- 2550 . https:\/\/doi.org\/10.5591\/978-1-57735-516-8\/IJCAI 11 - 423 10.5591\/978-1-57735-516-8 Zhongtang Zhao, Yiqiang Chen, Junfa Liu, Zhiqi Shen, and Mingjie Liu. 2011. Cross-people Mobile-phone Based Activity Recognition. In Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence - Volume Volume Three (IJCAI\u201811). AAAI Press, 2545--2550. https:\/\/doi.org\/10.5591\/978-1-57735-516-8\/IJCAI11-423"},{"key":"e_1_2_2_52_1","doi-asserted-by":"crossref","first-page":"236","DOI":"10.1609\/aaai.v24i1.7577","article-title":"Collaborative Filtering Meets Mobile Recommendation: A User-Centered Approach","volume":"10","author":"Zheng Vincent Wenchen","year":"2010","unstructured":"Vincent Wenchen Zheng , Bin Cao , Yu Zheng , Xing Xie , and Qiang Yang . 2010 . Collaborative Filtering Meets Mobile Recommendation: A User-Centered Approach .. In AAAI , Vol. 10. 236 -- 241 . Vincent Wenchen Zheng, Bin Cao, Yu Zheng, Xing Xie, and Qiang Yang. 2010. Collaborative Filtering Meets Mobile Recommendation: A User-Centered Approach.. In AAAI, Vol. 10. 236--241.","journal-title":"AAAI"}],"container-title":["Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3161201","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3161201","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T02:13:30Z","timestamp":1750212810000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3161201"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2018,1,8]]},"references-count":52,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2018,1,8]]}},"alternative-id":["10.1145\/3161201"],"URL":"https:\/\/doi.org\/10.1145\/3161201","relation":{},"ISSN":["2474-9567"],"issn-type":[{"value":"2474-9567","type":"electronic"}],"subject":[],"published":{"date-parts":[[2018,1,8]]},"assertion":[{"value":"2017-05-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-10-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2018-01-08","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}