Skip to main content

Federated Learning with Exponentially Weighted Moving Average for Real-Time Emotion Classification

  • Conference paper
  • First Online:
Ambient Intelligence—Software and Applications—13th International Symposium on Ambient Intelligence (ISAmI 2022)

Abstract

Federated learning (FL) allows to develop a powerful shared prediction model while preserving the users’ privacy by keeping the data local. In particular it is a useful framework to use resource-constrained edge computing devices, such as mobile and IoT devices (wearable sensors), as local clients. In FL, the local clients update their model by replacing it with the current global model, which may cause performance degradation due to the previous local model information is lost. We propose an exponentially weighted moving average (EWMA) for local model updates at the local client to address this issue and improve model performance. This work focuses mainly on improving our previously developed federated learning-based real-time emotion classification from multi-modal data streams Fed-ReMECS with a local model update by EWMA, called Fed-ReMECS-U. The experiment is carried out with the help of the widely used multi-modal benchmark DEAP dataset for emotion classification. Experiments showed that the accuracy of the proposed method has improved when compared to the former Fed-ReMECS.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://mqtt.org/.

  2. 2.

    DEAP dataset link: https://www.eecs.qmul.ac.uk/mmv/datasets/deap/.

  3. 3.

    The source code can be found in GitHub at: https://github.com/officialarijit/Fed-ReMECS-U.

References

  1. Ayata, D., Yaslan, Y., Kamaşak, M.: Emotion recognition via random forest and galvanic skin response: comparison of time based feature sets, window sizes and wavelet approaches. In: Medical Technologies National Congress, pp. 1–4 (2016)

    Google Scholar 

  2. Ayata, D., Yaslan, Y., Kamasak, Mustafa, E.: Emotion recognition from multimodal physiological signals for emotion aware healthcare systems. J. Med. Biolog. Eng. 149–157 (2020)

    Google Scholar 

  3. Bifet, A., Holmes, G., Kirkby, R., Pfahringer, B.: Moa: Massive online analysis. J. Mach. Learn. Res. 11, 1601–1604 (2010)

    Google Scholar 

  4. Candra, H., Yuwono, M., Chai, R., Handojoseno, A., Elamvazuthi, I., Nguyen, H.T., Su, S.: Investigation of window size in classification of eeg-emotion signal with wavelet entropy and support vector machine. In: 37th Annual International Conference of the IEEE EMBS, pp. 7250–7253 (2015)

    Google Scholar 

  5. Koelstra, S., Muhl, C., Soleymani, M., Lee, J.S., Yazdani, A., Ebrahimi, T., Pun, T., Nijholt, A., Patras, I.: Deap: A database for emotion analysis; using physiological signals. IEEE Trans. Affect. Comput. 3(1), 18–31 (2012)

    Article  Google Scholar 

  6. Konečný, J., McMahan, H.B., Yu, F.X., Richtarik, P., Suresh, A.T., Bacon, D.: Federated learning: Strategies for improving communication efficiency. In: NIPS Workshop on Private Multi-Party Machine Learning (2016). arxiv.org/abs/1610.05492

  7. Nandi, A., Xhafa, F.: A federated learning method for real-time emotion state classification from multi-modal streaming. Methods 204, 340–347 (2022)

    Article  Google Scholar 

  8. Nandi, A., Xhafa, F., Subirats, L., Fort, S.: Real-time multimodal emotion classification system in e-learning context. In: Proceeding of the 22nd Engineering Applications of Neural Networks Conference, pp. 423–435 (2021)

    Google Scholar 

  9. Perry, M.B.: The Exponentially Weighted Moving Average. Wiley (2011)

    Google Scholar 

  10. Zhang, Y., Jiang, C., Yue, B., Wan, J., Guizani, M.: Information fusion for edge intelligence: a survey. Inf Fusion 81, 171–186 (2022)

    Article  Google Scholar 

Download references

Acknowledgement

Work partially funded by ACCIÓ under the project TutorIA.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Arijit Nandi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nandi, A., Xhafa, F., Subirats, L., Fort, S. (2023). Federated Learning with Exponentially Weighted Moving Average for Real-Time Emotion Classification. In: Julián, V., Carneiro, J., Alonso, R.S., Chamoso, P., Novais, P. (eds) Ambient Intelligence—Software and Applications—13th International Symposium on Ambient Intelligence. ISAmI 2022. Lecture Notes in Networks and Systems, vol 603. Springer, Cham. https://doi.org/10.1007/978-3-031-22356-3_12

Download citation

Publish with us

Policies and ethics