acceptodds
Published as a conference paper at NeurIPS 2026

When a Window Is Not an Action: Selective Phase-Script Deliberation for Sliding-Window Human Activity Recognition

Qi Teng, Xueer Wang

Abstract

Sliding-window human activity recognition (HAR) splits continuous sensor streams into fixed-length, overlapping windows and trains a classifier to assign one activity label to each window. Window length and stride are chosen from sampling rate, latency or computation constraints, and assumptions about typical motion duration, but they need not align with motion cycles or activity changes. Some windows therefore contain only part of a repeated motion, fragments shared by related activities, or mixed evidence near a transition. Yet each window still receives a single label, creating a granularity mismatch between activity-level supervision and local motion evidence. We propose PSDNet (Phase-Script Deliberation Network), which separates local phase interpretation from final activity classification. PSDNet encodes the current window into latent phase primitives, combines them with recent history, and produces an initial classification with an uncertainty score. When uncertainty remains high, a deliberation module compares the current phase evidence with learned class-specific phase scripts, i.e., compact templates of short-term phase patterns, and updates classification scores over a small candidate set. An auxiliary boundary objective encourages sensitivity to possible activity changes without serving as a hard routing rule. This design concentrates extra computation where direct classification is least reliable while keeping easy cases efficient. Experiments on eight public HAR benchmarks show that PSDNet consistently improves accuracy and weighted F1 over strong CNN- and sequence-based baselines. Additional analyses on ambiguous windows and similar-activity confusion pairs support phase-aware selective deliberation for windows whose local evidence is insufficient for reliable classification.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_ndVwOpenReview ↗
Rating
4
Clarity
4
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposed a method called PSDNet to solve the problem in sliding-window HAR where one of the remaining challenge that hasn't been solve is that a window may contain evidence from both the previous and following activities, and yet prior works treated each window as self-contained activity instance. PSDNet has dual-system design where syste, 1

Strengths and weaknesses

Strengths:

  • Clear, unifying problem framing. The granularity-mismatch pov is useful, it ties boundary ambiguity and look-alike confusion to a single cause and motivates the design of the method
  • The selective-computation claim is well-validated, not just asserted. Tables 9–10 are the highlight: the gate fires on ~1–10% of windows but those subsets carry System-1 error rates 20× higher than non-triggered ones, and uncertainty predicts System-1 errors with AUROC > 0.92 (0.97 on USC). This convincingly shows the gate targets the right windows

Weaknesses:

  • PSDNet-Small beats full PSDNet (Table 11) without explanation. 81.63/81.03 vs 80.33/79.85 on UniMiB. If the smaller variant is better, the main configuration may be under-tuned or overfit, which weakens confidence in the headline numbers.
  • The named main component (Class Scripts) contributes little in the ablation. Removing class scripts barely changes UniMiB (80.45 vs 80.50) and modestly affects PAMAP2 (96.83 vs 97.08). Given "phase-script" is in the title, the ablation undercuts its importance (history context and phase primitives carry most of the load)
  • Several baselines are repurposed forecasting models. Crossformer, MICN, TimeMixer, MSGNet, and TimeFilter are time-series forecasters, not HAR classifiers, part of the cross-the-board margin is against arguably mismatched baselines. The meaningful comparison is against DeepConvContext and CALANet, where the gaps are much smaller.
Questions

Why does PSDNet-Small outperform full PSDNet in Table 11? is the main model under-tuned, and does this hold across datasets?

Limitations

Yes

Paper formatting concerns

none

1 comment

Thank you for recognizing the granularity-mismatch framing and the evidence for selective computation. We appreciate the three concerns and address them below.

W1. PSDNet-Small versus full PSDNet

The UniMiB crossover is best understood through the interaction between model capacity and PSDNet's selective two-system routing, rather than parameter count alone. PSDNet-Small is not a component ablation or a different method: it retains the same backbone family, phase primitives, Class Scripts, chronological-history pathway, uncertainty gate, and System 2. It is a fixed lower-capacity preset: feat_dim is reduced from 256 to 128, script_len from 4 to 2, num_primitives is fixed at 4, and the System-2 hidden width follows feat_dim. No component, objective, input, or routing rule is removed. Within each dataset, Small and Full use the same data, causal history, splits, optimizer, training budget, seed list, and routing protocol; the same Small preset is applied without result-driven post-hoc adjustment.

