/SwitchingGP

[AISTATS 2019] Adaptive activity monitoring with uncertainty quantification in switching Gaussian process models

Primary LanguageMATLABMIT LicenseMIT

SwitchingGP

"Adaptive activity monitoring with uncertainty quantification in switching Gaussian process models"

Randy Ardywibowo, Guang Zhao, Zhangyang Wang, Bobak Mortazavi, Shuai Huang, and Xiaoning Qian

Overview

We propose a switching Gaussian process to model the observed sensor signals emitting from the underlying activity states. To efficiently compute the Gaussian process model likelihood and quantify the context prediction uncertainty, we propose a block circulant embedding technique and use Fast Fourier Transforms (FFT) for inference. By computing the Bayesian loss function tailored to switching Gaussian processes, an adaptive monitoring procedure is developed to select features from available sensors that optimize the trade-off between sensor power consumption and the prediction performance quantified by state prediction entropy. We demonstrate the effectiveness of our framework on the popular benchmark of UCI Human Activity Recognition using Smartphones.

The Hidden Semi-Markov ModelThe Gamma Hidden State Duration Distribution

full prediction
Our predictions on the UCI HAR dataset

Usage

Train the Switching Gaussian Process model

Train the switching GP model by running

Methods/runPopMTGP.m

You can experiment with different kernels and training methods by running

Methods/runPopMTGP_joint_contexts.m

This runs the Baseline + Separate time dependence + Separate Multivariate model. The other file,

Methods/runPopMTGP_joint.m

runs the Baseline + Separate time dependence + Combined Multivariate model.

Prediction using the Switching Gaussian Process model

To predict, run

PopMTGPpredict_popmtgp_all_tasks.m

Citation

Please consider citing our paper if you find the software useful for your work.

@inproceedings{ardywibowo2019adaptive,
  title={Adaptive activity monitoring with uncertainty quantification in switching Gaussian process models},
  author={Ardywibowo, Randy and Zhao, Guang and Wang, Zhangyang and Mortazavi, Bobak and Huang, Shuai and Qian, Xiaoning},
  booktitle={The 22nd International Conference on Artificial Intelligence and Statistics},
  pages={266--275},
  year={2019},
  organization={PMLR}
}