Detecting Dataset Drift and Non-IID Sampling via k-Nearest Neighbors
Authors:
- Jesse CummingsJCJesse Cummings
- Elías SnorrasonESElías Snorrason
- Jonas MuellerJMJonas Mueller
Preprint
Abstract
We present a straightforward statistical test to detect certain violations of the assumption that the data are Independent and Identically Distributed (IID). The specific form of violation considered is common across real-world applications: whether the examples are ordered in the dataset such that almost adjacent examples tend to have more similar feature values (e.g. due to distributional drift, or attractive interactions between datapoints). Based on a k-Nearest Neighbors estimate, our approach can be used to audit any multivariate numeric data as well as other data types (image, text, audio, etc.) that can be numerically represented, perhaps with model embeddings. Compared with existing methods to detect drift or auto-correlation, our approach is both applicable to more types of data and also able to detect a wider variety of IID violations in practice. Code: https://github.com/cleanlab/cleanlabKeywords
All Related Versions
This publication has 18 references indexed in Scilit:
- Concept Drift Detection in Data Stream Mining : A literature reviewJournal of King Saud University Computer and Information Sciences, 2022
- Beyond i.i.d.: Non-IID Thinking, Informatics, and LearningIEEE Intelligent Systems, 2022
- Concept learning using one-class classifiers for implicit drift detection in evolving data streamsArtificial Intelligence Review, 2020
- Diversity measure as a new drift detection method in data streamingKnowledge-Based Systems, 2020
- Modeling Persistent Trends in DistributionsJournal of the American Statistical Association, 2018
- Accumulating regional density dissimilarity for concept drift detection in data streamsPattern Recognition, 2018
- Detecting concept drift in data streams using model explanationExpert Systems with Applications, 2018
- RDDM: Reactive drift detection methodExpert Systems with Applications, 2017
- Dynamic Clustering Forest: An ensemble framework to efficiently classify textual data stream with concept driftInformation Sciences, 2016
- Characterizing concept driftData Mining and Knowledge Discovery, 2016