This section presents the experimental results of the proposed ECA-ResNet1D-Lite model, evaluated on the SPARS9x dataset and compared with four state-of-the-art deep learning architectures commonly used for sensor-based HAR. Two complementary evaluation protocols are used: five-fold stratified cross-validation (5-Fold CV) to assess in-distribution classification performance, and leave-one-subject-out cross-validation (LOSO CV) to measure cross-subject generalization.
4.1. Experimental Setup
All experiments were implemented in Python 3.10 using TensorFlow 2.x with the Keras high-level API and executed on Google Colab with an NVIDIA GPU accelerator. A fixed random seed of 42 was applied to both NumPy and TensorFlow to ensure reproducibility. The same training configuration was applied uniformly to all models to ensure a fair comparison: the Adam optimizer [
25] with an initial learning rate of
, a mini-batch size of 256 windows, and a maximum of 200 training epochs. Two adaptive callbacks were employed: EarlyStopping (patience = 50 epochs, monitoring validation accuracy, with best-weight restoration) and ReduceLROnPlateau (reduction factor = 0.5, patience = 10 epochs). The categorical cross-entropy loss and the two evaluation protocols described in
Section 3.4 were applied consistently across all models.
Baseline hyperparameters were adopted from the architectural descriptions given in the original publications and were not tuned on SPARS9x. The only modifications were those required by the input and the task: we set the classification head of every model to six units and the input layer to (200 × 6). Filter counts, kernel sizes, dilation schedules, hidden dimensions, attention-head counts, and dropout rates follow the source papers. We held the optimizer, batch size, maximum epoch count, and callback settings identical across all models. The complete layer-level configuration of every evaluated model, together with its measured parameter and multiply–accumulate counts, is given in
Appendix A.
We note explicitly that an identical training protocol does not guarantee an equally well-optimized configuration for every architecture. A per-model hyperparameter search would in principle favor the recurrent and Transformer baselines, whose published settings were developed for longer sequences, more sensor channels, and larger datasets than the six-channel, 200-sample, 5276-window regime used here. Because this paper compares accuracy attainable at a given computational budget rather than the maximum attainable by each architecture, we treat the uniform protocol as the appropriate control and note the lack of per-model tuning as a limitation in
Section 5.
4.2. Performance Comparison with State-of-the-Art Models
We evaluated the proposed ECA-ResNet1D-Lite against six competing architectures. Four of them are representative deep learning architectures for time-series HAR: TCN [
7], DeepConvLSTM [
6], InceptionTime [
8], and a Transformer-based encoder [
9]. These baselines cover the principal families of approaches applied to wearable sensor HAR: dilated temporal convolutions, convolutional–recurrent hybrids, multi-scale inception modules, and self-attention encoders. The remaining two, TinyHAR [
21] and TinierHAR [
22], are compact architectures designed under an explicit parameter-efficiency constraint and are therefore the most direct points of comparison for the present work. All competing models were trained and evaluated on SPARS9x under the same three protocols, windowing, training configuration, and random seed as the proposed model.
Table 6 reports the model complexity and classification accuracy under all three evaluation protocols.
A caveat applies to the first four of these comparisons. TCN, DeepConvLSTM, InceptionTime, and the Transformer encoder were designed for general sequence modeling and multi-sensor activity recognition, on datasets with longer sequences, more channels, and larger activity vocabularies than SPARS9x. Parameter efficiency was not a design objective for any of them, and reporting that they use more parameters than a model designed to be small is not, by itself, meaningful. They are included because they represent the four principal architectural families applied to wearable HAR and because they establish the accuracy attainable on this dataset without a size constraint. The efficiency comparison is against models designed under the same constraint—TinyHAR and TinierHAR, introduced in
Section 2.5 and evaluated here on SPARS9x under the identical protocol—and the attention ablation in
Section 5.2, in which every variant shares an identical backbone.
Against the two parameter-efficient baselines, the proposed model retains an accuracy advantage under every protocol, although a narrower one than against the unconstrained architectures. TinyHAR reaches 99.1 ± 0.4% under the window-level five-fold protocol, 97.1 ± 1.7% under the grouped five-fold protocol, and 97.4 ± 2.5% under LOSO; TinierHAR reaches 98.8 ± 0.3%, 95.4 ± 3.3%, and 97.4 ± 2.1%, respectively. The efficiency comparison, however, is not one-directional, and it is worth stating precisely. TinierHAR is the smaller model by parameter count—7397 against 13,612, roughly half—yet it requires more arithmetic per window than the proposed model, 0.500 M against 0.459 M multiply–accumulate operations, because it maintains full-width feature maps for longer and adds a bidirectional recurrent stage. Parameter count and inference cost therefore do not rank the two architectures the same way. ECA-ResNet1D-Lite is the cheapest model in
Table 6 to execute rather than the smallest to store, and it reaches that position without any recurrent stage, which is what makes the latency figures of
Section 4.3 attainable; TinyHAR, by contrast, is both larger (27,428 parameters) and considerably more expensive (4.056 M MACs per window) than either of the other two.
As shown in
Table 6, the proposed ECA-ResNet1D-Lite achieves the highest accuracy under all three evaluation protocols: 99.4 ± 0.1% under window-level 5-Fold CV, 97.5 ± 1.9% under grouped 5-Fold CV, and 99.1 ± 1.0% under LOSO CV, while requiring only 13.6K parameters—2.0×, 6.5×, 10.8×, 21.1×, and 36.3× fewer parameters than TinyHAR, TCN, Transformer, DeepConvLSTM, and InceptionTime, respectively. The consistency of the proposed model is further confirmed by the per-fold results in
Table 7, which show a narrow accuracy range of 99.2–99.5% across all five folds, yielding the lowest 5-Fold standard deviation (0.1%) among all evaluated models.
Under the LOSO protocol, the performance gap between the proposed model and the baselines is more pronounced. InceptionTime records the second-highest LOSO accuracy (98.8 ± 1.4%) but at 36.3× the parameter count. TCN, DeepConvLSTM, and Transformer exhibit considerably higher LOSO standard deviations of 2.9%, 3.9%, and 2.8%, respectively, indicating inconsistent generalization across subjects—a critical limitation for deployment in real-world physiotherapy monitoring, where inter-subject variability is high. In contrast, the proposed ECA-ResNet1D-Lite achieves an LOSO standard deviation of only 1.0%, the lowest across all models, demonstrating robust and consistent cross-subject performance.
The combination of the highest accuracy, the lowest standard deviation under LOSO, and the lowest arithmetic cost of any model evaluated (0.459 M MACs per window) demonstrates that ECA-ResNet1D-Lite achieves a superior accuracy–efficiency trade-off for wrist-worn IMU-based shoulder physiotherapy exercise recognition. The ECA channel attention mechanism, adding only six parameters to the baseline lightweight residual network, enables the model to amplify exercise-discriminative channel responses and selectively suppress uninformative ones, thereby improving cross-subject generalization without sacrificing model compactness. These results confirm that ECA-ResNet1D-Lite is well suited for deployment on resource-constrained wearable devices in clinical or home-based physiotherapy monitoring scenarios.
4.3. Computational Complexity and Deployment Feasibility
Parameter count alone does not determine whether a model can run on a smartwatch. Execution time is governed by the number of arithmetic operations and by memory traffic, while feasibility is further constrained by the peak activation memory that must be resident during a forward pass and by the storage the model occupies on the device. Multiply–accumulate (MAC) operations were therefore counted by an analytic traversal of the layer graph for a batch-size-one forward pass, with floating-point operations reported as twice the MAC count; peak activation memory is the largest sum of simultaneously live tensors under a topological execution order, assuming 32-bit activations.
Table 8 reports these quantities together with latency measured on wearable hardware.
The network requires 0.459 M MAC operations per 4-s window, of which 46% occur in the second residual stage, whose pointwise convolutions operate on 64 channels, and a further 29% in the stem, the only layer applied at full temporal resolution. Peak activation memory is 25.0 KiB and occurs at the stem, where the () pre-pooling feature map and its input are simultaneously live; because the stride-2 stem and the pooling layer reduce the temporal dimension from 200 to 50 samples before any wide layer is applied, the widest stage of the network requires only 6.25 KiB. The two ECA modules together contribute six parameters and 288 MAC operations, with overheads of 0.04% and 0.06%, respectively.
To confirm that these analytic figures translate into practice, we converted the model to Core ML with float16 weights and benchmarked it on an Apple Watch Ultra 2, a current consumer smartwatch in the class targeted by this work. We verified numerical parity beforehand: across 520 probe windows, the converted model reproduced the original network’s predicted class in every case, with a maximum absolute deviation of in the softmax outputs. A single window is classified in 0.240 ms on average when Core ML is restricted to the CPU. Enabling the Neural Engine yields 0.178 ms, but the minimum latency is effectively identical across compute-unit policies (0.139–0.142 ms), and a repeat measurement on mains power produced results agreeing to within 0.002 ms; the difference is therefore attributed to scheduling variation rather than to accelerator use, and the conservative CPU-only figure is quoted throughout.
Against the 2-s interval at which windows arrive, this corresponds to a duty cycle of 0.012%, leaving the processor idle for more than 99.98% of each interval, and the deployed model occupies 79.4 KiB of storage. These measurements establish that continuous, real-time shoulder exercise recognition is computationally feasible on current smartwatch hardware without offloading to a paired smartphone. They do not establish that all-day monitoring is energy-viable, since total power draw is dominated by inertial sensor sampling, display activity, and radio use rather than by inference; a longitudinal power study under realistic duty cycles remains future work.