WEBVTT

1
00:00:00.000 --> 00:00:03.100
Hello, everyone, I’m Weikai Yang from Tsinghua University.

2
00:00:03.100 --> 00:00:05.066
Today I’d like to introduce our work:

3
00:00:05.066 --> 00:00:07.866
"Diagnosing Concept Drift with Visual Analytics."

4
00:00:07.866 --> 00:00:13.332
This is joint work with Zhen, Mengchen, Yafeng, Kelei, Ross, and Shixia.

5
00:00:13.600 --> 00:00:16.600
The classifier trained on the historical data may fail to

6
00:00:16.600 --> 00:00:20.833
classify the incoming data when the data distribution is changing.

7
00:00:20.833 --> 00:00:23.133
This phenomenon is called concept drift.

8
00:00:23.233 --> 00:00:27.233
We want to help experts understand when, where, and why drift happens,

9
00:00:27.233 --> 00:00:29.333
and make adaptation to the drift.

10
00:00:29.733 --> 00:00:32.666
However, in practice, we meet three challenges.

11
00:00:33.000 --> 00:00:35.066
The labels are usually inaccessible,

12
00:00:35.066 --> 00:00:37.899
so we need a distribution-based detection method

13
00:00:37.900 --> 00:00:39.333
that does not require the labels.

14
00:00:39.700 --> 00:00:43.966
However, these detection methods only provide a numerical drift value,

15
00:00:43.966 --> 00:00:45.832
which is hard-to-understand.

16
00:00:45.833 --> 00:00:50.266
A drift analysis method can help understand where and why the drift happens.

17
00:00:50.666 --> 00:00:52.599
After experts confirmed the drift,

18
00:00:52.600 --> 00:00:56.066
they usually need to label some data and retrain the model,

19
00:00:56.066 --> 00:00:57.632
which is still costly.

20
00:00:57.633 --> 00:01:02.366
A light-weight drift adaptation method is favored to reduce the labeling effort.

21
00:01:02.900 --> 00:01:05.966
Here comes the system overview of DriftVis.

22
00:01:05.966 --> 00:01:09.099
When new data comes, we use the energy distance

23
00:01:09.100 --> 00:01:13.400
to calculate the difference between the historical data and the incoming data.

24
00:01:13.400 --> 00:01:18.133
We also use an incremental GMM to alleviate the over-estimation problem,

25
00:01:18.133 --> 00:01:20.066
which will be introduced later.

26
00:01:20.066 --> 00:01:24.166
The GMM is also used to help generate the t-SNE scatterplot

27
00:01:24.166 --> 00:01:29.566
to support experts in exploring the spatial distribution of data to gain more insights.

28
00:01:29.966 --> 00:01:32.132
After experts confirm the drift,

29
00:01:32.133 --> 00:01:34.999
they can label some data and build a new base learner,

30
00:01:35.000 --> 00:01:37.866
which will be added into an ensemble model.

31
00:01:38.500 --> 00:01:40.866
Before we go to the technical details,

32
00:01:40.866 --> 00:01:44.732
I would like to show a case study about weather prediction to demonstrate

33
00:01:44.733 --> 00:01:49.966
how to use DriftVis for detection, examination, and correction of concept drift.

34
00:01:49.966 --> 00:01:54.299
In this case, we identify several seasonal drifts in the first year,

35
00:01:54.300 --> 00:01:57.600
and two occasional drifts after having four seasons.

36
00:01:58.233 --> 00:02:02.633
The seasonal drifts happen because the incoming data are from the new season,

37
00:02:02.633 --> 00:02:05.066
which is not covered by the training data.

38
00:02:06.000 --> 00:02:09.966
The initial model is trained on data in the summer of 1949.

39
00:02:09.966 --> 00:02:13.132
The data comes in daily, and after 15 days,

40
00:02:13.133 --> 00:02:17.899
the expert sees the drift degree reaches 0.2 and steps in to analyze.

41
00:02:19.266 --> 00:02:24.232
She finds that these new data are on the boundary with relatively lower temperature,

42
00:02:24.233 --> 00:02:28.299
so she selects these data to build a new base learner

