WEBVTT

00:00:00.133 --> 00:00:00.966
Hello everyone,

00:00:00.966 --> 00:00:03.300
I'm Weikai Yang from Tsinghua University.

00:00:03.300 --> 00:00:06.933
Today I would like to introduce our work: cluster-aware grid layout.

00:00:07.066 --> 00:00:08.900
This is a joint work with Yuxing,

00:00:09.066 --> 00:00:13.200
Jiashu, Changjian, Zhiyang, Xiaonan, Lingyun, and Shixia.

00:00:13.900 --> 00:00:18.100
Grid vidualization are widely used to visually analyze data collections

00:00:18.100 --> 00:00:20.266
due to their high space efficiency.

00:00:20.733 --> 00:00:22.500
In real world applications,

00:00:22.566 --> 00:00:24.933
cluster structures are very useful for

00:00:24.933 --> 00:00:26.900
accurate analysis and diagnosis.

00:00:27.166 --> 00:00:31.066
For example, if we use the model prediction as the labels,

00:00:31.400 --> 00:00:35.400
we can understand model behavior and diagnose potential causes

00:00:35.400 --> 00:00:37.900
of low performance models.

00:00:38.000 --> 00:00:40.066
However, while some existing methods

00:00:40.066 --> 00:00:42.666
place similar samples closer to each other,

00:00:42.766 --> 00:00:46.400
they still struggle to maintain the cluster structures within the data.

00:00:46.700 --> 00:00:49.200
For example, in the baseline layout,

00:00:49.333 --> 00:00:53.166
these samples of "4" are placed far away from the cluster of "4."

00:00:53.733 --> 00:00:57.000
This arrangement may mislead user to draw the wrong conclusions

00:00:57.000 --> 00:01:01.533
that these samples are predicted as "1" or "7."

00:01:01.733 --> 00:01:04.466
However, these samples are similar to other samples of "4"

00:01:04.466 --> 00:01:06.000
and are predicted as "4."

00:01:06.366 --> 00:01:08.400
By preserving cluster structures,

00:01:08.500 --> 00:01:11.400
these samples are merged into the cluster of "4,"

00:01:11.566 --> 00:01:13.733
which reduces false inferences.

00:01:14.666 --> 00:01:18.566
However, in practice we miss two challenges.

00:01:18.866 --> 00:01:21.466
First, since we aim to preserve cluster structures,

00:01:21.466 --> 00:01:24.933
it is crucial to quantify the measures of cluster structures preservation.

00:01:25.000 --> 00:01:28.866
Second, after obtaining the measures,

00:01:28.933 --> 00:01:32.400
it is still challenging to optimize them simultaneously.

00:01:32.766 --> 00:01:36.966
We need a grid layout method to achieve balance among different measures.

00:01:37.700 --> 00:01:40.800
To quantify the measure of cluster structure preservation,

00:01:40.966 --> 00:01:45.000
it is important to understand how people perceive the cluster structures.

00:01:45.000 --> 00:01:47.966
According to the Gestalt principles,

00:01:48.133 --> 00:01:50.966
preserving cluster structures require proximity,

00:01:51.200 --> 00:01:54.466
compactness, and convexity of each cluster shape.

00:01:54.866 --> 00:01:57.800
Proximity aims to place similar samples together,

00:01:58.000 --> 00:02:02.866
and compactness aims to place the samples in the same cluster in a compact form.

00:02:03.400 --> 00:02:06.400
These two measures have been well studied.

00:02:06.600 --> 00:02:10.500
For conversity, although several different measures have been proposed

00:02:10.566 --> 00:02:11.866
there is currently no a widely

00:02:11.866 --> 00:02:15.166
accepted one that aligns well with human perception.

00:02:15.466 --> 00:02:19.333
To address this issue, we conducted a user study to evaluate

00:02:19.333 --> 00:02:23.400
which convexity measures are more consistent with human perception

