Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 26 min ago
PreprintarXiv licencearXiv

Sliding-Window Detection of Hidden Regimes under Stochastic Switching

Abstract

A sliding-window average is a simple estimator of the current state of a hidden regime-switching process, such as a hidden Markov model. A longer window averages out more noise but is more likely to contain a switch, and the question is what such a switch costs. We analyse the decoder that assigns the average of the last m observations to the nearest regime mean. For two regimes with conditionally independent, stochastically ordered observations, a switch inside the window, averaged uniformly over its positions and directions, causes an error with probability exactly 1/2. Consequently, for every stationary switching law, the error is at most P̅(m)+s̅(m−1)/2, where P̅(m) is the stationary-weighted single-regime error and s̅ the switch rate. Under Markov switching, time reversal shows that a window whose oldest and current regimes differ is misclassified with probability exactly 1/2, however many switches it contains, and the bound is attained up to a factor pminm−1. For Gaussian noise with common variance, minimizing the bound gives an explicit window length which, in units of σ2/Δ2, depends only on the expected number of switches in that time. As switching probabilities vanish proportionally, the optimal error is s̅log(1/s̅)/(2I)(1+o(1)), with I the single-regime Chernoff exponent. In the Gaussian case this is twice the Bayes error. For symmetric switching, exponentially weighted moving averages reduce this factor to at most 2log2≈1.39, and two-block weights adapted to the switch rate attain the Bayes rate. For three or more regimes, long-window switch costs are set by the geometry of the regime means. For Markov-modulated random walks with ±1 steps on a reflecting lattice, a position-aware decoder learns as fast as without walls under holding boundaries, while steps at bouncing boundaries carry none.

Related

  1. Sliding-Window Signatures as Features for Time Series Forecasting
    Nina Drobac, Margaux Brégère, Joseph de Vilmarest +1
    HALPreprintCC BY-NC 4.0Full textStatisticsHAL
  2. Encoding Time Series Dynamics with Sliding-Window Signatures for Online Forecasting
    Nina Drobac, Margaux Brégère, Joseph de Vilmarest +1
    HALPreprintCC BY-NC 4.0Full textStatisticsHALarXiv
  3. Moving beyond stationarity: A sliding window z-score criterion for response time outlier exclusion
    Alexander Berger, Markus Kiefer
    PsyArXivPreprintCC BY 4.0Full textStatisticsOSF
  4. Exact Online Qn Estimation: Exploiting Sliding-Window Rank Invariance
    Robin Nunkesser
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  5. Poincaré's Inequality on Sliding-Window Occupation Count Kernels and the Optimal Normalized Spectral-Gap Constant
    Yanjin Xiang, Zhihua Zhang
    arXivPreprintCC BY-NC-SA 4.0Full textProbabilityStatisticsarXiv
BibTeX
@misc{pambukyan2026slidingwindow,
  title = {{Sliding-Window Detection of Hidden Regimes under Stochastic Switching}},
  author = {Arina Pambukyan and Hayk Nersisyan},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.34905},
  eprint = {2611.34905},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34905},
}
RIS
TY  - UNPB
TI  - Sliding-Window Detection of Hidden Regimes under Stochastic Switching
AU  - Arina Pambukyan
AU  - Hayk Nersisyan
PY  - 2026
DA  - 2026/11/25
PB  - arXiv
DO  - 10.48550/arxiv.2611.34905
UR  - https://arxiv.org/abs/2611.34905
AB  - A sliding-window average is a simple estimator of the current state of a hidden regime-switching process, such as a hidden Markov model. A longer window averages out more noise but is more likely to contain a switch, and the question is what such a switch costs. We analyse the decoder that assigns the average of the last m observations to the nearest regime mean. For two regimes with conditionally independent, stochastically ordered observations, a switch inside the window, averaged uniformly over its positions and directions, causes an error with probability exactly 1/2. Consequently, for every stationary switching law, the error is at most P̅(m)+s̅(m−1)/2, where P̅(m) is the stationary-weighted single-regime error and s̅ the switch rate. Under Markov switching, time reversal shows that a window whose oldest and current regimes differ is misclassified with probability exactly 1/2, however many switches it contains, and the bound is attained up to a factor p_min^m−1. For Gaussian noise with common variance, minimizing the bound gives an explicit window length which, in units of σ^2/Δ^2, depends only on the expected number of switches in that time. As switching probabilities vanish proportionally, the optimal error is s̅log(1/s̅)/(2I)(1+o(1)), with I the single-regime Chernoff exponent. In the Gaussian case this is twice the Bayes error. For symmetric switching, exponentially weighted moving averages reduce this factor to at most 2log2≈1.39, and two-block weights adapted to the switch rate attain the Bayes rate. For three or more regimes, long-window switch costs are set by the geometry of the regime means. For Markov-modulated random walks with ±1 steps on a reflecting lattice, a position-aware decoder learns as fast as without walls under holding boundaries, while steps at bouncing boundaries carry none.
ER  -