43
00:02:28.300 --> 00:02:31.866
and adds it into the ensemble model to adapt the drift.

44
00:02:31.966 --> 00:02:36.266
She analyzes the following days using the same way until Oct. 23,

45
00:02:36.266 --> 00:02:39.166
when the expert identifies a new Gaussian component.

46
00:02:39.166 --> 00:02:41.866
However, the drift degree is not large because

47
00:02:41.866 --> 00:02:47.066
many data in the components have been added into the model in previous adaptation.

48
00:02:47.200 --> 00:02:51.200
In the following days, the new data fall into the yellow component,

49
00:02:51.200 --> 00:02:53.100
and the drift degree increases.

50
00:02:53.100 --> 00:02:55.633
Using the data in the yellow component,

51
00:02:55.633 --> 00:02:59.199
she creates a new base learner and replaces the old one.

52
00:02:59.200 --> 00:03:01.400
The expert keeps exploring.

53
00:03:01.400 --> 00:03:05.966
After a while, on Dec. 11, the drift degree increases rapidly,

54
00:03:05.966 --> 00:03:07.999
and a green component appears.

55
00:03:08.000 --> 00:03:11.833
Similar to how she handled the occurrence of the yellow component,

56
00:03:11.833 --> 00:03:15.599
she first builds a new base learner with available data in the green component

57
00:03:15.600 --> 00:03:18.900
and updates the model.

58
00:03:19.200 --> 00:03:24.500
In late January, the fourth Gaussian component appears on Jan. 31.

59
00:03:24.500 --> 00:03:29.133
She comments that these data in purple share a similar pattern to the green component

60
00:03:29.133 --> 00:03:32.966
like low temperature and high sea level pressure.

61
00:03:33.500 --> 00:03:37.866
So she decides to merge the purple component into the green component

62
00:03:37.866 --> 00:03:42.699
and uses all of the data in the green component to rebuild a base learner.

63
00:03:43.433 --> 00:03:47.899
The expert keeps analyzing the data and finds no more drift in this year.

64
00:03:48.666 --> 00:03:50.599
The expert continues the analysis and

65
00:03:50.600 --> 00:03:53.833
finds some occasional drifts after having four seasons.

66
00:03:54.666 --> 00:03:59.499
The drift degree stays under or around 0.1 until July,

67
00:03:59.500 --> 00:04:04.533
and she sees some yellow points are projected in the blue density area.

68
00:04:04.533 --> 00:04:08.799
These days have high max temperatures and low sea level pressures,

69
00:04:08.800 --> 00:04:13.533
which could be extreme days in the summer when comparing to the historical data.

70
00:04:13.533 --> 00:04:17.666
She merges these yellow points into the blue component

71
00:04:17.666 --> 00:04:21.199
and replaces the base learner for the blue component.

72
00:04:21.833 --> 00:04:26.933
She moves on and finds that most of the data fall in the blue component,

73
00:04:26.933 --> 00:04:29.899
and the corresponding base learner is reused.

74
00:04:29.900 --> 00:04:33.766
The drift degree goes up in mid-September 1950.

75
00:04:33.766 --> 00:04:38.032
The points are not projected outside of the density areas,

76
00:04:38.033 --> 00:04:43.266
but the expert examines the density difference and finds some red grids,

77
00:04:43.266 --> 00:04:45.099
which means higher density.

78
00:04:45.100 --> 00:04:49.966
The corresponding data has small temperature differences between day and night.

79
00:04:49.966 --> 00:04:52.066
Seeing this as a new pattern,

80
00:04:52.066 --> 00:04:58.032
she builds a base learner using all current blue component data and replaces the old one.

81
00:04:59.533 --> 00:05:01.866
After demonstrating the case study,

82
00:05:01.866 --> 00:05:04.399
I would like to introduce some technical details.

83
00:05:05.300 --> 00:05:08.766
For drift detection, we choose the energy distance

84
00:05:08.766 --> 00:05:11.232
to quantify the difference between two distributions.

85
00:05:11.233 --> 00:05:14.799
This metric can be calculated directly from the samples.

86
00:05:14.800 --> 00:05:18.800
Here A is the average distance between two groups of samples,

87
00:05:18.800 --> 00:05:22.100
B and C are the average distance within the group.

88
00:05:22.100 --> 00:05:25.566
However, directly calculating the energy distance

89
00:05:25.566 --> 00:05:30.166
between all historical data and the incoming data may overestimate the drift.

90
00:05:30.166 --> 00:05:32.066
Take the weather data as an example.

91
00:05:32.066 --> 00:05:37.332
The drift will be large if we compare the incoming data with all historical data.

92
00:05:37.333 --> 00:05:42.433
However, the incoming data are already well covered by some historical data,

93
00:05:42.433 --> 00:05:44.599
and the previous model should work well.

94
00:05:44.600 --> 00:05:49.066
Therefore, we use an incremental GMM to partition the data into several groups,

95
00:05:49.066 --> 00:05:52.099
and then calculate the distance within each group.

96
00:05:52.666 --> 00:05:55.366
We also conducted a quantitative experiment

97
00:05:55.366 --> 00:05:58.366
to evaluate the effectiveness of our drift detection method.

98
00:05:58.366 --> 00:06:02.999
The result shows that our algorithm can detect more drift with lower latency.

99
00:06:04.200 --> 00:06:08.100
In drift analysis, the scatterplot is a key component

100
00:06:08.100 --> 00:06:10.400
to help explore and understand the drift.

101
00:06:11.433 --> 00:06:16.699
We proposed GMM-based constrained t-SNE to improve the readability of the scatterplot.

102
00:06:16.700 --> 00:06:19.366
The first target is to reduce visual clutter.

103
00:06:19.366 --> 00:06:21.366
We use supervised t-SNE,

104
00:06:21.366 --> 00:06:26.299
and the idea is to shrink the distance between samples in the same gaussian components.

105
00:06:26.300 --> 00:06:29.766
The components with higher variances will shrink more.

106
00:06:29.766 --> 00:06:33.466
The second target is to improve stability when new data comes.

107
00:06:33.466 --> 00:06:36.632
To achieve this we modify the objective function.

108
00:06:36.633 --> 00:06:40.299
The first term is the original optimization goal of t-SNE,

109
00:06:40.300 --> 00:06:42.300
which minimizes the difference between

110
00:06:42.300 --> 00:06:46.933
high dimensional distribution P and low dimensional distribution Q.

111
00:06:47.266 --> 00:06:49.599
The second term is the shape constraints,

112
00:06:49.600 --> 00:06:53.566
which preserve the distance between samples and the center of components.

113
00:06:53.566 --> 00:06:56.166
The third term is the position constraints,

114
00:06:56.166 --> 00:06:59.766
which is achieved by sampling some data as constraint points,

115
00:06:59.766 --> 00:07:03.866
and preserving the distance between samples and constraint points.

116
00:07:04.700 --> 00:07:08.266
For drift adaptation, we use an ensemble model,

117
00:07:08.266 --> 00:07:13.399
which provides the flexibility to replace some of the base learners while keeping the others.

118
00:07:13.400 --> 00:07:16.100
So the experts only need to label a few data

119
00:07:16.100 --> 00:07:18.566
to build a new base learner to adapt to the drift.

120
00:07:18.566 --> 00:07:21.532
To conclude our work, we developed DriftVis

121
00:07:21.533 --> 00:07:25.533
to support the detection, examination, and correction of concept drift.

122
00:07:25.533 --> 00:07:28.866
We use the energy distance to detect the drift without labels,

123
00:07:28.866 --> 00:07:32.932
and constrained t-SNE to generate the scatterplot for drift analysis.

124
00:07:32.933 --> 00:07:38.433
In our future work, we plan to generalize DriftVis into other tasks besides classification.

125
00:07:38.433 --> 00:07:40.899
Analyzing other types of concept drift,

126
00:07:40.900 --> 00:07:45.733
for example, the drift caused by the label change, is also an important future work.

127
00:07:45.733 --> 00:07:49.533
Thank you for listening. I am happy to answer any questions.

