potentialpaper

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

Qi Teng, Xueer Wang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Sliding-window human activity recognition (HAR) segments continuous sensor streams into fixed-length, overlapping windows and trains a classifier to assign a single activity label to each window. In practice, window length and stride are dictated by sampling rates, latency or computation constraints, and assumed motion durations, yet they need not align with complete motion cycles or activity transitions. Individual windows may therefore capture 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 partial local motion evidence. To address this mismatch, we propose PSDNet (Phase-Script Deliberation Network), which decouples local phase interpretation from final activity classification. PSDNet encodes the current window into latent phase primitives, integrates them with recent history against learned class-specific phase scripts—compact templates of short-term phase patterns—and produces an initial evidential prediction with an uncertainty score. When uncertainty remains high, a selective deliberation module leverages targeted contextual evidence to refine classification scores over a small candidate set. An auxiliary boundary objective further encourages sensitivity to activity transitions without serving as a hard routing rule. This design concentrates extra computation where direct classification is least reliable while keeping unambiguous cases efficient. Experiments across eight public HAR benchmarks demonstrate that PSDNet consistently improves accuracy and weighted F1 over strong CNN- and sequence-based baselines, with extensive analyses on boundary-adjacent windows and look-alike confusion pairs further validating phase-aware selective deliberation under insufficient local evidence.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
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.

Final justification

This work addresses the mismatch between fixed sliding-window segmentation and activity-level supervision in human activity recognition. PSDNet treats each window as partial phase evidence, aggregates preceding evidence chronologically, evaluates class-specific script compatibility, and selectively invokes a second-stage refinement model for uncertain cases. The problem formulation is meaningful, the proposed framework is coherent, and the evaluation is broad, covering eight HAR datasets with extensive ablations and efficiency analyses.

The rebuttal and subsequent discussion substantially addressed the main concerns of reviewers. First, the authors clarified that the contribution lies in the complete phase-script decision pathway rather than in the primitive bank alone: shared phase evidence is combined with causal history and class-conditioned compatibility before uncertainty-based refinement. Fixed-checkpoint diagnostics further show distributed primitive use, transition-responsive primitive dynamics, above-chance class-script compatibility, and degradation when chronological history is randomized. These results provide evidence that the pathway learns nontrivial class-specific temporal structure beyond a generic codebook. Second, the additional robustness experiments show that PSDNet remains competitive under shorter windows, removal of overlap, and deliberate segmentation-grid shifts, consistently outperforming a matched-history attention baseline on MotionSense. Third, the authors provided the requested matched-history and approximately matched-capacity controls. These comparisons support the proposed mechanism most clearly on HAPT and UniMiB. The evidence is less uniform on PAMAP2, where the history-and-capacity-matched control reaches near parity overall and performs better in the boundary and near-boundary subsets. Thus, the controlled experiments do not establish a uniform advantage for the phase-script design in every setting, but they do rule out a simple explanation based solely on additional history or parameter count.

The authors also clarified that the uncertainty gate targets System-1 errors rather than annotated boundaries. On its intended objective, the reported error-prediction AUROC and concentration of errors among triggered windows provide strong support for the selective-computation mechanism. The additional cross-dataset capacity study likewise explains that the Small-versus-Full ordering is dataset dependent and does not follow a monotonic parameter-count trend.

Following the rebuttal, two reviewers updated their ratings to Accept, and the remaining reviewer explicitly stated that the concerns were resolved and that they intended to raise their score to Accept. While the incremental contribution of the direct class-script term is modest and the matched-control results are not uniformly favorable, the paper offers a useful problem formulation, a technically sound method, comprehensive empirical evaluation, and a convincing accuracy–efficiency result. Overall, I believe the paper meets the NeurIPS acceptance bar and recommend acceptance as a poster.

Area Chair FcUY · Meta-reviewOpenReview ↗
Read meta-review
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.

Final justification

