A Temporal Algebraic Framework for Data Stream Evaluation Under Delayed Labels and Distribution Shifts
Ronaldo C. Prati, Elaine Ribeiro de Faria
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Yet Another Concept Drift Benchmark? A Principled Framework for Evaluating Drift DetectorsarXiv · 2026
- When Does Oversampling Help? A Decision Framework for Imbalanced Data Streams Under Label Delay and Concept DriftarXiv · 2026
- The Blind Spot Paradox: When Adaptive Classifiers Defeat Drift DetectorsarXiv · 2026
- Inference-Time Prior Adaptation for Imbalanced Data Streams under Concept DriftarXiv · 2026
- In a Streaming World, Should You Stand Still? A Comprehensive Benchmark of Anomaly Detection in StreamsarXiv · 2026
- Bounded Retained History in a Proxy Flow Replay: A Mixed Predictive Pilot and an Allocation StudyarXiv · 2026