arXiv:2610.24166cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24166

Margin Certificates for Voting Classifiers under Mixing Dependence

Adria Binte Habib, Ibne Farabi Shihab

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Margin bounds explain why weighted votes can generalize even after their training error has vanished, but dependent observations require concentration arguments that keep the dependence model and failure budget explicit. We develop a rigorous account for stationary mixing streams without treating dependence as a formal substitution of an “effective sample size.” For a finite base class, we combine independent-block Rademacher theory for stationary β\beta-mixing processes with a clipped margin loss to obtain an explicit uniform voting-margin certificate. The dependence penalty is controlled by the number of approximately independent blocks and the coupling budget 4(μ−1)β(a)4(\mu - 1)\beta(a). We then prove a black-box transfer theorem showing that any i.i.d. voting-margin guarantee remains valid on a regularly spaced subsequence with only an additive β\beta-mixing failure probability. For votes fixed independently of a stationary finite-state reversible Markov evaluation stream, spectral concentration yields the cleaner trel/n\sqrt{t_{\text{rel}}/n} rate, and a fully specified sticky-refresh construction shows that this dependence exponent is unavoidable for confidence-valid fixed-vote margin certificates. The associated constant is statistic-specific: the asymptotic effective sample size is n/τint(g)n/\tau_{\text{int}}(g), with τint(g)≤2trel−1\tau_{\text{int}}(g) \leq 2t_{\text{rel}} - 1 and equality only under spectral alignment. A new adaptive theorem shows that when the dependence scale is unknown, a batch-means Student-t interval is valid at a stated level up to an explicit remainder that vanishes in the number of batches, without knowledge of trelt_{\text{rel}} or τint\tau_{\text{int}}, and its width is governed by τint(g)\tau_{\text{int}}(g) rather than the worst-case trelt_{\text{rel}}; the only requirement is that the batch length exceeds C0trellog⁡(B/δ)C_0 t_{\text{rel}} \log(B/\delta), which a conservative choice L=n2/3L = n^{2/3} satisfies for all trel≪n2/3t_{\text{rel}} \ll n^{2/3}. Experiments exercise the four claims: the learned-vote certificate is computed with every constant for a vote trained on the dependent stream and is nonvacuous once the block count is large enough; a two-timescale construction realizes the statistic-specific gap, where a consistent batch-means interval is an order of magnitude (8.1×)(8.1 \times) narrower than the worst-case relaxation-time interval while retaining nominal coverage within binomial error (0.945,Wilson CI [0.924,0.961])(0.945, \text{Wilson CI } [0.924, 0.961]), against the worst-case interval’s 1.000); standard block-bootstrap and batch-means intervals undercover under strong dependence where the certificate stays valid; an intrinsic-dependence stream with a shuffled control isolates temporal ordering as the cause of naive undercoverage; and on real, naturally ordered UCI HAR sensor data the dependence-agnostic certificate attains nominal 0.95 coverage where naive intervals reach only 0.38.

Introduction

Voting classifiers—bagging (Breiman 1996), random forests (Breiman 2001), boosting (Freund and Schapire 1997; Schapire and Freund 2012), and modern deep ensembles—aggregate many predictors into a single vote. Their theory is unusually mature because the central quantity is not only the training error but the distribution of signed margins. For a real-valued vote score F, the margin yF(x)yF(x) records both correctness and confidence. The classical analysis of Schapire et al. (1998) used this distribution to explain why boosting may continue to improve test performance after the training error reaches zero, and subsequent work refined empirical-margin bounds and clarified their limitations (Koltchinskii and Panchenko 2002; Reyzin and Schapire 2006; Gao and Zhou 2013). PAC-Bayesian analyses provide a complementary route through the Gibbs classifier, margin moments, and majority-vote risk (Lacasse et al. 2006; Germain et al. 2015; Masegosa et al. 2020; Langford and Shawe-Taylor 2002). Recent work continues to sharpen the i.i.d. theory for finite voting classes (Høgsgaard Møller and Green Larsen 2025; Green Larsen and Schalburg 2025).

The data used to evaluate or train an ensemble are often dependent. Sensor streams contain long temporal runs, session data arrive in bursts, labels may be clustered by subject or location, and replay buffers inherit the dependence of an underlying trajectory. In such settings, a sample of length n need not contain n independent pieces of information. The informal response is to replace n by an effective sample size, but that slogan hides the hard questions: which dependence notion is assumed, whether the classifier is fixed or selected from the same sample, whether the empirical margin term is evaluated on the full stream or a thinned subsequence, and how the coupling error enters the confidence level.

There is already substantial dependent-data generalization theory—Rademacher bounds for stationary β\beta-mixing processes (Mohri and Rostamizadeh 2008), non-i.i.d. PAC-Bayes (Ralaivola, Szafranski, and Stempfel 2010), and stability, empirical-process, and weak-dependence analyses (Yu 1994; Mohri and Rostamizadeh 2010; Steinwart, Hush, and Scovel 2009; Kuznetsov and Mohri 2017; Dagan et al. 2019). Our contribution is therefore not a first theory of margins under dependence, but a focused voting-classifier treatment that makes four statements precise and keeps them separate.

For a vote learned from a finite base class, we derive an explicit β\beta-mixing margin certificate that displays the block count, spacing, class complexity, margin threshold, and coupling failure probability rather than hiding them in a residual. For any sharper i.i.d. voting-margin theorem, we give a black-box transfer principle: apply it to deterministically spaced observations and add the exact mixing-coupling budget. For a vote fixed before the correlated stream is drawn, reversible-chain concentration gives the cleaner trel/n\sqrt{t_{\text{rel}}/n} rate with the correct statistic-specific constant, and a matching lower bound over a sticky-refresh family shows the exponent is unavoidable. Finally, when the dependence scale is unknown, a data-driven batch-means certificate is finite-sample valid without knowledge of trelt_{\text{rel}} or τint\tau_{\text{int}} and is rate-optimal among dependence-agnostic procedures, matched by a corresponding lower bound (Theorems 6 and 7).

These distinctions matter empirically, and our experiments separate along them. One study computes the full Theorem 1 certificate for a vote selected from the dependent stream, so the uniform-complexity term is genuinely in force; the remaining studies evaluate votes fixed before the correlated stream is drawn and therefore probe fixed-statistic concentration. The main paper reports the learned-vote certificate, the statistic-specific effective-sample-size study, and an induced class-Markov deep-ensemble stress test; a persistent-cluster rate experiment, a margin sweep, a coverage study, a block-length ablation, and a dependence-estimation study are given in the supplement, each interpreted at the level its design supports. In particular, the synthetic generator contains ordinary Bernoulli noise as well as persistence, so its long-run variance has an i.i.d. floor plus a dependence component, and the deep-ensemble study uses trained classifiers but induces the evaluation dependence artificially—a stress test, not evidence from naturally dependent deployment data.

References (47)