We tested whether the Small-over-Full ordering in submitted Table 11 persists on HAPT and PAMAP2:

DatasetParams: Small / FullWeighted F1: Small / Full (%)Small−Full (pp)Trigger Rate: Small / Full (%)
HAPT1.00M / 2.51M97.50 ± 0.42 / 97.51 ± 0.24−0.013.9 / 1.9
PAMAP22.11M / 4.74M95.96 ± 0.39 / 96.94 ± 0.61−0.981.3 / 1.6

The Full reruns also remain close to the submitted Table-1 means (HAPT: 97.51 vs. 97.35 F1; PAMAP2: 96.94 vs. 96.52), so the comparison is not driven by anomalously weak Full runs.

Submitted Table 11 provides the UniMiB reference: Small improves weighted F1 by +1.18 points and triggers System 2 more frequently (44.8% vs. 28.8%). This is consistent with the lower-capacity System 1 being less decisive on a larger subset of UniMiB windows, causing more locally ambiguous cases to be escalated for contextual correction. UniMiB is precisely a setting in which System 2 has substantial room to help: in the submitted ablation, removing System 2 reduces weighted F1 from 80.14 to 77.84. Thus, on UniMiB, the additional ambiguous windows routed by Small can benefit from System-2 correction, and that benefit can outweigh the reduction in System-1 capacity.

The cross-dataset results also show why this is not simply a consequence of triggering more often. Small triggers more frequently on HAPT but is essentially tied with Full, while PAMAP2 has similar trigger rates and favors Full. Final performance depends on whether the additionally routed samples are cases that System 2 can correct, not on trigger frequency alone. The resulting ordering—Small >> Full on UniMiB, Small ≈\approx Full on HAPT, and Small << Full on PAMAP2—supports a dataset-dependent capacity–selectivity interaction and does not indicate systematic under-tuning or overfitting of the Full configuration.

W2. What the Class-Script ablation isolates

The magnitude of the Table-2 F1 difference should be interpreted together with what the ablation removes. The w/o Class Scripts row isolates the direct class-script compatibility term gtg_t in Eq. (6). This term enters the System-1 logits directly and therefore influences both the local prediction and the uncertainty used for routing; it is not an auxiliary visualization head. At the same time, the current-window feature, phase primitives, chronological-history representation, and System 2 remain available. The +0.25/+0.26 weighted-F1 differences on UniMiB/PAMAP2 therefore measure the incremental benefit of class-conditioned script compatibility after the other predictive pathways are already present.

The larger drops from removing history context or phase primitives are expected because these are shared upstream representations reused by multiple downstream computations. In contrast, gtg_t is the class-conditioned matching interface applied on top of those representations. The aggregate ablation magnitude therefore does not imply that the learned scripts are inactive or interchangeable with a generic codebook.

To examine the optimized scripts directly, we analyze their compatibility outputs on HAPT and PAMAP2, where ordered recordings permit transition-level diagnostics:

DatasetScript-compatibility correct-class Top-1 (%)Transition Compatibility Shift
HAPT84.82 ± 12.74+6.96 ± 2.78
PAMAP257.75 ± 20.53+1.14 ± 1.01

Both datasets contain 12 classes, giving a chance Top-1 level of 8.33%. Correct-class Top-1 measures how often the ground-truth class receives the highest script-compatibility score. Transition Compatibility Shift measures the change across a context-complete transition in incoming-class compatibility relative to outgoing-class compatibility; a positive value denotes a shift toward the new activity.

The correct class ranks first far above chance on both datasets, and compatibility shifts toward the incoming activity at genuine transitions. These results directly show that the optimized scripts learn class-specific, transition-responsive compatibility rather than acting as an inactive or generic parameter bank.

Table 2 and these diagnostics answer complementary questions. The ablation measures the incremental predictive contribution of the direct compatibility term within the complete model; the diagnostics test whether the optimized scripts learn the structure they were designed to represent. Together, they show both a positive mean F1 contribution on the two ablation datasets and a nontrivial class-specific transition signal. This is the role captured by “phase-script” in PSDNet: local windows are encoded as phase evidence and evaluated through history-conditioned compatibility with class-specific scripts before selective deliberation. We will clarify that the Table-2 row isolates the direct compatibility interface gtg_t, rather than the complete phase-script formulation.

W3. Forecasting-origin baselines

