{
  "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 $\\bar P(m)+\\bar s(m-1)/2$, where $\\bar P(m)$ is the stationary-weighted single-regime error and $\\bar 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 $\\bar s\\log(1/\\bar 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 $2\\log2\\approx1.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 $\\pm1$ 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.",
  "abstract_shown": true,
  "affiliations": [],
  "article_type": null,
  "arxiv": "2611.34905",
  "author_total": 2,
  "authors": [
    {
      "name": "Arina Pambukyan"
    },
    {
      "name": "Hayk Nersisyan"
    }
  ],
  "bibtex": "https://research.draconitic.com/paper/99zwk01q6p8vt.bib",
  "cited_by": 0,
  "doi": "10.48550/arxiv.2611.34905",
  "fulltext_url": null,
  "id": "99zwk01q6p8vt",
  "issns": [],
  "landing_url": "https://arxiv.org/abs/2611.34905",
  "language": null,
  "licence": "LicenseRef-arXiv-nonexclusive-1.0",
  "licence_label": "arXiv licence",
  "licence_source": "article",
  "licence_url": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
  "metadata_licence": "CC0-1.0",
  "native_subjects": [
    [
      "arxiv",
      "eess.SP"
    ],
    [
      "arxiv",
      "math.PR"
    ],
    [
      "arxiv",
      "math.ST"
    ],
    [
      "arxiv",
      "stat.ML"
    ],
    [
      "arxiv",
      "stat.TH"
    ]
  ],
  "openalex": null,
  "pdf_url": "https://arxiv.org/pdf/2611.34905",
  "pmcid": null,
  "pmid": null,
  "published": "2026-11-25",
  "publisher": null,
  "ris": "https://research.draconitic.com/paper/99zwk01q6p8vt.ris",
  "sources": [
    {
      "first_seen": "2026-11-26T10:21:49Z",
      "native_id": "2611.34905",
      "source": "arxiv",
      "url": "https://arxiv.org/abs/2611.34905"
    }
  ],
  "subjects": [
    {
      "field": "mathematics",
      "origin": "arxiv:math.PR",
      "subfield": "probability"
    },
    {
      "field": "mathematics",
      "origin": "arxiv:math.ST",
      "subfield": "statistics"
    }
  ],
  "title": "Sliding-Window Detection of Hidden Regimes under Stochastic Switching",
  "title_text": "Sliding-Window Detection of Hidden Regimes under Stochastic Switching",
  "type": "preprint",
  "updated_at": "2026-11-26T10:21:49Z",
  "url": "https://research.draconitic.com/paper/99zwk01q6p8vt",
  "venue": "arXiv",
  "versions": []
}