Typing based communication applications on smartphones, like WhatsApp, can induce emotional exchanges. The effects of an emotion in one session of communication can persist across sessions. In this work, we attempt automatic emotion detection by jointly modeling the typing characteristics, and the persistence of emotion. Typing characteristics, like speed, number of mistakes, special characters used, are inferred from typing sessions. Self reports recording emotion states after typing sessions capture persistence of emotion. We use this data to train a personalized machine learning model for multi-state emotion classification. We implemented an Android based smartphone application, called TapSense, that records typing related metadata, and uses a carefully designed Experience Sampling Method (ESM) to collect emotion self reports. We are able to classify four emotion states - happy, sad, stressed, and relaxed, with an average accuracy (AUCROC) of 84% for a group of 22 participants who installed and used TapSense for 3 weeks.

, , , , ,
doi.org/10.1145/3098279.3098564
Mobile HCI

Ghosh, S., Ganguly, N., Mitra, B., & De, P. (2017). TapSense: Combining self-report patterns and typing characteristics for smartphone based emotion detection. In MobileHCI - Human Computer Interaction with Mobile Devices and Services (pp. 1–12). doi:10.1145/3098279.3098564