00:02:24.300 --> 00:02:27.866
We first surveyed and implemented seven convexity measures

00:02:27.900 --> 00:02:30.533
and calculated Pearson correlations between them.

00:02:30.566 --> 00:02:32.733
Rhe results indicated that they are roughly

00:02:32.733 --> 00:02:34.666
classified into two clusters.

00:02:35.066 --> 00:02:36.966
Rhe first one is area-based,

00:02:36.966 --> 00:02:40.733
which relies on the area of the shape to determine their scores

00:02:41.200 --> 00:02:42.766
They tolerate small zig-zags

00:02:42.766 --> 00:02:44.600
and prefer making the boundaries

00:02:44.600 --> 00:02:46.666
closer to slanted line segments.

00:02:47.066 --> 00:02:49.066
And the other is boundary based,

00:02:49.066 --> 00:02:52.133
which relies on the geometric properties of boundaries.

00:02:52.500 --> 00:02:55.300
They prefer to make the boundaries consist of

00:02:55.300 --> 00:02:57.466
horizontal and vertical line segments.

00:02:57.766 --> 00:03:00.266
Due to the high correlations within clusters,

00:03:00.400 --> 00:03:03.766
we select two representative measures from each cluster,

00:03:04.333 --> 00:03:08.533
which will reduce the burden for users to compare different measures.

00:03:09.900 --> 00:03:12.300
we recruited 54 participants,

00:03:12.333 --> 00:03:15.466
and each of them will complete 36 trials.

00:03:15.700 --> 00:03:16.600
In each trial,

00:03:16.700 --> 00:03:20.700
the participant was asked to rank four different grid visualization,

00:03:20.900 --> 00:03:25.066
and each optimized for one of the four selected convexity measures.

00:03:25.200 --> 00:03:27.766
The ranking results can reflect the preferences

00:03:27.766 --> 00:03:29.466
for the convexity measures.

00:03:29.666 --> 00:03:31.600
The results show that there were two distinct

00:03:31.600 --> 00:03:33.133
groups of participants.

00:03:33.200 --> 00:03:35.900
The majority prefer area-based measures

00:03:35.933 --> 00:03:38.800
while the minority prefer the boundary-based measures.

00:03:39.066 --> 00:03:41.000
The horizontal axis here represents

00:03:41.000 --> 00:03:43.733
the preference score for area-based measures.

00:03:43.733 --> 00:03:46.566
and 2.5 is the neutral score

00:03:46.733 --> 00:03:49.700
For participants who prefer area-based measures,

00:03:49.766 --> 00:03:55.766
the test results show a strict preference order of T>A>C>P.

00:03:56.166 --> 00:03:59.133
And for participants who prefer boundary-based measures,

00:03:59.466 --> 00:04:02.266
the test results shows a exact reverse order.

00:04:02.800 --> 00:04:04.366
Although no single major aligns

00:04:04.366 --> 00:04:06.500
perfectly with all the participants,

00:04:06.600 --> 00:04:09.133
For those who prefer area-based measures,

00:04:09.266 --> 00:04:12.366
triple ratio aligns best with their perceptions.

00:04:12.366 --> 00:04:15.066
And for those who prefer boundary-based measures,

00:04:15.166 --> 00:04:18.200
parameter ratio aligns best with their perception.

00:04:18.900 --> 00:04:23.266
Since these two measures conflict each other to some extent,

00:04:23.533 --> 00:04:27.266
it is required to support different convexity measures in our algorithm

00:04:27.266 --> 00:04:30.566
to meet the diverse user preference.

00:04:32.000 --> 00:04:34.266
After qualifying all the three measures,

00:04:34.266 --> 00:04:36.800
we can develop our grid layout algorithm.

00:04:37.166 --> 00:04:39.400
Our algorithm is based on linear assignment,

00:04:39.400 --> 00:04:42.800
which finds a one to one mapping between the sample set

