betaFeedback

WorksComputer Science

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

Abstract

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

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 [11]. 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 [24, 38]. 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 points of average macro-F1 when evaluation moves from random windows to held-out participants (§ 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 [35, 29], 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?

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 § 9.§ 1.

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 [12], 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.

W-JEPA architecture showing wavelet tokenization, masking, and masked latent prediction

Figure 2. W-JEPA. (a) Wavelet tokenization and masking. Rows are sensor channels and columns are wavelet bands A4A_4–D1D_1, ordered from coarse to fine. Each channel and wavelet band combination produces two temporal tokens, shown as a single cell for clarity and masked together; black cells indicate masked token pairs. (b) Masked latent prediction. The predictor estimates representations at masked positions from visible-token context, with targets supplied by an EMA target encoder.

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).

  • 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).

  • 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). Its lead holds when fine-tuning is restricted to wrist sensors (§ 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). Without wavelet tokens, 41.5% of horizontal exercise-bike windows are classified as vertical cycling, compared with 0.8% with them (§ 4.2).

Related Work

Self-supervised pretraining for wearables has explored many training objectives, but the unit of prediction has received less attention. Existing units are either contiguous intervals of raw samples, which mix all motion scales, or codes learned from the pretraining data, whose meaning depends on that data. W-JEPA uses units that are fixed in advance and separated by scale. We review the work this choice builds on.

Wavelets for activity recognition. Wavelets separate nonstationary signals into components localized in both time and scale ([12]), whereas Fourier components, used for example in the adaptive spectral blocks of TSLANet (Eldele et al., [16]), extend over the whole window. Wavelet energy features and wavelet inputs to convolutional networks have long been used for supervised activity recognition ([38, 39]). In forecasting, WaveToken quantizes wavelet coefficients into a vocabulary for autoregressive prediction (Masserano et al., [28]). In self-supervised pretraining, Thukral et al. [37] reconstructs masked wavelet coefficients of PPG signals, which still requires reproducing coefficient values whose amplitudes vary across participants. These methods use wavelets as features, forecasting tokens, or reconstruction targets. To our knowledge, prior work has not used wavelets to define the units of masked latent prediction for multi-axis inertial data. Each token is addressed by scale, sensor axis, and time, so a mask can hide one scale on one axis while others stay visible, and the model predicts learned representations rather than coefficients.

Prediction units and targets in wearable self-supervision. Contrastive and bootstrap methods relate augmented views of a window ([14, 18, 20, 46]). Their performance depends strongly on the choice of augmentation ([31]), which can remove the fine detail that separates similar activities. Masked modeling makes the unit explicit. Most wearable methods reconstruct masked sensor values or temporal patches ([43, 22, 41, 35]), which requires reproducing amplitude and phase details that vary with participant and sensor placement. MoPFormer instead predicts codes from a learned vocabulary of motion primitives ([44]), so its units depend on the pretraining data. Joint-embedding predictive architectures replace reconstruction with the prediction of learned representations ([25, 4, 9]) and have been extended to time series, skeletal actions, and EEG ([17, 1, 19]). HAR-JEPA brings this idea to activity recognition with temporal-patch units ([29]). Latent targets remove the burden of signal reconstruction, but temporal patches still mix all motion scales within each interval. W-JEPA keeps the latent target and replaces the unit with wavelet tokens indexed by scale, sensor axis, and time.

Generalization across datasets and participants. Differences in sensor placement, device, sampling protocol, and participant behavior limit transfer in wearable activity recognition ([11, 27]). Recent methods address this through physics-informed augmentation ([42]), hierarchical pretraining with augmentation ([23]), or alignment with language ([47, 13]). These methods change the training signal. W-JEPA changes the unit of representation, so that a token at a given scale covers the same frequency band in every dataset, and the two directions are complementary. Evaluation matters as well. Placing windows from the same participant in both training and test sets overstates performance ([21]). We therefore treat participant-disjoint results as the primary evaluation, and we also exclude each target dataset from pretraining (§ 4.1).

Method

Figure 2 summarizes W-JEPA. Given an inertial window x∈RC×Tx \in\mathbb{R}^{C \times T} with CC sensor channels (one per sensor axis) and TT samples, a fixed wavelet tokenizer maps xx to a grid of tokens indexed by channel, wavelet band, and time bin (§ 3.1). During pretraining, a random subset of channel–band token pairs are masked. A context encoder reads the visible tokens, a predictor estimates a latent target at each masked position, and an EMA target encoder computes those targets from the full token sequence. The encoders, predictor, and EMA update follow standard JEPA ([25, 4, 9]).

The tokenizer supplies the structured prediction space. As mentioned before, Figure 1 shows that detail bands expose fluctuations between hard to distinguish labels. Summarizing each wavelet band separately makes these finer details available to the encoder alongside lower-frequency signal components. Masked prediction can then use relationships among the visible scales, channels, and time bins. This is the motivation for the design; the tokenizer comparison in § 4 evaluates its effect on recognition performance. The design choices follow from this view. W-JEPA’s changes lie in the tokenizer (§ 3.1) and in the masking scheme and objective (§ 3.2).

Wavelet tokenization

An inertial window can contain slow variations, rhythmic motion, and brief transients. A discrete wavelet transform separates these timescales while retaining temporal localization [12]. Tokenizing along those bands means every token arrives with a physically meaningful address: a scale, a sensor axis, and a moment in time.

Channel and band axes. Let C={1,…,C}\mathcal{C} = \{1,\ldots,C\} index the available sensor channels. Figure 2a illustrates the common six-channel case {Ax,Ay,Az,Gx,Gy,Gz}\{A_x,A_y,A_z,G_x,G_y,G_z\}, where A and G denote accelerometer and gyroscope channels. For every c∈Cc \in\mathcal{C}, a four-level Daubechies-4 discrete wavelet transform with reflective boundary extension produces four detail-coefficient sequences dc,1,…,dc,4d_{c,1},\ldots,d_{c,4} and one approximation-coefficient sequence ac,4a_{c,4} [40]. We call these five sequences wavelet bands and index them from fine to coarse. The wavelet bands provide a fixed organization of the signal by timescale. Within each band, RMS summarizes coefficient magnitude, while the mean retains signed coefficient information. These statistics provide scale-specific descriptors for token construction.

Token construction. Each of the five coefficient sequences is divided into PP contiguous bins of approximately equal length, so that every band yields the same number of bins regardless of how many coefficients it holds. Let qckbq_{ckb} hold the coefficients in bin b∈{1,…,P}b \in\{1,\ldots,P\} of band k∈{1,…,5}k \in\{1,\ldots,5\} for channel cc. We summarize each bin by two statistics, its mean μckb\mu_{ckb} and its RMS magnitude rckbr_{ckb}:

μckb=1∣qckb∣∑v∈qckbv,rckb=1∣qckb∣∑v∈qckbv2+10−6.(1)\mu_{ckb} = \frac{1}{\lvert q_{ckb}\rvert}\sum_{v\in q_{ckb}} v,\qquad r_{ckb} = \sqrt{\frac{1}{\lvert q_{ckb}\rvert}\sum_{v\in q_{ckb}} v^2 + 10^{-6}}. \tag*{(1)}

Together, these summarize scale-specific signal magnitude and preserve signed coefficient information. We use P=2P = 2 bins per band. A two-layer MLP g:R2→R384g : \mathbb{R}^{2} \to\mathbb{R}^{384} maps this pair to a content embedding, and learned embeddings of the channel, band, and bin indices supply the token’s address: uckb=g([μckb,rckb])+ecch+ekband+ebbinu_{ckb} = g([\mu_{ckb},r_{ckb}]) + e_c^{\mathrm{ch}} + e_k^{\mathrm{band}} + e_b^{\mathrm{bin}}. Flattening the grid gives a sequence of N=5CPN = 5CP tokens, in which each position corresponds to exactly one triple (c,k,b)(c,k,b). Of the learned components in the token embedding, only ecche_c^{\mathrm{ch}} depends on the sensor layout, which is what makes the adaptation in downstream finetuning cheap.

