Incremental Data Stream Classification with Adaptive Multi-Task Multi-View Learning

Jun Wang, Maiwang Shi, Xiao Zhang, Yan Li, Yunsheng Yuan, Chenglei Yang, Dongxiao YuBig Data Min. Anal 2024

Introduction

Mobile and wearable devices generate a continuous torrent of data from diverse sensors like accelerometers and gyroscopes. Effectively classifying this data in real-time is critical for applications ranging from health monitoring to activity recognition. However, existing models often struggle with the heterogeneous nature of sensor data and the "catastrophic forgetting" that occurs during incremental learning—the tendency of AI to lose old knowledge when learning new information.

This paper introduces MTMVIS (Multi-Task Multi-View Incremental Strategy), a novel framework designed to classify massive, streaming data by treating the problem as a multi-task, multi-view incremental learning challenge.

The Multi-Task Multi-View Challenge

Analyzing mobile sensor data involves two primary dimensions of complexity: tasks and views. A "task" typically refers to a specific user or activity scenario, while a "view" represents data from a specific sensor or body location.

Illustration of multi-task and multi-view sensor data streams from different participants and body locations.

Most traditional models are "single-task single-view," failing to capture the relationships between different sensors (e.g., how a heart rate sensor and an accelerometer together describe a specific activity). Furthermore, the streaming nature of this data requires models to learn incrementally without the luxury of retraining from scratch on the entire historical dataset.

The MTMVIS Framework

The MTMVIS framework addresses these hurdles by integrating hierarchical attention mechanisms with adaptive regularization to ensure stable learning over time.

The MTMVIS framework architecture, highlighting the multi-task multi-view deep neural network and the adaptive output layer for incremental training.

Core Architectural Components

  • Hierarchical Attention for Data Alignment: The model uses attention layers to align data from various sensors at the same body location, weighting measurement values based on their relevance within specific time intervals.
  • Multi-gate Mixture-of-Experts (MMoE): Instead of a single shared backbone, MTMVIS uses a gating network that selects different combinations of "expert" sub-networks for each task-view pair. This allows the model to learn customized features for specific users while maintaining shared knowledge.
  • View Fusion Layer: An additional attention layer measures the importance of different sensors for a specific task, recognizing that a gyroscope might be more important for "walking" while a heart rate monitor is more vital for "strenuous exercise."
  • Adaptive Fisher Regularization: This is the core "anti-forgetting" mechanism. It improves upon traditional Elastic Weight Consolidation (EWC) by using attention weights to identify which specific parameters are most critical to old tasks and protecting them more aggressively during new training stages.

Key Insights

One of the most significant contributions of MTMVIS is the use of attention as a forgetting metric. By identifying which parts of the network the model attended to for previous tasks, it can more accurately protect those specific "neurons" from being overwritten. Additionally, the model utilizes Multi-Layer Outputs, weighting the outputs of all layers rather than just the final one. This provides a more robust feature representation that is less sensitive to the drastic weight shifts that occur during incremental updates.

Experimental Evaluation

The framework was evaluated on two prominent real-world datasets: RealWorld-HAR (motion sensor data from 15 participants) and GLEAM (Google Glass head-motion tracking data).

Key Results

  • Superiority over Non-Incremental Models: MTMVIS improved performance by approximately 45% compared to traditional multi-task models when forced into a sequential, incremental learning scenario.
  • Ablation Success: In comparisons against IADM (a strong single-task incremental baseline), MTMVIS achieved improvements of over 23% on the RealWorld-HAR dataset and 15% on the GLEAM dataset.
  • Stability: The results showed that MTMVIS could maintain stable performance even under "repetitive activities," effectively consolidating parameters for recurring tasks rather than constantly overwriting them.

Conclusion

MTMVIS represents a significant advancement in incremental data stream classification. By leveraging hierarchical attention and adaptive regularization, it effectively manages the trade-off between learning new information and preserving old knowledge in complex multi-task, multi-view environments. Future work will focus on extending the framework to handle unlabeled data, allowing the model to learn from the vast majority of sensor data that never receives a human-provided label.

Summary updated

BibTeX
@article{wang2024incremental,
  author = {Jun Wang and Maiwang Shi and Xiao Zhang and Yan Li and Yunsheng Yuan and Chenglei Yang and Dongxiao Yu},
  title = {{Incremental Data Stream Classification with Adaptive Multi-Task Multi-View Learning}},
  journal = {Big Data Min. Anal.},
  year = {2024},
  doi = {10.26599/bdma.2023.9020006},
}
Figure