A Temporal Algebraic Framework for Data Stream Evaluation Under Delayed Labels and Distribution Shifts
Ronaldo C. Prati, Elaine Ribeiro de Faria
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(m2) 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.
Create a lesson
Related papers
Realistic Robustness Evaluation of Tabular Data Driven Models
Shared title terminology · Miguel Silva, Eva Maia, João Vitorino et al.
Parameter-Efficient Adaptation of Self-supervised Vision Backbones Survives Distribution Shift in Radar Micro-Doppler HAR
Shared title terminology · Keryan Chelouche, Petr Dobias, Nistor Grozavu et al.
What Interpolators Store and What They Express: An Information-Theoretic Framework for Benign Overfitting and Label-Free Model Selection
Shared title terminology · Nikolaos Nikolaou
An AI-Based OSSE Framework to Evaluate Learned Physical Consistency: A Multi-Model Study Using FourCastNet, Aurora, Prithvi WxC, and GraphCast
Shared title terminology · Yash Diggikar, Milton Halem, Aishwarya Raman
How Much Distribution Shift Can a Clustering Withstand? Exact Split and Merge Certificates for Structured Transports
Shared title terminology · Alisina Bayati, Srinivasa Salapaka, Shahriar Talebi
STORMGUIDE-FL: Stochastic Remote Guidance for Efficient Mining of Federated Streaming Data
Shared title terminology · Manuel Röder, Frank-Michael Schleif