Masked latent pretraining

W-JEPA masks after tokenization and predicts learned representations of the masked tokens. The latent targets allow the training objective to operate on features learned by the target encoder, with no raw-sample reconstruction term. For window ii, let Mi\mathcal{M}_i denote the masked token positions and Vi\mathcal{V}_i their visible complement.

Asynchronous paired-token masking. Each channel and wavelet-band combination produces two temporal tokens. We group these tokens into G=N/2G = N/2 disjoint pairs {Pg}g=1G\{\mathcal{P}_g\}_{g=1}^{G}, where each pair contains the two tokens from the same channel and wavelet band. Given a mask ratio ρ\rho, we uniformly sample a subset Si\mathcal{S}_i of ∣Si∣=⌊ρG⌋\lvert\mathcal{S}_i\rvert= \lfloor\rho G\rfloor pairs, with a fresh draw per window, and mask both tokens in each selected pair, yielding Mi=⋃g∈SiPg\mathcal{M}_i = \bigcup_{g\in\mathcal{S}_i}\mathcal{P}_g. Masking remains asynchronous across channels and bands: selecting one pair does not require masking other channels or bands. This preserves complementary information in the visible context and encourages the predictor to exploit dependencies across sensors, axes, and wavelet scales. MoCA similarly finds that independently masking sensor axes improves reconstruction pretraining relative to synchronized masking [35]. Within each pair, masking both temporal tokens prevents the predictor from relying on the other token from that same pair. Figure 2a illustrates our paired-token mask.

Objective. Let pij∈RDp_{ij} \in\mathbb{R}^{D} be the predictor output and zˉij∈RD\bar{z}_{ij} \in\mathbb{R}^{D} the normalized latent target at masked token position jj. For batch size BB, the prediction loss is

Lpred=1B∑i=1B1∣Mi∣D∑j∈Mi∥pij−zˉij∥1.(2)\mathcal{L}_{\mathrm{pred}} = \frac{1}{B}\sum_{i=1}^{B}\frac{1}{\lvert\mathcal{M}_i\rvert D}\sum_{j\in\mathcal{M}_i}\lVert p_{ij}-\bar{z}_{ij}\rVert_1. \tag*{(2)}

To discourage representation collapse, we add the variance hinge from VICReg without its covariance term [8]. Let σir\sigma_{ir} be the sample standard deviation across predictions {pij:j∈Mi}\{p_{ij}:j\in\mathcal{M}_i\} in feature coordinate rr. We define

Lvar=1BD∑i=1B∑r=1Dmax⁡(0,1−σir),Lpre=Lpred+0.0625Lvar.(3)\mathcal{L}_{\mathrm{var}} = \frac{1}{BD}\sum_{i=1}^{B}\sum_{r=1}^{D}\max(0,1-\sigma_{ir}),\qquad\mathcal{L}_{\mathrm{pre}} = \mathcal{L}_{\mathrm{pred}} + 0.0625\mathcal{L}_{\mathrm{var}}. \tag*{(3)}

The spread is computed within each window over its own masked positions, so the hinge asks that a single window’s predictions vary across scales and axes. In a diagnostic comparison, substituting SIGReg [5] while holding the rest of the pipeline fixed costs accuracy (Appendix Table 6). For downstream fine-tuning, a target dataset with CtarC_{\mathrm{tar}} channels, the same tokenizer produces N=5CtarPN = 5C_{\mathrm{tar}}P token positions. The target encoder and predictor are discarded, and the context encoder is fine-tuned end-to-end with a classification head on all available channels.

Experiments

We ask three questions. Does W-JEPA, pretrained on other datasets, recognize activities of participants unseen during fine-tuning? Does its advantage hold when the target sensor layout is restricted (§ 4.3)? And what do wavelet tokens contribute beyond the JEPA objective (§ 4.2)?

Main Results

Datasets and pretraining pool. We evaluate on PAMAP2 ([33] (Reiss & Stricker 2012)), DSADS ([10, 2]), MHealth ([6, 7]), RealWorld ([36]), UCI-HAR ([34, 3]), and USC-HAD ([45]). Appendix § 6 describes each dataset. For each target, the remaining five datasets form the unlabeled pretraining pool, matching MoPFormer’s setup ([44]). Each source contributes the same six-channel view: the xx, yy, and zz axes from one accelerometer and one gyroscope, while downstream fine-tuning uses all configured target channels. All recordings are resampled to 100 Hz and segmented into non-overlapping windows of T=500T = 500 samples (5 seconds). We do not apply channel normalization.

Evaluation splits. Our primary evaluation uses subject-disjoint splits: all windows from a participant belong exclusively to either downstream fine-tuning or testing. The target dataset is also excluded from pretraining. For comparison, we evaluate all methods under a random-window protocol that assigns 20% of windows within each activity class to training and 80% to evaluation; this protocol can place the same participant in both partitions. We report accuracy and macro-F1 over five random seeds, with dataset averages weighted equally. Sample and participant counts for the subject-disjoint splits are given in Appendix Table 5.

Baselines. We compare with eight baselines, all re-run with the same preprocessing, splits, and seeds: BYOL ([18]) with the permutation-and-jitter (perm_jit) and low-frequency-component (lfc) augmentations from Qian et al. [31] and with temporal mixup ([15]); ModCL, a contrastive method guided by modality consistency ([20]); MoPFormer, which also pretrains across datasets ([44]); CALANet, an efficient HAR architecture ([30]); TSLANet, a general time-series backbone ([16]); and HAR-JEPA, applies JEPA to wearable activity recognition ([29]). W-JEPA (no wavelets), described in § 4.2, isolates the tokenizer.

Results. Table 1 evaluates recognition on participants excluded from training and Table 2 reports the random-window evaluation. W-JEPA achieves the highest mean accuracy and macro-F1 on every dataset under both setups, although its margin varies by dataset. Comparing these tables shows how much random-window evaluation overstates performance on new people. TSLANet falls the most, while HAR-JEPA remains the strongest baseline. W-JEPA falls by the least of any method.

