ConvBoost: Boosting ConvNets for Sensor-based Activity Recognition

Shuai Shao, Yu Guan, Bing Zhai, Paolo Missier, Thomas PloetzarXiv 2023 · DOI

Deep learning has revolutionized Human Activity Recognition (HAR), allowing us to map complex wearable sensor data directly to activities like walking, running, or even opening a kitchen drawer. However, these models are notoriously data-hungry. In the world of HAR, labeled data is often scarce and expensive to obtain, leading to a common pitfall: overfitting.

A new paper, "ConvBoost: Boosting ConvNets for Sensor-based Activity Recognition," introduces a structured framework to tackle this head-on by rethinking how we generate training data from limited sensor sequences.

TL;DR

ConvBoost is a three-layer framework that dynamically generates diverse training examples every epoch to prevent overfitting in convolutional networks (ConvNets). By using novel sampling, augmentation, and resilience "boosters," it achieves significant performance gains across multiple HAR architectures and benchmark datasets.

What Problem Does This Paper Address?

The core challenge in sensor-based HAR is the "small data" problem. While deep learning models like CNNs and LSTMs are powerful, they require vast amounts of labeled data to generalize well. In HAR, logistical and privacy constraints make large-scale annotation difficult.

Most current pipelines use a "one-off" sliding window approach to segment long sensor streams into training frames. This creates a static, limited dataset. The authors argue that the potential of the original labeled sequences isn't being fully exploited, leading models to memorize specific patterns (overfitting) rather than learning robust features.

Methods

The authors propose the ConvBoost framework, which adds three conceptual layers to the training process, each with a specific "booster" designed for sensor data:

Fig. 1. An overview of our proposed ConvBoost framework. Based on the three conceptual layers (and the corresponding boosters), additional per-epoch training frames can be generated to boost the performance of various types of ConvNets in HAR tasks.
  1. Sampling Layer (R-Frame Booster): Instead of a fixed sliding window, R-Frame introduces an epoch-wise random offset ($\Delta$) and bootstrapping. This means the model sees slightly different segments of the raw data in every training epoch, effectively "densifying" the available information.
  2. Data Augmentation Layer (Mix-up Booster): This layer synthesizes new "virtual" training frames by linearly interpolating between pairs of existing frames and their labels. It forces the model to learn smoother decision boundaries.
  3. Resilient Layer (C-Drop Booster): To simulate real-world sensor issues like noise or temporary failure, C-Drop randomly sets entire sensor channels to zero. This makes the resulting model more robust to "problematic" signals.
Fig. 2. Traditional sliding window approach (left) and the proposed R-Frame booster (right) in the Sampling layer which can generate diverse per-epoch training frames for DL-based HAR

The framework is backbone-agnostic, meaning it can be plugged into vanilla CNNs, ConvLSTMs, or Attention-based models. It can output a single "best" classifier or an ensemble of the top-performing epoch-wise models.

Datasets

The framework was evaluated on three standard HAR benchmarks:

  • Opportunity (OPP): A highly challenging dataset featuring 18 kitchen activities with significant class imbalance.
  • PAMAP2: Contains 12 daily activities (e.g., cycling, vacuum cleaning) from nine subjects using IMUs on the hand, chest, and ankle.
  • GOTOV (Growing Old Together Validation): A recent dataset focused on 16 daily activities performed by older adults.

Key Insights and Ideas

  • Data Generation > Ensemble Diversity: Surprisingly, the authors found that the performance gains in their ensemble mode came primarily from the strength of the individual epoch-wise classifiers (boosted by the new data) rather than the diversity between them. This suggests that high-quality data generation is more critical for HAR than complex ensemble schemes.
  • R-Frame is a Simple Powerhouse: The R-Frame booster alone provides a significant boost by simply varying how the raw signal is sliced, proving that static sliding windows leave a lot of performance on the table.
  • Effective Compression: The authors demonstrated that by simply averaging the parameters of the ensemble models (a "model soup" approach), they could reduce the model size by 95% while maintaining nearly all the performance gains. This makes ConvBoost highly practical for resource-constrained wearable devices.

Key Results

ConvBoost delivered substantial improvements in mean F1-scores across the board:

  • On Opportunity (OPP): A vanilla CNN's performance rose from 61.2% to 70.53% when using the ConvBoost Ensemble.
  • On GOTOV: The Attention Model backbone improved from 72.4% to 81.66%.
  • Generality: The framework consistently outperformed "Baseline Ensembles" (which use standard bagging without the boosters) across all three datasets and all three model backbones.

Limitations and Future Work

While highly effective, the authors noted some areas for growth:

  • Domain Specificity: The C-Drop booster is specifically tailored for multi-channel sensor data. Future work could explore more generic "resilient" boosters applicable to other time-series tasks.
  • Unlabeled Data: Currently, ConvBoost focuses on maximizing the value of labeled data. The authors plan to investigate how these boosters can be adapted for self-supervised learning to tap into the vast amounts of unlabeled wearable data available.
  • Advanced Compression: While parameter averaging worked well, more sophisticated distillation or pruning techniques could further optimize the models for edge deployment.

For those interested in implementation, the project is open-source and available on GitHub.

Summary updated

BibTeX
@misc{shao2023convboost,
  author = {Shuai Shao and Yu Guan and Bing Zhai and Paolo Missier and Thomas Ploetz},
  title = {{ConvBoost: Boosting ConvNets for Sensor-based Activity Recognition}},
  year = {2023},
  eprint = {2305.13541},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.13541},
}

Loading related content...

Figure