Distributionally Robust Semi-Supervised Learning for People-Centric Sensing

Kaixuan Chen, Lina Yao, Dalin Zhang, Xiaojun Chang, Guodong Long, Sen Wang

TL;DR

Standard semi-supervised learning assumes that labeled and unlabeled data come from the same distribution, but human sensing data (like EEG or gait) varies wildly between individuals. This paper introduces a distributionally robust model that uses adversarial training and a novel consistency loop to bridge this "distribution shift," significantly improving accuracy across diverse people-centric sensing tasks.

What Problem Does This Paper Address?

People-centric sensing—using wearables, biosensors, and mobile devices to track health or activity—is a powerful field, but it faces a massive "labeling burden." Manually annotating sensor data is expensive, invasive, and often difficult to automate. Semi-supervised learning (SSL) is the standard solution, leveraging a small amount of labeled data alongside a large pool of unlabeled data.

However, standard SSL relies on a flawed assumption: that labeled and unlabeled data are drawn from the same distribution. In reality, human data suffers from distribution shift. Because of diverse biological conditions and behavior patterns, data from "Subject A" (labeled) looks very different from "Subject B" (unlabeled). This shift causes standard models to fail when they encounter new users.

Methods

The authors propose a model designed to handle two conflicting characteristics of human data: person-specific discrepancy (the differences between individuals) and task-specific consistency (the underlying patterns that define an activity regardless of who is doing it).

The architecture consists of five main components:

  1. Encoder ($f_e$): Maps raw input data into a latent feature space.
  2. Label Predictor ($f_y$): Performs the actual classification task.
  3. Distribution Predictor ($f_s$): An adversarial component that tries to distinguish whether a feature came from the labeled or unlabeled set.
  4. Dual Decoders ($f_{dL}, f_{dU}$): Separate decoders for the labeled and unlabeled domains used to reconstruct inputs.
Figure 1: The overview of the proposed model. We define three components of the training procedure: (a) person-specific discrepancy, (b) task-specific consistency, (c) prediction. Four losses are proposed for the objective: the adversarial loss La to reduce person-specific discrepancy, the reconstruction loss Lrec and the latent consistency loss Lcon to preserve task-specific consistency and the prediction loss Ly. When minimizing the losses, only the activated parts are trained (indicated as solid lines) while the rest remain fixed (indicated as dashed lines). Red, blue and green denote the training procedures that are associated with the labeled samples, unlabeled samples, and a mixture of all the training samples, respectively.

The training process uses a multi-part loss function:

  • Adversarial Loss ($L_a$): Forces the encoder to learn features that fool the distribution predictor, effectively "washing out" individual differences to reduce person-specific discrepancy.
  • Reconstruction & Consistency Loss ($L_{rec}, L_{con}$): To prevent the encoder from losing task-relevant information while trying to fool the adversary, the model uses decoders to create a "consistency loop." It ensures that features remain stable even when "translated" between the labeled and unlabeled domains.

Datasets

The model was evaluated on four real-world, people-centric sensing benchmarks:

  • EEG Dataset: Intention recognition (left/right fist) from 108 subjects.
  • EMG Dataset: Muscular movement recognition (knee exercises) from 11 subjects.
  • MHEALTH: Human activity recognition (12 activities) using multimodal wearable sensors on 10 participants.
  • Opportunity Gesture: Recognition of 17 different gestures (e.g., opening a door) using body-worn and ambient sensors.

Key Insights and Ideas

  • The "Two-Faced" Balance: The core innovation is the realization that adversarial training alone is too aggressive. While it removes person-specific noise, it can also delete the very features needed for classification. The consistency loss acts as a vital anchor, ensuring the model retains task-specific information.
  • Latent Similarity: Unlike some domain adaptation methods that only look at the raw input shift, this model focuses on the conditional distribution—ensuring that the meaning of the features (the task) remains consistent across different people.
  • Scalability: The model's performance improves as the diversity of the labeled subjects increases, suggesting it effectively learns to generalize across human variability.

Key Results

The proposed model consistently outperformed eight state-of-the-art methods, including standard SSL (like Tri-Net) and domain adaptation techniques (like DANN and CycleGAN).

  • EEG: Achieved 77.01% accuracy, a significant jump over the baseline CNN (66.62%) and the best competing domain adaptation method, CYCADA (73.29%).
  • Opportunity: Reached 62.27% accuracy, compared to just 48.56% for a standard CNN and 59.23% for CycleGAN.
  • Ablation Study: The authors proved that combining both adversarial and consistency losses was essential; using either one alone resulted in significantly lower performance (e.g., on EEG, the full model hit ~77%, while leaving out consistency dropped it to ~70%).

Limitations and Future Work

  • Threshold Sensitivity: The model relies on two specific thresholds ($threa$ and $threrec$) to balance the "min-max" game between the encoder and the adversary. The paper shows that if the adversary is too strong, it distracts the encoder from learning discriminative features.
  • Unlabeled Data Density: While adding more labeled subjects helps, the authors noted that "too scattered" unlabeled data can occasionally be detrimental to training, suggesting a need for future work on filtering or weighting unlabeled samples.
  • Computational Complexity: The use of dual decoders and adversarial training increases the training burden compared to simpler SSL methods, though this is not explicitly quantified in the paper.

Summary updated

BibTeX
@inproceedings{chen2019distributionally,
  author = {Kaixuan Chen and Lina Yao and Dalin Zhang and Xiaojun Chang and Guodong Long and Sen Wang},
  title = {{Distributionally Robust Semi-Supervised Learning for People-Centric Sensing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33013321},
}
Figure