Crossformer, MICN, TimeMixer, MSGNet, and TimeFilter originated as multivariate time-series forecasting architectures. We included adapted classification versions because they provide complementary sequence-modeling controls relevant to multichannel sensor data: cross-dimensional dependency, local/global multiscale context, multiscale temporal variation, inter-series correlation, and time-varying channel dependency. They should be distinguished from the primary task-matched HAR comparisons.

Our evaluation contains 13 baselines in total: eight HAR/wearable-motion baselines and five forecasting-origin generic-sequence controls. Importantly, the HAR conclusion does not depend on the five forecasting-origin models. Restricting Table 1 to CNN, Residual CNN, DeepConvLSTM, SWL-Adapt, CALANet, RelCon, DeepConvContext, and MoPFormer, PSDNet remains the highest-mean weighted-F1 method on all eight datasets. Its gaps over the strongest retained HAR/wearable baseline are +0.73/+1.83/+1.58/+1.52/+0.66/+2.23/+0.64/+0.08 points on UCI/USC/PAMAP2/DSADS/HAPT/UniMiB/MotionSense/mHealth, respectively. None of the five forecasting-origin controls is the strongest non-PSDNet weighted-F1 comparator on any dataset, so their inclusion does not determine these runner-up gaps. These task-matched comparisons directly include the reviewer-highlighted DeepConvContext and CALANet.

We will revise the experimental description to separate the eight primary HAR/wearable baselines from the five auxiliary generic-sequence controls, making clear that the main task-matched conclusion is unchanged after excluding all forecasting-origin models.

Reviewer_yJTMOpenReview ↗
Rating
5
Clarity
3
Confidence
5
Originality
3
Quality
3
Significance
3
Read review
Summary

This method presents a method for human activity recognition in videos. In particular, it tackles the problem where the activity label does not have a one-to-one mapping with the activity in the video. The model has two parts (Fig 1). System 1 encodes latent "phase primitives" (Eq 3), summarises history with a masked encoded (Eqn 4), and scores them on how well they match with a class "script". The prediction is made with an uncertainty score (Eqns 6 and 7). The other part of the model runs when the uncertainty crosses a certain threshold, retrieves the context, and adds a residual correction over a small candidate set (Eqns 9 and 10). A boundary head is used for supervision.

Experiments cover eight public HAR datasets (Table 1) and report accuracy and weighted F1 on all eight, with ablations and analysis (Tables 2-4). Among the results reported, F1 stays within 0.1% of the peak while doing fewer OPs, which is a strength.

Strengths and weaknesses

The paper tackles a real problem in sliding-window human activity recognition: a fixed-length window is given one activity label, but the window may only contain part of a motion, a fragment shared by several activities, or evidence straddling a transition (L 1–9, 36–45) ("granularity mismatch").

I think that the boundary mechanism, which is central to the motivation, is empirically weak on two of three tested datasets. The whole premise is that ambiguity concentrates at transitions (L 36-41), yet Table 10 shows the uncertainty score detects boundary windows at AUROC only 0.62 on HAPT and 0.69 on USC (barely above chance) versus 0.85 on PAMAP2.

Maybe I'm missing something, but without a matched-history/matched-parameter comparison across the other datasets, it is hard for me to understand how much of the Table 1 gain is the phase-script idea versus simply more. The main comparison (Table 1) does not control for history access and capacity; the one matched comparison is a single dataset. PSDNet gets LL some extra history windows and added parameters that many baselines do not (referring to Table 11 shows it at 3.68M params with L=10 history).

Questions

W.r.t the last weakness mentioned, what would the matched-history and matched-parameter comparison of Table 11 (on at least PAMAP2 and HAPT) look like? In particular, where arre the gains largest? How much of the Table 1 advantage survives when baselines get the same L history windows and similar parameter count?

Limitations

Yes

Paper formatting concerns

NA

Final justification

I find the author's response to me (and in general) addressing almost all of my concerns. I find this work acceptable.

1 comment

We thank Reviewer yJTM for recognizing the granularity-mismatch problem and the accuracy–efficiency strength of PSDNet. We address the two concerns below.

W1. Boundary AUROC and the role of the boundary mechanis

