WEBVTT

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

00:00:04.000 --> 00:00:10.433
Today I’d like to introduce our work: “Diagnosing Ensemble Few-Shot Classifiers.”

00:00:11.366 --> 00:00:14.466
Few-shot classification aims to train a classifier

00:00:14.466 --> 00:00:17.199
with very few labeled samples,

00:00:17.200 --> 00:00:19.166
and that’s what we call “shots.”

00:00:19.900 --> 00:00:22.633
A promising way to do that is,

00:00:22.633 --> 00:00:28.499
the learners will process these images and measure the similarities between images.

00:00:28.500 --> 00:00:34.833
And the prediction is made based on the similarities between the sample and the shots.

00:00:35.433 --> 00:00:44.966
For example, this sample x will be classified as y3star since it looks very similar to x3star.

00:00:45.466 --> 00:00:53.299
From this process, we can see that the quality of learners and shots are the key factors

00:00:53.300 --> 00:00:56.066
to the success of few-shot classification.

00:00:56.066 --> 00:01:01.599
Including some poor-performing learners or low representative shots

00:01:01.600 --> 00:01:05.166
will hurt the performance of the ensemble model.

00:01:06.466 --> 00:01:09.899
Therefore, the key challenge is how to

00:01:09.900 --> 00:01:15.333
select high-quality learners and shots that produce good classification results.

00:01:16.433 --> 00:01:20.433
For learners, first, they should be well-performing.

00:01:20.433 --> 00:01:24.433
In addition, they should be diverse because

00:01:24.433 --> 00:01:29.399
combining multiple identical learners do not help improve the performance.

00:01:29.400 --> 00:01:33.066
But they also need to be cooperative so that

00:01:33.066 --> 00:01:37.766
they do not introduce too much contradiction and harm the performance.

00:01:38.666 --> 00:01:44.499
For shots, we would need to remove those shots that cannot well represent their class

00:01:44.500 --> 00:01:47.233
and add necessary new ones.

00:01:48.066 --> 00:01:53.666
However, manually tuning the selection is a tedious trial-and-error process,

00:01:53.666 --> 00:01:59.566
so we develop our visual analysis tool to facilitate this process.

00:02:00.100 --> 00:02:07.633
First, both tasks aim to find a small representative subset from a large collection,

00:02:07.633 --> 00:02:13.433
so we formulate them as sparse subset selection to automatically

00:02:13.433 --> 00:02:15.799
recommend learners and shots.

00:02:16.233 --> 00:02:20.233
However, the recommendations are not always perfect.

00:02:20.233 --> 00:02:26.166
For example, a learner that wrongly predicts some samples with high confidence

00:02:26.166 --> 00:02:33.032
may be recommended because it is mistaken as a well-performing learner for those samples.

00:02:34.333 --> 00:02:39.866
Therefore, we develop a visualization to explain the recommendation results and

00:02:39.866 --> 00:02:43.799
facilitate the interactive tuning of the selection.

00:02:44.733 --> 00:02:47.466
Here comes the system overview.

00:02:47.466 --> 00:02:54.066
Given a set of learners which can be extracted from the public available pretrained models,

00:02:54.066 --> 00:02:58.199
for example, downloaded from pytorch or tensorflow,

00:02:58.200 --> 00:03:04.566
and given a set of unlabeled samples and shots, the sparse subset selection module

00:03:04.566 --> 00:03:11.366
automatically recommends a subset of learners and a small set of representative shots.

00:03:11.366 --> 00:03:15.366
And they are used to build an ensemble model.

00:03:15.366 --> 00:03:21.666
Next, the matrix visualization illustrates the performance of the learners

00:03:21.666 --> 00:03:24.132
and helps adjust the selection.

00:03:24.133 --> 00:03:29.233
Users can also examine the quality of the shots in the scatterplot

00:03:29.233 --> 00:03:34.799
and replace the low-representative shots with the high-representative ones

00:03:34.800 --> 00:03:40.366
After these adjustments, the recommendation can also be updated

00:03:40.366 --> 00:03:44.166
and users can start a new round for analysis.

00:03:45.800 --> 00:03:50.233
Next, I’d like to introduce the sparse subset selection module.

00:03:52.100 --> 00:03:58.933
If we have defined the representation cost between each element ui and each element vj.

00:03:58.933 --> 00:04:05.999
sparse subset selection can find a small subset of U that can represent V best.

00:04:06.000 --> 00:04:11.933
Given a subset A, the representation cost will be the sum of the minimum cost

00:04:11.933 --> 00:04:16.799
that represents each vj using the elements in subset A.

00:04:16.800 --> 00:04:26.900
To penalize a large subset, we add a sparsity term, which is defined as the size of the subset.

00:04:26.900 --> 00:04:34.133
Using the binary variable zij to indicates whether ui is used to represent vj,

00:04:34.133 --> 00:04:37.066
we can rewrite this formulation.

