Skip to content

About

Lightweight monitoring of ML model drift using interpretable statistical signals.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Driftlite: Lightweight AI Behavior Monitoring

License: MIT Python 3.8+

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.

🔬 Research Focus

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.

🚀 Key Features

  • 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.

🛠️ Installation

git clone https://github.com/ThryLox/drift-research.git
cd drift-research
pip install -r requirements.txt

📊 Quick Start

Run the core experiment to see drift detection in action:

# Sets up PYTHONPATH to include the package
$env:PYTHONPATH = "."
python driftlite/experiments/run_drift_experiment.py

📂 Project Structure

  • driftlite/: 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.

📜 References

If you use this work in your research, please cite our preprint located in the Initial Research folder.


Created by ThryLox

About

Lightweight monitoring of ML model drift using interpretable statistical signals.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages