CHAR-HMM: An Improved Continuous Human Activity Recognition Algorithm Based on Hidden Markov Model

  • Chuangui Yang
  • Zhu Wang
  • Botao Wang
  • Shizhuo Deng
  • Guangxin Liu
  • Yuru Kang
  • Huichao Men
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 747)


With the rapid development of wearable sensor technology, Human Activity Recognition (HAR) based on sensor data has attracted more and more attentions. The Hidden Markov Model (HMM) with perfect performance in speech recognition has a good effect on HAR. However, almost all these techniques train multiple Hidden Markov Models for different classes of activity. For a given activity sequence with multiple activities, the activity corresponding to the HMM with the maximum generating probability is selected as the recognition result, which is not suitable for continuous HAR with multiple activities. For this problem, we propose an improved Hidden Markov activity recognition algorithm where discriminative model and generative model are utilized. The discriminative model SVM is used to produce the observation sequence of HMM, and the generative model HMM is used to generate the final result. Compared with the traditional Hidden Markov HAR model, our proposal has good performance in terms of precision, recall and F1 score.


Human Activity Recognition Hidden Markov Model Support Vector Machine Cyber-Physical system Accelerometer signal 



The corresponding author Botao Wang is supported by the NSFC (Grant No. 61173030).


  1. 1.
    Khan, A.M., Lee, Y.K., Lee, S.Y., et al.: A triaxial accelerometer-based physical-activity recognition via augmented-signal features and a hierarchical recognizer. IEEE Trans. Inf. Technol. Biomed. 14(5), 1166–1172 (2010)CrossRefGoogle Scholar
  2. 2.
    Alaqtash, M., Yu, H., Brower, R., et al.: Application of wearable sensors for human gait analysis using fuzzy computational algorithm. Eng. Appl. Artif. Intell. 24(6), 1018–1025 (2011)CrossRefGoogle Scholar
  3. 3.
    Cheung, V.H., Gray, L., Karunanithi, M.: Review of accelerometry for determining daily activity among elderly patients. Arch. Phys. Med. Rehabil. 92(6), 998–1014 (2011)CrossRefGoogle Scholar
  4. 4.
    Joshua, L., Varghese, K.: Accelerometer-based activity recognition in construction. J. Comput. Civil Eng. 25(5), 370–379 (2010)CrossRefGoogle Scholar
  5. 5.
    Lee, M.W., Khan, A.M., Kim, T.S.: A single tri-axial accelerometer-based real-time personal life log system capable of human activity recognition and exercise information generation. Pers. Ubiquit. Comput. 15(8), 887–898 (2011)CrossRefGoogle Scholar
  6. 6.
    Peng, J.X., Ferguson, S., Rafferty, K., et al.: An efficient feature selection method for mobile devices with application to activity recognition. Neurocomputing 74(17), 3543–3552 (2011)CrossRefGoogle Scholar
  7. 7.
    Beily, M.D.E., Badjowawo, M.D., Bekak, D.O., et al.: A sensor based on recognition activities using smartphone. In: 2016 International Seminar on Intelligent Technology and Its Applications (ISITIA), pp. 393–398. IEEE (2016)Google Scholar
  8. 8.
    Kurban, O.C., Yildirim, T.: Neural network based daily activity recognition without feature extraction. In: 2014 22nd Signal Processing and Communications Applications Conference (SIU), pp. 567–570. IEEE (2014)Google Scholar
  9. 9.
    Margarito, J., Helaoui, R., Bianchi, A.M., et al.: User-independent recognition of sports activities from a single wrist-worn accelerometer: a template-matching-based approach. IEEE Trans. Biomed. Eng. 63(4), 788–796 (2016)Google Scholar
  10. 10.
    Piyathilaka, L., Kodagoda, S.: Gaussian mixture based HMM for human daily activity recognition using 3D skeleton features. In: 2013 8th IEEE Conference on Industrial Electronics and Applications (ICIEA), pp. 567–572. IEEE (2013)Google Scholar
  11. 11.
    Nickel, C., Busch, C., Rangarajan, S., et al.: Using hidden markov models for accelerometer-based biometric gait recognition. In: 2011 IEEE 7th International Colloquium on Signal Processing and its Applications (CSPA), pp. 58–63. IEEE (2011)Google Scholar
  12. 12.
    Cheng, L., Guan, Y., Zhu, K., et al.: Recognition of human activities using machine learning methods with wearable sensors. In: 2017 IEEE 7th Annual Computing and Communication Workshop and Conference (CCWC), pp. 1–7. IEEE (2017)Google Scholar
  13. 13.
    Nickel, C., Brandt, H., Busch, C.: Benchmarking the performance of SVMs and HMMs for accelerometer-based biometric gait recognition. In: 2011 IEEE International Symposium on Signal Processing and Information Technology (ISSPIT), pp. 281–286. IEEE (2011)Google Scholar
  14. 14.
    Wang, J., Chen, R., Sun, X., et al.: Generative models for automatic recognition of human daily activities from a single triaxial accelerometer. In: The 2012 International Joint Conference on Neural Networks (IJCNN), pp. 1–6. IEEE (2012)Google Scholar
  15. 15.
    Quinlan, J.R.: Induction of decision trees. Mach. Learn. 1(1), 81–106 (1986)Google Scholar
  16. 16.
    Cortes, C., Vapnik, V.: Support-Vector Networks. Kluwer Academic Publishers, Boston (1995)zbMATHGoogle Scholar
  17. 17.
    Stauffer, C., Grimson, W.E.L.: Adaptive background mixture models for real-time tracking. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition, vol. 2, p. 252. IEEE Xplore (1999)Google Scholar
  18. 18.
    Rabiner, L.R., Juang, B.H.: An introduction to hidden Markov models. IEEE ASSP Mag. 3(1), 4–16 (1986)CrossRefGoogle Scholar
  19. 19.
    Fisher, R.A.: The use of multiple measurements in taxonomic problems. Ann. Eugen. 7(2), 179–188 (1936)CrossRefGoogle Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2018

Authors and Affiliations

  • Chuangui Yang
    • 1
  • Zhu Wang
    • 1
  • Botao Wang
    • 1
  • Shizhuo Deng
    • 1
  • Guangxin Liu
    • 1
  • Yuru Kang
    • 1
  • Huichao Men
    • 1
  1. 1.Northeastern UniversityShenyangChina

Personalised recommendations