MethodMetricPAMAP2DSADSMHealthRealWorldUCI-HARUSC-HAD
BYOL + perm_jitAcc.65.65±3.6865.65 \pm3.6864.66±5.5964.66 \pm5.5957.70±19.6857.70 \pm19.6867.59±0.5367.59 \pm0.5374.49±2.7874.49 \pm2.7857.81±3.1557.81 \pm3.15
F165.33±4.6565.33 \pm4.6563.99±6.1263.99 \pm6.1251.32±20.5751.32 \pm20.5762.99±0.4562.99 \pm0.4571.43±2.9871.43 \pm2.9853.71±2.6953.71 \pm2.69
BYOL + lfcAcc.72.01±3.3272.01 \pm3.3265.13±3.2765.13 \pm3.2773.10±1.2573.10 \pm1.2565.42±1.3765.42 \pm1.3777.36±3.4877.36 \pm3.4859.48±3.7059.48 \pm3.70
F172.16±3.5672.16 \pm3.5663.79±4.6463.79 \pm4.6473.46±0.5173.46 \pm0.5159.87±1.5159.87 \pm1.5176.21±3.7676.21 \pm3.7657.63±2.7157.63 \pm2.71
BYOL + MixupAcc.72.94±2.0072.94 \pm2.0065.74±5.7365.74 \pm5.7374.13±3.4174.13 \pm3.4164.31±1.7464.31 \pm1.7475.82±4.6875.82 \pm4.6858.09±1.4558.09 \pm1.45
F173.30±2.0873.30 \pm2.0864.25±6.9164.25 \pm6.9173.76±3.7773.76 \pm3.7758.92±1.9958.92 \pm1.9972.89±5.8672.89 \pm5.8656.43±1.0956.43 \pm1.09
ModCLAcc.72.52±2.1872.52 \pm2.1861.00±1.5561.00 \pm1.5569.53±5.4769.53 \pm5.4766.25±2.6466.25 \pm2.6481.35±5.4381.35 \pm5.4355.75±5.6955.75 \pm5.69
F172.32±2.7972.32 \pm2.7959.83±2.0359.83 \pm2.0368.16±6.1268.16 \pm6.1264.92±2.0464.92 \pm2.0481.02±5.4581.02 \pm5.4555.06±5.1955.06 \pm5.19
TSLANetAcc.65.85±1.0865.85 \pm1.0870.03±8.6170.03 \pm8.6177.55±3.0077.55 \pm3.0057.95±1.8857.95 \pm1.8880.19±2.3280.19 \pm2.3260.91±1.5360.91 \pm1.53
F166.43±1.2766.43 \pm1.2768.48±9.2068.48 \pm9.2076.82±3.4276.82 \pm3.4254.67±1.9554.67 \pm1.9580.10±2.3380.10 \pm2.3357.40±0.6157.40 \pm0.61
CALANetAcc.69.40±2.3469.40 \pm2.3463.16±5.5363.16 \pm5.5386.37±2.2686.37 \pm2.2664.51±2.6064.51 \pm2.6081.86±1.0081.86 \pm1.0063.58±2.5963.58 \pm2.59
F169.11±2.2969.11 \pm2.2961.78±5.9761.78 \pm5.9785.24±1.9085.24 \pm1.9061.04±2.8761.04 \pm2.8781.38±0.9081.38 \pm0.9059.43±1.9659.43 \pm1.96
MoPFormerAcc.72.43±1.1272.43 \pm1.1261.10±9.6661.10 \pm9.6681.42±1.1681.42 \pm1.1667.38±2.7467.38 \pm2.7480.93±5.5280.93 \pm5.5260.70±4.6260.70 \pm4.62
F169.40±1.0969.40 \pm1.0957.90±10.7657.90 \pm10.7681.23±1.0381.23 \pm1.0368.60±3.4168.60 \pm3.4178.16±6.4378.16 \pm6.4358.76±4.0458.76 \pm4.04
HAR-JEPAAcc.61.08±0.8961.08 \pm0.8973.16±0.9873.16 \pm0.9887.38±1.8987.38 \pm1.8964.94±0.7164.94 \pm0.7181.57±1.3181.57 \pm1.3161.03±2.7561.03 \pm2.75
F163.53±0.7663.53 \pm0.7673.59±0.8873.59 \pm0.8887.64±1.8087.64 \pm1.8064.50±0.8964.50 \pm0.8981.99±0.2981.99 \pm0.2960.22±1.1760.22 \pm1.17
W-JEPA (no wavelets)Acc.81.34±0.6181.34 \pm0.6170.00±1.9570.00 \pm1.9573.33±2.1373.33 \pm2.1371.06±1.6471.06 \pm1.6482.71±3.4082.71 \pm3.4059.49±0.9159.49 \pm0.91
F181.64±0.3181.64 \pm0.3169.98±2.5169.98 \pm2.5173.68±2.6873.68 \pm2.6871.48±1.0071.48 \pm1.0082.00±3.4782.00 \pm3.4759.52±0.5359.52 \pm0.53
W-JEPAAcc.86.96±0.6286.96 \pm0.6282.87±1.4982.87 \pm1.4989.68±1.0989.68 \pm1.0980.04±0.4180.04 \pm0.4184.70±1.9484.70 \pm1.9464.35±3.2864.35 \pm3.28
F187.19±0.6187.19 \pm0.6182.76±1.7682.76 \pm1.7688.89±1.2488.89 \pm1.2480.53±1.1080.53 \pm1.1083.97±2.0883.97 \pm2.0860.35±1.4060.35 \pm1.40

Table 1. Subject-disjoint comparison across six wearable activity recognition datasets. Results are averaged over five random seeds under the unified protocol of § 4.

MethodMetricPAMAP2DSADSMHealthRealWorldUCI-HARUSC-HAD
BYOL + perm_jitAcc.84.06±8.2684.06 \pm8.2689.18±5.0289.18 \pm5.0285.49±7.6685.49 \pm7.6695.52±0.2795.52 \pm0.2777.65±3.8077.65 \pm3.8078.45±5.4078.45 \pm5.40
F180.53±13.7480.53 \pm13.7488.73±5.4588.73 \pm5.4579.57±11.3779.57 \pm11.3795.60±0.4095.60 \pm0.4075.94±4.4875.94 \pm4.4873.43±6.0873.43 \pm6.08
BYOL + lfcAcc.90.82±1.2090.82 \pm1.2096.71±0.1496.71 \pm0.1492.28±1.6092.28 \pm1.6096.11±0.3496.11 \pm0.3481.52±4.0481.52 \pm4.0482.85±1.2082.85 \pm1.20
F190.66±1.4590.66 \pm1.4596.71±0.1496.71 \pm0.1491.41±1.7691.41 \pm1.7696.14±0.4696.14 \pm0.4680.43±4.7680.43 \pm4.7677.57±1.3077.57 \pm1.30
BYOL + MixupAcc.89.76±0.8989.76 \pm0.8997.00±0.5297.00 \pm0.5292.09±1.3692.09 \pm1.3696.00±0.1996.00 \pm0.1981.66±3.6781.66 \pm3.6781.28±2.4481.28 \pm2.44
F189.53±1.0789.53 \pm1.0796.97±0.5296.97 \pm0.5291.75±1.5291.75 \pm1.5296.00±0.2096.00 \pm0.2080.54±4.5680.54 \pm4.5675.88±3.3475.88 \pm3.34
ModCLAcc.90.60±1.1790.60 \pm1.1796.60±2.4896.60 \pm2.4894.51±4.0994.51 \pm4.0995.37±0.8795.37 \pm0.8789.20±3.8489.20 \pm3.8484.54±3.3984.54 \pm3.39
F190.47±1.1190.47 \pm1.1196.57±2.5496.57 \pm2.5492.70±5.5392.70 \pm5.5395.42±0.8795.42 \pm0.8788.99±4.1988.99 \pm4.1981.06±3.0881.06 \pm3.08
TSLANetAcc.92.20±0.5892.20 \pm0.5898.89±0.1598.89 \pm0.1597.12±1.2997.12 \pm1.2997.04±0.1697.04 \pm0.1685.58±8.3085.58 \pm8.3082.93±0.5882.93 \pm0.58
F192.16±0.5092.16 \pm0.5098.87±0.1698.87 \pm0.1696.99±1.6096.99 \pm1.6097.11±0.1897.11 \pm0.1884.86±9.3284.86 \pm9.3284.28±0.6084.28 \pm0.60
CALANetAcc.84.60±0.7484.60 \pm0.7494.91±0.1194.91 \pm0.1192.19±1.5692.19 \pm1.5693.66±0.3593.66 \pm0.3588.10±0.7688.10 \pm0.7677.61±1.4977.61 \pm1.49
F181.56±1.0081.56 \pm1.0094.83±0.1294.83 \pm0.1290.66±1.9290.66 \pm1.9291.51±0.6491.51 \pm0.6487.56±0.8587.56 \pm0.8572.19±1.8772.19 \pm1.87
MoPFormerAcc.90.64±0.5290.64 \pm0.5282.09±5.4682.09 \pm5.4697.15±1.2097.15 \pm1.2091.39±2.8191.39 \pm2.8183.37±7.1883.37 \pm7.1884.23±1.0484.23 \pm1.04
F190.24±0.4690.24 \pm0.4679.44±6.5879.44 \pm6.5897.16±1.1497.16 \pm1.1492.13±2.3292.13 \pm2.3279.37±10.4779.37 \pm10.4780.64±1.1180.64 \pm1.11
HAR-JEPAAcc.91.67±0.1991.67 \pm0.1997.88±0.0597.88 \pm0.0598.43±0.2398.43 \pm0.2395.24±0.1095.24 \pm0.1089.83±0.1589.83 \pm0.1586.56±0.2186.56 \pm0.21
F191.96±0.2091.96 \pm0.2097.86±0.0597.86 \pm0.0598.54±0.2198.54 \pm0.2195.46±0.1195.46 \pm0.1190.14±0.1490.14 \pm0.1482.77±0.3682.77 \pm0.36
W-JEPA (no wavelets)Acc.91.46±0.3991.46 \pm0.3996.94±0.1596.94 \pm0.1596.00±0.3896.00 \pm0.3896.71±0.1696.71 \pm0.1688.64±1.2688.64 \pm1.2685.81±0.3685.81 \pm0.36
F191.29±0.3491.29 \pm0.3496.94±0.1696.94 \pm0.1695.55±0.2195.55 \pm0.2196.55±0.1396.55 \pm0.1387.80±1.2887.80 \pm1.2882.66±0.3682.66 \pm0.36
W-JEPAAcc.93.75±0.2293.75 \pm0.2299.22±0.1399.22 \pm0.1399.28±0.3599.28 \pm0.3597.13±0.1497.13 \pm0.1492.91±1.2392.91 \pm1.2388.54±0.3588.54 \pm0.35
F193.79±0.2193.79 \pm0.2199.22±0.1399.22 \pm0.1399.18±0.1999.18 \pm0.1997.36±0.1297.36 \pm0.1292.59±1.2692.59 \pm1.2686.52±0.3386.52 \pm0.33

