Spectrum-Guided Adversarial Disparity Learning

Zhe Liu, Lina Yao, Lei Bai, Xianzhi Wang, Can Wang · DOI

Abstract

Human Activity Recognition (HAR) using wearable sensors is often hindered by intraclass disparity, where individual movement variations make it difficult for models to generalize to unseen subjects. This paper presents the Spectrum-guided Adversarial Autoencoder (SAAE), a framework that decouples activity-specific features from subject-specific disparities. By combining competitive adversarial learning with frequency-domain signal analysis, SAAE achieves state-of-the-art performance in subject-independent scenarios across multiple benchmark datasets.

Introduction

Human Activity Recognition (HAR) is a cornerstone of modern health monitoring and smart environments. However, a persistent challenge in the field is "intraclass disparity." Even for a simple task like walking, different individuals exhibit unique movement patterns influenced by body shape, age, and personal habits. Most traditional models struggle with subject-independent recognition—the ability to accurately classify activities for a person not included in the training data.

To address this, researchers have developed the Spectrum-guided Adversarial Autoencoder (SAAE). This framework aims to "purify" activity representations by explicitly modeling and separating individual variations from the core characteristics of the movement.

Methodology

The SAAE framework employs two primary strategies to improve generalization: Adversarial Disparity Learning and Automated Spectrum Guidance.

1. Adversarial Disparity Learning

Unlike standard autoencoders that use a single latent representation, SAAE utilizes two competitive encoding distributions:

  • Activity Encoder ($q_\phi$): Designed to extract "pure" activity features ($\gamma$) that are consistent across different users.
  • Disparity Encoder ($q_\eta$): Designed to capture the subject-specific variations ($\delta$) or "disparity."

These encoders work in an adversarial setup alongside a discriminator and a denoising decoder. The goal is to ensure that the activity features are stripped of individual quirks, making the resulting latent code robust for classification regardless of the subject's unique movement style.

2. Automated Spectrum Guidance

Sensor data is frequently noisy or contains gaps due to hardware limitations or improper placement. SAAE incorporates domain knowledge from signal processing to handle this. By transforming time-series data into the frequency domain using a Fourier Transform, the model can more accurately assess signal quality.

A learnable "Spectrum Guide" function ($S_\zeta$) calculates weights for different data samples. High-amplitude frequencies are treated as high-information areas, while low-amplitude areas are identified as noise or gaps. This allows the model to dynamically prioritize high-quality data during the training process, a task that is significantly more difficult to perform in the raw time domain.

Experimental Setup

The model was evaluated using a Leave-One-Subject-Out (LOSO) protocol, the industry standard for testing cross-subject generalization. The researchers utilized four major HAR benchmark datasets:

  • MHEALTH: Mobile health data covering sports activities.
  • PAMAP2: Physical activity monitoring data from nine subjects.
  • UCIDSADS: Daily and sports activities with varying intensities.
  • OPPORTUNITY: Complex hand and gesture activities in a home environment.

Results and Discussion

SAAE consistently outperformed established baselines, including Multi-Channel CNNs (MC-CNN) and Bi-Directional LSTMs (Bi-LSTM). Key findings include:

  • Superior Accuracy: SAAE improved F1-scores by 2% to 6% across all four datasets compared to the best-performing baselines.
  • Enhanced Robustness: The model demonstrated a significantly lower standard deviation in accuracy across different subjects. This suggests that SAAE provides a more reliable user experience for new, unseen individuals.
  • Ablation Insights: Comparisons with a variant called iAAE (SAAE without the spectrum guide) showed that while adversarial learning is powerful on its own, the frequency-domain guidance provides an additional ~1% performance boost per subject, confirming the value of signal-processing domain knowledge.

Conclusion

The Spectrum-guided Adversarial Autoencoder (SAAE) represents a significant step forward in making HAR systems truly subject-proof. By treating individual disparity as a learnable component rather than noise and leveraging the clarity of the frequency domain for quality control, the framework ensures high performance on new users. Future work will focus on refining the heuristic elements of the spectrum analysis and adapting the model for real-world scenarios involving overlapping activities and inconsistent sensor placements.

Summary updated

BibTeX
@inproceedings{liu2020spectrum,
  author = {Zhe Liu and Lina Yao and Lei Bai and Xianzhi Wang and Can Wang},
  title = {{Spectrum-Guided Adversarial Disparity Learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2020},
  doi = {10.1145/3394486.3403054},
}
Figure