00:04:42.800 --> 00:04:46.700
and the grid set that can minimize the assignment cost.

00:04:46.800 --> 00:04:51.733
However, given the larger space spanning over proximity, compactness, and convexity

00:04:51.966 --> 00:04:55.266
it is impractical to achieve a perfect balance among them.

00:04:55.966 --> 00:04:58.966
Upon analyzing these measures, we discover that

00:04:58.966 --> 00:05:02.800
proximity and compactness are affected by all grid cells

00:05:02.900 --> 00:05:07.366
while convexity is sensitive to the boundary cells between different clusters.

00:05:07.700 --> 00:05:09.800
Based on this finding, we employ

00:05:09.800 --> 00:05:13.800
a global-local strategy to simplify the optimization process.

00:05:14.000 --> 00:05:17.333
The global assignment aims to generate a layout that balanced

00:05:17.333 --> 00:05:19.300
proximity and compactness,

00:05:19.400 --> 00:05:22.100
and the local adjustment improves the convexity.

00:05:22.566 --> 00:05:26.000
In the global assignment, to make our method more flexible,

00:05:26.500 --> 00:05:27.700
we take a grid layout

00:05:27.700 --> 00:05:30.266
generated by any proximity-preserving method

00:05:30.266 --> 00:05:32.933
as the input and then minimize the distance

00:05:32.933 --> 00:05:35.100
between our layout and the input layout.

00:05:35.700 --> 00:05:37.400
During the global phase,

00:05:37.466 --> 00:05:39.900
we formulate it as a linear assignment problem,

00:05:39.933 --> 00:05:42.966
and the key is to define assignment cost cij

00:05:42.966 --> 00:05:46.500
which places the sample si into the cell vj.

00:05:46.900 --> 00:05:49.166
The first term is the proximity cost,

00:05:49.200 --> 00:05:53.400
which measures the deviation from the initial position to the target position.

00:05:53.800 --> 00:05:56.400
While the second term is the compactness cost,

00:05:56.566 --> 00:06:00.866
which measures the deviation from the cluster center to the target position.

00:06:01.300 --> 00:06:04.900
The parameter lambda controls the balance between these two terms.

00:06:05.133 --> 00:06:09.266
In practice, it is hard to select a perfect lambda in advance.

00:06:09.400 --> 00:06:12.566
So we employ the multitask learning to dynamically

00:06:12.566 --> 00:06:14.966
adjust the lambda during optimization.

00:06:15.266 --> 00:06:17.866
It will increase the weights of the term they are

00:06:18.000 --> 00:06:21.066
poorly optimized so that it can be further improved.

00:06:22.000 --> 00:06:23.500
During the local phase,

00:06:23.500 --> 00:06:27.133
we fix grid cells inside the cluster shapes and greedily

00:06:27.266 --> 00:06:30.333
swap the boundary grid cells to improve convexity.

00:06:30.600 --> 00:06:33.066
Here shows the process of local adjustments

00:06:33.066 --> 00:06:34.933
using two convexity measures:

00:06:34.966 --> 00:06:37.133
triple ratio and perimeter ratio.

00:06:37.466 --> 00:06:42.066
Of course, our optimization method supports different convexity measures

00:06:42.700 --> 00:06:47.166
We evaluated the effectness of our layout method on 11 datasets,

00:06:47.466 --> 00:06:49.800
including image, text, and tabular.

00:06:50.166 --> 00:06:52.700
We generate grid layout of different sizes.

00:06:53.066 --> 00:06:56.300
The baseline method is the t-SNE + linear assignment,

00:06:56.333 --> 00:06:58.533
which only consider the proximity.

00:06:58.866 --> 00:07:00.200
Our methods further optimize

00:07:01.066 --> 00:07:05.166
the compactness and convexity based on this result.

00:07:05.700 --> 00:07:09.166
Ours-T used triple ratio in the local adjustment,

