Comparing Only What People Can Compare: Within-Person Soft Contrastive Learning from Biased Self-Reports

Mobile health models that read mood or stress from phone and wearable sensors are trained on people's own ratings, for example "rate your mood from 1 to 10." Those ratings are biased in ways that depend on the person. One person's "4" is another person's "7." Ratings drift as therapy goes on and participants start telling researchers what they expect to hear. Recall is coloured by how someone feels at the moment of answering. Pooling everyone's raw scores and regressing on them teaches the model these distortions. The usual fixes, such as normalizing each person's scores or giving each person a private output layer, need weeks of data from every new participant before they work.

We propose to stop asking the model to compare raw ratings across people. Instead it should learn only from comparisons that self-reports support: whether a person felt better or worse on Tuesday than on Thursday of the same week. We build these comparisons into soft-label contrastive learning, in which an encoder is trained to place inputs close together in proportion to how similar they are rather than as strict matches or non-matches. The soft similarity between two sensor windows is computed only from the local, within-person ordering of their self-reports. Comparisons across people and across distant times receive no label-derived weight. The resulting embedding can rank a new person's days with no calibration data, and a handful of ratings is enough to map it onto that person's scale.

Core Claim

Suppose a report is $y_{p,t} = g_{p,t}(s_{p,t}) + \epsilon$. Here $s$ is the latent state of person $p$ at time $t$, and $g_{p,t}$ is a monotone "scale-use" function that differs between people and changes slowly over time through drift, demand effects, and recall reconstruction. Under this model, the ordering of two nearby reports from the same person is informative about the latent states. Cross-person differences and long-range differences are not. Per-subject z-scoring corrects only an affine $g_p$ that stays fixed over time. A pooled regression assumes $g$ is the same for everyone. Our claim is that a contrastive objective whose soft targets depend only on the locally identifiable ordering learns a sensor representation of affect that holds across people. It should match or beat personalized methods on held-out people without a burn-in period, and it should degrade gracefully when reports are corrupted by person-specific monotone distortions and slow drift.

Concretely, for an anchor window $i$ we define its comparison set $N(i)$ as other labeled windows from the same person within $\tau$ days. We set soft targets $q_{ij} \propto \exp(-|\rho_i - \rho_j|/\sigma)$ for $j \in N(i)$, where $\rho$ is the percentile rank of a report among that person's reports in the same $\tau$-day window and $\sigma$ sets how sharply similarity decays. We then minimize

$$ \mathcal{L}_{\text{label}} = \sum_i \mathrm{KL}\!\left(q_{i\cdot} \,\Big\|\, \mathrm{softmax}_{j \in N(i)}\big(z_i^\top z_j/T\big)\right), $$

where $z$ is the normalized embedding and $T$ a temperature. This mirrors the KL form of Soft Contrastive Learning for Time Series (SoftCLT), which derives its soft targets from distances in the raw signal. Ours derive from bias-robust label orderings instead. Windows without reports and cross-person pairs enter only through a separate self-supervised SoftCLT-style term that uses temporal and signal similarity, with no reference to ratings.

Relation to Prior Work

Several papers motivate the proposal by documenting the gap. Meta-domain Adversarial Contrastive Learning for Alleviating Individual Bias in Self-sentiment Predictions shows that utterance pairs with similar features carry contradictory self-sentiment labels far more often across users than within a user. That is direct evidence that cross-person label comparisons are the unreliable ones. Its method still aligns users through discrete class-wise contrastive loss and per-user fine-tuning, and its advantage shrinks as label noise rises. We drop cross-user label comparison entirely and use continuous weights. Personalised depression forecasting using mobile sensor data and ecological momentary assessment and Personalized Student Stress Prediction with Deep Multitask Network show that personalization through subject standardization or private output heads helps. They also concede the burn-in and cold-start costs that we aim to remove.

Other papers supply the method. SoftCLT gives the KL-to-soft-assignment objective. CWCL: Cross-Modal Transfer with Continuously Weighted Contrastive Loss shows that continuous weights from a frozen teacher transfer similarity structure across modalities. For sensors no such teacher exists, so our weights come from within-person orderings rather than a pretrained model. What Makes Good Contrastive Learning on Small-Scale Wearable-based Tasks? shows that hard negatives cause "class collision," where windows of the same behaviour are wrongly pushed apart. It also shows that small 1D convolutional encoders beat LSTMs and Transformers on such data, so we adopt one.

One paper constrains the design. Intra-Modal Neighbors Never Lie (IN²R) repairs noisy image–caption pairs by trusting neighbourhoods within one modality. Its authors warn that neighbourhood consensus can smooth away valid minorities. Applied here, "sensor neighbours never lie" would assume that sensors determine mood, which they do not. Two people with identical step counts can feel very differently. We therefore do not relabel reports from sensor neighbours. Sensor-only rectification is instead a baseline that we expect to over-smooth atypical people.

Research Program

The first component is the bias-model check. We fit the identifiability assumption directly: within-person, short-window report orderings should be more consistent with objective anchors than raw cross-person differences. The test uses WESAD, where the experimental protocol supplies conditions (baseline, stress, amusement) independent of the ratings. It also uses StudentLife, where we compare same-week rating orderings against stable behavioural proxies.

