When a deployed classifier meets concept drift, meaning the world changes so that yesterday's model starts making more mistakes, the field usually reports one number: accuracy averaged over the whole stream. That number cannot answer the question an operator actually asks: did the system stay inside its requirement, and if it fell out, how long did it take to come back? This proposal measures stream-learning methods against an explicit operational requirement, such as "malware recall must stay above 90%". Performance is rescaled so that 0 means "exactly at the requirement" and 1 means "nominal". Time is counted in units of the drift detector's own minimum window. Both rescalings make the score dimensionless, so a malware stream and an electricity-price stream can be compared on the same scale.
The measurement also gives us a control signal. A cheap online estimate of how many detector windows remain before the requirement is breached can decide which repair to apply. A slow, large repair, such as retraining the model, is chosen only when there is time for it. A fast, small repair, such as swapping the examples held in a foundation model's memory, is chosen when time is short. The two-sentence version is this. Score drifting systems by how much of their requirement margin they spend and how quickly they recover it, in units that transfer across domains. Then use the remaining margin to pick among interchangeable repair modules.
Core Claim
We claim two things. First, ranking drift-adaptation methods by requirement-relative, time-normalized resilience gives materially different orderings than prequential accuracy or raw drift kinetics. These orderings better predict which method will breach a requirement on held-out drift episodes. Second, a controller that picks repairs using an online estimate of time to violation will incur less requirement violation than the best single fixed repair policy. This should hold most clearly on streams where the right kind of repair changes over time.
The metric borrows the logic-based construction of A logic-based resilience metric for water resource recovery facilities. That paper turns regulatory limits into Signal Temporal Logic robustness, a signed distance to violating a rule, normalized to $[0,1]$. It does this for an offline wastewater simulator and leaves the recovery window $T$ as an arbitrary user choice. We carry the construction to learned models on data streams, and we derive the window from the stream rather than choosing it.
Let $p(t)$ be a windowed performance signal, such as recall over the last $w$ labelled examples. Let $\tau$ be the requirement threshold and $p^\ast$ the nominal pre-drift performance. Requirement-relative robustness is defined as
$$\rho(t)=\mathrm{clip}\!\left(\frac{p(t)-\tau}{p^\ast-\tau},\,-1,\,1\right).$$
Time is measured as $s=t/w$, where $w$ is the smallest window at which the chosen detector controls false alarms. For example, Sequential Covariate Shift Detection Using Classifier Two-Sample Tests needs $w\ge 201$ for a 1% bound. For each drift episode, the score is violation mass $V=\int \max(0,-\rho(s))\,ds$ together with recovery time $s_r$, the first $s$ after which $\rho$ stays nonnegative.
The online control signal is a projected time-to-violation budget:
$$B(s)=\frac{\rho(s)}{\max(\epsilon,\,-\hat{\dot\rho}(s))},$$
where $\hat{\dot\rho}$ is the estimated rate at which robustness is falling and $\epsilon$ is a small constant that keeps the ratio finite. The idea of reasoning in time budgets comes from POSTER: A Common Framework for Resilient and Safe Cyber-Physical System Design. That work computes, with barrier certificates, how long a single plant with polynomial dynamics can stay corrupted before it becomes unsafe. We replace the certificate with a statistical estimate on a learned model's performance signal. We give up its formal guarantee in exchange for applicability to streams.
Positioning
Three groups of prior work bracket this idea.
The first group motivates it by measuring drift kinetics without a common scale. Standardized Evaluation of Machine Learning Methods for Evolving Data Streams (the float framework) defines Drift Performance Deterioration and Drift Restoration Time. It reports that the same Hoeffding Tree's accuracy varies by over 13% across papers, and that simpler learners can recover faster than more accurate ones. Its metrics are raw differences in accuracy relative to the model's own baseline, with no requirement threshold and no shared time unit. The second limitation is the one we fix.
The second group supplies concepts without empirical machinery. Disentangling Resilience from Robustness formalizes performance-loss area, recovery time, and working/failure transition rates on a two-state toy model. It argues that systems should sometimes accept a dip in order to recover cheaply. Our requirement-relative scale makes that argument operational, because a dip that stays above $\tau$ costs nothing. Niu et al., by contrast, constrain the design: in safety-critical settings a dip that crosses the requirement is a failure. We therefore treat violation mass, not dip depth, as the primary cost.
The third group supplies the repair modules being chosen among. Adaptive random forests for evolving data stream classification grows background trees on a warning signal and swaps them in on a drift signal, but this policy is wired into the forest. Bounded Context Management for Tabular Foundation Models on Stream Learning (CURE) keeps the model's weights frozen and curates a 1,000-example context memory. It reports gains of up to +19.59 points over classical learners, at 0.0024 s per example. LAMDA points the other way: when feature meanings themselves go stale, frozen representations collapse, with LightGBM F1 falling from 97.49% to 47.24%. We read the conflict between CURE and LAMDA as evidence that no single repair is right everywhere. That is exactly the situation in which a budget-driven chooser should help, and the experiments test it directly.
Research Program
We will build a small modular stream harness in the style of float, with four interfaces. The first is a monitor, implemented with either the incremental Kolmogorov–Smirnov test of Fast Unsupervised Online Drift Detection Using Incremental Kolmogorov-Smirnov Test or the sequential two-sample classifier test of Jang et al. The second is a budget estimator, which computes $B(s)$ from delayed labels and uses the monitor's alarm to start the estimate before labels arrive. The third is a repair library, offering three actions: context-memory refresh in the style of CURE, a background shadow learner in the style of ARF, and a full retrain on recent data. The fourth is an evaluator that computes $V$ and $s_r$.
Modularity is not the contribution here. It is what makes switching among repairs possible, and it ensures every baseline runs on identical data loading, label-delay simulation, and compute accounting.
The controller is deliberately simple. Each repair action has a measured time to take effect, in detector windows. The controller applies the cheapest action whose time to take effect is less than $B(s)$. If $\rho$ does not improve within that horizon, it moves up to the next action. We will analyze two questions. First, how sensitive the rankings are to the choice of $\tau$; we report results over a sweep of thresholds rather than a single value. Second, how often label delay makes $B(s)$ dangerously optimistic.
Baselines
The naive reference is a static model with no adaptation. On LAMDA this is the LightGBM setup whose F1 degrades from 97.49% to 47.24%, with false negative rate rising from 1.47% to 64.10%, as reported in LAMDA. We reproduce it inside the harness so that violation mass for doing nothing is measured, not assumed.
The detector-triggered replacement baseline uses IKS with model replacement on alarm, as in dos Reis et al. That paper reports matching full-label accuracy while acquiring only 42%–47% of labels. It is the simplest credible adaptive policy.
ARF is the strongest classical stream learner in the file, but no reported absolute accuracy on Lacuna is available for its benchmarks. We run it with its published hyperparameters (Poisson λ=6, subspace size √M+1) and an equal tuning budget.
CURE is the strongest existing method on tabular streams. Its reported margin over the best classical baseline is +19.59 percentage points prequential accuracy on RIALTO and +19.31 on METER (from the CURE paper). No reported result was found on Lacuna for CURE on LAMDA. Every method gets the same 1,000-example context or memory budget, the same label-delay schedule, and the same per-example compute ceiling.
The best fixed repair in hindsight is chosen per stream with oracle knowledge. This is the bar the controller has to clear.
Two ablations isolate the key ingredients. The first gives the controller a baseline-relative objective with no $\tau$, which tests whether the requirement anchoring matters. The second removes the budget and triggers repairs on detector alarms alone, which tests whether time-to-violation adds anything beyond detection.
Beating the field means two things. The controller must achieve lower median violation mass than the hindsight-best fixed policy on at least the streams where CURE and full retraining trade places. Its prequential accuracy must also stay within noise of CURE on the CURE streams.
Why not just…?
Why not just divide DPD and DRT from float by pre-drift accuracy? That makes the dip depth a ratio, but it leaves time in raw samples and gives no notion of "acceptable". A 10% dip that never crosses the requirement then scores the same as one that does. This alternative is a genuine threat to the metric claim. We include it as an explicit comparator and test it head on: we check whether its rankings predict held-out requirement breaches as well as ours do. If they do, the metric half of this proposal is unnecessary, and we will say so.
Why not just always use CURE, or always retrain? If one repair dominates on every stream, the controller adds nothing. The CURE paper's claim that frozen weights plus curated context beat retraining, set against LAMDA's evidence that frozen features become obsolete, suggests that dominance flips between streams. The hindsight-best fixed-policy baseline settles this directly. If the controller fails to beat it, the second claim is false.
Why not just trigger repairs on detector alarms, as ARF and IKS replacement already do? Detectors say that the inputs shifted, not how urgently performance is heading toward the requirement. Covariate shift can also be harmless, which is where the detectors' false alarms and blind spots come from. The no-budget ablation measures exactly this. If it matches the full controller, the budget estimate is redundant.
Proposed Experiments
We run four benchmark families, each simulated with label delay. LAMDA uses its NEAR and FAR splits, with a recall requirement on malware. The CURE tabular streams (RIALTO, METER, NOAA, AGR(A)) use accuracy requirements. The IKS suite (Insects, Abrupt Insects, Posture) and TüEyeQ through float cover gradual and abrupt drift. Each stream is segmented into drift episodes. We tune on early episodes and evaluate violation mass, recovery time, prequential accuracy, and compute on later ones.
The first decisive check is rank disagreement with held-out validity. We compute the Kendall correlation between method rankings under prequential accuracy, under normalized DPD/DRT, and under our metric. We then ask which ranking from earlier episodes best predicts the requirement breaches that actually occur in later episodes.
The second decisive check is switching value. We compare the controller's violation mass against the hindsight-best fixed policy and both ablations. We expect retraining to be selected mostly on LAMDA FAR and context refresh mostly on METER. If that pattern does not appear, the controller is not exploiting heterogeneity in which repair is right.
The third check is cross-domain transfer. We fit the action-switching thresholds on the tabular streams and apply them unchanged to LAMDA. If time normalization by detector window is what makes the scale dimensionless, the thresholds should transfer with modest loss. If they need retuning, the dimensionless claim is weaker than stated.
References
- A logic-based resilience metric for water resource recovery facilities
- Sequential Covariate Shift Detection Using Classifier Two-Sample Tests
- POSTER: A Common Framework for Resilient and Safe Cyber-Physical System Design
- Standardized Evaluation of Machine Learning Methods for Evolving Data Streams
- Disentangling Resilience From Robustness: Contextual Dualism, Interactionism, and Game-Theoretic Paradigms
- Adaptive random forests for evolving data stream classification
- Bounded Context Management for Tabular Foundation Models on Stream Learning
- LAMDA: A Longitudinal Android Malware Benchmark for Concept Drift Analysis
- Fast Unsupervised Online Drift Detection Using Incremental Kolmogorov-Smirnov Test