Introduction
Wearable biosensors, such as smartwatches, offer a non-invasive and cost-effective way to monitor physiological states like stress. However, a significant challenge in this domain is subject-to-subject variability. Baseline physiological metrics—including heart rate, skin temperature, and electrodermal activity—differ significantly between individuals. When deep learning models are trained on a limited pool of subjects, they often overfit to these individual biological quirks, leading to poor generalization on unseen users.
Standard approaches like adversarial domain adaptation attempt to solve this by erasing subject-specific information. This paper proposes a different strategy: instead of destroying this information, it is more effective to disentangle it from task-relevant data, preserving it as a contextual reference.
The Disentanglement Framework
The core of the proposed method is a neural network architecture that explicitly splits the learned latent representation $z$ into two distinct sub-parts: $z_a$ (task-related) and $z_n$ (nuisance/subject-related).
To enforce this separation, the encoder is jointly trained with three distinct network heads:
- The Adversary Network: This head attempts to predict the subject's ID from $z_a$. The encoder is trained to "fool" this network, effectively stripping subject-identifying information from the task-specific subspace.
- The Nuisance Network: This head also predicts subject ID but uses $z_n$ as input. Here, the encoder is trained to "help" the network, forcing all subject-specific quirks into this dedicated subspace.
- The Main Classifier: This head uses the combined representation ($z_a + z_n$) to predict the target task label, such as stress level.
By balancing these objectives through tunable hyperparameters ($\lambda_A$ and $\lambda_N$), the framework ensures that universal physiological markers are routed to $z_a$ while individual biological traits are isolated in $z_n$.
Experimental Setup
The framework was evaluated using a public physiological biosignal dataset for stress assessment. The dataset included data from 20 healthy individuals across four stress states: physical, cognitive, emotional stress, and relaxation. Inputs consisted of seven channels (EDA, temperature, 3-axis acceleration, heart rate, and arterial oxygen level) collected via wrist-worn sensors. The model was tested using a leave-one-subject-out cross-validation approach to measure its ability to generalize to completely unseen users.
Results and Discussion
The proposed disentangled model demonstrated superior performance in both feature separation and task accuracy. In a standard non-adversarial model, subject ID could be guessed from features with 71.13% accuracy. With the proposed framework, the adversary's accuracy on $z_a$ dropped to 7.90%, while the nuisance network captured subject info in $z_n$ with 55.54% accuracy.
Beyond raw accuracy—which improved from a baseline of 79.88% to 80.66%—the model showed significantly increased stability. As shown in the box-plot results (Figure 2), the disentangled adversarial model raised the "worst-case" accuracy across the 20 held-out subjects and reduced performance variance. This suggests that by retaining subject-specific features in $z_n$, the model can better project new users into a known latent space, using similarities to training subjects as a reference frame for decoding.
Conclusion
This work demonstrates that isolating domain-specific "nuisance" information is more effective than pure suppression for physiological signal processing. While the current implementation uses simple Multilayer Perceptrons, the framework is architecture-agnostic and could be extended to more complex models like CNNs or RNNs to capture temporal dynamics in future biosignal research.
Summary updated