Abstract
In the realm of Human Activity Recognition (HAR), obtaining high quality and variance data is still a persistent challenge due to high costs and the inherent variability of real-world activities. This study introduces a generation dataset by deep learning approaches (Attention Autoencoder and conditional Generative Adversarial Networks). Another problem that data heterogeneity is a critical challenge, one of the solutions is to shuffle the data to homogenize the distribution. Experimental results demonstrate that the random sequence strategy significantly improves classification performance, achieving an accuracy of up to $0.70 \pm 0.03$ and a macro F1 score of $0.64 \pm 0.01$. For that, disrupting temporal dependencies through random sequence reordering compels the model to focus on instantaneous recognition, thereby improving robustness against activity transitions. This approach not only broadens the effective training dataset but also offers promising avenues for enhancing HAR systems in complex, real-world scenarios.
Introduction
Human Activity Recognition (HAR) is a cornerstone of modern industrial environments, particularly in logistics and manufacturing, where it facilitates safety monitoring and operational efficiency. However, developing reliable HAR models faces two significant hurdles: the high cost of collecting labeled sensor data and the "temporal rigidity" of existing models.
Most current systems rely heavily on the predictable sequence of industrial tasks—such as a worker picking an item before scanning it. While this temporal context can aid recognition, it often results in brittle models that fail when workers deviate from standard operating procedures or when transitions between activities are fluid and messy. To address these issues, this research proposes the Shuffle Order Strategy (SOS), a novel data augmentation approach that combines synthetic data generation with intentional sequence disruption to force models toward "instantaneous recognition."
Methodology: Synthetic Generation and SOS
The proposed pipeline involves two primary components: data inflation and sequence randomization.
Synthetic Data Generation
To overcome data scarcity, the study utilizes two advanced generative architectures to create synthetic accelerometer data:
- Conditional Tabular GAN (CTGAN): Used to model the complex distributions of sensor data across different activity classes.
- Attention Autoencoder (AAE): Leverages attention mechanisms to capture the nuances of sensor signals, providing a high-fidelity alternative to real-world data.
The Shuffle Order Strategy (SOS)
The core innovation of this work is the transition from "Ascending Sequences" (AS)—where data follows a natural chronological order—to "Random Sequences" (RS). By shuffling the order of activities during the training phase, the researchers intentionally disrupt the temporal dependencies that models typically exploit. This "Power of Chaos" prevents the classifier from "cheating" by predicting the next task based on the previous one. Instead, the model must learn to identify an activity based solely on the immediate sensor vibrations and patterns.
Classification Architecture
The study employs a Transformer-based discriminative model. While Transformers are traditionally valued for their ability to capture long-range dependencies, the SOS approach "re-tunes" the Transformer. By feeding it shuffled data, the attention mechanism is forced to prioritize local, instantaneous features over historical context, making the system more robust to unpredictable real-world transitions.
Experimental Setup
The strategy was evaluated using the OpenPack dataset, a large-scale multimodal benchmark for industrial HAR. The dataset tracks 21 workers performing packaging tasks in a simulated warehouse environment, encompassing 53.8 hours of data across 104 sessions. The activities are categorized into 10 main classes, including picking items, assembling boxes, and scanning labels.
Results and Discussion
The experimental results confirm that the Shuffle Order Strategy consistently outperforms traditional sequential training methods.
Performance Metrics
- Accuracy: The combination of CTGAN and the Random Sequence (RS) strategy achieved the highest mean accuracy of 0.70 ± 0.03.
- F1-Score: The AAE + RS configuration yielded a Macro F1-score of 0.64 ± 0.01, notably outperforming the baseline models trained on the original, non-augmented dataset.
- Comparative Gains: Shuffling improved the accuracy of the CTGAN-generated set by approximately 2% compared to maintaining chronological order.
Qualitative Insights
Attention visualization reveals that models trained under the SOS approach evaluate sensor resources with greater precision. While models trained on ordered data (AS) tend to "scan" for long-range patterns that may not exist in non-linear real-world workflows, the RS-trained models exhibit sharp, focused attention on the specific sensor signals defining the current action. This provides a form of "immunity" to the noise typically found during activity transitions.
Limitations and Future Work
Despite the performance gains, the AAE model with shuffling exhibited a higher standard deviation in accuracy (0.06), suggesting a need for further optimization to improve stability. Additionally, rare "edge case" activities (e.g., the "Others" category, representing less than 5% of the data) were excluded from the current augmentation process to prevent bias. Future research will focus on synthesizing these underrepresented classes and testing the SOS framework across diverse time-series domains beyond industrial packaging.
Conclusion
The Shuffle Order Strategy represents a significant shift in how we approach data augmentation for HAR. By intentionally breaking temporal dependencies, SOS forces deep learning models to become experts in instantaneous recognition. This results in HAR systems that are not only more accurate but also significantly more resilient to the complexities and variabilities of real-world industrial labor.
Summary updated