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

Exact Online Qn Estimation: Exploiting Sliding-Window Rank Invariance

Abstract

The Qn scale estimator (Rousseeuw and Croux, 1993) combines a 50% finite-sample breakdown point with high Gaussian efficiency, but its computation requires selecting an order statistic among the binomn2 pairwise distances. We study exact online Qn computation in a sliding window by exploiting temporal rank coherence between consecutive windows. Formalizing the multiset decomposition of surviving pairwise distances in terms of strict and weak rank counts, we derive a tie-exact dual-rank update that verifies whether the previous unscaled estimate remains valid in 𝒪(log n) comparisons while maintaining the sorted window in 𝒪(n) time. When the target rank shifts by m positions, a localized row-heap procedure initialized via a monotonic two-pointer frontier scan extracts the new exact order statistic in 𝒪(n + mlog n) comparisons without materializing the difference matrix, complemented by a hybrid fallback that executes frontier-guided implicit matrix selection in 𝒪(nlog n) time for larger rank shifts. On deterministic multi-regime stress streams, our implementation matches the offline batch reference. In repeated same-platform benchmarks on a synthetic Gaussian stream, our implementation achieves median internal throughputs from 2,220,000 updates/s (n=25) and 1,140,000 updates/s (n=51) to 127,000 updates/s (n=201), outperforming both the exact FQN baseline (2.5× to 6.4×) and the approximate AFQN sketch (1.3× to 2.7×) across all tested window sizes.

Related

  1. 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
  2. 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
  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. 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
  5. Sliding-Window Detection of Hidden Regimes under Stochastic Switching
    Arina Pambukyan, Hayk Nersisyan
    arXivPreprintarXiv licenceFull textProbabilityStatisticsarXiv
BibTeX
@misc{nunkesser2026exact,
  title = {{Exact Online $Q_n$ Estimation: Exploiting Sliding-Window Rank Invariance}},
  author = {Robin Nunkesser},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.26852},
  eprint = {2611.26852},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26852},
}
RIS
TY  - UNPB
TI  - Exact Online Q_n Estimation: Exploiting Sliding-Window Rank Invariance
AU  - Robin Nunkesser
PY  - 2026
DA  - 2026/11/19
PB  - arXiv
DO  - 10.48550/arxiv.2611.26852
UR  - https://arxiv.org/abs/2611.26852
AB  - The Q_n scale estimator (Rousseeuw and Croux, 1993) combines a 50% finite-sample breakdown point with high Gaussian efficiency, but its computation requires selecting an order statistic among the binomn2 pairwise distances. We study exact online Q_n computation in a sliding window by exploiting temporal rank coherence between consecutive windows. Formalizing the multiset decomposition of surviving pairwise distances in terms of strict and weak rank counts, we derive a tie-exact dual-rank update that verifies whether the previous unscaled estimate remains valid in 𝒪(log n) comparisons while maintaining the sorted window in 𝒪(n) time. When the target rank shifts by m positions, a localized row-heap procedure initialized via a monotonic two-pointer frontier scan extracts the new exact order statistic in 𝒪(n + mlog n) comparisons without materializing the difference matrix, complemented by a hybrid fallback that executes frontier-guided implicit matrix selection in 𝒪(nlog n) time for larger rank shifts. On deterministic multi-regime stress streams, our implementation matches the offline batch reference. In repeated same-platform benchmarks on a synthetic Gaussian stream, our implementation achieves median internal throughputs from 2,220,000 updates/s (n=25) and 1,140,000 updates/s (n=51) to 127,000 updates/s (n=201), outperforming both the exact FQN baseline (2.5× to 6.4×) and the approximate AFQN sketch (1.3× to 2.7×) across all tested window sizes.
ER  -