Modeling Human Dynamics and Lifestyle Using Digital Traces

Sharon Xu, Steven Morse, Marta C. González
5/13/2020
cs.SIphysics.soc-ph

Official code: stmorse/hawkes (178 stars, Jupyter Notebook, MIT, last commit 2025-08-27).

Abstract

Human behavior drives a range of complex social, urban, and economic systems, yet understanding its structure and dynamics at the individual level remains an open question. From credit card transactions to communications data, human behavior appears to exhibit bursts of activity driven by task prioritization and periodicity, however, current research does not offer generative models capturing these mechanisms.

Show full abstract

We propose a multivariate, periodic Hawkes process (MPHP) model that captures -- at the individual level -- the temporal clustering of human activity, the interdependence structure and co-excitation of different activities, and the periodic effects of weekly rhythms. We also propose a scalable parameter estimation technique for this model using maximum-aposteriori expectation-maximization that additionally provides estimation of latent variables revealing branching structure of an individual's behavior patterns. We apply the model to a large dataset of credit card transactions, and demonstrate the MPHP outperforms a non-homogeneous Poisson model and LDA in both statistical fit for the distribution of inter-event times and an activity prediction task.

View on arXivView PDF

Code Implementations(1)

stmorse/hawkesOfficial100%
MIT

Python class for generation and parameter estimation of multivariate Hawkes processes

17852Jupyter Notebook, PythonJun 26, 20171 years agoMIT

Similar Papers

Cite this paper

@article{xu2020modeling,
  title  = {Modeling Human Dynamics and Lifestyle Using Digital Traces},
  author = {Sharon Xu and Steven Morse and Marta C. González},
  year   = {2020},
  eprint = {2005.06542},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.06542}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.06542.svg)](https://codeofpaper.com/paper/2005.06542)

Discussion