Use of IoT (Internet of Things) devices have significantly increased over the last decade, specifically smart-phones as compared to desktops, and laptops have become an integral part of our everyday lives. Smartphone applications operate in dynamic environments and generate huge and vast amount of context events such as screen orientation, location, battery life, and network connectivity throughout the day. Such context events may affect usage of the smartphone and smartphone applications by the user and the behaviour of these applications, Sparsity and complexity of these events make it difficult to identify patterns and trends in the data using traditional data mining techniques. Hence, predictive analysis of these events and finding patterns in context event data can have drastic impact on the application usage and enhance user experience. Prediction trees can be used to predict future events based on the context of past events, This work proposes a modified method of Compact Prediction Tree (CPT) called Context Data Compact Prediction Tree (CD-CPT) to predict real-world context data for multiple users. The experiments conducted used Transition Directed Acyclic Graph (TDAG) and All-k Order Markov (AKOM) algorithms to generate short-term predictions based on current context events and compare with baseline models such as Prediction by Pattern Mining (PPM), Dependency Graph (DG), CPT, and CPT+. The experimental results indicate that AKOM and TDAG outperform other algorithms, achieving a 50.4% weighted F-1 score for the highest supported context event. CD-CPT, without referencing the test file, still achieves a 14.27% weighted F-1 score for the same event, showing potential for improved accuracy in predicting context data compared to other algorithm.
more »
« less
This content will become publicly available on January 5, 2027
Hybrid Sequential Pattern Mining and Machine Learning for Context-Aware Event Prediction in IoT
Context-aware event prediction is a critical challenge in Internet of Things (IoT) systems, where accurate forecasting enables adaptive and personalized applications. Existing approaches often rely on either sequential pattern mining or machine learning models in isolation, limiting their ability to capture complex temporal dependencies. In this work, we introduce a hybrid framework that integrates sequential pattern mining-via POERMH (Partially-Ordered Episode Rule Mining with Head support) and PrefixSpan-with discriminative learning models to enhance context-event prediction on mobile IoT devices. Our key contribution lies in leveraging mined sequential structures as feature representations for classifiers, combined with optimized time-interval segmentation to preserve temporal dynamics. Empirical evaluation across real-world IoT datasets demonstrates that this integration significantly outperforms standalone baselines, with Support Vector Machines achieving an F1-score of 67.08 %, representing a substantial improvement over traditional sequence-only methods. These findings highlight the importance of coupling symbolic pattern discovery with statistical learning for robust context modeling, offering a scalable approach for next-generation IoT applications.
more »
« less
- Award ID(s):
- 2149969
- PAR ID:
- 10683673
- Publisher / Repository:
- IEEE
- Date Published:
- ISBN:
- 979-8-3315-9397-1
- Page Range / eLocation ID:
- 0917 to 0923
- Subject(s) / Keyword(s):
- Location:
- Las Vegas, NV, USA
- Sponsoring Org:
- National Science Foundation
More Like this
-
-
Smartphone applications run in complex environments and are sensitive to context events, i.e., changes to screen orientation, location, battery, etc. Context events and sequences make reliability, accuracy, and testing of mobile applications costly and more application development susceptible to errors. Modern smartphones have continued to increase the number of context event possibilities compared to earlier versions. Multiple context events may occur within quick intervals and complicate an application's behavior. While apps are continuously released and updated, future devices will likely have more features with more context events that will lead to even greater challenges. In this work, we implemented a model for prediction of common context event sequences by using two sequence rule mining algorithms: POERMH: Partially-Ordered Episode Rule Mining with Head Support, and TKE-Rules: Top-K Episode mining, along with a sequence prediction algorithm to increase smartphone application testing efficiency. Indeed, testing frequently encountered scenarios often relates to user perceived reliability of an app. The experiment was significantly successful at predicting next sequence in sequence of events for individual events as compared to overall performance using both POERMH and TKE-Rules in terms of Recall, Precision and F-1 score.more » « less
-
null (Ed.)Modern Internet of Things ( IoT ) applications generate massive amounts of time-stamped data, much of it in the form of discrete, symbolic sequences. In this work, we present a new system called TOP that deTects Outlier Patterns from these sequences. To solve the fundamental limitation of existing pattern mining semantics that miss outlier patterns hidden inside of larger frequent patterns, TOP offers new pattern semantics based on contextual patterns that distinguish the independent occurrence of a pattern from its occurrence as part of its super-pattern. We present efficient algorithms for the mining of this new class of contextual patterns. In particular, in contrast to the bottom-up strategy for state-of-the-art pattern mining techniques, our top-down Reduce strategy piggy backs pattern detection with the detection of the context in which a pattern occurs. Our approach achieves linear time complexity in the length of the input sequence. Effective optimization techniques such as context-driven search space pruning and inverted index-based outlier pattern detection are also proposed to further speed up contextual pattern mining. Our experimental evaluation demonstrates the effectiveness of TOP at capturing meaningful outlier patterns in several real-world IoT use cases. We also demonstrate the efficiency of TOP, showing it to be up to 2 orders of magnitude faster than adapting state-of-the-art mining to produce this new class of contextual outlier patterns, allowing us to scale outlier pattern mining to large sequence datasets.more » « less
-
Recent progressions in federated learning (FL) have facilitated the development of decentralized collaborative Internet-of-Things (IoT) applications. However, data-driven FL algorithms face the challenge of heterogeneity in participating IoT devices, including their deployment environment and calibration settings. Fail to follow these device-specific properties can degenerate the model performance. To address this issue, we present FedSTL in this poster abstract, which is a two-staged personalized FL framework with clustering for sequential prediction tasks in IoT. FedSTL first identifies client properties as Signal Temporal Logic (STL) specifications. Then, a partitioning component of FedSTL associates each client to an aggregation center, while the framework continues to infer properties for the cluster. At the training stage, both cluster and client models are encouraged to follow customized properties to achieve a hierarchical property enhancing strategy. Further, we show preliminary results of FedSTL in this poster abstract under a synthetic multitask IoT environment and a real-world traffic prediction scenario.more » « less
-
Deep learning models have been studied to forecast human events using vast volumes of data, yet they still cannot be trusted in certain applications such as healthcare and disaster assistance due to the lack of interpretability. Providing explanations for event predictions not only helps practitioners understand the underlying mechanism of prediction behavior but also enhances the robustness of event analysis. Improving the transparency of event prediction models is challenging given the following factors: (i) multilevel features exist in event data which creates a challenge to cross-utilize different levels of data; (ii) features across different levels and time steps are heterogeneous and dependent; and (iii) static model-level interpretations cannot be easily adapted to event forecasting given the dynamic and temporal characteristics of the data. Recent interpretation methods have proven their capabilities in tasks that deal with graph-structured or relational data. In this paper, we present a Contextualized Multilevel Feature learning framework, CMF, for interpretable temporal event prediction. It consists of a predictor for forecasting events of interest and an explanation module for interpreting model predictions. We design a new context-based feature fusion method to integrate multiple levels of heterogeneous features. We also introduce a temporal explanation module to determine sequences of text and subgraphs that have crucial roles in a prediction. We conduct extensive experiments on several real-world datasets of political and epidemic events. We demonstrate that the proposed method is competitive compared with the state-of-the-art models while possessing favorable interpretation capabilities.more » « less
An official website of the United States government