00:04:37.066 --> 00:04:42.266
Then we relax them to a continuous optimization problem and

00:04:42.266 --> 00:04:44.866
solve it using the ADMM framework.

00:04:44.866 --> 00:04:51.032
We then extend it to recommend learners and shots, respectively.

00:04:51.033 --> 00:04:55.599
For more details about this part please refer to our paper.

00:04:56.733 --> 00:05:02.299
We then conducted a quantitative evaluation to see whether the recommended learners

00:05:02.300 --> 00:05:06.533
and shots can improve the performance of few-shot classification.

00:05:06.533 --> 00:05:11.466
The results show that using the recommended learners or shots alone

00:05:11.466 --> 00:05:13.899
can boost the performance,

00:05:13.900 --> 00:05:17.400
and combining them can further improve the performance.

00:05:18.266 --> 00:05:23.866
Next, we introduce our visualization that facilitate the understanding and

00:05:23.866 --> 00:05:27.166
interactive improvement of the selection.

00:05:27.166 --> 00:05:33.066
In sample view, we use tsne to project the samples to facilitate the

00:05:33.066 --> 00:05:37.032
exploration and the adjustments on shots.

00:05:37.033 --> 00:05:43.166
Since it is easy to implement, here we focus more on the learner view.

00:05:44.833 --> 00:05:51.099
The learner view aims to help users examine each base learner and make adjustments.

00:05:51.100 --> 00:05:58.766
The first issue is that we do not have ground-truth to evaluate the performance of each base learner.

00:05:58.766 --> 00:06:03.832
So we compare their predictions with the ensemble model.

00:06:03.833 --> 00:06:06.299
We design a matrix view.

00:06:06.300 --> 00:06:09.666
Here, each row represents a learner,

00:06:09.666 --> 00:06:15.766
and the first column encodes the overall difference on the prediction,

00:06:15.766 --> 00:06:21.599
and the remaining columns encode the prediction differences on different classes.

00:06:21.600 --> 00:06:27.500
In each cell, we use the venn diagram to represent the samples.

00:06:27.500 --> 00:06:33.933
The first set represents the samples that are predicted as the class by the learner,

00:06:33.933 --> 00:06:41.399
and the second set represents the samples that are predicted by the ensemble model.

00:06:41.400 --> 00:06:44.366
The second issue is the scalability.

00:06:44.366 --> 00:06:47.432
When there are too many learners or classes,

00:06:47.433 --> 00:06:50.199
we group similar ones together,

00:06:50.200 --> 00:06:55.033
and users can freely explore them and adjust the clusters.

00:06:56.300 --> 00:07:02.366
Here, I would like to show a case study on hand-written digits classification.

00:07:02.366 --> 00:07:08.466
I will introduce two steps in it, one starts from analyzing the learner,

00:07:08.466 --> 00:07:11.932
and the other one starts from analyzing the shot

00:07:11.933 --> 00:07:15.799
Four learners are recommended by the algorithm.

00:07:15.800 --> 00:07:23.466
Among them, BL-tiered-6 has the largest prediction difference from the ensemble model.

00:07:23.466 --> 00:07:28.366
We first analyze this learner and found that three regions

00:07:28.366 --> 00:07:31.732
have a large drop in prediction confidence.

00:07:31.733 --> 00:07:42.133
We selected these samples in the region and found that

00:07:42.133 --> 00:07:46.633
There is no shot of 3 and only one shot of 5.

00:07:46.633 --> 00:07:54.566
So we decided to recommend more shots in this region and add shots of 3 and 5.

00:07:55.666 --> 00:07:59.899
Our system can also recommend shots globally.

00:07:59.900 --> 00:08:04.433
Two low quality shots are recommended to be removed.

00:08:04.433 --> 00:08:08.866
Their poor converge indicates that they are not representative.

00:08:08.866 --> 00:08:13.466
Three samples are recommended as shots to be labeled.

00:08:13.900 --> 00:08:21.033
By adjusting the learners, removing 2 shots and adding 13 new ones,

00:08:21.033 --> 00:08:28.233
the accuracy is improved from 0.497 to 0.707.

00:08:29.866 --> 00:08:35.099
To conclude our work, we developed a visual analysis tool for visually

00:08:35.100 --> 00:08:37.866
diagnosing an ensemble few-shot classifier.

00:08:37.866 --> 00:08:43.999
Our method includes two subset selections for recommending learners and shots

00:08:44.000 --> 00:08:50.766
And we developed the learner view and sample view to facilitate interactive improvement.

00:08:51.133 --> 00:08:58.066
In the future, we plan to generalize the learner view to other tasks such as object detection,

00:08:58.066 --> 00:09:04.266
and improve the efficiency of sparse subset selection to handle millions of samples.

00:09:04.466 --> 00:09:10.799
For more details and the materials such as code, video, and slides,

00:09:10.800 --> 00:09:13.500
please refer to our repo.

00:09:13.500 --> 00:09:17.200
Thank you and I am happy to take any question.