Thank you for raising this point. Table 10 does not report the performance of the auxiliary boundary head. It applies System 1's Dirichlet uncertainty utu_t to two diagnostic targets: System-1 error and annotated boundary status. The boundary head supplies auxiliary transition supervision during training, but its output is never used to trigger System 2. At inference, routing is determined by utu_t together with the valid-history mask in Eqs. (7)–(8). Thus, the boundary AUROCs of 0.62/0.69 quantify the global association between uncertainty and boundary annotations, rather than the performance of the boundary head or PSDNet's intended routing objective.

PSDNet does not assume that every boundary is difficult or that every difficult window is a boundary. As stated in L36–45, granularity mismatch includes three sources of incomplete local evidence: transition-mixed windows, incomplete within-activity phases, and local fragments shared by related activities. A transition between two distinctive motions can be easy, whereas an interior fragment shared by similar activities can be difficult.

For the intended routing objective, uncertainty predicts System-1 errors with AUROC 0.94, 0.92, and 0.97 on HAPT, PAMAP2, and USC, respectively (Table 10). Consistently, System-1 error rates are 43.7%, 71.1%, and 47.8% on triggered windows, compared with only 2.0%, 2.8%, and 0.9% on non-triggered windows (Table 9). The learned operating point also selects boundary-enriched subsets on HAPT (87.2% vs. 48.6%) and PAMAP2 (79.3% vs. 6.9%). On USC, boundary enrichment is smaller (4.3% vs. 2.9%), while the error-rate contrast remains substantial (47.8% vs. 0.9%). This is consistent with the distinction above: AUROC evaluates ranking over all windows, whereas the sparse gate selects the high-uncertainty tail for deliberation.

At the full-model level, PSDNet improves Boundary/Near-Boundary recognition F1 by 3.38/1.08 points on HAPT and 16.70/14.40 points on PAMAP2 relative to the window-only CNN in Table 4. Taken together, the results show that PSDNet improves transition-adjacent recognition, while the gate is validated on its actual target—prediction difficulty—rather than as a standalone boundary detector. We will make this distinction explicit in the discussion around Table 10.

W2. Matched history access and parameter budgets

Thank you for this important attribution question. We ran the requested controls on both HAPT and PAMAP2 while retaining the complete full PSDNet. HistoryMHA receives the same causal history as PSDNet (L=10L=10 on HAPT and L=8L=8 on PAMAP2), but summarizes it with a conventional positional four-head attention module rather than PSDNet's phase-script design. A widened context control receives the same history and is widened to bring its parameter budget close to PSDNet, serving the same matched-capacity role as ContextNet-PM* in Table 11. Put simply, HistoryMHA asks, “Is seeing the same past enough?”, while the widened control asks, “Is seeing the same past with similar capacity enough?” Data construction, causal history, sequence boundaries, training protocol, and checkpoint-selection protocol are aligned within each comparison.

DatasetControlMatched factorLLParams: PSDNet / ControlOverall Δ\DeltaF1BoundaryNear-BoundaryInterior
HAPTHistoryMHAHistory102.51M / 1.04M+0.64-0.29+0.20+1.22
HAPTWidened context†History + capacity102.51M / 2.23M+1.41+2.24+1.16+1.19
PAMAP2HistoryMHAHistory84.74M / 3.27M+0.23+6.58+4.04-0.02
PAMAP2Widened context†History + capacity84.74M / 4.46M-0.23-5.83-8.65+0.38

All entries are seed-averaged weighted-F1 differences in percentage points, computed as PSDNet minus the control; positive values favor PSDNet. †The widened generic context model serves the same matched-capacity role as ContextNet-PM* in submitted Table 11. The PAMAP2 Boundary/Near-Boundary entries use the same 52/104 windows as Table 4. These like-for-like attribution runs complement rather than replace the submitted Table-1 benchmark results.

The submitted Table-1 weighted-F1 gaps over the strongest non-PSDNet baseline are +0.66 points on HAPT and +1.58 points on PAMAP2. With history matched, PSDNet remains higher overall on both requested datasets: +0.64 on HAPT and +0.23 on PAMAP2. With history and capacity approximately matched, PSDNet remains higher on HAPT by +1.41 points, with positive differences in all three regions; on PAMAP2, the overall comparison closes to near parity (-0.23 points). The largest overall controlled gain is therefore HAPT under the history-plus-capacity comparison (+1.41), while the largest transition-adjacent gains occur on PAMAP2 against HistoryMHA (+6.58/+4.04 on Boundary/Near-Boundary windows).

