Driftlite is a lightweight, academic-focused tool for monitoring data drift in machine learning systems. It prioritizes interpretability by using classical statistical signals (Population Stability Index and Kolmogorov-Smirnov Test) to provide "early warning" signals when production data deviates from training distributions.
This project accompanies the preprint: "Lightweight Monitoring of AI System Drift Using Interpretable Statistical Signals".
The research investigates two primary axes:
- Axis A (Detection Sensitivity): How reliably can PSI and KS-Test identify distribution shifts?
- Axis B (Model Performance Impact): Quantifying the correlation between detected feature drift and actual accuracy degradation.
Check out the Initial Research folder for the full paper and technical reports.
- Lightweight Statistics: Zero-dependency (beyond standard SciPy/NumPy) implementation of PSI and KS-Test.
- Drift Simulation: Realistic simulation of distribution shifts, noise, and label corruption.
- Professional Reporting: Automated Markdown generation with distribution plots and performance delta analysis.
- Model Agnostic: Works with any Scikit-learn compatible model.
git clone https://github.com/ThryLox/drift-research.git
cd drift-research
pip install -r requirements.txtRun the core experiment to see drift detection in action:
# Sets up PYTHONPATH to include the package
$env:PYTHONPATH = "."
python driftlite/experiments/run_drift_experiment.pydriftlite/: Core package containing monitors, model wrappers, and data loaders.Initial Research/: Contains the academic preprint (PDF/LaTeX) and detailed technical reports.requirements.txt: Project dependencies.
If you use this work in your research, please cite our preprint located in the Initial Research folder.
Created by ThryLox