Manuscript Offprint

arXiv:2610.19411

W-JEPA: Wavelet Joint-Embedding Predictive Architecture for Wearable Activity Recognition

Yogesh Prabhu, Loki Natarajan, Jingjing Zou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yogesh Prabhu1^{1}, Loki Natarajan2^{2}, Jingjing Zou2,3,4,∗^{2,3,4,*}

University of California San Diego

A major challenge in wearable device activity recognition is the heterogeneity across datasets in sensor placement, channel count, sampling rate and subjects. Moreover, the motion patterns that distinguish activities often appear as subtle, scale-specific variations within otherwise similar waveforms. As a result, raw signals are often ambiguous, and models trained on them tend to rely on cues specific to a particular sensor setup or participant, which limits both cross-dataset transfer and generalization to unseen participants. Addressing this requires representations that preserve such activity-relevant, scale-specific variation. We introduce W-JEPA, a self-supervised framework that exploits the multiscale structure of inertial motion and leverages a joint-embedding predictive architecture, by organizing windows into a fixed grid of wavelet tokens indexed by scale, sensor axis, and time. These wavelet tokens help expose activity-specific detail within broadly similar raw signals, and serve as the units of masked latent prediction. W-JEPA predicts masked token representations supplied by an exponential-moving-average (EMA) target encoder. Because recovering a masked token requires relating motion at one scale and axis to motion at other scales and axes, the model learns the cross-scale, cross-axis structure of human movement. Across six wearable activity benchmarks, W-JEPA outperforms state-of-the-art methods under random-window splits and remains the strongest when subjects are held out, improving average macro-F1 by 8.7 percentage points over the strongest published baseline. These results indicate that physically grounded multiscale tokenization, combined together with latent predictive learning, provides a promising foundation for transferable representations of heterogeneous wearable inertial data.

Website: https://yogesh914.github.io/wjepa

Code Repository: https://github.com/Yogesh914/wjepa

Hugging Face: https://huggingface.co/zou-research-lab/wjepa

1. Introduction

Public wearable datasets provide substantial unlabeled recordings for learning representations of human motion, but they differ in sensor placement, channel count, sampling characteristics, participants, and activity vocabularies (Chen et al., 2021). A useful representation must therefore capture which activity is being performed, independent of how and on whom it was recorded. This is difficult because the information that separates activities is often small. Similar physical activities can produce nearly the same rhythmic, periodic pattern in raw sensor recordings and differ mainly in the finer temporal structure within each movement cycle (Kim et al., 2021; Tian et al., 2020). Because this detail is small relative to differences in sensor setup and individual movement style, a model trained on raw signals can fit its training data using cues tied to the setup or to particular participants. Such cues support strong performance on familiar participants but may not carry over to people unseen during training. In our experiments, every method loses at least 14

1^{1}Department of Computer Science and Engineering, University of California San Diego (UCSD).

2^{2}Herbert Wertheim School of Public Health and Human Longevity Science, University of California San Diego (UCSD).

3^{3}UCSD Shiley-Marcos Alzheimer's Disease Research Center.

4^{4}UCSD Moores Cancer Center.

∗^{*}Corresponding author(s): Jingjing Zou (j2zou@ucsd.edu).

(a)

Figure

(b)

(c)

Figure 1: Wavelet tokens reveal differences between similar activity signals. (a) Sample window of horizontal and vertical exercise-bike cycling from a DSADS participant's left leg gyroscope z-axis exhibit similar raw waveforms. (b) The reconstructed db4 D3D_{3} component reveals larger pronounced oscillations during horizontal cycling in this pair. (c) Mean RMS of the second D3D_{3} token across 59 windows per activity and participant, with higher values for horizontal cycling in all eight participants. More details appear in Appendix D.1.

points of average macro-F1 when evaluation moves from random windows to held-out participants ( §4.1§4.1). Broad movement patterns and fine activity-specific detail, however, tend to occupy different timescales. A representation that separates motion by timescale can keep this detail from being masked by larger variation in the signal, while still allowing broad patterns to inform recognition.