This work addresses the mismatch between fixed sliding-window segmentation and activity-level supervision in human activity recognition. PSDNet treats each window as partial phase evidence, aggregates preceding evidence chronologically, evaluates class-specific script compatibility, and selectively invokes a second-stage refinement model for uncertain cases. The problem formulation is meaningful, the proposed framework is coherent, and the evaluation is broad, covering eight HAR datasets with extensive ablations and efficiency analyses.

The rebuttal and subsequent discussion substantially addressed the main concerns of reviewers. First, the authors clarified that the contribution lies in the complete phase-script decision pathway rather than in the primitive bank alone: shared phase evidence is combined with causal history and class-conditioned compatibility before uncertainty-based refinement. Fixed-checkpoint diagnostics further show distributed primitive use, transition-responsive primitive dynamics, above-chance class-script compatibility, and degradation when chronological history is randomized. These results provide evidence that the pathway learns nontrivial class-specific temporal structure beyond a generic codebook. Second, the additional robustness experiments show that PSDNet remains competitive under shorter windows, removal of overlap, and deliberate segmentation-grid shifts, consistently outperforming a matched-history attention baseline on MotionSense. Third, the authors provided the requested matched-history and approximately matched-capacity controls. These comparisons support the proposed mechanism most clearly on HAPT and UniMiB. The evidence is less uniform on PAMAP2, where the history-and-capacity-matched control reaches near parity overall and performs better in the boundary and near-boundary subsets. Thus, the controlled experiments do not establish a uniform advantage for the phase-script design in every setting, but they do rule out a simple explanation based solely on additional history or parameter count.

The authors also clarified that the uncertainty gate targets System-1 errors rather than annotated boundaries. On its intended objective, the reported error-prediction AUROC and concentration of errors among triggered windows provide strong support for the selective-computation mechanism. The additional cross-dataset capacity study likewise explains that the Small-versus-Full ordering is dataset dependent and does not follow a monotonic parameter-count trend.

Following the rebuttal, two reviewers updated their ratings to Accept, and the remaining reviewer explicitly stated that the concerns were resolved and that they intended to raise their score to Accept. While the incremental contribution of the direct class-script term is modest and the matched-control results are not uniformly favorable, the paper offers a useful problem formulation, a technically sound method, comprehensive empirical evaluation, and a convincing accuracy–efficiency result. Overall, I believe the paper meets the NeurIPS acceptance bar and recommend acceptance as a poster.

1 comment
Authors · CommentOpenReview ↗

We thank the Area Chair for recognizing the granularity-mismatch formulation, PSDNet’s coherence, and its empirical performance. The meta-review asks whether the phase primitives and class scripts are sufficiently constrained and whether their optimized behavior has been directly analyzed.

Direct answer. PSDNet constrains latent phase evidence through a shared simplex primitive space, preceding-only chronological context, and class-specific compatibility that directly augments the logits. Submitted ablations and fixed-checkpoint diagnostics show distributed primitive use, transition-aligned dynamics, class-discriminative compatibility, and sensitivity to temporal-history perturbation.

The phase-script pathway has three explicit architectural constraints

  • Representation structure. Eq. (3) restricts each window to a simplex mixture qtq_t over one shared primitive bank, placing current and historical windows in the same phase-evidence space.
  • Temporal structure. Eq. (4) constructs ctc_t only from preceding evidence zt−L:t−1z_{t-L:t-1} through a masked recurrent encoder.
  • Class-decision structure. Eq. (5) compares z^t=zt+λsct\hat z_t=z_t+\lambda_s c_t with a separate script SkS_k for each class. The resulting gtg_t augments the System-1 logits, affecting local prediction and routing uncertainty.

Thus, primitives enter prediction through a shared, past-only, class-indexed interface rather than a free codebook or auxiliary visualization head.

The script slots are latent patterns, not hand-authored early/middle/late indices. For cyclic activities such as walking, progression is represented by the chronological evolution of primitive evidence and its compatibility with class scripts. A synchronized slot permutation is therefore only a reindexing (maximum output-probability change ≤1.0×10−7\leq1.0\times10^{-7}), whereas randomizing chronology changes compatibility and predictions. This distinguishes the complete phase-script pathway from a generic primitive vocabulary: evidence is organized through ordered history and class-conditioned matching before selective refinement. Full formulation, transition, and perturbation details are in Point 1 of our response to SuGP.