Table 2. Random-window comparison across six wearable activity recognition datasets. Results are averaged over five random seeds under the unified protocol of § 4.

What the wavelet tokens contribute

Replacing wavelet tokens with raw patches. The variant W-JEPA (no wavelets) replaces the wavelet tokenizer with a conventional temporal-patch tokenizer while holding the remainder of the pipeline fixed. Each 500-sample channel is divided into ten consecutive 50-sample patches; the ordered, signed samples of a patch are embedded by an MLP of the same depth and width. With wavelet tokens, subject-disjoint macro-F1 is higher on all six datasets (Table 1). Two JEPAs that predict temporal-patch units, HAR-JEPA and W-JEPA (no wavelets), reach 71.9 and 73.1 average held-out macro-F1; replacing the patches with wavelet tokens raises W-JEPA to 80.6. This comparison supports the tokenizer as a useful design choice within W-JEPA.

Varying participant diversity. Figure 3 compares the tokenizers with 20% of participants held out for testing. This test cohort remains fixed as complete participants from the remaining pool are progressively added to the fine-tuning set. At matched training set sizes, W-JEPA generally outperforms the no wavelets variant, especially when few participants are available. The advantage persists across the displayed training-set sizes on PAMAP2, DSADS, and MHealth, while RealWorld shows smaller and less consistent gains. With the test cohort fixed, the curves compare the benefit of adding training participants on the same evaluation population. They provide evidence that wavelet tokens improve performance under limited participant diversity.

Subject-disjoint macro-F1 with wavelet tokens and learned temporal patches as training participants are added

Figure 3. Subject-disjoint macro-F1 with wavelet tokens and learned temporal patches as training participants are added. A fixed 20% participant split is held out for testing, and training participants are drawn from the remaining pool.

Separating near-identical activities. We return to the example of the exercise-bike pair of Figure 1, where we further compare W-JEPA with and without wavelet tokenization on DSADS under the same subject-disjoint evaluation protocol, keeping pretraining, fine-tuning, and all other experimental settings fixed. (Figure 4). Without wavelets, 41.5% of horizontal-bike windows are classified as vertical-bike cycling; with wavelets, this falls to 0.8%, improving horizontal-bike recall while preserving vertical-bike recall; some errors shift to other activities. In the PCA projection of the learned representations, the two classes overlap without wavelets and are more separated with them. This is consistent with wavelet tokens exposing scale-specific differences in Figure 1.

Confusion matrices and PCA projections comparing W-JEPA without and with wavelets

Figure 4. Each panel compares W-JEPA without and with wavelets. (a) Confusion matrices for cycling on a horizontal exercise bike and cycling on a vertical exercise bike, using percentages within each true class; predictions of other activities are “Other classes.” (b) 2D PCA projections of learned representations for the same two classes.

Interpreting attention by timescale. Because every token carries a scale address, the fine-tuned encoder’s attention can be read by timescale, which a temporal-patch tokenizer does not allow. We measure the attention that tokens receive in the final encoder layer, averaged over heads and query positions and summed within each band, on held-out DSADS participants (Appendix § 9.§ 2, Figure 6). On clean inputs, the coarse A4A_{4} band receives the largest share for most activities, whereas D1D_{1} receives the largest share for running and jumping. We then add noise at increasing levels, measured against each channel’s training RMS. Attention shifts from A4A_{4} toward the detail bands: at 30% noise, A4A_{4} attention falls by 6.1% relative to clean inputs, while D2D_{2} and D1D_{1} rise by 11.1% and 9.4%. Over the same range, held-out accuracy and macro-F1 stay within about one point of their clean values (Appendix Table 7).

Wavelet-scale attention on held-out DSADS participants

Figure 6. Wavelet-scale attention on held-out DSADS participants. Left: relative attention change across noise doses across all activities; Middle: clean attention by activity relative to uniform allocation. Right: relative attention change by activity at 30% noise. All panels use the final encoder layer.

Ablation under restricted sensor settings

We evaluate a restricted setting in which downstream fine-tuning uses only wrist accelerometer and gyroscope channels: nine channels for PAMAP2 and six for MHealth. Pretraining follows the same protocol as in § 4, using all datasets in the pretraining pool except the evaluation dataset. All other experimental settings are kept the same. We evaluate both random-window and subject-disjoint splits, using 20% of windows or participants, respectively, for training and the remaining 80% for evaluation. Each experiment uses five training seeds. Table 3 and Table 4 report macro-F1 and accuracy under these restrictions. W-JEPA achieves the highest mean score on both metrics for both datasets under both split protocols. Scores are lower with participant holdout for every method, while W-JEPA retains its lead in mean performance when fine-tuning is restricted to wrist inertial signals.

