skip to main content
10.1145/3477314.3507159acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
poster

Emotion detection from smartphone keyboard interactions: role of temporal vs spectral features

Published:06 May 2022Publication History

ABSTRACT

Keystroke or typing dynamics represent two key facets - rhythm corresponds to spectral-domain characteristics and timing corresponds to time-domain behavior, which are created when a person types. The presence of inherent time-domain and frequency-domain characteristics in smartphone keyboard interactions motivate us to perform a comparative analysis of time-domain and frequency-domain features for emotion detection. We design, and develop an Android-based data collection application, which collects keyboard interaction logs and emotion self-reports (happy, sad, stressed, relaxed) from 18 subjects in a 3-week in-the-wild study. For the time-domain analysis, we extract a set of time-domain features and construct Random Forest-based personalized model; whereas for the spectral-domain analysis, first transform the interaction details into frequency-domain using DFT (Discrete Fourier Transform) and then extract a set of spectral-domain features to construct a personalized model for emotion detection. The empirical analysis from the study reveals that the time-domain models return superior classification performance (average AUCROC 72%) than the frequency-domain models (average 67%). It also signifies the importance of several time-domain and frequency-domain features as a strong discriminator of emotion states.

References

  1. Bokai Cao, Lei Zheng, Chenwei Zhang, Philip S Yu, Andrea Piscitello, John Zulueta, Olu Ajilore, Kelly Ryan, and Alex D Leow. 2017. Deepmood: modeling mobile phone typing dynamics for mood detection. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, 747--755.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Nitesh V. Chawla, Kevin W. Bowyer, Lawrence O. Hall, and W. Philip Kegelmeyer. 2002. SMOTE: synthetic minority over-sampling technique. Journal of artificial intelligence research 16 (2002), 321--357.Google ScholarGoogle ScholarCross RefCross Ref
  3. M. Garrido, K. K. Parhi, and J. Grajal. 2009. A Pipelined FFT Architecture for Real-Valued Signals. IEEE Transactions on Circuits and Systems I: Regular Papers 56, 12 (2009), 2634--2643.Google ScholarGoogle ScholarCross RefCross Ref
  4. Surjya Ghosh, Niloy Ganguly, Bivas Mitra, and Pradipta De. 2017. Evaluating effectiveness of smartphone typing as an indicator of user emotion. In 2017 Seventh International Conference on Affective Computing and Intelligent Interaction (ACII). IEEE, 146--151.Google ScholarGoogle ScholarCross RefCross Ref
  5. Surjya Ghosh, Niloy Ganguly, Bivas Mitra, and Pradipta De. 2017. TapSense: Combining Self-report Patterns and Typing Characteristics for Smartphone Based Emotion Detection. In Proceedings of the ACM MobileHCI.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Ghosh, N. Ganguly, B. Mitra, and P. De. 2019. Designing An Experience Sampling Method for Smartphone based Emotion Detection. IEEE Transactions on Affective Computing (2019), 1--1. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Md Rakibul Islam, Md Kauser Ahmmed, and Minhaz F. Zibran. 2019. MarValous: Machine Learning Based Detection of Emotions in the Valence-Arousal Space in Software Engineering Text. In Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing (Limassol, Cyprus) (SAC '19). Association for Computing Machinery, New York, NY, USA, 1786--1793. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Huy Viet Le, Sven Mayer, Patrick Bader, and Niels Henze. 2018. Fingers' Range and Comfortable Area for One-Handed Smartphone Interaction Beyond the Touchscreen. In Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems. 1--12.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Sven Mayer, Huy Viet Le, Markus Funk, and Niels Henze. 2019. Finding the Sweet Spot: Analyzing Unrestricted Touchscreen Interaction In-the-Wild. In Proceedings of the 2019 ACM International Conference on Interactive Surfaces and Spaces. 171--179.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. James A Russell. 1980. A circumplex model of affect. Journal of Personality and Social Psychology 39, 6 (1980), 1161--1178.Google ScholarGoogle ScholarCross RefCross Ref
  11. Ian H Witten, Eibe Frank, Mark A Hall, and Christopher J Pal. 2016. Data Mining: Practical machine learning tools and techniques. Morgan Kaufmann.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Emotion detection from smartphone keyboard interactions: role of temporal vs spectral features
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          SAC '22: Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing
          April 2022
          2099 pages
          ISBN:9781450387132
          DOI:10.1145/3477314

          Copyright © 2022 Owner/Author

          Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 6 May 2022

          Check for updates

          Qualifiers

          • poster

          Acceptance Rates

          Overall Acceptance Rate1,650of6,669submissions,25%
        • Article Metrics

          • Downloads (Last 12 months)23
          • Downloads (Last 6 weeks)1

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader