1/27 System failure
2/27 System failure

Here’s another slightly different scenario.

You’ve trained a product recommendation model based on users’ click and purchase behavior on your ecommerce site.

3/27 System failure

On Black Friday, your server responsible for transactions and payments goes down whilst the web server remains up and running, so the model thinks that no one who clicks is buying anything.

4/27 System failure

It’s impossible to have models unlearn things that have already been learned but one thing you can do

5/27 System failure

is roll back the model’s state to a time prior to the data pollution

6/27 System failure

Of course, in order to do this, you will need infrastructure that

7/27 System failure

automatically creates and saves models as well as their meta information.

8/27 System failure

Here’s another scenario. You’ve trained a static product recommendation model which alone will determine which products users see when they are on the home page and when they are viewing individual products.

9/27 System failure

The model works by using purchasing behavior of other users.

10/27 System failure

After deploying it, user session time and conversion rate initially increase.

But, in the months that follow the release of the model, conversion rate and user session time steadily decline to slightly below the levels they were at before the launch of the model.

11/27 System failure

What went wrong?

12/27 System failure

Well, your model is not updating to

13/27 System failure

new users,

14/27 System failure

new products,

15/27 System failure

and new patterns in user preference.

16/27 System failure

Because the model only knows about

17/27 System failure

your older products,

18/27 System failure

it continues to recommend them long after they’ve fallen out of favor.

Ultimately, users simply ignored the recommendations altogether,

19/27 System failure

and made do with the site’s search functionality.

20/27 System failure

This “cold start” problem is common for this sort of recommendation model.

We’ll talk more about recommendation systems later in the course.

21/27 System failure

The solution here is to

22/27 System failure

dynamically retrain your model on newer data,

23/27 System failure

and also to understand the limits of your model.

24/27 System failure

Here’s one other scenario. You’ve deployed a statically-trained fraud detection model and its performance starts off good

25/27 System failure

but quickly degrades.

26/27 System failure

What’s gone wrong here?

27/27 System failure

In adversarial environments, where one party is trying to beat another, it’s particularly important to dynamically retrain the model, to keep up with the most recent strategies.