Figure 1 shows an example of two labels from the DSADS dataset that are easy to confuse. Panel (a) shows horizontal and vertical exercise-bike cycling from the same participant. The two raw waveforms nearly overlap, with a Pearson correlation of 0.992. Their reconstructed D3D_{3} wavelet components, however, reveal pronounced oscillations during horizontal cycling (panel b). Across all eight participants, the D3D_{3} token has higher mean RMS for horizontal cycling than for vertical cycling (panel c). The information that separates the two activities is present in the signal and becomes visible once this scale is isolated. Self-supervised pretraining could learn such distinctions from unlabeled recordings, but masked-modeling approaches for wearables typically hide and predict raw temporal patches (Ryu et al., 2025; Noor & Baraka, 2026), which mix all timescales within each interval. This raises the question we study: how should the units of latent prediction be defined to preserve activity-specific detail while learning transferable motion representations from heterogeneous wearable signals?

We propose W-JEPA, which answers this question by using fixed wavelet tokens as the units of masked latent prediction. A discrete wavelet transform separates each sensor axis into localized components at individual timescales (Daubechies, 1992), and W-JEPA summarizes each resulting band with tokens indexed by scale, sensor axis, and time (Figure 2a). The tokenizer is fixed, meaning no part of it is fit to the pretraining datasets. Because all recordings are resampled to a common rate, each band covers the same nominal frequency range in every dataset, so a token at a given scale carries the same physical meaning across sensor setups. The token grid grows with the number of channels, and only a learned channel embedding depends on the sensor layout. Datasets with different layouts therefore share a common set of prediction units and differ only in how many channels they contribute.

During pretraining, a random subset of tokens is masked. A context encoder processes the visible tokens, and a predictor estimates the latent features that an EMA target encoder assigns to the masked positions (Figure 2b). Predicting in latent space means the model is not asked to reproduce raw sample values, whose amplitude and phase can vary with participant and sensor placement. Masks are drawn independently across channels and bands, so recovering a masked token encourages the model to relate motion at one scale on one axis to motion at other scales on other axes. Because each scale has its own tokens, fine activity-specific detail becomes a prediction target in its own right instead of a small component of a patch dominated by larger variation.

We evaluate W-JEPA on six wearable activity benchmarks. For each target dataset, we pretrain on the remaining five and fine-tune on two to six of its participants. W-JEPA achieves the highest mean accuracy and macro-F1 on every dataset under both subject-disjoint and random-window splits. With participants held out, its average macro-F1 is 80.6, a 12.1% relative improvement over the strongest published baseline at 71.9. The wavelet tokenizer accounts for most of this margin. Replacing it with raw temporal patches lowers average macro-F1 by 7.6 points under participant holdout, compared with 2.9 points under random windows. The tokenizer therefore contributes more than twice as much when test participants are unseen, consistent with wavelet tokens reducing reliance on participant-specific cues.

Our contributions are as follows:

• Wavelet tokens as prediction units. A fixed tokenizer that maps each inertial window to tokens indexed by scale, sensor axis, and time. Each band covers the same frequency range in every dataset, and only a channel embedding depends on the sensor layout. Prior work uses wavelets as classification features, forecasting tokens, or reconstruction targets, W-JEPA uses wavelet tokens as units of masked latent prediction over multi-axis inertial data ( §3.1§3.1).

• W-JEPA. A masked latent-prediction framework over these tokens. Masks are drawn independently across channels and bands, so predicting a masked token requires relating motion across scales and axes without reconstructing raw signal values ( §3.2§3.2).

• Cross-dataset evaluation under participant holdout. With each target excluded from pretraining, W-JEPA outperforms eight baselines on six benchmarks under both subject-disjoint and random-window splits, and it loses the least performance when test participants are unseen ( §4.1§4.1). Its lead holds when fine-tuning is restricted to wrist sensors ( §4.3§4.3).

• Evidence that the wavelets matter. Replacing wavelet tokens with raw temporal patches lowers subject-disjoint macro-F1 on every dataset, especially when few training participants are available ( §4.2§4.2). Without wavelet tokens, 41.5% of horizontal exercise-bike windows are classified as vertical cycling, compared with 0.8% with them ( §4.2§4.2).

References (58)