As a complementary within-PSDNet capacity-sensitivity check, we compare the same fixed lower-capacity preset with full PSDNet under matched dataset settings. PSDNet-Small retains the phase primitives, class scripts, chronological-history pathway, uncertainty gate, and System 2; it changes only the fixed capacity preset, without removing any pathway or routing rule.

DatasetParams: Small / FullWeighted F1: Small / Full (%)Small −- Full (pp)
HAPT1.00M / 2.51M97.50 ± 0.42 / 97.51 ± 0.24-0.01
PAMAP22.11M / 4.74M95.96 ± 0.39 / 96.94 ± 0.61-0.98

Together with submitted Table 11 on UniMiB, the Small-versus-Full ordering is non-monotonic: Small is +1.18 points on UniMiB, essentially tied on HAPT (-0.01), and lower on PAMAP2 (-0.98). This pattern is inconsistent with a simple explanation in which increasing PSDNet's parameter count automatically produces higher F1. The full-model reruns also remain close to the submitted Table-1 means (HAPT: 97.51 vs. 97.35; PAMAP2: 96.94 vs. 96.52), so the controlled findings are not driven by an anomalously weak full-model run.

Finally, submitted Table 11 supplies the corresponding UniMiB controls: full PSDNet exceeds CNN+HistoryMHA by +0.65 F1 points and ContextNet-PM* by +1.34. Across HAPT, PAMAP2, and UniMiB, the matched-history gap is positive on all three datasets. Under the stricter history-plus-capacity comparison, PSDNet remains higher on HAPT and UniMiB, while PAMAP2 is within 0.23 points overall. Together with the non-monotonic Small-versus-Full results, these controls show that additional history access or parameter count alone does not account for the overall performance pattern.

Reviewer_SuGPOpenReview ↗
Rating
5
Clarity
4
Confidence
2
Originality
2
Quality
3
Significance
3
Read review
Summary

The paper claims that the sliding window in HAR has partial evidence regarding activity rather than full instance and studies it. The proposed PSDNet combines the latent phase evidence, recent history, script compatibility and uncertainty triggered refinement. The empirical evaluation is exhaustive with multiple HAR datasets.

Strengths and weaknesses

Strengths: The paper is easy to read and follow through and well written in general.

  1. The problem is well identified as sliding window in HAR is sensitive to segmentation, overlap and validation protocol and prior works also support the evidence.

  2. The idea of treating each window as partial phase evidence, rather than as a complete activity instance, is technically interesting. This is relevant for boundary windows and alike activities where the local sensor fragment may not be sufficient for classification

  3. The appendix includes useful analyses supporting the experimental setup and interpretation.

  4. The evaluation is comprehensive by being conducted on eight HAR datasets and multiple baselines with repeated experiments.

Weaknesses:

Though the paper motivates the sliding window level ambiguity well enough, I'm a bit unconvinced with the specific phase script formulations. The method defines phase primitives as a soft assignment over a learnable primitive bank and class specific phase scripts are learned slots. It would be beneficial to explain how is this not just a generic learned codebook, for instance MoPFormer tokenizes the signal into motion primitive codewords, the paper should distinguish what additional structure is introduced by the proposed phase scripts. What sort of evidence shows that the learned slots correspond to phase progression? Also what would happen if the slots are shuffled or temporally randomized? If the model is sensitive to such perturbations, the methodology would be justified much better.

As the paper argues that fixed windows can be incomplete, misaligned during transition, a useful experiment would be to vary window length, stride, and overlap on datasets such as PAMAP2, USC, and UniMiB and compare PSDNet against strong history based baselines. Would PSDNet degrade when windows are shortened or made to be less aligned with activity boundaries? What would happen if the test windows are deliberately offset around transition regions? Under these tests, the gains would be more clear specifically near boundary F1 and near-boundary F1.

Questions

Please refer to weaknesses part

Limitations

yes

Paper formatting concerns

none

Final justification

While the class-script contribution remains modest in the original ablation, and the matched capacity results are not uniformly favorable across datasets, the additional evidence is sufficient to establish that the method is doing more than a generic aggregation. Overall, I believe it adds a good value to the community and am therefore increasing the rating

1 comment

We thank Reviewer SuGP for the careful reading, the positive assessment of the paper's clarity and empirical scope, and the constructive questions about phase-script structure and window robustness. We address the two concerns below.

