Introduction
Human Activity Recognition (HAR) is a cornerstone technology for modern healthcare monitoring and smart vehicle safety systems. By analyzing data from wearable sensors, these systems can identify critical actions such as walking, falling, or driving. However, deploying high-accuracy deep learning models on edge devices remains a significant challenge. There is a persistent tension between the computational intensity required for accuracy and the low-latency requirements of real-time mobile applications.
Traditional Convolutional Neural Networks (CNNs) often process sensor signals at a fixed, high sampling rate. While effective, this approach is computationally expensive because the most resource-heavy operations occur before any data reduction (like pooling) takes place. Furthermore, different activities are best captured at different temporal scales; a sudden fall occurs much faster than a steady walk. The Multitemporal Sampling (MTS) module addresses these issues by integrating sampling directly into the convolutional process.
The MTS-ConvNet Architecture
The proposed MTS-ConvNet architecture reimagines the feature extraction pipeline to prioritize efficiency from the start. Unlike "Vanilla" convolutions that process every data point in a sliding window, the MTS-ConvNet employs components that selectively extract information while skipping redundant data points.
As illustrated in the figure above, the model transitions from high-resolution input signals to increasingly sparse temporal features. By the time the data reaches the global average pooling and fully-connected layers for classification, the computational burden has been drastically reduced without sacrificing the representational power of the network.
Core Components: S2Conv and the MTS Module
The efficiency of the architecture stems from two primary innovations:
- Sparse Sampling Convolution (S2Conv): This layer replaces standard dense convolutions with a sparse, diagonal-like operation. It effectively performs time-sampling and feature-map sampling simultaneously within the convolution itself. By skipping unnecessary data points before heavy computations begin, S2Conv significantly lowers the number of Multiply-Accumulate (MAC) operations.
- Multi-Temporal Sampling (MTS) Module: To capture activities occurring at various speeds, the MTS module runs multiple S2Conv units in parallel, each with a different kernel size ($D_k$). This allows the network to observe the signal at multiple time scales concurrently—capturing both high-frequency jitters and low-frequency postural changes.
To ensure that sparse sampling does not lead to information loss, the module includes a Time-Wise Convolution (TWConv) layer. This layer uses trainable permutations to group and organize feature maps intelligently before they are processed by the parallel S2Conv units.
Experimental Results and Performance
The MTS-ConvNet was rigorously evaluated against four benchmark datasets: UCI-HAR, WISDM, OPPORTUNITY, and PAMAP2. These datasets cover a wide range of sampling frequencies (20 Hz to 100 Hz) and activity complexities.
The results demonstrate a paradigm shift in HAR efficiency:
- Model Compression: The MTS-ConvNet achieved a staggering 1,000× reduction in model size compared to conventional baseline models.
- Computational Efficiency: The number of MAC operations was reduced by approximately 15×, allowing the model to maintain high F1 scores even under a strict 10 million MAC budget.
- Real-Time Edge Deployment: On a standard mobile CPU (Samsung Galaxy S10), the model achieved inference times between 20 and 45ms. Given that typical sensor windows are 2.5 seconds long, this performance is more than sufficient for real-time, low-power operation.
Conclusion
The MTS module provides a robust framework for deploying deep learning on resource-constrained edge devices. By moving the sampling process into the learnable layers of the network, the researchers have bypassed the traditional trade-off between accuracy and latency. Future work aims to utilize Neural Architecture Search (NAS) to automatically optimize sampling intervals ($D_k$), further tailoring the model to specific hardware and activity profiles.
Summary updated