延迟标签与分布偏移下的数据流评估时序代数框架
摘要
提出一个时序代数框架,用于在标签延迟与分布漂移下的数据流评估,通过指数衰减/滑动窗口加权混淆矩阵、观察掩码修正延迟标签,并用先验无关坐标区分先验漂移与概念漂移,相关陈述在 Lean 4 中验证并发布于 aggmetrics 包。
arXiv:2611.21914v1 Announce Type: new
Abstract: In data streams, labels often arrive late or only for some instances, class prevalence drifts, and rare classes vanish from short windows. Standard evaluation then confuses a degraded decision boundary with a change in prevalence, and is biased when labels are delayed or selected by the model. We extend an algebraic framework that obtains pooled (micro) and per-class (macro) measures from one confusion matrix to streams, weighting the counts in time by exponential fading or a sliding window; the update costs O(m^2) per step, whatever the stream length, and each pooled measure stays a weighted combination of the per-class ones. Delayed and selective feedback enter as an observation mask: until its label arrives, an instance is counted with the model's calibrated class probabilities, and the bias of this interim estimate is driven by their calibration error. Audited conventions report no value for a class without verified instances. We separate prior shift from concept drift by monitoring prior-free coordinates (recall and specificity) and attribute a change in a measure to the two sources with a first-order Jacobian decomposition. On synthetic streams and four real datasets, a detector on these coordinates with a memory per class raises no excess false alarms under label shift, unlike the Jacobian alarm and error-rate detectors. The correction for delayed labels recovers recall in some real settings and is only partial for precision, specificity and F1. Twenty-five statements are checked in Lean 4, and the code is in the aggmetrics package.
查看缓存全文
缓存时间: 2026/11/19 03:35
# A Temporal Algebraic Framework for Data Stream Evaluation Under Delayed Labels and Distribution Shifts
Source: [https://arxiv.org/html/2611.21914](https://arxiv.org/html/2611.21914)
###### Abstract
In data streams, labels often arrive late or only for some instances, class prevalence drifts, and rare classes vanish from short windows\. Standard evaluation then confuses a degraded decision boundary with a change in prevalence, and is biased when labels are delayed or selected by the model\. We extend an algebraic framework that obtains pooled \(micro\) and per\-class \(macro\) measures from one confusion matrix to streams, weighting the counts in time by exponential fading or a sliding window; the update costsO\(m2\)O\(m^\{2\}\)per step, whatever the stream length, and each pooled measure stays a weighted combination of the per\-class ones\. Delayed and selective feedback enter as an observation mask: until its label arrives, an instance is counted with the model’s calibrated class probabilities, and the bias of this interim estimate is driven by their calibration error\. Audited conventions report no value for a class without verified instances\. We separate prior shift from concept drift by monitoring prior\-free coordinates \(recall and specificity\) and attribute a change in a measure to the two sources with a first\-order Jacobian decomposition\. On synthetic streams and four real datasets, a detector on these coordinates with a memory per class raises no excess false alarms under label shift, unlike the Jacobian alarm and error\-rate detectors\. The correction for delayed labels recovers recall in some real settings and is only partial for precision, specificity andF1F\_\{1\}\. Twenty\-five statements are checked in Lean 4, and the code is in theaggmetricspackage\.
###### keywords
Data stream mining, Concept drift, Prior probability shift, Verification latency, Prequential evaluation, Performance measures
### 1Introduction
Models deployed on data streams process data at high velocity while the distribution changes, and the evaluation protocol is what tells an adaptive system whether the model is still healthy\. A protocol that cannot separate a degraded decision boundary from a transient shift can trigger needless adaptation or hide a real failure\.
Classification evaluation was developed for batch settings with independent and identically distributed observations, complete and immediate labels, and every class present in each evaluation sample\. Three of these assumptions break in streams\.
First, streams need continuous temporal aggregation\. Under the prequential \(test\-then\-train\) paradigm, predictions are made sequentially and the history is discounted by exponential fading \(α\\alpha\) or a sliding window \(WW\)\. Standard packages\([Bifet et al\., 2010](https://arxiv.org/html/2611.21914#bib.bib3);[Montiel et al\., 2018](https://arxiv.org/html/2611.21914#bib.bib17);[Montiel et al\., 2021](https://arxiv.org/html/2611.21914#bib.bib18)\)compute streaming metrics as ad hoc functions, with no guarantee on how temporal weighting interacts with micro\- and macro\-averaging across classes, and embedded applications bound the cost of an update and the memory they may use\.
Second, labels are not available immediately\. Predictions𝒑t\\bm\{p\}\_\{t\}are made at timettbut the true labels𝒚t\\bm\{y\}\_\{t\}arrive after an uncertain latencyΔt\\Delta\_\{t\}\(a fraudulent chargeback is confirmed after weeks\), and in credit underwriting or medical screening labels are revealed only for accepted candidates, so the model’s own decisions censor the rest\. Evaluating only the verified or uncensored instances can then be biased\.
Third, diagnostics under distribution shift are unreliable\. Accuracy, Precision andF1F\_\{1\}depend on the class priorPt\(Y\)P\_\{t\}\(Y\), so a change in class prevalence moves them even when the decision boundaryPt\(Y∣X\)P\_\{t\}\(Y\\mid X\)is intact and can make drift detectors such as ADWIN\([Bifet and Gavaldà, 2007](https://arxiv.org/html/2611.21914#bib.bib2)\)or DDM\([Gama et al\., 2004](https://arxiv.org/html/2611.21914#bib.bib9)\)raise spurious alarms\. Under extreme imbalance, a short window may contain no instance of a rare class, which leaves recall and related measures undefined \(0/00/0, a zero\-division void\), and the default conventions \(0/0→0\.00/0\\rightarrow 0\.0or1\.01\.0\) create artificial steps in monitoring dashboards\.
This paper extends the unified algebraic framework of indicator matrices\([Prati, 2027](https://arxiv.org/html/2611.21914#bib.bib24)\)to continuous, resource\-constrained and partially verified data streams\. That framework builds a confusion matrix from indicator matrices of the true and the predicted classes, and obtains pooled \(micro\) and per\-class \(macro\) performance measures from it by two reductions \(§[3](https://arxiv.org/html/2611.21914#S3)recalls them\)\. Figure[1](https://arxiv.org/html/2611.21914#S1.F1)shows the pipeline and Algorithm[1](https://arxiv.org/html/2611.21914#alg1)in §[4\.2](https://arxiv.org/html/2611.21914#S4.SS2)gives its update step by step\.
Figure 1:Pipeline of the framework\. Features and predictions arrive at timett, and each label arrives separately at timek\+Δkk\+\\Delta\_\{k\}with latencyΔk≥0\\Delta\_\{k\}\\geq 0\. Both flows feed the temporal operatorΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}, which keeps one evolving state𝑪\(t\)\\bm\{C\}\(t\)\. The global view reduces𝑪\(t\)\\bm\{C\}\(t\)directly, and the per\-class view first extracts each class’s table and then averages across classes\. Figure[2](https://arxiv.org/html/2611.21914#S3.F2)gives the algebraic architecture\.Our contributions are as follows\.
1. 1\.A temporal reduction operatorΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}that weights the confusion counts in time, in exponential\-fading and sliding\-window forms\. It updates inO\(m2\)O\(m^\{2\}\)operations per step independent of the stream length, and each pooled measure remains a weighted combination of the per\-class measures \(Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1)\)\.
2. 2\.A model of delayed and selective feedback as an observation mask, which contains the four label\-availability settings of[Gomes et al\. \(2022\)](https://arxiv.org/html/2611.21914#bib.bib11), and an interim estimate of missing labels, which counts a pending instance with the model’s calibrated class probabilities combined by the producttt\-norm, with a queue bounded by an analytic bound \(Algorithm[1](https://arxiv.org/html/2611.21914#alg1)\) and a bias that follows the calibration error of those probabilities\.
3. 3\.Prior\-free canonical coordinates \(recall and specificity for two classes, the confusion rows for several\), with the conditions under which they are prior\-free in the binary and the multiclass case, and a scheme that detects on these coordinates and attributes a metric change by a first\-order Jacobian decomposition, evaluated on synthetic and real streams with thresholds calibrated for the run\-level false alarm\.
4. 4\.Audited conventions for undefined \(zero\-division\) cases, a formula for the probability of an undefined window, and Pareto dominance over time for comparing online learners without choosing metric weights\.
Section[2](https://arxiv.org/html/2611.21914#S2)reviews related work\. Section[3](https://arxiv.org/html/2611.21914#S3)introduces the temporal operator, per\-class projections, complexity bounds and zero\-division auditing\. Section[4](https://arxiv.org/html/2611.21914#S4)presents observation masks for latency and censoring and the interim estimate\. Section[5](https://arxiv.org/html/2611.21914#S5)treats prior shift and concept drift: prior\-free coordinates, attribution and monitoring\. Section[6](https://arxiv.org/html/2611.21914#S6)reports the experiments and Section[8](https://arxiv.org/html/2611.21914#S8)concludes\. Examples[1](https://arxiv.org/html/2611.21914#Thmexample1)to[6](https://arxiv.org/html/2611.21914#Thmexample6)follow one small stream through the sections, and Appendix[10](https://arxiv.org/html/2611.21914#S10)lists their values\. Appendix[9](https://arxiv.org/html/2611.21914#S9)collects the notation\.
### 2Related Work and Background
Prequential error estimation, pioneered by Dawid\([Dawid, 1984](https://arxiv.org/html/2611.21914#bib.bib7)\)and popularized in streaming literature by Gama et al\.\([Gama et al\., 2014](https://arxiv.org/html/2611.21914#bib.bib10)\)and Bifet et al\.\([Bifet et al\., 2010](https://arxiv.org/html/2611.21914#bib.bib3)\), evaluates streaming models by testing on incoming instances prior to model updating\. Exponential fading factorsα∈\(0,1\)\\alpha\\in\(0,1\)and sliding windowsWWare widely used and implemented in standard streaming toolkits such as MOA\([Bifet et al\., 2010](https://arxiv.org/html/2611.21914#bib.bib3)\), scikit\-multiflow\([Montiel et al\., 2018](https://arxiv.org/html/2611.21914#bib.bib17)\), and River\([Montiel et al\., 2021](https://arxiv.org/html/2611.21914#bib.bib18)\), but whether temporal weighting stays consistent with pooling the classes \(micro\) and averaging over them \(macro\) has remained unformalized: these packages compute streaming metrics as empirical, per\-metric functions rather than as instances of one aggregation rule\.
A related strand of work characterizes and detects the non\-stationarity such packages are meant to track\. Distinguishing covariate shiftP\(X\)P\(X\), prior probability shiftP\(Y\)P\(Y\)and concept driftP\(Y∣X\)P\(Y\\mid X\)is an established problem\([Lu et al\., 2019](https://arxiv.org/html/2611.21914#bib.bib16);[Webb et al\., 2016](https://arxiv.org/html/2611.21914#bib.bib29);[Moreno\-Torres et al\., 2012](https://arxiv.org/html/2611.21914#bib.bib19)\)\. The detectors built to monitor drift \(DDM\([Gama et al\., 2004](https://arxiv.org/html/2611.21914#bib.bib9)\), ADWIN\([Bifet and Gavaldà, 2007](https://arxiv.org/html/2611.21914#bib.bib2)\), HDDM\([Frías\-Blanco et al\., 2015](https://arxiv.org/html/2611.21914#bib.bib8)\)\) track a scalar error rate, which moves with the class prior whenever the classifier’s errors differ between classes, and label\-shift methods address the prior itself\. What §[5](https://arxiv.org/html/2611.21914#S5)adds is a monitor on prior\-free coordinates and an attribution of the change of a given metric to its prior\-dependent and concept\-dependent parts\. A complementary line of work targets a different question given a known ground\-truth drift point: how accurately and promptly a detector fires\.[Cerqueira et al\. \(2026\)](https://arxiv.org/html/2611.21914#bib.bib5)recently formalized this with an acceptable detection window and timing\-aware metrics \(F1 detection score, Normalized Detection Time\); their framework evaluates detector timing once a drift signal exists, while §[5](https://arxiv.org/html/2611.21914#S5)concerns the signal itself and keeps it free of prior shift\.
A different failure mode arises even before drift needs to be detected at all: ground truth itself may not be available in time\. In practical stream mining, immediate label feedback is an unrealistic assumption\.[Gomes et al\. \(2022\)](https://arxiv.org/html/2611.21914#bib.bib11)survey semi\-supervised learning for delayed, partially labelled streams and state the problem in four settings \(immediate or delayed labels, fully or partially labelled\), noting that the last, delayed and partially labelled, is the least explored; on the evaluation side they review benchmarking practice and propose a label\-removal protocol, and they note that prequential evaluation of a partially labelled stream computes the loss only where labels are known, which is the naive estimator whose selection bias §[4\.2](https://arxiv.org/html/2611.21914#S4.SS2)corrects\.[Grzenda et al\. \(2020\)](https://arxiv.org/html/2611.21914#bib.bib12)propose continuous re\-evaluation for delayed labels, which follows the predictions made for an instance over time until its label arrives and assumes that every label arrives after a finite delay;[Gomes et al\. \(2022\)](https://arxiv.org/html/2611.21914#bib.bib11)note that it could be adapted to partially labelled streams by using only the instances whose label arrives\.[Plasse and Adams \(2016\)](https://arxiv.org/html/2611.21914#bib.bib21)study the handling of delayed labels in learning, and[Žliobaitė et al\. \(2014\)](https://arxiv.org/html/2611.21914#bib.bib31)address the complementary problem of*where*to spend a limited labelling budget under drift, without formalising the selection bias when evaluation is restricted to the actively queried or decision\-accepted subset\. What we add is an estimate of the current performance from the unverified instances and a correction of selection bias under decision\-dependent censoring\.
Rare\-class evaluation compounds the same problem: online class imbalance learning\([Wang et al\., 2018](https://arxiv.org/html/2611.21914#bib.bib28)\)and the broader survey of imbalanced\-stream methods by[Aguiar et al\. \(2024\)](https://arxiv.org/html/2611.21914#bib.bib1)both document how existing algorithms and metrics degrade under skewed, drifting class ratios, but neither formalizes the zero\-division singularities that arise when a rare class disappears from a short evaluation window, the failure mode addressed in §[3\.5](https://arxiv.org/html/2611.21914#S3.SS5)\.
A third, largely orthogonal limitation concerns the metrics themselves, independent of how or when labels arrive\. Beyond the measures covered by Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1), which are ratios of linear combinations of confusion\-matrix cells \(recall, precision,F1F\_\{1\}and similar\), ranking\-based metrics pose their own streaming challenges\.[Brzeziński and Stefanowski \(2017\)](https://arxiv.org/html/2611.21914#bib.bib4)extend AUC to the prequential setting via an efficient sliding\-window sorted\-tree structure, addressing for that one metric the same consistency gap this paper generalizes to the whole family of such ratios underΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}\. Model comparison under conflicting objectives has a parallel history in the Pareto\-optimal \(ROC convex hull\) classifiers of[Provost and Fawcett \(2001\)](https://arxiv.org/html/2611.21914#bib.bib25); §[6\.5](https://arxiv.org/html/2611.21914#S6.SS5)extends this static, batch notion of Pareto dominance to continuously\-updated temporal contingency states\.
### 3Temporal Indicator Matrices and theΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}Operator
This section establishes the formal foundations of prequential indicator matrices by unifying temporal evaluation with the matrix aggregation algebra of the core framework\([Prati, 2027](https://arxiv.org/html/2611.21914#bib.bib24)\)\. We express temporal aggregation as a weighted bilinear matrix operator, formalize multiclass per\-class projections via linear selection matrices, and define the composition algebra between the new temporal operatorΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}and the core reduction operators\(Σ1,Σm\)\(\\Sigma\_\{1\},\\Sigma\_\{m\}\)\.
For readers unfamiliar with[Prati \(2027\)](https://arxiv.org/html/2611.21914#bib.bib24), we briefly recall the two objects this paper extends\. The core framework represents a batch ofnnclassified instances as a pair of indicator matrices𝒀,𝒀^∈ℝn×m\\bm\{Y\},\\hat\{\\bm\{Y\}\}\\in\\mathbb\{R\}^\{n\\times m\}\(one row per instance, one column per class\), with𝑪=𝒀T𝒀^∈ℝm×m\\bm\{C\}=\\bm\{Y\}^\{T\}\\hat\{\\bm\{Y\}\}\\in\\mathbb\{R\}^\{m\\times m\}the resulting confusion matrix\. A performance measureMMis then evaluated in one of two ways: the*micro*reductionΣ1\\Sigma\_\{1\}pools allnmnmcell contributions into a single global confusion table before evaluatingMMonce, while the*macro*reductionΣm\\Sigma\_\{m\}evaluatesMMseparately on each class’s own2×22\\times 2table and averages themmresults\. The two coincide for every choice of the per\-class numerators exactly when every class’s denominator is equal \(Corollary 1 of[Prati, 2027](https://arxiv.org/html/2611.21914#bib.bib24)\), and generally differ otherwise\. The same micro/macro distinction reappears, with a temporal twist, in §[3\.2](https://arxiv.org/html/2611.21914#S3.SS2)below\. This paper’s contribution is to show that both reductions, and the relationship between them, survive once the batch matrices𝒀,𝒀^\\bm\{Y\},\\hat\{\\bm\{Y\}\}are replaced by the temporally weighted state𝑪\(t\)\\bm\{C\}\(t\)defined next\.
#### 3\.1Notation and the Streaming Bilinear Formulation
Let𝒮=\{\(𝒙t,𝒚t,𝒑t\)\}t∈ℕ\+\\mathcal\{S\}=\\\{\(\\bm\{x\}\_\{t\},\\bm\{y\}\_\{t\},\\bm\{p\}\_\{t\}\)\\\}\_\{t\\in\\mathbb\{N\}^\{\+\}\}represent an ordered sequence of streaming instances arriving at discrete timestampst∈\{1,2,…\}t\\in\\\{1,2,\\dots\\\}, where𝒚t\\bm\{y\}\_\{t\}denotes instancett’s true label as soon as it exists, whether or not it is yet observable to the evaluator, subject to a possibly random verification latency; §[4](https://arxiv.org/html/2611.21914#S4)formalizes this observability gap with the per\-instance mask𝒪k\(t\)\\mathcal\{O\}\_\{k\}\(t\)and its latencyΔk\\Delta\_\{k\}\. At timett:
- •𝒙t∈𝒳\\bm\{x\}\_\{t\}\\in\\mathcal\{X\}denotes the input feature vector drawn from dynamic distributionPt\(X\)P\_\{t\}\(X\);
- •𝒚t=\[yt1,…,ytm\]T∈Δm−1\\bm\{y\}\_\{t\}=\[y\_\{t1\},\\dots,y\_\{tm\}\]^\{T\}\\in\\Delta^\{m\-1\}is the true target vector on the standard probability simplexΔm−1=\{𝒖∈\[0,1\]m:∑j=1muj=1\}\\Delta^\{m\-1\}=\\\{\\bm\{u\}\\in\[0,1\]^\{m\}:\\sum\_\{j=1\}^\{m\}u\_\{j\}=1\\\}, representing deterministic labels \(𝒚t=𝒆j\\bm\{y\}\_\{t\}=\\bm\{e\}\_\{j\}, thejj\-th standard basis vector, i\.e\. a one\-hot vector with a11in the true\-class position and00elsewhere\) or soft distributionsPt\(Y∣𝒙t\)P\_\{t\}\(Y\\mid\\bm\{x\}\_\{t\}\);
- •𝒑t=\[pt1,…,ptm\]T∈Δm−1\\bm\{p\}\_\{t\}=\[p\_\{t1\},\\dots,p\_\{tm\}\]^\{T\}\\in\\Delta^\{m\-1\}is the model output, representing discrete decisions \(𝒑t=𝒆k\\bm\{p\}\_\{t\}=\\bm\{e\}\_\{k\}, the same one\-hot construction as𝒆j\\bm\{e\}\_\{j\}above, but with the11in the*predicted*\-class positionkk\) or calibrated posterior probabilities\.
Let𝒀1:t=\[𝒚1,…,𝒚t\]T∈ℝt×m\\bm\{Y\}\_\{1:t\}=\[\\bm\{y\}\_\{1\},\\dots,\\bm\{y\}\_\{t\}\]^\{T\}\\in\\mathbb\{R\}^\{t\\times m\}and𝑷1:t=\[𝒑1,…,𝒑t\]T∈ℝt×m\\bm\{P\}\_\{1:t\}=\[\\bm\{p\}\_\{1\},\\dots,\\bm\{p\}\_\{t\}\]^\{T\}\\in\\mathbb\{R\}^\{t\\times m\}denote the accumulated label and prediction matrices up to timett\. In stationary batch evaluation, the sample reduction operator aggregates instances uniformly via𝑪=𝒀T𝑷=∑i=1n𝒚i𝒑iT\\bm\{C\}=\\bm\{Y\}^\{T\}\\bm\{P\}=\\sum\_\{i=1\}^\{n\}\\bm\{y\}\_\{i\}\\bm\{p\}\_\{i\}^\{T\}\.
In non\-stationary streams, we formalize temporal aggregation through a diagonal temporal weighting matrix𝑾\(t\)=diag\(w1\(t\),w2\(t\),…,wt\(t\)\)∈ℝt×t\\bm\{W\}\(t\)=\\operatorname\{diag\}\(w\_\{1\}\(t\),w\_\{2\}\(t\),\\dots,w\_\{t\}\(t\)\)\\in\\mathbb\{R\}^\{t\\times t\}with𝑾\(t\)≥0\\bm\{W\}\(t\)\\geq 0\(i\.e\.,wk\(t\)≥0w\_\{k\}\(t\)\\geq 0\), normalized such thatTr\(𝑾\(t\)\)=∑k=1twk\(t\)=1\\operatorname\{Tr\}\(\\bm\{W\}\(t\)\)=\\sum\_\{k=1\}^\{t\}w\_\{k\}\(t\)=1\(exactly for the sliding window once it has filled,t≥Wt\\geq W, withWWthe window size, a scalar that is not the weighting matrix𝑾\(t\)\\bm\{W\}\(t\); the exponential\-fading realization below satisfies it asymptotically,Tr\(𝑾\(t\)\)=1−αt→1\\operatorname\{Tr\}\(\\bm\{W\}\(t\)\)=1\-\\alpha^\{t\}\\to 1, and the residual massαt\\alpha^\{t\}is accounted for in Proposition[3](https://arxiv.org/html/2611.21914#Thmproposition3)\)\.
###### Definition 1\(The Temporal Reduction OperatorΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}\)\.
The temporal reduction operatorΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}maps the historical matrix trajectory\(𝐘1:t,𝐏1:t\)\(\\bm\{Y\}\_\{1:t\},\\bm\{P\}\_\{1:t\}\)into the time\-aggregated contingency matrix𝐂\(t\)∈ℝm×m\\bm\{C\}\(t\)\\in\\mathbb\{R\}^\{m\\times m\}\(with𝐂\(t\)≥0\\bm\{C\}\(t\)\\geq 0\) via the weighted bilinear form:
𝑪\(t\)=Σt\(𝒀1:t,𝑷1:t\)=𝒀1:tT𝑾\(t\)𝑷1:t=∑k=1twk\(t\)𝒚k𝒑kT\\bm\{C\}\(t\)=\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}\(\\bm\{Y\}\_\{1:t\},\\bm\{P\}\_\{1:t\}\)=\\bm\{Y\}\_\{1:t\}^\{T\}\\,\\bm\{W\}\(t\)\\,\\bm\{P\}\_\{1:t\}=\\sum\_\{k=1\}^\{t\}w\_\{k\}\(t\)\\bm\{y\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\(1\)
In classification evaluation, performance metrics are computed by reducing data along specific dimensions or axes\. In the static indicator matrix framework\([Prati, 2027](https://arxiv.org/html/2611.21914#bib.bib24)\), three primary reduction operators govern this process: \(i\) the sample operatorΣn\\Sigma\_\{n\}sums across individual data instances to form contingency tables; \(ii\) the macro operatorΣm\\Sigma\_\{m\}averages per\-class metrics to produce an unweighted, balanced summary; and \(iii\) the micro operatorΣ1\\Sigma\_\{1\}pools all class cells globally before computing a single overall rate\. In dynamic streaming environments, the new operatorΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}introduces the*temporal axis*\. The operatorΣn\\Sigma\_\{n\}weights all past samples equally, which assumes an unchanging world, andΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}weights them by recency\. ThusΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}generalizesΣn\\Sigma\_\{n\}: both build𝑪\(t\)\\bm\{C\}\(t\)from the raw instance stream and differ only in whether the weighting is uniform or time\-dependent\. It is not a fourth operator composed alongside it, which is why only\(Σ1,Σm\)\(\\Sigma\_\{1\},\\Sigma\_\{m\}\)appear in the composition tuples of §[3\.2](https://arxiv.org/html/2611.21914#S3.SS2)onward\. By progressively fading out stale historical observations \(via fading parameterα\\alpha\) or restricting focus to a recent moving window \(WW\),Σt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}continuously reflects the model’s present health while composing with spatial class reductions\(Σ1,Σm\)\(\\Sigma\_\{1\},\\Sigma\_\{m\}\)\.
The two canonical stream weighting matrices are:
1. 1\.Exponential fading \(Σtα\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}^\{\\alpha\}\) assigns the exponentially decaying weightswk\(t\)=\(1−α\)αt−kw\_\{k\}\(t\)=\(1\-\\alpha\)\\,\\alpha^\{t\-k\}for a fading parameterα∈\(0,1\)\\alpha\\in\(0,1\)\. This yields the recursive update: 𝑪α\(t\)=α𝑪α\(t−1\)\+\(1−α\)𝒚t𝒑tT,neff=11−α\\bm\{C\}\_\{\\alpha\}\(t\)=\\alpha\\bm\{C\}\_\{\\alpha\}\(t\-1\)\+\(1\-\\alpha\)\\bm\{y\}\_\{t\}\\bm\{p\}\_\{t\}^\{T\},\\qquad n\_\{\\mathrm\{eff\}\}=\\frac\{1\}\{1\-\\alpha\}\(2\)The implementation stores the unnormalised state𝑪~α=𝑪α/\(1−α\)\\tilde\{\\bm\{C\}\}\_\{\\alpha\}=\\bm\{C\}\_\{\\alpha\}/\(1\-\\alpha\), updated asα𝑪~α\+𝒚t𝒑tT\\alpha\\tilde\{\\bm\{C\}\}\_\{\\alpha\}\+\\bm\{y\}\_\{t\}\\bm\{p\}\_\{t\}^\{T\}; every metric is a ratio of cells and is the same under both conventions, but statements that read a cell as a probability use the normalised state\. Hereneffn\_\{\\mathrm\{eff\}\}is the memory horizon of the weights; the effective sample size that governs variance is\(1\+α\)/\(1−α\)\(1\+\\alpha\)/\(1\-\\alpha\)\(Proposition[3](https://arxiv.org/html/2611.21914#Thmproposition3)\)\. As an example, for two classes andα=0\.9\\alpha=0\.9, after a correct prediction of class 1 the state𝑪α\\bm\{C\}\_\{\\alpha\}gains0\.10\.1in the cell\(1,1\)\(1,1\)and every older cell is multiplied by0\.90\.9; the recall of class 1 isTP/\(TP\+FN\)\\mathrm\{TP\}/\(\\mathrm\{TP\}\+\\mathrm\{FN\}\)of the resulting cells, a weighted average of the recent outcomes of that class\.
2. 2\.The sliding window \(ΣtW\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}^\{W\}\) assigns uniform weights over a moving historical horizon of lengthW∈ℕ\+W\\in\\mathbb\{N\}^\{\+\}with weighting matrix𝑾\(t\)=1Wdiag\(𝟎t−W,𝟏W\)\\bm\{W\}\(t\)=\\frac\{1\}\{W\}\\operatorname\{diag\}\(\\bm\{0\}\_\{t\-W\},\\bm\{1\}\_\{W\}\)\. Fort≥Wt\\geq Wthis yields the windowed aggregation, whose recursive form holds fort\>Wt\>W\(att=Wt=Wno instance exits\) \(before the window fills, the state is the sum of thettinstances divided byWW, and ratios are unaffected\): 𝑪W\(t\)=1W∑k=0W−1𝒚t−k𝒑t−kT=𝑪W\(t−1\)\+1W\(𝒚t𝒑tT−𝒚t−W𝒑t−WT\)\\bm\{C\}\_\{W\}\(t\)=\\frac\{1\}\{W\}\\sum\_\{k=0\}^\{W\-1\}\\bm\{y\}\_\{t\-k\}\\bm\{p\}\_\{t\-k\}^\{T\}=\\bm\{C\}\_\{W\}\(t\-1\)\+\\frac\{1\}\{W\}\\left\(\\bm\{y\}\_\{t\}\\bm\{p\}\_\{t\}^\{T\}\-\\bm\{y\}\_\{t\-W\}\\bm\{p\}\_\{t\-W\}^\{T\}\\right\)\(3\)
###### Example 1\(Running example: the stream and its temporal state\)\.
Throughout the paper we follow one stream of88instances andm=3m=3classesA,B,CA,B,C, with true labelsABACBABBA\\,B\\,A\\,C\\,B\\,A\\,B\\,Band predictionsABBCBACBA\\,B\\,B\\,C\\,B\\,A\\,C\\,B, so that the classifier errs att=3t=3\(AApredicted asBB\) and att=7t=7\(BBpredicted asCC\)\. With exponential fadingα=12\\alpha=\\tfrac\{1\}\{2\}the state after the first four instances is
𝑪α\(4\)=\(11614001800012\),total mass1−α4=1516\.\\bm\{C\}\_\{\\alpha\}\(4\)=\\begin\{pmatrix\}\\tfrac\{1\}\{16\}&\\tfrac\{1\}\{4\}&0\\\\\[2\.0pt\] 0&\\tfrac\{1\}\{8\}&0\\\\\[2\.0pt\] 0&0&\\tfrac\{1\}\{2\}\\end\{pmatrix\},\\qquad\\text\{total mass \}1\-\\alpha^\{4\}=\\tfrac\{15\}\{16\}\.With a sliding windowW=4W=4the state att=8t=8covers instances55to88,
𝑪W\(8\)=\(140001214000\)\.\\bm\{C\}\_\{W\}\(8\)=\\begin\{pmatrix\}\\tfrac\{1\}\{4\}&0&0\\\\\[2\.0pt\] 0&\\tfrac\{1\}\{2\}&\\tfrac\{1\}\{4\}\\\\\[2\.0pt\] 0&0&0\\end\{pmatrix\}\.Appendix[10](https://arxiv.org/html/2611.21914#S10)lists every intermediate value of the running example, and the scriptexperiments/running\_example\.pyreproduces them\.
Figure[2](https://arxiv.org/html/2611.21914#S3.F2)summarises the architecture: the temporal state, the two evaluation branches built on it \(functional reductions, §[3\.2](https://arxiv.org/html/2611.21914#S3.SS2), and structural per\-class projections, §[3\.3](https://arxiv.org/html/2611.21914#S3.SS3)\) and the theorem that relates them \(Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1), §[3\.4](https://arxiv.org/html/2611.21914#S3.SS4)\)\.
Figure 2:Algebraic architecture of data stream evaluation\. The temporal state𝑪\(t\)\\bm\{C\}\(t\)\(base layer, §[3](https://arxiv.org/html/2611.21914#S3)\) feeds two evaluation branches: functional reduction compositions \(Σ∘Σt\\Sigma\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}, Branch A, §[3\.2](https://arxiv.org/html/2611.21914#S3.SS2)\) and structural per\-class projections \(𝑺j\\bm\{S\}\_\{j\}, Branch B, §[3\.3](https://arxiv.org/html/2611.21914#S3.SS3)\)\. Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1)\(§[3\.4](https://arxiv.org/html/2611.21914#S3.SS4)\) relates them\. The dashed arrow shows that the per\-class matrices𝑪j\(t\)\\bm\{C\}\_\{j\}\(t\)of Branch B are the input of the macro reductionΣm∘Σt\\Sigma\_\{m\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}of Branch A\.Both weightings give non\-negative states through the bilinear form \([1](https://arxiv.org/html/2611.21914#S3.E1)\) and keep every downstream composition and the decomposability property\. The choice between𝑪α\(t\)\\bm\{C\}\_\{\\alpha\}\(t\)and𝑪W\(t\)\\bm\{C\}\_\{W\}\(t\)sets the memory profile and the responsiveness to drift:
- •The sliding window𝑪W\(t\)\\bm\{C\}\_\{W\}\(t\)has a finite horizon over exactly the lastWWobservations, so it keeps no memory of concepts older thanWWsteps\. It needs a FIFO buffer of sizeO\(W⋅m\)O\(W\\cdot m\)to subtract exiting samples, and its step\-like impulse response produces abrupt metric shifts when past bursts leave the window\.
- •Exponential fading𝑪α\(t\)\\bm\{C\}\_\{\\alpha\}\(t\)forgets continuously with memory horizonneff=11−αn\_\{\\mathrm\{eff\}\}=\\frac\{1\}\{1\-\\alpha\}, usesO\(m2\)O\(m^\{2\}\)space and time per update, and stores no historical instances\. Its trajectories are smooth and have no boundary artifacts\.
#### 3\.2Composition Algebra with Core Reduction Operators
Having established the global temporal matrix𝑪\(t\)\\bm\{C\}\(t\)as the streaming state representation, we formalize how the temporal operatorΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}composes functionally with the spatial reduction operators of the core framework \(Σ1,Σm\\Sigma\_\{1\},\\Sigma\_\{m\}\) to generate scalar streaming evaluations\. Each reduction operator targets a distinct analytical goal in data stream monitoring:
1. 1\.The micro\-temporal composition \(Σ1∘Σt\\Sigma\_\{1\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}\) pools themmone\-vs\-rest tables𝑺j𝑪\(t\)𝑺jT\\bm\{S\}\_\{j\}\\bm\{C\}\(t\)\\bm\{S\}\_\{j\}^\{T\}\(§[3\.3](https://arxiv.org/html/2611.21914#S3.SS3)\) into one table over time before evaluating the scalar metricMMonce: \(Σ1∘ΣtM\)\(t\)=M\(∑j=1m𝑺j𝑪\(t\)𝑺jT\)\(\\Sigma\_\{1\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}M\)\(t\)=M\\left\(\\sum\_\{j=1\}^\{m\}\\bm\{S\}\_\{j\}\\bm\{C\}\(t\)\\bm\{S\}\_\{j\}^\{T\}\\right\)\(4\)Every arrival contributes equally to the total cell mass, so this composition tracks the overall service level, which suits settings where an error costs the same whatever the class\. A drop in a minority class can be masked if the majority class stays accurate\. The pooled accuracy is the accuracy of the pooled one\-vs\-rest cells,1−2\(1−acc\)/m1\-2\(1\-\\mathrm\{acc\}\)/mfor multiclass accuracyacc\\mathrm\{acc\}, not multiclass accuracy itself\.
2. 2\.The macro\-temporal composition \(Σm∘Σt\\Sigma\_\{m\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}\) evaluates the scalar metricMMon each class and averages themmvalues without weights: \(Σm∘ΣtM\)\(t\)=1m∑j=1mM\(𝑪j\(t\)\)\(\\Sigma\_\{m\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}M\)\(t\)=\\frac\{1\}\{m\}\\sum\_\{j=1\}^\{m\}M\\left\(\\bm\{C\}\_\{j\}\(t\)\\right\)\(5\)The macro operator gives each class the weight1/m1/mwhatever its prevalence at the time, so a degradation on a rare or emerging class is not hidden by accurate predictions on a prevalent one\.
#### 3\.3Multiclass Selection Matrices and Per\-Class Projections
In contrast to the functional composition algebra of §[3\.2](https://arxiv.org/html/2611.21914#S3.SS2), which produces scalar summaries, evaluating non\-linear metrics and isolating drift requires the structure of the state matrix itself\. While the global temporal state𝑪\(t\)∈ℝm×m\\bm\{C\}\(t\)\\in\\mathbb\{R\}^\{m\\times m\}captures the full joint allocation of predictions and ground truth across allmmclasses, standard classification measures \(such as Recall, Specificity, Precision, andF1F\_\{1\}\) are intrinsically defined on binary2×22\\times 2contingency tables\. Furthermore, effective operational monitoring in data streams requires isolating which classes are experiencing concept drift\.
To achieve this without procedural slicing, structural per\-class projections are formalized via linear selection matrices𝑺j∈ℝ2×m\\bm\{S\}\_\{j\}\\in\\mathbb\{R\}^\{2\\times m\}defined for each classj∈\{1,…,m\}j\\in\\\{1,\\dots,m\\\}:
𝑺j=\[𝒆jT𝟏mT−𝒆jT\]\\bm\{S\}\_\{j\}=\\begin\{bmatrix\}\\bm\{e\}\_\{j\}^\{T\}\\\\ \\bm\{1\}\_\{m\}^\{T\}\-\\bm\{e\}\_\{j\}^\{T\}\\end\{bmatrix\}\(6\)where𝒆j\\bm\{e\}\_\{j\}is thejj\-th standard basis vector and𝟏m\\bm\{1\}\_\{m\}is the all\-ones vector\. The2×22\\times 2per\-class temporal contingency matrix for classjjat timettis obtained via the matrix congruence transformation:
𝑪j\(t\)=𝑺j𝑪\(t\)𝑺jT=𝑺j\(𝒀1:tT𝑾\(t\)𝑷1:t\)𝑺jT=\[TPj\(t\)FNj\(t\)FPj\(t\)TNj\(t\)\]\\bm\{C\}\_\{j\}\(t\)=\\bm\{S\}\_\{j\}\\,\\bm\{C\}\(t\)\\,\\bm\{S\}\_\{j\}^\{T\}=\\bm\{S\}\_\{j\}\\left\(\\bm\{Y\}\_\{1:t\}^\{T\}\\bm\{W\}\(t\)\\bm\{P\}\_\{1:t\}\\right\)\\bm\{S\}\_\{j\}^\{T\}=\\begin\{bmatrix\}\\mathrm\{TP\}\_\{j\}\(t\)&\\mathrm\{FN\}\_\{j\}\(t\)\\\\ \\mathrm\{FP\}\_\{j\}\(t\)&\\mathrm\{TN\}\_\{j\}\(t\)\\end\{bmatrix\}\(7\)The four entries of𝑪j\(t\)\\bm\{C\}\_\{j\}\(t\)correspond directly to the temporally discounted counts for classjj:
TPj\(t\)=\[𝑪\(t\)\]jj,FNj\(t\)=∑k≠j\[𝑪\(t\)\]jk,FPj\(t\)=∑l≠j\[𝑪\(t\)\]lj,TNj\(t\)=∑l≠j∑k≠j\[𝑪\(t\)\]lk\\begin\{gathered\}\\mathrm\{TP\}\_\{j\}\(t\)=\[\\bm\{C\}\(t\)\]\_\{jj\},\\quad\\mathrm\{FN\}\_\{j\}\(t\)=\\sum\_\{k\\neq j\}\[\\bm\{C\}\(t\)\]\_\{jk\},\\\\ \\mathrm\{FP\}\_\{j\}\(t\)=\\sum\_\{l\\neq j\}\[\\bm\{C\}\(t\)\]\_\{lj\},\\quad\\mathrm\{TN\}\_\{j\}\(t\)=\\sum\_\{l\\neq j\}\\sum\_\{k\\neq j\}\[\\bm\{C\}\(t\)\]\_\{lk\}\\end\{gathered\}\(8\)
The structural per\-class projection serves two primary analytical and operational goals:
- •When an aggregate alarm triggers \(a drop in macro\-F1F\_\{1\}or micro\-accuracy\), global metrics cannot identify the cause\. Tracking the per\-class metricsMj\(t\)=M\(𝑪j\(t\)\)M\_\{j\}\(t\)=M\(\\bm\{C\}\_\{j\}\(t\)\)separates a loss of class recall,TPj\(t\)/\(TPj\(t\)\+FNj\(t\)\)\\mathrm\{TP\}\_\{j\}\(t\)/\(\\mathrm\{TP\}\_\{j\}\(t\)\+\\mathrm\{FN\}\_\{j\}\(t\)\), from a rise in false alarmsFPj\(t\)\\mathrm\{FP\}\_\{j\}\(t\)\.
- •The congruence𝑺j𝑪\(t\)𝑺jT\\bm\{S\}\_\{j\}\\bm\{C\}\(t\)\\bm\{S\}\_\{j\}^\{T\}is the input of the macro\-temporal operatorΣm∘Σt\\Sigma\_\{m\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}and needs no separate per\-class data structures: allmmbinary tables𝑪j\(t\)\\bm\{C\}\_\{j\}\(t\)are extracted from the single state𝑪\(t\)\\bm\{C\}\(t\)inO\(m2\)O\(m^\{2\}\)total time\.
#### 3\.4Algebraic Theorems and Complexity Bounds
Having structured the dual evaluation branches, we state the results on the exactness, computational cost and statistical stability of the temporal state \(t→∞t\\to\\infty\)\.
###### Proposition 1\(Resource Complexity of Exponential Fading\)\.
The recursive fading operatorΣtα\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}^\{\\alpha\}requiresO\(m2\)O\(m^\{2\}\)memory to store𝐂α\(t\)\\bm\{C\}\_\{\\alpha\}\(t\)andO\(m2\)O\(m^\{2\}\)floating\-point operations per stream update, both independent of the stream lengthtt\.
###### Proof\.
Evaluating Equation \([2](https://arxiv.org/html/2611.21914#S3.E2)\) requires scalar multiplicationα𝑪α\(t−1\)\\alpha\\bm\{C\}\_\{\\alpha\}\(t\-1\), outer product\(1−α\)𝒚t𝒑tT\(1\-\\alpha\)\\bm\{y\}\_\{t\}\\bm\{p\}\_\{t\}^\{T\}, and matrix addition \(3m23m^\{2\}floating\-point operations\)\. No historical tuples\(𝒚k,𝒑k\)\(\\bm\{y\}\_\{k\},\\bm\{p\}\_\{k\}\)fork<tk<tare retained, which bounds the state storage bym2m^\{2\}scalar values\. ∎
###### Proposition 2\(Sliding\-Window Resource Complexity\)\.
The sliding\-window operatorΣtW\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}^\{W\}, maintained via a FIFO queue of theWWmost recent raw observation pairs\(𝐲k,𝐩k\)\(\\bm\{y\}\_\{k\},\\bm\{p\}\_\{k\}\), requiresO\(W⋅m\)O\(W\\cdot m\)memory for the queue plus theO\(m2\)O\(m^\{2\}\)state matrix𝐂W\(t\)\\bm\{C\}\_\{W\}\(t\), and executes each update inO\(m2\)O\(m^\{2\}\)floating\-point operations, independent of the stream lengthtt\. The per\-update cost is the same as for exponential fading, but the memory grows linearly inWW\.
###### Proof\.
Updating𝑪W\(t\)=𝑪W\(t−1\)\+𝒚t𝒑tT−𝒚t−W𝒑t−WT\\bm\{C\}\_\{W\}\(t\)=\\bm\{C\}\_\{W\}\(t\-1\)\+\\bm\{y\}\_\{t\}\\bm\{p\}\_\{t\}^\{T\}\-\\bm\{y\}\_\{t\-W\}\\bm\{p\}\_\{t\-W\}^\{T\}requires: \(i\) enqueuing\(𝒚t,𝒑t\)\(\\bm\{y\}\_\{t\},\\bm\{p\}\_\{t\}\)and dequeuing\(𝒚t−W,𝒑t−W\)\(\\bm\{y\}\_\{t\-W\},\\bm\{p\}\_\{t\-W\}\)from the FIFO queue, bothO\(1\)O\(1\)operations independent ofWW; \(ii\) forming the new outer product and subtracting the evicted one,2m22m^\{2\}floating\-point operations\. Unlike exponential fading, which discards each instance immediately, the queue must retain theWWmost recent raw pairs to know what to subtract when they exit the window, givingO\(W⋅m\)O\(W\\cdot m\)additional memory that grows withWW, as measured in Table[24](https://arxiv.org/html/2611.21914#S6.T24)\. ∎
Both operators thus meet the sameO\(m2\)O\(m^\{2\}\)per\-update time bound, which does not depend ontt, and differ only in memory profile\. What makes either a safe choice for the aggregation machinery that follows is that both preserve linear decomposability across time, established next\.
###### Theorem 1\(Dynamic Temporal Preservation of Linear Decomposability\)\.
LetM=⟨𝐚,𝐯⟩⟨𝐛,𝐯⟩M=\\frac\{\\langle\\bm\{a\},\\bm\{v\}\\rangle\}\{\\langle\\bm\{b\},\\bm\{v\}\\rangle\}be a linear\-fractional performance measure, a ratio of two linear functions of the four cells TP, FN, FP, TN of a class table \(accuracy, recall, precision andF1F\_\{1\}are of this form\), with coefficient vectors satisfying0≤𝐚≤𝐛0\\leq\\bm\{a\}\\leq\\bm\{b\}entrywise, and let𝐯micro\(t\)=∑j𝐯j\(t\)\\bm\{v\}\_\{\\mathrm\{micro\}\}\(t\)=\\sum\_\{j\}\\bm\{v\}\_\{j\}\(t\)with⟨𝐛,𝐯micro\(t\)⟩\>0\\langle\\bm\{b\},\\bm\{v\}\_\{\\mathrm\{micro\}\}\(t\)\\rangle\>0\. Under any nonnegative temporal weighting of nonnegative label and prediction vectors, in particular exponential fadingΣtα\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}^\{\\alpha\}and sliding windowΣtW\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}^\{W\}, the micro\-temporal composition equals the denominator\-weighted macro\-temporal composition at every timestamptt, where classes with⟨𝐛,𝐯j\(t\)⟩=0\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(t\)\\rangle=0get weight00and are omitted:
\(Σ1∘ΣtM\)\(t\)=∑j=1mωj\(t\)M\(𝑺j𝑪\(t\)𝑺jT\),whereωj\(t\)=⟨𝒃,𝒗j\(t\)⟩∑l=1m⟨𝒃,𝒗l\(t\)⟩\(\\Sigma\_\{1\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}M\)\(t\)=\\sum\_\{j=1\}^\{m\}\\omega\_\{j\}\(t\)M\\left\(\\bm\{S\}\_\{j\}\\bm\{C\}\(t\)\\bm\{S\}\_\{j\}^\{T\}\\right\),\\qquad\\text\{where\}\\quad\\omega\_\{j\}\(t\)=\\frac\{\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(t\)\\rangle\}\{\\sum\_\{l=1\}^\{m\}\\langle\\bm\{b\},\\bm\{v\}\_\{l\}\(t\)\\rangle\}\(9\)
###### Proof\.
Let𝒗j\(t\)=vec\(𝑺j𝑪\(t\)𝑺jT\)=\[TPj\(t\),FNj\(t\),FPj\(t\),TNj\(t\)\]T\\bm\{v\}\_\{j\}\(t\)=\\operatorname\{vec\}\(\\bm\{S\}\_\{j\}\\bm\{C\}\(t\)\\bm\{S\}\_\{j\}^\{T\}\)=\[\\mathrm\{TP\}\_\{j\}\(t\),\\mathrm\{FN\}\_\{j\}\(t\),\\mathrm\{FP\}\_\{j\}\(t\),\\mathrm\{TN\}\_\{j\}\(t\)\]^\{T\}denote the vectorized per\-class contingency cells\. BecauseΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}is a linear operator on the space of matrices, it commutes with the linear selection matrices𝑺j\\bm\{S\}\_\{j\}and global micro\-summation𝒗micro\(t\)=∑j=1m𝒗j\(t\)\\bm\{v\}\_\{\\mathrm\{micro\}\}\(t\)=\\sum\_\{j=1\}^\{m\}\\bm\{v\}\_\{j\}\(t\)\.
The micro\-temporal metric evaluated on the global pooled stream is given by:
\(Σ1∘ΣtM\)\(t\)=⟨𝒂,𝒗micro\(t\)⟩⟨𝒃,𝒗micro\(t\)⟩=∑j=1m⟨𝒂,𝒗j\(t\)⟩∑l=1m⟨𝒃,𝒗l\(t\)⟩\(\\Sigma\_\{1\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}M\)\(t\)=\\frac\{\\langle\\bm\{a\},\\bm\{v\}\_\{\\mathrm\{micro\}\}\(t\)\\rangle\}\{\\langle\\bm\{b\},\\bm\{v\}\_\{\\mathrm\{micro\}\}\(t\)\\rangle\}=\\frac\{\\sum\_\{j=1\}^\{m\}\\langle\\bm\{a\},\\bm\{v\}\_\{j\}\(t\)\\rangle\}\{\\sum\_\{l=1\}^\{m\}\\langle\\bm\{b\},\\bm\{v\}\_\{l\}\(t\)\\rangle\}\(10\)A class with⟨𝒃,𝒗j\(t\)⟩=0\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(t\)\\rangle=0also has⟨𝒂,𝒗j\(t\)⟩=0\\langle\\bm\{a\},\\bm\{v\}\_\{j\}\(t\)\\rangle=0, because𝒂≤𝒃\\bm\{a\}\\leq\\bm\{b\}and𝒗j\(t\)≥0\\bm\{v\}\_\{j\}\(t\)\\geq 0, so it contributes to neither sum\. Multiplying and dividing each remaining summand by its positive local denominator⟨𝒃,𝒗j\(t\)⟩\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(t\)\\rangle:
\(Σ1∘ΣtM\)\(t\)=∑j=1m\(⟨𝒃,𝒗j\(t\)⟩∑l=1m⟨𝒃,𝒗l\(t\)⟩\)\(⟨𝒂,𝒗j\(t\)⟩⟨𝒃,𝒗j\(t\)⟩\)=∑j=1mωj\(t\)Mj\(t\)\(\\Sigma\_\{1\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}M\)\(t\)=\\sum\_\{j=1\}^\{m\}\\left\(\\frac\{\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(t\)\\rangle\}\{\\sum\_\{l=1\}^\{m\}\\langle\\bm\{b\},\\bm\{v\}\_\{l\}\(t\)\\rangle\}\\right\)\\left\(\\frac\{\\langle\\bm\{a\},\\bm\{v\}\_\{j\}\(t\)\\rangle\}\{\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(t\)\\rangle\}\\right\)=\\sum\_\{j=1\}^\{m\}\\omega\_\{j\}\(t\)M\_\{j\}\(t\)\(11\)which establishes the equivalence for all timestampst≥1t\\geq 1\. The argument uses only the linearity of𝑪↦𝒗j\\bm\{C\}\\mapsto\\bm\{v\}\_\{j\}and the nonnegativity of the weights, so it holds for any temporal weighting and not only for the two operators of this paper\. ∎
Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1)applies to every linear\-fractional measure\. For instance, in stream Accuracy \(𝒂=\[1,0,0,1\]T,𝒃=\[1,1,1,1\]T\\bm\{a\}=\[1,0,0,1\]^\{T\},\\bm\{b\}=\[1,1,1,1\]^\{T\}\), the weightsωj\(t\)=1/m\\omega\_\{j\}\(t\)=1/mreduce to the standard uniform average; in stream Recall \(𝒂=\[1,0,0,0\]T,𝒃=\[1,1,0,0\]T\\bm\{a\}=\[1,0,0,0\]^\{T\},\\bm\{b\}=\[1,1,0,0\]^\{T\}\), the weightωj\(t\)\\omega\_\{j\}\(t\)equals the dynamic class prevalencePt\(Y=j\)=∑k\[𝑪\(t\)\]jkP\_\{t\}\(Y=j\)=\\sum\_\{k\}\[\\bm\{C\}\(t\)\]\_\{jk\}; and in stream Precision \(𝒂=\[1,0,0,0\]T,𝒃=\[1,0,1,0\]T\\bm\{a\}=\[1,0,0,0\]^\{T\},\\bm\{b\}=\[1,0,1,0\]^\{T\}\),ωj\(t\)\\omega\_\{j\}\(t\)reflects the model’s positive prediction ratePt\(Y^=j\)=∑l\[𝑪\(t\)\]ljP\_\{t\}\(\\hat\{Y\}=j\)=\\sum\_\{l\}\[\\bm\{C\}\(t\)\]\_\{lj\}\.
###### Example 2\(Running example: pooled and per\-class measures\)\.
The three tables𝐒j𝐂W\(8\)𝐒jT\\bm\{S\}\_\{j\}\\bm\{C\}\_\{W\}\(8\)\\bm\{S\}\_\{j\}^\{T\}of the window state have\(TPj,FNj,FPj,TNj\)=\(14,0,0,34\)\(\\mathrm\{TP\}\_\{j\},\\mathrm\{FN\}\_\{j\},\\mathrm\{FP\}\_\{j\},\\mathrm\{TN\}\_\{j\}\)=\(\\tfrac\{1\}\{4\},0,0,\\tfrac\{3\}\{4\}\),\(12,14,0,14\)\(\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\},0,\\tfrac\{1\}\{4\}\)and\(0,0,14,34\)\(0,0,\\tfrac\{1\}\{4\},\\tfrac\{3\}\{4\}\)forAA,BBandCC, and the pooled table is\(34,14,14,74\)\(\\tfrac\{3\}\{4\},\\tfrac\{1\}\{4\},\\tfrac\{1\}\{4\},\\tfrac\{7\}\{4\}\)\. The per\-class precisions are\(1,1,0\)\(1,1,0\)with denominatorsTPj\+FPj=\(14,12,14\)\\mathrm\{TP\}\_\{j\}\+\\mathrm\{FP\}\_\{j\}=\(\\tfrac\{1\}\{4\},\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\}\), so the weights of Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1)areω=\(14,12,14\)\\omega=\(\\tfrac\{1\}\{4\},\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\}\)\. The pooled precision is34\\tfrac\{3\}\{4\}and the denominator\-weighted macro is14⋅1\+12⋅1\+14⋅0=34\\tfrac\{1\}\{4\}\\cdot 1\+\\tfrac\{1\}\{2\}\\cdot 1\+\\tfrac\{1\}\{4\}\\cdot 0=\\tfrac\{3\}\{4\}, whereas the unweighted macro is23\\tfrac\{2\}\{3\}\.
Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1)also gives a class/prevalence attribution of a change in the pooled metric\. When it shifts byΔMmicro\(t\)=Mmicro\(t\)−Mmicro\(t−1\)\\Delta M\_\{\\mathrm\{micro\}\}\(t\)=M\_\{\\mathrm\{micro\}\}\(t\)\-M\_\{\\mathrm\{micro\}\}\(t\-1\), the aggregate delta decomposes linearly into two distinct operational sources:
Δ\(Σ1∘ΣtM\)\(t\)=∑j=1mω¯j\(t\)ΔMj\(t\)\+∑j=1mΔωj\(t\)M¯j\(t\)\\Delta\(\\Sigma\_\{1\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}M\)\(t\)=\\sum\_\{j=1\}^\{m\}\\bar\{\\omega\}\_\{j\}\(t\)\\,\\Delta M\_\{j\}\(t\)\+\\sum\_\{j=1\}^\{m\}\\Delta\\omega\_\{j\}\(t\)\\,\\bar\{M\}\_\{j\}\(t\)\(12\)whereω¯j\(t\)\\bar\{\\omega\}\_\{j\}\(t\)andM¯j\(t\)\\bar\{M\}\_\{j\}\(t\)denote mid\-point values\. The first term quantifies the contribution of*intrinsic performance drift*localized within specific classes, whereas the second term isolates the impact of*prevalence drift*\(dynamic class prior shifts\) on aggregate accuracy\. A formalization of drift taxonomies, dynamic response timescales, and continuous differential Jacobian decompositions is established in §[5](https://arxiv.org/html/2611.21914#S5)\.
###### Proposition 3\(Asymptotic Expectation and Variance Scaling\)\.
Let the pairs\(𝐲t,𝐩t\)\(\\bm\{y\}\_\{t\},\\bm\{p\}\_\{t\}\)be independent and identically distributed with population state matrix𝐂pop=𝔼\[𝐲t𝐩tT\]\\bm\{C\}\_\{\\mathrm\{pop\}\}=\\mathbb\{E\}\[\\bm\{y\}\_\{t\}\\bm\{p\}\_\{t\}^\{T\}\]and elementwise variance𝐕inst=Var\(𝐲t𝐩tT\)\\bm\{V\}\_\{\\mathrm\{inst\}\}=\\mathrm\{Var\}\(\\bm\{y\}\_\{t\}\\bm\{p\}\_\{t\}^\{T\}\)\(for instance, a classifier that is not updated, so that predictions do not depend on past labels\)\. The exponential fading estimatorΣtα\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}^\{\\alpha\}satisfies:
𝔼\[𝑪α\(t\)\]=\(1−αt\)𝑪pop→t→∞𝑪pop,\\displaystyle\\mathbb\{E\}\[\\bm\{C\}\_\{\\alpha\}\(t\)\]=\(1\-\\alpha^\{t\}\)\\,\\bm\{C\}\_\{\\mathrm\{pop\}\}\\xrightarrow\{t\\to\\infty\}\\bm\{C\}\_\{\\mathrm\{pop\}\},\(13\)Var\(\[𝑪α\(t\)\]jk\)=\(1−α1\+α\)\(1−α2t\)\[𝑽inst\]jk→t→∞\[𝑽inst\]jkness,ness=1\+α1−α\\displaystyle\\mathrm\{Var\}\(\[\\bm\{C\}\_\{\\alpha\}\(t\)\]\_\{jk\}\)=\\left\(\\frac\{1\-\\alpha\}\{1\+\\alpha\}\\right\)\(1\-\\alpha^\{2t\}\)\[\\bm\{V\}\_\{\\mathrm\{inst\}\}\]\_\{jk\}\\xrightarrow\{t\\to\\infty\}\\frac\{\[\\bm\{V\}\_\{\\mathrm\{inst\}\}\]\_\{jk\}\}\{n\_\{\\mathrm\{ess\}\}\},\\qquad n\_\{\\mathrm\{ess\}\}=\\frac\{1\+\\alpha\}\{1\-\\alpha\}\(14\)
###### Proof\.
Unrolling the recurrence \([2](https://arxiv.org/html/2611.21914#S3.E2)\) yields𝑪α\(t\)=\(1−α\)∑s=0t−1αs𝒚t−s𝒑t−sT\\bm\{C\}\_\{\\alpha\}\(t\)=\(1\-\\alpha\)\\sum\_\{s=0\}^\{t\-1\}\\alpha^\{s\}\\bm\{y\}\_\{t\-s\}\\bm\{p\}\_\{t\-s\}^\{T\}\. Taking expectations gives𝔼\[𝑪α\(t\)\]=\(1−α\)1−αt1−α𝑪pop=\(1−αt\)𝑪pop\\mathbb\{E\}\[\\bm\{C\}\_\{\\alpha\}\(t\)\]=\(1\-\\alpha\)\\frac\{1\-\\alpha^\{t\}\}\{1\-\\alpha\}\\bm\{C\}\_\{\\mathrm\{pop\}\}=\(1\-\\alpha^\{t\}\)\\,\\bm\{C\}\_\{\\mathrm\{pop\}\}\. By independence the variance is
Var\(\[𝑪α\(t\)\]jk\)=\(1−α\)2∑s=0t−1α2s\[𝑽inst\]jk=\(1−α\)2\(1−α2t1−α2\)\[𝑽inst\]jk,\\mathrm\{Var\}\(\[\\bm\{C\}\_\{\\alpha\}\(t\)\]\_\{jk\}\)=\(1\-\\alpha\)^\{2\}\\sum\_\{s=0\}^\{t\-1\}\\alpha^\{2s\}\[\\bm\{V\}\_\{\\mathrm\{inst\}\}\]\_\{jk\}=\(1\-\\alpha\)^\{2\}\\left\(\\frac\{1\-\\alpha^\{2t\}\}\{1\-\\alpha^\{2\}\}\\right\)\[\\bm\{V\}\_\{\\mathrm\{inst\}\}\]\_\{jk\},\(15\)and1−α2=\(1−α\)\(1\+α\)1\-\\alpha^\{2\}=\(1\-\\alpha\)\(1\+\\alpha\)gives the stated form\. ∎
Proposition[3](https://arxiv.org/html/2611.21914#Thmproposition3)gives the variance half of a bias\-variance trade\-off \(the bias half is the tracking lag of §[5\.1](https://arxiv.org/html/2611.21914#S5.SS1)\)\. A largerα\\alphagives a lower\-variance estimate and a slower response to drift, and a smallerα\\alphathe opposite\.
#### 3\.5Explicit Auditing of Zero\-Division Voids
In data streams with strong class imbalance or emerging classes \(Pt\(Y=j\)≪1P\_\{t\}\(Y=j\)\\ll 1\), evaluation windows frequently experience intervals with zero class support \(TPj\(t\)\+FNj\(t\)=0\\mathrm\{TP\}\_\{j\}\(t\)\+\\mathrm\{FN\}\_\{j\}\(t\)=0\) or zero positive predictions \(TPj\(t\)\+FPj\(t\)=0\\mathrm\{TP\}\_\{j\}\(t\)\+\\mathrm\{FP\}\_\{j\}\(t\)=0\)\. In such states, metric denominators⟨𝒃,𝒗j\(t\)⟩=0\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(t\)\\rangle=0create mathematical singularities\.
Conventional batch libraries \(such as scikit\-learn\) typically apply silent default substitutions \(e\.g\.,𝚣𝚎𝚛𝚘\_𝚍𝚒𝚟𝚒𝚜𝚒𝚘𝚗=𝟶\\mathtt\{zero\\\_division=0\}\), which distort stream evaluation: a rare class that does not appear in a moving window is scored as0\.00\.0without notice and can trigger false drift alarms in macro\-aggregated indicators\.
To prevent silent distortion while maintaining uninterrupted streaming pipelines, the framework formalizes a dynamic support indicator vector𝒖\(t\)∈\{0,1\}m\\bm\{u\}\(t\)\\in\\\{0,1\\\}^\{m\}, where, without latency,uj\(t\)=𝕀\[⟨𝒃,𝒗j\(t\)⟩\>ε\]u\_\{j\}\(t\)=\\mathbb\{I\}\[\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(t\)\\rangle\>\\varepsilon\]\(the case with latency is treated after Example[3](https://arxiv.org/html/2611.21914#Thmexample3)\), withε=0\\varepsilon=0under a sliding window and a small positive tolerance under exponential fading, where cell masses decay but never reach exactly zero\. The macro\-temporal compositionΣm∘Σt\\Sigma\_\{m\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}supports three auditable policies:
1. 1\.With𝚙𝚘𝚕𝚒𝚌𝚢=𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{policy=exclude\}the macro composition averages metrics over the classes with non\-zero support in the current temporal state \(and is undefined, as for𝚗𝚊𝚗\\mathtt\{nan\}, if no class has support\): \(Σm∘ΣtM\)exclude\(t\)=1∑j=1muj\(t\)∑j:uj\(t\)=1M\(𝑪j\(t\)\)\(\\Sigma\_\{m\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}M\)\_\{\\mathrm\{exclude\}\}\(t\)=\\frac\{1\}\{\\sum\_\{j=1\}^\{m\}u\_\{j\}\(t\)\}\\sum\_\{j:u\_\{j\}\(t\)=1\}M\\left\(\\bm\{C\}\_\{j\}\(t\)\\right\)\(17\)
2. 2\.With𝚙𝚘𝚕𝚒𝚌𝚢=𝚣𝚎𝚛𝚘\\mathtt\{policy=zero\}an unobserved class gets0\.00\.0, a conservative assumption: \(Σm∘ΣtM\)zero\(t\)=1m∑j=1muj\(t\)M\(𝑪j\(t\)\)\(\\Sigma\_\{m\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}M\)\_\{\\mathrm\{zero\}\}\(t\)=\\frac\{1\}\{m\}\\sum\_\{j=1\}^\{m\}u\_\{j\}\(t\)M\\left\(\\bm\{C\}\_\{j\}\(t\)\\right\)\(18\)
3. 3\.With𝚙𝚘𝚕𝚒𝚌𝚢=𝚗𝚊𝚗\\mathtt\{policy=nan\}the composition emitsNaN\\mathrm\{NaN\}whenever any class has undefined support, which forces explicit handling upstream\.
In all cases, the framework emits an explicit diagnostic audit tuple\(𝒖\(t\),mactive\(t\)\)\(\\bm\{u\}\(t\),m\_\{\\mathrm\{active\}\}\(t\)\), wheremactive\(t\)=∑j=1muj\(t\)m\_\{\\mathrm\{active\}\}\(t\)=\\sum\_\{j=1\}^\{m\}u\_\{j\}\(t\)is the number of classes with non\-zero support \(the same quantity already appearing as the denominator of Eq\. \([17](https://arxiv.org/html/2611.21914#S3.E17)\)\), alongside every evaluation update, ensuring full transparency in automated monitoring dashboards\.
###### Example 3\(Running example: a void\)\.
In the window state of Example[1](https://arxiv.org/html/2611.21914#Thmexample1)no instance of classCCis true, soTPC\+FNC=0\\mathrm\{TP\}\_\{C\}\+\\mathrm\{FN\}\_\{C\}=0andRecallC\\mathrm\{Recall\}\_\{C\}is0/00/0\. The support indicator is𝐮=\(1,1,0\)\\bm\{u\}=\(1,1,0\)andmactive=2m\_\{\\mathrm\{active\}\}=2\. The per\-class recalls are\(1,23,undefined\)\(1,\\tfrac\{2\}\{3\},\\text\{undefined\}\), so the macro recall is56\\tfrac\{5\}\{6\}under𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\},59\\tfrac\{5\}\{9\}under𝚣𝚎𝚛𝚘\\mathtt\{zero\}and undefined under𝚗𝚊𝚗\\mathtt\{nan\}\. The pooled recall is34\\tfrac\{3\}\{4\}, equal to the weighted macro with weights\(14,34,0\)\(\\tfrac\{1\}\{4\},\\tfrac\{3\}\{4\},0\)that omitCC\(Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1)\)\.
Under verification latency or censoring \(§[4](https://arxiv.org/html/2611.21914#S4)\) the state𝑪\(t\)\\bm\{C\}\(t\)also holds interim estimates of the unverified instances \(the model’s calibrated class probabilities standing in for the labels that have not arrived, §[4\.2](https://arxiv.org/html/2611.21914#S4.SS2)\), which are spread over the rows of every class the model finds plausible, so a class can have mass in𝑪\(t\)\\bm\{C\}\(t\)without an instance of it in the window\. We therefore distinguish the interim supportujint\(t\)=𝕀\[⟨𝒃,𝒗j\(𝑪\(t\)\)⟩\>ε\]u^\{\\mathrm\{int\}\}\_\{j\}\(t\)=\\mathbb\{I\}\[\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(\\bm\{C\}\(t\)\)\\rangle\>\\varepsilon\]and the verified supportujver\(t\)=𝕀\[⟨𝒃,𝒗j\(𝑪verified\(t\)\)⟩\>ε\]u^\{\\mathrm\{ver\}\}\_\{j\}\(t\)=\\mathbb\{I\}\[\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(\\bm\{C\}\_\{\\mathrm\{verified\}\}\(t\)\)\\rangle\>\\varepsilon\], and the coverageκj\(t\)\\kappa\_\{j\}\(t\), the share of the denominator⟨𝒃,𝒗j\(𝑪\(t\)\)⟩\\langle\\bm\{b\},\\bm\{v\}\_\{j\}\(\\bm\{C\}\(t\)\)\\ranglethat comes from verified instances\. By marginal prediction consistency \(Eq\. \([29](https://arxiv.org/html/2611.21914#S4.E29)\)\) the column sums of𝑪\(t\)\\bm\{C\}\(t\)do not depend on the interim estimates\. If the denominator is a combination of the prediction\-side sumsTPj\+FPj\\mathrm\{TP\}\_\{j\}\+\\mathrm\{FP\}\_\{j\}andFNj\+TNj\\mathrm\{FN\}\_\{j\}\+\\mathrm\{TN\}\_\{j\}\(precision, accuracy\),ujintu^\{\\mathrm\{int\}\}\_\{j\}is exact\. If it involves the label side \(recall, specificity\), onlyujveru^\{\\mathrm\{ver\}\}\_\{j\}is safe\. The policies below useuj=ujintu\_\{j\}=u^\{\\mathrm\{int\}\}\_\{j\}for the first kind anduj=ujveru\_\{j\}=u^\{\\mathrm\{ver\}\}\_\{j\}for the second, which coincide without latency, and the audit tuple reports\(𝒖ver,𝒖int,𝜿\)\(\\bm\{u\}^\{\\mathrm\{ver\}\},\\bm\{u\}^\{\\mathrm\{int\}\},\\bm\{\\kappa\}\)\. A value computed for a class with0<κj<10<\\kappa\_\{j\}<1is an estimate, and one withκj=0\\kappa\_\{j\}=0is not reported as a measurement\.
A practical question these policies raise immediately is*how often*they trigger for a given class and a given choice ofWWorα\\alpha\. A practitioner needs this information before deployment, not only as a post\-hoc diagnostic\.
###### Proposition 4\(Undefined\-Window Probability Under Stationary Arrivals\)\.
Let classjjarrive i\.i\.d\. with per\-instance probabilitypj=Pt\(Y=j\)p\_\{j\}=P\_\{t\}\(Y=j\), stationary over the relevant horizon\. Under a sliding window of sizeWW\(steady state,t≥Wt\\geq W\), the probability thatuj\(t\)=0u\_\{j\}\(t\)=0, that is, thatRecallj\(t\)\\mathrm\{Recall\}\_\{j\}\(t\)is undefined because no instance of classjjoccurred in the window, is exactly
P\(uj\(t\)=0\)=\(1−pj\)W\.P\\bigl\(u\_\{j\}\(t\)=0\\bigr\)=\(1\-p\_\{j\}\)^\{W\}\.\(19\)Under exponential fading with a mass toleranceε\\varepsilonandt≥s∗t\\geq s^\{\\ast\},\(1−pj\)sε≤P\(uj\(t\)=0\)≤\(1−pj\)s∗\(1\-p\_\{j\}\)^\{s\_\{\\varepsilon\}\}\\leq P\(u\_\{j\}\(t\)=0\)\\leq\(1\-p\_\{j\}\)^\{s^\{\\ast\}\}, wheres∗=min\{s:\(1−α\)αs≤ε\}=O\(nefflog1neffε\)s^\{\\ast\}=\\min\\\{s:\(1\-\\alpha\)\\alpha^\{s\}\\leq\\varepsilon\\\}=O\\\!\\left\(n\_\{\\mathrm\{eff\}\}\\log\\frac\{1\}\{n\_\{\\mathrm\{eff\}\}\\varepsilon\}\\right\)is the first age at which the weight of a single arrival does not exceedε\\varepsilon\(the eviction age of Eq\. \([33](https://arxiv.org/html/2611.21914#S4.E33)\) is defined with a strict inequality and differs only when the weight equalsε\\varepsilon\) andsε=⌈ln\(1/ε\)/ln\(1/α\)⌉s\_\{\\varepsilon\}=\\lceil\\ln\(1/\\varepsilon\)/\\ln\(1/\\alpha\)\\rceilis the number of silent steps after which the whole mass of the class is at mostε\\varepsilon\.
###### Proof\.
Under a sliding window,uj\(t\)=0u\_\{j\}\(t\)=0iff none of theWWi\.i\.d\. arrivals in\(t−W,t\]\(t\-W,t\]has true labeljj, which by independence has probability\(1−pj\)W\(1\-p\_\{j\}\)^\{W\}exactly\. Under fading with eviction,uj\(t\)=0u\_\{j\}\(t\)=0once the most recent class\-jjarrival is older thans∗s^\{\\ast\}steps \(Eq\. \([33](https://arxiv.org/html/2611.21914#S4.E33)\)\); the same independence argument gives the two bounds: an arrival within the lasts∗s^\{\\ast\}steps keeps the mass aboveε\\varepsilon, and no arrival forsεs\_\{\\varepsilon\}steps brings it to at mostε\\varepsilon\. ∎
###### Corollary 1\(Design rule for the undefined\-window rate\)\.
Sizing a streaming parameter to guarantee a target confidence level is the same design principle underlying adaptive windowing schemes such as ADWIN\([Bifet and Gavaldà, 2007](https://arxiv.org/html/2611.21914#bib.bib2)\), applied here to the undefined\-window rate specifically: to keep it below a target toleranceδ∈\(0,1\)\\delta\\in\(0,1\), Eq\. \([19](https://arxiv.org/html/2611.21914#S3.E19)\) requires
W≥ln\(1/δ\)−ln\(1−pj\)≈ln\(1/δ\)pj\(the approximation tightening aspj→0\),W\\geq\\frac\{\\ln\(1/\\delta\)\}\{\-\\ln\(1\-p\_\{j\}\)\}\\approx\\frac\{\\ln\(1/\\delta\)\}\{p\_\{j\}\}\\qquad\\text\{\(the approximation tightening as \}p\_\{j\}\\to 0\\text\{\)\},\(20\)and under fading the upper bound of Proposition[4](https://arxiv.org/html/2611.21914#Thmproposition4)gives the corresponding rule withs∗s^\{\\ast\}in place ofWW\.
###### Corollary 2\(Undefined\-window probability with latency\)\.
Let the delays be independent of the arrivals and of the class, withF\(s\)=P\(Δ≤s\)F\(s\)=P\(\\Delta\\leq s\), and let a label be requested with probabilitybbindependently of the instance\. For a sliding window of sizeWW, the probability that no instance of classjjin the window is verified at timett, so thatujver\(t\)=0u^\{\\mathrm\{ver\}\}\_\{j\}\(t\)=0, is
P\(ujver\(t\)=0\)=∏s=0W−1\(1−pjbF\(s\)\),P\\bigl\(u^\{\\mathrm\{ver\}\}\_\{j\}\(t\)=0\\bigr\)=\\prod\_\{s=0\}^\{W\-1\}\\bigl\(1\-p\_\{j\}\\,b\\,F\(s\)\\bigr\),wheressis the age of the instance\. For a constant delayΔ<W\\Delta<Wit is\(1−pjb\)W−Δ\(1\-p\_\{j\}b\)^\{W\-\\Delta\}, that is\(1−pj\)W−Δ\(1\-p\_\{j\}\)^\{W\-\\Delta\}forb=1b=1, and it is11ifΔ≥W\\Delta\\geq W\. The window needed for a target toleranceδ\\deltagrows by the delay,W≥Δ\+ln\(1/δ\)/\(−ln\(1−pjb\)\)W\\geq\\Delta\+\\ln\(1/\\delta\)/\(\-\\ln\(1\-p\_\{j\}b\)\)\.
###### Proof\.
An instance of agessis a verified instance of classjjwith probabilitypjbF\(s\)p\_\{j\}bF\(s\)and these events are independent across positions, so the probability that none occurs is the product\. For a constant delayF\(s\)=𝕀\[s≥Δ\]F\(s\)=\\mathbb\{I\}\[s\\geq\\Delta\]\. ∎
### 4Verification Latency and Selective Feedback as Dynamic Masks
Stream evaluation often assumes that the true label is available immediately after each prediction \(null latency\)\. Labels often arrive late or only for some instances: fraud is confirmed after a dispute resolves, a diagnosis after laboratory results, a loan default months after the decision, a forecast after its horizon\.[Parreira and Prati \(2026\)](https://arxiv.org/html/2611.21914#bib.bib20)call this regime intermediate verification latency\.
Latency affects drift detectors such as DDM\([Gama et al\., 2004](https://arxiv.org/html/2611.21914#bib.bib9)\), ADWIN\([Bifet and Gavaldà, 2007](https://arxiv.org/html/2611.21914#bib.bib2)\)and HDDM\([Frías\-Blanco et al\., 2015](https://arxiv.org/html/2611.21914#bib.bib8)\), whose statistics are computed only over the verified sub\-population\. It also affects evaluation:[Parreira and Prati \(2026\)](https://arxiv.org/html/2611.21914#bib.bib20)report, over eleven datasets and seven latency levels, that measured predictive performance degrades as latency increases\. When the delay and the choice of which labels arrive do not depend on the model or on the label, the naive estimate over verified instances is only lagged \(Table[17](https://arxiv.org/html/2611.21914#S6.T17), setting \(ii\)\)\. Selection bias appears when what is observed depends on the model’s decision or on the label\.
We treat three feedback imperfections in one algebraic framework: temporal latency, endogenous censoring \(labels withheld for instances the model rejects\) and stochastic auditing \(labels sought for a random or policy\-driven subset\)\. Each imposes a different structure on the observation mask𝒪k\(t\)\\mathcal\{O\}\_\{k\}\(t\)defined next\.
#### 4\.1Dynamic Mask Formulation for Latency, Censoring, and Auditing
In operational stream environments labels rarely arrive with the prediction\. We model the availability of a verified label for instancekkat evaluation timettby a binary observation mask:
𝒪k\(t\)=𝕀\[k\+Δk≤t\]⋅Ak\\mathcal\{O\}\_\{k\}\(t\)=\\mathbb\{I\}\[k\+\\Delta\_\{k\}\\leq t\]\\cdot A\_\{k\}\(22\)whereΔk≥0\\Delta\_\{k\}\\geq 0is the verification latency \(possibly random\) andAk∈\{0,1\}A\_\{k\}\\in\\\{0,1\\\}says whether a label is ever supplied for instancekk\(Ak=0A\_\{k\}=0is the same asΔk=∞\\Delta\_\{k\}=\\infty\)\. The calligraphic𝒪\\mathcal\{O\}is unrelated to the asymptoticO\(⋅\)O\(\\cdot\)notation of Proposition[1](https://arxiv.org/html/2611.21914#Thmproposition1)\. The first factor gates temporal availability, since no label can be used before it arrives\. The second says whether a label is sought at all\. When the system decides which labels to request,AkA\_\{k\}is known at arrival; when an external process supplies the labels,AkA\_\{k\}is revealed only if the label arrives\. Four regimes follow, two for the delay and two for the audit:
1. 1\.Constant delay \(Δk=Δ\\Delta\_\{k\}=\\Delta\): all labels arrive with fixed latency, as in batch annotation pipelines or periodic audit cycles\. The mask simplifies to𝒪k\(t\)=𝕀\[k≤t−Δ\]\\mathcal\{O\}\_\{k\}\(t\)=\\mathbb\{I\}\[k\\leq t\-\\Delta\], creating a clean observation horizon with no stochastic component\.
2. 2\.Stochastic latency \(Δk∼𝒫\(λ\)\\Delta\_\{k\}\\sim\\mathcal\{P\}\(\\lambda\)\): labels arrive after a random delay drawn from a distribution such as the exponential or Poisson\. This regime models asynchronous annotation queues, where the expected backlog at timettis𝔼\[unverified\]=λ\\mathbb\{E\}\[\\text\{unverified\}\]=\\lambdainstances\. The effective number of verified instances up to timettis∑k=1t𝒪k\(t\)\\sum\_\{k=1\}^\{t\}\\mathcal\{O\}\_\{k\}\(t\), which varies stochastically aroundt−λt\-\\lambda\.
3. 3\.Decision\-dependent \(endogenous\) censoring: the audit probability depends on the model’s own prediction, πaudit\(k\)=πaudit\(𝒑k,𝒙k\)\\pi\_\{\\mathrm\{audit\}\}\(k\)=\\pi\_\{\\mathrm\{audit\}\}\(\\bm\{p\}\_\{k\},\\bm\{x\}\_\{k\}\)\(23\)This arises in decision systems such as loan approval, where only accepted or flagged instances receive ground\-truth feedback\. The resulting selection bias couples the model’s decision boundary to the observed evaluation set and invalidates the naive estimate\.
4. 4\.Stochastic \(policy\-driven\) auditing: the audit decision is independent of the instance’s features and prediction and follows an external labelling budget or sampling policy, πaudit\(k\)=b,b∈\(0,1\],πaudit\(k\)⟂\(𝒑k,𝒙k\)\\pi\_\{\\mathrm\{audit\}\}\(k\)=b,\\qquad b\\in\(0,1\],\\qquad\\pi\_\{\\mathrm\{audit\}\}\(k\)\\perp\(\\bm\{p\}\_\{k\},\\bm\{x\}\_\{k\}\)\(24\)This models active\-learning or manual\-review budgets, where only a fractionbbof the stream is labelled under a random or round\-robin policy rather than by the classifier’s own decision\. Because the audit gate is independent of\(𝒑k,𝒙k\)\(\\bm\{p\}\_\{k\},\\bm\{x\}\_\{k\}\), the resulting verified sub\-population is a representative sample of the full stream\. Unlike decision\-dependent censoring, naive evaluation restricted to it is unbiased up to sampling variance, at the cost of an effective sample size reduced tonessbn\_\{\\mathrm\{ess\}\}\\,b\.
[Gomes et al\. \(2022\)](https://arxiv.org/html/2611.21914#bib.bib11)organise label arrival along two axes: whether the labels that arrive do so immediately or after a delay, and whether every instance is eventually labelled\. This gives four settings: \(i\) immediate and fully labelled, \(ii\) delayed and fully labelled, \(iii\) immediate and partially labelled, \(iv\) delayed and partially labelled\. They are the four corners of the mask in Eq\. \([22](https://arxiv.org/html/2611.21914#S4.E22)\), obtained by switching its two factors on or off \(Table[1](https://arxiv.org/html/2611.21914#S4.T1)\)\. The delay axis is the pair of regimes 1 and 2 above; the survey’s delayDDis a random variable with finite range, and the constant case is degenerate\. The labelling axis is the pair 3 and 4\.
The survey rests on the assumption that the learner has no influence on which labels arrive, and it describes missing labels with the missing\-completely\-at\-random, missing\-at\-random and missing\-not\-at\-random vocabulary of the missing\-data literature\. Policy\-driven auditing \(regime 4\) has a gate independent of the data and is missing completely at random\. Decision\-dependent censoring \(regime 3\) lets the audit probability depend on\(𝒙k,𝒑k\)\(\\bm\{x\}\_\{k\},\\bm\{p\}\_\{k\}\), so it is missing at random, with the model itself shaping the labelled subset; the survey sets that case aside under active learning\. Neither mechanism depends on the true label𝒚k\\bm\{y\}\_\{k\}given\(𝒙k,𝒑k\)\(\\bm\{x\}\_\{k\},\\bm\{p\}\_\{k\}\), which is what allows a calibrated estimate to stand in for the missing label \(§[4\.2](https://arxiv.org/html/2611.21914#S4.SS2)\)\. The estimate needs the audit probability to be positive wherever it is used\.
Setting \(iv\) is the product of the two axes: any delay regime combined with any audit regime, the factors multiplying in Eq\. \([22](https://arxiv.org/html/2611.21914#S4.E22)\)\. An unaudited instance hasΔk=∞\\Delta\_\{k\}=\\infty, which is how the survey describes the labels that never arrive; we keep the audit indicator as a separate factor because its mechanism, not its timing, determines the selection bias\. One convention differs: the survey’s “immediate” is a verification latency of one time unit, while hereΔk=0\\Delta\_\{k\}=0means that the label is usable at evaluation timekk, so the two coincide up to a unit offset\. Algorithm[1](https://arxiv.org/html/2611.21914#alg1)handles the four settings without change, and §[6\.4](https://arxiv.org/html/2611.21914#S6.SS4)reports all four in one experiment\.
Table 1:The four label\-availability settings of[Gomes et al\. \(2022\)](https://arxiv.org/html/2611.21914#bib.bib11)as corners of the observation mask𝒪k\(t\)=𝕀\[k\+Δk≤t\]⋅𝕀\[kaudited\]\\mathcal\{O\}\_\{k\}\(t\)=\\mathbb\{I\}\[k\+\\Delta\_\{k\}\\leq t\]\\cdot\\mathbb\{I\}\[k\\text\{ audited\}\]\.The censoring and auditing regimes often compose\. §[6\.4](https://arxiv.org/html/2611.21914#S6.SS4)simulates this combination in a credit/risk stream: writingc^k∈\{0,1\}\\hat\{c\}\_\{k\}\\in\\\{0,1\\\}for the model’s realized scalar decision on instancekk\(distinct from the full prediction vector𝒑k\\bm\{p\}\_\{k\}\), instances the model approves \(c^k=0\\hat\{c\}\_\{k\}=0\) are always eventually observed, while instances it rejects \(c^k=1\\hat\{c\}\_\{k\}=1\) are censored unless separately selected by an independent audit budgetbb,
πaudit\(k\)=𝕀\[c^k=0\]\+𝕀\[c^k=1\]⋅Uk,Uk∼iidBernoulli\(b\)\\pi\_\{\\mathrm\{audit\}\}\(k\)=\\mathbb\{I\}\[\\hat\{c\}\_\{k\}=0\]\+\\mathbb\{I\}\[\\hat\{c\}\_\{k\}=1\]\\cdot U\_\{k\},\\qquad U\_\{k\}\\overset\{\\mathrm\{iid\}\}\{\\sim\}\\mathrm\{Bernoulli\}\(b\)\(25\)composing Eq\. \([23](https://arxiv.org/html/2611.21914#S4.E23)\)’s decision\-dependent gate with Eq\. \([24](https://arxiv.org/html/2611.21914#S4.E24)\)’s stochastic budget\. The resulting evaluation set is neither purely censored nor an unbiased sample: it is fully observed for approved instances andbb\-sampled for rejected ones, and §[4\.2](https://arxiv.org/html/2611.21914#S4.SS2)shows how the producttt\-norm interim estimator corrects the selection bias contributed by both components simultaneously\.
The verified streaming contingency matrix at timettintegrates only observed, labelled instances:
𝑪verified\(t\)=∑k=1t𝒪k\(t\)wk\(t\)𝒚k𝒑kT\\bm\{C\}\_\{\\mathrm\{verified\}\}\(t\)=\\sum\_\{k=1\}^\{t\}\\mathcal\{O\}\_\{k\}\(t\)\\,w\_\{k\}\(t\)\\,\\bm\{y\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\(26\)wherewk\(t\)w\_\{k\}\(t\)is the temporal weight assigned byΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}to instancekk\. Note that𝑪verified\(t\)\\bm\{C\}\_\{\\mathrm\{verified\}\}\(t\)is sub\-populational: it represents only a censored fraction of the stream, and any performance metric derived directly from it inherits the selection bias of the audit policy\.
To manage latency without reprocessing history, the evaluator keeps a*verification queue*𝒬\(t\)\\mathcal\{Q\}\(t\)of the instances whose labels have not arrived and may still arrive, with what the correction needs:𝒬\(t\)=\{\(k,𝒚~k,𝒑k\):𝒪k\(t\)=0,ℰk=1,knot yet evicted\}\\mathcal\{Q\}\(t\)=\\\{\(k,\\tilde\{\\bm\{y\}\}\_\{k\},\\bm\{p\}\_\{k\}\):\\mathcal\{O\}\_\{k\}\(t\)=0,\\;\\mathcal\{E\}\_\{k\}=1,\\;k\\text\{ not yet evicted\}\\\}\. The flagℰk∈\{0,1\}\\mathcal\{E\}\_\{k\}\\in\\\{0,1\\\}records what the evaluator knows when instancekkarrives:ℰk=0\\mathcal\{E\}\_\{k\}=0if it already knows that no label will be requested forkk, andℰk=1\\mathcal\{E\}\_\{k\}=1otherwise\. Which instances are eligible depends on who controls the labelling:
- •When the system decides \(active learning, decision\-dependent censoring\), the model’s decisionc^k\\hat\{c\}\_\{k\}and the audit drawUkU\_\{k\}of Eq\. \([25](https://arxiv.org/html/2611.21914#S4.E25)\) are known at arrival, and the instances that are not selected haveℰk=0\\mathcal\{E\}\_\{k\}=0\. They contribute their interim term to𝑪\(t\)\\bm\{C\}\(t\)at arrival \(§[4\.2](https://arxiv.org/html/2611.21914#S4.SS2)\) and never enter the queue, since no correction can follow\. The queue holds only the selected instances still waiting for a label, so its size is set by the latency and the audit budget, not by the stream length\.
- •When labels are supplied by an external process for a subset that is not known in advance \(the partially labelled streams of[Gomes et al\. \(2022\)](https://arxiv.org/html/2611.21914#bib.bib11), or fraud confirmations that may never come\), eligibility cannot be known at arrival, soℰk=1\\mathcal\{E\}\_\{k\}=1for every instance\. Every instance is held until its label arrives or it is evicted, and eviction \(§[4\.2](https://arxiv.org/html/2611.21914#S4.SS2)\) is what keeps the queue bounded when some labels never arrive\.
#### 4\.2Marginally Consistent Interim Estimates via the Producttt\-norm
Instances whose true labels have not arrived \(those in the queue𝒬\(t\)\\mathcal\{Q\}\(t\)and, whenℰk=0\\mathcal\{E\}\_\{k\}=0, those that never will\) cannot contribute to𝑪verified\(t\)\\bm\{C\}\_\{\\mathrm\{verified\}\}\(t\)\. Ignoring them leaves a hole in the state that grows with the latency\. We fill it with an estimate𝒚~k∈\[0,1\]m\\tilde\{\\bm\{y\}\}\_\{k\}\\in\[0,1\]^\{m\}of the label, obtained as described next, in place of the observed label𝒚k∈\{0,1\}m\\bm\{y\}\_\{k\}\\in\\\{0,1\\\}^\{m\}\. We call it the interim estimate or, in the experiments, the stand\-in\. We write𝒚~k\\tilde\{\\bm\{y\}\}\_\{k\}, not𝒚^k\\hat\{\\bm\{y\}\}\_\{k\}, to avoid clashing with the prediction notation of §[3](https://arxiv.org/html/2611.21914#S3):𝒚~k\\tilde\{\\bm\{y\}\}\_\{k\}stands in for the unavailable true label, while𝒑k\\bm\{p\}\_\{k\}remains the model’s prediction being evaluated\.
The estimate is a calibrated function of the model’s score and needs no data beyond the stream\. Let𝒔k\\bm\{s\}\_\{k\}be the score vector the model produces for instancekk, from which its decision𝒑k\\bm\{p\}\_\{k\}is taken \(for instance the class probabilities of a Hoeffding tree\), and letgtg\_\{t\}be a calibration map fitted at timett\. Then𝒚~k=gt\(𝒔k\)\\tilde\{\\bm\{y\}\}\_\{k\}=g\_\{t\}\(\\bm\{s\}\_\{k\}\)is computed once, at arrival, and needs no label of instancekk\. The mapgtg\_\{t\}is the only learned component\. It is fitted on the pairs\(𝒔j,𝒚j\)\(\\bm\{s\}\_\{j\},\\bm\{y\}\_\{j\}\)of the instances whose labels have arrived by timett\(the verified set of Eq\. \([26](https://arxiv.org/html/2611.21914#S4.E26)\)\), with𝒔j\\bm\{s\}\_\{j\}the score computed at the time of prediction, and it is updated online as each label arrives, optionally with the same fading or window weights asΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}so that it follows drift\. Platt scaling, isotonic regression or temperature scaling can serve asgtg\_\{t\}\. Four points follow\.
1. 1\.The raw score is not a safe substitute\. A classifier’s own probabilities are often over\- or under\-confident, and Eq\. \([34](https://arxiv.org/html/2611.21914#S4.E34)\) below ties the bias of the estimator to that error\.
2. 2\.The verified set is a selected sample\. Under regimes 1 to 4 the mechanism that decides which labels arrive does not depend on the true label𝒚k\\bm\{y\}\_\{k\}given\(𝒙k,𝒑k\)\(\\bm\{x\}\_\{k\},\\bm\{p\}\_\{k\}\)\. Becausegtg\_\{t\}estimatesP\(Y∣𝒔\)P\(Y\\mid\\bm\{s\}\), it is consistent on the verified set only if the audit probability depends on the instance through the score𝒔\\bm\{s\}, as it does when it depends on the decision𝒑k\\bm\{p\}\_\{k\}, and is positive wherever the estimate is used\. If it depends on other features of𝒙k\\bm\{x\}\_\{k\},gtg\_\{t\}is biased\. Under decision\-dependent censoring the flagged region reachesgtg\_\{t\}only through the audit budgetbb, so withb=0b=0that region is never observed and the correction cannot be validated there\.
3. 3\.Under delay,gtg\_\{t\}lags the stream by the latency, since it only sees labels that have arrived\. If the delay depends on the label \(the asymmetric regime of §[6\.4](https://arxiv.org/html/2611.21914#S6.SS4)\), the labels that have arrived over\-represent the class confirmed first,gtg\_\{t\}inherits that bias, and the correction is only partial; §[6\.4](https://arxiv.org/html/2611.21914#S6.SS4)measures it\.
4. 4\.The value𝒚~k\\tilde\{\\bm\{y\}\}\_\{k\}used at arrival must be stored, not recomputed from the currentgtg\_\{t\}, so that the correction step subtracts exactly the term it added\.
The soft contribution of an unverified instance\(𝒙k,𝒚~k,𝒑k\)\(\\bm\{x\}\_\{k\},\\tilde\{\\bm\{y\}\}\_\{k\},\\bm\{p\}\_\{k\}\)to the contingency matrix is computed by a bivariate aggregation operatorT:\[0,1\]2→\[0,1\]T:\[0,1\]^\{2\}\\to\[0,1\]applied entry\-wise:
𝑪interim,k=T\(𝒚~k,𝒑k\)∈\[0,1\]m×m\\bm\{C\}\_\{\\mathrm\{interim\},k\}=T\(\\tilde\{\\bm\{y\}\}\_\{k\},\\,\\bm\{p\}\_\{k\}\)\\in\[0,1\]^\{m\\times m\}\(27\)We ask for*marginal consistency*: the row and column sums of the soft contribution must match𝒚~k\\tilde\{\\bm\{y\}\}\_\{k\}and𝒑k\\bm\{p\}\_\{k\},
∑j′\[T\(𝒚~k,𝒑k\)\]jj′\\displaystyle\\sum\_\{j^\{\\prime\}\}\[T\(\\tilde\{\\bm\{y\}\}\_\{k\},\\,\\bm\{p\}\_\{k\}\)\]\_\{jj^\{\\prime\}\}=y~kj\(marginal label consistency\)\\displaystyle=\\tilde\{y\}\_\{kj\}\\qquad\(\\text\{marginal label consistency\}\)\(28\)∑j\[T\(𝒚~k,𝒑k\)\]jj′\\displaystyle\\sum\_\{j\}\[T\(\\tilde\{\\bm\{y\}\}\_\{k\},\\,\\bm\{p\}\_\{k\}\)\]\_\{jj^\{\\prime\}\}=pkj′\(marginal prediction consistency\)\\displaystyle=p\_\{kj^\{\\prime\}\}\\qquad\(\\text\{marginal prediction consistency\}\)\(29\)so that the soft matrix contributes the expected totals to the TP, FP, TN and FN cells\. Amongtt\-norms, only the productTP\(a,b\)=a⋅bT\_\{P\}\(a,b\)=a\\cdot bsatisfies both conditions for soft predictions\([Prati, 2027](https://arxiv.org/html/2611.21914#bib.bib24)\), and then
\[TP\(𝒚~k,𝒑k\)\]jj′=y~kjpkj′,\[T\_\{P\}\(\\tilde\{\\bm\{y\}\}\_\{k\},\\,\\bm\{p\}\_\{k\}\)\]\_\{jj^\{\\prime\}\}=\\tilde\{y\}\_\{kj\}\\,p\_\{kj^\{\\prime\}\},\(30\)the outer product𝒚~k𝒑kT\\tilde\{\\bm\{y\}\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\. The minimumTM\(a,b\)=min\(a,b\)T\_\{M\}\(a,b\)=\\min\(a,b\)and the ŁukasiewiczTL\(a,b\)=max\(0,a\+b−1\)T\_\{L\}\(a,b\)=\\max\(0,a\+b\-1\)tt\-norms violate at least one condition, with marginal defect
defect\(T\)=‖𝟏T\[T\(𝒚~k,𝒑k\)\]−𝒑kT‖1\+‖\[T\(𝒚~k,𝒑k\)\]𝟏−𝒚~k‖1\\mathrm\{defect\}\(T\)=\\left\\\|\\bm\{1\}^\{T\}\[T\(\\tilde\{\\bm\{y\}\}\_\{k\},\\bm\{p\}\_\{k\}\)\]\-\\bm\{p\}\_\{k\}^\{T\}\\right\\\|\_\{1\}\+\\left\\\|\[T\(\\tilde\{\\bm\{y\}\}\_\{k\},\\bm\{p\}\_\{k\}\)\]\\bm\{1\}\-\\tilde\{\\bm\{y\}\}\_\{k\}\\right\\\|\_\{1\}\(31\)that is positive for soft𝒑k\\bm\{p\}\_\{k\}\(Table[14](https://arxiv.org/html/2611.21914#S6.T14)\) and zero forTPT\_\{P\}\. For hard one\-hot decisions𝒑k\\bm\{p\}\_\{k\}everytt\-norm gives the same matrix, becauseT\(a,1\)=aT\(a,1\)=aandT\(a,0\)=0T\(a,0\)=0, so the choice only matters for soft predictions\. The product is also the right choice for a second reason: the prediction𝒑k\\bm\{p\}\_\{k\}is a function of𝒙k\\bm\{x\}\_\{k\}once the model is fixed, so𝔼\[𝒚k𝒑kT∣𝒙k\]=P\(Y∣𝒙k\)𝒑kT\\mathbb\{E\}\[\\bm\{y\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\\mid\\bm\{x\}\_\{k\}\]=P\(Y\\mid\\bm\{x\}\_\{k\}\)\\,\\bm\{p\}\_\{k\}^\{T\}, which is an outer product\.
The unified streaming contingency matrix combines verified labels with interim estimates:
𝑪\(t\)=∑k=1t𝒪k\(t\)wk\(t\)𝒚k𝒑kT⏟verified contribution\+∑k=1t\(1−𝒪k\(t\)\)wk\(t\)𝒚~k𝒑kT⏟interim contribution\\bm\{C\}\(t\)=\\underbrace\{\\sum\_\{k=1\}^\{t\}\\mathcal\{O\}\_\{k\}\(t\)\\,w\_\{k\}\(t\)\\,\\bm\{y\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\}\_\{\\text\{verified contribution\}\}\\;\+\\;\\underbrace\{\\sum\_\{k=1\}^\{t\}\(1\-\\mathcal\{O\}\_\{k\}\(t\)\)\\,w\_\{k\}\(t\)\\,\\tilde\{\\bm\{y\}\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\}\_\{\\text\{interim contribution\}\}\(32\)It recovers𝑪verified\(t\)\\bm\{C\}\_\{\\mathrm\{verified\}\}\(t\)in the limiting case of zero latency \(Δk=0\\Delta\_\{k\}=0,Ak=1A\_\{k\}=1\) and is built from outer products with the prescribed marginals\. The zero marginal defect is a property of that construction\. Correcting a selection bias is a separate matter that needs a mechanism that is missing at random given the score and a consistent calibration mapgtg\_\{t\}\(point 2 above\), and it fails when the delay depends on the label\.
Equation \([32](https://arxiv.org/html/2611.21914#S4.E32)\) is not recomputed from scratch\. Algorithm[1](https://arxiv.org/html/2611.21914#alg1)credits the interim term at arrival and swaps it for the verified term if the label later arrives, so that both live in one running matrix\.
Algorithm 1Prequential state update on arrival of instancet\+1t\+1\(exponential fading\)1:State
𝑪\(t\)\\bm\{C\}\(t\), queue
𝒬\(t\)\\mathcal\{Q\}\(t\), score
𝒔t\+1\\bm\{s\}\_\{t\+1\}, prediction
𝒑t\+1\\bm\{p\}\_\{t\+1\}, eligibility flag
ℰt\+1\\mathcal\{E\}\_\{t\+1\}, and the labels
𝒚k\\bm\{y\}\_\{k\}that arrive at time
t\+1t\+1
2:Updated state
𝑪\(t\+1\)\\bm\{C\}\(t\+1\)and queue
𝒬\(t\+1\)\\mathcal\{Q\}\(t\+1\)
3:
𝒚~t\+1←gt\(𝒔t\+1\)\\tilde\{\\bm\{y\}\}\_\{t\+1\}\\leftarrow g\_\{t\}\(\\bm\{s\}\_\{t\+1\}\)⊳\\trianglerightinterim estimate, stored with the entry
4:
𝑪\(t\+1\)←α𝑪\(t\)\+\(1−α\)TP\(𝒚~t\+1,𝒑t\+1\)\\bm\{C\}\(t\+1\)\\leftarrow\\alpha\\,\\bm\{C\}\(t\)\+\(1\-\\alpha\)\\,T\_\{P\}\(\\tilde\{\\bm\{y\}\}\_\{t\+1\},\\bm\{p\}\_\{t\+1\}\)⊳\\trianglerightdecay, then credit the interim term
5:if
ℰt\+1=1\\mathcal\{E\}\_\{t\+1\}=1then
6:enqueue
\(t\+1,𝒚~t\+1,𝒑t\+1\)\(t\{\+\}1,\\tilde\{\\bm\{y\}\}\_\{t\+1\},\\bm\{p\}\_\{t\+1\}\)into
𝒬\\mathcal\{Q\}
7:endif
8:for alllabels
𝒚k\\bm\{y\}\_\{k\}arriving at time
t\+1t\+1with
k∈𝒬k\\in\\mathcal\{Q\}do
9:
𝑪\(t\+1\)←𝑪\(t\+1\)\+\(1−α\)αt\+1−k\(𝒚k𝒑kT−TP\(𝒚~k,𝒑k\)\)\\bm\{C\}\(t\+1\)\\leftarrow\\bm\{C\}\(t\+1\)\+\(1\-\\alpha\)\\,\\alpha^\{\\,t\+1\-k\}\\bigl\(\\bm\{y\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\-T\_\{P\}\(\\tilde\{\\bm\{y\}\}\_\{k\},\\bm\{p\}\_\{k\}\)\\bigr\)⊳\\trianglerightswap interim for verified
10:remove
kkfrom
𝒬\\mathcal\{Q\}
11:endfor
12:whilethe oldest entry
kkof
𝒬\\mathcal\{Q\}has
\(1−α\)αt\+1−k<ε\(1\-\\alpha\)\\,\\alpha^\{\\,t\+1\-k\}<\\varepsilondo
13:remove
kkfrom
𝒬\\mathcal\{Q\}⊳\\trianglerightits interim term stays in𝑪\\bm\{C\}and keeps decaying
14:endwhile
15:return
𝑪\(t\+1\)\\bm\{C\}\(t\+1\),
𝒬\(t\+1\)\\mathcal\{Q\}\(t\+1\)
Each step costsO\(m2\)O\(m^\{2\}\)operations, plusO\(m2\)O\(m^\{2\}\)for each arriving label, independent ofttand of\|𝒬\|\|\\mathcal\{Q\}\|: the weight of an entry is computed from its age when a label arrives, and eviction only inspects the oldest entry\. Under a sliding window the weights are1/W1/Wand the update is𝑪\(t\+1\)←𝑪\(t\)\+1W\(TP\(𝒚~t\+1,𝒑t\+1\)−term of the instance leaving the window\)\\bm\{C\}\(t\+1\)\\leftarrow\\bm\{C\}\(t\)\+\\frac\{1\}\{W\}\\bigl\(T\_\{P\}\(\\tilde\{\\bm\{y\}\}\_\{t\+1\},\\bm\{p\}\_\{t\+1\}\)\-\\text\{term of the instance leaving the window\}\\bigr\)\. A FIFO of the lastWWinstances stores each instance’s current term, interim or verified, so that a label arriving within the window replaces the stored term and adds1W\(𝒚k𝒑kT−TP\(𝒚~k,𝒑k\)\)\\frac\{1\}\{W\}\(\\bm\{y\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\-T\_\{P\}\(\\tilde\{\\bm\{y\}\}\_\{k\},\\bm\{p\}\_\{k\}\)\)to𝑪\\bm\{C\}\. Eviction is then automatic,\|𝒬\(t\)\|≤W\|\\mathcal\{Q\}\(t\)\|\\leq W\. The window variant and the eviction step are implemented in the package \(§[7](https://arxiv.org/html/2611.21914#S7)\) and run in §[6\.4](https://arxiv.org/html/2611.21914#S6.SS4)\(Table[18](https://arxiv.org/html/2611.21914#S6.T18)\)\.
Eviction bounds the queue\. Writing the weight of an entry of ages=t−ks=t\-kasw\(s\)=\(1−α\)αsw\(s\)=\(1\-\\alpha\)\\alpha^\{s\}, an entry is evicted oncew\(s\)<εw\(s\)<\\varepsilon, that is afters∗=min\{s:w\(s\)<ε\}s^\{\*\}=\\min\\\{s:w\(s\)<\\varepsilon\\\}steps\. The entries that can no longer be corrected carry a share of the state of at most
∑s≥s∗w\(s\)=αs∗<εneff,s∗=min\{s:w\(s\)<ε\},\\sum\_\{s\\geq s^\{\*\}\}w\(s\)\\;=\\;\\alpha^\{s^\{\*\}\}\\;<\\;\\varepsilon\\,n\_\{\\mathrm\{eff\}\},\\qquad s^\{\*\}=\\min\\\{s:w\(s\)<\\varepsilon\\\},\(33\)an exact geometric tail \(withneff=1/\(1−α\)n\_\{\\mathrm\{eff\}\}=1/\(1\-\\alpha\)\) reached afters∗=O\(nefflog1neffε\)s^\{\*\}=O\\\!\\left\(n\_\{\\mathrm\{eff\}\}\\log\\frac\{1\}\{n\_\{\\mathrm\{eff\}\}\\varepsilon\}\\right\)steps\. Hence\|𝒬\(t\)\|≤s∗≤neffln1neffε\+2\|\\mathcal\{Q\}\(t\)\|\\leq s^\{\\ast\}\\leq n\_\{\\mathrm\{eff\}\}\\ln\\frac\{1\}\{n\_\{\\mathrm\{eff\}\}\\varepsilon\}\+2at any time whenneffε<1n\_\{\\mathrm\{eff\}\}\\varepsilon<1, independent ofttand of how many instances are permanently censored\. The wait limit comes from the temporal operator and not from the labelling process: a label that arrives after the eviction point would be multiplied by a weight belowε\\varepsilonand changes𝑪\(t\)\\bm\{C\}\(t\)by less thanε\\varepsilon, although it can still be used elsewhere, for instance to train the model andgtg\_\{t\}\. The correction therefore pays off only when the latency is short against the memory of the operator,Δk≪W\\Delta\_\{k\}\\ll Wunder a window orΔk≪neff\\Delta\_\{k\}\\ll n\_\{\\mathrm\{eff\}\}under fading\. IfΔk≥W\\Delta\_\{k\}\\geq Wfor most instances, every instance leaves the window unverified and the windowed state consists of interim terms only, that is, of the model’s own calibrated belief\. Table[17](https://arxiv.org/html/2611.21914#S6.T17)is in the first regime \(λ=25\\lambda=25,neff=100n\_\{\\mathrm\{eff\}\}=100\), and the effect of delay there is correspondingly small\. The queue costsO\(\|𝒬\|m\)O\(\|\\mathcal\{Q\}\|\\,m\)memory on top of theO\(m2\)O\(m^\{2\}\)state of Proposition[1](https://arxiv.org/html/2611.21914#Thmproposition1)\.
Let𝑪oracle\(t\)\\bm\{C\}\_\{\\mathrm\{oracle\}\}\(t\)be the state that would be obtained if every label were available at arrival\. The bias of the unified estimator \([32](https://arxiv.org/html/2611.21914#S4.E32)\) relative to it is
𝑪oracle\(t\)−𝑪\(t\)=∑k=1t\(1−𝒪k\(t\)\)wk\(t\)\(𝒚k−𝒚~k\)𝒑kT\\bm\{C\}\_\{\\mathrm\{oracle\}\}\(t\)\-\\bm\{C\}\(t\)=\\sum\_\{k=1\}^\{t\}\(1\-\\mathcal\{O\}\_\{k\}\(t\)\)\\,w\_\{k\}\(t\)\\,\(\\bm\{y\}\_\{k\}\-\\tilde\{\\bm\{y\}\}\_\{k\}\)\\,\\bm\{p\}\_\{k\}^\{T\}\(34\)The residual is driven by the calibration error of𝒚~k\\tilde\{\\bm\{y\}\}\_\{k\}\. If𝔼\[𝒚k∣𝒔k,𝒑k\]=𝒚~k\\mathbb\{E\}\[\\bm\{y\}\_\{k\}\\mid\\bm\{s\}\_\{k\},\\bm\{p\}\_\{k\}\]=\\tilde\{\\bm\{y\}\}\_\{k\}\(calibration\) and𝒪k\(t\)\\mathcal\{O\}\_\{k\}\(t\)is independent of𝒚k\\bm\{y\}\_\{k\}given\(𝒔k,𝒑k\)\(\\bm\{s\}\_\{k\},\\bm\{p\}\_\{k\}\), the expected residual is zero and𝑪\(t\)\\bm\{C\}\(t\)is conditionally unbiased for the oracle matrix\. Equations \([32](https://arxiv.org/html/2611.21914#S4.E32)\) and \([34](https://arxiv.org/html/2611.21914#S4.E34)\) are exact without eviction; eviction changes each entry of𝑪\(t\)\\bm\{C\}\(t\)by less thanε\\varepsilonfor each late label it discards, and by at mostαs∗<εneff\\alpha^\{s^\{\\ast\}\}<\\varepsilon\\,n\_\{\\mathrm\{eff\}\}in total \(Eq\. \([33](https://arxiv.org/html/2611.21914#S4.E33)\)\), when the entries of𝒚k𝒑kT−𝒚~k𝒑kT\\bm\{y\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}\-\\tilde\{\\bm\{y\}\}\_\{k\}\\bm\{p\}\_\{k\}^\{T\}are bounded by one\. Metrics that are ratios of cells inherit only first\-order consistency from this\. Post\-hoc calibration \(isotonic regression\([Zadrozny and Elkan, 2002](https://arxiv.org/html/2611.21914#bib.bib30)\), Platt scaling\([Platt, 2000](https://arxiv.org/html/2611.21914#bib.bib22)\), temperature scaling\([Guo et al\., 2017](https://arxiv.org/html/2611.21914#bib.bib13)\)\) reduces the calibration error that drives the residual, which links classifier calibration to evaluation bias under delayed labels\.
###### Example 4\(Running example: delayed labels, a stand\-in and its correction\)\.
Let the label of instancekkarrive at timek\+Δkk\+\\Delta\_\{k\}withΔ=\(0,1,2,3,2,3,2,1\)\\Delta=\(0,1,2,3,2,3,2,1\), and let instance77never be labelled, because the model flagged it asCCand the system requested no label \(A7=0A\_\{7\}=0,ℰ7=0\\mathcal\{E\}\_\{7\}=0\)\. Att=8t=8the window holds instances55to88: the label of55has arrived, those of66and88are pending \(they arrive att=9t=9\), and77is never labelled\. Only66and88enter the queue\. The stand\-in puts34\\tfrac\{3\}\{4\}on the predicted class and18\\tfrac\{1\}\{8\}on each other class\. With weights14\\tfrac\{1\}\{4\}the unified state of Eq\. \([32](https://arxiv.org/html/2611.21914#S4.E32)\) and the oracle state are
𝑪\(8\)=132\(6111141116\),𝑪oracle\(8\)=132\(8000168000\),\\bm\{C\}\(8\)=\\tfrac\{1\}\{32\}\\begin\{pmatrix\}6&1&1\\\\ 1&14&1\\\\ 1&1&6\\end\{pmatrix\},\\qquad\\bm\{C\}\_\{\\mathrm\{oracle\}\}\(8\)=\\tfrac\{1\}\{32\}\\begin\{pmatrix\}8&0&0\\\\ 0&16&8\\\\ 0&0&0\\end\{pmatrix\},and their difference,132\(2−1−1−127−1−1−6\)\\tfrac\{1\}\{32\}\\bigl\(\\begin\{smallmatrix\}2&\-1&\-1\\\\ \-1&2&7\\\\ \-1&\-1&\-6\\end\{smallmatrix\}\\bigr\), is the sum of\(𝐲k−𝐲~k\)𝐩kT/4\(\\bm\{y\}\_\{k\}\-\\tilde\{\\bm\{y\}\}\_\{k\}\)\\bm\{p\}\_\{k\}^\{T\}/4over the instances without a label \(Eq\. \([34](https://arxiv.org/html/2611.21914#S4.E34)\)\)\.
The recall ofBBis23\\tfrac\{2\}\{3\}in the oracle state,78\\tfrac\{7\}\{8\}in𝐂\(8\)\\bm\{C\}\(8\)and11if only the verified instance is used; the recall ofAAis11,34\\tfrac\{3\}\{4\}and undefined\.
For the stand\-in of instance77and the soft prediction\(18,18,34\)\(\\tfrac\{1\}\{8\},\\tfrac\{1\}\{8\},\\tfrac\{3\}\{4\}\)the marginal defect is00for the producttt\-norm,32\\tfrac\{3\}\{2\}for the minimum and11for the Łukasiewicztt\-norm; for the hard prediction it is00for all three\.
When the label of instance66arrives, the correction adds14\(𝐲6𝐩6T−TP\(𝐲~6,𝐩6\)\)=132\(200−100−100\)\\tfrac\{1\}\{4\}\(\\bm\{y\}\_\{6\}\\bm\{p\}\_\{6\}^\{T\}\-T\_\{P\}\(\\tilde\{\\bm\{y\}\}\_\{6\},\\bm\{p\}\_\{6\}\)\)=\\tfrac\{1\}\{32\}\\bigl\(\\begin\{smallmatrix\}2&0&0\\\\ \-1&0&0\\\\ \-1&0&0\\end\{smallmatrix\}\\bigr\)\. Under fading withα=12\\alpha=\\tfrac\{1\}\{2\}the weights of instances66and88att=8t=8are18\\tfrac\{1\}\{8\}and12\\tfrac\{1\}\{2\}, and withε=132\\varepsilon=\\tfrac\{1\}\{32\}an entry is evicted once its age exceedss∗=5s^\{\\ast\}=5steps, which no queue entry has reached\.
The stand\-in also hides a void on the label side: it puts mass14\\tfrac\{1\}\{4\}in the row ofCC, soRecallC=34\\mathrm\{Recall\}\_\{C\}=\\tfrac\{3\}\{4\}in𝐂\(8\)\\bm\{C\}\(8\)although the oracle state has no support forCC\. The verified support is𝐮ver=\(0,1,0\)\\bm\{u\}^\{\\mathrm\{ver\}\}=\(0,1,0\)and the coverage𝛋=\(0,12,0\)\\bm\{\\kappa\}=\(0,\\tfrac\{1\}\{2\},0\)for the label\-side denominators, so the policies of §[3\.5](https://arxiv.org/html/2611.21914#S3.SS5)treatAAandCCas unsupported for recall: the macro recall is78\\tfrac\{7\}\{8\}under𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\},724\\tfrac\{7\}\{24\}under𝚣𝚎𝚛𝚘\\mathtt\{zero\}and undefined under𝚗𝚊𝚗\\mathtt\{nan\}, and the78\\tfrac\{7\}\{8\}is an estimate \(κB=12\\kappa\_\{B\}=\\tfrac\{1\}\{2\}\)\. The columns are exact: the column sums of𝐂\(8\)\\bm\{C\}\(8\)equal those of the oracle,\(14,12,14\)\(\\tfrac\{1\}\{4\},\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\}\), so the precision of every class keepsuint=\(1,1,1\)u^\{\\mathrm\{int\}\}=\(1,1,1\)\.
### 5Disentangling Concept Drift from Prior Probability Shifts
Non\-stationarity in a stream has two statistical mechanisms\. In*real concept drift*the conditional distributionPt\(Y∣X\)P\_\{t\}\(Y\\mid X\)changes with the environment\. In*virtual drift*the feature distributionPt\(X\)P\_\{t\}\(X\)or the class priorPt\(Y\)=𝝅\(t\)P\_\{t\}\(Y\)=\\bm\{\\pi\}\(t\)changes while the decision boundary stays valid\. Metrics such as Accuracy, Precision andF1F\_\{1\}depend on the prior𝝅\(t\)\\bm\{\\pi\}\(t\), so a change in class balance moves them even when the classifier is unchanged, and drift detectors that monitor them or the error rate \(DDM\([Gama et al\., 2004](https://arxiv.org/html/2611.21914#bib.bib9)\), ADWIN\([Bifet and Gavaldà, 2007](https://arxiv.org/html/2611.21914#bib.bib2)\)\) can alarm on a prior shift alone\.
This section works under label shift: a prior change meansPt\(Y\)P\_\{t\}\(Y\)changes whilePt\(X∣Y\)P\_\{t\}\(X\\mid Y\)stays fixed\. We give the temporal taxonomy of drifts \(§[5\.1](https://arxiv.org/html/2611.21914#S5.SS1)\), the canonical coordinates that are free of the prior and the conditions under which this holds in the binary and the multiclass case \(§[5\.2](https://arxiv.org/html/2611.21914#S5.SS2)\), a first\-order decomposition of a metric change into a concept term and a prior term \(§[5\.3](https://arxiv.org/html/2611.21914#S5.SS3)\), and a monitoring scheme that detects on the canonical coordinates and attributes on the decomposition \(§[5\.4](https://arxiv.org/html/2611.21914#S5.SS4)\)\.
#### 5\.1Temporal Drift Taxonomy and Dynamic Filtering Dynamics
Drift events have different temporal profiles, which determine how quickly a learner must adapt and howΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}filters the history\.
1. 1\.Abrupt drift is an instantaneous transition between two generating distributionsPAP\_\{A\}andPBP\_\{B\}at timet0t\_\{0\},Pt\(X,Y\)=\(1−H\(t−t0\)\)PA\+H\(t−t0\)PBP\_\{t\}\(X,Y\)=\(1\-H\(t\-t\_\{0\}\)\)P\_\{A\}\+H\(t\-t\_\{0\}\)P\_\{B\}, withHHthe Heaviside step\. Under exponential fading, in expectation and if the state had settled at𝑪A\\bm\{C\}\_\{A\}beforet0t\_\{0\}, the state moves as 𝑪α\(t\)=αt−t0\+1𝑪A\+\(1−αt−t0\+1\)𝑪B,∀t≥t0\\bm\{C\}\_\{\\alpha\}\(t\)=\\alpha^\{t\-t\_\{0\}\+1\}\\bm\{C\}\_\{A\}\+\(1\-\\alpha^\{t\-t\_\{0\}\+1\}\)\\bm\{C\}\_\{B\},\\qquad\\forall t\\geq t\_\{0\}\(35\)The adaptation timescale is the half\-lifet1/2=ln2/ln\(1/α\)≈0\.693nefft\_\{1/2\}=\\ln 2/\\ln\(1/\\alpha\)\\approx 0\.693\\,n\_\{\\mathrm\{eff\}\}, whereas a sliding window purges the old concept after exactlyWWsteps\.
2. 2\.Gradual drift is a probabilistic mixture over a finite durationwdriftw\_\{\\mathrm\{drift\}\}centred att0t\_\{0\},Pt\(X,Y\)=\(1−s\(t\)\)PA\+s\(t\)PBP\_\{t\}\(X,Y\)=\(1\-s\(t\)\)P\_\{A\}\+s\(t\)P\_\{B\}withs\(t\)=1/\(1\+exp\(−4\(t−t0\)/wdrift\)\)s\(t\)=1/\(1\+\\exp\(\-4\(t\-t\_\{0\}\)/w\_\{\\mathrm\{drift\}\}\)\)\. Samples from both concepts interleave during the transition\.
3. 3\.Incremental drift is a smooth parameter trajectory𝜽\(t\)=𝜽0\+𝒗drift\(t−t0\)\\bm\{\\theta\}\(t\)=\\bm\{\\theta\}\_\{0\}\+\\bm\{v\}\_\{\\mathrm\{drift\}\}\(t\-t\_\{0\}\)\. Under a steady velocity𝒗𝑪=d𝑪pop\(t\)/dt\\bm\{v\}\_\{\\bm\{C\}\}=d\\bm\{C\}\_\{\\mathrm\{pop\}\}\(t\)/dtthe fading estimator has a constant asymptotic tracking lag, 𝑪α\(t\)−𝑪pop\(t\)≈−\(α1−α\)𝒗𝑪=−\(neff−1\)𝒗𝑪\\bm\{C\}\_\{\\alpha\}\(t\)\-\\bm\{C\}\_\{\\mathrm\{pop\}\}\(t\)\\approx\-\\left\(\\frac\{\\alpha\}\{1\-\\alpha\}\\right\)\\bm\{v\}\_\{\\bm\{C\}\}=\-\(n\_\{\\mathrm\{eff\}\}\-1\)\\bm\{v\}\_\{\\bm\{C\}\}\(36\)which is the bias half of the trade\-off between smoothing noise and tracking latency\.
4. 4\.Reoccurring concepts are periodic or stochastic reappearances of earlier distributionsPt∈\{P1,…,PK\}P\_\{t\}\\in\\\{P\_\{1\},\\dots,P\_\{K\}\\\}\. BecauseΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}discounts by recency and not by identity, a returning concept enters𝑪\(t\)\\bm\{C\}\(t\)like a new one, so reusing a specialised sub\-model needs machinery outsideΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}\.
5. 5\.Transient outliers are isolated single\-instance perturbationsδ\(t−t0\)\\delta\(t\-t\_\{0\}\)\. The fading operator attenuates such a shock to an amplitude of\(1−α\)\(1\-\\alpha\)and damps it asαs\\alpha^\{s\}\.
#### 5\.2The Canonical Coordinates and Prior\-Invariance
We call\(Recall,Specificity\)\(\\mathrm\{Recall\},\\mathrm\{Specificity\}\)canonical because every binary measure is a function of them and of the prior\. For a binary stream, or for the table of one classjj, writeπt\\pi\_\{t\}for the positive\-class prior at timettand𝑹\(t\)=\[R11\(t\),R00\(t\)\]T=\[Recall\(t\),Specificity\(t\)\]T\\bm\{R\}\(t\)=\[R\_\{11\}\(t\),R\_\{00\}\(t\)\]^\{T\}=\[\\mathrm\{Recall\}\(t\),\\mathrm\{Specificity\}\(t\)\]^\{T\}for the canonical coordinates \(the true positive and true negative rates of the classifier at timett\)\. In terms of the cell masses of that table,
R11=AA\+C,R00=DD\+B,R\_\{11\}=\\frac\{A\}\{A\+C\},\\qquad R\_\{00\}=\\frac\{D\}\{D\+B\},\(37\)whereA,B,C,DA,B,C,Dare the true positive, false positive, false negative and true negative masses\. These are population quantities at timettwhen the cells are the expected cell masses attt\. A cell mass that is a time\-weighted accumulation needs the care of Remark[4](https://arxiv.org/html/2611.21914#Thmremark4)below\.
###### Lemma 1\(A ratio of proportional cells is prior\-invariant\)\.
If two nonnegative quantitiesA,CA,CsatisfyA=c⋅rA=c\\cdot randC=c⋅\(1−r\)C=c\\cdot\(1\-r\)for somec≠0c\\neq 0and somerr, thenA/\(A\+C\)=rA/\(A\+C\)=r, independently ofcc\.
###### Proof\.
A\+C=c⋅r\+c⋅\(1−r\)=cA\+C=c\\cdot r\+c\\cdot\(1\-r\)=c, soA/\(A\+C\)=\(c⋅r\)/c=rA/\(A\+C\)=\(c\\cdot r\)/c=r\. ∎
###### Proposition 5\(Prior\-invariance of the canonical coordinates at a fixed time\)\.
Letft:𝒳→\[0,1\]f\_\{t\}:\\mathcal\{X\}\\to\[0,1\]be the classifier’s decision function at timett\(distinct from the prediction vector𝐩t\\bm\{p\}\_\{t\}, which isftf\_\{t\}’s output on one instance\), and letPt\(X∣Y=1\)P\_\{t\}\(X\\mid Y=1\),Pt\(X∣Y=0\)P\_\{t\}\(X\\mid Y=0\)be the class\-conditional feature distributions\. Both may vary arbitrarily withtt: the classifier may be fixed, periodically retrained or continuously adapted\. Then, for0<πt<10<\\pi\_\{t\}<1, the canonical coordinates at timettdo not depend on the priorπt=Pt\(Y=1\)\\pi\_\{t\}=P\_\{t\}\(Y=1\):
R11\(t\)=∫ft\(x\)dPt\(x∣Y=1\),R00\(t\)=∫\(1−ft\(x\)\)dPt\(x∣Y=0\)R\_\{11\}\(t\)=\\int f\_\{t\}\(x\)\\,dP\_\{t\}\(x\\mid Y=1\),\\qquad R\_\{00\}\(t\)=\\int\\bigl\(1\-f\_\{t\}\(x\)\\bigr\)\\,dP\_\{t\}\(x\\mid Y=0\)\(38\)Neither expression containsπt\\pi\_\{t\}, so∂R11/∂πt=∂R00/∂πt=0\\partial R\_\{11\}/\\partial\\pi\_\{t\}=\\partial R\_\{00\}/\\partial\\pi\_\{t\}=0\. By contrast Precision andF1F\_\{1\}depend onπt\\pi\_\{t\}even without concept drift, and so does Accuracy unlessR11=R00R\_\{11\}=R\_\{00\}\.
###### Proof\.
By the law of total probability at the fixed timett, the expected cell masses areA=πt∫ftdPt\(⋅∣Y=1\)A=\\pi\_\{t\}\\int f\_\{t\}\\,dP\_\{t\}\(\\cdot\\mid Y=1\)andC=πt∫\(1−ft\)dPt\(⋅∣Y=1\)C=\\pi\_\{t\}\\int\(1\-f\_\{t\}\)\\,dP\_\{t\}\(\\cdot\\mid Y=1\)\. Both areπt\\pi\_\{t\}times a proportion of the positive\-class distribution, so Lemma[1](https://arxiv.org/html/2611.21914#Thmlemma1)withc=πtc=\\pi\_\{t\}givesR11\(t\)=∫ftdPt\(⋅∣Y=1\)R\_\{11\}\(t\)=\\int f\_\{t\}\\,dP\_\{t\}\(\\cdot\\mid Y=1\)\. The same lemma withc=1−πtc=1\-\\pi\_\{t\}givesR00\(t\)R\_\{00\}\(t\)\. ∎
###### Proposition 6\(Prior\-invariance in the multiclass case\)\.
Letckl\(t\)=Pt\(Y^=l∣Y=k\)c\_\{kl\}\(t\)=P\_\{t\}\(\\hat\{Y\}=l\\mid Y=k\)be the rows of the confusion matrix andπk\(t\)=Pt\(Y=k\)\\pi\_\{k\}\(t\)=P\_\{t\}\(Y=k\)the class priors\. Then
1. 1\.the rowsck\(t\)c\_\{k\}\(t\), and in particularRecallj\(t\)=cjj\(t\)\\mathrm\{Recall\}\_\{j\}\(t\)=c\_\{jj\}\(t\), do not depend on𝝅\(t\)\\bm\{\\pi\}\(t\);
2. 2\.the one\-vs\-rest specificity isSpecificityj\(t\)=∑k≠jπk\(t\)1−πj\(t\)\(1−ckj\(t\)\)\\mathrm\{Specificity\}\_\{j\}\(t\)=\\sum\_\{k\\neq j\}\\frac\{\\pi\_\{k\}\(t\)\}\{1\-\\pi\_\{j\}\(t\)\}\\,\\bigl\(1\-c\_\{kj\}\(t\)\\bigr\), which depends on the prior only through the compositionπk/\(1−πj\)\\pi\_\{k\}/\(1\-\\pi\_\{j\}\),k≠jk\\neq j, of the other classes\. It is invariant to every prior change that preserves that composition \(for example a change ofπj\\pi\_\{j\}alone, the other classes rescaled\), and, if columnjjof the confusion matrix is constant overk≠jk\\neq j, to every prior change\. Otherwise it moves with the priors of the other classes without any concept drift\.
###### Proof\.
Part 1 is the law of total probability, as in Proposition[5](https://arxiv.org/html/2611.21914#Thmproposition5)\. For part 2,P\(Y^≠j∣Y≠j\)=∑k≠jP\(Y=k∣Y≠j\)P\(Y^≠j∣Y=k\)P\(\\hat\{Y\}\\neq j\\mid Y\\neq j\)=\\sum\_\{k\\neq j\}P\(Y=k\\mid Y\\neq j\)\\,P\(\\hat\{Y\}\\neq j\\mid Y=k\)andP\(Y=k∣Y≠j\)=πk/\(1−πj\)P\(Y=k\\mid Y\\neq j\)=\\pi\_\{k\}/\(1\-\\pi\_\{j\}\)\. ∎
The binary case is the special case in which the rest is a single class\. For multiclass streams the invariant coordinates are therefore the confusion rowsP\(Y^∣Y=k\)P\(\\hat\{Y\}\\mid Y=k\), one stream of outcomes per true class, and not the one\-vs\-rest pair\(Recallj,Specificityj\)\(\\mathrm\{Recall\}\_\{j\},\\mathrm\{Specificity\}\_\{j\}\)\.
###### Example 5\(Running example: a label shift among the other classes\)\.
Consider the population in which the classifier has the confusion rowscA=\(34,14,0\)c\_\{A\}=\(\\tfrac\{3\}\{4\},\\tfrac\{1\}\{4\},0\),cB=\(0,34,14\)c\_\{B\}=\(0,\\tfrac\{3\}\{4\},\\tfrac\{1\}\{4\}\),cC=\(14,0,34\)c\_\{C\}=\(\\tfrac\{1\}\{4\},0,\\tfrac\{3\}\{4\}\)\(each class is mistaken for the next one\), and the prior moves from\(12,14,14\)\(\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\},\\tfrac\{1\}\{4\}\)to\(12,18,38\)\(\\tfrac\{1\}\{2\},\\tfrac\{1\}\{8\},\\tfrac\{3\}\{8\}\), a label shift betweenBBandCCthat leavesAAunchanged\. The rows are unchanged, soRecallA=34\\mathrm\{Recall\}\_\{A\}=\\tfrac\{3\}\{4\}before and after\. The one\-vs\-rest specificity is1−πC1−πAcCA1\-\\tfrac\{\\pi\_\{C\}\}\{1\-\\pi\_\{A\}\}c\_\{CA\}, which is78\\tfrac\{7\}\{8\}before and1316\\tfrac\{13\}\{16\}after, andPrecisionA\\mathrm\{Precision\}\_\{A\}moves from67\\tfrac\{6\}\{7\}to45\\tfrac\{4\}\{5\}\. The classifier has not changed, yetSpecificityA\\mathrm\{Specificity\}\_\{A\}moved, because the composition of the rest changed \(Proposition[6](https://arxiv.org/html/2611.21914#Thmproposition6)\)\.
For Remark[4](https://arxiv.org/html/2611.21914#Thmremark4), suppose that two steps ago the recall ofAAfell from34\\tfrac\{3\}\{4\}to12\\tfrac\{1\}\{2\}while its prior fell from12\\tfrac\{1\}\{2\}to18\\tfrac\{1\}\{8\}\. With fadingα=12\\alpha=\\tfrac\{1\}\{2\}and a memory of four steps the accumulated recall is58\\tfrac\{5\}\{8\}, against an instantaneous recall of12\\tfrac\{1\}\{2\}and a plain weighted mean of the two recalls of1120\\tfrac\{11\}\{20\}: the accumulation over\-weights the old phase, in whichAAwas frequent\.
#### 5\.3Analytical Jacobian Drift Decomposition
A composite metric can be written as a differentiable functionM\(𝑹,π\)M\(\\bm\{R\},\\pi\)of the canonical coordinates and the prior \(not to be confused with the decision functionftf\_\{t\}\)\. Differentiating along the trajectory of the stream gives, in continuous time,
dMdt=𝑱conceptTd𝑹dt⏟concept term\+Jpriordπdt⏟prior term\\frac\{dM\}\{dt\}=\\underbrace\{\\bm\{J\}\_\{\\mathrm\{concept\}\}^\{T\}\\frac\{d\\bm\{R\}\}\{dt\}\}\_\{\\text\{concept term\}\}\+\\underbrace\{J\_\{\\mathrm\{prior\}\}\\frac\{d\\pi\}\{dt\}\}\_\{\\text\{prior term\}\}\(40\)where𝑱concept=\[∂M/∂R11,∂M/∂R00\]T\\bm\{J\}\_\{\\mathrm\{concept\}\}=\[\\partial M/\\partial R\_\{11\},\\partial M/\\partial R\_\{00\}\]^\{T\}andJprior=∂M/∂πJ\_\{\\mathrm\{prior\}\}=\\partial M/\\partial\\pi\. The decomposition reparametrises the change ofMMin the coordinates\(R11,R00,π\)\(R\_\{11\},R\_\{00\},\\pi\); the concept term isolates concept drift only to the extent that𝑹\\bm\{R\}is free of the prior \(Proposition[5](https://arxiv.org/html/2611.21914#Thmproposition5)\)\. For the standard measures the Jacobians are, withDDthe denominator of the measure in each case:
- •Precision,M=πR11/\(πR11\+\(1−π\)\(1−R00\)\)M=\\pi R\_\{11\}/\(\\pi R\_\{11\}\+\(1\-\\pi\)\(1\-R\_\{00\}\)\): 𝑱concept=\[π\(1−π\)\(1−R00\)D2π\(1−π\)R11D2\],Jprior=R11\(1−R00\)D2\\bm\{J\}\_\{\\mathrm\{concept\}\}=\\begin\{bmatrix\}\\frac\{\\pi\(1\-\\pi\)\(1\-R\_\{00\}\)\}\{D^\{2\}\}\\\\ \\frac\{\\pi\(1\-\\pi\)R\_\{11\}\}\{D^\{2\}\}\\end\{bmatrix\},\\qquad J\_\{\\mathrm\{prior\}\}=\\frac\{R\_\{11\}\(1\-R\_\{00\}\)\}\{D^\{2\}\}\(41\)
- •F1F\_\{1\},M=2πR11/\(π\(1\+R11\)\+\(1−π\)\(1−R00\)\)M=2\\pi R\_\{11\}/\(\\pi\(1\+R\_\{11\}\)\+\(1\-\\pi\)\(1\-R\_\{00\}\)\): 𝑱concept=\[2π\[π\+\(1−π\)\(1−R00\)\]D22π\(1−π\)R11D2\],Jprior=2R11\(1−R00\)D2\\bm\{J\}\_\{\\mathrm\{concept\}\}=\\begin\{bmatrix\}\\dfrac\{2\\pi\\bigl\[\\pi\+\(1\-\\pi\)\(1\-R\_\{00\}\)\\bigr\]\}\{D^\{2\}\}\\\\\[5\.16663pt\] \\dfrac\{2\\pi\(1\-\\pi\)R\_\{11\}\}\{D^\{2\}\}\\end\{bmatrix\},\\qquad J\_\{\\mathrm\{prior\}\}=\\frac\{2R\_\{11\}\\bigl\(1\-R\_\{00\}\\bigr\)\}\{D^\{2\}\}\(42\)
- •Accuracy,M=πR11\+\(1−π\)R00M=\\pi R\_\{11\}\+\(1\-\\pi\)R\_\{00\}:𝑱concept=\[π,1−π\]T\\bm\{J\}\_\{\\mathrm\{concept\}\}=\[\\pi,1\-\\pi\]^\{T\}andJprior=R11−R00J\_\{\\mathrm\{prior\}\}=R\_\{11\}\-R\_\{00\}\.
- •Balanced accuracy,M=\(R11\+R00\)/2M=\(R\_\{11\}\+R\_\{00\}\)/2:𝑱concept=\[1/2,1/2\]T\\bm\{J\}\_\{\\mathrm\{concept\}\}=\[1/2,1/2\]^\{T\}andJprior=0J\_\{\\mathrm\{prior\}\}=0\.
Here𝑹\\bm\{R\}is the time\-fading state, whose prior\-dependence is that of Remark[4](https://arxiv.org/html/2611.21914#Thmremark4), which the path integration below partly absorbs\. For a change between two states of the stream, the decomposition is a first\-order statement\. WriteΔM=M\(𝑹1,π1\)−M\(𝑹0,π0\)\\Delta M=M\(\\bm\{R\}\_\{1\},\\pi\_\{1\}\)\-M\(\\bm\{R\}\_\{0\},\\pi\_\{0\}\)\. Evaluating the Jacobians at the midpoint gives
ΔM≈𝑱concept\(𝑹¯,π¯\)TΔ𝑹\+Jprior\(𝑹¯,π¯\)Δπ,\\Delta M\\approx\\bm\{J\}\_\{\\mathrm\{concept\}\}\(\\bar\{\\bm\{R\}\},\\bar\{\\pi\}\)^\{T\}\\Delta\\bm\{R\}\+J\_\{\\mathrm\{prior\}\}\(\\bar\{\\bm\{R\}\},\\bar\{\\pi\}\)\\,\\Delta\\pi,\(43\)a quadrature of the line integral of∇M\\nabla Mwhose error grows with the size of the change\. It is exact for a metric that is bilinear in\(𝑹,π\)\(\\bm\{R\},\\pi\)\(Accuracy\) and inaccurate for large prior changes ofF1F\_\{1\}and Precision, whereMMis strongly curved inπ\\pi\. For large changes, summing the midpoint terms over intermediate states between the two end states \(path integration\) restores accuracy\. When both𝑹\\bm\{R\}andπ\\pichange, the split ofΔM\\Delta Minto a concept and a prior part depends on the order in which the two changes are applied \(an interaction term\), so the concept term of Eq\. \([43](https://arxiv.org/html/2611.21914#S5.E43)\) lies near the two orderings \(exactly between them for Accuracy\)\. The sensitivity ofF1F\_\{1\}to specificity is2π\(1−π\)R11/D22\\pi\(1\-\\pi\)R\_\{11\}/D^\{2\}, which vanishes asπ→0\\pi\\to 0at fixedR00<1R\_\{00\}<1: a concept change in specificity movesF1F\_\{1\}little when positives are rare\.
###### Example 6\(Running example: attribution of the change\)\.
For classAAin Example[5](https://arxiv.org/html/2611.21914#Thmexample5),F1F\_\{1\}moves from45\\tfrac\{4\}\{5\}to2431\\tfrac\{24\}\{31\}, a change of−4155≈−0\.0258\-\\tfrac\{4\}\{155\}\\approx\-0\.0258\. The priorπA\\pi\_\{A\}is unchanged, so the prior term is00, and the midpoint Jacobian gives a concept term of−963721≈−0\.0258\-\\tfrac\{96\}\{3721\}\\approx\-0\.0258with a residual of7×10−67\\times 10^\{\-6\}\. The decomposition attributes the whole change to the concept although no concept drift occurred: the movement ofSpecificityA\\mathrm\{Specificity\}\_\{A\}comes from the other classes \(Proposition[6](https://arxiv.org/html/2611.21914#Thmproposition6)\)\. Computed on the confusion rows, which do not move, the concept term is00\.
#### 5\.4Monitoring the Canonical Coordinates and Attributing Alarms
The decomposition answers a question about one metric: how much of an observed change ofMMis due to the concept and how much to the prior\. It is not a general detector of concept change\. Its concept term combines the two coordinates with signs, so changes ofR11R\_\{11\}andR00R\_\{00\}that offset inMMcancel in the term, and its weights shrink the sensitivity to specificity at low prior\. Detection and attribution are therefore separated\.
Detection acts on the canonical coordinates\. For a binary stream let𝑹^\(t\)\\widehat\{\\bm\{R\}\}\(t\)be the class\-time fading estimates of Remark[4](https://arxiv.org/html/2611.21914#Thmremark4), withness\+n\_\{\\mathrm\{ess\}\}^\{\+\}andness−n\_\{\\mathrm\{ess\}\}^\{\-\}the effective numbers of positive and negative arrivals they average, and binomial variancesR^\(1−R^\)/ness\\widehat\{R\}\(1\-\\widehat\{R\}\)/n\_\{\\mathrm\{ess\}\}\. With a reference𝑹ref\\bm\{R\}\_\{\\mathrm\{ref\}\}and its variances, taken as the average of the estimates over a warm\-up window, the statistic
χ2\(t\)=∑c∈\{11,00\}\(R^c\(t\)−Rref,c\)2Var^\(R^c\(t\)\)\+Var^\(Rref,c\)\\chi^\{2\}\(t\)=\\sum\_\{c\\in\\\{11,00\\\}\}\\frac\{\\bigl\(\\widehat\{R\}\_\{c\}\(t\)\-R\_\{\\mathrm\{ref\},c\}\\bigr\)^\{2\}\}\{\\widehat\{\\mathrm\{Var\}\}\\bigl\(\\widehat\{R\}\_\{c\}\(t\)\\bigr\)\+\\widehat\{\\mathrm\{Var\}\}\\bigl\(R\_\{\\mathrm\{ref\},c\}\\bigr\)\}\(44\)is compared with a thresholdτ\\tau\. Form\>2m\>2classes the same construction is applied to each confusion rowc^k\(t\)\\widehat\{c\}\_\{k\}\(t\)\(with the multinomial covariance\) and the maximum over rows is monitored\. By Propositions[5](https://arxiv.org/html/2611.21914#Thmproposition5)and[6](https://arxiv.org/html/2611.21914#Thmproposition6)a label shift does not change these statistics in expectation\. A per\-step chi\-square level controls the false alarm per step, not per run: the statistic is evaluated at every step on an autocorrelated estimator, so the run\-level false alarm probability is much higher than nominal\. We therefore calibrateτ\\tauby simulation on a stationary stream with the sameα\\alpha, length and priors so that the run\-level false alarm probability is5%5\\%\. The binomial variances also assume independent arrivals\. On the streams built by resampling they hold, and in native order the dependence of the data multiplies the variance ofR^\\widehat\{R\}by the factorκ\(α\)\\kappa\(\\alpha\)of Remark[2](https://arxiv.org/html/2611.21914#Thmremark2), which we measured and did not use in the detector\. The positives seen after a change limit the power on the recall coordinate at low prior\. Section[6\.3](https://arxiv.org/html/2611.21914#S6.SS3)measures this, together with four alternatives: the Jacobianzz\-alarm,\|𝑱conceptT\(𝑹^−𝑹ref\)\|/𝑱conceptT\(𝚺\+𝚺ref\)𝑱concept\\bigl\|\\bm\{J\}\_\{\\mathrm\{concept\}\}^\{T\}\(\\widehat\{\\bm\{R\}\}\-\\bm\{R\}\_\{\\mathrm\{ref\}\}\)\\bigr\|/\\sqrt\{\\bm\{J\}\_\{\\mathrm\{concept\}\}^\{T\}\(\\bm\{\\Sigma\}\+\\bm\{\\Sigma\}\_\{\\mathrm\{ref\}\}\)\\bm\{J\}\_\{\\mathrm\{concept\}\}\}on time\-fading coordinates, with delta\-method variancesR^\(1−R^\)/\(2n\)\\widehat\{R\}\(1\-\\widehat\{R\}\)/\(2n\)and a reference frozen at the start of scoring; the chi\-square of Eq\. \([44](https://arxiv.org/html/2611.21914#S5.E44)\) on time\-fading coordinates; DDM on the error indicator; and DDM stratified by class, one DDM on the errors of the positive arrivals and another on those of the negative arrivals, alarming when either does\. The excess false alarm reported below is the paired difference between the probability of at least one alarm in a run under a label shift and under a stationary stream\. Stratified ADWIN and Page\-Hinkley raised almost no alarm, and their results are in the data files\.
Attribution acts on a metric that a conventional monitor already tracks\. When a monitor raises an alarm onMM\(for instanceF1F\_\{1\}\), the decomposition between a reference state and the current state splitsΔM\\Delta Minto a concept term and a prior term, and the alarm is classified as concept\-driven if the concept term accounts for at least a fractionθ\\thetaof\|ΔM\|\|\\Delta M\|\(we useθ=1/2\\theta=1/2\) and as prior\-driven otherwise\. In the experiments the monitor raises an alarm onF1F\_\{1\}when it leaves a band of three standard errors around a reference window, with the delta\-method variance, and the decomposition is the path\-integrated one between the reference window and the current state, over 50\-step block means\. This triage can suppress alarms caused by a prior shift\. It cannot detect a concept change that the monitored metric does not register\.
### 6Experimental Evaluation
Each subsection below tests specific claims of the paper, which are of three kinds\. Exact identities \(the linear decomposability of Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1), the zero marginal defect of the producttt\-norm\) can fail only if the proof or the code is wrong, so the experiment checks the implementation to floating\-point precision\. Quantitative predictions \(prior invariance, detection under label shift, attribution accuracy, the bias of the interim estimator, the undefined\-window rate, the complexity bounds\) can fail, and we report where they do\. For comparative claims \(Pareto dominance, the zero\-division policies\) we report what holds and what does not\. The synthetic experiments use fixed seeds, 30 to 200 per setting, and report means with standard deviations or intervals across seeds, except Tables[5](https://arxiv.org/html/2611.21914#S6.T5)and[14](https://arxiv.org/html/2611.21914#S6.T14)and the single\-run Table[20](https://arxiv.org/html/2611.21914#S6.T20)\(single runs\) and Table[24](https://arxiv.org/html/2611.21914#S6.T24)\(seven repetitions\)\. The experiments on real streams are single runs of one stream, except the delay and censoring study of R3 and R4 in §[6\.4](https://arxiv.org/html/2611.21914#S6.SS4)\(15 seeds of the audit and delay draws, Table[16](https://arxiv.org/html/2611.21914#S6.T16)\) and the comparison of learners on R4 in §[6\.5](https://arxiv.org/html/2611.21914#S6.SS5)\(10 seeds of the adaptive tree, Table[19](https://arxiv.org/html/2611.21914#S6.T19)\)\. The streams and the protocol are described once in §[6\.1](https://arxiv.org/html/2611.21914#S6.SS1), and Table[4](https://arxiv.org/html/2611.21914#S6.T4)lists the claim tested on each stream\.
#### 6\.1Datasets, Streams and Protocol
Table[2](https://arxiv.org/html/2611.21914#S6.T2)lists the synthetic streams S1 to S10, each with a known generating process, so that the oracle value of every quantity is available\. Classifier outputs on these streams are simulated from specified error rates \(S2, S4, S7\), from a simulated score \(S5\) or from a simulated posterior \(S6\); no model is trained on them\.
Table 2:Synthetic streams\.nnis the number of stream instances\.Table[3](https://arxiv.org/html/2611.21914#S6.T3)lists the five real streams\. Real labels are used throughout; the label\-availability mechanisms are real only where stated and simulated otherwise\.
Table 3:Real streams\.nnis the number of stream instances\.The real\-stream experiments of §[6\.4](https://arxiv.org/html/2611.21914#S6.SS4)and §[6\.5](https://arxiv.org/html/2611.21914#S6.SS5)use an online Hoeffding tree fromriver\([Montiel et al\., 2021](https://arxiv.org/html/2611.21914#bib.bib18)\)run prequentially \(test\-then\-train, one instance at a time\) over the dataset’s native row order\. The model, and where used the calibration mapgtg\_\{t\}of §[4\.2](https://arxiv.org/html/2611.21914#S4.SS2), are trained only on labels that have arrived\. The label\-shift studies of §[6\.3](https://arxiv.org/html/2611.21914#S6.SS3)use a different protocol, because a label shift requires control of the class priors\. A scikit\-learn gradient\-boosting classifier is trained once on an initial chunk of R1 or R2, or on a random30%30\\%of R4 or R5, and frozen, so thatP\(Y^∣X\)P\(\\hat\{Y\}\\mid X\)is fixed\. Streams are built by class\-conditional resampling of the held\-out pool: at each step the class is drawn from a prior path, then an instance of that class is drawn uniformly with replacement \(a clean label shift\), or taken in the original order within the class \(native order, which keeps the real drift ofP\(X∣Y\)P\(X\\mid Y\)\)\. Concept drift is injected by permuting, across the stream instances after the change point, the values of the most important features of the frozen classifier, which lowers its recall and specificity by an amount measured on the pool\.
Table 4:Which claim is tested on which stream\.
#### 6\.2Decomposability of the Temporal State
Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1)says that, at every time step and for both operators, the measure of the pooled one\-vs\-rest cells equals the denominator\-weighted average of the per\-class measures for the linear\-fractional measures, and its proof rests on the commutation ofΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}with the selection matrices𝑺j\\bm\{S\}\_\{j\}\. On S1 we keep a global multiclass state and, separately, one binary evaluator per class fed only\(y=j,p=j\)\(y=j,p=j\)under the same operator\. We compare𝑺j𝑪\(t\)𝑺jT\\bm\{S\}\_\{j\}\\bm\{C\}\(t\)\\bm\{S\}\_\{j\}^\{T\}with the binary evaluator’s table, the pooled measure with the weighted average for Accuracy, Recall, Precision,F1F\_\{1\}and Jaccard, and, as a contrast, the pooled MCC and balanced accuracy with the equal\-weight average, since these are not linear\-fractional\. A violation above floating\-point level would count against the theorem or the implementation\. Table[5](https://arxiv.org/html/2611.21914#S6.T5)shows that commutation and decomposition hold to rounding error under both operators, and that MCC and balanced accuracy do not decompose\. This is a test of an algebraic identity, so it checks the implementation and not the claim’s empirical content\.
Table 5:Largest difference over1,5001\{,\}500steps of S1\. Decomposition is the largest of the five linear\-fractional measures\. Commutation ismax\|𝑺j𝑪\(t\)𝑺jT−binary evaluator\|\\max\|\\bm\{S\}\_\{j\}\\bm\{C\}\(t\)\\bm\{S\}\_\{j\}^\{T\}\-\\text\{binary evaluator\}\|\. The last two columns are the largest difference between the pooled value and the equal\-weight average of the per\-class values\.
#### 6\.3Prior Invariance, Detection and Attribution of Drift
We test five claims\. At a fixed time the canonical coordinates do not depend on the prior, while the pooled metrics do \(Proposition[5](https://arxiv.org/html/2611.21914#Thmproposition5)\)\. In the multiclass case the one\-vs\-rest specificity is not invariant and the confusion rows are \(Proposition[6](https://arxiv.org/html/2611.21914#Thmproposition6)\)\. A detector on the class\-time coordinates raises no more false alarms under label shift than under stationarity, once its threshold is calibrated for the run\-level false alarm\. The Jacobian decomposition attributes a metric change to concept and prior within a first\-order error\. An alarm onF1F\_\{1\}caused by a prior shift can be told from one caused by a concept change\. A false\-alarm excess under label shift, an attribution residual above10%10\\%outside the large\-shift regime, or a prior\-driven alarm classified as concept\-driven would count against them\.
On S2, Table[6](https://arxiv.org/html/2611.21914#S6.T6)gives the phase means over 200 seeds\. A pure prior shift movesF1F\_\{1\}by−0\.49\-0\.49while Accuracy, Recall and Specificity stay within0\.010\.01\(the classifier hasTPR=TNR\\mathrm\{TPR\}=\\mathrm\{TNR\}, so Accuracy is prior\-free here\)\. A concept drift of specificity movesF1F\_\{1\}by−0\.60\-0\.60and Accuracy by−0\.24\-0\.24\. A monitor ofF1F\_\{1\}therefore cannot tell the two apart, which is the motivation for the canonical coordinates\.
Table 6:Phase means, mean \(sd\) over 200 seeds, for a pure prior shift \(A:P\(Y=1\)P\(Y\{=\}1\)from0\.500\.50to0\.050\.05,TPR=TNR=0\.85\\mathrm\{TPR\}=\\mathrm\{TNR\}=0\.85, S2\) and an abrupt SEA concept drift \(B, S3\)\. The change is the difference of the phase means\. The SEA boundary change of B also lowers the positive rate from0\.320\.32to0\.080\.08, so part of the drop ofF1F\_\{1\}in B is a prior effect; Recall and Specificity are not affected by it\.On R1 \(Elec2\) with a Hoeffding tree frozen after the first20,00020\{,\}000instances and evaluated on the remaining25,31225\{,\}312, Table[7](https://arxiv.org/html/2611.21914#S6.T7)gives the correlations with the priorπ\(t\)\\pi\(t\), with moving\-block bootstrap intervals \(blocks of100100steps, about two memory lengths,2,0002\{,\}000resamples\) and a null band from circular shifts ofπ\(t\)\\pi\(t\), which shows how large the correlation of two unrelated series with the same autocorrelation can be \(up to0\.130\.13to0\.190\.19\)\.F1F\_\{1\}\(0\.5480\.548\) and Accuracy \(0\.4460\.446\) lie far outside the band \(p=0\.002p=0\.002\)\. Recall and Specificity, whether computed on the accumulated cells \(0\.1110\.111and0\.1240\.124\) or with class\-time fading \(0\.1380\.138and0\.1230\.123\), lie inside it \(ppbetween0\.160\.16and0\.300\.30\), so the data show no dependence of the canonical coordinates on the prior, and they do not show that class\-time fading removes any: the paired difference of the absolute correlation between the two estimators is\+0\.027\+0\.027for recall \(interval\[−0\.003,\+0\.061\]\[\-0\.003,\+0\.061\]\) and−0\.001\-0\.001for specificity \(\[−0\.017,\+0\.012\]\[\-0\.017,\+0\.012\]\)\. With a classifier that keeps learning the correlations of the accumulated coordinates with the prior of the fading state are0\.3160\.316forF1F\_\{1\},−0\.077\-0\.077for Accuracy,0\.1740\.174for Recall and−0\.090\-0\.090for Specificity, and class\-time fading correlates less for both coordinates \(0\.1220\.122against0\.1740\.174for recall,0\.0520\.052against0\.0900\.090for specificity\)\. Elec2 has real drift ofP\(X∣Y\)P\(X\\mid Y\), so a correlation withπ\(t\)\\pi\(t\)in this stream cannot by itself refute Proposition[5](https://arxiv.org/html/2611.21914#Thmproposition5), and with blocks of1,0001\{,\}000steps the intervals are wider than those of the table\.
Table 7:Elec2 \(R1\), tree frozen after20,00020\{,\}000instances, fadingα=0\.98\\alpha=0\.98: correlation of each series with the priorπ\(t\)\\pi\(t\)of the fading state, a moving\-block bootstrap interval, and the95%95\\%band of\|corr\|\|\\mathrm\{corr\}\|under circular shifts ofπ\(t\)\\pi\(t\)with itspp\-value\.Table 8:Four drift profiles on SEA streams \(S3\), mean \(sd\) over 200 seeds\. The classifier is static\.Table[8](https://arxiv.org/html/2611.21914#S6.T8)gives the four drift profiles of S3\. The abrupt, gradual and incremental profiles end in the same concept and lose0\.250\.25to0\.260\.26of specificity, with differences within one standard deviation across seeds\. A single run that showed the incremental profile with the largest loss does not reproduce: it has the largest loss in none of 200 seeds\. The reoccurring profile loses less because the post\-drift window falls partly on a returned concept\. The classifier is static, so no tracking lag is involved\.
Table[9](https://arxiv.org/html/2611.21914#S6.T9)reports, for each metric and Jacobian estimator, the share of cells \(drift shape, classifier andα\\alpha\) of S2 in which the first\-order residual is below10%10\\%of the observed change of the metric\. The population residual of the midpoint rule forF1F\_\{1\}under a prior change from0\.50\.5is0\.9%0\.9\\%,4%4\\%,12%12\\%,27%27\\%and38%38\\%for final priors of0\.400\.40,0\.300\.30,0\.200\.20,0\.100\.10and0\.050\.05\(α=0\.98\\alpha=0\.98\), so the midpoint rule is accurate for modest changes and not for large ones, whatever the noise\. Path integration over 50\-step block means brings the sampled residual to3%3\\%to5%5\\%for final priors of0\.200\.20or lower, for the0\.85/0\.850\.85/0\.85classifier\. For a concept change the population residual of the midpoint rule is below1%1\\%for drops of specificity up to0\.40\.4and of recall up to0\.30\.3from a base prior of0\.50\.5, and up to2%2\\%forF1F\_\{1\}and5%5\\%for Precision from a base prior of0\.20\.2; the sampled residual is dominated by estimation noise when the change is small, and the estimated concept term is close to the counterfactual \(for a specificity drop of0\.20\.2,−0\.078\-0\.078against−0\.077\-0\.077\)\. When both change, the counterfactual depends on the order of the changes \(for the0\.85/0\.850\.85/0\.85classifier, an interaction of−0\.03\-0\.03to−0\.11\-0\.11\), and the estimate lies between the two orderings\. Accuracy is bilinear in\(𝑹,π\)\(\\bm\{R\},\\pi\)and the midpoint rule is exact for it\.
Table 9:Share of S2 cells in which the first\-order residual of the decomposition is below10%10\\%of the observed change of the metric \(96 cells for concept only, 48 and 24 for prior only from base prior0\.50\.5and0\.20\.2, 96 for both; Accuracy has valid prior\-only residuals only for the asymmetric classifier, and its83%83\\%from base prior0\.20\.2is 6 cells whose residual is sampling noise\)\.On the frozen\-classifier streams the attribution reproduces the population values\. For a fivefold drop of the prior, the prior term is−0\.149\-0\.149against−0\.156\-0\.156on R1 and−0\.202\-0\.202against−0\.216\-0\.216on R2, and the concept term is at most0\.0060\.006in absolute value\. For corruption only, the concept term is−0\.284\-0\.284,−0\.159\-0\.159and−0\.397\-0\.397against−0\.286\-0\.286,−0\.161\-0\.161and−0\.400\-0\.400on R1, R2 and R4\. When the prior drops and the classifier is corrupted, the sum matches the observed change and the split differs from the one\-order counterfactual by the interaction term\.
For detection on the binary streams of S2, Table[10](https://arxiv.org/html/2611.21914#S6.T10)compares the detector on the class\-time coordinates \(Eq\. \([44](https://arxiv.org/html/2611.21914#S5.E44)\)\) with the Jacobianzz\-alarm, the same chi\-square on time\-fading coordinates and the standard river detectors\. The nominal per\-step threshold does not control the run\-level false alarm: on the null stream, the default threshold gives a run\-level false alarm of0\.080\.08to0\.680\.68depending onα\\alpha, because the post\-reference period holds several hundred to two thousand autocorrelated checks\. We therefore calibrate each threshold on the null so that the run\-level false alarm is5%5\\%, using 200 calibration seeds and evaluating on 200 disjoint seeds\. The calibrated threshold grows with the stream length and decreases withα\\alpha\(for the class\-time chi\-square atα=0\.98\\alpha=0\.98andπ0=0\.5\\pi\_\{0\}=0\.5with\(TPR,TNR\)=\(0\.85,0\.85\)\(\\mathrm\{TPR\},\\mathrm\{TNR\}\)=\(0\.85,0\.85\)it is12\.012\.0forn=1000n=1000and20\.820\.8forn=3000n=3000, against the nominal11\.8311\.83\)\. Over 144 cells of prior, classifier, length andα\\alpha, the excess of the run\-level false alarm under a pure label shift over the null is−0\.002\-0\.002and\+0\.001\+0\.001for the two class\-time detectors, with the largest single cell at0\.0450\.045, within the resolution of 200 paired seeds \(±0\.04\\pm 0\.04\)\. It is\+0\.055\+0\.055for the Jacobian alarm and\+0\.064\+0\.064for the chi\-square on time\-fading coordinates, up to\+0\.50\+0\.50at low prior, long streams and lowα\\alpha\. DDM on the error indicator has no excess with a symmetric classifier and an excess of up to\+0\.70\+0\.70with\(TPR,TNR\)=\(0\.90,0\.70\)\(\\mathrm\{TPR\},\\mathrm\{TNR\}\)=\(0\.90,0\.70\), because its error rate moves with the prior\. The stratified DDM has no excess but a null false alarm of0\.210\.21because it is not calibrated\.
Table 10:Detection on S2 over all cells of the sweep\. Null FA is the run\-level false alarm under the null\. Excess FA is the paired difference between the run\-level false alarm under a pure label shift and under the null, averaged over cells; in parentheses the number of cells whose interval lies above and below zero \(144 cells for the calibrated detectors, 48 for the two DDM variants\)\. Power is for an abrupt drop of specificity or recall of0\.20\.2\. Calibrated thresholds give a5%5\\%null false alarm; DDM variants use the river defaults\.At the calibrated threshold, the class\-time chi\-square detects an abrupt specificity drop of0\.20\.2with probability0\.860\.86and a recall drop of0\.20\.2with0\.530\.53, against0\.440\.44and0\.530\.53for the Jacobian alarm\. A specificity drop is detected from the negatives, so its power hardly depends on the prior \(0\.870\.87,0\.870\.87and0\.850\.85forπ0=0\.05\\pi\_\{0\}=0\.05,0\.20\.2and0\.50\.5, for an abrupt drop of0\.20\.2\)\. A recall drop needs positives: for an abrupt recall drop of0\.20\.2atn=1000n=1000the power rises from0\.190\.19to0\.850\.85withπ0\\pi\_\{0\}, for about2525to250250positives after the change\. Gradual and incremental drifts cost a few points of power, reoccurring drift more \(0\.700\.70against0\.860\.86\)\. For an abrupt specificity drop of0\.20\.2the median delay is119119steps atn=1000n=1000and144144atn=3000n=3000\(155155and334334pooled over the four drift shapes\)\.
Table 11:Label shift on frozen\-classifier streams built from R1, R2, R4 and R5, thresholds calibrated on the shuffled null\. Excess FA is the paired excess of the run\-level false alarm under a prior\-only change, averaged over datasets,α∈\{0\.98,0\.99\}\\alpha\\in\\\{0\.98,0\.99\\\}and the two prior drops; in parentheses the number of cells \(12 for R1, R2 and R4 together, 4 for R5\) whose interval lies above zero\. Power is the probability of an alarm after a corruption\-only change and none before it,α=0\.98\\alpha=0\.98\.Table[11](https://arxiv.org/html/2611.21914#S6.T11)repeats the test on real instances and a real classifier, whose errors depend onxxand are autocorrelated, on four streams \(R1, R2, R4 and the Covertype stream R5\)\. Calibrated on the shuffled null, the excess is\+0\.054\+0\.054for the Jacobian alarm and\+0\.072\+0\.072for the time\-fading chi\-square, against−0\.010\-0\.010and−0\.005\-0\.005for the class\-time detectors, none of whose 12 cells has an interval above zero\. The first two rise on R1 and R2, where the frozen classifier is asymmetric, and stay flat on R4, where it is nearly symmetric\. On R5, a fourth stream with an asymmetric classifier, the excess is\+0\.024\+0\.024for the Jacobian alarm and\+0\.115\+0\.115for the time\-fading chi\-square \(4 of 4 cells above zero\), against−0\.013\-0\.013and−0\.019\-0\.019for the class\-time detectors, and the power after the corruption is0\.990\.99for the class\-time chi\-square\. Power after a corruption\-only change is high for the class\-time chi\-square on all three streams \(0\.900\.90to0\.980\.98\), with a median delay of about120120steps on R1 against about230230for the Jacobian alarm\. In native order the real drift ofP\(X∣Y\)P\(X\\mid Y\)dominates: thresholds calibrated on the shuffled null give a null false alarm of0\.680\.68to0\.990\.99on R1 and R2, so alarms there cannot be read as label shift or concept drift, and thresholds calibrated on native\-order null streams remove the false alarms at the price of almost no power against the corruption\. To test whether the dependence of Remark[2](https://arxiv.org/html/2611.21914#Thmremark2)explains these false alarms, we divided eachzzstatistic of the class\-time detectors byκ^\\sqrt\{\\hat\{\\kappa\}\}and kept the threshold calibrated on the shuffled null\. Withκ^\\hat\{\\kappa\}computed on the whole pool sequence after removing a moving average of1,0011\{,\}001arrivals, the native\-order null false alarm of the class\-time chi\-square falls from0\.990\.99to0\.220\.22–0\.250\.25on Elec2 and from0\.730\.73–0\.780\.78to0\.450\.45–0\.510\.51on Airlines, and the power after the corruption falls from0\.910\.91–0\.970\.97to0\.090\.09–0\.290\.29and from0\.910\.91–0\.950\.95to0\.600\.60–0\.810\.81\. Withκ^\\hat\{\\kappa\}computed on the600600\-step warm\-up window of the stream, which misses the long lags, the false alarm stays at0\.560\.56–0\.740\.74\. Without the moving average, the false alarm and the power both fall to nearly zero\. On the resampled streams the warm\-up estimate is close to one \(1\.061\.06to1\.101\.10\) and nothing changes, and on NSL\-KDDκ^≈1\\hat\{\\kappa\}\\approx 1\. Dependence therefore explains part of the false alarms in native order\. The rest is a variation of the mean that no variance inflation absorbs without removing the power, which is the real drift ofP\(X∣Y\)P\(X\\mid Y\)that this experiment cannot separate from the effect under test\. No class\-time detector shows a significant excess in native order\.
Table 12:Excess of the run\-level false alarm under label shift \(mean over the label\-shift scenarios\) for one\-vs\-rest detectors on the pair\(Recallj,Specificityj\)\(\\mathrm\{Recall\}\_\{j\},\\mathrm\{Specificity\}\_\{j\}\)and row\-wise detectors on the confusion rows, thresholds calibrated for a5%5\\%family\-wise false alarm\. S4 form=3m=3and55classes; the last row is R4 with five classes\.Form\>2m\>2classes the one\-vs\-rest specificity moves with the priors of the other classes, as Proposition[6](https://arxiv.org/html/2611.21914#Thmproposition6)says\. Table[12](https://arxiv.org/html/2611.21914#S6.T12)shows the consequence on S4\. With a uniform confusion, where the proposition predicts invariance, no detector has an excess\. With a cyclic confusion the one\-vs\-rest detectors have an excess of\+0\.40\+0\.40\(m=3m=3\) and\+0\.33\+0\.33\(m=5m=5\) atα=0\.98\\alpha=0\.98and up to\+0\.74\+0\.74atα=0\.99\\alpha=0\.99, while the row\-wise detectors stay within±0\.03\\pm 0\.03\. On R4 with five classes, a fivefold increase of the priors of U2R and R2L lowers the population specificity of the normal class from0\.9550\.955to0\.8800\.880, and the one\-vs\-rest excess is\+0\.115\+0\.115atα=0\.98\\alpha=0\.98and\+0\.605\+0\.605atα=0\.99\\alpha=0\.99for that shift, against0\.0000\.000and−0\.015\-0\.015for the rows\. The row\-wise detectors also detect a concept change in the smallest row more often than the one\-vs\-rest ones \(0\.480\.48to0\.750\.75against0\.220\.22to0\.250\.25form=5m=5atα=0\.98\\alpha=0\.98\), although the family\-wise calibration costs power: an oracle that monitors only the changed row reaches0\.800\.80to0\.930\.93\. When a label shift starves the changed row of arrivals, every detector is blind, and the U2R row has about five arrivals per3,0003\{,\}000steps\. The confusion structures of S4 are our choice, and the size of the effect depends on them\.
Table 13:Triage ofF1F\_\{1\}alarms from a 3\-sigma monitor on S2 with the path\-integrated decomposition andθ=1/2\\theta=1/2\. Prior\-driven alarms suppressed is the share of alarms in scenarios with only a prior change that are classified as prior\-driven; concept alarms kept is the share of alarms caused by a concept change that are classified as concept\-driven\.For triage, Table[13](https://arxiv.org/html/2611.21914#S6.T13)classifies the alarms of a 3\-sigma monitor onF1F\_\{1\}\. Atα=0\.98\\alpha=0\.98,93%93\\%of the alarms caused by a prior shift are classified as prior\-driven and86%86\\%of those caused by a concept change as concept\-driven, with a pooled accuracy of0\.900\.90; the pooled accuracy is0\.810\.81atα=0\.95\\alpha=0\.95and0\.950\.95atα=0\.99\\alpha=0\.99, andθ=1/2\\theta=1/2balances the two kinds of error better than1/41/4or3/43/4\. Triage is not a detector\. After a prior shift toπ=0\.05\\pi=0\.05the monitor onF1F\_\{1\}rarely fires on a later concept change \(in3%3\\%to19%19\\%of runs\), and an alarm caused by noise alone is classified as concept\-driven, because noise lands in the concept term\. The attribution has been tested on a binary stream with a fixed classifier, independent errors, fully labelled data and an abrupt prior change, and the other settings are not covered\.
#### 6\.4Verification Latency, Selective Feedback, and Auditing
Five claims are tested\. With the producttt\-norm the interim stand\-in has zero marginal defect \(Eq\. \([31](https://arxiv.org/html/2611.21914#S4.E31)\)\) and the verification queue stays bounded\. The residual bias of the unified estimator follows the calibration error of the stand\-in \(Eq\. \([34](https://arxiv.org/html/2611.21914#S4.E34)\)\)\. Under decision\-dependent censoring with an audit budget the naive estimator is biased and the corrected one removes most of the bias\. The same holds in the four label\-availability settings of Table[1](https://arxiv.org/html/2611.21914#S4.T1)\. A non\-zero defect, a bias that does not follow the calibration error, or a corrected estimate no closer to the oracle than the naive one would count against them\. Throughout, the naive estimate is computed on the verified instances only, the corrected estimate is the unified state of Eq\. \([32](https://arxiv.org/html/2611.21914#S4.E32)\), in which the stand\-in replaces the label of every pending or unaudited instance, and the oracle is the state obtained when every label is available at arrival\.
On S5, with a non\-perfect scorer, the verified recall differs from the oracle recall under label\-dependent latency \(Table[14](https://arxiv.org/html/2611.21914#S6.T14)\): with positives confirmed after6060steps and negatives after55, the verified recall is0\.8590\.859against an oracle of0\.7110\.711, because the verified set over\-represents the class confirmed first\. The producttt\-norm has zero defect for soft and for hard predictions, and the minimum and Łukasiewicztt\-norms have a defect of about1\.171\.17for soft predictions and coincide with the product for hard ones\. The queue is bounded by construction whenΔ\\Deltais finite\.
Table 14:Latency regimes on S5, one run\. The defect is the mean marginal defect \(Eq\. \([31](https://arxiv.org/html/2611.21914#S4.E31)\)\) of the stand\-in and the soft prediction; it is zero for all threett\-norms with hard predictions\. The queue holds up toΔ−1\\Delta\-1entries because an instance is recorded before the clock advances\.Airlines \(R2\) replaces this synthetic latency schedule with a real, covariate\-dependent one \(meanΔk=132\\Delta\_\{k\}=132min, maximum 655 min, mean pending queue size 347\)\. With an uncalibrated Hoeffding tree, the accuracy of the naive estimator is0\.08970\.0897below that of the corrected one \(mean absolute difference over the stream0\.09860\.0986\)\. No oracle is evaluated, so this is the difference between the two estimators and not their bias\. It is close to the calibration gap of the raw classifier, which is overconfident by0\.09060\.0906\(mean confidence0\.72840\.7284against accuracy0\.63780\.6378\), as Eq\. \([34](https://arxiv.org/html/2611.21914#S4.E34)\) suggests\. After online Platt\-scaling recalibration the calibration gap is−0\.0100\-0\.0100and the difference is−0\.0165\-0\.0165\(mean absolute0\.04480\.0448\)\. Two points do not establish proportionality; Table[15](https://arxiv.org/html/2611.21914#S6.T15)and the paragraph that follows test it directly\.
Table[15](https://arxiv.org/html/2611.21914#S6.T15)reports 200 seeds of S6 and its variants\. In the immediate partially labelled setting with audit by decision, the naive recall bias is−0\.434\-0\.434, inverse\-propensity weighting \(IPW\), which weights each verified instance by the inverse of its audit probability, is nearly unbiased with the true probability \(−0\.030\-0\.030\) with a standard deviation five times that of the corrected estimator \(RMSE0\.1440\.144against0\.0280\.028\), and the corrected estimator has bias\+0\.013\+0\.013\. IPW is also fragile: with a label\-dependent audit and a misspecified, decision\-only probability it is biased by\+0\.227\+0\.227\.
The bias of the corrected estimator is linear in the calibration error of the stand\-in measured on the unverified instances: over eight stand\-ins \(logit shifts of−1\-1to\+1\+1, including the calibrated one, and temperatures of0\.50\.5to33\) the pooled slope over1,6001\{,\}600runs is0\.3460\.346\(interval\[0\.340,0\.353\]\[0\.340,0\.353\]\) withR2=0\.99R^\{2\}=0\.99across the eight configuration means; with delayed labels the single\-regressor fit is weaker \(R2=0\.54R^\{2\}=0\.54across configuration means\) and the bias is linear only when the calibration errors of the flagged and the approved unverified instances enter separately \(R2=0\.98R^\{2\}=0\.98\), and it reproduces the residual of the calibrated stand\-in, which is not exactly calibrated among flagged instances\. Online Platt scaling on the logit of the raw score gives−0\.018\-0\.018in this setting, and a version that uses the raw probability as the feature is undertrained on a 2,000\-step stream \(−0\.202\-0\.202\)\.
A label\-dependent audit with a six\-to\-one ratio leaves a corrected bias of\+0\.031\+0\.031, and the correction is partial under label\-dependent delay: with the delay of S5,\+0\.094\+0\.094in the delayed and partially labelled setting, which removes79%79\\%of the naive bias but does not recover the oracle, and\+0\.055\+0\.055in the fully labelled delayed setting, where the naive recall is nearly unbiased \(−0\.003\-0\.003\) and the correction makes it worse\.
Table 15:Recall bias against the oracle at the end of the stream, mean \(sd\) over 200 seeds of S6 and its variants\. Audit by decision is the10%10\\%budget for flagged instances; audit by label is0\.300\.30for flagged positives and0\.050\.05for flagged negatives; class\-dependent delay is Poisson6060for positives and55for negatives\. Naive uses verified labels only; IPW weights verified instances by the inverse of the true audit probability, or of a probability that depends on the decision only; corrected uses a calibrated stand\-in, online Platt scaling on the logit of the score, or the raw score\. IPW ignores delay, so it is shown only where the audit is the only imperfection\.The Credit Card Fraud stream \(R3\) reproduces the censoring\-plus\-audit composite \(Eq\. \([25](https://arxiv.org/html/2611.21914#S4.E25)\)\) on real transaction features and labels, with the censoring policy simulated on top \(§[6\.1](https://arxiv.org/html/2611.21914#S6.SS1)\)\. At this base rate a plain Hoeffding tree predicted the majority class throughout \(0 fraud predictions across 284,807 transactions\), which is why R3 uses the oversampling wrapper\. With the raw score as stand\-in the correctedF1F\_\{1\}was0\.94690\.9469against an oracle of0\.01190\.0119, because every censored instance is flagged by construction and its raw score is self\-consistent with the decision\. With online Platt\-scaling recalibration trained only on observed labels, the recall bias goes from−47\.3\-47\.3percentage points \(naive\) to−0\.8\-0\.8points \(corrected\) and the specificity bias from\+22\.5\+22\.5points to−0\.01\-0\.01points, on a stream in which23\.4%23\.4\\%of the labels are censored\. The correctedF1F\_\{1\}is0\.01090\.0109against the oracle’s0\.01190\.0119, a relative error of8%8\\%, and the naiveF1F\_\{1\}is0\.00990\.0099, an error of17%17\\%\. That run has one audit seed\.
Table[16](https://arxiv.org/html/2611.21914#S6.T16)repeats the test with 15 seeds, adds delay to the censoring, and adds a second real stream, NSL\-KDD collapsed to a binary problem \(normal against attack, R4, file order\) with a plain Hoeffding tree\. The audit budget is10%10\\%, the delay is none, Poisson300300or class\-dependent \(Poisson900900for positives and100100for negatives\), the operator is cumulative, and the model and the calibrator learn only from labels that have arrived\. Without delay, the first seed reproduces the run above\. The naive estimator is badly biased on both streams, in recall \(−0\.42\-0\.42on R3,−0\.24\-0\.24to−0\.27\-0\.27on R4\) whatever the delay\. Inverse\-propensity weighting with the exact audit probability, which is available only because we simulated the audit, is nearly unbiased in recall \(within0\.0050\.005\) under the cumulative operator\. The corrected estimator recovers recall on R4 \(bias−0\.004\-0\.004for every delay\) and on R3 without delay \(−0\.010\-0\.010\), but it is only partial elsewhere\. On R3 with delay its recall bias is−0\.14\-0\.14andF1F\_\{1\}is underestimated by about two thirds \(−0\.010\-0\.010against an oracle of about0\.0140\.014\); on R4 it underestimates specificity \(−0\.074\-0\.074\), precision \(−0\.09\-0\.09\) andF1F\_\{1\}\(−0\.05\-0\.05\) with or without delay\. In a diagnostic run \(R4, seed 0, no delay\) the calibrated stand\-in averaged0\.8620\.862on the censored flagged instances against a true rate of0\.9600\.960; we did not diagnose the other cases, and the stand\-ins disagree among themselves \(Platt scaling on the logit gives\+0\.04\+0\.04in recall on R3, and the raw score is far off, with a precision bias of\+0\.89\+0\.89\)\. So the statement that the correction removes the censoring bias holds for recall on R4 and on R3 without delay, and not for R3 with delay or for precision, specificity andF1F\_\{1\}on R4\. Under fading withα=0\.999\\alpha=0\.999IPW is noisy on R3 \(recall bias−0\.29\-0\.29, sd0\.410\.41, with about1\.71\.7effective frauds in memory\)\. With the eviction tolerance10−410^\{\-4\}, the queue holds on average243243\(R3\) and170170\(R4\) entries under Poisson300300, and8080and110110under the class\-dependent delay, when only audited instances are queued, and528528to1,1541\{,\}154entries when every instance is queued; eviction removed no audited entry in any run\.
Table 16:Bias against the oracle at the end of the stream, mean \(sd\) over 15 seeds, cumulative operator, audit budget0\.100\.10, on R3 \(Credit Card Fraud, oversampled Hoeffding tree\) and R4 collapsed to a binary problem \(plain Hoeffding tree, file order\)\. The delay is simulated; class\-dependent is Poisson900900for positives and100100for negatives\. IPW uses the exact audit probability\. The oracle precision is about0\.0070\.007and the oracleF1F\_\{1\}about0\.0140\.014on R3, and the oracleF1F\_\{1\}is about0\.960\.96on R4\.Table[17](https://arxiv.org/html/2611.21914#S6.T17)runs the four settings on S6\. Without censoring, the naive estimator is already close to the oracle, because a latency of about2525steps is small against the memoryneff=100n\_\{\\mathrm\{eff\}\}=100, so delay alone shifts the estimate little and the interim correction mainly reduces its variability \(recall bias sd0\.0370\.037against0\.0520\.052\)\. Censoring produces the large bias \(−0\.43\-0\.43in recall for the naive estimator\), and the corrected estimator removes it with or without delay\. Adding delay to censoring changes the bias of neither estimator and increases the spread of the corrected one \(recall bias sd0\.0480\.048against0\.0270\.027without delay\), presumably because the stand\-in stays in place until the label arrives; we did not isolate this\. Where the system decides which labels to request, the queue holds only the selected instances still pending \(1919on average in setting \(iv\)\), whereas holding every instance until eviction needs115115entries\. These queue sizes are counted from the arrival schedule, and Table[18](https://arxiv.org/html/2611.21914#S6.T18)reports them again with the eviction step executed\.
Table 17:Bias against the all\-labels\-immediately oracle at the end of the stream in the four label\-availability settings of[Gomes et al\. \(2022\)](https://arxiv.org/html/2611.21914#bib.bib11)\(full or partial labelling; immediate or delayed labels\); bias mean \(sd\) over3030seeds\. Last column: mean queue size when the system decides which labels to request \(only selected, pending instances are enqueued\) and when eligibility is unknown \(every pending instance is held until its label arrives or its fading weight drops belowε=10−4\\varepsilon=10^\{\-4\}\)\.Table[18](https://arxiv.org/html/2611.21914#S6.T18)runs the sliding\-window form of the interim estimator \(W=100W=100\) and the eviction step of Algorithm[1](https://arxiv.org/html/2611.21914#alg1)\(fadingα=0\.99\\alpha=0\.99, toleranceε=10−4\\varepsilon=10^\{\-4\}, every instance queued\) on S6 over 100 seeds\. The windowed corrected estimator removes the censoring bias as the fading one does \(recall bias\+0\.014\+0\.014against−0\.444\-0\.444for the naive windowed estimator in setting \(iii\)\)\. It also does when the delay is longer than the window \(Poisson150150, setting \(v\)\): every instance leaves the window unverified, the state consists of interim terms only, and its recall bias of\+0\.008\+0\.008is the quality of the stand\-in itself\. The queue sizes of fading with eviction \(96\.396\.3and115\.3115\.3\) reproduce the counts of Table[17](https://arxiv.org/html/2611.21914#S6.T17)\. Withε=10−4\\varepsilon=10^\{\-4\}eviction \(afters∗=458s^\{\\ast\}=458steps\) changes the state in no run, because no label arrives that late\. Withε=5×10−3\\varepsilon=5\\times 10^\{\-3\}\(s∗=69s^\{\\ast\}=69steps\) and the delay of setting \(v\), eviction does discard late corrections: it changes the state by at most2\.42\.4cell units on a total mass of about100100\(mean over seeds of the largest change1\.51\.5\), the recall bias is\+0\.011\+0\.011against\+0\.010\+0\.010without eviction, and the queue shrinks from348348to6868entries\.
Table 18:Recall bias against the oracle \(mean \(sd\) over 100 seeds\) and queue size \(mean and mean of the maximum\) of the fading and sliding\-window estimators on S6, with every instance queued\. Fading usesα=0\.99\\alpha=0\.99and eviction tolerance10−410^\{\-4\}; the window isW=100W=100\.
#### 6\.5Multiclass Structural Diagnostics and Zero\-Division Auditing
Three claims are examined\. Pareto dominance over time separates learners that a scalar metric ranks arbitrarily; this is a demonstration of the framework and not a falsifiable prediction\. We tested the conjecture that the𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}policy gives the smoothest macro trajectory, and it does not hold across regimes; what we claim instead is the audit property, that𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}and𝚗𝚊𝚗\\mathtt\{nan\}never report a number for a class without verified support\. Except for S10 below, the experiments of this subsection have no latency, where the verified and the interim supports coincide\. The undefined\-window probability of Proposition[4](https://arxiv.org/html/2611.21914#Thmproposition4)and the direction of its bursty extension \(Remark[3](https://arxiv.org/html/2611.21914#Thmremark3)\) are tested on a real transaction timeline\. Pareto dominance is defined at a time step: learneraadominatesbbifR11a\(t\)≥R11b\(t\)R\_\{11\}^\{a\}\(t\)\\geq R\_\{11\}^\{b\}\(t\)andR00a\(t\)≥R00b\(t\)R\_\{00\}^\{a\}\(t\)\\geq R\_\{00\}^\{b\}\(t\)with at least one strict inequality, and the two are incomparable if neither dominates\.
On S7, over 100 seeds, Models A and B are incomparable in98\.8%98\.8\\%of the windows \(standard deviation2\.22\.2points\) as their generating rates are, so any ranking between them byF1F\_\{1\}or Accuracy is an artifact of metric scalarization\. The generating rates of Model C dominate those of Model A on both coordinates, yet the fading estimates \(neff=50n\_\{\\mathrm\{eff\}\}=50\) show C dominating A in only60\.7%60\.7\\%of the windows \(standard deviation12\.312\.3points\), because of sampling noise at this memory, which the Pareto relation, unlike a scalar ranking, makes visible\. A single seed gave54\.4%54\.4\\%\. The relation is that of the ROC convex hull\([Provost and Fawcett, 2001](https://arxiv.org/html/2611.21914#bib.bib25)\), extended to continuously updated temporal states\.
NSL\-KDD \(R4\) is the only multiclass real benchmark of this paper, and its row order is not chronological \(§[6\.1](https://arxiv.org/html/2611.21914#S6.SS1)\)\. Applying the𝑺j\\bm\{S\}\_\{j\}projection \(Eq\. \([7](https://arxiv.org/html/2611.21914#S3.E7)\)\) to its five classes and comparing a plain with an adaptive Hoeffding tree gave, in one run \(native order, adaptive seed20272027\), a pattern in which the adaptive tree dominates more often on the rare classes \(R2L:39\.2%39\.2\\%against16\.3%16\.3\\%of windows; U2R:41\.9%41\.9\\%against16\.1%16\.1\\%\) and the plain tree on normal \(20\.7%20\.7\\%against9\.8%9\.8\\%\)\. Table[19](https://arxiv.org/html/2611.21914#S6.T19)shows that this run does not represent the other seeds\. Over 10 seeds of the adaptive tree the adaptive advantage on normal, DoS and Probe is stable \(DoS in 10 of 10 seeds\), the single run was at the favourable end for R2L and U2R, and for normal it had the opposite sign to the mean\. For R2L and U2R the sign is not stable across seeds \(6 and 5 of 10\), and when the rows are permuted within blocks of1,0001\{,\}000it reverses \(the adaptive tree ahead in 2 and 4 of 10 orders\)\. The Pareto relation therefore separates the learners per class, but for the rare classes of this stream the sign of the difference depends on the seed and the order\.
Table 19:NSL\-KDD \(R4\): fraction of windows in which the adaptive tree dominates the plain tree minus the fraction in which the plain tree dominates the adaptive one, mean over 10 runs with a bootstrap interval, and the number of runs in which the adaptive tree is ahead\. Only the adaptive tree has a seed; in the second block the rows are permuted within blocks of1,0001\{,\}000\.On S8, whose rare event classes arrive in bursts, Table[20](https://arxiv.org/html/2611.21914#S6.T20)shows the macro\-precision trajectory under the policies of §[3\.5](https://arxiv.org/html/2611.21914#S3.SS5)\. In this single run𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}reduces the total variation of the trajectory by34%34\\%against the𝚣𝚎𝚛𝚘\\mathtt\{zero\}default \(17\.6617\.66against26\.8526\.85\) while flagging26\.4%26\.4\\%of steps as partly undefined, and𝚘𝚗𝚎\\mathtt\{one\}, which counts0/00/0as1\.01\.0\(11\.8511\.85\), is not reliably worse than𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}\. Over 100 seeds the reduction is21\.6%21\.6\\%\(standard deviation18\.018\.0points\), but the total variation is summed over different numbers of steps \(the policies leave different shares of the stream undefined\); per defined step it is−4\.7%\-4\.7\\%\(standard deviation2626points, interval\[−9\.8,\+0\.4\]\[\-9\.8,\+0\.4\]\), so the smoothness advantage disappears once the number of steps is accounted for\.
Table 20:Macro\-temporal precision \(Σm∘Σt\\Sigma\_\{m\}\\circ\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}\) over22bursty rare event classes under each zero\-division policy of §[3\.5](https://arxiv.org/html/2611.21914#S3.SS5)\. TV is computed over each convention’s own defined \(non\-undefined\) subsequence; “Undefined” is the fraction of steps the convention leaves without a numeric value\.We repeated the protocol on two real streams, Credit Card Fraud \(R3\), whose fraud arrivals cluster in time, with a single binary metric andW=200W=200, and NSL\-KDD’s four event classes \(R4; DoS, Probe, R2L, U2R, excluding the normal background\) withW=300W=300\. Table[21](https://arxiv.org/html/2611.21914#S6.T21)gives the outcome: the smoothing effect is negligible on real binary data \(\+2%\+2\\%\) and reverses on the real multiclass stream \(−35%\-35\\%\)\. In79%79\\%of the NSL\-KDD windows three or four of the four event classes are supported, so this is not the regime of mostly empty support; the fluctuating membership of𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}shifts the average each time a class enters or leaves the support, a larger jump than the fixed composition of𝚣𝚎𝚛𝚘\\mathtt\{zero\}with occasional zero padding, since the rare classes’ true precision is often close to zero\. These total variations are raw sums and have the step\-count issue noted above\.
Table 21:The𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}\-vs\-𝚣𝚎𝚛𝚘\\mathtt\{zero\}smoothness comparison across one synthetic and two real streams \(Δ\>0\\Delta\{\>\}0:𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}smoother\)\. Sign and magnitude are regime\-dependent, not a fixed property of the policy; NSL\-KDD’s raw TV values are omitted as they are not directly comparable in scale to the other two rows’ single\-metric TV \(four\-class macro composition vs\. one\)\.The smoothness claim does not generalise, and we do not carry it forward\. What holds in all three settings of Table[21](https://arxiv.org/html/2611.21914#S6.T21)is the audit property:𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}and𝚗𝚊𝚗\\mathtt\{nan\}never report a number for a class without verified support, while𝚣𝚎𝚛𝚘\\mathtt\{zero\}and𝚘𝚗𝚎\\mathtt\{one\}always do, whether or not their constant happens to be close to the truth\. With latency the property needs the verified support of §[3\.5](https://arxiv.org/html/2611.21914#S3.SS5), which only the experiment on S10 below exercises\.
On S10 \(three classes, windowW=60W=60, the rare class with prior0\.050\.05\), Table[22](https://arxiv.org/html/2611.21914#S6.T22)compares the probability that no instance of the rare class in the window is verified with the formula of Corollary[2](https://arxiv.org/html/2611.21914#Thmcorollary2):0\.1610\.161against0\.1660\.166for a constant delay of2525,0\.4090\.409against0\.4120\.412with an audit probability of0\.50\.5,0\.1630\.163and0\.4220\.422against0\.1670\.167and0\.4130\.413with Poisson delays, and11for a delay of70≥W70\\geq W\. The probability that the class is absent from the window is0\.0420\.042throughout\. The verified support never reports a value for a class with no true instance, whereas the interim support does so in4\.2%4\.2\\%of the steps, those at which the class is absent, because the stand\-in always puts mass on it\. The price is accuracy: the absolute error of the macro recall under𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}against the oracle is0\.0120\.012to0\.0410\.041with the verified support and0\.0060\.006with the interim support, because the verified support drops a class that is present but whose labels are pending, and with a delay beyond the window it leaves the macro recall undefined\.
Table 22:Verified support under latency on S10 \(windowW=60W=60, rare class prior0\.050\.05; 4 runs of 20,000 steps per row\)\. Formula is the probability of Corollary[2](https://arxiv.org/html/2611.21914#Thmcorollary2)that no instance of the rare class is verified; Empirical is its frequency; Class absent is the frequency with which the class has no true instance in the window\. MAE is the absolute error of the macro recall under𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}against the oracle when the support is the verified or the interim one\.On how often a policy trigger fires, Table[23](https://arxiv.org/html/2611.21914#S6.T23)compares the empirical undefined\-window rate on the chronologically ordered Credit Card Fraud stream, at the class’s marginal ratep=0\.001727p=0\.001727, with the i\.i\.d\. prediction of Eq\. \([19](https://arxiv.org/html/2611.21914#S3.E19)\) for three window sizes\. The real rate exceeds the i\.i\.d\. baseline at everyWW, by a factor of1\.11\.1atW=200W=200,1\.41\.4atW=500W=500and2\.22\.2atW=1,000W=1\{,\}000, which is the direction that Remark[3](https://arxiv.org/html/2611.21914#Thmremark3)predicts for clustered arrivals\. The Markov formula of that remark predicts56\.4%56\.4\\%for the generator of S8 and a simulation of4×1054\\times 10^\{5\}steps gives57\.6%57\.6\\%on average over three seeds and two classes \(standard deviation0\.70\.7points\)\.
Table 23:Undefined\-window rate for the fraud class on the real, chronologically\-ordered Credit Card Fraud stream \(p=0\.001727p=0\.001727,n=284,807n=284\{,\}807\), against the i\.i\.d\. prediction of Eq\. \([19](https://arxiv.org/html/2611.21914#S3.E19)\) at the same marginal rate\. The growing gap is the real\-data signature of the same clustering mechanism Remark[3](https://arxiv.org/html/2611.21914#Thmremark3)quantifies on the synthetic bursty generator\.
#### 6\.6Computational Throughput and Memory Footprint
Propositions[1](https://arxiv.org/html/2611.21914#Thmproposition1)and[2](https://arxiv.org/html/2611.21914#Thmproposition2)claim an update cost that does not depend on the stream length for both operators, with constant memory for fading and memory growing withWWfor the window\. Table[24](https://arxiv.org/html/2611.21914#S6.T24)gives the median of seven repetitions on S9 for fading and for windows fromW=100W=100toW=100,000W=100\{,\}000\. The time per instance of the window operator is about1\.11\.1to1\.31\.3times that of fading and does not grow withWWover three orders of magnitude, while its memory grows linearly withWW\. The measured memory is about five times the analytic buffer size \(two vectors ofmmdoubles per stored instance\) because of Python object overhead\. The evaluators measured here are those of the package \(§[7](https://arxiv.org/html/2611.21914#S7)\), which validates its input at every update\. Absolute times depend on the hardware; the claim is carried by the independence ofWWfor time and the proportionality toWWfor memory\.
Table 24:Throughput and memory on S9 \(300,000 instances,m=2m=2, 7 repetitions\)\. Analytic memory is the buffer of the window or the state of fading; measured memory is the allocation in use after filling the window, traced bytracemalloc\.
### 7Software
The framework is implemented as the experimental subpackageaggmetrics\.streamof theaggmetricsPython package for indicator\-matrix evaluation\([Prati, 2026](https://arxiv.org/html/2611.21914#bib.bib23)\), from version 0\.4\.0 \([https://github\.com/rcprati/aggmetrics](https://github.com/rcprati/aggmetrics); DOI of the version:[https://doi\.org/10\.5281/zenodo\.24291757](https://doi.org/10.5281/zenodo.24291757)\)\. It is installed withpip install aggmetrics, needs only NumPy, and a notebook of the package \(gallery notebook 17\) shows its main functions on simulated streams\. ATemporalStateholds the state𝑪\(t\)\\bm\{C\}\(t\)under exponential fading, a sliding window or no forgetting, and evaluates any measure of the package’s registry on it with the three aggregation operators, the zero\-division policies of §[3\.5](https://arxiv.org/html/2611.21914#S3.SS5)and the audit tuple\(𝒖,mactive\)\(\\bm\{u\},m\_\{\\mathrm\{active\}\}\); with a reference prior it returns the value of a measure at that prior, the quantity monitored in §[5\.4](https://arxiv.org/html/2611.21914#S5.SS4)\. AClassTimeStategives the class\-time estimates of Remark[4](https://arxiv.org/html/2611.21914#Thmremark4)\. ADelayedEvaluatoris Algorithm[1](https://arxiv.org/html/2611.21914#alg1)in both of its forms, with the interim term, the correction, the eviction and the window FIFO, and reports the verified and the interim support and the coverageκj\\kappa\_\{j\}of §[3\.5](https://arxiv.org/html/2611.21914#S3.SS5)\.attributesplits the change of a measure between two states into a concept and a prior part, by the counterfactual, the symmetric or the path\-integrated Jacobian form of §[5\.3](https://arxiv.org/html/2611.21914#S5.SS3), and triages an alarm\. The closed forms of the paper \(the undefined\-window probability of Proposition[4](https://arxiv.org/html/2611.21914#Thmproposition4), the window size of Corollary[1](https://arxiv.org/html/2611.21914#Thmcorollary1), the queue bound of Eq\. \([33](https://arxiv.org/html/2611.21914#S4.E33)\) and the factorκ\(α\)\\kappa\(\\alpha\)of Remark[2](https://arxiv.org/html/2611.21914#Thmremark2)\) are instream\.sizing, so that a window or a fading factor can be sized before deployment\. The chi\-square monitor of §[5\.4](https://arxiv.org/html/2611.21914#S5.SS4)and the calibration of its threshold are included and marked experimental, with the limits stated there\.
```
ev = DelayedEvaluator(2, alpha=0.98, eps=1e-3) # Algorithm 1, fading
k = ev.arrive(proba, y_pred) # interim term, product t-norm
ev.label(k, y_true) # correction when the label comes
ev.compute("recall") # value under the verified support
ev.coverage() # verified share of each class
attribute("f1", ref.snapshot(), cur.snapshot()).triage()
```
The states are tested against the package’s batch evaluation on the same data, for the cumulative and the window states, against the decomposability of Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1)for every decomposable measure, against the values of the running example of Appendix[10](https://arxiv.org/html/2611.21914#S10), and against simulation for the closed forms\. It has full branch coverage\. The experiments of §[6](https://arxiv.org/html/2611.21914#S6)run on the package: the evaluators of their scripts are thin adapters over it\. A class with less than10−1210^\{\-12\}of the mass of the state is reported as undefined, since a ratio of such masses is a number made of rounding residue\. The subpackage is experimental, and its interface may change in a later release\.
### 8Conclusions and Future Directions
We extended the indicator\-matrix framework of classification evaluation\([Prati, 2027](https://arxiv.org/html/2611.21914#bib.bib24)\)to data streams\. The temporal operatorΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}gives exponential\-fading and sliding\-window evaluation with an update cost that does not depend on the stream length, and linear decomposability between pooled and per\-class measures holds under it\. Delayed and selective feedback form an observation mask whose four corners are the four label\-availability settings of the literature\. An interim estimate built with the producttt\-norm fills the gap left by missing labels, and its bias is linear in the calibration error of the estimate when labels are not delayed\. Zero\-division voids are handled by audited conventions\. Prior shift and concept drift are separated by monitoring prior\-free coordinates and attributing a metric change with a first\-order Jacobian decomposition\.
The experiments changed some of our expectations\. Detectors on class\-time coordinates raise no excess false alarms under label shift on synthetic streams, on four frozen\-classifier real streams and with several classes, while the Jacobian alarm we first proposed as a detector, and DDM on the error indicator, do\. The Jacobian decomposition is useful for attribution and for triage of alarms, not as a general detector\. The one\-vs\-rest specificity is not prior\-free with several classes, so the confusion rows are the coordinates to monitor\. The smoothness advantage we expected from excluding unsupported classes depends on the stream, and what we claim for the zero\-division policies is that, with the verified support, they report no value for a class that has none\. The correction of selection bias is only partial when the delay depends on the label and, on the real streams tested, for precision, specificity andF1F\_\{1\}on NSL\-KDD and for recall on Credit Card with delay\.
The evidence has limits\. The detection and attribution studies use simulated streams, and frozen classifiers on real streams with the label shift imposed by resampling; in native order the real drift ofP\(X∣Y\)P\(X\\mid Y\)cannot be separated from the effect under test\. A calibrated threshold that depends onα\\alphaand on the stream length is needed for a given run\-level false alarm, and the power for a recall change is low at low prior\. The variance model of the detector assumes independent arrivals, which holds for the resampled streams and not for native order, where Remark[2](https://arxiv.org/html/2611.21914#Thmremark2)measures an inflation that the detector does not correct\. The sliding\-window form of the interim estimate is run on one synthetic stream only, the eviction step of Algorithm[1](https://arxiv.org/html/2611.21914#alg1)on that stream and on two real ones, the interim estimate on the synthetic streams is a noisy oracle and not a learned model, and the real\-stream delay and censoring experiments simulate both on real features and labels\. Future work includes interim estimators that adapt to calibration drift, tracked online with class\-conditional calibration errors\. Twenty\-five statements of the paper were checked in Lean 4 against Mathlib\. Each covers the algebraic or analytic core of the statement, with probabilistic steps taken as hypotheses or left out\. They are the decomposability of Theorem[1](https://arxiv.org/html/2611.21914#Thmtheorem1), for any nonnegative temporal weighting, including the commutation ofΣt\\mathrm\{\\Sigma\}\_\{\\mathrm\{t\}\}with the selection matrices and the classes with a zero denominator; the fading and sliding\-window recurrences \(Eqs\. \([2](https://arxiv.org/html/2611.21914#S3.E2)\) and \([3](https://arxiv.org/html/2611.21914#S3.E3)\)\); the exact split of a change of the pooled measure into an intrinsic and a prevalence part \(Eq\. \([12](https://arxiv.org/html/2611.21914#S3.E12)\)\); the marginal consistency of the producttt\-norm \(Eqs\. \([28](https://arxiv.org/html/2611.21914#S4.E28)\) and \([29](https://arxiv.org/html/2611.21914#S4.E29)\)\), with the marginal defects of the minimum and the Łukasiewicztt\-norm on the soft prediction of the running example \(Example[4](https://arxiv.org/html/2611.21914#Thmexample4)\) and their agreement with the product on hard predictions; the bias identity of Eq\. \([34](https://arxiv.org/html/2611.21914#S4.E34)\) and its zero expectation under calibration; the invariant of Algorithm[1](https://arxiv.org/html/2611.21914#alg1)for exponential fading, which is the unified state of Eq\. \([32](https://arxiv.org/html/2611.21914#S4.E32)\) without eviction and, with eviction, that state minus the discarded corrections, whose effect on each entry is bounded by the tail mass of Eq\. \([33](https://arxiv.org/html/2611.21914#S4.E33)\) and byε\\varepsilonper discarded correction; the bound on the queue, with the explicit ages∗s^\{\\ast\}above; the independence of the column sums of the unified state from the stand\-in; the audit property of the policies𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}and𝚗𝚊𝚗\\mathtt\{nan\}\(no number for a class without support\), with the value of𝚣𝚎𝚛𝚘\\mathtt\{zero\}as the𝚎𝚡𝚌𝚕𝚞𝚍𝚎\\mathtt\{exclude\}average shrunk by the share of supported classes; the cell\-ratio lemma and Proposition[5](https://arxiv.org/html/2611.21914#Thmproposition5), with the recall and the specificity as integrals of the decision function against the class\-conditional laws, free of the prior, and the dependence of the precision on it, shown on a numerical example; the undefined\-window probability of Proposition[4](https://arxiv.org/html/2611.21914#Thmproposition4), exact for the sliding window and bounded on both sides under fading, derived from the independence of the arrivals \(Mathlib’siIndepSet\), with the two ages of the fading bounds taken through their defining inequalities; the latency corollary \(Corollary[2](https://arxiv.org/html/2611.21914#Thmcorollary2)\), with its value for a constant delay and the window size it requires; the multiclass invariance of Proposition[6](https://arxiv.org/html/2611.21914#Thmproposition6), with the specificity formula and the values of the running example; the window\-sizing rule of Corollary[1](https://arxiv.org/html/2611.21914#Thmcorollary1); the expectation and the variance of the fading estimator in Proposition[3](https://arxiv.org/html/2611.21914#Thmproposition3), for everyttand from the independence of the entries, with their limits; the variance of the fading estimator for autocorrelated entries \(Remark[2](https://arxiv.org/html/2611.21914#Thmremark2)\), exact for everyttand converging to Eq\. \([16](https://arxiv.org/html/2611.21914#S3.E16)\), withκ=1\\kappa=1for independent entries andκ=\(1\+αr\)/\(1−αr\)\\kappa=\(1\+\\alpha r\)/\(1\-\\alpha r\)forρd=rd\\rho\_\{d\}=r^\{d\}; the chain\-rule form of the decomposition of Eq\. \([40](https://arxiv.org/html/2611.21914#S5.E40)\); the closed\-form Jacobians of the precision,F1F\_\{1\}and the accuracy and the exactness of the mid\-point rule for the accuracy \(§[5\.3](https://arxiv.org/html/2611.21914#S5.SS3)\); and the state after an abrupt drift with its half\-life, the tracking lag under a steady velocity and the damping of a transient outlier \(§[5\.1](https://arxiv.org/html/2611.21914#S5.SS1)\)\. The values of the running example are also recomputed in Lean\. The bursty extension of the undefined\-window probability \(Remark[3](https://arxiv.org/html/2611.21914#Thmremark3)\), the sliding\-window form of the algorithm with eviction, the complexity bounds, the Jacobian of the balanced accuracy, the error of the mid\-point rule forF1F\_\{1\}and the precision, and the gradual and reoccurring drift profiles are not formalized\. The formalization is at[https://github\.com/rcprati/aggmetrics\-datastream\-lean](https://github.com/rcprati/aggmetrics-datastream-lean), and the implementation of §[7](https://arxiv.org/html/2611.21914#S7)is in theaggmetricspackage, version 0\.4\.0 or later\([Prati, 2026](https://arxiv.org/html/2611.21914#bib.bib23)\)\.
### Statements and Declarations
Funding\.This work was supported by the São Paulo Research Foundation \(FAPESP\) and the National Council for Scientific and Technological Development \(CNPq, grant 310534/2025\-9\)\.
Competing interests\.The authors have no relevant financial or non\-financial interests to disclose\.
Ethics approval and consent to participate\.Not applicable\. The study uses public benchmark data sets and simulated streams, with no human participants or animals\.
Data availability\.All data sets are public: Electricity \(Elec2\)\([Harries, 1999](https://arxiv.org/html/2611.21914#bib.bib14)\), Airlines\([Vanschoren et al\., 2014](https://arxiv.org/html/2611.21914#bib.bib27)\), Credit Card Fraud\([Dal Pozzolo et al\., 2015](https://arxiv.org/html/2611.21914#bib.bib6)\), NSL\-KDD\([Tavallaee et al\., 2009](https://arxiv.org/html/2611.21914#bib.bib26)\)and Covertype \(distributed with scikit\-learn\)\. The synthetic streams are generated by the code described under Code availability\.
Author contributions\.Ronaldo C\. Prati: conceptualization, methodology, formal analysis, software, investigation, data curation, validation, visualization, writing – original draft, writing – review and editing, project administration\. Elaine Ribeiro de Faria: conceptualization, validation, writing – review and editing\. All authors approved the final manuscript\.
Use of generative AI\.The authors used Claude \(Anthropic\), through Claude Code, to help write and review code, run and analyse the experiments, develop the Lean 4 formalization, and draft and revise parts of the text\. The authors specified the research questions and the design, reviewed and verified the outputs, and take full responsibility for the content\.
## References
- Aguiar et al\. \(2024\)Aguiar GJ, Krawczyk B, Cano A \(2024\) A survey on learning from imbalanced data streams: taxonomy, challenges, empirical study, and reproducible experimental framework\. Machine Learning 113\(7\):4165–4243\.[10\.1007/s10994\-023\-06353\-6](https://doi.org/10.1007/s10994-023-06353-6)
- Bifet and Gavaldà \(2007\)Bifet A, Gavaldà R \(2007\) Learning from time\-changing data with adaptive windowing\. In: Proceedings of the 2007 SIAM International Conference on Data Mining, SIAM, pp 443–448,[10\.1137/1\.9781611972771\.42](https://doi.org/10.1137/1.9781611972771.42)
- Bifet et al\. \(2010\)Bifet A, Holmes G, Kirkby R, et al \(2010\) Moa: Massive online analysis\. Journal of Machine Learning Research 11:1601–1604\. URL[https://jmlr\.org/papers/v11/bifet10a\.html](https://jmlr.org/papers/v11/bifet10a.html)
- Brzeziński and Stefanowski \(2017\)Brzeziński D, Stefanowski J \(2017\) Prequential AUC: properties of the area under the ROC curve for data streams with concept drift\. Knowledge and Information Systems 52\(2\):531–562\.[10\.1007/s10115\-017\-1022\-8](https://doi.org/10.1007/s10115-017-1022-8)
- Cerqueira et al\. \(2026\)Cerqueira V, Gomes HM, Heyden M, et al \(2026\) A framework for evaluating and benchmarking concept drift detection methods\. In: Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\.2 \(KDD ’26\)\. Association for Computing Machinery, New York, NY, pp 8671–8682,[10\.1145/3770855\.3819070](https://doi.org/10.1145/3770855.3819070)
- Dal Pozzolo et al\. \(2015\)Dal Pozzolo A, Caelen O, Johnson RA, et al \(2015\) Calibrating probability with undersampling for unbalanced classification\. In: 2015 IEEE Symposium Series on Computational Intelligence, IEEE, pp 159–166,[10\.1109/SSCI\.2015\.33](https://doi.org/10.1109/SSCI.2015.33)
- Dawid \(1984\)Dawid AP \(1984\) Present position and potential developments: Some personal views: Statistical theory: The prequential approach\. Journal of the Royal Statistical Society: Series A \(General\) 147\(2\):278–292\.[10\.2307/2981683](https://doi.org/10.2307/2981683)
- Frías\-Blanco et al\. \(2015\)Frías\-Blanco I, del Campo\-Ávila J, Ramos\-Jiménez G, et al \(2015\) Online and non\-parametric drift detection methods based on hoeffding’s bounds\. IEEE Transactions on Knowledge and Data Engineering 27\(3\):810–823\.[10\.1109/TKDE\.2014\.2345382](https://doi.org/10.1109/TKDE.2014.2345382)
- Gama et al\. \(2004\)Gama J, Medas P, Castillo G, et al \(2004\) Learning with drift detection\. In: Brazilian Symposium on Artificial Intelligence \(SBIA\), Springer, pp 286–295,[10\.1007/978\-3\-540\-28645\-5\_29](https://doi.org/10.1007/978-3-540-28645-5_29)
- Gama et al\. \(2014\)Gama J, Žliobaitě I, Bifet A, et al \(2014\) A survey on concept drift adaptation\. ACM Computing Surveys \(CSUR\) 46\(4\):1–37\.[10\.1145/2523813](https://doi.org/10.1145/2523813)
- Gomes et al\. \(2022\)Gomes HM, Grzenda M, Mello R, et al \(2022\) A survey on semi\-supervised learning for delayed partially labelled data streams\. ACM Computing Surveys 55\(4\):75:1–75:42\.[10\.1145/3523055](https://doi.org/10.1145/3523055)
- Grzenda et al\. \(2020\)Grzenda M, Gomes HM, Bifet A \(2020\) Delayed labelling evaluation for data streams\. Data Mining and Knowledge Discovery 34\(5\):1237–1266\.[10\.1007/s10618\-019\-00654\-y](https://doi.org/10.1007/s10618-019-00654-y)
- Guo et al\. \(2017\)Guo C, Pleiss G, Sun Y, et al \(2017\) On calibration of modern neural networks\. In: Proceedings of the 34th International Conference on Machine Learning \(ICML\), Proceedings of Machine Learning Research, vol 70\. PMLR, pp 1321–1330, URL[https://proceedings\.mlr\.press/v70/guo17a\.html](https://proceedings.mlr.press/v70/guo17a.html)
- Harries \(1999\)Harries M \(1999\) Splice\-2 comparative evaluation: Electricity pricing\. Tech\. Rep\. UNSW\-CSE\-TR\-9905, University of New South Wales, School of Computer Science and Engineering, URL[https://books\.google\.com\.br/books?id=1Zr1vQAACAAJ](https://books.google.com.br/books?id=1Zr1vQAACAAJ)
- Kleinberg \(2003\)Kleinberg J \(2003\) Bursty and hierarchical structure in streams\. Data Mining and Knowledge Discovery 7\(4\):373–397\.[10\.1023/A:1024940629314](https://doi.org/10.1023/A:1024940629314)
- Lu et al\. \(2019\)Lu J, Liu A, Dong F, et al \(2019\) Learning under concept drift: A review\. IEEE Transactions on Knowledge and Data Engineering 31\(12\):2346–2363\.[10\.1109/TKDE\.2018\.2876857](https://doi.org/10.1109/TKDE.2018.2876857)
- Montiel et al\. \(2018\)Montiel J, Read J, Bifet A, et al \(2018\) Scikit\-multiflow: A multi\-output streaming framework\. Journal of Machine Learning Research 19\(72\):1–5\. URL[https://jmlr\.org/papers/v19/18\-251\.html](https://jmlr.org/papers/v19/18-251.html)
- Montiel et al\. \(2021\)Montiel J, Halford M, Mastelini SM, et al \(2021\) River: machine learning for streaming data in Python\. Journal of Machine Learning Research 22\(110\):1–8\. URL[https://jmlr\.org/papers/v22/20\-1380\.html](https://jmlr.org/papers/v22/20-1380.html)
- Moreno\-Torres et al\. \(2012\)Moreno\-Torres JG, Raeder T, Alaiz\-Rodríguez R, et al \(2012\) A unifying view on dataset shift in classification\. Pattern Recognition 45\(1\):521–530\.[10\.1016/j\.patcog\.2011\.06\.019](https://doi.org/10.1016/j.patcog.2011.06.019)
- Parreira and Prati \(2026\)Parreira PH, Prati RC \(2026\) Feature\-based reservoir of dynamic subspaces for data streams under intermediate latency\. IEEE Access 14:123866–123879\.[10\.1109/ACCESS\.2026\.3723350](https://doi.org/10.1109/ACCESS.2026.3723350)
- Plasse and Adams \(2016\)Plasse J, Adams N \(2016\) Handling delayed labels in temporally evolving data streams\. In: 2016 IEEE International Conference on Big Data \(Big Data\)\. IEEE, pp 2416–2424,[10\.1109/BigData\.2016\.7840877](https://doi.org/10.1109/BigData.2016.7840877)
- Platt \(2000\)Platt JC \(2000\) Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods\. In: Smola AJ, Bartlett PL, Schölkopf B, et al \(eds\) Advances in Large Margin Classifiers\. MIT Press, Cambridge, MA, pp 61–74,[10\.7551/mitpress/1113\.003\.0008](https://doi.org/10.7551/mitpress/1113.003.0008)
- Prati \(2026\)Prati RC \(2026\) aggmetrics: Aggregating classification performance measures for machine learning\.[arXiv:2610\.30456](https://arxiv.org/abs/2610.30456)
- Prati \(2027\)Prati RC \(2027\) A unified algebraic framework for classification performance evaluation\. Information Fusion 138:104767\.[10\.1016/j\.inffus\.2026\.104767](https://doi.org/10.1016/j.inffus.2026.104767), URL[https://www\.sciencedirect\.com/science/article/pii/S1566253526006433](https://www.sciencedirect.com/science/article/pii/S1566253526006433)
- Provost and Fawcett \(2001\)Provost F, Fawcett T \(2001\) Robust classification for imprecise environments\. Machine Learning 42:203–231\.[10\.1023/A:1007601015854](https://doi.org/10.1023/A:1007601015854)
- Tavallaee et al\. \(2009\)Tavallaee M, Bagheri E, Lu W, et al \(2009\) A detailed analysis of the KDD CUP 99 data set\. In: 2009 IEEE Symposium on Computational Intelligence for Security and Defense Applications \(CISDA\), IEEE, pp 1–6,[10\.1109/CISDA\.2009\.5356528](https://doi.org/10.1109/CISDA.2009.5356528)
- Vanschoren et al\. \(2014\)Vanschoren J, Van Rijn JN, Bischl B, et al \(2014\) OpenML: networked science in machine learning\. ACM SIGKDD Explorations Newsletter 15\(2\):49–60\.[10\.1145/2641190\.2641198](https://doi.org/10.1145/2641190.2641198)
- Wang et al\. \(2018\)Wang S, Minku LL, Yao X \(2018\) A systematic study of online class imbalance learning with concept drift\. IEEE Transactions on Neural Networks and Learning Systems 29\(10\):4802–4821\.[10\.1109/TNNLS\.2017\.2771290](https://doi.org/10.1109/TNNLS.2017.2771290)
- Webb et al\. \(2016\)Webb GI, Hyde R, Cao H, et al \(2016\) Characterizing concept drift\. Data Mining and Knowledge Discovery 30\(4\):964–994\.[10\.1007/s10618\-015\-0448\-4](https://doi.org/10.1007/s10618-015-0448-4)
- Zadrozny and Elkan \(2002\)Zadrozny B, Elkan C \(2002\) Transforming classifier scores into accurate multiclass probability estimates\. In: Proceedings of the 8th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp 694–699,[10\.1145/775047\.775151](https://doi.org/10.1145/775047.775151), URL[https://dl\.acm\.org/doi/10\.1145/775047\.775151](https://dl.acm.org/doi/10.1145/775047.775151)
- Žliobaitė et al\. \(2014\)Žliobaitė I, Bifet A, Pfahringer B, et al \(2014\) Active learning with drifting streaming data\. IEEE Transactions on Neural Networks and Learning Systems 25\(1\):27–39\.[10\.1109/TNNLS\.2012\.2236570](https://doi.org/10.1109/TNNLS.2012.2236570)
### 9Notation
Table 25:Summary of notation used throughout the paper\.
### 10The Running Example in Full
All values below are produced byexperiments/running\_example\.pyin exact fractions\. The stream has88instances, with true labelsABACBABBA\\,B\\,A\\,C\\,B\\,A\\,B\\,Band predictionsABBCBACBA\\,B\\,B\\,C\\,B\\,A\\,C\\,B\. The label of instancekkarrives at timek\+Δkk\+\\Delta\_\{k\}, that is att=\(1,3,5,7,7,9,9,9\)t=\(1,3,5,7,7,9,9,9\), and instance77is never labelled\.
*Temporal state \(Example[1](https://arxiv.org/html/2611.21914#Thmexample1)\)\.*Under fading withα=12\\alpha=\\tfrac\{1\}\{2\},𝑪α\(4\)\\bm\{C\}\_\{\\alpha\}\(4\)has rows\(116,14,0\)\(\\tfrac\{1\}\{16\},\\tfrac\{1\}\{4\},0\),\(0,18,0\)\(0,\\tfrac\{1\}\{8\},0\),\(0,0,12\)\(0,0,\\tfrac\{1\}\{2\}\)and mass1516\\tfrac\{15\}\{16\}\. Under the windowW=4W=4,𝑪W\(8\)\\bm\{C\}\_\{W\}\(8\)has rows\(14,0,0\)\(\\tfrac\{1\}\{4\},0,0\),\(0,12,14\)\(0,\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\}\),\(0,0,0\)\(0,0,0\)\.
*Decomposition and the void \(Examples[2](https://arxiv.org/html/2611.21914#Thmexample2)and[3](https://arxiv.org/html/2611.21914#Thmexample3)\)\.*The per\-class tables\(TP,FN,FP,TN\)\(\\mathrm\{TP\},\\mathrm\{FN\},\\mathrm\{FP\},\\mathrm\{TN\}\)are\(14,0,0,34\)\(\\tfrac\{1\}\{4\},0,0,\\tfrac\{3\}\{4\}\),\(12,14,0,14\)\(\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\},0,\\tfrac\{1\}\{4\}\),\(0,0,14,34\)\(0,0,\\tfrac\{1\}\{4\},\\tfrac\{3\}\{4\}\)and the pooled table is\(34,14,14,74\)\(\\tfrac\{3\}\{4\},\\tfrac\{1\}\{4\},\\tfrac\{1\}\{4\},\\tfrac\{7\}\{4\}\)\. Precision is\(1,1,0\)\(1,1,0\)per class, with weights\(14,12,14\)\(\\tfrac\{1\}\{4\},\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\}\), pooled and weighted macro34\\tfrac\{3\}\{4\}, unweighted macro23\\tfrac\{2\}\{3\}\. Recall is\(1,23,undefined\)\(1,\\tfrac\{2\}\{3\},\\text\{undefined\}\)with weights\(14,34,0\)\(\\tfrac\{1\}\{4\},\\tfrac\{3\}\{4\},0\), pooled and weighted macro34\\tfrac\{3\}\{4\}; the macro recall is56\\tfrac\{5\}\{6\}\(exclude\),59\\tfrac\{5\}\{9\}\(zero\), undefined \(nan\);𝒖=\(1,1,0\)\\bm\{u\}=\(1,1,0\)\.
*Delayed labels \(Example[4](https://arxiv.org/html/2611.21914#Thmexample4)\)\.*In the window, instance55is verified,66and88are pending, and77is never labelled\. The verified part is132\(0,0,0,0,8,0,0,0,0\)\\tfrac\{1\}\{32\}\(0,0,0;\\,0,8,0;\\,0,0,0\), the interim part is132\(6,1,1,1,6,1,1,1,6\)\\tfrac\{1\}\{32\}\(6,1,1;\\,1,6,1;\\,1,1,6\), so that𝑪\(8\)=132\(6,1,1,1,14,1,1,1,6\)\\bm\{C\}\(8\)=\\tfrac\{1\}\{32\}\(6,1,1;\\,1,14,1;\\,1,1,6\)with mass11; the oracle is132\(8,0,0,0,16,8,0,0,0\)\\tfrac\{1\}\{32\}\(8,0,0;\\,0,16,8;\\,0,0,0\)and the difference is132\(2,−1,−1,−1,2,7,−1,−1,−6\)\\tfrac\{1\}\{32\}\(2,\-1,\-1;\\,\-1,2,7;\\,\-1,\-1,\-6\), equal to the right\-hand side of Eq\. \([34](https://arxiv.org/html/2611.21914#S4.E34)\)\. Recalls \(oracle,𝑪\(8\)\\bm\{C\}\(8\), verified only\) areAA:11,34\\tfrac\{3\}\{4\}, undefined;BB:23\\tfrac\{2\}\{3\},78\\tfrac\{7\}\{8\},11;CC: undefined,34\\tfrac\{3\}\{4\}, undefined\. For the label\-side denominators the verified support is\(0,1,0\)\(0,1,0\)and the coverage\(0,12,0\)\(0,\\tfrac\{1\}\{2\},0\); the macro recall under the verified support is78\\tfrac\{7\}\{8\}\(exclude\),724\\tfrac\{7\}\{24\}\(zero\), undefined \(nan\)\. The column sums of𝑪\(8\)\\bm\{C\}\(8\)and of the oracle are both\(14,12,14\)\(\\tfrac\{1\}\{4\},\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\}\)\. The marginal defect of the stand\-in of instance77is\(0,32,1\)\(0,\\tfrac\{3\}\{2\},1\)for \(product, minimum, Łukasiewicz\) against the soft prediction\(18,18,34\)\(\\tfrac\{1\}\{8\},\\tfrac\{1\}\{8\},\\tfrac\{3\}\{4\}\), and\(0,0,0\)\(0,0,0\)against the hard one\. The correction for instance66is132\(2,0,0,−1,0,0,−1,0,0\)\\tfrac\{1\}\{32\}\(2,0,0;\\,\-1,0,0;\\,\-1,0,0\)under the window and164\(2,0,0,−1,0,0,−1,0,0\)\\tfrac\{1\}\{64\}\(2,0,0;\\,\-1,0,0;\\,\-1,0,0\)under fading att=8t=8; the fading weights of instances66and88are18\\tfrac\{1\}\{8\}and12\\tfrac\{1\}\{2\}, and the eviction age forε=132\\varepsilon=\\tfrac\{1\}\{32\}iss∗=5s^\{\\ast\}=5\.
*Label shift \(Examples[5](https://arxiv.org/html/2611.21914#Thmexample5)and[6](https://arxiv.org/html/2611.21914#Thmexample6)\)\.*With rows\(34,14,0\)\(\\tfrac\{3\}\{4\},\\tfrac\{1\}\{4\},0\),\(0,34,14\)\(0,\\tfrac\{3\}\{4\},\\tfrac\{1\}\{4\}\),\(14,0,34\)\(\\tfrac\{1\}\{4\},0,\\tfrac\{3\}\{4\}\)and the prior\(12,14,14\)→\(12,18,38\)\(\\tfrac\{1\}\{2\},\\tfrac\{1\}\{4\},\\tfrac\{1\}\{4\}\)\\to\(\\tfrac\{1\}\{2\},\\tfrac\{1\}\{8\},\\tfrac\{3\}\{8\}\), the values of\(RecallA,SpecificityA,PrecisionA,F1A\)\(\\mathrm\{Recall\}\_\{A\},\\mathrm\{Specificity\}\_\{A\},\\mathrm\{Precision\}\_\{A\},F\_\{1\}^\{A\}\)are\(34,78,67,45\)\(\\tfrac\{3\}\{4\},\\tfrac\{7\}\{8\},\\tfrac\{6\}\{7\},\\tfrac\{4\}\{5\}\)before and\(34,1316,45,2431\)\(\\tfrac\{3\}\{4\},\\tfrac\{13\}\{16\},\\tfrac\{4\}\{5\},\\tfrac\{24\}\{31\}\)after\. The change ofF1AF\_\{1\}^\{A\}is−4155\-\\tfrac\{4\}\{155\}, and the midpoint concept term is−963721\-\\tfrac\{96\}\{3721\}with prior term00\. The accumulated recall of the example in Example[5](https://arxiv.org/html/2611.21914#Thmexample5)is58\\tfrac\{5\}\{8\}\.相似文章
过采样何时有效?标签延迟与概念漂移下不平衡数据流的决策框架
该论文提出了一个决策框架,用于预测在存在标签延迟和概念漂移的不平衡数据流中,流式过采样何时能比持续重新评估带来额外价值,并在合成和真实数据流上使用15种分类器进行了评估。
从流式时间序列中建模时滞系统的动态混合
本文提出一种在线框架,将流式时间序列建模为时滞系统的动态混合,通过总结系统张量和张量分解应对机制转变和内存限制。
当遗忘伪装成提升:流式说话人分离模型适配中的指标遮蔽现象与复现回放的代价
本文研究流式说话人分离模型(Streaming Sortformer v2)在小数据适配时出现的'看似提升实则遗忘'现象,揭示聚合指标(DER)掩盖的身份一致性退化,并探讨rehearsal在恢复与跨域迁移之间的权衡。
概念漂移下针对不平衡数据流的推理时先验自适应
提出 PAI-KNN,一种通过推理时先验调整而非内存修改来适应概念漂移与类不平衡的 KNN 数据流分类器,在合成数据流基准上取得了与最先进方法竞争的性能。
FlexCast:面向时间序列基础模型的灵活上下文学习
FlexCast 提出一种灵活的上下文-目标学习框架,将时间序列基础模型的可变上下文条件化与自回归分解解耦,通过动态采样可见上下文和掩码目标的掩码预测实现统一的掩码-预测接口,在保持有竞争力精度的同时显著降低推理延迟,并表明自回归模型的关键收益来自灵活训练而非顺序推理。