W1. Phase-script structure, phase progression, and distinction from a generic codebook. PSDNet's distinction is defined by the complete decision path rather than by the primitive bank alone. Eq. (3) represents the current window as soft evidence over shared latent phase primitives; Eq. (4) summarizes preceding phase evidence chronologically; Eq. (5) compares the history-conditioned descriptor with class-specific phase scripts; and Eqs. (7)-(10) invoke candidate-focused residual refinement only when local evidence is uncertain. Thus, the primitive bank is an intermediate evidence layer, while the additional structure lies in chronological context, class-conditioned script compatibility, and selective refinement.

This also clarifies the distinction from MoPFormer. Both methods recognize the usefulness of motion primitives. PSDNet specifically addresses the sliding-window decision-granularity mismatch by combining full-window soft phase evidence with ordered cross-window history, class-specific compatibility, and uncertainty-gated refinement. Our claim is not that PSDNet is the first method to learn a primitive vocabulary, but that primitive evidence is organized and used differently in the final decision process.

The two perturbations raised by the reviewer test different properties. The script slots are latent phase patterns rather than hand-crafted early/middle/late indices. A synchronized permutation of the slot rows simply relabels these latent patterns; because Eq. (5) attends to and sums over all rows, it is analytically permutation-invariant, with a maximum absolute output-probability difference of at most 1.0×10−71.0\times10^{-7} across the three datasets. This is a slot-labeling symmetry, not a removal of temporal information. Phase progression is represented by the ordered evolution of primitive evidence and class compatibility across chronologically observed windows; temporal randomization, in contrast, disrupts that chronology.

To examine how the learned primitive evidence changes around activity transitions, we compare adjacent-window primitive-distribution divergence across Boundary, Near-Boundary, and Interior regions and measure the corresponding shift in class-script compatibility. Boundary windows overlap a ground-truth label change; Near-Boundary windows form the immediately adjacent disjoint group. Transition Compatibility Shift is the change across a context-complete transition in new-class compatibility relative to old-class compatibility; a positive value denotes a shift toward the incoming activity.

DatasetBoundary primitive JSNear-Boundary primitive JSInterior primitive JSBoundary/InteriorNear/InteriorTransition Compatibility Shift
HAPT0.3812 ± 0.01040.0364 ± 0.02810.0196 ± 0.009919.45x1.86x6.9632 ± 2.7839
PAMAP20.2709 ± 0.05090.3022 ± 0.01590.0492 ± 0.00865.51x6.14x1.1385 ± 1.0062

Boundary divergence is markedly elevated relative to Interior on HAPT, while both Boundary and Near-Boundary divergence are elevated on PAMAP2. These results show transition-sensitive reorganization of the learned primitive evidence. The positive Transition Compatibility Shifts further show that class compatibility moves toward the incoming activity across transitions.

Table 4 counts transition-adjacent windows, whereas the Transition Compatibility Shift analysis counts context-complete transition events; the 52/104 window counts and the 26 transition-event count therefore refer to different statistical units.

We further randomize chronological history at fixed checkpoints. Script-branch Top-1 is the fraction of windows for which the ground-truth class has the highest script-compatibility score. Script margin is the ground-truth class compatibility minus the highest competing-class compatibility. Chance Top-1 is 8.33% for the 12-class HAPT and PAMAP2 datasets and 16.67% for the 6-class MotionSense dataset. Here Δ=randomized−chronological\Delta=\text{randomized}-\text{chronological}, so a negative value denotes a decrease after perturbation.

DatasetScript-branch Top-1: chronological -> randomized (%)Script margin: chronological -> randomizedΔ\Delta System-1 F1 (pp)Mean Δ\Delta final F1 (pp)
HAPT84.82 ± 12.74 -> 75.00 ± 12.383.87 ± 1.82 -> 2.53 ± 1.40-1.73 ± 0.58-1.60
PAMAP257.75 ± 20.53 -> 57.73 ± 19.851.31 ± 1.23 -> 1.29 ± 1.20-0.12 ± 0.09-0.21
MotionSense80.75 ± 9.61 -> 80.55 ± 9.883.52 ± 0.89 -> 3.51 ± 0.88-0.19 ± 0.11-0.23

With chronological history, the ground-truth class receives the highest script-compatibility score for 84.82% of HAPT windows, 57.75% of PAMAP2 windows, and 80.75% of MotionSense windows, far above the corresponding chance levels. Together with the positive Transition Compatibility Shifts, this shows that the script pathway provides class-specific, transition-sensitive compatibility rather than an interchangeable class-agnostic codebook.