MethodPAMAP2MHealth
F1Acc.F1Acc.
BYOL + perm_jit58.97±6.4158.97 \pm6.4167.32±3.7567.32 \pm3.7540.77±11.2140.77 \pm11.2148.50±6.0748.50 \pm6.07
BYOL + lfc77.85±1.1377.85 \pm1.1379.60±0.7179.60 \pm0.7149.63±3.1949.63 \pm3.1955.08±2.7755.08 \pm2.77
BYOL + Mixup75.16±3.4475.16 \pm3.4478.28±2.0378.28 \pm2.0347.31±3.0647.31 \pm3.0652.76±4.0352.76 \pm4.03
ModCL75.99±5.8475.99 \pm5.8479.10±3.6379.10 \pm3.6372.84±4.6772.84 \pm4.6778.79±2.2178.79 \pm2.21
TSLANet87.63±0.3587.63 \pm0.3586.79±0.5686.79 \pm0.5677.54±2.2977.54 \pm2.2978.02±2.5778.02 \pm2.57
CALANet74.63±1.1474.63 \pm1.1478.11±0.5878.11 \pm0.5875.50±1.1775.50 \pm1.1777.60±1.2077.60 \pm1.20
MoPFormer85.14±0.3885.14 \pm0.3885.52±0.3085.52 \pm0.3088.81±0.6788.81 \pm0.6788.95±0.8388.95 \pm0.83
HAR-JEPA85.96±0.2685.96 \pm0.2686.31±0.2886.31 \pm0.2890.91±0.8890.91 \pm0.8890.67±0.8890.67 \pm0.88
W-JEPA (no wavelets)86.59±0.3186.59 \pm0.3186.54±0.2886.54 \pm0.2889.58±0.5589.58 \pm0.5590.47±0.6390.47 \pm0.63
W-JEPA88.10±0.1188.10 \pm0.1188.09±0.1488.09 \pm0.1493.53±0.5493.53 \pm0.5494.22±0.7694.22 \pm0.76

Table 3. Restricted sensor ablation with random-window splits.

MethodPAMAP2MHealth
F1Acc.F1Acc.
BYOL + perm_jit46.88±1.9446.88 \pm1.9450.23±4.1050.23 \pm4.1035.01±6.0135.01 \pm6.0140.87±3.4240.87 \pm3.42
BYOL + lfc48.57±1.5448.57 \pm1.5447.98±2.2247.98 \pm2.2239.08±1.1039.08 \pm1.1043.42±2.3043.42 \pm2.30
BYOL + Mixup51.88±1.6451.88 \pm1.6452.06±2.4652.06 \pm2.4640.23±1.1940.23 \pm1.1944.08±2.7744.08 \pm2.77
ModCL61.71±1.6661.71 \pm1.6662.63±2.4462.63 \pm2.4451.26±6.2951.26 \pm6.2953.89±5.0553.89 \pm5.05
TSLANet63.07±3.2963.07 \pm3.2961.98±3.6061.98 \pm3.6059.24±2.9759.24 \pm2.9758.43±2.7458.43 \pm2.74
CALANet55.90±1.7555.90 \pm1.7555.14±1.6355.14 \pm1.6359.44±1.7359.44 \pm1.7361.63±1.5861.63 \pm1.58
MoPFormer58.71±0.5158.71 \pm0.5159.57±1.1659.57 \pm1.1666.17±3.2666.17 \pm3.2668.19±2.0868.19 \pm2.08
HAR-JEPA60.54±0.2660.54 \pm0.2661.57±0.3261.57 \pm0.3265.29±0.9665.29 \pm0.9666.39±1.0966.39 \pm1.09
W-JEPA (no wavelets)61.93±1.6461.93 \pm1.6462.16±1.7762.16 \pm1.7764.26±1.7964.26 \pm1.7964.77±0.9264.77 \pm0.92
W-JEPA64.14±2.1264.14 \pm2.1264.25±1.1664.25 \pm1.1667.63±1.1367.63 \pm1.1369.45±2.6269.45 \pm2.62

Table 4. Restricted sensor ablation with subject-disjoint splits.

Conclusion

We asked how the units of masked latent prediction should be defined for heterogeneous wearable data. W-JEPA organizes inertial windows into wavelet tokens indexed by scale, sensor channel axis, and time, and learns by predicting masked latent features. It outperforms the evaluated baselines, and loses the least when evaluating on unseen participants. Replacing wavelet tokens with temporal patches weakens performance and can increase confusion between similar activities. These results suggest that physically grounded multiscale tokenization and latent prediction together provide a promising foundation for transferable representations of heterogeneous wearable data.

Acknowledgments

This work was supported by funding from the National Heart, Lung, and Blood Institute (NIH/NHLBI 1R01HL166802 and 1R01HL168535).

Datasets and Splits

DatasetTrain samplesTest samplesTrain participantsTest participants
PAMAP28352,99827
DSADS2,2426,72626
MHealth2671,06828
RealWorld2,55110,209312
UCI-HAR4861,946624
USC-HAD1,0694,284311

Table 5. Dataset statistics for the subject-disjoint train/test splits. The number of samples corresponds to the number of segmented sensor windows used for training and testing.

PAMAP2. The PAMAP2 Physical Activity Monitoring dataset contains recordings from nine participants wearing inertial measurement units on the dominant wrist, chest, and dominant ankle, together with a heart-rate monitor ([33] (Reiss & Stricker 2012)). The inertial units record acceleration, angular velocity, and magnetic field at 100 Hz, while heart rate is sampled at approximately 9 Hz. The collection protocol specifies 12 activities spanning static postures, locomotion, household tasks, and exercise, including sitting, walking, cycling, vacuum cleaning, and rope jumping. Six additional optional activities bring the full release to 18 activity labels. These recordings capture both differences among body locations and variation in how participants perform the same activity.

DSADS. The Daily and Sports Activities dataset contains 19 activities performed by eight participants, with five minutes recorded for each participant–activity pair ([10, 2]). Five sensor units on the torso, both arms, and both legs each provide three-axis acceleration, angular velocity, and magnetic field measurements at 25 Hz, yielding 45 sensor channels in the original release. Activities include sitting, lying, stair climbing, elevator travel, walking and running on a treadmill, cycling, rowing, jumping, and basketball. Participants perform the activities in their own style, introducing variation in movement speed and amplitude. The release divides each five-minute recording into 60 segments of five seconds each.

MHealth. The Mobile Health dataset records ten volunteers performing 12 physical activities using sensors attached to the chest, right wrist, and left ankle ([6, 7]). Signals are acquired at 50 Hz and include acceleration, angular velocity, and magnetic field measurements; the chest device additionally records two ECG leads. The activity vocabulary covers static postures and movements with different body involvement and intensity, including standing, sitting, lying, walking, cycling, jogging, running, arm elevation, and knee bending. This combination provides examples of both localized limb movements and whole-body exercise. The original multimodal release supplies physiological measurements alongside the motion signals used to characterize these activities.

RealWorld. The RealWorld activity recognition dataset includes 15 participants and eight activities: walking, running or jogging, sitting, standing, lying, jumping, and ascending and descending stairs ((Sztzler & Stuckenschmidt, 2016)). Devices are worn at seven positions—the chest, forearm, head, shin, thigh, upper arm, and waist—with acceleration recorded at 50 Hz. The release also provides gyroscope, magnetic field, GPS, light, and sound-level measurements. Each participant performs each activity for approximately ten minutes, except jumping, which lasts approximately 1.7 minutes because of the exertion involved. Devices are carried using everyday attachments such as pockets and armbands, providing variation in how activity signals are observed across body locations.

UCI-HAR. The Human Activity Recognition Using Smartphones dataset contains recordings from 30 volunteers aged 19–48 wearing a Samsung Galaxy S II smartphone at the waist [34, 3]. Its accelerometer and gyroscope record three-axis acceleration and angular velocity at 50 Hz during six activities: walking, ascending stairs, descending stairs, sitting, standing, and lying. The original benchmark distributes filtered inertial signals in 128-sample windows of 2.56 seconds with 50% overlap, together with engineered features, and assigns 70% of participants to training and 30% to testing. The results in this paper follow the common preprocessing and evaluation protocols described in § 4; the original windowing and split describe the source benchmark.