Direct analysis confirms the optimized primitive and script behavior

Submitted Table 2 reports phase-primitive weighted-F1 contributions of +1.60/+2.29 pp on UniMiB/PAMAP2, while Figures 4 and 7 visualize activation dynamics and class-specific compatibility. At fixed checkpoints, effective primitive-use ratios are 0.895–0.929 and maximum mean occupancy is at most 0.184, showing distributed rather than collapsed use. Effective ratio is entropy-derived; occupancy is the largest mean assignment mass. At annotated boundaries, primitive divergence is 5.51–19.45 times activity-interior divergence. Compatibility shifts toward the incoming activity by +6.96 on HAPT and +1.14 on PAMAP2, positive for all five seeds. HAPT provides 328 transitions; PAMAP2 independently replicates the direction over 26 transitions.

The ground-truth class receives the highest script-compatibility score on 84.82% of HAPT, 57.75% of PAMAP2, and 80.75% of MotionSense windows, versus chance levels of 8.33%, 8.33%, and 16.67%. Chronological rather than randomized history improves System-1 F1 by +1.73/+0.12/+0.19 pp and final F1 by +1.60/+0.21/+0.23 pp on HAPT/PAMAP2/MotionSense; all seed-wise System-1 differences are positive. On HAPT, randomization lowers script Top-1 from 84.82% to 75.00% and the margin from 3.87 to 2.53. These results connect learned variables to discrimination, transitions, and history use.

The submitted w/o Class Scripts row removes only gtg_t, retaining phase primitives, chronological history, the current-window feature, and System 2. Its +0.25/+0.26 pp contribution on UniMiB/PAMAP2 is therefore an incremental test, not an ablation of the complete pathway. Full class-script diagnostics and this ablation boundary are in Point 2 of our response to ndVw.

As complementary attribution evidence, PSDNet remains +0.64/+0.23 pp above a same-history attention control on HAPT/PAMAP2. With history and capacity approximately matched, it is +1.41 pp on HAPT and within 0.23 pp on PAMAP2. Submitted UniMiB controls similarly give +0.65 pp over CNN+HistoryMHA and +1.34 pp over ContextNet-PM*. These controls, detailed in Point 2 of our response to yjtm, show that history access or parameters alone do not explain the pattern.

Together, these restrictions and diagnostics show distributed primitive use, transition-responsive dynamics, class-specific compatibility, and predictive contribution.

Reviewer ndVwOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

Formatting concerns

none

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

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:

Dataset Params: Small / Full Weighted F1: Small / Full (%) Small−Full (pp) Trigger Rate: Small / Full (%)
HAPT 1.00M / 2.51M 97.50 ± 0.42 / 97.51 ± 0.24 −0.01 3.9 / 1.9
PAMAP2 2.11M / 4.74M 95.96 ± 0.39 / 96.94 ± 0.61 −0.98 1.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:

Dataset Script-compatibility correct-class Top-1 (%) Transition Compatibility Shift
HAPT 84.82 ± 12.74 +6.96 ± 2.78
PAMAP2 57.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/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

Final justification

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

Formatting concerns

NA

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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.

Dataset Control Matched factor LL Params: PSDNet / Control Overall Δ\DeltaF1 Boundary Near-Boundary Interior
HAPT HistoryMHA History 10 2.51M / 1.04M +0.64 -0.29 +0.20 +1.22
HAPT Widened context† History + capacity 10 2.51M / 2.23M +1.41 +2.24 +1.16 +1.19
PAMAP2 HistoryMHA History 8 4.74M / 3.27M +0.23 +6.58 +4.04 -0.02
PAMAP2 Widened context† History + capacity 8 4.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.

Dataset Params: Small / Full Weighted F1: Small / Full (%) Small −- Full (pp)
HAPT 1.00M / 2.51M 97.50 ± 0.42 / 97.51 ± 0.24 -0.01
PAMAP2 2.11M / 4.74M 95.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 yJTM · CommentOpenReview ↗