Temporal randomization lowers mean final F1 on all three datasets and produces the clearest branch-level response on HAPT: Script-branch Top-1, script margin, System-1 F1, and final F1 all decrease. The smaller marginal changes on PAMAP2 and MotionSense are consistent with stronger local or adjacent-window evidence on those datasets. Thus, pure slot relabeling leaves the function unchanged, whereas disrupting chronology degrades the decision path.

W2. Robustness to window length, stride/overlap, and segmentation-grid placement. The submitted Table 4 reports transition-stratified Boundary and Near-Boundary performance on HAPT and PAMAP2 under their native window settings. To isolate sensitivity to segmentation choices against a history-based control, we additionally vary window length, stride/overlap, and grid phase on MotionSense, using the same activity-specific recordings, evaluation split, and physical history budget across configurations.

Relative to the window-only CNN baseline used in the submitted paper's Table 4, PSDNet improves Boundary/Near-Boundary F1 by 3.38/1.08 pp on HAPT and by 16.70/14.40 pp on PAMAP2, computed on 605/955 and 52/104 boundary/near-boundary windows, respectively.

For the controlled MotionSense study, Native uses W=128,S=64,L=6W=128,S=64,L=6; Short uses W=64,S=32,L=12W=64,S=32,L=12 while preserving 50% overlap; and Sparse uses W=128,S=128,L=3W=128,S=128,L=3. The physical history budget remains 7.68 s. HistoryMHA is a conventional causal history-attention control evaluated with the same preceding-history budget. We report absolute F1, each model's change from Native, and the PSDNet-minus-HistoryMHA gap.

DatasetSettingWSOverlap (%)LHistory budget (s)PSDNet F1 (%)HistoryMHA F1 (%)Gap (pp)PSDNet change vs. Native (pp)HistoryMHA change vs. Native (pp)Gap paired ttGap pp
MotionSenseNative128645067.6897.15 ± 0.1696.76 ± 0.31+0.39——4.710.009
MotionSenseShort643250127.6897.12 ± 0.2096.39 ± 0.22+0.73-0.04-0.384.900.008
MotionSenseSparse128128037.6896.58 ± 0.4195.77 ± 0.25+0.81-0.57-0.992.470.069

Shortening the window changes PSDNet F1 by -0.04 pp, compared with -0.38 pp for HistoryMHA; removing overlap changes their F1 by -0.57 and -0.99 pp, respectively. PSDNet remains above HistoryMHA in all three settings, and the gap does not collapse under the more difficult segmentations: it increases numerically from +0.39 pp in Native to +0.73 pp in Short and +0.81 pp in Sparse. Paired two-tailed tests assess the within-setting gaps; differences use unrounded values.

We additionally shift the complete test segmentation grid by 0,14,12,340,\frac14,\frac12,\frac34 of the native stride without retraining. Both models receive the same shifted windows and only preceding context.

DatasetOffset (stride fraction)Offset (samples)Test windowsPSDNet F1 (%)HistoryMHA F1 (%)Gap (pp)Gap paired ttGap pp
MotionSense0.0004,35297.15 ± 0.1696.76 ± 0.31+0.394.710.009
MotionSense0.25164,33697.02 ± 0.2196.72 ± 0.26+0.302.530.065
MotionSense0.50324,31396.93 ± 0.1796.62 ± 0.20+0.313.530.024
MotionSense0.75484,29596.98 ± 0.1796.60 ± 0.37+0.382.850.046

Across all offsets, PSDNet retains a positive gap of +0.30 to +0.39 pp over HistoryMHA, with a mean gap of approximately +0.35 pp. Together with the HAPT/PAMAP2 transition-stratified results, this shows that PSDNet's advantage persists under shorter windows, no overlap, and deliberate segmentation-grid shifts rather than depending on one favorable window alignment.

Comments on the paper

1 comment
Meta-review

This work addresses the issue of mismatch between fixed sliding-window segmentation and activity-level supervision in HAR, and proposes a coherent framework with decompositions. The authors propose to consider each window frame as a phase of an activity, and each activity is represented by a script. The decomposition is expected to alleviate the granularity mismatch. The proposed approach is sensible and reports good performance. However, the main concern remains as follows: The phase primitives and scripts lack structural constraints, and the authors provide little analysis of the optimized primitives and scripts to validate their effect.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.