An Effective Machine Learning Based Algorithm for Inferring User Activities From IoT Device Events

Summary
This study combines deterministic pattern extraction with unsupervised learning to infer smart-home user activities from IoT device events. Experiments with 2,959 real activities and up to 30,000 synthetic activities show that the method tolerates device malfunctions and temporary failures or delays while outperforming the existing comparison method.
Type
Publication
IEEE Journal on Selected Areas in Communications, 40(9), 2733-2745. IEEE
publication

Abstract

The rapid and ubiquitous deployment of Internet of Things (IoT) in smart homes has created unprecedented opportunities to automatically extract environmental knowledge, awareness, and intelligence. Many existing studies have adopted either machine learning approaches or deterministic approaches to infer IoT device events and/or user activities from network traffic in smart homes. In this paper, we study the problem of inferring user activity patterns from a sequence of device events by first deterministically extracting a small number of representative user activity patterns from the sequence of device events, then applying unsupervised learning to compute an optimal subset of these user activity patterns to infer user activity patterns. Based on extensive experiments with sequences of device events triggered by 2,959 real user activities and up to 30,000 synthetic user activities, we demonstrate that our scheme is resilient to device malfunctions and transient failures/delays, and outperforms the state-of-the-art solution.

Guoliang Xue
Authors
Professor of Computer Science and Engineering
Guoliang Xue is a professor in Arizona State University’s School of Computing and Augmented Intelligence and an IEEE Fellow. He investigates wireless and quantum networks, network security and privacy, and optimization. He earned his PhD in computer science from the University of Minnesota in 1991. His honors include the IEEE Communications Society’s 2019 William R. Bennett Prize, and he chaired the IEEE INFOCOM Steering Committee from 2020 through 2025.
Yinxin Wan
Authors
Assistant Professor of Computer Science
Yinxin Wan is an assistant professor in the Department of Computer Science at the University of Massachusetts Boston. His research focuses on cybersecurity, secure and trustworthy artificial intelligence, network measurement, the Internet of Things, and quantum networking. He received his PhD in Computer Science from Arizona State University in 2023, advised by Guoliang Xue and Kuai Xu, and his bachelor’s degree in Information Security from the University of Science and Technology of China.
Xuanli Lin
Authors
PhD Student in Computer Science

Xuanli Lin is a fifth-year PhD student in the Computer Science department at Arizona State University, supervised by Dr. Guoliang Xue.

His research interests include network optimization, network security, artificial intelligence, and the Internet of Things.

Kuai Xu
Authors
Professor of Computer Science
Kuai Xu is a professor of computer science in the School of Mathematical and Natural Sciences at Arizona State University. His research covers network security, network measurement and analysis, cloud computing, home networks, and online social networks. He received his PhD in Computer Science from the University of Minnesota in 2006 and his bachelor’s and master’s degrees in Computer Science from Peking University in 1998 and 2001, respectively.
Feng Wang
Authors
Professor of Applied Computing
Feng Wang is a professor in the applied computing program in the School of Mathematical and Natural Sciences at Arizona State University. Her research spans network science, social media analysis, network optimization, network security, and wireless sensor networks. She received her PhD in Computer Science from the University of Minnesota, Twin Cities, in 2005, her master’s degree in Computer Science from Peking University in 1999, and her bachelor’s degree in Computer Science from Wuhan University in 1996. She joined Arizona State University in 2007.