00:07:09.200 --> 00:07:12.466
and Ours-P used the perimeter ratio in the local adjustment.

00:07:13.400 --> 00:07:17.766
First, we can be seen that our methods still preserve good proximity,

00:07:17.800 --> 00:07:21.000
and both of our methods achieve higher compactness.

00:07:21.366 --> 00:07:23.066
In terms of convexity,

00:07:23.366 --> 00:07:26.400
our methods can achieve the best on the corresponding

00:07:26.400 --> 00:07:28.166
types of convexity measures.

00:07:29.200 --> 00:07:32.600
We also evaluated the running time of these methods.

00:07:32.733 --> 00:07:35.066
It can be seen that our method can generate

00:07:35.066 --> 00:07:37.966
a 40x40 layout in around three seconds

00:07:38.466 --> 00:07:41.600
Further analysis revealed that the global phase takes up

00:07:41.666 --> 00:07:42.733
most of the time,

00:07:42.800 --> 00:07:46.600
because it requires a multiple iteration in the automatically adjusting lambda.

00:07:46.600 --> 00:07:52.100
This process can be accelerated by fixing lambda according to the experience

00:07:52.566 --> 00:07:53.933
With a fixed lamda,

00:07:54.133 --> 00:07:57.866
Ours-P can generate a 40x40 layout in one second.

00:07:58.500 --> 00:08:00.500
Here shows some layout examples.

00:08:00.500 --> 00:08:05.300
In the baseline, some samples fall into the clusters they do not belong to,

00:08:05.333 --> 00:08:08.533
and the boundaries between clusters are irregular.

00:08:08.933 --> 00:08:13.266
After optimizations, the samples within the same clusters are grouped together,

00:08:13.500 --> 00:08:15.766
and the boundaries become more regular.

00:08:16.266 --> 00:08:19.566
It can also be seen that the boundaries generated by Ours-T

00:08:19.666 --> 00:08:22.133
mainly consists of slanted line segments.

00:08:22.500 --> 00:08:24.966
While the boundaries generated by Ours-P

00:08:24.966 --> 00:08:28.066
mainly consists of horizontal and vertical segments.

00:08:28.966 --> 00:08:30.933
Here we present another use case to

00:08:30.933 --> 00:08:34.466
illustrate how our method facilitate analysis of

00:08:34.500 --> 00:08:36.466
out of distribution samples.

00:08:36.800 --> 00:08:40.933
In the baseline, some dark blue cells fell into different regions.

00:08:41.300 --> 00:08:44.800
They are the samples of "leopard" but predicted as "cat"

00:08:44.933 --> 00:08:47.400
because there is no such training sample.

00:08:47.766 --> 00:08:50.800
however, it was hard to analyze them together

00:08:50.900 --> 00:08:53.566
since they were all scattered into several regions.

00:08:53.866 --> 00:08:55.933
By preserving cluster structures,

00:08:55.966 --> 00:08:59.866
these samples were grouped together, which facilitate analysis

00:09:01.100 --> 00:09:02.466
To conclude our work,

00:09:02.600 --> 00:09:06.700
we conducted a user study to determine the convexity measure

00:09:06.700 --> 00:09:10.133
Then we develop a cluster aware grid layout method by optimizing

00:09:10.133 --> 00:09:12.900
proximity, compactness, and convexity.

00:09:13.466 --> 00:09:15.400
Our work is also open-sourced.

00:09:15.900 --> 00:09:19.666
In the future, we plan to combine it with other design variables

00:09:19.666 --> 00:09:21.366
such as color and shape;

00:09:21.500 --> 00:09:23.066
and support interactive editing

00:09:23.066 --> 00:09:26.600
to further adjust the layout based on the requirements.

00:09:27.133 --> 00:09:29.766
Thank you, and if you have any questions

00:09:29.766 --> 00:09:31.566
please feel free to contact me.

