Human activity recognition
What Is Human Activity Recognition?
Human activity recognition, abbreviated HAR and also called human action recognition, is the automatic inference of what a person is doing from sensor measurements of their movement or of the environment around them. A recognition system takes a continuous stream of accelerometer readings, video frames, radio signals, or similar data and assigns labels such as walking, sitting, climbing stairs, preparing a meal, or falling, together with the time interval over which each label applies. It is a specialization of the broader problem of activity recognition, restricted to human subjects, and it sits at the intersection of pattern recognition, signal processing, ubiquitous computing, and biomechanics.
Two things make the problem difficult. Activities have no canonical boundaries in time, so segmentation and classification must be solved together, and the same nominal activity looks different across people, sensor placements, and devices. A model trained on one cohort wearing sensors at the wrist frequently degrades when applied to another cohort wearing them at the hip.
Sensing Modalities
Three families of sensing dominate. Wearable inertial sensing uses accelerometers, gyroscopes, and magnetometers embedded in phones, smartwatches, and research-grade loggers, giving continuous coverage at low power and without cameras. Vision-based recognition works from video, depth cameras, or extracted skeleton joint trajectories, which capture fine-grained manipulation and interaction with objects that inertial sensors cannot see. Device-free ambient sensing infers movement from perturbations in WiFi channel state information, radar returns, pressure mats, or passive infrared arrays, avoiding any requirement that the subject carry equipment. Many deployments fuse modalities, since inertial data resolves gait cadence well while video resolves object context, and the failure modes of the two are largely independent.
Recognition Pipelines
Classical pipelines segment the signal into overlapping sliding windows of a few seconds, compute handcrafted statistical and spectral features such as mean, variance, correlation between axes, and dominant frequency, then classify each window with a decision tree ensemble, support vector machine, or hidden Markov model. Deep learning replaced most of the feature engineering step. Convolutional layers learn local temporal filters, recurrent layers or temporal convolutions model longer dependencies, and attention-based architectures capture relationships across sensor channels. Labeled activity data is expensive to collect, so self-supervised pretraining has become a common remedy: models trained on 700,000 person-days of unlabeled wearable data from the UK Biobank transfer to downstream recognition tasks with substantially better accuracy than models trained from scratch on small labeled sets.
Evaluation and Generalization
Benchmarks anchor the field's progress claims. Wearable datasets such as OPPORTUNITY and PAMAP2 provide multi-sensor recordings with frame-level annotation, while video benchmarks supply large labeled clip collections. The NIST Activities in Extended Video evaluation series grades systems on detecting and temporally localizing activities in long multi-camera surveillance footage, scoring a detection as correct only when both the activity type and the temporal overlap are right, which is a stricter test than clip-level classification. Reported accuracy depends heavily on how the evaluation splits data, since random splits leak subject-specific patterns between training and test sets. Work on generalizable activity recognition surveys the resulting distribution shift problems across subjects, sensor positions, and devices, and the domain adaptation and domain generalization methods proposed to address them.
Applications
Human activity recognition has applications in a range of fields, including:
- Health monitoring and rehabilitation, including gait assessment and adherence tracking
- Elder care, particularly fall detection and detection of change in daily routine
- Consumer fitness tracking and automatic exercise logging
- Occupational safety and industrial ergonomics, for identifying hazardous postures
- Video surveillance and forensic search of long recordings
- Sports performance analysis and technique classification
- Human-robot interaction, where a robot must anticipate a collaborator's next action
- Smart building control driven by occupancy and activity context