The second component is the method. We train a 1D convolutional encoder on multimodal sensor windows with $\mathcal{L}_{\text{label}}$ plus the unlabeled soft temporal term. We sweep the locality window $\tau$ from one day up to the whole study. Using the whole study recovers the assumption of a fixed per-person scale, and the sweep shows whether slow drift matters.

The third component is cold-start inference. For a new person, the embedding is projected by a head shared across people, which gives a zero-shot within-person ranking. Absolute scores come from fitting a monotone (isotonic) map from that person's first $k \in \{0, 3, 7, 14\}$ reports.

The fourth component is controlled corruption. On data with objective anchors, we inject person-specific monotone distortions, social-desirability ceilings, and drift that grows with time in the study. We then measure how each method degrades.

Baselines

The naive reference is a pooled supervised regressor: the same convolutional encoder trained with mean absolute error on raw self-reports across all training people. On MAIKI, Personalised depression forecasting reports a non-personalized daily PHQ-2 MAE of 1.062. We also include hard-InfoNCE pretraining with a linear probe, following Evaluating Contrastive Learning on Wearable Timeseries. That paper reports SimCLR reaching F1-macro 50.8 against 47.7 for supervised training on sleep apnea, which shows that pretraining alone helps.

The strongest existing competitor for absolute accuracy is subject-dependent standardization from the same MAIKI paper, which reports daily PHQ-2 MAE 0.801. It is strongest because it addresses scale use directly. We run it with the same encoder and data, and at test time it may estimate each new person's mean and spread only from the same $k$ reports our isotonic calibration sees. The comparison is fair only under an equal label budget. On StudentLife stress, the personalized multitask CALM-Net reports average F1 0.594, and the spatiotemporal-graph model of Monitoring Behavioral Changes Using Spatiotemporal Graphs reports F1 65.4 ± 3.1. Both use people's own history, so we report them as within-person upper references and do not count them as cold-start competitors.

For cross-user generalization we reimplement MetaDACNN, discretizing ratings for its class-wise loss. The file reports only its relative AUC gains on Hazumi (1.89% and 2.42%). No absolute AUC was found on Lacuna, so we reproduce its baselines ourselves. SoftCLT with weights from the signal alone, and an IN²R-style relabeling from sensor neighbours, complete the set.

Three ablations isolate the key ingredient. The first lets cross-person pairs carry label-derived weights. The second uses z-scored raw differences in place of local ranks. The third sets $\tau$ to the full study. Beating the field means two things. At $k \le 7$ reports, our method must have lower absolute error than subject standardization at the same $k$. At $k=0$, it must achieve higher within-person Spearman correlation on held-out people than every pooled method, with the gap widening under injected drift.

Why not just…?

Why not just z-score each person's reports and train a pooled model? This is the most serious threat. On MAIKI it cuts error by a quarter. Our proposal differs in two testable ways. Z-scoring needs labels from the test person before it can act. It also corrects only a fixed affine distortion, whereas ranks within a local window are invariant to any monotone distortion and cancel slow drift. If the z-scored ablation matches us at every $k$ and under every injected distortion, the honest conclusion is that scale use in these datasets is effectively affine and stationary, and we would report that result.

Why not just train a within-person pairwise ranking loss on a scalar output? This captures the same insight more simply, and it may account for much of the gain. We include it with identical pairs and windows. The contrastive version should win only if a multidimensional embedding, trained jointly with the unlabeled soft term, makes better use of sparse ratings. That advantage should show up most clearly at low compliance. If the two tie, the contribution is the choice of which pairs to compare, and the loss form does not matter.

Why not just give each person their own output head, or meta-learn per user? CALM-Net cannot score new students. MetaDACNN still compares labels across users, and the authors report that its advantage fades as label noise rises. Our corruption experiments directly test whether that sensitivity worsens under person-specific distortion while our method stays flat.

Why not just trust sensors and relabel reports from sensor neighbours? The negative-moderation effects in Assessing Real-Time Moderation show that subjective state carries information that passive data does not. IN²R's own authors flag the risk that neighbourhood consensus smooths away minorities. We expect the relabeling baseline to hurt most for people whose behaviour is atypical relative to their mood, and we report error separately for that subgroup.

Proposed Experiments

The decisive test uses WESAD with leave-one-subject-out splits. Models train on self-report ratings only and are scored on protocol conditions, which sit outside the self-report loop. We repeat this after injecting monotone and drifting distortions into the ratings. Our method should keep its condition-ranking accuracy while pooled regression and z-scoring lose theirs.

On StudentLife and MAIKI, with folds that hold out whole people, we report within-person Spearman correlation at $k=0$ and MAE as $k$ grows. This traces out label-efficiency curves against subject standardization. On Hazumi1902 and Hazumi1911 we test transfer to dialogue self-sentiment under MetaDACNN's user-split protocol, using AUC.

The $\tau$ sweep is the mechanistic check. If performance peaks at short windows and falls as $\tau$ approaches the full study, slow within-person drift is real and our locality is what handles it. If performance does not depend on $\tau$, the per-person fixed-scale picture suffices, and the simpler ranking or z-scoring baselines should be preferred.