USC-HAD. The University of Southern California Human Activity Dataset contains 14 participants performing 12 daily activities [45]. A MotionNode device attached to the front of the right hip records three-axis acceleration and angular velocity at 100 Hz, providing six motion channels. The activities are walking forward, walking left, walking right, ascending stairs, descending stairs, running forward, jumping, sitting, standing, sleeping, and taking an elevator up or down. Each participant repeats each activity five times. The activity vocabulary distinguishes movement direction and includes both active motion and relatively stationary behaviors, providing a benchmark for recognizing daily activities from a single body location.

Implementation Details

Pretraining and fine-tuning settings. We use P=2P = 2 temporal bins per band and a mask ratio of ρ=0.65\rho= 0.65 under the sampling protocol in § 3.2. Pretraining runs for 50 epochs with batch size 256; fine-tuning runs for 70 epochs with batch size 64. Both stages use AdamW with weight decay 0.05 [26].

Architecture. The encoder uses eight Transformer blocks of width 384; the predictor uses four blocks of width 192. Both have six attention heads, an MLP expansion ratio of four, GELU activations, and layer normalization before each sublayer and after the final block. Linear layers project features between these widths. Both use fixed sinusoidal position embeddings, and the predictor adds a learned mask token.

Learning rates and targets. Pretraining and fine-tuning learning rates are updated each epoch, with linear warmup from 10−610^{-6} over eight and ten epochs, followed by cosine decay toward 10−610^{-6}. The target encoder is initialized from the context encoder and kept in evaluation mode with gradients disabled. EMA updates occur after each optimizer step, with momentum increasing linearly from 0.998 toward 1.

Classification and channel adaptation. We flatten all encoder output tokens and apply layer normalization, dropout of 0.1, and a linear classifier. The classification loss is cross-entropy with label smoothing of 0.1. For six-channel targets, pretrained channel embeddings are reused by index. Otherwise, the entire channel-embedding table is reinitialized using a truncated normal distribution (σ=0.02\sigma= 0.02) and learned during fine-tuning. All other compatible encoder weights are transferred, and fixed position embeddings are regenerated for the target token count.

Additional Experiments

Regularizer ablation

For W-JEPA (SIGReg) and W-JEPA (VICReg), we keep the model and pipeline unchanged, except that we replace the original variance regularizer with SIGReg [5] or a VICReg-style variance–covariance regularizer, respectively. The JEPA prediction loss remains unchanged.

VariantMetricPAMAP2DSADSMHealthRealWorldUCI-HARUSC-HAD
W-JEPA (SIGReg)Acc.93.62 ±\pm 0.0799.02 ±\pm 0.0999.23 ±\pm 0.2796.92 ±\pm 0.0689.74 ±\pm 0.3087.76 ±\pm 0.45
F193.70 ±\pm 0.0499.01 ±\pm 0.1099.22 ±\pm 0.2497.13 ±\pm 0.0789.39 ±\pm 0.2984.42 ±\pm 0.37
W-JEPA (VICReg)Acc.93.77 ±\pm 0.2099.11 ±\pm 0.0898.97 ±\pm 0.5797.13 ±\pm 0.1890.66 ±\pm 0.8787.97 ±\pm 0.71
F193.82 ±\pm 0.2299.10 ±\pm 0.0899.04 ±\pm 0.5397.33 ±\pm 0.1490.45 ±\pm 0.8884.75 ±\pm 0.62
W-JEPAAcc.93.75 ±\pm 0.2299.22 ±\pm 0.1399.28 ±\pm 0.3597.13 ±\pm 0.1492.91 ±\pm 1.2388.54 ±\pm 0.35
F193.79 ±\pm 0.2199.22 ±\pm 0.1399.18 ±\pm 0.1997.36 ±\pm 0.1292.59 ±\pm 1.2686.52 ±\pm 0.33

Table 6. W-JEPA regularizer random-window split ablations, summarizes five seeds mean and standard deviation across the six benchmarks. Bold indicates the highest mean per metric, including ties.

UCI-HAR sensitivity study

One-factor-at-a-time sensitivity study on UCI-HAR

Figure 5. One-factor-at-a-time sensitivity study on UCI-HAR. From left to right, the panels vary the fraction of token positions masked during pretraining, the number of temporal bins used to summarize each wavelet band (shown as the nominal input samples per bin), the input-window length, and the requested fraction of labeled fine-tuning windows. The shared baseline uses a 65% mask ratio, two bins per band, and 500-sample windows. Points report top-1 test accuracy from one run; nominal bin sizes are not literal wavelet receptive fields.

What is varied. The first three panels test sensitivity to pretraining and input-design choices, whereas the fourth tests label efficiency after the baseline pretraining run. The mask sweep covers 5–95% in ten-percentage-point increments. The temporal-bin sweep uses 1, 2, 4, 5, or 10 bins for each of the five wavelet bands, producing 30, 60, 120, 150, or 300 tokens for the six-channel input. Its horizontal coordinate is the nominal ratio of the 500-sample window to the number of bins. The input-length sweep uses 100, 250, 500, 750, or 1000 samples. The label sweep uses 1% and 10–100% of the training pool in ten-percentage-point increments. These experiments assess hyperparameter and data sensitivity; they do not test whether wavelets or the JEPA objective are necessary.

Additional Analyses

Exercise-bike example details

Signal and example selection. Figure 1 uses the left-leg gyroscope zz-axis (LL_zgyro) from DSADS. Panels (a) and (b) show horizontal and vertical exercise-bike cycling from WHAR subject 7, displayed as participant 8 in panel (c). The windows begin at 264.25 s in session 119 and 37.27 s in session 127, respectively. The raw Pearson correlation is 0.992. Signals are resampled from 25 to 100 Hz and divided into 500-sample windows that remain within session boundaries. No amplitude normalization or post-extraction time shifting is applied.

Attention by timescale under input noise

This section details the attention analysis summarized in § 4.2. We examine how the fine-tuned encoder allocates attention across wavelet bands on held-out DSADS participants (Figure 6). Attention received by tokens in the final encoder layer (layer 8) is averaged over heads and query positions, then summed within each band. The middle heatmap divides each band’s attention by the uniform allocation of 1/51/5, so a value of 1 denotes uniform attention.

