Data Drift
Last updated
Last updated
Β© 2024 Fiddler Labs, Inc.
Model performance can be poor if models trained on a specific dataset encounter different data in production. This is called data drift.
Track data drift for inputs, outputs, and custom features
Fiddler supports the following:
Drift Metrics
Population Stability Index (PSI)
A drift metric based on the multinomial classification of a variable into bins or categories. The differences in each bin between the baseline and the time period of interest are then utilized to calculate it as follows:
π§ Note
There is a possibility that PSI can shoot to infinity. To avoid this, PSI calculation in Fiddler is done such that each bin count is incremented with a base_count=1. Thus, there might be a slight difference in the PSI values obtained from manual calculations.
Average Values β The mean of a field (feature or prediction) over time. This can be thought of as an intuitive drift score.
Drift Analytics β You can drill down into the features responsible for the prediction drift using the table at the bottom.
Feature Impact: The contribution of a feature to the modelβs predictions, averaged over the baseline. The contribution is calculated using random ablation feature impact.
Feature Drift: Drift of the feature, calculated using the drift metric of choice.
Prediction Drift Impact: A heuristic calculated using the product of the feature impact and the feature drift. The higher the score, the more this feature is likely to have contributed to the prediction drift.
Data drift is a great proxy metric for performance decline, especially if there is delay in getting labels for production events. (e.g. In a credit lending use case, an actual default may happen after months or years.)
Monitoring data drift also helps you stay informed about distributional shifts in the data for features of interest, which could have business implications even if there is no decline in model performance.