Ana Poklukar: Jožef Stefan Institute, Ljubljana, Slovenia · Gabrijel Okorn: Jožef Stefan Institute, Ljubljana, Slovenia · Leon Costa: Università della Svizzera Italiana, Lugano, Switzerland · Gašper Slapničar: Jožef Stefan Institute, Ljubljana, Slovenia; Jožef Stefan International Postgraduate School, Ljubljana, Slovenia · Mitja Luštrek: Jožef Stefan Institute, Ljubljana, Slovenia; Jožef Stefan International Postgraduate School, Ljubljana, Slovenia · Zoja Anžur: Jožef Stefan Institute, Ljubljana, Slovenia; Jožef Stefan International Postgraduate School, Ljubljana, Slovenia
A person’s psychological state affects both their well-being and how well they work, but measuring it usually means interrupting them with a questionnaire. We investigate whether seven psychological states (emotional valence and arousal, fatigue, stress, productivity, engagement, and a well-being composite) can instead be predicted from passively logged computer activity. Using ActivityWatch, we collected data from 17 participants and engineered 16 behavioural features, then evaluated six models across three splitting strategies (including within-user and leave-one-subject-out) and three ways of framing the prediction task (regression and two classification variants). Gains over a dummy baseline vary considerably between states: productivity and engagement are the easiest to predict, while valence is essentially unpredictable from this signal alone, based on our data. Personalized approaches, especially within-user models, consistently outperform cross-user ones, suggesting psychological states manifest differently across individuals. Computer activity is shown to be a weak but informative predictor of psychological state.
Keywords: psychological state prediction, computer activity data, workplace well-being, machine learning
