3
$\begingroup$

I've created a model that has recently started suffering from drift.

I believe the drift is due to changes in the dataset but I don't know how to show that quantitatively.

What techniques are typically used to analyze and explain model (data) drift?

Extra:

The data is Tabular.

$\endgroup$

2 Answers 2

2
$\begingroup$

It depends about what type of data are we talking: tabular, image, text...

This is part of my PhD, so I am completely biased, I will suggest Explanation Shift. (I would love some feedback). It works well on tabular data.

In the related work section one can find other approaches.

The main idea under "Explanation Shift" is seeing how does distribution shift impact the model behaviour. By this we compare how the explanations (Shapley values) look on test set and on the supposed Out-Of-Distribution data.

The issue is that in the absence of the label of OOD data, (y_ood) one can not estimate the performance of the model. There is the need to either provide some samples of y_ood, or to characterize the type of shift. Since you can't calculate peformance metrics the second best is to understand how the model has changed.

There is a well known library Alibi https://github.com/SeldonIO/alibi-detect That has other methods :)

$\endgroup$
5
  • $\begingroup$ Very cool! Thankyou, I'll read that today. Can you add a brief description of your explanation shift method. We're talking tabular data, I'll update the question! $\endgroup$
    – Connor
    Mar 17 at 7:44
  • $\begingroup$ I already have comments! Is to possible to add them to ArXiv? $\endgroup$
    – Connor
    Mar 17 at 7:52
  • 1
    $\begingroup$ How about a GitHub Issue? Thanks :) Is part of my research thank you! github.com/nobias-project/nobias $\endgroup$ Mar 17 at 8:11
  • 1
    $\begingroup$ If you want to know more about DataSet Shift you might want to check this book: cs.nyu.edu/~roweis/papers/invar-chapter.pdf $\endgroup$ Mar 17 at 8:12
  • 1
    $\begingroup$ Or this video youtube.com/… $\endgroup$ Mar 17 at 8:12
1
$\begingroup$

One way to start is fundamental exploratory data analysis.

Compare univariate, bivariate, and multivariate distributions between training data and new data. Those comparisons can be done visually, qualitatively, and quantitatively.

The exact methods would depend on the data type of the features of the tabular dataset. One concrete example is the K-L divergence between two continuous distributions.

$\endgroup$
1
  • $\begingroup$ What is the K-L divergence? What does it tell you? $\endgroup$
    – Connor
    Mar 18 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.