I thank the authors for the direct rebuttal with convincing experiments.

On W1, I accept the answer. I had interpreted Table 10 as a test of the boundary mechanism, and the authors are right that it is not one: the gate is trained and used to catch windows that System 1 will get wrong, not windows that sit on an annotated transition, and the boundary head never triggers anything at inference. Judged on its actual target, the gate is strong.

On W2, the new controls are fair. HAPT supports the claim: with history and capacity both matched, PSDNet is +1.41 overall and positive in all three regions, which I understand is exactly the pattern the paper predicts. PAMAP2 does not support it: under the same matched comparison PSDNet is -0.23 overall, -5.83 on boundary windows and -8.65 on near-boundary windows, that is, it loses in the very region where the mechanism is supposed to pay off. The rebuttal describes this as "near parity", which I find fair for the overall figure (but I'm not sure if it's fair for the region figures).

I find the granularity-mismatch formulation a genuine contribution, the eight-dataset comparison is backed by paired significance tests, and the accuracy-efficiency result stands on its own: near-peak F1 at a 1.3% trigger rate is a useful result independently of which component earns the credit.

My two original objections are answered, so I am inclined to raising my recommendation to accept as of now.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the careful follow-up and thoughtful, balanced assessment of our rebuttal and additional experiments. We greatly appreciate the time and attention devoted to evaluating our work.

Reviewer SuGPOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

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

Formatting concerns

none

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

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.

Dataset Boundary primitive JS Near-Boundary primitive JS Interior primitive JS Boundary/Interior Near/Interior Transition Compatibility Shift
HAPT 0.3812 ± 0.0104 0.0364 ± 0.0281 0.0196 ± 0.0099 19.45x 1.86x 6.9632 ± 2.7839
PAMAP2 0.2709 ± 0.0509 0.3022 ± 0.0159 0.0492 ± 0.0086 5.51x 6.14x 1.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.

Dataset Script-branch Top-1: chronological -> randomized (%) Script margin: chronological -> randomized Δ\Delta System-1 F1 (pp) Mean Δ\Delta final F1 (pp)
HAPT 84.82 ± 12.74 -> 75.00 ± 12.38 3.87 ± 1.82 -> 2.53 ± 1.40 -1.73 ± 0.58 -1.60
PAMAP2 57.75 ± 20.53 -> 57.73 ± 19.85 1.31 ± 1.23 -> 1.29 ± 1.20 -0.12 ± 0.09 -0.21
MotionSense 80.75 ± 9.61 -> 80.55 ± 9.88 3.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.

Dataset Setting W S Overlap (%) L History budget (s) PSDNet F1 (%) HistoryMHA F1 (%) Gap (pp) PSDNet change vs. Native (pp) HistoryMHA change vs. Native (pp) Gap paired tt Gap pp
MotionSense Native 128 64 50 6 7.68 97.15 ± 0.16 96.76 ± 0.31 +0.39 — — 4.71 0.009
MotionSense Short 64 32 50 12 7.68 97.12 ± 0.20 96.39 ± 0.22 +0.73 -0.04 -0.38 4.90 0.008
MotionSense Sparse 128 128 0 3 7.68 96.58 ± 0.41 95.77 ± 0.25 +0.81 -0.57 -0.99 2.47 0.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.

Dataset Offset (stride fraction) Offset (samples) Test windows PSDNet F1 (%) HistoryMHA F1 (%) Gap (pp) Gap paired tt Gap pp
MotionSense 0.00 0 4,352 97.15 ± 0.16 96.76 ± 0.31 +0.39 4.71 0.009
MotionSense 0.25 16 4,336 97.02 ± 0.21 96.72 ± 0.26 +0.30 2.53 0.065
MotionSense 0.50 32 4,313 96.93 ± 0.17 96.62 ± 0.20 +0.31 3.53 0.024
MotionSense 0.75 48 4,295 96.98 ± 0.17 96.60 ± 0.37 +0.38 2.85 0.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.

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

Missing a submission?

Loading the discussion…