Added noise is measured against a fixed, training-derived per-channel dynamic RMS reference, and attention is averaged over three different randomly generated noises per window. Both change panels show $100(a_{\mathrm{noise}} (a0)/a0(a_0)/a_0, calculated after aggregating attention within each band. Shaded area shows 95% bootstrap intervals for the mean attention change, estimated by resampling held-out participants while keeping their clean and noisy measurements paired.

On clean inputs, A4A_4 receives the largest attention share for the activities, whereas D1D_1 receives the largest share for running and jumping. At 30% added noise, pooled A4A_4 attention falls by 6.1% relative to clean inputs, while D2D_2 and D1D_1 rise by 11.1% and 9.4%.

Full-test performance remains largely intact across the tested noise levels (Table 7). At 30% noise, held-out accuracy rise slightly, while random-window accuracy and macro-F1 fall by about two points. Thus, the attention shift toward detail bands accompanies preserved classification performance under added noise. This is consistent with greater use of fine-scale tokens when classifying noisy inputs, although attention weights alone cannot establish that the shift causes the observed robustness.

Noise (%)Held-out participants Accuracy (%)Held-out participants Macro-F1 (%)Random windows Accuracy (%)Random windows Macro-F1 (%)
081.7381.7799.2899.28
581.65 ± 0.0281.58 ± 0.0299.22 ± 0.0199.21 ± 0.01
1081.87 ± 0.0381.67 ± 0.0299.05 ± 0.0499.04 ± 0.04
1581.14 ± 0.0780.77 ± 0.1198.90 ± 0.0298.88 ± 0.02
2081.00 ± 0.0580.73 ± 0.0898.66 ± 0.0498.63 ± 0.04
2581.72 ± 0.1181.59 ± 0.1598.03 ± 0.0397.98 ± 0.03
3081.77 ± 0.2181.60 ± 0.2697.14 ± 0.0997.05 ± 0.09

Table 7. Table 7: DSADS full-test performance under fixed input noise on a single seed. Nonzero doses report mean ± sample standard deviation across three noise realizations; clean inputs were evaluated once.

Visualization of learned representations

PCA and UMAP projections of W-JEPA’s final-block representations across six human activity recognition datasets

Figure 7. PCA and UMAP projections of W-JEPA’s final-block representations across six human activity recognition datasets. Each point represents a test window, colored by activity class within each dataset.

References

  1. [1]Mohamed Abdelfattah and Alexandre Alahi. S-jepa: A joint embedding predictive architecture for skeletal action recognition. In European Conference on Computer Vision, pp. 367–384. Springer, 2024.DOI
  2. [2]Kerem Altun, Billur Barshan, and Orkun Tunçel. Comparative study on classifying human activities with miniature inertial and magnetic sensors. Pattern Recognition, 43(10):3605–3620, 2010. ISSN 0031-3203. doi: https://doi.org/10.1016/j.patcog.2010.04.019. URL https://www.sciencedirect.com/science/article/pii/S0031320310001950.
  3. [3]D. Anguita, Alessandro Ghio, L. Oneto, Xavier Parra, and Jorge Luis Reyes-Ortiz. A public domain dataset for human activity recognition using smartphones. In The European Symposium on Artificial Neural Networks, 2013. URL https://api.semanticscholar.org/CorpusID:6975432.
  4. [4]Mahmoud Assran, Quentin Duval, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, Yann LeCun, and Nicolas Ballas. Self-supervised learning from images with a joint-embedding predictive architecture. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 15619–15629. IEEE, 2023.arxiv.org/abs/2301.08243
  5. [5]Randall Balestriero and Yann LeCun. Lejepa: Provable and scalable self-supervised learning without the heuristics. arXiv preprint arXiv:2511.08544, 2025.arxiv.org/abs/2511.08544
  6. [6]Oresti Banos, Rafael Garcia, and Alejandro Saez. MHEALTH. UCI Machine Learning Repository, 2014. DOI: https://doi.org/10.24432/C5TW22.
  7. [7]Oresti Banos, Claudia Villalonga, Rafael Garcia, Alejandro Saez, Miguel Damas, Juan A Holgado-Terriza, Sungyong Lee, Hector Pomares, and Ignacio Rojas. Design, implementation and validation of a novel open framework for agile development of mobile health applications. Biomedical engineering online, 14:1–20, 2015.DOI
  8. [8]Adrien Bardes, Jean Ponce, and Yann LeCun. Vicreg: Variance-invariance-covariance regularization for self-supervised learning. arXiv preprint arXiv:2105.04906, 2021.arxiv.org/abs/2105.04906
  9. [9]Adrien Bardes, Quentin Garrido, Jean Ponce, Xinlei Chen, Michael Rabbat, Yann LeCun, Mahmoud Assran, and Nicolas Ballas. Revisiting feature prediction for learning visual representations from video. arXiv preprint arXiv:2404.08471, 2024.arxiv.org/abs/2404.08471
  10. [10]Billur Barshan and Kerem Altun. Daily and Sports Activities. UCI Machine Learning Repository, 2010. DOI: https://doi.org/10.24432/C5C59F.
  11. [11]Kaixuan Chen, Dalin Zhang, Lina Yao, Bin Guo, Zhiwen Yu, and Yunhao Liu. Deep learning for sensor-based human activity recognition: Overview, challenges, and opportunities. ACM Computing Surveys (CSUR), 54 (4):1–40, 2021.
  12. [12]Ingrid Daubechies. Ten lectures on wavelets. SIAM, 1992.
  13. [13]Zihan Ding, Liyu Zhang, and Xiaomin Ouyang. Halo: A heterogeneity-aware language-aligned imu foundation model for open-set human activity recognition, 2026. URL https://arxiv.org/abs/2608.27233.
  14. [14]Emadeldeen Eldele, Mohamed Ragab, Zhenghua Chen, Min Wu, Chee Keong Kwoh, Xiaoli Li, and Cuntai Guan. Time-series representation learning via temporal and contextual contrasting. arXiv preprint arXiv:2106.14112, 2021.arxiv.org/abs/2106.14112
  15. [15]Emadeldeen Eldele, Mohamed Ragab, Zhenghua Chen, Min Wu, Chee-Keong Kwok, and Xiaoli Li. Contrastive domain adaptation for time-series via temporal mixup. IEEE Transactions on Artificial Intelligence, 5(3): 1185–1194, 2024a. doi: 10.1109/TAI.2023.3293473.DOI
  16. [16]Emadeldeen Eldele, Mohamed Ragab, Zhenghua Chen, Min Wu, and Xiaoli Li. TSLANet: rethinking transformers for time series representation learning. In Proceedings of the 41st International Conference on Machine Learning, ICML’24. JMLR.org, 2024b.arxiv.org/abs/2404.08472
  17. [17]Sofiane Ennadir, Siavash Golkar, and Leopoldo Sarrà. Joint embeddings go temporal. arXiv preprint arXiv:2509.25449, 2025.arxiv.org/abs/2509.25449
  18. [18]Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhao­han Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent-a new approach to self-supervised learning. Advances in neural information processing systems, 33: 21271–21284, 2020.arxiv.org/abs/2006.07733
  19. [19]Pierre Guetschel, Thomas Moreau, and Michael Tangermann. S-jepa: towards seamless cross-dataset transfer through dynamic spatial attention. arXiv preprint arXiv:2403.11772, 2024.DOI
  20. [20]Changru Guo, Yingwei Zhang, Yiqiang Chen, Chenyang Xu, and Zhong Wang. Modality consistency-guided contrastive learning for wearable-based human activity recognition. IEEE Internet of Things Journal, 11 (12):21750–21762, 2024. doi: 10.1109/JIOT.2024.3379019.DOI
  21. [21]Nils Y. Hammerla and Thomas Plötz. Let’s (not) stick together: pairwise similarity biases cross-validation in activity recognition. In Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing, UbiComp ’15, pp. 1041–1051, New York, NY, USA, 2015. Association for Computing Machinery. ISBN 9781450335744. doi: 10.1145/2750858.2807551. URL https://doi.org/10.1145/2750858.2807551.
  22. [22]Harish Haresamudram, Apoorva Beedu, Varun Agrawal, Patrick L. Grady, Irfan Essa, Judy Hoffman, and Thomas Plötz. Masked reconstruction based self-supervision for human activity recognition. In Proceedings of the 2020 ACM International Symposium on Wearable Computers, ISWC ’20, pp. 45–49, New York, NY, USA, 2020. Association for Computing Machinery. ISBN 9781450380775. doi: 10.1145/3410531.3414306. URL https://doi.org/10.1145/3410531.3414306.
  23. [23]Zhiqing Hong, Zelong Li, Shuxin Zhong, Wenjun Lyu, Haotian Wang, Yi Ding, Tian He, and Desheng Zhang. Crosshar: Generalizing cross-dataset human activity recognition via hierarchical self-supervised pretraining. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol., 8(2), May 2024. doi: 10.1145/3659597. URL https://doi.org/10.1145/3659597.
  24. [24]Hyejoo Kim, Hyeon-Joo Kim, Jinyoon Park, Jeh-Kwang Ryu, and Seung-Chan Kim. Recognition of fine-grained walking patterns using a smartwatch with deep attentive neural networks. Sensors, 21(19), 2021. ISSN 1424-8220. doi: 10.3390/s21196393. URL https://www.mdpi.com/1424-8220/21/19/6393.DOI
  25. [25]Yann LeCun et al. A path towards autonomous machine intelligence version 0.9. 2, 2022-06-27. Open Review, 62(1):1–62, 2022.
  26. [26]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization, 2019. URL https://arxiv.org/abs/1711.05101.
  27. [27]Wang Lu, Jindong Wang, Xinwei Sun, Yiqiang Chen, and Xing Xie. Out-of-distribution representation learning for time series classification, 2023. URL https://arxiv.org/abs/2209.07027.
  28. [28]Luca Masserano, Abdul Fatir Ansari, Boran Han, Xiyuan Zhang, Christos Faloutsos, Michael W Mahoney, Andrew Gordon Wilson, Youngsuk Park, Syama Rangapuram, Danielle C Maddix, et al. Enhancing foundation models for time series forecasting via wavelet-based tokenization. arXiv preprint arXiv:2412.05244, 2024.arxiv.org/abs/2412.05244
  29. [29]Mohd Halim Mohd Noor and Abdulrahman M. A. Baraka. Joint-embedding predictive architecture for sensor-based activity recognition, 2026. URL https://arxiv.org/abs/2607.16350.
  30. [30]Jaegyung Park, Dae-Won Kim, and Jaesung Lee. CALANet: Cheap all-layer aggregation for human activity recognition. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (eds.), Advances in Neural Information Processing Systems, volume 37, pp. 69419–69444. Curran Associates, Inc., 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/8078e76f913e3118467e85b4c0f0d22b-Paper-Conference.pdf.DOI
  31. [31]Hangwei Qian, Tian Tian, and Chunyan Miao. What makes good contrastive learning on small-scale wearable-based tasks? In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD ’22, pp. 3761–3771, New York, NY, USA, 2022. Association for Computing Machinery. ISBN 9781450393850. doi: 10.1145/3534678.3539134. URL https://doi.org/10.1145/3534678.3539134.
  32. [33]Attila Reiss and Didier Stricker. Introducing a new benchmarked dataset for activity monitoring. In 2012 16th International Symposium on Wearable Computers, pp. 108–109, 2012. doi: 10.1109/ISWC.2012.13.DOI
  33. [34]Jorge Luis Reyes-Ortiz, Davide Anguita, Alessandro Ghio, Luca Oneto, and Xavier Parra. Human Activity Recognition Using Smartphones. UCI Machine Learning Repository, 2013. DOI: https://doi.org/10.24432/C54S4K.
  34. [35]Howon Ryu, Yuliang Chen, Yacun Wang, Andrea Z.LaCroix, Chongzhi Di, Loki Natarajan, Yu Wang, and Jingjing Zou. Moca: Multi-modal cross-masked autoencoder for digital health measurements. arXiv preprint arXiv:2506.02260, 2025.arxiv.org/abs/2506.02260
  35. [36]Timo Sztyler and Heiner Stuckenschmidt. On-body localization of wearable devices: An investigation of position-aware activity recognition. In 2016 IEEE International Conference on Pervasive Computing and Communications (PerCom), pp. 1–9, 2016. doi: 10.1109/PERCOM.2016.7456521.DOI
  36. [37]Megha Thukral, Cyrus Tanade, Simon A. Lee, Juhyeon Lee, Hao Zhou, Keum San Chun, Migyeong Gwak, Viswam Nathan, Md Mahbubur Rahman, Li Zhu, Mehrab Bin Morshed, Subramaniam Venkatraman, and Sharanya Arcot Desai. Wavelet-driven masked multiscale reconstruction for ppg foundation models, 2026. URL https://arxiv.org/abs/2601.12215.
  37. [38]Yiming Tian, Jie Zhang, Jie Wang, Yanli Geng, and Xitai Wang. Robust human activity recognition using single accelerometer via wavelet energy spectrum features and ensemble feature selection. Systems Science & Control Engineering, 8(1):83–96, 2020.DOI
  38. [39]Thi Hong Vuong, Tung Doan, and Atsuhiro Takasu. Deep wavelet convolutional neural networks for multimodal human activity recognition using wearable inertial sensors. Sensors, 23(24):9721, 2023.DOI
  39. [40]Moritz Wolter, Felix Blanke, Jochen Garcke, and Charles Tapley Hoyt. ptwt-the pytorch wavelet toolbox. Journal of Machine Learning Research, 25(80):1–7, 2024.
  40. [41]Huatao Xu, Pengfei Zhou, Rui Tan, Mo Li, and Guobin Shen. Limu-bert: Unleashing the potential of unlabeled data for imu sensing applications. In Proceedings of the 19th ACM Conference on Embedded Networked Sensor Systems, SenSys ’21, pp. 220–233, New York, NY, USA, 2021. Association for Computing Machinery. ISBN 9781450390972. doi: 10.1145/3485730.3485937. URL https://doi.org/10.1145/3485730.3485937.
  41. [42]Huatao Xu, Pengfei Zhou, Rui Tan, and Mo Li. Practically adopting human activity recognition. In Proceedings of the 29th Annual International Conference on Mobile Computing and Networking, ACM MobiCom ’23, New York, NY, USA, 2023. Association for Computing Machinery. ISBN 9781450399906. doi: 10.1145/3570361.3613299. URL https://doi.org/10.1145/3570361.3613299.
  42. [43]George Zerveas, Srideepika Jayaraman, Dhaval Patel, Anuradha Bhamidipaty, and Carsten Eickhoff. A transformer-based framework for multivariate time series representation learning. In Proceedings of the 27th ACM SIGKDD conference on knowledge discovery & data mining, pp. 2114–2124, 2021.
  43. [44]Hao Zhang, Zhan Zhuang, Xuehao Wang, Xiaodong Yang, and Yu Zhang. Mopformer: Motion-primitive transformer for wearable-sensor activity recognition. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 39334–39360. Curran Associates, Inc., 2025. doi: 10.52202/085713-1313. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/37ecb317d11004f77defbca54ef3b928-Paper-Conference.pdf.DOI
  44. [45]Mi Zhang and Alexander A. Sawchuk. Usc-had: a daily activity dataset for ubiquitous activity recognition using wearable sensors. In Proceedings of the 2012 ACM Conference on Ubiquitous Computing, UbiComp ’12, pp. 1036–1043, New York, NY, USA, 2012. Association for Computing Machinery. ISBN 9781450312240. doi: 10.1145/2370216.2370438. URL https://doi.org/10.1145/2370216.2370438.
  45. [46]Xiang Zhang, Ziyuan Zhao, Theodoros Tsiligkaridis, and Marinka Zitnik. Self-supervised contrastive pre-training for time series via time-frequency consistency. Advances in neural information processing systems, 35:3988–4003, 2022.arxiv.org/abs/2206.08496
  46. [47]Xiyuan Zhang, Diyan Teng, R anak Roy Chowdhury, Shuheng Li, Dezhi Hong, Rajesh K. Gupta, and Jingbo Shang. Unimts: Unified pre-training for motion time series. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (eds.), Advances in Neural Information Processing Systems, volume 37, pp. 107469–107493. Curran Associates, Inc., 2024. doi: 10.52202/079017-3414. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/c290d4373c495b2cad0625d6288260f0-Paper-Conference.pdf.DOI

Paper details

vlnc:W_374tdn3w
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents