Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/Sy4lojC9tm/Sy4lojC9tm.md +350 -0
- parse/train/Sy4lojC9tm/Sy4lojC9tm_content_list.json +1785 -0
- parse/train/Sy4lojC9tm/Sy4lojC9tm_middle.json +0 -0
- parse/train/Sy4lojC9tm/Sy4lojC9tm_model.json +0 -0
- parse/train/SyGjjsC5tQ/SyGjjsC5tQ.md +782 -0
- parse/train/SyGjjsC5tQ/SyGjjsC5tQ_content_list.json +0 -0
- parse/train/SyGjjsC5tQ/SyGjjsC5tQ_middle.json +0 -0
- parse/train/SyGjjsC5tQ/SyGjjsC5tQ_model.json +0 -0
- parse/train/r1gR2sC9FX/r1gR2sC9FX.md +606 -0
- parse/train/r1gR2sC9FX/r1gR2sC9FX_content_list.json +0 -0
- parse/train/r1gR2sC9FX/r1gR2sC9FX_middle.json +0 -0
- parse/train/r1gR2sC9FX/r1gR2sC9FX_model.json +0 -0
- parse/train/rkzfuiA9F7/rkzfuiA9F7.md +248 -0
- parse/train/rkzfuiA9F7/rkzfuiA9F7_content_list.json +1320 -0
- parse/train/rkzfuiA9F7/rkzfuiA9F7_middle.json +0 -0
- parse/train/rkzfuiA9F7/rkzfuiA9F7_model.json +0 -0
- parse/train/vQTYEUtSUr/vQTYEUtSUr.md +471 -0
- parse/train/vQTYEUtSUr/vQTYEUtSUr_content_list.json +1300 -0
- parse/train/vQTYEUtSUr/vQTYEUtSUr_middle.json +0 -0
- parse/train/vQTYEUtSUr/vQTYEUtSUr_model.json +0 -0
parse/train/Sy4lojC9tm/Sy4lojC9tm.md
ADDED
|
@@ -0,0 +1,350 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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one. In this paper, we consider an alternative formulation called dataset distillation: we keep the model fixed and instead attempt to distill the knowledge from a large training dataset into a small one. The idea is to synthesize a small number of data points that do not need to come from the correct data distribution, but will, when given to the learning algorithm as training data, approximate the model trained on the original data. For example, we show that it is possible to compress 60, 000 MNIST training images into just 10 synthetic distilled images (one per class) and achieve close to original performance with only a few steps of gradient descent, given a particular fixed network initialization. We evaluate our method in a wide range of initialization settings and with different learning objectives. Experiments on multiple datasets show the advantage of our approach compared to alternative methods in most settings.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Hinton et al. (2015) proposed network distillation as a way to transfer the knowledge from an ensemble of many separately-trained networks into a single, typically compact network, performing a type of model compression. In this paper, we are considering a related but orthogonal task: rather than distilling the model, we propose to distill the dataset. Unlike network distillation, we keep the model fixed but encapsulate the knowledge of the entire training dataset, which typically contains thousands to millions of images, into a small number of synthetic training images. In fact, we show that we can go as low as one synthetic image per category, training the same model to reach surprisingly good performance on these synthetic images. For example in Fig. 1a, we compress 60, 000 training images of MNIST digit dataset into only 10 synthetic images (one per class), given a fixed network initialization. Training the standard LENET (LeCun et al., 1998) architecture on these 10 images yields test-time MNIST recognition performance of $9 4 \%$ , compared to $9 9 \%$ for the original task. For networks with unknown random weights, 100 synthetic images train to $8 0 \%$ with a few gradient descent steps. We name our method Dataset Distillation and these images distilled images.
|
| 12 |
+
|
| 13 |
+
But why is dataset distillation useful? There is the purely scientific question of how much data is really encoded in a given training set and how compressible it is? Moreover, given a few distilled images, we can now “load up" a given network with an entire dataset-worth of knowledge much more efficiently, compared to traditional training that often uses tens of thousands of gradient descent steps.
|
| 14 |
+
|
| 15 |
+
A key question is whether it is even possible to compress a dataset into a small set of synthetic data samples. For example, is it possible to train an image classification model on synthetic images that are not on the natural image manifold? Conventional wisdom would suggest that the answer is no, as the synthetic training data may not follow the same distribution as the real test data. Yet, in this work, we show that this is indeed possible. We present a new optimization algorithm for synthesizing a small number of synthetic data samples not only capturing much of the original training data but also tailored explicitly for fast model training in only a few gradient steps. To achieve our goal, we first derive the network weights as a differentiable function of our synthetic training data. Given this connection, instead of optimizing the network weights for a particular training objective, we can optimize the pixel values of our distilled images. However, this formulation requires access to the initial network weights of the network. To relax this assumption, we develop a method for generating distilled images for networks with random initializations from a certain distribution. To further boost performance, we propose an iterative version, where we obtain a sequence of distilled images to train a model and each distilled image can be trained with multiple passes. Finally, we study the case of a simple linear model, deriving a lower bound on the size of distilled data required to achieve the same performance as training on the full dataset.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Dataset Distillation: we distill the knowledge of tens of thousands of images into a few synthetic training images called distilled images. (a): On MNIST, 10 distilled images can train a standard LENET with a particular fixed initialization to $9 4 \%$ test accuracy (compared to $9 9 \%$ when fully trained). On CIFAR10, 100 distilled images can train a deep network with fixed initialization to $5 4 \%$ test accuracy (compared to $8 0 \%$ when fully trained). (b): Using pre-trained networks for SVHN, we can distill the domain difference between two SVHN and MNIST into 100 distilled images. These images can be used to quickly fine-tune networks trained for SVHN to achieve high accuracy on MNIST. (c): Training for a malicious objective, our formulation can be used to create adversarial attack images. If well-optimized networks retrained with these images for one single gradient step, they will catastrophically misclassify a particular targeted class.
|
| 19 |
+
|
| 20 |
+
We demonstrate that a handful of distilled images can be used to train a model with a fixed initialization to achieve surprisingly high performance. For a network with unknown random weights pre-trained on other tasks, our method can still find distilled images for fast model fine-tuning. We further test our method on a wide range of initialization settings: fixed initialization, random initialization, fixed pre-trained weights, and random pre-trained weights, as well as two training objectives: image classification and malicious dataset poisoning attack. Extensive experiments on four publicly available datasets, MNIST (LeCun, 1998), CIFAR10 (Krizhevsky & Hinton, 2009), PASCAL-VOC (Everingham et al., 2010) and CUB-200 (Wah et al., 2011), show that our method often performs better than alternative methods and existing baselines. Our code and models will be available upon publication.
|
| 21 |
+
|
| 22 |
+
# 2 RELATED WORK
|
| 23 |
+
|
| 24 |
+
Knowledge distillation. The main inspiration for this paper is network distillation (Hinton et al., 2015), a widely used technique in ensemble learning (Radosavovic et al., 2018) and model compression (Ba & Caruana, 2014; Romero et al., 2015; Howard et al., 2017). While network distillation aims to distill the knowledge of multiple networks into a single model, our goal is to compress the knowledge of an entire dataset into a few synthetic training images. Our method is also related to the theoretical concept of teaching dimension, which specifies the size of dataset necessary to teach a target model (oracle) to a learner (Goldman & Kearns, 1995; Shinohara & Miyano, 1991). While these methods do not enforce the training data to be real, they need the existence of oracle models, which our method does not require.
|
| 25 |
+
|
| 26 |
+
Dataset pruning, core-set construction, and instance selection. Another way to distill knowledge is to summarize the entire dataset by a small subset, either by only using the “valuable” data for model training (Angelova et al., 2005; Lapedriza et al., 2013; Felzenszwalb et al., 2010) or by only labeling the “valuable” data via active learning (Cohn et al., 1996; Tong & Koller, 2001). Similarly, core-set construction (Bachem et al., 2017; Tsang et al., 2005; Har-Peled & Kushal, 2007; Sener & Savarese, 2018) and instance selection (Olvera-López et al., 2010) methods aim to select a subset of the entire training data, such that models trained on the subset will perform as closely well as possible to the model trained on full dataset for faster training time. For example, solutions to many classical linear learning algorithms, e.g., Perceptron (Rosenblatt, 1957) and support vector machine (SVMs) (Hearst et al., 1998), are weighted sums of a subset of training examples, which can be viewed as core-sets. However, algorithms constructing these subsets require many more training examples per category than we do, in part because their “valuable” images have to be real, whereas our distilled images are exempt from this constraint.
|
| 27 |
+
|
| 28 |
+
Gradient-based hyperparameter optimization. Our work bears similarity with the gradient-based hyperparameter optimization techniques, which compute the gradient of hyperparameter w.r.t. the final validation loss by reversing the entire training procedure (Bengio, 2000; Domke, 2012; Pedregosa, 2016; Maclaurin et al., 2015). We also backpropagate errors through optimization steps. However, we use only training set data and focus much more heavily on learning synthetic training data rather than tuning hyperparameters. To our knowledge, this direction has only been slightly touched on previously (Maclaurin et al., 2015). We explore it in much greater depth and demonstrate the idea of dataset distillation through various settings. More crucially, our distilled images can work well across random initialization weights, which cannot be achieved by any prior work.
|
| 29 |
+
|
| 30 |
+
Understanding datasets. Researchers have presented various approaches for understanding and visualizing learned models (Zeiler & Fergus, 2014; Zhou et al., 2015; Mahendran & Vedaldi, 2015; Bau et al., 2017; Koh & Liang, 2017). Unlike these approaches, we are interested in understanding the intrinsic properties of the training data rather than a specific trained model. Analyzing training datasets has, in the past, been mainly focused on the investigation of bias in datasets (Ponce et al., 2006; Torralba & Efros, 2011). For example, Torralba & Efros (2011) proposed to quantify the “value” of dataset samples using cross-dataset generalization. Our method offers a new perspective for understanding datasets by distilling full datasets into few synthetic samples.
|
| 31 |
+
|
| 32 |
+
# 3 APPROACH
|
| 33 |
+
|
| 34 |
+
Given a model and a dataset, we aim to obtain a new, much-reduced synthetic dataset which performs almost as well as the original dataset. We first present our main optimization algorithm for training a network with a fixed initialization with one gradient descent (GD) step (Sec. 3.1). In Sec. 3.2, we derive the resolution to a more challenging case, where the initial weight is random rather than fixed. We also discuss the initial weights distribution where our method can work well. Furthermore, we study a linear network case to help the readers understand both the solution and limits of our method in Sec. 3.3. In Sec. 3.4, we extend our approach to more than one gradient descent steps and more than one passes. Finally, Sec. 3.5 and Sec. 3.6 demonstrate how to obtain distilled images with different initialization distributions and learning objectives.
|
| 35 |
+
|
| 36 |
+
Consider a training dataset $\mathbf { x } = \{ x _ { i } \} _ { i = 1 } ^ { N }$ . We parameterize our neural network as $\theta$ and denote $\ell ( x _ { i } , \theta )$ as the loss function that represents the loss of this network on a data point $x _ { i }$ . Our task is to find the minimizer of the empirical error over the entire training data:
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
\theta ^ { * } = \underset { \theta } { \arg \operatorname* { m i n } } \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \ell ( x _ { i } , \theta ) = \underset { \theta } { \arg \operatorname* { m i n } } \ell ( \mathbf { x } , \theta ) ,
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
where for notation simplicity we overload the $\ell ( \cdot )$ notation so that $\ell ( \mathbf { x } , \theta )$ represents the average error of $\theta$ over the entire dataset $\mathbf { x } = \{ x _ { i } \} _ { i = 1 } ^ { N }$ . We make the mild assumption that $\ell$ is twice-differentiable, which holds for the majority of modern machine learning models (e.g., most neural networks) and tasks.
|
| 43 |
+
|
| 44 |
+
# Algorithm 1 Dataset Distillation
|
| 45 |
+
|
| 46 |
+
Input: $p ( \theta _ { 0 } )$ : distribution of initial weights; $M$ : the number of distilled data
|
| 47 |
+
Input: $\alpha$ : step size; $n$ : batch size; $T$ : the number of optimization iterations; $\tilde { \eta } _ { 0 }$ : initial value for $\tilde { \eta }$
|
| 48 |
+
1: Initialize $\hat { \tilde { \mathbf { x } } } = \{ \tilde { x } _ { i } \} _ { i = 1 } ^ { M }$ randomly, $\tilde { \eta } \tilde { \eta } _ { 0 }$
|
| 49 |
+
2: for each training step $t = 1$ to $T$ do
|
| 50 |
+
3: Get a minibatch of real data $\mathbf { x } _ { t } = \{ x _ { t , j } \} _ { j = 1 } ^ { n }$
|
| 51 |
+
4: Sample a batch of initial weights $\theta _ { 0 } ^ { ( j ) } \sim p ( \theta _ { 0 } )$
|
| 52 |
+
5: for each sampled $\theta _ { 0 } ^ { ( j ) }$ do
|
| 53 |
+
6: Compute updated parameter with GD: $\theta _ { 1 } ^ { ( j ) } = \theta _ { 0 } ^ { ( j ) } - \tilde { \eta } \nabla _ { \theta _ { 0 } ^ { ( j ) } } \ell ( \tilde { \mathbf { x } } , \theta _ { 0 } ^ { ( j ) } )$
|
| 54 |
+
7: Evaluate the objective function on real data: $\mathscr { L } ^ { ( j ) } = \ell ( \mathbf { x } _ { t } , \boldsymbol { \theta } _ { 1 } ^ { ( j ) } )$
|
| 55 |
+
8: end for
|
| 56 |
+
9: Update $\begin{array} { r } { \tilde { \mathbf { x } } \tilde { \mathbf { x } } - \alpha \nabla _ { \tilde { \mathbf { x } } } \sum _ { j } \mathcal { L } ^ { ( j ) } } \end{array}$ , and $\begin{array} { r } { \tilde { \eta } \tilde { \eta } - \alpha \nabla _ { \tilde { \eta } } \sum _ { j } \mathcal { L } ^ { ( j ) } } \end{array}$
|
| 57 |
+
|
| 58 |
+
10: end for Output: distilled data $\tilde { \bf x }$ and the optimized learning rate $\tilde { \eta }$
|
| 59 |
+
|
| 60 |
+
# 3.1 OPTIMIZING DISTILLED DATA
|
| 61 |
+
|
| 62 |
+
Standard training usually applies minibatch stochastic gradient descent (SGD) or its variants. At each step $t$ , we sample a minibatch of training data $\mathbf { x } _ { t } = \{ x _ { t , j } \} _ { j = 1 } ^ { n }$ and update the current parameters as
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\theta _ { t + 1 } = \theta _ { t } - \eta \nabla _ { \theta _ { t } } \ell ( \mathbf { x } _ { t } , \theta _ { t } ) ,
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
where $\eta$ is the learning rate. Such a training process often takes tens of thousands or even millions of above update steps to converge. Instead, we aim to learn a tiny set of synthetic distilled training data $\tilde { \mathbf { x } } = \{ \tilde { x } _ { i } \} _ { i = 1 } ^ { M }$ with $M \ll N$ and a corresponding learning rate $\tilde { \eta }$ so that a single GD step like
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\theta _ { 1 } = \theta _ { 0 } - \tilde { \eta } \nabla _ { \theta _ { 0 } } \ell ( \tilde { \mathbf { x } } , \theta _ { 0 } )
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
using these learned synthetic data $\tilde { \mathbf { x } }$ greatly boosts performance on the real training dataset.
|
| 75 |
+
|
| 76 |
+
Given an initialization $\theta _ { 0 }$ , we obtain these synthetic data and $\tilde { \eta }$ that minimize the objective below $\mathcal { L }$ :
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
\tilde { \mathbf { x } } ^ { * } , \tilde { \eta } ^ { * } = \mathop { \mathrm { a r g } \operatorname* { m i n } } _ { \tilde { \mathbf { x } } , \tilde { \eta } } \mathcal { L } \big ( \tilde { \mathbf { x } } , \tilde { \eta } ; \theta _ { 0 } \big ) = \mathop { \mathrm { a r g } \operatorname* { m i n } } _ { \tilde { \mathbf { x } } , \tilde { \eta } } \ell ( \mathbf { x } , \theta _ { 1 } ) = \mathop { \mathrm { a r g } \operatorname* { m i n } } _ { \tilde { \mathbf { x } } , \tilde { \eta } } \ell \big ( \mathbf { x } , \theta _ { 0 } - \tilde { \eta } \nabla _ { \theta _ { 0 } } \ell \big ( \tilde { \mathbf { x } } , \theta _ { 0 } \big ) \big ) ,
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where we derive the new weights $\theta _ { 1 }$ as a function of distilled images $\tilde { \mathbf { x } }$ and learning rate $\tilde { \eta }$ using Eqn. 2 and then evaluate the new weights over all the training images $\mathbf { x }$ . Note that the loss $\mathcal { L } ( \tilde { \mathbf { x } } , \tilde { \eta } ; \theta _ { 0 } )$ is differentiable w.r.t. $\tilde { \mathbf { x } }$ and $\tilde { \eta }$ , and can thus be optimized using standard gradient-based algorithms. In many classification tasks, the data $\mathbf { x }$ may contain discrete parts, e.g., the class labels in data-label pairs. For such cases, we fix the discrete parts rather than learn them.
|
| 83 |
+
|
| 84 |
+
# 3.2 DISTILLATION FOR RANDOM INITIALIZATIONS
|
| 85 |
+
|
| 86 |
+
Unfortunately, the above distilled data optimized for a given initialization do not generalize well to other initialization weights. The distilled data often look like random noise (e.g., in Fig. 2a) as it encodes the information of both training dataset $\mathbf { x }$ and a particular network initialization $\theta _ { 0 }$ . To address the above issue, we turn to calculate a small number of distilled data that can work for networks with random initializations from a specific distribution. We formulate the optimization problem as follows:
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\tilde { \mathbf { x } } ^ { * } , \tilde { \eta } ^ { * } = \arg \operatorname* { m i n } _ { \tilde { \mathbf { x } } , \tilde { \eta } } \mathbb { E } _ { \theta _ { 0 } \sim p ( \theta _ { 0 } ) } \mathcal { L } ( \tilde { \mathbf { x } } , \tilde { \eta } ; \theta _ { 0 } ) ,
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
where $\theta _ { 0 }$ is a randomly sampled network initialization from the distribution $p ( \theta _ { 0 } )$ . Algorithm 1 illustrates our main method. During optimization, the distilled data are optimized to work well for multiple networks whose initial weights are sampled from $p ( \theta _ { 0 } )$ . In practice, we observe that the final distilled data generalize well to the unseen initializations. Besides, these distilled images usually look quite informative, encoding the discriminative features of each category (Fig. 3).
|
| 93 |
+
|
| 94 |
+
For distilled data to be properly learned, it turns out to be crucial for $\ell ( { \mathbf { x } } , \cdot )$ to share similar local conditions (e.g., output values, gradient magnitudes) over $\theta _ { 0 }$ sampled from $p ( \theta _ { 0 } )$ . In the next section, we derive a lower bound on the number of distilled data needed for a simple model with arbitrary initial $\theta _ { 0 }$ , and discuss its implications on choosing $p ( \theta _ { 0 } )$ .
|
| 95 |
+
|
| 96 |
+
# 3.3 ANALYSIS OF A SIMPLE LINEAR CASE WITH QUADRATIC LOSS
|
| 97 |
+
|
| 98 |
+
This section studies our formulation in a simple linear regression case. We derive the lower bound of the number of distilled images needed to achieve the same performance as training on full dataset for arbitrary initialization with one GD step. Consider a dataset $\mathbf { x }$ containing $N$ data-target pairs $\{ ( d _ { i } , t _ { i } ) \} _ { i = 1 } ^ { N }$ , where $d _ { i } \in \mathbb { R } ^ { D }$ and $t _ { i } \in \mathbb { R }$ , which we represent as two matrices: an $N \times D$ data matrix $\mathbf { d }$ and an $N \times 1$ target matrix $\mathbf { t }$ . Given the mean squared error and a $D \times 1$ weight matrix $\theta$ , we have
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\ell ( { \mathbf x } , \theta ) = \ell ( ( { \mathbf d } , { \mathbf t } ) , \theta ) = \frac { 1 } { 2 N } \| { \mathbf d } \theta - { \mathbf t } \| ^ { 2 } .
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
We aim to learn $M$ synthetic data-target pairs $\tilde { \mathbf { x } } = ( \tilde { \mathbf { d } } , \tilde { \mathbf { t } } )$ , where $\tilde { \mathbf { d } }$ is an $M \times D$ matrix, $\tilde { \mathbf { t } }$ an $M \times 1$ matrix $M \ll N$ ), and $\tilde { \eta }$ the learning rate, to minimize $\ell ( \mathbf { x } , \theta _ { 0 } - \tilde { \eta } \nabla _ { \theta _ { 0 } } \ell ( \tilde { \mathbf { x } } , \theta _ { 0 } ) )$ . The updated weight matrix after one GD step with these distilled data is
|
| 105 |
+
|
| 106 |
+
$$
|
| 107 |
+
\theta _ { 1 } = \theta _ { 0 } - \tilde { \eta } \nabla _ { \theta _ { 0 } } \ell ( \tilde { \mathbf { x } } , \theta _ { 0 } ) = \theta _ { 0 } - \frac { \tilde { \eta } } { M } \tilde { \mathbf { d } } ^ { T } ( \tilde { \mathbf { d } } \theta _ { 0 } - \tilde { \mathbf { t } } ) = ( \mathbf { I } - \frac { \tilde { \eta } } { M } \tilde { \mathbf { d } } ^ { T } \tilde { \mathbf { d } } ) \theta _ { 0 } + \frac { \tilde { \eta } } { M } \tilde { \mathbf { d } } ^ { T } \tilde { \mathbf { t } } .
|
| 108 |
+
$$
|
| 109 |
+
|
| 110 |
+
Note that for such quadratic loss, there always exists some learned distilled data $\tilde { \mathbf { x } }$ allowing us to achieve the same performance as training on full dataset $\mathbf { x }$ (i.e., attaining the global minimum) for any initialization $\theta _ { 0 }$ .∗ But how small can $M$ , the size of distilled data, be? For such models, the global minimum is attained at any $\theta ^ { * }$ satisfying $\mathbf { d } ^ { T } \mathbf { d } \theta ^ { * } = \mathbf { d } ^ { T } \mathbf { t }$ . Substituting Eqn. (6) in, we have
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\mathbf { d } ^ { T } \mathbf { d } ( \mathbf { I } - \frac { \tilde { \eta } } { M } \tilde { \mathbf { d } } ^ { T } \tilde { \mathbf { d } } ) \theta _ { 0 } + \frac { \tilde { \eta } } { M } \mathbf { d } ^ { T } \mathbf { d } \tilde { \mathbf { d } } ^ { T } \tilde { \mathbf { t } } = \mathbf { d } ^ { T } \mathbf { t } .
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
Here we make the mild assumption that the feature columns of the data matrix $\mathbf { d }$ are independent (i.e., ${ \bf d } ^ { T } { \bf d }$ has full rank). For a $\bar { \bf x } = ( \tilde { \bf d } , \tilde { \bf t } )$ to satisfy the above equation for any $\theta _ { 0 }$ , we must have
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\mathbf { I } - \frac { \widetilde { \eta } } { M } \widetilde { \mathbf { d } } ^ { T } \widetilde { \mathbf { d } } = \mathbf { 0 } ,
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
which implies that $\tilde { \mathbf { d } } ^ { T } \tilde { \mathbf { d } }$ has full rank and $M \geq D$
|
| 123 |
+
|
| 124 |
+
Discussion. The analysis considers only a simple case but suggests that any small number of distilled data fails to generalize to arbitrary starting $\theta _ { 0 }$ . This is intuitively expected as the optimization target $\ell ( { \bf x } , \theta _ { 1 } ) = \ell ( { \bf x } , \theta _ { 0 } - \tilde { \eta } \nabla _ { \boldsymbol { \theta } _ { 0 } } \ell ( \tilde { \bf x } , \tilde { \theta _ { 0 } } ) )$ depends on the local behavior of $\ell ( { \mathbf { x } } , \cdot )$ around $\theta _ { 0 }$ , which can be drastically different across various $\theta _ { 0 }$ values. We note that the lower bound $M \geq D$ is a quite restricting one, considering that real datasets often have thousands to even hundreds of thousands of dimensions (e.g., image classification). This analysis motivates us to focus on $p ( \theta _ { 0 } )$ distributions that yield similar local conditions over the support. Sec. 3.5 discusses several practical choices explored in this paper. Additionally, to address the limitation of using a single GD step, we extend our method to multiple GD steps in the next section. In Sec. 4.1, we empirically verify that using multiple steps is much more effective than using just one on deep convolutional networks, with the total amount of distilled data fixed.
|
| 125 |
+
|
| 126 |
+
# 3.4 MULTIPLE GRADIENT DESCENT STEPS AND MULTIPLE EPOCHS
|
| 127 |
+
|
| 128 |
+
We can extend Algorithm 1 to more than one gradient descent steps by changing Line 6 to multiple sequential GD steps each on a different batch of distilled data and learning rate, i.e., each step $i$ is
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
\theta _ { i + 1 } = \theta _ { i } - \tilde { \eta } _ { i } \nabla _ { \theta _ { i } } \ell \big ( \tilde { \mathbf { x } } _ { i } , \theta _ { i } \big ) ,
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
and changing Line 9 to backpropagate through all steps. However, naively computing gradients is both memory-intensive and computationally-expensive. Therefore, we exploit a recent technique called back-gradient optimization, which allows for significantly faster gradient calculation of such updates in reverse-mode differentiation (i.e., backpropagation). Specifically, back-gradient optimization formulates the necessary second order terms into efficient Hessian-vector products (Pearlmutter, 1994), which can be easily calculated with modern automatic differentiation systems such as PyTorch (Paszke et al., 2017). For further algorithm details in this aspect, we refer readers to prior work (Domke, 2012; Maclaurin et al., 2015).
|
| 135 |
+
|
| 136 |
+
Multiple epochs. To further improve the performance, we can train the network with the same distilled images for multiple epochs (passes) of the GD step(s). In particular, we tie the image pixels for the same distilled images used in different epochs. In other words, for each epoch, our method cycles through all GD steps, where each step is associated with a different batch of distilled data. We do not tie the trained learning rates across epochs as later epochs often use smaller learning rates.
|
| 137 |
+
|
| 138 |
+
# 3.5 DISTILLATION WITH DIFFERENT INITIALIZATIONS
|
| 139 |
+
|
| 140 |
+
Inspired by the analysis of the simple linear case in Sec. 3.3, we aim to focus on initial weights distributions $p ( \theta )$ that yield similar local conditions over the support. In this work, we focus on the following four practical choices:
|
| 141 |
+
|
| 142 |
+
• Random initialization: Distribution over model weights initialized using methods that attempts to ensure gradient flow of constant magnitude, e.g., He Initialization (He et al., 2015) and Xavier Initialization (Glorot & Bengio, 2010) for convolutional neural networks (CNNs). • Fixed initialization: A fixed initial weights sampled using the method above. • Random pre-trained weights: Distribution over models pre-trained on other tasks and datasets, e.g., pre-trained ALEXNET (Krizhevsky et al., 2012) networks for ImageNet classification (Deng et al., 2009). Each network is pre-trained on the same task, but with different initializations. • Fixed pre-trained weights: A fixed model weights pre-trained on other tasks and datasets.
|
| 143 |
+
|
| 144 |
+
Distillation for pre-trained weights. Such learned distilled data essentially fine-tunes weights pre-trained on one task to perform well for a new task, thus bridging the gap between two domains. Domain mismatch and dataset bias represent a challenging problem in machine learning today (Torralba & Efros, 2011). Extensive prior work has been proposed to adapt models to new tasks and datasets (Daume III, 2007; Saenko et al., 2010). In this work, we characterize the domain mismatch via distilled data. In Sec. 4.2, we show that a very small number of distilled images are sufficient to quickly adapt CNN models to new classification tasks.
|
| 145 |
+
|
| 146 |
+
# 3.6 DISTILLATION WITH DIFFERENT OBJECTIVES
|
| 147 |
+
|
| 148 |
+
Previous sections show that we can train distilled data to minimize the loss of the distilled task $\ell ( \mathbf { x } , \theta _ { 1 } )$ defined on the final updated weights $\theta _ { 1 }$ (Line 7 in Algorithm 1). Distilled images trained with different final learning objectives can train models to exhibit different desired behaviours. We have already mentioned image classification as one of the applications, where distilled images help train accurate classifiers. Below, we introduce a quite different training objective to further demonstrate the flexibility of our method.
|
| 149 |
+
|
| 150 |
+
Distillation for a malicious data-poisoning objective. For example, our approach can be used to construct a new form of data poisoning attack. To illustrate this idea, we consider the following scenario. When a single GD step is applied with our synthetic adversarial data, a well-behaved image classifier catastrophically forgets a category but still maintains high performance on other categories.
|
| 151 |
+
|
| 152 |
+
Formally, given an attacked category $K$ and a target category $T$ , we want the classifier to misclassify images from category $K$ to category $T$ . To achieve this, we consider a new final objective function $\ell _ { K T } ( { \bf x } , \theta _ { 1 } )$ , which is a classification loss encouraging $\theta _ { 1 }$ to classify category $K$ images mistakenly as category $T$ while correctly predicting other images, e.g., a cross entropy loss with target labels of $K$ modified to $T$ . Then, the attacking distilled images can be obtained via optimizing
|
| 153 |
+
|
| 154 |
+
$$
|
| 155 |
+
\tilde { \mathbf { x } } ^ { * } , \tilde { \eta } ^ { * } = \underset { \tilde { \mathbf { x } } , \tilde { \eta } } { \arg \operatorname* { m i n } } \mathbb { E } _ { \theta _ { 0 } \sim p ( \theta _ { 0 } ) } \mathcal { L } _ { K T } ( \tilde { \mathbf { x } } , \tilde { \eta } ; \theta _ { 0 } ) = \underset { \tilde { \mathbf { x } } , \tilde { \eta } } { \arg \operatorname* { m i n } } \mathbb { E } _ { \theta _ { 0 } \sim p ( \theta _ { 0 } ) } \ell _ { K T } ( \mathbf { x } , \theta _ { 1 } ) ,
|
| 156 |
+
$$
|
| 157 |
+
|
| 158 |
+
ere $p ( \theta _ { 0 } )$ is the distribution over random pre-trained weights of well-optimized classifiers.
|
| 159 |
+
|
| 160 |
+
Compared to prior data poisoning attacks (Biggio et al., 2012; Li et al., 2016; Muñoz-González et al., 2017; Koh & Liang, 2017), our approach crucially does not require the poisoned training data to be stored and trained on repeatedly. Instead, our method attacks the model training just in one iteration and with only a few data. This advantage makes our method effective for many online training algorithms and useful for the case where malicious users hijack the data feeding pipeline for only one gradient step (e.g., one network transmission). In Sec. 4.2, we show that a single batch of distilled data applied in one step can successfully attack well-optimized neural network models. This setting can be viewed as distilling dataset knowledge of a specific category into data.
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
|
| 164 |
+
(a) MNIST. These images train networks with a partic- (b) CIFAR10. These images train networks with a particular initialization from $\mathrm { 1 2 . 9 \% }$ test accuracy to $9 3 . 7 6 \%$ . ular initialization from $8 . 8 2 \%$ test accuracy to $5 4 . 0 3 \%$ .
|
| 165 |
+
|
| 166 |
+
Figure 2: Distilled images trained for fixed initialization. MNIST distilled images use 1 GD step and 3 epochs (10 images in total). CIFAR10 distilled images use $1 0 ~ \mathrm { G D }$ steps and 3 epochs (100 images in total). For CIFAR10, only selected steps are shown. At left, we report the corresponding learning rates for all 3 epochs.
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
|
| 170 |
+

|
| 171 |
+
(b) CIFAR10. These images train networks with unknown initialization to $3 6 . \bar { 7 } 9 \% \pm 1 . 1 8 \%$ test accuracy.
|
| 172 |
+
|
| 173 |
+
(a) MNIST. These images train networks with unknown initialization to $7 9 . 5 0 \% \pm 8 . 0 8 \%$ test accuracy.
|
| 174 |
+
|
| 175 |
+
Figure 3: Distilled images trained for random initialization with $1 0 \mathrm { G D }$ steps and 3 epochs. We show images from selected GD steps and corresponding trained learning rates for all 3 epochs.
|
| 176 |
+
|
| 177 |
+
# 4 EXPERIMENTS
|
| 178 |
+
|
| 179 |
+
We report image classification results on MNIST (LeCun, 1998) and CIFAR10 (Krizhevsky & Hinton, 2009). For MNIST, distilled images are trained with LENET (LeCun et al., 1998), which achieves about $9 9 \%$ test accuracy if fully trained. For CIFAR10, we use a network architecture following Krizhevsky (2012) which achieves around $8 0 \%$ test accuracy if fully trained. For random initializations and random pre-trained weights, we report means and standard deviations on 200 held-out models, unless otherwise specified.
|
| 180 |
+
|
| 181 |
+
Baselines. For each experiment, in addition to baselines specific to the setting, we generally compare our method against baselines trained with data derived or selected from real images:
|
| 182 |
+
|
| 183 |
+
• Random real images: We randomly sample the same number of real training images per category.
|
| 184 |
+
• Optimized real images: We sample sets of real images as above, and choose on the top $2 0 \%$ sets that perform the best training images.
|
| 185 |
+
• $k$ -means: For each category, we use $k$ -means to extract the same number of cluster centroids as the number of distilled images in our method.
|
| 186 |
+
• Average real images: We compute the average image of all the images in each category, which is reused in different GD steps.
|
| 187 |
+
|
| 188 |
+
For these baselines, we perform each evaluation on 200 hold-out models with all combinations of learning rate $\in$ {learned learning rate with our method, $0 . 0 0 1 , 0 . 0 0 3 , 0 . 0 1 , 0 . 0 3 , 0 . 1 , 0 . 3 \}$ and #epochs $\in \{ 1 , 3 , 5 \}$ . We report results from the best performing combination. We run all the experiments on NVIDIA Titan $\mathrm { X p }$ and V100 GPUs. We use one GPU for fixed initial weights and four GPUs for random initial weights. Each training typically takes 1 to 4 hours. Please see supplemental material Sec. S-6.1 for more training and baseline details.
|
| 189 |
+
|
| 190 |
+
# 4.1 DATASET DISTILLATION
|
| 191 |
+
|
| 192 |
+
Fixed initialization. With access to initial network weights, distilled images can directly train a particular network to reach high performance. For example, 10 learned distilled images can boost the test accuracy of a neural network with an initial accuracy $1 2 . 9 0 \%$ to the final accuracy $9 3 . 7 6 \%$ on MNIST (Fig. 2a). Similarly, 100 images can train a network with an initial accuracy $8 . 8 2 \%$ to $5 4 . 0 3 \%$ test accuracy on CIFAR10 (Fig. 2b). This result suggests that even only a few distilled images have enough capacity to distill part of the dataset.
|
| 193 |
+
|
| 194 |
+
Random initialization. Trained with randomly sampled initializations using Xavier initialization (Glorot & Bengio, 2010), the learned distilled images do not need to encode information tailored for a particular starting point and thus can represent meaningful content independent of network initializations. In Fig. 3, we see that such distilled images reveal discriminative features of the corresponding categories: e.g., the ship image in Fig. 3b. These 100 images can train randomly
|
| 195 |
+
|
| 196 |
+

|
| 197 |
+
Figure 4: Hyperparameter sensitivity studies on random initialization: (a) average test accuracy w.r.t. the number of gradient descent steps. The number of epochs is fixed to be 2. (b) average test accuracy w.r.t. the number of epochs. The number of steps is fixed to be 10, with each containing 10 images (one per category).
|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
|
| 201 |
+

|
| 202 |
+
Figure 5: Comparison between applying the same number of images in one versus multiple GD steps on random initialization, with the number of epochs fixed to 1. $N$ denotes the total number of images per category. For multiple steps runs, each of the $N$ steps applies one image per category.
|
| 203 |
+
|
| 204 |
+
<table><tr><td rowspan=3 colspan=1></td><td rowspan=1 colspan=2>Ours</td><td rowspan=1 colspan=6>Baselines</td></tr><tr><td rowspan=2 colspan=1>Fixed init.</td><td rowspan=2 colspan=1>Random init.</td><td rowspan=1 colspan=4>Used as training data in same number of GD steps</td><td rowspan=1 colspan=2>Used as data for K-NN classification</td></tr><tr><td rowspan=1 colspan=1>Random real</td><td rowspan=1 colspan=1>Optimized real</td><td rowspan=1 colspan=1>k-means</td><td rowspan=1 colspan=1>Average real</td><td rowspan=1 colspan=1>Random real</td><td rowspan=1 colspan=1>k-means</td></tr><tr><td rowspan=1 colspan=1>MNIST</td><td rowspan=1 colspan=1>96.6%</td><td rowspan=1 colspan=1>79.5% ± 8.1%</td><td rowspan=1 colspan=1>68.6% ±9.8%</td><td rowspan=1 colspan=1>73.0% ± 7.6%</td><td rowspan=1 colspan=1>76.4% ± 9.5%</td><td rowspan=1 colspan=1>77.1% ± 2.7%</td><td rowspan=1 colspan=1>71.5% ± 2.1%</td><td rowspan=1 colspan=1>92.2%±0.1%</td></tr><tr><td rowspan=1 colspan=1>CIFAR10</td><td rowspan=1 colspan=1>54.0%</td><td rowspan=1 colspan=1>36.8%±1.2%</td><td rowspan=1 colspan=1>21.3% ± 1.5%</td><td rowspan=1 colspan=1>23.4% ± 1.3%</td><td rowspan=1 colspan=1>22.5%±3.1%</td><td rowspan=1 colspan=1>22.3%±0.7%</td><td rowspan=1 colspan=1>18.8% ± 1.3%</td><td rowspan=1 colspan=1>29.4% ±0.3%</td></tr></table>
|
| 205 |
+
|
| 206 |
+
Table 1: Comparison between our method trained for $1 0 \mathrm { \ G D }$ steps and 3 epochs and various baselines. For baselines using K-Nearest Neighbor (K-NN), best result among all combinations of distance metric $\in \{ l _ { 1 } , l _ { 2 } \}$ and $\mathtt { K } \in \{ 1 , 3 \}$ is reported. In K-NN and $k$ -means, K and $k$ can have different values. All methods use 10 images per class, except for the average real images baseline, which reuses the same images in different GD steps.
|
| 207 |
+
|
| 208 |
+
initialized networks to $3 6 . 7 9 \%$ average test accuracy on CIFAR10. Similarly, for MNIST, the 100 distilled images shown in Fig. 3a can train randomly initialized networks to $\dot { 7 } 9 . 5 0 \%$ test accuracy.
|
| 209 |
+
|
| 210 |
+
Multiple gradient descent steps and multiple epochs. In Fig. 3, we learn distilled images for 10 GD steps applied in 3 epochs, leading to a total of 100 images (with each step containing one image per category). In each epoch, these 10 steps are sequentially applied once. The early steps tend to look noisier, likely regularizing random weights to point easier for further optimization. In later steps, the images gradually look like real data and share the discriminative features for these categories. Fig. 4a shows that using more steps significantly improves the results. Fig. 4b shows a similar but slower trend as the number of epochs increases. We observe that longer training (i.e., more epochs) can help the model learn all the knowledge from the distilled images, but the performance is eventually limited by the capacity of the images (i.e., the number of total images). Alternatively, we can train the model with one GD step but a big batch size. Sec. 3.3 has shown theoretical limitations of using only one step in a simple linear case. In Fig. 5, we empirically verify that with convolutional networks, using multiple steps drastically outperforms single step method, with the same number of distilled images.
|
| 211 |
+
|
| 212 |
+
Table 1 compares our method against several baselines. Our method with both fixed and random initialization outperform all the baselines on CIFAR10 and most of the baselines on MNIST.
|
| 213 |
+
|
| 214 |
+
# 4.2 DISTILLATION FOR DIFFERENT INITIALIZATIONS AND OBJECTIVES
|
| 215 |
+
|
| 216 |
+
Next, we show two extended settings of our main algorithm discussed in Sec. 3.5 and Sec. 3.6. Both cases assume that the initial weights are random but pre-trained on a different dataset. We train the distilled images on 2000 random pre-trained models, and then apply them on unseen models.
|
| 217 |
+
|
| 218 |
+
Fixed and random pre-trained weights on digits. As shown in Sec. 3.5, we can optimize distilled images to quickly fine-tune pre-trained models for a new dataset. Table 2 shows that our method is more effective compared to various baseline on adaptation among three digits datasets: MNIST, USPS (Hull, 1994), and SVHN (Netzer et al., 2011). We also compared against a state-of-the-art few-short supervised domain adaptation method (Motiian et al., 2017). Although our method uses the entire training set to compute the distilled images, both methods use the same number of images to distill the knowledge of target dataset. Prior work (Motiian et al., 2017) is outperformed by our method with
|
| 219 |
+
|
| 220 |
+

|
| 221 |
+
Figure 6: Performance for our method and baselines with random pre-trained initialization and a malicious objective. Distilled images are trained for one GD step. For baselines, we use the same numbers of images with incorrect labels and also apply one GD step, and report the result that achieves the highest accuracy w.r.t. the incorrect labels while having $\geq 1 0 \%$ misclassification ratio on the attacked category, to avoid results with learning rates too low to change model behavior at all. (a) Our method slightly outperforms the best baseline in accuracy w.r.t. incorrect labels. (b) Our method performs similarly with some baselines in changing the prediction of the attacked category on MNIST, but is much better than all baselines on CIFAR10.
|
| 222 |
+
|
| 223 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>.Ourswith fixedpre-trained</td><td rowspan=1 colspan=1>Ourswith randompre-trained</td><td rowspan=1 colspan=1>Random real</td><td rowspan=1 colspan=1>Optimized real</td><td rowspan=1 colspan=1>k-means</td><td rowspan=1 colspan=1>Average real</td><td rowspan=1 colspan=1>Domain adaptationMotiian et al.(2017)</td><td rowspan=1 colspan=1>No adaptation</td><td rowspan=1 colspan=1>Train on fulldestinationtraining set</td></tr><tr><td rowspan=1 colspan=1>M→u</td><td rowspan=1 colspan=1>97.9%</td><td rowspan=1 colspan=1>95.4%±1.8%</td><td rowspan=1 colspan=1>94.9%±0.8%</td><td rowspan=1 colspan=1>95.2%±0.7%</td><td rowspan=1 colspan=1>92.2%±1.6%</td><td rowspan=1 colspan=1>93.9%±0.8%</td><td rowspan=1 colspan=1>96.7%±0.5%</td><td rowspan=1 colspan=1>90.4%±3.0%</td><td rowspan=1 colspan=1>97.3%±0.3%</td></tr><tr><td rowspan=1 colspan=1>u→M</td><td rowspan=1 colspan=1>93.2%</td><td rowspan=1 colspan=1>92.7% ± 1.4%</td><td rowspan=1 colspan=1>87.1% ±2.9%</td><td rowspan=1 colspan=1>87.6% ± 2.1%</td><td rowspan=1 colspan=1>85.6% ±3.1%</td><td rowspan=1 colspan=1>78.4% ±5.0%</td><td rowspan=1 colspan=1>89.2% ±2.4%</td><td rowspan=1 colspan=1>67.5%±3.9%</td><td rowspan=1 colspan=1>98.6%±0.5%</td></tr><tr><td rowspan=1 colspan=1>S→M</td><td rowspan=1 colspan=1>96.2%</td><td rowspan=1 colspan=1>85.2%±4.7%</td><td rowspan=1 colspan=1>84.6%±2.1%</td><td rowspan=1 colspan=1>85.2%±1.2%</td><td rowspan=1 colspan=1>85.8%±1.2%</td><td rowspan=1 colspan=1>74.9%± 2.6%</td><td rowspan=1 colspan=1>74.0%± 1.5%</td><td rowspan=1 colspan=1>51.6%±2.8%</td><td rowspan=1 colspan=1>98.6%±0.5%</td></tr></table>
|
| 224 |
+
|
| 225 |
+
Table 2: Performance of our method and baselines in adapting models among MNIST $( \mathcal { M } )$ , USPS $( \mathcal { U } )$ , and SVHN $( S )$ . 100 distilled images are trained for $1 0 \mathrm { G D }$ steps and 3 epochs. Few-shot domain adaptation method by Motiian et al. (2017) and baselines use the same numbers image per class.
|
| 226 |
+
|
| 227 |
+
Table 3: Performance of our method and baselines in adapting an ALEXNET pre-trained on ImageNet to PASCAL-VOC and CUB-200. Only one distilled image per class are trained to be applied in 1 GD step repeated for 3 epochs. Our method significantly outperforms the baselines. Results are collected over 10 runs.
|
| 228 |
+
|
| 229 |
+
<table><tr><td rowspan=1 colspan=1>Destination dataset</td><td rowspan=1 colspan=1>Ours</td><td rowspan=1 colspan=1>Random real</td><td rowspan=1 colspan=1>Optimized real</td><td rowspan=1 colspan=1>Average real</td><td rowspan=1 colspan=1>Fine-tune on fulldestination training set</td></tr><tr><td rowspan=1 colspan=1>PASCAL-VOC</td><td rowspan=1 colspan=1>70.75%</td><td rowspan=1 colspan=1>19.41%± 3.73%</td><td rowspan=1 colspan=1>23.82%±3.66%</td><td rowspan=1 colspan=1>9.94%</td><td rowspan=1 colspan=1>75.57%±0.18%</td></tr><tr><td rowspan=1 colspan=1>CUB-200</td><td rowspan=1 colspan=1>38.76%</td><td rowspan=1 colspan=1>7.11%±0.66%</td><td rowspan=1 colspan=1>7.23%±0.78%</td><td rowspan=1 colspan=1>2.88%</td><td rowspan=1 colspan=1>41.21%±0.51%</td></tr></table>
|
| 230 |
+
|
| 231 |
+
fixed pre-trained weights on all the tasks, and by our method with random pre-trained weights on two of the three tasks. This result shows that our distilled images indeed convey compressed information of the full dataset.
|
| 232 |
+
|
| 233 |
+
Fixed pre-trained weights on ImageNet. In Table 3, we adapt a widely-used ALEXNET model (Krizhevsky, 2014) pre-trained on ImageNet (Deng et al., 2009) to perform image classification on PASCAL-VOC (Everingham et al., 2010) and CUB-200 (Wah et al., 2011) datasets. Using only 1 distilled image per category, our method outperforms the baselines significantly. Our result is also comparable to the accuracy of fine-tuning on the full datasets which contain thousands of images.
|
| 234 |
+
|
| 235 |
+
Random Pre-trained weights and a malicious data-poisoning objective. Sec. 3.6 shows that our method can construct a new type of data poisoning, where the attacker can apply just one GD step with a few malicious data to manipulate a well-trained model. We train distilled images to make well-optimized neural networks to misclassify a particular attacked category as another target category within only one GD step. Our method requires no access to the exact weights of the model. In Fig. 6b, we evaluate our method on 200 held-out models, against various baselines using data derived from real images and incorrect labels. While some baselines perform similarly well as our method on MNIST, our method significantly outperforms all the baselines on CIFAR10.
|
| 236 |
+
|
| 237 |
+
# 5 DISCUSSION
|
| 238 |
+
|
| 239 |
+
In this paper, we present dataset distillation for compressing the knowledge of entire training data into a few synthetic training images. We can train a network to reach high performance with a small number of distilled images and several gradient descent steps. Finally, we demonstrate two applications including fast domain adaptation and effective data poisoning attack. In the future, we plan to extend our method to compress large-scale visual datasets such as ImageNet (Deng et al., 2009) and other types of data (e.g., audio and text). Also, our current method is sensitive to the initial weights distribution. We would like to investigate more on various initialization strategies, with which distilled images can work well.
|
| 240 |
+
|
| 241 |
+
# REFERENCES
|
| 242 |
+
|
| 243 |
+
Anelia Angelova, Yaser Abu-Mostafam, and Pietro Perona. Pruning training sets for learning of object categories. In CVPR, volume 1, pp. 494–501. IEEE, 2005. 3
|
| 244 |
+
|
| 245 |
+
Jimmy Ba and Rich Caruana. Do deep nets really need to be deep? In NIPS, pp. 2654–2662, 2014. 2
|
| 246 |
+
|
| 247 |
+
Olivier Bachem, Mario Lucic, and Andreas Krause. Practical coreset constructions for machine learning. arXiv preprint arXiv:1703.06476, 2017. 3
|
| 248 |
+
|
| 249 |
+
David Bau, Bolei Zhou, Aditya Khosla, Aude Oliva, and Antonio Torralba. Network dissection: Quantifying interpretability of deep visual representations. In CVPR, pp. 3319–3327. IEEE, 2017. 3
|
| 250 |
+
|
| 251 |
+
Yoshua Bengio. Gradient-based optimization of hyperparameters. Neural computation, 12(8):1889–1900, 2000. 3
|
| 252 |
+
|
| 253 |
+
Battista Biggio, Blaine Nelson, and Pavel Laskov. Poisoning attacks against support vector machines. In ICML, 2012. 6
|
| 254 |
+
|
| 255 |
+
David A Cohn, Zoubin Ghahramani, and Michael I Jordan. Active learning with statistical models. Journal of artificial intelligence research, 4:129–145, 1996. 3
|
| 256 |
+
|
| 257 |
+
Hal Daume III. Frustratingly easy domain adaptation. In ACL, 2007. 6
|
| 258 |
+
|
| 259 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. 6, 9
|
| 260 |
+
|
| 261 |
+
Justin Domke. Generic methods for optimization-based modeling. In Artificial Intelligence and Statistics, pp. 318–326, 2012. 3, 5
|
| 262 |
+
|
| 263 |
+
Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes (voc) challenge. IJCV, 88(2):303–338, 2010. 2, 9
|
| 264 |
+
|
| 265 |
+
Pedro F Felzenszwalb, Ross B Girshick, David McAllester, and Deva Ramanan. Object detection with discrimi natively trained part-based models. PAMI, 32(9):1627–1645, 2010. 3
|
| 266 |
+
|
| 267 |
+
Xavier Glorot and Yoshua Bengio. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pp. 249–256, 2010. 6, 7
|
| 268 |
+
|
| 269 |
+
Sally A Goldman and Michael J Kearns. On the complexity of teaching. Journal of Computer and System Sciences, 50(1):20–31, 1995. 3
|
| 270 |
+
|
| 271 |
+
Sariel Har-Peled and Akash Kushal. Smaller coresets for k-median and $\mathbf { k }$ -means clustering. Discrete & Computational Geometry, 37(1):3–19, 2007. 3
|
| 272 |
+
|
| 273 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In ICCV, 2015. 6
|
| 274 |
+
|
| 275 |
+
Marti A. Hearst, Susan T Dumais, Edgar Osuna, John Platt, and Bernhard Scholkopf. Support vector machines. IEEE Intelligent Systems and their applications, 13(4):18–28, 1998. 3
|
| 276 |
+
|
| 277 |
+
Geoffrey Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the knowledge in a neural network. In NIPS Deep Learning and Representation Learning Workshop, 2015. 1, 2
|
| 278 |
+
|
| 279 |
+
Andrew G Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. In CVPR, 2017. 2
|
| 280 |
+
|
| 281 |
+
Jonathan J. Hull. A database for handwritten text recognition research. PAMI, 16(5):550–554, 1994. 8
|
| 282 |
+
|
| 283 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. 13
|
| 284 |
+
|
| 285 |
+
Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. In ICML, 2017. 3, 6
|
| 286 |
+
|
| 287 |
+
Alex Krizhevsky. cuda-convnet: High-performance c++/cuda implementation of convolutional neural networks. Source code available at https://github. com/akrizhevsky/cuda-convnet2 [March, 2017], 2012. 7
|
| 288 |
+
|
| 289 |
+
Alex Krizhevsky. One weird trick for parallelizing convolutional neural networks. arXiv preprint arXiv:1404.5997, 2014. 9
|
| 290 |
+
|
| 291 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009. 2, 7
|
| 292 |
+
|
| 293 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012. 6
|
| 294 |
+
|
| 295 |
+
Agata Lapedriza, Hamed Pirsiavash, Zoya Bylinskii, and Antonio Torralba. Are all training examples equally valuable? arXiv preprint arXiv:1311.6510, 2013. 3
|
| 296 |
+
|
| 297 |
+
Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998. 2, 7
|
| 298 |
+
|
| 299 |
+
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. 1, 7
|
| 300 |
+
|
| 301 |
+
Bo Li, Yining Wang, Aarti Singh, and Yevgeniy Vorobeychik. Data poisoning attacks on factorization-based collaborative filtering. In NIPS, 2016. 6
|
| 302 |
+
|
| 303 |
+
Dougal Maclaurin, David Duvenaud, and Ryan Adams. Gradient-based hyperparameter optimization through reversible learning. In ICML, 2015. 3, 5
|
| 304 |
+
|
| 305 |
+
Aravindh Mahendran and Andrea Vedaldi. Understanding deep image representations by inverting them. In CVPR, 2015. 3
|
| 306 |
+
|
| 307 |
+
Saeid Motiian, Quinn Jones, Seyed Iranmanesh, and Gianfranco Doretto. Few-shot adversarial domain adaptation. In NIPS, 2017. 8, 9
|
| 308 |
+
|
| 309 |
+
Luis Muñoz-González, Battista Biggio, Ambra Demontis, Andrea Paudice, Vasin Wongrassamee, Emil C Lupu, and Fabio Roli. Towards poisoning of deep learning algorithms with back-gradient optimization. In Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, pp. 27–38. ACM, 2017. 6
|
| 310 |
+
|
| 311 |
+
Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y Ng. Reading digits in natural images with unsupervised feature learning. In NIPS workshop, 2011. 8
|
| 312 |
+
|
| 313 |
+
J Arturo Olvera-López, J Ariel Carrasco-Ochoa, J Francisco Martínez-Trinidad, and Josef Kittler. A review of instance selection methods. Artificial Intelligence Review, 34(2):133–143, 2010. 3
|
| 314 |
+
|
| 315 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In ICLR Workshop, 2017. 5
|
| 316 |
+
|
| 317 |
+
Barak A Pearlmutter. Fast exact multiplication by the hessian. Neural computation, 6(1):147–160, 1994. 5
|
| 318 |
+
|
| 319 |
+
Fabian Pedregosa. Hyperparameter optimization with approximate gradient. In ICML, 2016. 3
|
| 320 |
+
|
| 321 |
+
Jean Ponce, Tamara L Berg, Mark Everingham, David A Forsyth, Martial Hebert, Svetlana Lazebnik, Marcin Marszalek, Cordelia Schmid, Bryan C Russell, Antonio Torralba, et al. Dataset issues in object recognition. In Toward category-level object recognition, pp. 29–48. 2006. 3
|
| 322 |
+
|
| 323 |
+
Ilija Radosavovic, Piotr Dollár, Ross Girshick, Georgia Gkioxari, and Kaiming He. Data distillation: Towards omni-supervised learning. In CVPR, 2018. 2
|
| 324 |
+
|
| 325 |
+
Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: Hints for thin deep nets. In ICLR, 2015. 2
|
| 326 |
+
|
| 327 |
+
Frank Rosenblatt. The perceptron, a perceiving and recognizing automaton Project Para. Cornell Aeronautical Laboratory, 1957. 3
|
| 328 |
+
|
| 329 |
+
Kate Saenko, Brian Kulis, Mario Fritz, and Trevor Darrell. Adapting visual category models to new domains. In ECCV, 2010. 6
|
| 330 |
+
|
| 331 |
+
Ozan Sener and Silvio Savarese. Active learning for convolutional neural networks: A core-set approach. In ICLR, 2018. 3
|
| 332 |
+
|
| 333 |
+
Ayumi Shinohara and Satoru Miyano. Teachability in computational learning. New Generation Computing, 8(4): 337–347, 1991. 3
|
| 334 |
+
|
| 335 |
+
Simon Tong and Daphne Koller. Support vector machine active learning with applications to text classification. JMLR, 2(Nov):45–66, 2001. 3
|
| 336 |
+
Antonio Torralba and Alexei A Efros. Unbiased look at dataset bias. In CVPR, pp. 1521–1528. IEEE, 2011. 3, 6
|
| 337 |
+
Ivor W Tsang, James T Kwok, and Pak-Ming Cheung. Core vector machines: Fast svm training on very large data sets. JMLR, 6(Apr):363–392, 2005. 3
|
| 338 |
+
C. Wah, S. Branson, P. Welinder, P. Perona, and S. Belongie. The Caltech-UCSD Birds-200-2011 Dataset. Technical Report CNS-TR-2011-001, California Institute of Technology, 2011. 2, 9
|
| 339 |
+
Matthew D Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In ECCV, 2014. 3
|
| 340 |
+
Bolei Zhou, Aditya Khosla, Agata Lapedriza, Aude Oliva, and Antonio Torralba. Object detectors emerge in deep scene cnns. In ICLR, 2015. 3
|
| 341 |
+
|
| 342 |
+
# S-6 SUPPLEMENTARY MATERIAL
|
| 343 |
+
|
| 344 |
+
# S-6.1 EXPERIMENT DETAILS
|
| 345 |
+
|
| 346 |
+
For the networks used in our experiments, we disable dropout layers due to the randomness and computational cost they introduce in distillation. Moreover, we initialize the distilled learning rates as 0.02 and use Adam optimizer (Kingma & Ba, 2014) with a learning rate of 0.001. For random initialization and random pre-trained weights, we sample 4 to 16 initial weights in each step.
|
| 347 |
+
|
| 348 |
+
Details of the baselines are listed below.
|
| 349 |
+
|
| 350 |
+
• Random real images: We randomly sample the same number of real training images per category. 10 such set of sampled images are evaluated. • Optimized real images: We sampled 50 sets of real images using above procedure, and evaluate 10 sets that achieve best performance on 20 held-out models and 1024 training images. • $k$ -means: For each category, we use $k$ -means to extract the same number of cluster centroids as the number of distilled images in our method. 10 such set of sampled images are evaluated. • Average real images: We compute the average image of all the images in each category, which is reused in different GD steps. We evaluate the model only once because average images are deterministic.
|
parse/train/Sy4lojC9tm/Sy4lojC9tm_content_list.json
ADDED
|
@@ -0,0 +1,1785 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 3 |
+
"type": "text",
|
| 4 |
+
"text": "DATASET DISTILLATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
99,
|
| 9 |
+
467,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
145,
|
| 20 |
+
398,
|
| 21 |
+
172
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
210,
|
| 32 |
+
544,
|
| 33 |
+
224
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Model distillation aims to distill the knowledge of a complex model into a simpler one. In this paper, we consider an alternative formulation called dataset distillation: we keep the model fixed and instead attempt to distill the knowledge from a large training dataset into a small one. The idea is to synthesize a small number of data points that do not need to come from the correct data distribution, but will, when given to the learning algorithm as training data, approximate the model trained on the original data. For example, we show that it is possible to compress 60, 000 MNIST training images into just 10 synthetic distilled images (one per class) and achieve close to original performance with only a few steps of gradient descent, given a particular fixed network initialization. We evaluate our method in a wide range of initialization settings and with different learning objectives. Experiments on multiple datasets show the advantage of our approach compared to alternative methods in most settings. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
241,
|
| 43 |
+
766,
|
| 44 |
+
421
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
448,
|
| 55 |
+
336,
|
| 56 |
+
463
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Hinton et al. (2015) proposed network distillation as a way to transfer the knowledge from an ensemble of many separately-trained networks into a single, typically compact network, performing a type of model compression. In this paper, we are considering a related but orthogonal task: rather than distilling the model, we propose to distill the dataset. Unlike network distillation, we keep the model fixed but encapsulate the knowledge of the entire training dataset, which typically contains thousands to millions of images, into a small number of synthetic training images. In fact, we show that we can go as low as one synthetic image per category, training the same model to reach surprisingly good performance on these synthetic images. For example in Fig. 1a, we compress 60, 000 training images of MNIST digit dataset into only 10 synthetic images (one per class), given a fixed network initialization. Training the standard LENET (LeCun et al., 1998) architecture on these 10 images yields test-time MNIST recognition performance of $9 4 \\%$ , compared to $9 9 \\%$ for the original task. For networks with unknown random weights, 100 synthetic images train to $8 0 \\%$ with a few gradient descent steps. We name our method Dataset Distillation and these images distilled images. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
479,
|
| 66 |
+
825,
|
| 67 |
+
659
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "But why is dataset distillation useful? There is the purely scientific question of how much data is really encoded in a given training set and how compressible it is? Moreover, given a few distilled images, we can now “load up\" a given network with an entire dataset-worth of knowledge much more efficiently, compared to traditional training that often uses tens of thousands of gradient descent steps. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
666,
|
| 77 |
+
825,
|
| 78 |
+
722
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "A key question is whether it is even possible to compress a dataset into a small set of synthetic data samples. For example, is it possible to train an image classification model on synthetic images that are not on the natural image manifold? Conventional wisdom would suggest that the answer is no, as the synthetic training data may not follow the same distribution as the real test data. Yet, in this work, we show that this is indeed possible. We present a new optimization algorithm for synthesizing a small number of synthetic data samples not only capturing much of the original training data but also tailored explicitly for fast model training in only a few gradient steps. To achieve our goal, we first derive the network weights as a differentiable function of our synthetic training data. Given this connection, instead of optimizing the network weights for a particular training objective, we can optimize the pixel values of our distilled images. However, this formulation requires access to the initial network weights of the network. To relax this assumption, we develop a method for generating distilled images for networks with random initializations from a certain distribution. To further boost performance, we propose an iterative version, where we obtain a sequence of distilled images to train a model and each distilled image can be trained with multiple passes. Finally, we study the case of a simple linear model, deriving a lower bound on the size of distilled data required to achieve the same performance as training on the full dataset. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
729,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/8d775721ee9ef7c370a5410e69526b54af650a31e01a070c8e83eec5364a17b0.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Dataset Distillation: we distill the knowledge of tens of thousands of images into a few synthetic training images called distilled images. (a): On MNIST, 10 distilled images can train a standard LENET with a particular fixed initialization to $9 4 \\%$ test accuracy (compared to $9 9 \\%$ when fully trained). On CIFAR10, 100 distilled images can train a deep network with fixed initialization to $5 4 \\%$ test accuracy (compared to $8 0 \\%$ when fully trained). (b): Using pre-trained networks for SVHN, we can distill the domain difference between two SVHN and MNIST into 100 distilled images. These images can be used to quickly fine-tune networks trained for SVHN to achieve high accuracy on MNIST. (c): Training for a malicious objective, our formulation can be used to create adversarial attack images. If well-optimized networks retrained with these images for one single gradient step, they will catastrophically misclassify a particular targeted class. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
202,
|
| 102 |
+
71,
|
| 103 |
+
794,
|
| 104 |
+
479
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
176,
|
| 113 |
+
622,
|
| 114 |
+
821,
|
| 115 |
+
650
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "We demonstrate that a handful of distilled images can be used to train a model with a fixed initialization to achieve surprisingly high performance. For a network with unknown random weights pre-trained on other tasks, our method can still find distilled images for fast model fine-tuning. We further test our method on a wide range of initialization settings: fixed initialization, random initialization, fixed pre-trained weights, and random pre-trained weights, as well as two training objectives: image classification and malicious dataset poisoning attack. Extensive experiments on four publicly available datasets, MNIST (LeCun, 1998), CIFAR10 (Krizhevsky & Hinton, 2009), PASCAL-VOC (Everingham et al., 2010) and CUB-200 (Wah et al., 2011), show that our method often performs better than alternative methods and existing baselines. Our code and models will be available upon publication. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
657,
|
| 125 |
+
825,
|
| 126 |
+
796
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "2 RELATED WORK ",
|
| 133 |
+
"text_level": 1,
|
| 134 |
+
"bbox": [
|
| 135 |
+
176,
|
| 136 |
+
814,
|
| 137 |
+
344,
|
| 138 |
+
830
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "Knowledge distillation. The main inspiration for this paper is network distillation (Hinton et al., 2015), a widely used technique in ensemble learning (Radosavovic et al., 2018) and model compression (Ba & Caruana, 2014; Romero et al., 2015; Howard et al., 2017). While network distillation aims to distill the knowledge of multiple networks into a single model, our goal is to compress the knowledge of an entire dataset into a few synthetic training images. Our method is also related to the theoretical concept of teaching dimension, which specifies the size of dataset necessary to teach a target model (oracle) to a learner (Goldman & Kearns, 1995; Shinohara & Miyano, 1991). While these methods do not enforce the training data to be real, they need the existence of oracle models, which our method does not require. ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
840,
|
| 148 |
+
825,
|
| 149 |
+
924
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "",
|
| 156 |
+
"bbox": [
|
| 157 |
+
176,
|
| 158 |
+
103,
|
| 159 |
+
823,
|
| 160 |
+
146
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 2
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Dataset pruning, core-set construction, and instance selection. Another way to distill knowledge is to summarize the entire dataset by a small subset, either by only using the “valuable” data for model training (Angelova et al., 2005; Lapedriza et al., 2013; Felzenszwalb et al., 2010) or by only labeling the “valuable” data via active learning (Cohn et al., 1996; Tong & Koller, 2001). Similarly, core-set construction (Bachem et al., 2017; Tsang et al., 2005; Har-Peled & Kushal, 2007; Sener & Savarese, 2018) and instance selection (Olvera-López et al., 2010) methods aim to select a subset of the entire training data, such that models trained on the subset will perform as closely well as possible to the model trained on full dataset for faster training time. For example, solutions to many classical linear learning algorithms, e.g., Perceptron (Rosenblatt, 1957) and support vector machine (SVMs) (Hearst et al., 1998), are weighted sums of a subset of training examples, which can be viewed as core-sets. However, algorithms constructing these subsets require many more training examples per category than we do, in part because their “valuable” images have to be real, whereas our distilled images are exempt from this constraint. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
173,
|
| 169 |
+
150,
|
| 170 |
+
825,
|
| 171 |
+
330
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Gradient-based hyperparameter optimization. Our work bears similarity with the gradient-based hyperparameter optimization techniques, which compute the gradient of hyperparameter w.r.t. the final validation loss by reversing the entire training procedure (Bengio, 2000; Domke, 2012; Pedregosa, 2016; Maclaurin et al., 2015). We also backpropagate errors through optimization steps. However, we use only training set data and focus much more heavily on learning synthetic training data rather than tuning hyperparameters. To our knowledge, this direction has only been slightly touched on previously (Maclaurin et al., 2015). We explore it in much greater depth and demonstrate the idea of dataset distillation through various settings. More crucially, our distilled images can work well across random initialization weights, which cannot be achieved by any prior work. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
335,
|
| 181 |
+
825,
|
| 182 |
+
460
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Understanding datasets. Researchers have presented various approaches for understanding and visualizing learned models (Zeiler & Fergus, 2014; Zhou et al., 2015; Mahendran & Vedaldi, 2015; Bau et al., 2017; Koh & Liang, 2017). Unlike these approaches, we are interested in understanding the intrinsic properties of the training data rather than a specific trained model. Analyzing training datasets has, in the past, been mainly focused on the investigation of bias in datasets (Ponce et al., 2006; Torralba & Efros, 2011). For example, Torralba & Efros (2011) proposed to quantify the “value” of dataset samples using cross-dataset generalization. Our method offers a new perspective for understanding datasets by distilling full datasets into few synthetic samples. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
173,
|
| 191 |
+
464,
|
| 192 |
+
825,
|
| 193 |
+
577
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "3 APPROACH",
|
| 200 |
+
"text_level": 1,
|
| 201 |
+
"bbox": [
|
| 202 |
+
174,
|
| 203 |
+
606,
|
| 204 |
+
297,
|
| 205 |
+
621
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Given a model and a dataset, we aim to obtain a new, much-reduced synthetic dataset which performs almost as well as the original dataset. We first present our main optimization algorithm for training a network with a fixed initialization with one gradient descent (GD) step (Sec. 3.1). In Sec. 3.2, we derive the resolution to a more challenging case, where the initial weight is random rather than fixed. We also discuss the initial weights distribution where our method can work well. Furthermore, we study a linear network case to help the readers understand both the solution and limits of our method in Sec. 3.3. In Sec. 3.4, we extend our approach to more than one gradient descent steps and more than one passes. Finally, Sec. 3.5 and Sec. 3.6 demonstrate how to obtain distilled images with different initialization distributions and learning objectives. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
642,
|
| 215 |
+
825,
|
| 216 |
+
768
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "Consider a training dataset $\\mathbf { x } = \\{ x _ { i } \\} _ { i = 1 } ^ { N }$ . We parameterize our neural network as $\\theta$ and denote $\\ell ( x _ { i } , \\theta )$ as the loss function that represents the loss of this network on a data point $x _ { i }$ . Our task is to find the minimizer of the empirical error over the entire training data: ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
773,
|
| 226 |
+
825,
|
| 227 |
+
818
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "equation",
|
| 233 |
+
"img_path": "images/e010d3489766ead9858144e6388b4eafc7db62a926aef6f69bdbf34a6a751813.jpg",
|
| 234 |
+
"text": "$$\n\\theta ^ { * } = \\underset { \\theta } { \\arg \\operatorname* { m i n } } \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\ell ( x _ { i } , \\theta ) = \\underset { \\theta } { \\arg \\operatorname* { m i n } } \\ell ( \\mathbf { x } , \\theta ) ,\n$$",
|
| 235 |
+
"text_format": "latex",
|
| 236 |
+
"bbox": [
|
| 237 |
+
338,
|
| 238 |
+
821,
|
| 239 |
+
658,
|
| 240 |
+
864
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "where for notation simplicity we overload the $\\ell ( \\cdot )$ notation so that $\\ell ( \\mathbf { x } , \\theta )$ represents the average error of $\\theta$ over the entire dataset $\\mathbf { x } = \\{ x _ { i } \\} _ { i = 1 } ^ { N }$ . We make the mild assumption that $\\ell$ is twice-differentiable, which holds for the majority of modern machine learning models (e.g., most neural networks) and tasks. ",
|
| 247 |
+
"bbox": [
|
| 248 |
+
174,
|
| 249 |
+
867,
|
| 250 |
+
825,
|
| 251 |
+
924
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "Algorithm 1 Dataset Distillation ",
|
| 258 |
+
"text_level": 1,
|
| 259 |
+
"bbox": [
|
| 260 |
+
174,
|
| 261 |
+
103,
|
| 262 |
+
392,
|
| 263 |
+
117
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 3
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "Input: $p ( \\theta _ { 0 } )$ : distribution of initial weights; $M$ : the number of distilled data \nInput: $\\alpha$ : step size; $n$ : batch size; $T$ : the number of optimization iterations; $\\tilde { \\eta } _ { 0 }$ : initial value for $\\tilde { \\eta }$ \n1: Initialize $\\hat { \\tilde { \\mathbf { x } } } = \\{ \\tilde { x } _ { i } \\} _ { i = 1 } ^ { M }$ randomly, $\\tilde { \\eta } \\tilde { \\eta } _ { 0 }$ \n2: for each training step $t = 1$ to $T$ do \n3: Get a minibatch of real data $\\mathbf { x } _ { t } = \\{ x _ { t , j } \\} _ { j = 1 } ^ { n }$ \n4: Sample a batch of initial weights $\\theta _ { 0 } ^ { ( j ) } \\sim p ( \\theta _ { 0 } )$ \n5: for each sampled $\\theta _ { 0 } ^ { ( j ) }$ do \n6: Compute updated parameter with GD: $\\theta _ { 1 } ^ { ( j ) } = \\theta _ { 0 } ^ { ( j ) } - \\tilde { \\eta } \\nabla _ { \\theta _ { 0 } ^ { ( j ) } } \\ell ( \\tilde { \\mathbf { x } } , \\theta _ { 0 } ^ { ( j ) } )$ \n7: Evaluate the objective function on real data: $\\mathscr { L } ^ { ( j ) } = \\ell ( \\mathbf { x } _ { t } , \\boldsymbol { \\theta } _ { 1 } ^ { ( j ) } )$ \n8: end for \n9: Update $\\begin{array} { r } { \\tilde { \\mathbf { x } } \\tilde { \\mathbf { x } } - \\alpha \\nabla _ { \\tilde { \\mathbf { x } } } \\sum _ { j } \\mathcal { L } ^ { ( j ) } } \\end{array}$ , and $\\begin{array} { r } { \\tilde { \\eta } \\tilde { \\eta } - \\alpha \\nabla _ { \\tilde { \\eta } } \\sum _ { j } \\mathcal { L } ^ { ( j ) } } \\end{array}$ ",
|
| 270 |
+
"bbox": [
|
| 271 |
+
176,
|
| 272 |
+
123,
|
| 273 |
+
754,
|
| 274 |
+
284
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 3
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "10: end for Output: distilled data $\\tilde { \\bf x }$ and the optimized learning rate $\\tilde { \\eta }$ ",
|
| 281 |
+
"bbox": [
|
| 282 |
+
174,
|
| 283 |
+
284,
|
| 284 |
+
521,
|
| 285 |
+
308
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 3
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "3.1 OPTIMIZING DISTILLED DATA ",
|
| 292 |
+
"text_level": 1,
|
| 293 |
+
"bbox": [
|
| 294 |
+
176,
|
| 295 |
+
335,
|
| 296 |
+
423,
|
| 297 |
+
349
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "Standard training usually applies minibatch stochastic gradient descent (SGD) or its variants. At each step $t$ , we sample a minibatch of training data $\\mathbf { x } _ { t } = \\{ x _ { t , j } \\} _ { j = 1 } ^ { n }$ and update the current parameters as ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
173,
|
| 306 |
+
362,
|
| 307 |
+
823,
|
| 308 |
+
392
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "equation",
|
| 314 |
+
"img_path": "images/d7dd981bfeefa7ce7e090d26dbaa2ecf8a5498512ed49672770118df8b365c31.jpg",
|
| 315 |
+
"text": "$$\n\\theta _ { t + 1 } = \\theta _ { t } - \\eta \\nabla _ { \\theta _ { t } } \\ell ( \\mathbf { x } _ { t } , \\theta _ { t } ) ,\n$$",
|
| 316 |
+
"text_format": "latex",
|
| 317 |
+
"bbox": [
|
| 318 |
+
406,
|
| 319 |
+
397,
|
| 320 |
+
589,
|
| 321 |
+
415
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "where $\\eta$ is the learning rate. Such a training process often takes tens of thousands or even millions of above update steps to converge. Instead, we aim to learn a tiny set of synthetic distilled training data $\\tilde { \\mathbf { x } } = \\{ \\tilde { x } _ { i } \\} _ { i = 1 } ^ { M }$ with $M \\ll N$ and a corresponding learning rate $\\tilde { \\eta }$ so that a single GD step like ",
|
| 328 |
+
"bbox": [
|
| 329 |
+
174,
|
| 330 |
+
417,
|
| 331 |
+
825,
|
| 332 |
+
460
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "equation",
|
| 338 |
+
"img_path": "images/72559ca6a15ef375fb45021ba8fc8cf857f4f26fcfe046e69742b21f6b12a25f.jpg",
|
| 339 |
+
"text": "$$\n\\theta _ { 1 } = \\theta _ { 0 } - \\tilde { \\eta } \\nabla _ { \\theta _ { 0 } } \\ell ( \\tilde { \\mathbf { x } } , \\theta _ { 0 } )\n$$",
|
| 340 |
+
"text_format": "latex",
|
| 341 |
+
"bbox": [
|
| 342 |
+
416,
|
| 343 |
+
464,
|
| 344 |
+
580,
|
| 345 |
+
481
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 3
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "using these learned synthetic data $\\tilde { \\mathbf { x } }$ greatly boosts performance on the real training dataset. ",
|
| 352 |
+
"bbox": [
|
| 353 |
+
173,
|
| 354 |
+
484,
|
| 355 |
+
772,
|
| 356 |
+
500
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "Given an initialization $\\theta _ { 0 }$ , we obtain these synthetic data and $\\tilde { \\eta }$ that minimize the objective below $\\mathcal { L }$ : ",
|
| 363 |
+
"bbox": [
|
| 364 |
+
181,
|
| 365 |
+
505,
|
| 366 |
+
825,
|
| 367 |
+
520
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "equation",
|
| 373 |
+
"img_path": "images/65b6fb3234300cf50678c2fbdd96dabadb0eba49e12c01332ea5a21953a2e842.jpg",
|
| 374 |
+
"text": "$$\n\\tilde { \\mathbf { x } } ^ { * } , \\tilde { \\eta } ^ { * } = \\mathop { \\mathrm { a r g } \\operatorname* { m i n } } _ { \\tilde { \\mathbf { x } } , \\tilde { \\eta } } \\mathcal { L } \\big ( \\tilde { \\mathbf { x } } , \\tilde { \\eta } ; \\theta _ { 0 } \\big ) = \\mathop { \\mathrm { a r g } \\operatorname* { m i n } } _ { \\tilde { \\mathbf { x } } , \\tilde { \\eta } } \\ell ( \\mathbf { x } , \\theta _ { 1 } ) = \\mathop { \\mathrm { a r g } \\operatorname* { m i n } } _ { \\tilde { \\mathbf { x } } , \\tilde { \\eta } } \\ell \\big ( \\mathbf { x } , \\theta _ { 0 } - \\tilde { \\eta } \\nabla _ { \\theta _ { 0 } } \\ell \\big ( \\tilde { \\mathbf { x } } , \\theta _ { 0 } \\big ) \\big ) ,\n$$",
|
| 375 |
+
"text_format": "latex",
|
| 376 |
+
"bbox": [
|
| 377 |
+
215,
|
| 378 |
+
523,
|
| 379 |
+
779,
|
| 380 |
+
551
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 3
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "text",
|
| 386 |
+
"text": "where we derive the new weights $\\theta _ { 1 }$ as a function of distilled images $\\tilde { \\mathbf { x } }$ and learning rate $\\tilde { \\eta }$ using Eqn. 2 and then evaluate the new weights over all the training images $\\mathbf { x }$ . Note that the loss $\\mathcal { L } ( \\tilde { \\mathbf { x } } , \\tilde { \\eta } ; \\theta _ { 0 } )$ is differentiable w.r.t. $\\tilde { \\mathbf { x } }$ and $\\tilde { \\eta }$ , and can thus be optimized using standard gradient-based algorithms. In many classification tasks, the data $\\mathbf { x }$ may contain discrete parts, e.g., the class labels in data-label pairs. For such cases, we fix the discrete parts rather than learn them. ",
|
| 387 |
+
"bbox": [
|
| 388 |
+
173,
|
| 389 |
+
554,
|
| 390 |
+
825,
|
| 391 |
+
625
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 3
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "3.2 DISTILLATION FOR RANDOM INITIALIZATIONS ",
|
| 398 |
+
"text_level": 1,
|
| 399 |
+
"bbox": [
|
| 400 |
+
174,
|
| 401 |
+
643,
|
| 402 |
+
540,
|
| 403 |
+
659
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 3
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "Unfortunately, the above distilled data optimized for a given initialization do not generalize well to other initialization weights. The distilled data often look like random noise (e.g., in Fig. 2a) as it encodes the information of both training dataset $\\mathbf { x }$ and a particular network initialization $\\theta _ { 0 }$ . To address the above issue, we turn to calculate a small number of distilled data that can work for networks with random initializations from a specific distribution. We formulate the optimization problem as follows: ",
|
| 410 |
+
"bbox": [
|
| 411 |
+
173,
|
| 412 |
+
670,
|
| 413 |
+
825,
|
| 414 |
+
753
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "equation",
|
| 420 |
+
"img_path": "images/ec7b678c0f5b347d9c8c56d73be55e18b4a79a2e00ca0e0cf079d984203c6571.jpg",
|
| 421 |
+
"text": "$$\n\\tilde { \\mathbf { x } } ^ { * } , \\tilde { \\eta } ^ { * } = \\arg \\operatorname* { m i n } _ { \\tilde { \\mathbf { x } } , \\tilde { \\eta } } \\mathbb { E } _ { \\theta _ { 0 } \\sim p ( \\theta _ { 0 } ) } \\mathcal { L } ( \\tilde { \\mathbf { x } } , \\tilde { \\eta } ; \\theta _ { 0 } ) ,\n$$",
|
| 422 |
+
"text_format": "latex",
|
| 423 |
+
"bbox": [
|
| 424 |
+
366,
|
| 425 |
+
756,
|
| 426 |
+
629,
|
| 427 |
+
784
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 3
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "where $\\theta _ { 0 }$ is a randomly sampled network initialization from the distribution $p ( \\theta _ { 0 } )$ . Algorithm 1 illustrates our main method. During optimization, the distilled data are optimized to work well for multiple networks whose initial weights are sampled from $p ( \\theta _ { 0 } )$ . In practice, we observe that the final distilled data generalize well to the unseen initializations. Besides, these distilled images usually look quite informative, encoding the discriminative features of each category (Fig. 3). ",
|
| 434 |
+
"bbox": [
|
| 435 |
+
174,
|
| 436 |
+
790,
|
| 437 |
+
825,
|
| 438 |
+
861
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 3
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "For distilled data to be properly learned, it turns out to be crucial for $\\ell ( { \\mathbf { x } } , \\cdot )$ to share similar local conditions (e.g., output values, gradient magnitudes) over $\\theta _ { 0 }$ sampled from $p ( \\theta _ { 0 } )$ . In the next section, we derive a lower bound on the number of distilled data needed for a simple model with arbitrary initial $\\theta _ { 0 }$ , and discuss its implications on choosing $p ( \\theta _ { 0 } )$ . ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
867,
|
| 448 |
+
825,
|
| 449 |
+
924
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "3.3 ANALYSIS OF A SIMPLE LINEAR CASE WITH QUADRATIC LOSS ",
|
| 456 |
+
"text_level": 1,
|
| 457 |
+
"bbox": [
|
| 458 |
+
174,
|
| 459 |
+
103,
|
| 460 |
+
651,
|
| 461 |
+
118
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "This section studies our formulation in a simple linear regression case. We derive the lower bound of the number of distilled images needed to achieve the same performance as training on full dataset for arbitrary initialization with one GD step. Consider a dataset $\\mathbf { x }$ containing $N$ data-target pairs $\\{ ( d _ { i } , t _ { i } ) \\} _ { i = 1 } ^ { N }$ , where $d _ { i } \\in \\mathbb { R } ^ { D }$ and $t _ { i } \\in \\mathbb { R }$ , which we represent as two matrices: an $N \\times D$ data matrix $\\mathbf { d }$ and an $N \\times 1$ target matrix $\\mathbf { t }$ . Given the mean squared error and a $D \\times 1$ weight matrix $\\theta$ , we have ",
|
| 468 |
+
"bbox": [
|
| 469 |
+
173,
|
| 470 |
+
130,
|
| 471 |
+
825,
|
| 472 |
+
200
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 4
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "equation",
|
| 478 |
+
"img_path": "images/03d4e19049a1c4cb29bf93ff0420bf85802ebb56a63202f3be0008bf54df741c.jpg",
|
| 479 |
+
"text": "$$\n\\ell ( { \\mathbf x } , \\theta ) = \\ell ( ( { \\mathbf d } , { \\mathbf t } ) , \\theta ) = \\frac { 1 } { 2 N } \\| { \\mathbf d } \\theta - { \\mathbf t } \\| ^ { 2 } .\n$$",
|
| 480 |
+
"text_format": "latex",
|
| 481 |
+
"bbox": [
|
| 482 |
+
367,
|
| 483 |
+
204,
|
| 484 |
+
632,
|
| 485 |
+
234
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 4
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "We aim to learn $M$ synthetic data-target pairs $\\tilde { \\mathbf { x } } = ( \\tilde { \\mathbf { d } } , \\tilde { \\mathbf { t } } )$ , where $\\tilde { \\mathbf { d } }$ is an $M \\times D$ matrix, $\\tilde { \\mathbf { t } }$ an $M \\times 1$ matrix $M \\ll N$ ), and $\\tilde { \\eta }$ the learning rate, to minimize $\\ell ( \\mathbf { x } , \\theta _ { 0 } - \\tilde { \\eta } \\nabla _ { \\theta _ { 0 } } \\ell ( \\tilde { \\mathbf { x } } , \\theta _ { 0 } ) )$ . The updated weight matrix after one GD step with these distilled data is ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
173,
|
| 494 |
+
238,
|
| 495 |
+
825,
|
| 496 |
+
281
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 4
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "equation",
|
| 502 |
+
"img_path": "images/12b29b05fff3bb308fd827f789d4c1220bd9ea00a87bae122c063a8bb35cd302.jpg",
|
| 503 |
+
"text": "$$\n\\theta _ { 1 } = \\theta _ { 0 } - \\tilde { \\eta } \\nabla _ { \\theta _ { 0 } } \\ell ( \\tilde { \\mathbf { x } } , \\theta _ { 0 } ) = \\theta _ { 0 } - \\frac { \\tilde { \\eta } } { M } \\tilde { \\mathbf { d } } ^ { T } ( \\tilde { \\mathbf { d } } \\theta _ { 0 } - \\tilde { \\mathbf { t } } ) = ( \\mathbf { I } - \\frac { \\tilde { \\eta } } { M } \\tilde { \\mathbf { d } } ^ { T } \\tilde { \\mathbf { d } } ) \\theta _ { 0 } + \\frac { \\tilde { \\eta } } { M } \\tilde { \\mathbf { d } } ^ { T } \\tilde { \\mathbf { t } } .\n$$",
|
| 504 |
+
"text_format": "latex",
|
| 505 |
+
"bbox": [
|
| 506 |
+
235,
|
| 507 |
+
285,
|
| 508 |
+
764,
|
| 509 |
+
315
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "Note that for such quadratic loss, there always exists some learned distilled data $\\tilde { \\mathbf { x } }$ allowing us to achieve the same performance as training on full dataset $\\mathbf { x }$ (i.e., attaining the global minimum) for any initialization $\\theta _ { 0 }$ .∗ But how small can $M$ , the size of distilled data, be? For such models, the global minimum is attained at any $\\theta ^ { * }$ satisfying $\\mathbf { d } ^ { T } \\mathbf { d } \\theta ^ { * } = \\mathbf { d } ^ { T } \\mathbf { t }$ . Substituting Eqn. (6) in, we have ",
|
| 516 |
+
"bbox": [
|
| 517 |
+
173,
|
| 518 |
+
318,
|
| 519 |
+
825,
|
| 520 |
+
375
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "equation",
|
| 526 |
+
"img_path": "images/d896aafde41677c4b553da0f04f86e5a6b8bf9e2988262bfc48bae66852e843a.jpg",
|
| 527 |
+
"text": "$$\n\\mathbf { d } ^ { T } \\mathbf { d } ( \\mathbf { I } - \\frac { \\tilde { \\eta } } { M } \\tilde { \\mathbf { d } } ^ { T } \\tilde { \\mathbf { d } } ) \\theta _ { 0 } + \\frac { \\tilde { \\eta } } { M } \\mathbf { d } ^ { T } \\mathbf { d } \\tilde { \\mathbf { d } } ^ { T } \\tilde { \\mathbf { t } } = \\mathbf { d } ^ { T } \\mathbf { t } .\n$$",
|
| 528 |
+
"text_format": "latex",
|
| 529 |
+
"bbox": [
|
| 530 |
+
349,
|
| 531 |
+
377,
|
| 532 |
+
648,
|
| 533 |
+
409
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "Here we make the mild assumption that the feature columns of the data matrix $\\mathbf { d }$ are independent (i.e., ${ \\bf d } ^ { T } { \\bf d }$ has full rank). For a $\\bar { \\bf x } = ( \\tilde { \\bf d } , \\tilde { \\bf t } )$ to satisfy the above equation for any $\\theta _ { 0 }$ , we must have ",
|
| 540 |
+
"bbox": [
|
| 541 |
+
174,
|
| 542 |
+
410,
|
| 543 |
+
826,
|
| 544 |
+
440
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 4
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "equation",
|
| 550 |
+
"img_path": "images/5cd7e17f6e10952cf70f2e9869c4a269e03a24f7198894b92def4fed8255ccdc.jpg",
|
| 551 |
+
"text": "$$\n\\mathbf { I } - \\frac { \\widetilde { \\eta } } { M } \\widetilde { \\mathbf { d } } ^ { T } \\widetilde { \\mathbf { d } } = \\mathbf { 0 } ,\n$$",
|
| 552 |
+
"text_format": "latex",
|
| 553 |
+
"bbox": [
|
| 554 |
+
437,
|
| 555 |
+
444,
|
| 556 |
+
557,
|
| 557 |
+
474
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "which implies that $\\tilde { \\mathbf { d } } ^ { T } \\tilde { \\mathbf { d } }$ has full rank and $M \\geq D$ ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
478,
|
| 567 |
+
503,
|
| 568 |
+
494
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "Discussion. The analysis considers only a simple case but suggests that any small number of distilled data fails to generalize to arbitrary starting $\\theta _ { 0 }$ . This is intuitively expected as the optimization target $\\ell ( { \\bf x } , \\theta _ { 1 } ) = \\ell ( { \\bf x } , \\theta _ { 0 } - \\tilde { \\eta } \\nabla _ { \\boldsymbol { \\theta } _ { 0 } } \\ell ( \\tilde { \\bf x } , \\tilde { \\theta _ { 0 } } ) )$ depends on the local behavior of $\\ell ( { \\mathbf { x } } , \\cdot )$ around $\\theta _ { 0 }$ , which can be drastically different across various $\\theta _ { 0 }$ values. We note that the lower bound $M \\geq D$ is a quite restricting one, considering that real datasets often have thousands to even hundreds of thousands of dimensions (e.g., image classification). This analysis motivates us to focus on $p ( \\theta _ { 0 } )$ distributions that yield similar local conditions over the support. Sec. 3.5 discusses several practical choices explored in this paper. Additionally, to address the limitation of using a single GD step, we extend our method to multiple GD steps in the next section. In Sec. 4.1, we empirically verify that using multiple steps is much more effective than using just one on deep convolutional networks, with the total amount of distilled data fixed. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
173,
|
| 577 |
+
498,
|
| 578 |
+
826,
|
| 579 |
+
651
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 4
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "3.4 MULTIPLE GRADIENT DESCENT STEPS AND MULTIPLE EPOCHS ",
|
| 586 |
+
"text_level": 1,
|
| 587 |
+
"bbox": [
|
| 588 |
+
176,
|
| 589 |
+
670,
|
| 590 |
+
658,
|
| 591 |
+
685
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 4
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "We can extend Algorithm 1 to more than one gradient descent steps by changing Line 6 to multiple sequential GD steps each on a different batch of distilled data and learning rate, i.e., each step $i$ is ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
176,
|
| 600 |
+
696,
|
| 601 |
+
825,
|
| 602 |
+
726
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 4
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "equation",
|
| 608 |
+
"img_path": "images/c9907d9410f57a8c52f160c5f9f94426af0848dd9f36822e560f18bb3dc94a1e.jpg",
|
| 609 |
+
"text": "$$\n\\theta _ { i + 1 } = \\theta _ { i } - \\tilde { \\eta } _ { i } \\nabla _ { \\theta _ { i } } \\ell \\big ( \\tilde { \\mathbf { x } } _ { i } , \\theta _ { i } \\big ) ,\n$$",
|
| 610 |
+
"text_format": "latex",
|
| 611 |
+
"bbox": [
|
| 612 |
+
405,
|
| 613 |
+
731,
|
| 614 |
+
591,
|
| 615 |
+
747
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 4
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "and changing Line 9 to backpropagate through all steps. However, naively computing gradients is both memory-intensive and computationally-expensive. Therefore, we exploit a recent technique called back-gradient optimization, which allows for significantly faster gradient calculation of such updates in reverse-mode differentiation (i.e., backpropagation). Specifically, back-gradient optimization formulates the necessary second order terms into efficient Hessian-vector products (Pearlmutter, 1994), which can be easily calculated with modern automatic differentiation systems such as PyTorch (Paszke et al., 2017). For further algorithm details in this aspect, we refer readers to prior work (Domke, 2012; Maclaurin et al., 2015). ",
|
| 622 |
+
"bbox": [
|
| 623 |
+
173,
|
| 624 |
+
750,
|
| 625 |
+
826,
|
| 626 |
+
862
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 4
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "Multiple epochs. To further improve the performance, we can train the network with the same distilled images for multiple epochs (passes) of the GD step(s). In particular, we tie the image pixels for the same distilled images used in different epochs. In other words, for each epoch, our method cycles through all GD steps, where each step is associated with a different batch of distilled data. We do not tie the trained learning rates across epochs as later epochs often use smaller learning rates. ",
|
| 633 |
+
"bbox": [
|
| 634 |
+
176,
|
| 635 |
+
866,
|
| 636 |
+
823,
|
| 637 |
+
895
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 4
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "",
|
| 644 |
+
"bbox": [
|
| 645 |
+
173,
|
| 646 |
+
103,
|
| 647 |
+
825,
|
| 648 |
+
146
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 5
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "3.5 DISTILLATION WITH DIFFERENT INITIALIZATIONS ",
|
| 655 |
+
"text_level": 1,
|
| 656 |
+
"bbox": [
|
| 657 |
+
174,
|
| 658 |
+
166,
|
| 659 |
+
558,
|
| 660 |
+
181
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 5
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "Inspired by the analysis of the simple linear case in Sec. 3.3, we aim to focus on initial weights distributions $p ( \\theta )$ that yield similar local conditions over the support. In this work, we focus on the following four practical choices: ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
176,
|
| 669 |
+
194,
|
| 670 |
+
825,
|
| 671 |
+
236
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 5
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "• Random initialization: Distribution over model weights initialized using methods that attempts to ensure gradient flow of constant magnitude, e.g., He Initialization (He et al., 2015) and Xavier Initialization (Glorot & Bengio, 2010) for convolutional neural networks (CNNs). • Fixed initialization: A fixed initial weights sampled using the method above. • Random pre-trained weights: Distribution over models pre-trained on other tasks and datasets, e.g., pre-trained ALEXNET (Krizhevsky et al., 2012) networks for ImageNet classification (Deng et al., 2009). Each network is pre-trained on the same task, but with different initializations. • Fixed pre-trained weights: A fixed model weights pre-trained on other tasks and datasets. ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
192,
|
| 680 |
+
247,
|
| 681 |
+
826,
|
| 682 |
+
378
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 5
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "Distillation for pre-trained weights. Such learned distilled data essentially fine-tunes weights pre-trained on one task to perform well for a new task, thus bridging the gap between two domains. Domain mismatch and dataset bias represent a challenging problem in machine learning today (Torralba & Efros, 2011). Extensive prior work has been proposed to adapt models to new tasks and datasets (Daume III, 2007; Saenko et al., 2010). In this work, we characterize the domain mismatch via distilled data. In Sec. 4.2, we show that a very small number of distilled images are sufficient to quickly adapt CNN models to new classification tasks. ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
174,
|
| 691 |
+
390,
|
| 692 |
+
826,
|
| 693 |
+
487
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "3.6 DISTILLATION WITH DIFFERENT OBJECTIVES ",
|
| 700 |
+
"text_level": 1,
|
| 701 |
+
"bbox": [
|
| 702 |
+
174,
|
| 703 |
+
507,
|
| 704 |
+
531,
|
| 705 |
+
522
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 5
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "Previous sections show that we can train distilled data to minimize the loss of the distilled task $\\ell ( \\mathbf { x } , \\theta _ { 1 } )$ defined on the final updated weights $\\theta _ { 1 }$ (Line 7 in Algorithm 1). Distilled images trained with different final learning objectives can train models to exhibit different desired behaviours. We have already mentioned image classification as one of the applications, where distilled images help train accurate classifiers. Below, we introduce a quite different training objective to further demonstrate the flexibility of our method. ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
535,
|
| 715 |
+
825,
|
| 716 |
+
618
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 5
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "Distillation for a malicious data-poisoning objective. For example, our approach can be used to construct a new form of data poisoning attack. To illustrate this idea, we consider the following scenario. When a single GD step is applied with our synthetic adversarial data, a well-behaved image classifier catastrophically forgets a category but still maintains high performance on other categories. ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
173,
|
| 725 |
+
623,
|
| 726 |
+
825,
|
| 727 |
+
679
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 5
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "Formally, given an attacked category $K$ and a target category $T$ , we want the classifier to misclassify images from category $K$ to category $T$ . To achieve this, we consider a new final objective function $\\ell _ { K T } ( { \\bf x } , \\theta _ { 1 } )$ , which is a classification loss encouraging $\\theta _ { 1 }$ to classify category $K$ images mistakenly as category $T$ while correctly predicting other images, e.g., a cross entropy loss with target labels of $K$ modified to $T$ . Then, the attacking distilled images can be obtained via optimizing ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
174,
|
| 736 |
+
685,
|
| 737 |
+
825,
|
| 738 |
+
756
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 5
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "equation",
|
| 744 |
+
"img_path": "images/5c348c409ef14948ca91df819d4e27937168257c5d6d29ac2458c8448faeac04.jpg",
|
| 745 |
+
"text": "$$\n\\tilde { \\mathbf { x } } ^ { * } , \\tilde { \\eta } ^ { * } = \\underset { \\tilde { \\mathbf { x } } , \\tilde { \\eta } } { \\arg \\operatorname* { m i n } } \\mathbb { E } _ { \\theta _ { 0 } \\sim p ( \\theta _ { 0 } ) } \\mathcal { L } _ { K T } ( \\tilde { \\mathbf { x } } , \\tilde { \\eta } ; \\theta _ { 0 } ) = \\underset { \\tilde { \\mathbf { x } } , \\tilde { \\eta } } { \\arg \\operatorname* { m i n } } \\mathbb { E } _ { \\theta _ { 0 } \\sim p ( \\theta _ { 0 } ) } \\ell _ { K T } ( \\mathbf { x } , \\theta _ { 1 } ) ,\n$$",
|
| 746 |
+
"text_format": "latex",
|
| 747 |
+
"bbox": [
|
| 748 |
+
235,
|
| 749 |
+
761,
|
| 750 |
+
761,
|
| 751 |
+
787
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 5
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "ere $p ( \\theta _ { 0 } )$ is the distribution over random pre-trained weights of well-optimized classifiers. ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
196,
|
| 760 |
+
791,
|
| 761 |
+
781,
|
| 762 |
+
806
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 5
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "Compared to prior data poisoning attacks (Biggio et al., 2012; Li et al., 2016; Muñoz-González et al., 2017; Koh & Liang, 2017), our approach crucially does not require the poisoned training data to be stored and trained on repeatedly. Instead, our method attacks the model training just in one iteration and with only a few data. This advantage makes our method effective for many online training algorithms and useful for the case where malicious users hijack the data feeding pipeline for only one gradient step (e.g., one network transmission). In Sec. 4.2, we show that a single batch of distilled data applied in one step can successfully attack well-optimized neural network models. This setting can be viewed as distilling dataset knowledge of a specific category into data. ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
173,
|
| 771 |
+
811,
|
| 772 |
+
825,
|
| 773 |
+
924
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 5
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "image",
|
| 779 |
+
"img_path": "images/d9cc87466ca723438e80ecf7575814ebb58542895a77db8bf2c894b21e9c8d0b.jpg",
|
| 780 |
+
"image_caption": [],
|
| 781 |
+
"image_footnote": [],
|
| 782 |
+
"bbox": [
|
| 783 |
+
174,
|
| 784 |
+
63,
|
| 785 |
+
825,
|
| 786 |
+
131
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 6
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "(a) MNIST. These images train networks with a partic- (b) CIFAR10. These images train networks with a particular initialization from $\\mathrm { 1 2 . 9 \\% }$ test accuracy to $9 3 . 7 6 \\%$ . ular initialization from $8 . 8 2 \\%$ test accuracy to $5 4 . 0 3 \\%$ . ",
|
| 793 |
+
"bbox": [
|
| 794 |
+
171,
|
| 795 |
+
132,
|
| 796 |
+
825,
|
| 797 |
+
157
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 6
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "Figure 2: Distilled images trained for fixed initialization. MNIST distilled images use 1 GD step and 3 epochs (10 images in total). CIFAR10 distilled images use $1 0 ~ \\mathrm { G D }$ steps and 3 epochs (100 images in total). For CIFAR10, only selected steps are shown. At left, we report the corresponding learning rates for all 3 epochs. ",
|
| 804 |
+
"bbox": [
|
| 805 |
+
174,
|
| 806 |
+
161,
|
| 807 |
+
826,
|
| 808 |
+
199
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 6
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "image",
|
| 814 |
+
"img_path": "images/6853e2a4c8a59b193aa8a6a786f362e4dcce1afc7a0786b4ecebdf0b08ac5450.jpg",
|
| 815 |
+
"image_caption": [],
|
| 816 |
+
"image_footnote": [],
|
| 817 |
+
"bbox": [
|
| 818 |
+
174,
|
| 819 |
+
208,
|
| 820 |
+
493,
|
| 821 |
+
276
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 6
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "image",
|
| 827 |
+
"img_path": "images/b26b5fdf32d9c06bdc2cc0d9131a184e5bae06630f386df4201bf857ed822cbd.jpg",
|
| 828 |
+
"image_caption": [
|
| 829 |
+
"(b) CIFAR10. These images train networks with unknown initialization to $3 6 . \\bar { 7 } 9 \\% \\pm 1 . 1 8 \\%$ test accuracy. "
|
| 830 |
+
],
|
| 831 |
+
"image_footnote": [],
|
| 832 |
+
"bbox": [
|
| 833 |
+
504,
|
| 834 |
+
208,
|
| 835 |
+
823,
|
| 836 |
+
276
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 6
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "(a) MNIST. These images train networks with unknown initialization to $7 9 . 5 0 \\% \\pm 8 . 0 8 \\%$ test accuracy. ",
|
| 843 |
+
"bbox": [
|
| 844 |
+
173,
|
| 845 |
+
279,
|
| 846 |
+
493,
|
| 847 |
+
301
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 6
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "Figure 3: Distilled images trained for random initialization with $1 0 \\mathrm { G D }$ steps and 3 epochs. We show images from selected GD steps and corresponding trained learning rates for all 3 epochs. ",
|
| 854 |
+
"bbox": [
|
| 855 |
+
171,
|
| 856 |
+
306,
|
| 857 |
+
823,
|
| 858 |
+
332
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 6
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "4 EXPERIMENTS ",
|
| 865 |
+
"text_level": 1,
|
| 866 |
+
"bbox": [
|
| 867 |
+
176,
|
| 868 |
+
352,
|
| 869 |
+
326,
|
| 870 |
+
367
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 6
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "We report image classification results on MNIST (LeCun, 1998) and CIFAR10 (Krizhevsky & Hinton, 2009). For MNIST, distilled images are trained with LENET (LeCun et al., 1998), which achieves about $9 9 \\%$ test accuracy if fully trained. For CIFAR10, we use a network architecture following Krizhevsky (2012) which achieves around $8 0 \\%$ test accuracy if fully trained. For random initializations and random pre-trained weights, we report means and standard deviations on 200 held-out models, unless otherwise specified. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
174,
|
| 879 |
+
382,
|
| 880 |
+
825,
|
| 881 |
+
467
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 6
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "Baselines. For each experiment, in addition to baselines specific to the setting, we generally compare our method against baselines trained with data derived or selected from real images: ",
|
| 888 |
+
"bbox": [
|
| 889 |
+
176,
|
| 890 |
+
472,
|
| 891 |
+
821,
|
| 892 |
+
500
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 6
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "text",
|
| 898 |
+
"text": "• Random real images: We randomly sample the same number of real training images per category. \n• Optimized real images: We sample sets of real images as above, and choose on the top $2 0 \\%$ sets that perform the best training images. \n• $k$ -means: For each category, we use $k$ -means to extract the same number of cluster centroids as the number of distilled images in our method. \n• Average real images: We compute the average image of all the images in each category, which is reused in different GD steps. ",
|
| 899 |
+
"bbox": [
|
| 900 |
+
194,
|
| 901 |
+
508,
|
| 902 |
+
825,
|
| 903 |
+
630
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 6
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "For these baselines, we perform each evaluation on 200 hold-out models with all combinations of learning rate $\\in$ {learned learning rate with our method, $0 . 0 0 1 , 0 . 0 0 3 , 0 . 0 1 , 0 . 0 3 , 0 . 1 , 0 . 3 \\}$ and #epochs $\\in \\{ 1 , 3 , 5 \\}$ . We report results from the best performing combination. We run all the experiments on NVIDIA Titan $\\mathrm { X p }$ and V100 GPUs. We use one GPU for fixed initial weights and four GPUs for random initial weights. Each training typically takes 1 to 4 hours. Please see supplemental material Sec. S-6.1 for more training and baseline details. ",
|
| 910 |
+
"bbox": [
|
| 911 |
+
174,
|
| 912 |
+
642,
|
| 913 |
+
825,
|
| 914 |
+
726
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 6
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "4.1 DATASET DISTILLATION ",
|
| 921 |
+
"text_level": 1,
|
| 922 |
+
"bbox": [
|
| 923 |
+
174,
|
| 924 |
+
742,
|
| 925 |
+
383,
|
| 926 |
+
756
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 6
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "Fixed initialization. With access to initial network weights, distilled images can directly train a particular network to reach high performance. For example, 10 learned distilled images can boost the test accuracy of a neural network with an initial accuracy $1 2 . 9 0 \\%$ to the final accuracy $9 3 . 7 6 \\%$ on MNIST (Fig. 2a). Similarly, 100 images can train a network with an initial accuracy $8 . 8 2 \\%$ to $5 4 . 0 3 \\%$ test accuracy on CIFAR10 (Fig. 2b). This result suggests that even only a few distilled images have enough capacity to distill part of the dataset. ",
|
| 933 |
+
"bbox": [
|
| 934 |
+
173,
|
| 935 |
+
766,
|
| 936 |
+
825,
|
| 937 |
+
849
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 6
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Random initialization. Trained with randomly sampled initializations using Xavier initialization (Glorot & Bengio, 2010), the learned distilled images do not need to encode information tailored for a particular starting point and thus can represent meaningful content independent of network initializations. In Fig. 3, we see that such distilled images reveal discriminative features of the corresponding categories: e.g., the ship image in Fig. 3b. These 100 images can train randomly ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
174,
|
| 946 |
+
854,
|
| 947 |
+
825,
|
| 948 |
+
924
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 6
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "image",
|
| 954 |
+
"img_path": "images/dfb4142a5480849c2ef6e92464747a0dbf26b2a4b8d991ba56a7eb884d064837.jpg",
|
| 955 |
+
"image_caption": [
|
| 956 |
+
"Figure 4: Hyperparameter sensitivity studies on random initialization: (a) average test accuracy w.r.t. the number of gradient descent steps. The number of epochs is fixed to be 2. (b) average test accuracy w.r.t. the number of epochs. The number of steps is fixed to be 10, with each containing 10 images (one per category). "
|
| 957 |
+
],
|
| 958 |
+
"image_footnote": [],
|
| 959 |
+
"bbox": [
|
| 960 |
+
176,
|
| 961 |
+
69,
|
| 962 |
+
825,
|
| 963 |
+
171
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 7
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "image",
|
| 969 |
+
"img_path": "images/484484dd4e342abf8dc288bf3f64c564707ea50cd7f4c6e03a5eea5e7bc0e14a.jpg",
|
| 970 |
+
"image_caption": [],
|
| 971 |
+
"image_footnote": [],
|
| 972 |
+
"bbox": [
|
| 973 |
+
570,
|
| 974 |
+
220,
|
| 975 |
+
743,
|
| 976 |
+
318
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 7
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "image",
|
| 982 |
+
"img_path": "images/62303a7aea0dbd3b53ede2ff574250f1bf1d9af29a87b55eea1d7227727ad208.jpg",
|
| 983 |
+
"image_caption": [
|
| 984 |
+
"Figure 5: Comparison between applying the same number of images in one versus multiple GD steps on random initialization, with the number of epochs fixed to 1. $N$ denotes the total number of images per category. For multiple steps runs, each of the $N$ steps applies one image per category. "
|
| 985 |
+
],
|
| 986 |
+
"image_footnote": [],
|
| 987 |
+
"bbox": [
|
| 988 |
+
246,
|
| 989 |
+
222,
|
| 990 |
+
421,
|
| 991 |
+
318
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 7
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "table",
|
| 997 |
+
"img_path": "images/b1db4d77982a9e7047894721707c3acb9bb1af483909ee5de2f595655cd19436.jpg",
|
| 998 |
+
"table_caption": [],
|
| 999 |
+
"table_footnote": [],
|
| 1000 |
+
"table_body": "<table><tr><td rowspan=3 colspan=1></td><td rowspan=1 colspan=2>Ours</td><td rowspan=1 colspan=6>Baselines</td></tr><tr><td rowspan=2 colspan=1>Fixed init.</td><td rowspan=2 colspan=1>Random init.</td><td rowspan=1 colspan=4>Used as training data in same number of GD steps</td><td rowspan=1 colspan=2>Used as data for K-NN classification</td></tr><tr><td rowspan=1 colspan=1>Random real</td><td rowspan=1 colspan=1>Optimized real</td><td rowspan=1 colspan=1>k-means</td><td rowspan=1 colspan=1>Average real</td><td rowspan=1 colspan=1>Random real</td><td rowspan=1 colspan=1>k-means</td></tr><tr><td rowspan=1 colspan=1>MNIST</td><td rowspan=1 colspan=1>96.6%</td><td rowspan=1 colspan=1>79.5% ± 8.1%</td><td rowspan=1 colspan=1>68.6% ±9.8%</td><td rowspan=1 colspan=1>73.0% ± 7.6%</td><td rowspan=1 colspan=1>76.4% ± 9.5%</td><td rowspan=1 colspan=1>77.1% ± 2.7%</td><td rowspan=1 colspan=1>71.5% ± 2.1%</td><td rowspan=1 colspan=1>92.2%±0.1%</td></tr><tr><td rowspan=1 colspan=1>CIFAR10</td><td rowspan=1 colspan=1>54.0%</td><td rowspan=1 colspan=1>36.8%±1.2%</td><td rowspan=1 colspan=1>21.3% ± 1.5%</td><td rowspan=1 colspan=1>23.4% ± 1.3%</td><td rowspan=1 colspan=1>22.5%±3.1%</td><td rowspan=1 colspan=1>22.3%±0.7%</td><td rowspan=1 colspan=1>18.8% ± 1.3%</td><td rowspan=1 colspan=1>29.4% ±0.3%</td></tr></table>",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
178,
|
| 1003 |
+
371,
|
| 1004 |
+
821,
|
| 1005 |
+
426
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 7
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Table 1: Comparison between our method trained for $1 0 \\mathrm { \\ G D }$ steps and 3 epochs and various baselines. For baselines using K-Nearest Neighbor (K-NN), best result among all combinations of distance metric $\\in \\{ l _ { 1 } , l _ { 2 } \\}$ and $\\mathtt { K } \\in \\{ 1 , 3 \\}$ is reported. In K-NN and $k$ -means, K and $k$ can have different values. All methods use 10 images per class, except for the average real images baseline, which reuses the same images in different GD steps. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
174,
|
| 1014 |
+
429,
|
| 1015 |
+
825,
|
| 1016 |
+
479
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 7
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "initialized networks to $3 6 . 7 9 \\%$ average test accuracy on CIFAR10. Similarly, for MNIST, the 100 distilled images shown in Fig. 3a can train randomly initialized networks to $\\dot { 7 } 9 . 5 0 \\%$ test accuracy. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
174,
|
| 1025 |
+
498,
|
| 1026 |
+
825,
|
| 1027 |
+
526
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 7
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Multiple gradient descent steps and multiple epochs. In Fig. 3, we learn distilled images for 10 GD steps applied in 3 epochs, leading to a total of 100 images (with each step containing one image per category). In each epoch, these 10 steps are sequentially applied once. The early steps tend to look noisier, likely regularizing random weights to point easier for further optimization. In later steps, the images gradually look like real data and share the discriminative features for these categories. Fig. 4a shows that using more steps significantly improves the results. Fig. 4b shows a similar but slower trend as the number of epochs increases. We observe that longer training (i.e., more epochs) can help the model learn all the knowledge from the distilled images, but the performance is eventually limited by the capacity of the images (i.e., the number of total images). Alternatively, we can train the model with one GD step but a big batch size. Sec. 3.3 has shown theoretical limitations of using only one step in a simple linear case. In Fig. 5, we empirically verify that with convolutional networks, using multiple steps drastically outperforms single step method, with the same number of distilled images. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
174,
|
| 1036 |
+
531,
|
| 1037 |
+
825,
|
| 1038 |
+
698
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 7
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Table 1 compares our method against several baselines. Our method with both fixed and random initialization outperform all the baselines on CIFAR10 and most of the baselines on MNIST. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
173,
|
| 1047 |
+
705,
|
| 1048 |
+
823,
|
| 1049 |
+
733
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 7
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "4.2 DISTILLATION FOR DIFFERENT INITIALIZATIONS AND OBJECTIVES ",
|
| 1056 |
+
"text_level": 1,
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
174,
|
| 1059 |
+
752,
|
| 1060 |
+
679,
|
| 1061 |
+
767
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 7
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "Next, we show two extended settings of our main algorithm discussed in Sec. 3.5 and Sec. 3.6. Both cases assume that the initial weights are random but pre-trained on a different dataset. We train the distilled images on 2000 random pre-trained models, and then apply them on unseen models. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
176,
|
| 1070 |
+
779,
|
| 1071 |
+
823,
|
| 1072 |
+
821
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 7
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Fixed and random pre-trained weights on digits. As shown in Sec. 3.5, we can optimize distilled images to quickly fine-tune pre-trained models for a new dataset. Table 2 shows that our method is more effective compared to various baseline on adaptation among three digits datasets: MNIST, USPS (Hull, 1994), and SVHN (Netzer et al., 2011). We also compared against a state-of-the-art few-short supervised domain adaptation method (Motiian et al., 2017). Although our method uses the entire training set to compute the distilled images, both methods use the same number of images to distill the knowledge of target dataset. Prior work (Motiian et al., 2017) is outperformed by our method with ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
174,
|
| 1081 |
+
827,
|
| 1082 |
+
825,
|
| 1083 |
+
924
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 7
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "image",
|
| 1089 |
+
"img_path": "images/d8a4fe9defd345ba383d265477c6b60afccbd7b85bbe8e608eeab44a1d5ca65a.jpg",
|
| 1090 |
+
"image_caption": [
|
| 1091 |
+
"Figure 6: Performance for our method and baselines with random pre-trained initialization and a malicious objective. Distilled images are trained for one GD step. For baselines, we use the same numbers of images with incorrect labels and also apply one GD step, and report the result that achieves the highest accuracy w.r.t. the incorrect labels while having $\\geq 1 0 \\%$ misclassification ratio on the attacked category, to avoid results with learning rates too low to change model behavior at all. (a) Our method slightly outperforms the best baseline in accuracy w.r.t. incorrect labels. (b) Our method performs similarly with some baselines in changing the prediction of the attacked category on MNIST, but is much better than all baselines on CIFAR10. "
|
| 1092 |
+
],
|
| 1093 |
+
"image_footnote": [],
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
168,
|
| 1096 |
+
75,
|
| 1097 |
+
830,
|
| 1098 |
+
186
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 8
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "table",
|
| 1104 |
+
"img_path": "images/056fe2ea35ee419a26732a50443aff3d4a4566714d753f60629e67007eb8a436.jpg",
|
| 1105 |
+
"table_caption": [],
|
| 1106 |
+
"table_footnote": [],
|
| 1107 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>.Ourswith fixedpre-trained</td><td rowspan=1 colspan=1>Ourswith randompre-trained</td><td rowspan=1 colspan=1>Random real</td><td rowspan=1 colspan=1>Optimized real</td><td rowspan=1 colspan=1>k-means</td><td rowspan=1 colspan=1>Average real</td><td rowspan=1 colspan=1>Domain adaptationMotiian et al.(2017)</td><td rowspan=1 colspan=1>No adaptation</td><td rowspan=1 colspan=1>Train on fulldestinationtraining set</td></tr><tr><td rowspan=1 colspan=1>M→u</td><td rowspan=1 colspan=1>97.9%</td><td rowspan=1 colspan=1>95.4%±1.8%</td><td rowspan=1 colspan=1>94.9%±0.8%</td><td rowspan=1 colspan=1>95.2%±0.7%</td><td rowspan=1 colspan=1>92.2%±1.6%</td><td rowspan=1 colspan=1>93.9%±0.8%</td><td rowspan=1 colspan=1>96.7%±0.5%</td><td rowspan=1 colspan=1>90.4%±3.0%</td><td rowspan=1 colspan=1>97.3%±0.3%</td></tr><tr><td rowspan=1 colspan=1>u→M</td><td rowspan=1 colspan=1>93.2%</td><td rowspan=1 colspan=1>92.7% ± 1.4%</td><td rowspan=1 colspan=1>87.1% ±2.9%</td><td rowspan=1 colspan=1>87.6% ± 2.1%</td><td rowspan=1 colspan=1>85.6% ±3.1%</td><td rowspan=1 colspan=1>78.4% ±5.0%</td><td rowspan=1 colspan=1>89.2% ±2.4%</td><td rowspan=1 colspan=1>67.5%±3.9%</td><td rowspan=1 colspan=1>98.6%±0.5%</td></tr><tr><td rowspan=1 colspan=1>S→M</td><td rowspan=1 colspan=1>96.2%</td><td rowspan=1 colspan=1>85.2%±4.7%</td><td rowspan=1 colspan=1>84.6%±2.1%</td><td rowspan=1 colspan=1>85.2%±1.2%</td><td rowspan=1 colspan=1>85.8%±1.2%</td><td rowspan=1 colspan=1>74.9%± 2.6%</td><td rowspan=1 colspan=1>74.0%± 1.5%</td><td rowspan=1 colspan=1>51.6%±2.8%</td><td rowspan=1 colspan=1>98.6%±0.5%</td></tr></table>",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
178,
|
| 1110 |
+
294,
|
| 1111 |
+
821,
|
| 1112 |
+
353
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 8
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Table 2: Performance of our method and baselines in adapting models among MNIST $( \\mathcal { M } )$ , USPS $( \\mathcal { U } )$ , and SVHN $( S )$ . 100 distilled images are trained for $1 0 \\mathrm { G D }$ steps and 3 epochs. Few-shot domain adaptation method by Motiian et al. (2017) and baselines use the same numbers image per class. ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
174,
|
| 1121 |
+
357,
|
| 1122 |
+
823,
|
| 1123 |
+
396
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 8
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "table",
|
| 1129 |
+
"img_path": "images/7d23accc4a633e265e002cbbb3f7e3f27e852db9ebfb4fd72f99661284118aea.jpg",
|
| 1130 |
+
"table_caption": [
|
| 1131 |
+
"Table 3: Performance of our method and baselines in adapting an ALEXNET pre-trained on ImageNet to PASCAL-VOC and CUB-200. Only one distilled image per class are trained to be applied in 1 GD step repeated for 3 epochs. Our method significantly outperforms the baselines. Results are collected over 10 runs. "
|
| 1132 |
+
],
|
| 1133 |
+
"table_footnote": [],
|
| 1134 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Destination dataset</td><td rowspan=1 colspan=1>Ours</td><td rowspan=1 colspan=1>Random real</td><td rowspan=1 colspan=1>Optimized real</td><td rowspan=1 colspan=1>Average real</td><td rowspan=1 colspan=1>Fine-tune on fulldestination training set</td></tr><tr><td rowspan=1 colspan=1>PASCAL-VOC</td><td rowspan=1 colspan=1>70.75%</td><td rowspan=1 colspan=1>19.41%± 3.73%</td><td rowspan=1 colspan=1>23.82%±3.66%</td><td rowspan=1 colspan=1>9.94%</td><td rowspan=1 colspan=1>75.57%±0.18%</td></tr><tr><td rowspan=1 colspan=1>CUB-200</td><td rowspan=1 colspan=1>38.76%</td><td rowspan=1 colspan=1>7.11%±0.66%</td><td rowspan=1 colspan=1>7.23%±0.78%</td><td rowspan=1 colspan=1>2.88%</td><td rowspan=1 colspan=1>41.21%±0.51%</td></tr></table>",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
209,
|
| 1137 |
+
409,
|
| 1138 |
+
787,
|
| 1139 |
+
463
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 8
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "fixed pre-trained weights on all the tasks, and by our method with random pre-trained weights on two of the three tasks. This result shows that our distilled images indeed convey compressed information of the full dataset. ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
174,
|
| 1148 |
+
525,
|
| 1149 |
+
825,
|
| 1150 |
+
566
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 8
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "Fixed pre-trained weights on ImageNet. In Table 3, we adapt a widely-used ALEXNET model (Krizhevsky, 2014) pre-trained on ImageNet (Deng et al., 2009) to perform image classification on PASCAL-VOC (Everingham et al., 2010) and CUB-200 (Wah et al., 2011) datasets. Using only 1 distilled image per category, our method outperforms the baselines significantly. Our result is also comparable to the accuracy of fine-tuning on the full datasets which contain thousands of images. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
174,
|
| 1159 |
+
571,
|
| 1160 |
+
825,
|
| 1161 |
+
641
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 8
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "Random Pre-trained weights and a malicious data-poisoning objective. Sec. 3.6 shows that our method can construct a new type of data poisoning, where the attacker can apply just one GD step with a few malicious data to manipulate a well-trained model. We train distilled images to make well-optimized neural networks to misclassify a particular attacked category as another target category within only one GD step. Our method requires no access to the exact weights of the model. In Fig. 6b, we evaluate our method on 200 held-out models, against various baselines using data derived from real images and incorrect labels. While some baselines perform similarly well as our method on MNIST, our method significantly outperforms all the baselines on CIFAR10. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
174,
|
| 1170 |
+
645,
|
| 1171 |
+
825,
|
| 1172 |
+
757
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 8
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "5 DISCUSSION ",
|
| 1179 |
+
"text_level": 1,
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
174,
|
| 1182 |
+
776,
|
| 1183 |
+
310,
|
| 1184 |
+
792
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 8
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "In this paper, we present dataset distillation for compressing the knowledge of entire training data into a few synthetic training images. We can train a network to reach high performance with a small number of distilled images and several gradient descent steps. Finally, we demonstrate two applications including fast domain adaptation and effective data poisoning attack. In the future, we plan to extend our method to compress large-scale visual datasets such as ImageNet (Deng et al., 2009) and other types of data (e.g., audio and text). Also, our current method is sensitive to the initial weights distribution. We would like to investigate more on various initialization strategies, with which distilled images can work well. ",
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
174,
|
| 1193 |
+
808,
|
| 1194 |
+
825,
|
| 1195 |
+
920
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 8
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "REFERENCES ",
|
| 1202 |
+
"text_level": 1,
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
174,
|
| 1205 |
+
103,
|
| 1206 |
+
287,
|
| 1207 |
+
118
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 9
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Anelia Angelova, Yaser Abu-Mostafam, and Pietro Perona. Pruning training sets for learning of object categories. In CVPR, volume 1, pp. 494–501. IEEE, 2005. 3 ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
174,
|
| 1216 |
+
135,
|
| 1217 |
+
825,
|
| 1218 |
+
161
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 9
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Jimmy Ba and Rich Caruana. Do deep nets really need to be deep? In NIPS, pp. 2654–2662, 2014. 2 ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
171,
|
| 1227 |
+
169,
|
| 1228 |
+
772,
|
| 1229 |
+
184
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 9
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Olivier Bachem, Mario Lucic, and Andreas Krause. Practical coreset constructions for machine learning. arXiv preprint arXiv:1703.06476, 2017. 3 ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
174,
|
| 1238 |
+
191,
|
| 1239 |
+
823,
|
| 1240 |
+
219
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 9
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "David Bau, Bolei Zhou, Aditya Khosla, Aude Oliva, and Antonio Torralba. Network dissection: Quantifying interpretability of deep visual representations. In CVPR, pp. 3319–3327. IEEE, 2017. 3 ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
174,
|
| 1249 |
+
227,
|
| 1250 |
+
825,
|
| 1251 |
+
255
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 9
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "Yoshua Bengio. Gradient-based optimization of hyperparameters. Neural computation, 12(8):1889–1900, 2000. 3 ",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
176,
|
| 1260 |
+
262,
|
| 1261 |
+
825,
|
| 1262 |
+
289
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 9
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "Battista Biggio, Blaine Nelson, and Pavel Laskov. Poisoning attacks against support vector machines. In ICML, 2012. 6 ",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
174,
|
| 1271 |
+
297,
|
| 1272 |
+
825,
|
| 1273 |
+
325
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 9
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "David A Cohn, Zoubin Ghahramani, and Michael I Jordan. Active learning with statistical models. Journal of artificial intelligence research, 4:129–145, 1996. 3 ",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
173,
|
| 1282 |
+
333,
|
| 1283 |
+
825,
|
| 1284 |
+
359
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 9
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "Hal Daume III. Frustratingly easy domain adaptation. In ACL, 2007. 6 ",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
173,
|
| 1293 |
+
368,
|
| 1294 |
+
594,
|
| 1295 |
+
382
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 9
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. 6, 9 ",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
173,
|
| 1304 |
+
390,
|
| 1305 |
+
823,
|
| 1306 |
+
417
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 9
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Justin Domke. Generic methods for optimization-based modeling. In Artificial Intelligence and Statistics, pp. 318–326, 2012. 3, 5 ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
173,
|
| 1315 |
+
426,
|
| 1316 |
+
825,
|
| 1317 |
+
453
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 9
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes (voc) challenge. IJCV, 88(2):303–338, 2010. 2, 9 ",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
173,
|
| 1326 |
+
462,
|
| 1327 |
+
823,
|
| 1328 |
+
488
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 9
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "Pedro F Felzenszwalb, Ross B Girshick, David McAllester, and Deva Ramanan. Object detection with discrimi natively trained part-based models. PAMI, 32(9):1627–1645, 2010. 3 ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
174,
|
| 1337 |
+
496,
|
| 1338 |
+
821,
|
| 1339 |
+
523
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 9
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "Xavier Glorot and Yoshua Bengio. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pp. 249–256, 2010. 6, 7 ",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
173,
|
| 1348 |
+
531,
|
| 1349 |
+
823,
|
| 1350 |
+
571
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 9
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Sally A Goldman and Michael J Kearns. On the complexity of teaching. Journal of Computer and System Sciences, 50(1):20–31, 1995. 3 ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
173,
|
| 1359 |
+
579,
|
| 1360 |
+
823,
|
| 1361 |
+
607
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 9
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Sariel Har-Peled and Akash Kushal. Smaller coresets for k-median and $\\mathbf { k }$ -means clustering. Discrete & Computational Geometry, 37(1):3–19, 2007. 3 ",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
174,
|
| 1370 |
+
614,
|
| 1371 |
+
823,
|
| 1372 |
+
642
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 9
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In ICCV, 2015. 6 ",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
174,
|
| 1381 |
+
650,
|
| 1382 |
+
823,
|
| 1383 |
+
678
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 9
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Marti A. Hearst, Susan T Dumais, Edgar Osuna, John Platt, and Bernhard Scholkopf. Support vector machines. IEEE Intelligent Systems and their applications, 13(4):18–28, 1998. 3 ",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
174,
|
| 1392 |
+
685,
|
| 1393 |
+
823,
|
| 1394 |
+
713
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 9
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "Geoffrey Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the knowledge in a neural network. In NIPS Deep Learning and Representation Learning Workshop, 2015. 1, 2 ",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
173,
|
| 1403 |
+
720,
|
| 1404 |
+
823,
|
| 1405 |
+
748
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 9
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "Andrew G Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. In CVPR, 2017. 2 ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
174,
|
| 1414 |
+
756,
|
| 1415 |
+
823,
|
| 1416 |
+
795
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 9
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "Jonathan J. Hull. A database for handwritten text recognition research. PAMI, 16(5):550–554, 1994. 8 ",
|
| 1423 |
+
"bbox": [
|
| 1424 |
+
166,
|
| 1425 |
+
804,
|
| 1426 |
+
782,
|
| 1427 |
+
819
|
| 1428 |
+
],
|
| 1429 |
+
"page_idx": 9
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"type": "text",
|
| 1433 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. 13 ",
|
| 1434 |
+
"bbox": [
|
| 1435 |
+
171,
|
| 1436 |
+
827,
|
| 1437 |
+
825,
|
| 1438 |
+
854
|
| 1439 |
+
],
|
| 1440 |
+
"page_idx": 9
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"type": "text",
|
| 1444 |
+
"text": "Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. In ICML, 2017. 3, 6 ",
|
| 1445 |
+
"bbox": [
|
| 1446 |
+
176,
|
| 1447 |
+
861,
|
| 1448 |
+
825,
|
| 1449 |
+
888
|
| 1450 |
+
],
|
| 1451 |
+
"page_idx": 9
|
| 1452 |
+
},
|
| 1453 |
+
{
|
| 1454 |
+
"type": "text",
|
| 1455 |
+
"text": "Alex Krizhevsky. cuda-convnet: High-performance c++/cuda implementation of convolutional neural networks. Source code available at https://github. com/akrizhevsky/cuda-convnet2 [March, 2017], 2012. 7 ",
|
| 1456 |
+
"bbox": [
|
| 1457 |
+
173,
|
| 1458 |
+
897,
|
| 1459 |
+
828,
|
| 1460 |
+
924
|
| 1461 |
+
],
|
| 1462 |
+
"page_idx": 9
|
| 1463 |
+
},
|
| 1464 |
+
{
|
| 1465 |
+
"type": "text",
|
| 1466 |
+
"text": "Alex Krizhevsky. One weird trick for parallelizing convolutional neural networks. arXiv preprint arXiv:1404.5997, 2014. 9 ",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
173,
|
| 1469 |
+
103,
|
| 1470 |
+
823,
|
| 1471 |
+
131
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 10
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009. 2, 7 ",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
173,
|
| 1480 |
+
140,
|
| 1481 |
+
823,
|
| 1482 |
+
167
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 10
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012. 6 ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
173,
|
| 1491 |
+
176,
|
| 1492 |
+
823,
|
| 1493 |
+
203
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 10
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "Agata Lapedriza, Hamed Pirsiavash, Zoya Bylinskii, and Antonio Torralba. Are all training examples equally valuable? arXiv preprint arXiv:1311.6510, 2013. 3 ",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
173,
|
| 1502 |
+
212,
|
| 1503 |
+
821,
|
| 1504 |
+
239
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 10
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998. 2, 7 ",
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
173,
|
| 1513 |
+
248,
|
| 1514 |
+
784,
|
| 1515 |
+
263
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 10
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "text",
|
| 1521 |
+
"text": "Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. 1, 7 ",
|
| 1522 |
+
"bbox": [
|
| 1523 |
+
174,
|
| 1524 |
+
271,
|
| 1525 |
+
823,
|
| 1526 |
+
299
|
| 1527 |
+
],
|
| 1528 |
+
"page_idx": 10
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"type": "text",
|
| 1532 |
+
"text": "Bo Li, Yining Wang, Aarti Singh, and Yevgeniy Vorobeychik. Data poisoning attacks on factorization-based collaborative filtering. In NIPS, 2016. 6 ",
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
174,
|
| 1535 |
+
308,
|
| 1536 |
+
823,
|
| 1537 |
+
335
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 10
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "text",
|
| 1543 |
+
"text": "Dougal Maclaurin, David Duvenaud, and Ryan Adams. Gradient-based hyperparameter optimization through reversible learning. In ICML, 2015. 3, 5 ",
|
| 1544 |
+
"bbox": [
|
| 1545 |
+
173,
|
| 1546 |
+
343,
|
| 1547 |
+
823,
|
| 1548 |
+
371
|
| 1549 |
+
],
|
| 1550 |
+
"page_idx": 10
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"type": "text",
|
| 1554 |
+
"text": "Aravindh Mahendran and Andrea Vedaldi. Understanding deep image representations by inverting them. In CVPR, 2015. 3 ",
|
| 1555 |
+
"bbox": [
|
| 1556 |
+
173,
|
| 1557 |
+
380,
|
| 1558 |
+
823,
|
| 1559 |
+
407
|
| 1560 |
+
],
|
| 1561 |
+
"page_idx": 10
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"type": "text",
|
| 1565 |
+
"text": "Saeid Motiian, Quinn Jones, Seyed Iranmanesh, and Gianfranco Doretto. Few-shot adversarial domain adaptation. In NIPS, 2017. 8, 9 ",
|
| 1566 |
+
"bbox": [
|
| 1567 |
+
171,
|
| 1568 |
+
415,
|
| 1569 |
+
825,
|
| 1570 |
+
443
|
| 1571 |
+
],
|
| 1572 |
+
"page_idx": 10
|
| 1573 |
+
},
|
| 1574 |
+
{
|
| 1575 |
+
"type": "text",
|
| 1576 |
+
"text": "Luis Muñoz-González, Battista Biggio, Ambra Demontis, Andrea Paudice, Vasin Wongrassamee, Emil C Lupu, and Fabio Roli. Towards poisoning of deep learning algorithms with back-gradient optimization. In Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, pp. 27–38. ACM, 2017. 6 ",
|
| 1577 |
+
"bbox": [
|
| 1578 |
+
176,
|
| 1579 |
+
452,
|
| 1580 |
+
823,
|
| 1581 |
+
492
|
| 1582 |
+
],
|
| 1583 |
+
"page_idx": 10
|
| 1584 |
+
},
|
| 1585 |
+
{
|
| 1586 |
+
"type": "text",
|
| 1587 |
+
"text": "Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y Ng. Reading digits in natural images with unsupervised feature learning. In NIPS workshop, 2011. 8 ",
|
| 1588 |
+
"bbox": [
|
| 1589 |
+
176,
|
| 1590 |
+
501,
|
| 1591 |
+
825,
|
| 1592 |
+
527
|
| 1593 |
+
],
|
| 1594 |
+
"page_idx": 10
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "text",
|
| 1598 |
+
"text": "J Arturo Olvera-López, J Ariel Carrasco-Ochoa, J Francisco Martínez-Trinidad, and Josef Kittler. A review of instance selection methods. Artificial Intelligence Review, 34(2):133–143, 2010. 3 ",
|
| 1599 |
+
"bbox": [
|
| 1600 |
+
173,
|
| 1601 |
+
536,
|
| 1602 |
+
825,
|
| 1603 |
+
564
|
| 1604 |
+
],
|
| 1605 |
+
"page_idx": 10
|
| 1606 |
+
},
|
| 1607 |
+
{
|
| 1608 |
+
"type": "text",
|
| 1609 |
+
"text": "Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In ICLR Workshop, 2017. 5 ",
|
| 1610 |
+
"bbox": [
|
| 1611 |
+
174,
|
| 1612 |
+
571,
|
| 1613 |
+
823,
|
| 1614 |
+
613
|
| 1615 |
+
],
|
| 1616 |
+
"page_idx": 10
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "text",
|
| 1620 |
+
"text": "Barak A Pearlmutter. Fast exact multiplication by the hessian. Neural computation, 6(1):147–160, 1994. 5 ",
|
| 1621 |
+
"bbox": [
|
| 1622 |
+
171,
|
| 1623 |
+
621,
|
| 1624 |
+
803,
|
| 1625 |
+
636
|
| 1626 |
+
],
|
| 1627 |
+
"page_idx": 10
|
| 1628 |
+
},
|
| 1629 |
+
{
|
| 1630 |
+
"type": "text",
|
| 1631 |
+
"text": "Fabian Pedregosa. Hyperparameter optimization with approximate gradient. In ICML, 2016. 3 ",
|
| 1632 |
+
"bbox": [
|
| 1633 |
+
173,
|
| 1634 |
+
645,
|
| 1635 |
+
735,
|
| 1636 |
+
660
|
| 1637 |
+
],
|
| 1638 |
+
"page_idx": 10
|
| 1639 |
+
},
|
| 1640 |
+
{
|
| 1641 |
+
"type": "text",
|
| 1642 |
+
"text": "Jean Ponce, Tamara L Berg, Mark Everingham, David A Forsyth, Martial Hebert, Svetlana Lazebnik, Marcin Marszalek, Cordelia Schmid, Bryan C Russell, Antonio Torralba, et al. Dataset issues in object recognition. In Toward category-level object recognition, pp. 29–48. 2006. 3 ",
|
| 1643 |
+
"bbox": [
|
| 1644 |
+
176,
|
| 1645 |
+
667,
|
| 1646 |
+
823,
|
| 1647 |
+
708
|
| 1648 |
+
],
|
| 1649 |
+
"page_idx": 10
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"type": "text",
|
| 1653 |
+
"text": "Ilija Radosavovic, Piotr Dollár, Ross Girshick, Georgia Gkioxari, and Kaiming He. Data distillation: Towards omni-supervised learning. In CVPR, 2018. 2 ",
|
| 1654 |
+
"bbox": [
|
| 1655 |
+
171,
|
| 1656 |
+
717,
|
| 1657 |
+
825,
|
| 1658 |
+
743
|
| 1659 |
+
],
|
| 1660 |
+
"page_idx": 10
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"type": "text",
|
| 1664 |
+
"text": "Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: Hints for thin deep nets. In ICLR, 2015. 2 ",
|
| 1665 |
+
"bbox": [
|
| 1666 |
+
173,
|
| 1667 |
+
752,
|
| 1668 |
+
825,
|
| 1669 |
+
780
|
| 1670 |
+
],
|
| 1671 |
+
"page_idx": 10
|
| 1672 |
+
},
|
| 1673 |
+
{
|
| 1674 |
+
"type": "text",
|
| 1675 |
+
"text": "Frank Rosenblatt. The perceptron, a perceiving and recognizing automaton Project Para. Cornell Aeronautical Laboratory, 1957. 3 ",
|
| 1676 |
+
"bbox": [
|
| 1677 |
+
174,
|
| 1678 |
+
789,
|
| 1679 |
+
823,
|
| 1680 |
+
815
|
| 1681 |
+
],
|
| 1682 |
+
"page_idx": 10
|
| 1683 |
+
},
|
| 1684 |
+
{
|
| 1685 |
+
"type": "text",
|
| 1686 |
+
"text": "Kate Saenko, Brian Kulis, Mario Fritz, and Trevor Darrell. Adapting visual category models to new domains. In ECCV, 2010. 6 ",
|
| 1687 |
+
"bbox": [
|
| 1688 |
+
174,
|
| 1689 |
+
824,
|
| 1690 |
+
823,
|
| 1691 |
+
852
|
| 1692 |
+
],
|
| 1693 |
+
"page_idx": 10
|
| 1694 |
+
},
|
| 1695 |
+
{
|
| 1696 |
+
"type": "text",
|
| 1697 |
+
"text": "Ozan Sener and Silvio Savarese. Active learning for convolutional neural networks: A core-set approach. In ICLR, 2018. 3 ",
|
| 1698 |
+
"bbox": [
|
| 1699 |
+
173,
|
| 1700 |
+
861,
|
| 1701 |
+
823,
|
| 1702 |
+
888
|
| 1703 |
+
],
|
| 1704 |
+
"page_idx": 10
|
| 1705 |
+
},
|
| 1706 |
+
{
|
| 1707 |
+
"type": "text",
|
| 1708 |
+
"text": "Ayumi Shinohara and Satoru Miyano. Teachability in computational learning. New Generation Computing, 8(4): 337–347, 1991. 3 ",
|
| 1709 |
+
"bbox": [
|
| 1710 |
+
174,
|
| 1711 |
+
897,
|
| 1712 |
+
821,
|
| 1713 |
+
924
|
| 1714 |
+
],
|
| 1715 |
+
"page_idx": 10
|
| 1716 |
+
},
|
| 1717 |
+
{
|
| 1718 |
+
"type": "text",
|
| 1719 |
+
"text": "Simon Tong and Daphne Koller. Support vector machine active learning with applications to text classification. JMLR, 2(Nov):45–66, 2001. 3 \nAntonio Torralba and Alexei A Efros. Unbiased look at dataset bias. In CVPR, pp. 1521–1528. IEEE, 2011. 3, 6 \nIvor W Tsang, James T Kwok, and Pak-Ming Cheung. Core vector machines: Fast svm training on very large data sets. JMLR, 6(Apr):363–392, 2005. 3 \nC. Wah, S. Branson, P. Welinder, P. Perona, and S. Belongie. The Caltech-UCSD Birds-200-2011 Dataset. Technical Report CNS-TR-2011-001, California Institute of Technology, 2011. 2, 9 \nMatthew D Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In ECCV, 2014. 3 \nBolei Zhou, Aditya Khosla, Agata Lapedriza, Aude Oliva, and Antonio Torralba. Object detectors emerge in deep scene cnns. In ICLR, 2015. 3 ",
|
| 1720 |
+
"bbox": [
|
| 1721 |
+
171,
|
| 1722 |
+
103,
|
| 1723 |
+
828,
|
| 1724 |
+
282
|
| 1725 |
+
],
|
| 1726 |
+
"page_idx": 11
|
| 1727 |
+
},
|
| 1728 |
+
{
|
| 1729 |
+
"type": "text",
|
| 1730 |
+
"text": "S-6 SUPPLEMENTARY MATERIAL ",
|
| 1731 |
+
"text_level": 1,
|
| 1732 |
+
"bbox": [
|
| 1733 |
+
176,
|
| 1734 |
+
102,
|
| 1735 |
+
467,
|
| 1736 |
+
118
|
| 1737 |
+
],
|
| 1738 |
+
"page_idx": 12
|
| 1739 |
+
},
|
| 1740 |
+
{
|
| 1741 |
+
"type": "text",
|
| 1742 |
+
"text": "S-6.1 EXPERIMENT DETAILS ",
|
| 1743 |
+
"text_level": 1,
|
| 1744 |
+
"bbox": [
|
| 1745 |
+
176,
|
| 1746 |
+
135,
|
| 1747 |
+
390,
|
| 1748 |
+
150
|
| 1749 |
+
],
|
| 1750 |
+
"page_idx": 12
|
| 1751 |
+
},
|
| 1752 |
+
{
|
| 1753 |
+
"type": "text",
|
| 1754 |
+
"text": "For the networks used in our experiments, we disable dropout layers due to the randomness and computational cost they introduce in distillation. Moreover, we initialize the distilled learning rates as 0.02 and use Adam optimizer (Kingma & Ba, 2014) with a learning rate of 0.001. For random initialization and random pre-trained weights, we sample 4 to 16 initial weights in each step. ",
|
| 1755 |
+
"bbox": [
|
| 1756 |
+
174,
|
| 1757 |
+
161,
|
| 1758 |
+
825,
|
| 1759 |
+
212
|
| 1760 |
+
],
|
| 1761 |
+
"page_idx": 12
|
| 1762 |
+
},
|
| 1763 |
+
{
|
| 1764 |
+
"type": "text",
|
| 1765 |
+
"text": "Details of the baselines are listed below. ",
|
| 1766 |
+
"bbox": [
|
| 1767 |
+
176,
|
| 1768 |
+
218,
|
| 1769 |
+
411,
|
| 1770 |
+
232
|
| 1771 |
+
],
|
| 1772 |
+
"page_idx": 12
|
| 1773 |
+
},
|
| 1774 |
+
{
|
| 1775 |
+
"type": "text",
|
| 1776 |
+
"text": "• Random real images: We randomly sample the same number of real training images per category. 10 such set of sampled images are evaluated. • Optimized real images: We sampled 50 sets of real images using above procedure, and evaluate 10 sets that achieve best performance on 20 held-out models and 1024 training images. • $k$ -means: For each category, we use $k$ -means to extract the same number of cluster centroids as the number of distilled images in our method. 10 such set of sampled images are evaluated. • Average real images: We compute the average image of all the images in each category, which is reused in different GD steps. We evaluate the model only once because average images are deterministic. ",
|
| 1777 |
+
"bbox": [
|
| 1778 |
+
196,
|
| 1779 |
+
241,
|
| 1780 |
+
826,
|
| 1781 |
+
351
|
| 1782 |
+
],
|
| 1783 |
+
"page_idx": 12
|
| 1784 |
+
}
|
| 1785 |
+
]
|
parse/train/Sy4lojC9tm/Sy4lojC9tm_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Sy4lojC9tm/Sy4lojC9tm_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SyGjjsC5tQ/SyGjjsC5tQ.md
ADDED
|
@@ -0,0 +1,782 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# STABLE OPPONENT SHAPINGIN DIFFERENTIABLE GAMES
|
| 2 |
+
|
| 3 |
+
Alistair Letcher1 Jakob Foerster1 David Balduzzi2 Tim Rocktaschel ¨ 3 Shimon Whiteson1 1University of Oxford 2DeepMind 3University College London
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
A growing number of learning methods are actually differentiable games whose players optimise multiple, interdependent objectives in parallel – from GANs and intrinsic curiosity to multi-agent RL. Opponent shaping is a powerful approach to improve learning dynamics in these games, accounting for player influence on others’ updates. Learning with Opponent-Learning Awareness (LOLA) is a recent algorithm that exploits this response and leads to cooperation in settings like the Iterated Prisoner’s Dilemma. Although experimentally successful, we show that LOLA agents can exhibit ‘arrogant’ behaviour directly at odds with convergence. In fact, remarkably few algorithms have theoretical guarantees applying across all $\mathbf { \xi } _ { n }$ -player, non-convex) games. In this paper we present Stable Opponent Shaping (SOS), a new method that interpolates between LOLA and a stable variant named LookAhead. We prove that LookAhead converges locally to equilibria and avoids strict saddles in all differentiable games. SOS inherits these essential guarantees, while also shaping the learning of opponents and consistently either matching or outperforming LOLA experimentally.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Problem Setting. While machine learning has traditionally focused on optimising single objectives, generative adversarial nets (GANs) (Goodfellow et al., 2014) have showcased the potential of architectures dealing with multiple interacting goals. They have since then proliferated substantially, including intrinsic curiosity (Pathak et al., 2017), imaginative agents (Racaniere et al., 2017), syn- \` thetic gradients (Jaderberg et al., 2017), hierarchical reinforcement learning (RL) (Wayne & Abbott, 2014; Vezhnevets et al., 2017) and multi-agent RL in general (Busoniu et al., 2008).
|
| 12 |
+
|
| 13 |
+
These can effectively be viewed as differentiable games played by cooperating and competing agents – which may simply be different internal components of a single system, like the generator and discriminator in GANs. The difficulty is that each loss depends on all parameters, including those of other agents. While gradient descent on single functions has been widely successful, converging to local minima under rather mild conditions (Lee et al., 2017), its simultaneous generalisation can fail even in simple two-player, two-parameter zero-sum games. No algorithm has yet been shown to converge, even locally, in all differentiable games.
|
| 14 |
+
|
| 15 |
+
Related Work. Convergence has widely been studied in convex $n$ -player games, see especially Rosen (1965); Facchinei & Kanzow (2007). However, the recent success of non-convex games exemplified by GANs calls for a better understanding of this general class where comparatively little is known. Mertikopoulos & Zhou (2018) recently prove local convergence of no-regreat learning to variationally stable equilibria, though under a number of regularity assumptions.
|
| 16 |
+
|
| 17 |
+
Conversely, a number of algorithms have been successful in the non-convex setting for restricted classes of games. These include policy prediction in two-player two-action bimatrix games (Zhang & Lesser, 2010); WoLF in two-player two-action games (Bowling & Veloso, 2001); AWESOME in repeated games (Conitzer & Sandholm, 2007); Optimistic Mirror Descent in two-player bilinear zero-sum games (Daskalakis et al., 2018) and Consensus Optimisation (CO) in two-player zerosum games (Mescheder et al., 2017). An important body of work including Heusel et al. (2017); Nagarajan & Kolter (2017) has also appeared for the specific case of GANs.
|
| 18 |
+
|
| 19 |
+
Working towards bridging this gap, some of the authors recently proposed Symplectic Gradient Adjustment (SGA), see Balduzzi et al. (2018). This algorithm is provably ‘attracted’ to stable fixed points while ‘repelled’ from unstable ones in all differentiable games $\stackrel { \cdot } { n }$ -player, non-convex). Nonetheless, these results are weaker than strict convergence guarantees. Moreover, SGA agents may act against their own self-interest by prioritising stability over individual loss. SGA was also discovered independently by Gemp & Mahadevan (2018), drawing on variational inequalities.
|
| 20 |
+
|
| 21 |
+
In a different direction, Learning with Opponent-Learning Awareness (LOLA) (Foerster et al., 2018) modifies the learning objective by predicting and differentiating through opponent learning steps. This is intuitively appealing and experimentally successful, encouraging cooperation in settings like the Iterated Prisoner’s Dilemma (IPD) where more stable algorithms like SGA defect. However, LOLA has no guarantees of converging or even preserving fixed points of the game.
|
| 22 |
+
|
| 23 |
+
Contribution. We begin by constructing the first explicit tandem game where LOLA agents adopt ‘arrogant’ behaviour and converge to non-fixed points. We pinpoint the cause of failure and show that a natural variant named LookAhead (LA), discovered before LOLA by Zhang & Lesser (2010), successfully preserves fixed points. We then prove that LookAhead locally converges and avoids strict saddles in all differentiable games, filling a theoretical gap in multi-agent learning. This is enabled through a unified approach based on fixed-point iterations and dynamical systems. These techniques apply equally well to algorithms like CO and SGA, though this is not our present focus.
|
| 24 |
+
|
| 25 |
+
While LookAhead is theoretically robust, the shaping component endowing LOLA with a capacity to exploit opponent dynamics is lost. We solve this dilemma with an algorithm named Stable Opponent Shaping (SOS), trading between stability and exploitation by interpolating between LookAhead and LOLA. Using an intuitive and theoretically grounded criterion for this interpolation parameter, SOS inherits both strong convergence guarantees from LA and opponent shaping from LOLA.
|
| 26 |
+
|
| 27 |
+
On the experimental side, we show that SOS plays tit-for-tat in the IPD on par with LOLA, while all other methods mostly defect. We display the practical consequences of our theoretical guarantees in the tandem game, where SOS always outperforms LOLA. Finally we implement a more involved GAN setup, testing for mode collapse and mode hopping when learning Gaussian mixture distributions. SOS successfully spreads mass across all Gaussians, at least matching dedicated algorithms like CO, while LA is significantly slower and simultaneous gradient descent fails entirely.
|
| 28 |
+
|
| 29 |
+
# 2 BACKGROUND
|
| 30 |
+
|
| 31 |
+
# 2.1 DIFFERENTIABLE GAMES
|
| 32 |
+
|
| 33 |
+
We frame the problem of multi-agent learning as a game. Adapted from Balduzzi et al. (2018), the following definition insists only on differentiability for gradient-based methods to apply. This concept is strictly more general than stochastic games, whose parameters are usually restricted to action-state transition probabilities or functional approximations thereof.
|
| 34 |
+
|
| 35 |
+
Definition 1. A differentiable game is a set of $n$ players with parameters $\theta = ( \theta ^ { 1 } , \ldots , \theta ^ { n } ) \in \mathbb { R } ^ { d }$ and twice continuously differentiable losses $L ^ { i } : \mathbb { R } ^ { d } \overset { \cdot } { } \mathbb { R }$ , where $\theta ^ { i } \in \mathbb { R } ^ { d _ { i } }$ for each $i$ and $\textstyle \sum _ { i } d _ { i } = d$ .
|
| 36 |
+
|
| 37 |
+
Crucially, note that each loss is a function of all parameters. From the viewpoint of player $i$ , parameters can be written as $\theta = ( \theta ^ { i } , \theta ^ { - i } )$ where $\bar { \theta ^ { - i } }$ contains all other players’ parameters. We do not make the common assumption that each $L ^ { i }$ is convex as a function of $\theta ^ { i }$ alone, for any fixed opponent parameters $\theta ^ { - i }$ , nor do we restrict $\theta$ to the probability simplex – though this restriction can be recovered via projection or sigmoid functions $\bar { \sigma : \mathbb { R } \to [ 0 , 1 ] }$ . If $n = 1$ , the ‘game’ is simply to minimise a given loss function. In this case one can reach local minima by (possibly stochastic) gradient descent (GD). For arbitrary $n$ , the standard solution concept is that of Nash equilibria.
|
| 38 |
+
|
| 39 |
+
Definition 2. A point $\bar { \theta } \in \mathbb { R } ^ { d }$ is a (local) Nash equilibrium if for each $i$ , there are neighbourhoods $U _ { i }$ of ${ \bar { \theta } } ^ { i }$ such that $L ^ { i } ( \theta ^ { i } , \bar { \theta } ^ { - i } ) \ge L ^ { i } ( \bar { \theta } )$ for all $\theta ^ { i } \in U _ { i }$ . In other words, each player’s strategy is a local best response to current opponent strategies.
|
| 40 |
+
|
| 41 |
+
We write $\nabla _ { i } L ^ { k } = \nabla _ { \theta ^ { i } } L ^ { k }$ and $\nabla _ { i j } L ^ { k } = \nabla _ { \theta ^ { j } } \nabla _ { \theta ^ { i } } L ^ { k }$ for any $i , j , k$ . Define the simultaneous gradient of the game as the concatenation of each player’s gradient,
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
\boldsymbol { \xi } = \left( \nabla _ { 1 } L ^ { 1 } , \ldots , \nabla _ { n } L ^ { n } \right) ^ { \boldsymbol { \mathsf { T } } } \in \mathbb { R } ^ { d } .
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
The $i$ th component of $\xi$ is the direction of greatest increase in $L ^ { i }$ with respect to $\theta ^ { i }$ . If each agent minimises their loss independently from others, they perform GD on their component $\nabla _ { i } L ^ { i }$ with learning rate $\alpha _ { i }$ . Hence, the parameter update for all agents is given by $\theta \theta - \alpha \odot \xi$ , where $\alpha = ( \alpha _ { 1 } , \ldots , \alpha _ { n } ) ^ { \intercal }$ and $\odot$ is element-wise multiplication. This is also called naive learning (NL), reducing to $\theta \theta - \alpha \xi$ if agents have the same learning rate. This is assumed for notational simplicity, though irrelevant to our results. The following example shows that $\mathrm { N L }$ can fail to converge.
|
| 48 |
+
|
| 49 |
+
Example 1. Consider $L ^ { 1 / 2 } = \pm x y$ , where players control the $x$ and $y$ parameters respectively. The origin is a (global and unique) Nash equilibrium. The simultaneous gradient is ${ \boldsymbol { \xi } } = ( y , - x )$ and cycles around the origin. Explicitly, a gradient step from $( x , y )$ yields
|
| 50 |
+
|
| 51 |
+
$$
|
| 52 |
+
( x , y ) ( x , y ) - \alpha ( y , - x ) = ( x - \alpha y , y + \alpha x )
|
| 53 |
+
$$
|
| 54 |
+
|
| 55 |
+
which has distance from the origin $( 1 + \alpha ^ { 2 } ) ( x ^ { 2 } + y ^ { 2 } ) > ( x ^ { 2 } + y ^ { 2 } )$ for any $\alpha > 0$ and $( x , y ) \neq 0$ . It follows that agents diverge away from the origin for any $\alpha > 0$ . The cause of failure is that $\xi$ is not the gradient of a single function, implying that each agent’s loss is inherently dependent on others. This results in a contradiction between the non-stationarity of each agent, and the optimisation of each loss independently from others. Failure of convergence in this simple two-player zero-sum game shows that gradient descent does not generalise well to differentiable games. We consider an alternative solution concept to Nash equilibria before introducing LOLA.
|
| 56 |
+
|
| 57 |
+
# 2.2 STABLE FIXED POINTS
|
| 58 |
+
|
| 59 |
+
Consider the game given by $L ^ { 1 } = L ^ { 2 } = x y$ where players control the $x$ and $y$ parameters respectively. The optimal solution is $( x , y ) \to \pm ( \infty , - \infty )$ , since then $L ^ { 1 } = L ^ { 2 } - \infty$ . However the origin is a global Nash equilibrium, while also a saddle point of $x y$ . It is highly undesirable to converge to the origin in this game, since infinitely better losses can be reached in the anti-diagonal direction. In this light, Nash equilibria cannot be the right solution concept to aim for in multi-agent learning. To define stable fixed points, first introduce the ‘Hessian’ of the game as the block matrix
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\begin{array} { r } { H = \nabla \xi = \left( \begin{array} { c c c } { \nabla _ { 1 1 } L ^ { 1 } } & { \cdots } & { \nabla _ { 1 n } L ^ { 1 } } \\ { \vdots } & { \ddots } & { \vdots } \\ { \nabla _ { n 1 } L ^ { n } } & { \cdots } & { \nabla _ { n n } L ^ { n } } \end{array} \right) \in \mathbb { R } ^ { d \times d } . } \end{array}
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
This can equivalently be viewed as the Jacobian of the vector field $\xi$ . Importantly, note that $H$ is not symmetric in general unless $n = 1$ , in which case we recover the usual Hessian ${ \bf \dot { \boldsymbol { H } } } = \nabla ^ { 2 } { \boldsymbol { L } }$ .
|
| 66 |
+
|
| 67 |
+
Definition 3. A point $\bar { \theta }$ is a fixed point if $\xi ( \bar { \theta } ) = 0$ . It is stable if $H ( \bar { \theta } ) \succeq 0$ , unstable if $H ( \bar { \theta } ) \prec 0$ and a strict saddle if $H ( \bar { \theta } )$ has an eigenvalue with negative real part.
|
| 68 |
+
|
| 69 |
+
The name ‘fixed point’ is coherent with GD, since $\xi ( \bar { \theta } ) = 0$ implies a fixed update ${ \bar { \theta } } { \bar { \theta } } - \alpha \xi ( { \bar { \theta } } ) =$ $\bar { \theta }$ . Though Nash equilibria were shown to be inadequate above, it is not obvious that stable fixed points (SFPs) are a better solution concept. In Appendix A we provide intuition for why SFPs are both closer to local minima in the context of multi-loss optimisation, and more tractable for convergence proofs. Moreover, this definition is an improved variant on that in Balduzzi et al. (2018), assuming positive semi-definiteness only at $\bar { \theta }$ instead of holding in a neighbourhood. This makes the class of SFPs as large as possible, while sufficient for all our theoretical results.
|
| 70 |
+
|
| 71 |
+
Assuming invertibility of $H ( \bar { \theta } )$ at SFPs is crucial to all convergence results in this paper. The same assumption is present in related work including Mescheder et al. (2017), and cannot be avoided. Even for single losses, a fixed point with singular Hessian can be a local minimum, maximum, or saddle point. Invertibility is thus necessary to ensure that SFPs really are ‘local minima’. This is omitted from now on. Finally note that unstable fixed points are a subset of strict saddles, making Theorem 6 both stronger and more general than results for SGA by Balduzzi et al. (2018).
|
| 72 |
+
|
| 73 |
+
# 2.3 LEARNING WITH OPPONENT-LEARNING AWARENESS (LOLA)
|
| 74 |
+
|
| 75 |
+
Accounting for nonstationarity, Learning with Opponent-Learning Awareness (LOLA) modifies the learning objective by predicting and differentiating through opponent learning steps (Foerster et al., 2018). For simplicity, if $n = 2$ then agent 1 optimises $L ^ { 1 } ( \theta ^ { 1 } , \theta ^ { 2 } + \Delta \theta ^ { 2 } )$ with respect to $\theta ^ { 1 }$ , where $\Delta \theta ^ { 2 }$ is the predicted learning step for agent 2. Foerster et al. (2018) assume that opponents are naive learners, namely $\Delta \theta ^ { 2 } = - \dot { \alpha } _ { 2 } \dot { \nabla _ { 2 } } L ^ { 2 }$ . After first-order Taylor expansion, the loss is approximately given by $L ^ { 1 } + \dot { \nabla } _ { 2 } L ^ { 1 } \cdot \Delta \theta ^ { 2 }$ . By minimising this quantity, agent 1 learns parameters that align the opponent learning step $\Delta \theta ^ { 2 }$ with the direction of greatest decrease in $L ^ { 1 }$ , exploiting opponent dynamics to further reduce one’s losses. Differentiating with respect to $\theta ^ { 1 }$ , the adjustment is
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\begin{array} { r } { \nabla _ { 1 } L ^ { 1 } + \left( \nabla _ { 2 1 } L ^ { 1 } \right) ^ { \top } \Delta \theta ^ { 2 } + \left( \nabla _ { 1 } \Delta \theta ^ { 2 } \right) ^ { \top } \nabla _ { 2 } L ^ { 1 } . } \end{array}
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
By explicitly differentiating through $\Delta \theta ^ { 2 }$ in the rightmost term, LOLA agents actively shape opponent learning. This has proven effective in reaching cooperative equilibria in multi-agent learning, finding success in a number of games including tit-for-tat in the IPD. The middle term above was originally dropped by the authors because “LOLA focuses on this shaping of the learning direction of the opponent”. We choose not to eliminate this term, as also inherent in LOLA-DiCE (Foerster et al., 2018). Preserving both terms will in fact be key to developing stable opponent shaping.
|
| 82 |
+
|
| 83 |
+
First we formulate $n$ -player LOLA in vectorial form. Let $H _ { d }$ and $H _ { o }$ be the matrices of diagonal and anti-diagonal blocks of $H$ , so that $H = H _ { d } + H _ { o }$ . Also define $L = ( L ^ { 1 } , \dots , L ^ { n } )$ and the operator diag : $\overline { { \mathbb { R } ^ { d \times n } } } \to \mathbb { R } ^ { d }$ constructing a vector from the block matrix diagonal, namely $\mathrm { d i a g } ( M ) _ { i } = M _ { i i }$ .
|
| 84 |
+
|
| 85 |
+
Proposition 1 (Appendix B). Writing $\begin{array} { r } { \chi = \mathrm { d i a g } ( H _ { o } ^ { \intercal } \nabla L ) } \end{array}$ , the LOLA gradient adjustment is
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\begin{array} { r } { \mathrm { L O L A } = ( I - \alpha H _ { o } ) \xi - \alpha \chi . } \end{array}
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
While experimentally successful, LOLA fails to preserve fixed points $\bar { \theta }$ of the game since
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
( I - \alpha H _ { o } ) \xi ( \bar { \theta } ) - \alpha \chi ( \bar { \theta } ) = - \alpha \chi ( \bar { \theta } ) \neq 0
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
in general. Even if $\bar { \theta }$ is a Nash equilibrium, the update ${ \bar { \theta } } { \bar { \theta } } - \alpha \mathrm { { L O L A } } \neq { \bar { \theta } }$ can push them away despite parameters being optimal. This may worsen the losses for all agents, as in the game below.
|
| 98 |
+
|
| 99 |
+
Example 2 (Tandem). Imagine a tandem controlled by agents facing opposite directions, who feed $x$ and $y$ force into their pedals respectively. Negative numbers correspond to pedalling backwards.
|
| 100 |
+
|
| 101 |
+
Moving coherently requires $x \approx - y$ , embodied by a quadratic loss $( x + y ) ^ { 2 }$ . However it is easier for agents to pedal forwards, translated by linear losses $- 2 x$ and $- 2 y$ . The game is thus given by $L ^ { 1 } ( x , y ) = ( x + \mathbf { \bar { \psi } } y ) ^ { 2 } - 2 x$ and $L ^ { 2 } ( x , y ) = \bar { ( } x + y ) \bar { ^ { 2 } } - 2 y$ . These sub-goals are incompatible, so agents cannot simply accelerate forwards. The SFPs are given by $\{ x + y = 1 \}$ . Computing ${ \dot { \chi } } ( x , 1 - x ) \ = \ ( 4 , 4 ) \ \neq \ 0$ , none of these are preserved by LOLA. Instead, we show in Appendix C that LOLA can only converge to sub-optimal scenarios with worse losses for both agents, for any $\alpha$ .
|
| 102 |
+
|
| 103 |
+

|
| 104 |
+
Figure 1: Illustration of the tandem game.
|
| 105 |
+
|
| 106 |
+
Intuitively, the root of failure is that LOLA agents try to shape opponent learning and enforce compliance by accelerating forwards, assuming a dynamic response from their opponent. The other agen does the same, so they become ‘arrogant’ and suffer by pushing strongly in opposite directions.
|
| 107 |
+
|
| 108 |
+
# 3 METHOD
|
| 109 |
+
|
| 110 |
+
# 3.1 LOOKAHEAD
|
| 111 |
+
|
| 112 |
+
The shaping term $\chi$ prevents LOLA from preserving fixed points. Consider removing this component entirely, giving $( I - \alpha H _ { o } ) \xi$ . This variant preserves fixed points, but what does it mean from the perspective of each agent? Note that LOLA optimises $L ^ { 1 } ( { \theta } ^ { 1 } , { \theta } ^ { 2 } + \Delta { \theta } ^ { 2 } )$ with respect to $\theta ^ { 1 }$ , while $\bar { \Delta } \theta ^ { 2 }$ is a function of $\bar { \theta ^ { 1 } }$ . In other words, we assume that our opponent’s learning step depends on our current optimisation with respect to $\theta ^ { 1 }$ . This is inaccurate, since opponents cannot see our updated parameters until the next step. Instead, assume we optimise $L ^ { 1 } ( \theta ^ { 1 } , \hat { \theta } ^ { 2 } + \Delta \theta ^ { 2 } ( \hat { \theta } ^ { 1 } , \hat { \theta } ^ { 2 } ) )$ where $\hat { \theta } ^ { 1 } , \hat { \theta } ^ { 2 }$ are the current parameters. After Taylor expansion, the gradient with respect to $\theta ^ { 1 }$ is given by
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
\nabla _ { 1 } L ^ { 1 } + \left( \nabla _ { 2 1 } L ^ { 1 } \right) ^ { \boldsymbol { \mathsf { T } } } \Delta \theta ^ { 2 }
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
since $\Delta \theta ^ { 2 } ( \hat { \theta } ^ { 1 } , \hat { \theta } ^ { 2 } )$ does not depend on $\theta ^ { 1 }$ . In vectorial form, we recover the variant $( I - \alpha H _ { o } ) \xi$ since the shaping term corresponds precisely to differentiating through $\Delta \theta ^ { 2 }$ . We name this LookAhead, which was discovered before LOLA by Zhang & Lesser (2010) though not explicitly named. Using the stop-gradient operator $\perp ^ { 1 }$ , this can be reformulated as optimising $L ^ { 1 } ( \theta ^ { 1 } , \theta ^ { 2 } + \bot \Delta \theta ^ { 2 } )$ where $\perp$ prevents gradient flowing from $\Delta \theta ^ { 2 }$ upon differentiation.
|
| 119 |
+
|
| 120 |
+
The main result of Zhang & Lesser (2010) is that LookAhead converges to Nash equilibria in the small class of two-player, two-action bimatrix games. We will prove local convergence to SFP and non-convergence to strict saddles in all differentiable games. On the other hand, by discarding the problematic shaping term, we also eliminated LOLA’s capacity to exploit opponent dynamics and encourage cooperation. This will be witnessed in the IPD, where LookAhead agents mostly defect.
|
| 121 |
+
|
| 122 |
+
# 3.2 STABLE OPPONENT SHAPING (SOS)
|
| 123 |
+
|
| 124 |
+
We propose Stable Opponent Shaping (SOS), an algorithm preserving both advantages at once. Define the partial stop-gradient operator $\perp ^ { p } : = p \perp + ( 1 - p ) I$ , where $I$ is the identity and $p$ stands for partial. A $p$ -LOLA agent optimises the modified objective
|
| 125 |
+
|
| 126 |
+
$$
|
| 127 |
+
L ^ { 1 } ( \theta ^ { 1 } , \theta ^ { 2 } + \perp ^ { 1 - p } \Delta \theta ^ { 2 } , \ldots , \theta ^ { n } + \perp ^ { 1 - p } \Delta \theta ^ { n } ) ,
|
| 128 |
+
$$
|
| 129 |
+
|
| 130 |
+
collapsing to LookAhead at $p = 0$ and LOLA at $p = 1$ . The resulting gradient is given by
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
\xi _ { p } : = p \mathrm { - } \mathrm { L O L A } = ( I - \alpha H _ { o } ) \xi - p \alpha \chi
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
with $\xi _ { 0 } = \mathrm { L A }$ . We obtain an algorithm trading between shaping and stability as a function of $p$ . Note however that preservation of fixed points only holds if $p$ is infinitesimal, in which case $p$ -LOLA is almost identical to LookAhead – losing the very purpose of interpolation. Instead we propose a two-part criterion for $p$ at each learning step, through which all guarantees descend.
|
| 137 |
+
|
| 138 |
+
First choose $p$ such that $\xi _ { p }$ points in the same direction as LookAhead. This will not be enough to prove convergence itself, but prevents arrogant behaviour by ensuring convergence only to fixed points. Formally, the first criterion is given by $\langle \xi _ { p } , \xi _ { 0 } \rangle \geq 0$ . If $\langle - \alpha \chi , \bar { \xi } _ { 0 } \rangle \geq 0$ then $\langle \xi _ { p } , \xi _ { 0 } \rangle \geq 0$ automatically, so we choose $p = 1$ for maximal shaping. Otherwise choose
|
| 139 |
+
|
| 140 |
+
$$
|
| 141 |
+
p = \operatorname* { m i n } \left\{ 1 , \frac { - a \| \xi _ { 0 } \| ^ { 2 } } { \langle - \alpha \chi , \xi _ { 0 } \rangle } \right\}
|
| 142 |
+
$$
|
| 143 |
+
|
| 144 |
+
with any hyperparameter $0 < a < 1$ . This guarantees a positive inner product
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
\begin{array} { r } { \langle \xi _ { p } , \xi _ { 0 } \rangle = p \langle - \alpha \chi , \xi _ { 0 } \rangle + \Vert \xi _ { 0 } \Vert ^ { 2 } \geq - a \Vert \xi _ { 0 } \Vert ^ { 2 } + \Vert \xi _ { 0 } \Vert ^ { 2 } = \Vert \xi _ { 0 } \Vert ^ { 2 } ( 1 - a ) > 0 . } \end{array}
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
We complement this with a second criterion ensuring local convergence. The idea is to scale $p$ by a function of $\| \xi \|$ if $\| \xi \|$ is small enough, which certainly holds in neighbourhoods of fixed points. Let $0 < b < 1$ be a hyperparameter and take $p = \| \boldsymbol { \xi } \| ^ { \check { 2 } }$ if $\| \xi \| < b$ , otherwise $p = 1$ . Choosing $p _ { 1 }$ and $p _ { 2 }$ according to these criteria, the two-part criterion is $\ddot { p } = \operatorname* { m i n } \{ p _ { 1 } , p _ { 2 } \}$ . SOS is obtained by combining $p$ -LOLA with this criterion, as summarised in Algorithm 1. Crucially, all theoretical results in the next section are independent from the choice of hyperparameters $a$ and $b$ .
|
| 151 |
+
|
| 152 |
+
# Algorithm 1: Stable Opponent Shaping
|
| 153 |
+
|
| 154 |
+
<table><tr><td colspan="2">1 Initialise θ randomly and fix hyperparameters a,b ∈(0,1). 2 while not done do</td></tr><tr><td>3</td><td>Compute ε = (I-αHo)ξ and X= diag(HVL) at 0.</td></tr><tr><td>4</td><td>allsoll2</td></tr><tr><td>5</td><td>if|/ξl<b then P2= |/ε|² else P2=1</td></tr><tr><td>6</td><td>Let p = min{p1,p2},compute $p = £o - pαX and assgn θ ← 0-αξp.</td></tr><tr><td colspan="2">7end</td></tr></table>
|
| 155 |
+
|
| 156 |
+
# 4 THEORETICAL RESULTS
|
| 157 |
+
|
| 158 |
+
Our central theoretical contribution is that LookAhead and SOS converge locally to SFP and avoid strict saddles in all differentiable games. Since the learning gradients involve second-order Hessian terms, our results assume thrice continuously differentiable losses (omitted hereafter). Losses which are $C ^ { 2 }$ but not $C ^ { 3 }$ are very degenerate, so this is a mild assumption. Statements made about SOS crucially hold for any hyperparameters $a , b \in ( 0 , 1 )$ . See Appendices $\mathrm { D }$ and E for detailed proofs.
|
| 159 |
+
|
| 160 |
+
Convergence is proved using Ostrowski’s Theorem. This reduces convergence of a gradient adjustment $g$ to positive stability (eigenvalues with positive real part) of $\nabla g$ at stable fixed points.
|
| 161 |
+
|
| 162 |
+
Theorem 2. Let $H \succeq 0$ be invertible with symmetric diagonal blocks. Then there exists $\epsilon > 0$ such that $( I - \alpha H _ { o } ) H$ is positive stable for all $0 < \alpha < \epsilon$ .
|
| 163 |
+
|
| 164 |
+
This type of result would usually be proved either by analytical means showing positive definiteness and hence positive stability, or direct eigenvalue analysis. We show in Appendix D that $( I - \alpha H _ { o } ) H$ is not necessarily positive definite, while there is no necessary relationship between eigenpairs of $H$ and $H _ { o }$ . This makes our theorem all the more interesting and non-trivial. We use a similarity transformation trick to circumvent the dual obstacle, allowing for analysis of positive definiteness with respect to a new inner product. We obtain positive stability by invariance under change of basis.
|
| 165 |
+
|
| 166 |
+
Corollary 3. LookAhead converges locally to stable fixed points for $\alpha > 0$ sufficiently small.
|
| 167 |
+
|
| 168 |
+
Using the second criterion for $p$ , we prove local convergence of SOS in all differentiable games despite the presence of a shaping term (unlike LOLA).
|
| 169 |
+
|
| 170 |
+
Theorem 4. SOS converges locally to stable fixed points for $\alpha > 0$ sufficiently small.
|
| 171 |
+
|
| 172 |
+
# 4.2 AVOIDING STRICT SADDLES
|
| 173 |
+
|
| 174 |
+
Using the first criterion for $p$ , we prove that SOS only converges to fixed points (unlike LOLA).
|
| 175 |
+
Proposition 5. If SOS converges to $\bar { \theta }$ and $\alpha > 0$ is small then $\bar { \theta }$ is a fixed point of the game.
|
| 176 |
+
|
| 177 |
+
Now assume that $\theta$ is initialised randomly (or with arbitrarily small noise), as is standard in ML. Let $F ( \theta ) = \theta - \alpha \xi _ { p } ( \theta )$ be the SOS iteration. Using both the second criterion and the Stable Manifold Theorem from dynamical systems, we can prove that every strict saddle $\bar { \theta }$ has a neighbourhood $U$ such that $\{ \theta \in \bar { U } \mid F ^ { n } ( \theta ) \stackrel { . } { } \bar { \theta }$ as $n \infty \}$ has measure zero for $\alpha > 0$ sufficiently small. Since $\theta$ is initialised randomly, we obtain the following result.
|
| 178 |
+
|
| 179 |
+
Theorem 6. SOS locally avoids strict saddles almost surely, for $\alpha > 0$ sufficiently small.
|
| 180 |
+
|
| 181 |
+
This also holds for LookAhead, and could be strenghtened to global initialisations provided a strong boundedness assumption on $\| H \| _ { 2 }$ . This is trickier for SOS since $p ( \theta )$ is not globally continuous. Altogether, our results for LookAhead and the correct criterion for $p$ -LOLA lead to some of the strongest theoretical guarantees in multi-agent learning. Furthermore, SOS retains all of LOLA’s opponent shaping capacity while LookAhead does not, as shown experimentally in the next section.
|
| 182 |
+
|
| 183 |
+
# 5 EXPERIMENTS AND DISCUSSION
|
| 184 |
+
|
| 185 |
+
We evaluate the performance of SOS in three differentiable games. We first showcase opponent shaping and superiority over LA/CO/SGA/NL in the Iterated Prisoner’s Dilemma (IPD). This leaves SOS and LOLA, which have differed only in theory up to now. We bridge this gap by showing that SOS always outperforms LOLA in the tandem game, avoiding arrogant behaviour by decaying $p$ while LOLA overshoots. Finally we test SOS on a more involved GAN learning task, with results similar to dedicated methods like Consensus Optimisation.
|
| 186 |
+
|
| 187 |
+
# 5.1 EXPERIMENTAL SETUP
|
| 188 |
+
|
| 189 |
+
IPD: This game is an infinite sequence of the well-known Prisoner’s Dilemma, where the payoff is discounted by a factor $\gamma \in [ 0 , 1 )$ at each iteration. Agents are endowed with a memory of actions at the previous state. Hence there are 5 parameters for each agent $i$ : the probability $P ^ { i } \bar { ( \textit { C } | \textit { s t a t e } ) }$ of cooperating at start state $s _ { 0 } = \emptyset$ or state $s _ { t } = ( a _ { t - 1 } ^ { 1 } , a _ { t - 1 } ^ { 2 } )$ for $t > 0$ . One Nash equilibrium is to always defect (DD), with a normalised loss of 2. A better equilibrium with loss 1 is named tit-for-tat (TFT), where each player begins by cooperating and then mimicks the opponent’s previous action.
|
| 190 |
+
|
| 191 |
+
We run 300 training episodes for SOS, LA, CO, SGA and NL. The parameters are initialised following a normal distribution around $1 / 2$ probability of cooperation, with unit variance. We fix $\alpha = 1$ and $\gamma = 0 . 9 6$ , following Foerster et al. (2018). We choose $a = 0 . 5$ and $b = 0 . 1$ for SOS. The first is a robust and arbitrary middle ground, while the latter is intentionally small to avoid poor SFP.
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
Figure 2: Results in the IPD. (A) Probability that agents cooperate, given memory state, at the end of 50 training runs. SOS and LOLA mostly play tit-for-tat, while others mostly defect. (B) Average loss at each step, across 300 runs, with shaded deviations. SOS and LOLA outperform all others.
|
| 195 |
+
|
| 196 |
+
Tandem: Though local convergence is guaranteed for SOS, it is possible that SOS diverges from poor initialisations. This turns out to be impossible in the tandem game since the Hessian is globally positive semi-definite. We show this explicitly by running 300 training episodes for SOS and LOLA. Parameters are initialised following a normal distribution around the origin. We found performance to be robust to hyperparameters $a , b$ . Here we fix $a = b = 0 . 5$ and $\alpha = 0 . 1$ .
|
| 197 |
+
|
| 198 |
+
Gaussian mixtures: We reproduce a setup from Balduzzi et al. (2018). The game is to learn a Gaussian mixture distribution using GANs. Data is sampled from a highly multimodal distribution designed to probe the tendency to collapse onto a subset of modes during training – see ground truth in Appendix F. The generator and discriminator networks each have 6 ReLU layers of 384 neurons, with 2 and 1 output neurons respectively. Learning rates are chosen by grid search at iteration 8k, with $a = 0 . 5$ and $b = 0 . 1$ for SOS, following the same reasoning as the IPD.
|
| 199 |
+
|
| 200 |
+
# 5.2 RESULTS AND DISCUSSION
|
| 201 |
+
|
| 202 |
+
IPD: Results are given in Figure 2. Parameters in part (A) are the end-run probabilities of cooperating for each memory state, encoded in different colours. Only 50 runs are shown for visibility. Losses at each step are displayed in part (B), averaged across 300 episodes with shaded deviations.
|
| 203 |
+
|
| 204 |
+
SOS and LOLA mostly succeed in playing tit-for-tat, displayed by the accumulation of points in the correct corners of (A) plots. For instance, CC and CD points are mostly in the top right and left corners so agent 2 responds to cooperation with cooperation. Agents also cooperate at the start state, represented by $\mathcal { D }$ points all hidden in the top right corner. Tit-for-tat strategy is further indicated by the losses close to 1 in part (B). On the other hand, most points for LA/CO/SGA/NL are accumulated at the bottom left, so agents mostly defect. This results in poor losses, demonstrating the limited effectiveness of recent proposals like SGA and CO. Finally note that trained parameters and losses for SOS are almost identical to those for LOLA, displaying equal capacity in opponent shaping while also inheriting convergence guarantees and outperforming LOLA in the next experiment.
|
| 205 |
+
|
| 206 |
+
Tandem: Results are given in Figure 3. SOS always succeeds in decreasing $p$ to reach the correct equilibria, with losses averaging at 0. LOLA fails to preserve fixed points, overshooting with losses averaging at $4 / 9$ . The criterion for SOS is shown in action in part (B), decaying $p$ to avoid overshooting. This illustrates that purely theoretical guarantees descend into practical outperformance. Note that SOS even gets away from the LOLA fixed points if initialised there (not shown), converging to improved losses using the alignment criterion with LookAhead.
|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
Figure 3: Results in the tandem game. (A) Average loss and $\mathbf { ( B ) }$ average $p$ at each learning step, across 300 runs, with shaded deviations. SOS decays $p$ to avoid arrogance and outperforms LOLA.
|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
Figure 4: Generator distribution at sampled iterations. NL suffers from mode collapse and hopping, while CO and SOS learn the correct mixture of Gaussians. Below each plot: KL divergence $\mathcal { \bar { D } } _ { K L } ( P \left| \right| Q )$ from generator $P$ to ground truth $Q$ , estimated from 25600 samples. To the RHS of each row: learning rate $\alpha$ . Best result at each iteration shown in bold.
|
| 213 |
+
|
| 214 |
+
Gaussian mixtures: The generator distribution and KL divergence are given at $\{ 2 \mathrm { k } , 4 \mathrm { k } , 6 \mathrm { k } , 8 \mathrm { k } \}$ iterations for NL, CO and SOS in Figure 4. Results for SGA, LOLA and LA are in Appendix F. SOS achieves convincing results by spreading mass across all Gaussians, as do CO/SGA/LOLA. LookAhead is significantly slower, while NL fails through mode collapse and hopping. Only visual inspection was used for comparison by Balduzzi et al. (2018), while KL divergence gives stronger numerical evidence here. SOS and CO are slightly superior to others with reference to this metric. However CO is aimed specifically toward two-player zero-sum GAN optimisation, while SOS is widely applicable with strong theoretical guarantees in all differentiable games.
|
| 215 |
+
|
| 216 |
+
Theoretical results in machine learning have significantly helped understand the causes of success and failure in applications, from optimisation to architecture. While gradient descent on single losses has been studied extensively, algorithms dealing with interacting goals are proliferating, with little grasp of the underlying dynamics. The analysis behind CO and SGA has been helpful in this respect, though lacking either in generality or convergence guarantees. The first contribution of this paper is to provide a unified framework and fill this theoretical gap with robust convergence results for LookAhead in all differentiable games. Capturing stable fixed points as the correct solution concept was essential for these techniques to apply.
|
| 217 |
+
|
| 218 |
+
Furthermore, we showed that opponent shaping is both a powerful approach leading to experimental success and cooperative behaviour – while at the same time preventing LOLA from preserving fixed points in general. This conundrum is solved through a robust interpolation between LookAhead and LOLA, giving birth to SOS through a robust criterion. This was partially enabled by choosing to preserve the ‘middle’ term in LOLA, and using it to inherit stability from LookAhead. This results in convergence guarantees stronger than all previous algorithms, but also in practical superiority over LOLA in the tandem game. Moreover, SOS fully preserves opponent shaping and outperforms SGA, CO, LA and NL in the IPD by encouraging tit-for-tat policy instead of defecting. Finally, SOS convincingly learns Gaussian mixtures on par with the dedicated CO algorithm.
|
| 219 |
+
|
| 220 |
+
# 7 ACKNOWLEDGEMENTS
|
| 221 |
+
|
| 222 |
+
This project has received funding from the European Research Council under the European Union’s Horizon 2020 research and innovation programme (grant agreement number 637713). It was also supported by the Oxford-Google DeepMind Graduate Scholarship.
|
| 223 |
+
|
| 224 |
+
# REFERENCES
|
| 225 |
+
|
| 226 |
+
D. Balduzzi, S. Racaniere, J. Martens, J. Foerster, K. Tuyls, and T. Graepel. The Mechanics of n-Player Differentiable Games. ICML, 2018.
|
| 227 |
+
M. Bowling and M. Veloso. Rational and convergent learning in stochastic games. In Proceedings of the 17th International Joint Conference on Artificial Intelligence - Volume 2, pp. 1021–1026. Morgan Kaufmann Publishers Inc., 2001.
|
| 228 |
+
L. Busoniu, R. Babuska, and B. De Schutter. A comprehensive survey of multiagent reinforcement learning. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 38(2):156–172, March 2008.
|
| 229 |
+
V. Conitzer and T. Sandholm. AWESOME: A General Multiagent Learning Algorithm that Converges in Self-Play and Learns a Best Response Against Stationary Opponents. Machine Learning, 67(1):23–43, May 2007.
|
| 230 |
+
C. Daskalakis, A. Ilyas, V. Syrgkanis, and H. Zeng. Training GANs with Optimism. ICLR, 2018.
|
| 231 |
+
Francisco Facchinei and Christian Kanzow. Generalized Nash equilibrium problems. 4OR, 5(3), Sep 2007.
|
| 232 |
+
J. N. Foerster, R. Y. Chen, M. Al-Shedivat, S. Whiteson, P. Abbeel, and I. Mordatch. Learning with Opponent-Learning Awareness. AAMAS, 2018.
|
| 233 |
+
J. N. Foerster, G. Farquhar, M. Al-Shedivat, T. Rocktaschel, E. P. Xing, and S. Whiteson. DiCE: ¨ The Infinitely Differentiable Monte-Carlo Estimator. ICML, 2018.
|
| 234 |
+
I. Gemp and S. Mahadevan. Global Convergence to the Equilibrium of GANs using Variational Inequalities. ArXiv e-prints, 2018.
|
| 235 |
+
I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative Adversarial Networks. NIPS, 2014.
|
| 236 |
+
M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, and S. Hochreiter. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. NIPS, 2017.
|
| 237 |
+
M. Jaderberg, W. M. Czarnecki, S. Osindero, O. Vinyals, A. Graves, D. Silver, and K. Kavukcuoglu. Decoupled Neural Interfaces using Synthetic Gradients. ICML, 2017.
|
| 238 |
+
J. D. Lee, M. Simchowitz, M. I. Jordan, and B. Recht. Gradient Descent Only Converges to Minimizers. In 29th Annual Conference on Learning Theory, volume 49 of Proceedings of Machine Learning Research, pp. 1246–1257, 2016.
|
| 239 |
+
J. D. Lee, I. Panageas, G. Piliouras, M. Simchowitz, M. I. Jordan, and B. Recht. First-order Methods Almost Always Avoid Saddle Points. ArXiv e-prints, 2017.
|
| 240 |
+
Panayotis Mertikopoulos and Zhengyuan Zhou. Learning in games with continuous action sets and unknown payoff functions. Mathematical Programming, Mar 2018.
|
| 241 |
+
L. Mescheder, S. Nowozin, and A. Geiger. The Numerics of GANs. NIPS, 2017.
|
| 242 |
+
V. Nagarajan and J. Kolter. Gradient descent GAN optimization is locally stable. NIPS, 2017.
|
| 243 |
+
J. Ortega and W. Rheinboldt. Iterative Solution of Nonlinear Equations in Several Variables. Society for Industrial and Applied Mathematics, 2000.
|
| 244 |
+
I. Panageas and G. Piliouras. Gradient Descent Only Converges to Minimizers: Non-Isolated Critical Points and Invariant Regions. In ITCS 2017, volume 67 of Leibniz International Proceedings in Informatics, pp. 2:1–2:12, 2017.
|
| 245 |
+
D. Pathak, P. Agrawal, A. A. Efros, and T. Darrell. Curiosity-driven Exploration by Self-supervised Prediction. ICML, 2017.
|
| 246 |
+
S. Racaniere, T. Weber, D. P. Reichert, L. Buesing, A. Guez, D. Jimenez Rezende, A. Puigdom \` enech \` Badia, O. Vinyals, N. Heess, Y. Li, R. Pascanu, P. Battaglia, D. Hassabis, D. Silver, and D. Wierstra. Imagination-Augmented Agents for Deep Reinforcement Learning. NIPS, 2017.
|
| 247 |
+
J.B. Rosen. Existence and Uniqueness of Equilibrium Points for Concave N-Person Games. Econometrica, 33, Jul 1965.
|
| 248 |
+
A. S. Vezhnevets, S. Osindero, T. Schaul, N. Heess, M. Jaderberg, D. Silver, and K. Kavukcuoglu. FeUdal Networks for Hierarchical Reinforcement Learning. ICML, 2017.
|
| 249 |
+
G. Wayne and L. F. Abbott. Hierarchical control using networks trained with higher-level forward models. Neural Computation, 26(10):2163–2193, 2014.
|
| 250 |
+
C. Zhang and V. Lesser. Multi-Agent Learning with Policy Prediction. AAAI Conference on Artificial Intelligence, 2010.
|
| 251 |
+
|
| 252 |
+
# APPENDIX
|
| 253 |
+
|
| 254 |
+
# A STABLE FIXED POINTS
|
| 255 |
+
|
| 256 |
+
In the main text we showed that Nash equilibria are inadequate in multi-agent learning, exemplified by the simple game given by $L ^ { 1 } = L ^ { 2 } = x y$ , where the origin is a global Nash equilibrium but a saddle point of the losses. It is not however obvious that SFP are a better solution concept. We begin by pointing out that for single losses, invertibility and symmetry of the Hessian imply positive definiteness at SFP. These are exactly local minima of $L$ detected by the second partial derivative test, namely those points provably attainable by gradient descent.
|
| 257 |
+
|
| 258 |
+
To emphasise this, note that gradient descent does not converge locally to all local minima. This can be seen by considering the example $L ( x , y ) = y ^ { 2 }$ and the local (global) minimum $( 0 , 0 )$ . There is no neighbourhood for which gradient descent converges to $( 0 , 0 )$ , since initialising at $( x _ { 0 } , y _ { 0 } )$ will always converge to $( x _ { 0 } , 0 )$ for appropriate learning rates, with $x _ { 0 } \neq 0$ almost surely. This occurs precisely because the Hessian is singular at $( 0 , 0 )$ . Though a degenerate example, this suggests an important difference to make between the ideal solution concept (local minima) and that for which local convergence claims are possible to attain (local minima with invertible $H \succeq 0$ ).
|
| 259 |
+
|
| 260 |
+
Accordingly, the definition of SFP is the immediate generalisation of ‘fixed points with positive semi-definite Hessian’, or in other words, ‘second-order-tractable local minima’. It is important to impose only positive semi-definiteness to keep the class as large as possible, despite strict positive definiteness holding for single losses due to symmetry. Imposing strict positivity would for instance exclude the origin in the cyclic game $L ^ { 1 } = x \dot { y } = - \dot { L ^ { 2 } }$ , a point certainly worthy of convergence.
|
| 261 |
+
|
| 262 |
+
Note also that imposing a weaker condition than $H \succeq 0$ would be incorrect. Invertibility aside, local convergence of gradient descent on single functions cannot be guaranteed if $H \not \cong 0$ , since such points are strict saddles. These are almost always avoided by gradient descent, as proven by Lee et al. (2016) and Panageas & Piliouras (2017). It is thus necessary to impose $H \succeq 0$ as a minimal requirement in optimisation methods attempting to generalise gradient descent.
|
| 263 |
+
|
| 264 |
+
Remark A.1. A matrix $H$ is positive semi-definite iff the same holds for its symmetric part $S =$ $( H + H ^ { \mathsf { T } } ) / 2$ , so SFP could equivalently be defined as $S ( \bar { \theta } ) \succeq 0$ . This is the original formulation given by part of the authors (Balduzzi et al., 2018), who also imposed the extra requirement $S ( \theta ) \succeq 0$ in a neighbourhood of $\bar { \theta }$ . After discussion we decided to drop this assumption, pointing out that it is 1) more restrictive, 2) superficial to all theoretical results and 3) weakens the analogy with tractable local minima. The only thing gained by imposing semi-positivity in a neighbourhood is that SFP become a subset of Nash equilibria.
|
| 265 |
+
|
| 266 |
+
Regarding unstable fixed points and strict saddles, note that $H ( \bar { \theta } ) \succ 0$ implies $H ( \theta ) \succ 0$ in a neighbourhood, hence being equivalent to the definition in Balduzzi et al. (2018). It follows also that unstable points are a subset of strict saddles: if $H ( \bar { \theta } ) \prec 0$ then all eigenvalues are negative since any eigenpair $( v , \lambda )$ satisfies
|
| 267 |
+
|
| 268 |
+
$$
|
| 269 |
+
0 > \operatorname { R e } ( v ^ { \mathsf { T } } H v ) = \operatorname { R e } ( \lambda v ^ { \mathsf { T } } v ) = \operatorname { R e } ( \lambda ) .
|
| 270 |
+
$$
|
| 271 |
+
|
| 272 |
+
We introduced strict saddles in this paper as a generalisation of unstable FP, which are more difficult to handle but nonetheless tractable using dynamical systems. The name is chosen by analogy to the definition in Lee et al. (2016) for single losses.
|
| 273 |
+
|
| 274 |
+
# B LOLA VECTORIAL FORM
|
| 275 |
+
|
| 276 |
+
Proposition B.1. The LOLA gradient adjustment is
|
| 277 |
+
|
| 278 |
+
$$
|
| 279 |
+
\begin{array} { r } { \mathrm { L O L A } = ( I - \alpha H _ { o } ) \xi - \alpha \mathrm { d i a g } ( H _ { o } ^ { \intercal } \boldsymbol { \nabla } L ) . } \end{array}
|
| 280 |
+
$$
|
| 281 |
+
|
| 282 |
+
in the usual assumption of equal learning rates.
|
| 283 |
+
|
| 284 |
+
Proof. Recall the modified objective
|
| 285 |
+
|
| 286 |
+
$$
|
| 287 |
+
L ^ { 1 } ( \theta ^ { 1 } , \theta ^ { 2 } - \alpha \nabla _ { 2 } L ^ { 2 } , \ldots , \theta ^ { n } - \alpha \nabla _ { n } L ^ { n } )
|
| 288 |
+
$$
|
| 289 |
+
|
| 290 |
+
for agent 1, and so on for each agent. First-order Taylor expansion yields
|
| 291 |
+
|
| 292 |
+
$$
|
| 293 |
+
L ^ { 1 } - \alpha \sum _ { j \neq 1 } ( \nabla _ { j } L ^ { 1 } ) ^ { \intercal } \nabla _ { j } L ^ { j }
|
| 294 |
+
$$
|
| 295 |
+
|
| 296 |
+
and similarly for each agent. Differentiating with respect to $\theta ^ { i }$ , the adjustment for player $i$ is
|
| 297 |
+
|
| 298 |
+
$$
|
| 299 |
+
\begin{array} { r l } & { \mathrm { L O A } _ { k } = \nabla _ { i } \left[ L ^ { i } - \alpha \displaystyle \sum _ { j \neq i } ( \nabla _ { j } L ^ { i } ) ^ { \top } \nabla _ { j } L ^ { j } \right] } \\ & { \quad = \nabla _ { i } L ^ { i } - \alpha \displaystyle \sum _ { j \neq i } ( \nabla _ { j i } L ^ { i } ) ^ { \top } \nabla _ { j } L ^ { j } + ( \nabla _ { j i } L ^ { i } ) ^ { \top } \nabla _ { j } L ^ { i } } \\ & { \quad = \nabla _ { i } L ^ { i } - \alpha \displaystyle \sum _ { j \neq i } \nabla _ { i } L ^ { i } \nabla _ { j } L ^ { i } - \alpha \displaystyle \sum _ { j \neq i } ( \nabla _ { j i } L ^ { i } ) ^ { \top } \nabla _ { j } L ^ { j } } \\ & { \quad = \xi _ { i } - \alpha \displaystyle \sum _ { j } ( H _ { o } ) _ { i j } \xi _ { j } - \alpha \displaystyle \sum _ { j } ( H _ { o } ^ { \top } ) _ { i j } ( \nabla L ) _ { j i } } \\ & { \quad = \xi _ { i } - \alpha ( H _ { o } ) _ { i j } - \alpha ( H _ { o } ^ { \top } \nabla L ) _ { i i } } \\ & { \quad = \left[ \xi - \alpha H _ { o } \xi _ { i } - \alpha \mathrm { i d s } ( H _ { o } ^ { \top } \nabla L ) \right] _ { i } , } \end{array}
|
| 300 |
+
$$
|
| 301 |
+
|
| 302 |
+
and thus
|
| 303 |
+
|
| 304 |
+
$$
|
| 305 |
+
\mathrm { L O L A } = ( I - \alpha H _ { o } ) \xi - \alpha \mathrm { d i a g } ( H _ { o } ^ { \mathsf { T } } \nabla L )
|
| 306 |
+
$$
|
| 307 |
+
|
| 308 |
+
as required.
|
| 309 |
+
|
| 310 |
+
# C TANDEM GAME
|
| 311 |
+
|
| 312 |
+
We provide a more detailed exposition of the tandem game in this section, including computation of fixed points for NL/LOLA and corresponding losses. Recall that the game is given by
|
| 313 |
+
|
| 314 |
+
$$
|
| 315 |
+
L ^ { 1 } ( x , y ) = ( x + y ) ^ { 2 } - 2 x \qquad { \mathrm { a n d } } \qquad L ^ { 2 } ( x , y ) = ( x + y ) ^ { 2 } - 2 y .
|
| 316 |
+
$$
|
| 317 |
+
|
| 318 |
+
Intuitively, agents wants to have $x \approx - y$ since $( x + y ) ^ { 2 }$ is the leading loss, but would also prefer to have positive $x$ and $y$ . These are incompatible, so the agents must not be ‘arrogant’ and instead make concessions. The fixed points are given by
|
| 319 |
+
|
| 320 |
+
$$
|
| 321 |
+
\xi = 2 ( x + y - 1 ) \binom { 1 } { 1 } = 0 ,
|
| 322 |
+
$$
|
| 323 |
+
|
| 324 |
+
namely any pair $( x , 1 - x )$ . The corresponding losses are $L ^ { 1 } = 1 - 2 x = - L ^ { 2 }$ , summing to 0 for any $x$ . We have
|
| 325 |
+
|
| 326 |
+
$$
|
| 327 |
+
H = 2 \left( \begin{array} { c c } { { 1 } } & { { 1 } } \\ { { 1 } } & { { 1 } } \end{array} \right) \succeq 0
|
| 328 |
+
$$
|
| 329 |
+
|
| 330 |
+
everywhere, so all fixed points are SFP. LOLA fails to preserve these, since
|
| 331 |
+
|
| 332 |
+
$$
|
| 333 |
+
\chi = \mathrm { d i a g } ( H _ { o } ^ { \mathsf { T } } \nabla L ) = 4 \mathrm { d i a g } \left( { 0 } \begin{array} { c c } { { 0 } } & { { 1 } } \\ { { 1 } } & { { 0 } } \end{array} \right) \left( x + y - 1 \begin{array} { c c } { { } } & { { x + y } } \\ { { x + y } } & { { x + y - 1 } } \end{array} \right) = 4 ( x + y ) \left( { 1 } \atop { 1 } \right)
|
| 334 |
+
$$
|
| 335 |
+
|
| 336 |
+
which is non-zero for any SFP $( x , 1 - x )$ . Instead, LOLA can only converge to points such that
|
| 337 |
+
|
| 338 |
+
$$
|
| 339 |
+
\mathrm { L O L A } = \xi - \alpha H _ { o } \xi - \alpha \chi = 0 .
|
| 340 |
+
$$
|
| 341 |
+
|
| 342 |
+
We solve this explicitly as follows:
|
| 343 |
+
|
| 344 |
+
$$
|
| 345 |
+
\begin{array} { l } { { \mathrm { L O L A } = 2 ( x + y - 1 ) \binom { 1 } { 1 } - 4 \alpha ( x + y - 1 ) \binom { 0 } { 1 } \left( { 1 } \atop { 1 } \right)} \binom { 1 } { 1 } - 4 \alpha ( x + y ) \binom { 1 } { 1 } } \\ { { \mathrm { ~ } } } \\ { { \mathrm { ~ } } } \\ { { \mathrm { ~ } } } \end{array}
|
| 346 |
+
$$
|
| 347 |
+
|
| 348 |
+
The fixed points for LOLA are thus pairs $( x , y )$ such that
|
| 349 |
+
|
| 350 |
+
$$
|
| 351 |
+
x + y = { \frac { 1 - 2 \alpha } { 1 - 4 \alpha } } ,
|
| 352 |
+
$$
|
| 353 |
+
|
| 354 |
+
noting that $( 1 - 2 \alpha ) / ( 1 - 4 \alpha ) > 1$ for all $\alpha > 0$ . This leads to worse losses
|
| 355 |
+
|
| 356 |
+
$$
|
| 357 |
+
L ^ { 1 } = \left( \frac { 1 - 2 \alpha } { 1 - 4 \alpha } \right) ^ { 2 } - 2 x > 1 - 2 x = L ^ { 1 } ( x , 1 - x )
|
| 358 |
+
$$
|
| 359 |
+
|
| 360 |
+
for agent 1 and similarly for agent 2. In particular, losses always sum to something greater than 0. This becomes negligible as the learning rate becomes smaller, but is always positive nonetheless Taking $\alpha$ arbitrarily small is not a viable solution since convergence will in turn be arbitrarily slow. LOLA is thus not a strong algorithm candidate for all differentiable games.
|
| 361 |
+
|
| 362 |
+
# D CONVERGENCE PROOFS
|
| 363 |
+
|
| 364 |
+
We use Ostrowski’s theorem as a unified framework for proving local convergence of gradient-based methods. This is a standard result on fixed-point iterations, adapted from (Ortega & Rheinboldt, 2000, 10.1.3). We also invoke and prove a topological result of our own, Lemma D.9, at the end of this section. This is useful in deducing local convergence, though not central to intuition.
|
| 365 |
+
|
| 366 |
+
Theorem D.1 (Ostrowski). Let $F : \Omega \mathbb { R } ^ { d }$ be continuously differentiable on an open subset $\Omega \subseteq \mathbb { R } ^ { d }$ , and assume $\bar { x } \in \Omega$ is a fixed point. If all eigenvalues of $\nabla F ( { \bar { x } } )$ are strictly in the unit circle of $\mathbb { C }$ , then there is an open neighbourhood $U$ of $\bar { x }$ such that for all $x _ { 0 } \in U$ , the sequence $F ^ { ( k ) } ( x _ { 0 } )$ converges to $\bar { x }$ . Moreover, the rate of convergence is at least linear in $k$ .
|
| 367 |
+
|
| 368 |
+
Definition D.2. A matrix $M$ is called positive stable if all its eigenvalues have positive real part.
|
| 369 |
+
|
| 370 |
+
Recall the simultaneous gradient $\xi$ and the Hessian $H$ defined for differentiable games. Let $X$ be any matrix with continuously differentiable entries.
|
| 371 |
+
|
| 372 |
+
Corollary D.3. Assume $\bar { x }$ is a fixed point of a differentiable game such that $X H ( { \bar { x } } )$ is positive stable. Then the iterative procedure
|
| 373 |
+
|
| 374 |
+
$$
|
| 375 |
+
F ( x ) = x - \alpha X \xi ( x )
|
| 376 |
+
$$
|
| 377 |
+
|
| 378 |
+
converges locally to $\bar { x }$ for $\alpha > 0$ sufficiently small.
|
| 379 |
+
|
| 380 |
+
Proof. By definition of fixed points, $\xi ( \bar { x } ) = 0$ and so
|
| 381 |
+
|
| 382 |
+
$$
|
| 383 |
+
\nabla [ X \xi ] ( \bar { x } ) = \nabla X ( \bar { x } ) \xi ( \bar { x } ) + X ( \bar { x } ) \nabla \xi ( \bar { x } ) = X H ( \bar { x } )
|
| 384 |
+
$$
|
| 385 |
+
|
| 386 |
+
is positive stable by assumption, namely has eigenvalues $a _ { k } + i b _ { k }$ with $a _ { k } > 0$ . It follows that
|
| 387 |
+
|
| 388 |
+
$$
|
| 389 |
+
\nabla F ( { \bar { x } } ) = I - \alpha \nabla [ X \xi ] ( { \bar { x } } )
|
| 390 |
+
$$
|
| 391 |
+
|
| 392 |
+
has eigenvalues $1 - \alpha a _ { k } - i \alpha b _ { k }$ , which are in the unit circle for small $\alpha$ . More precisely,
|
| 393 |
+
|
| 394 |
+
$$
|
| 395 |
+
\begin{array} { r l } & { | 1 - \alpha a _ { k } - i \alpha b _ { k } | ^ { 2 } < 1 } \\ { \iff } & { 1 - 2 \alpha a _ { k } + \alpha ^ { 2 } a _ { k } ^ { 2 } + \alpha ^ { 2 } b _ { k } ^ { 2 } < 1 } \\ { \iff } & { 0 < \alpha < \cfrac { 2 a _ { k } } { a _ { k } ^ { 2 } + b _ { k } ^ { 2 } } } \end{array}
|
| 396 |
+
$$
|
| 397 |
+
|
| 398 |
+
which is always possible for $a _ { k } > 0$ . Hence $\nabla F ( { \bar { x } } )$ has eigenvalues in the unit circle for $0 < \alpha <$ $\mathrm { m i n } _ { k } 2 a _ { k } / ( a _ { k } ^ { 2 } + \dot { b } _ { k } ^ { 2 } )$ , and we are done by Ostrowski’s Theorem since $\bar { x }$ is a fixed point of $F$ .
|
| 399 |
+
|
| 400 |
+
We apply this corollary to LookAhead, which is given by
|
| 401 |
+
|
| 402 |
+
$$
|
| 403 |
+
F ( \theta ) = \theta - \alpha X \xi ( \theta )
|
| 404 |
+
$$
|
| 405 |
+
|
| 406 |
+
where $X = \left( I - \alpha H _ { o } \right)$ . It is thus sufficient to prove the following result.
|
| 407 |
+
|
| 408 |
+
Theorem D.4. Let $H \succeq 0$ invertible with symmetric diagonal blocks. Then there exists $\epsilon > 0$ such that $( I - \alpha H _ { o } ) H$ is positive stable for all $0 < \alpha < \epsilon$ .
|
| 409 |
+
|
| 410 |
+
Remark D.5. Note that $( I - \alpha H _ { o } ) H$ may fail to be positive definite, though true in the case of $2 \times 2$ matrices. This no longer holds in higher dimensions, exemplified by the Hessian
|
| 411 |
+
|
| 412 |
+
$$
|
| 413 |
+
H = \left( \begin{array} { l l l l } { 9 } & { - 4 } & { - 3 } & { - 3 } \\ { - 2 } & { 1 } & { 2 } & { 1 } \\ { - 3 } & { 0 } & { 1 } & { 0 } \\ { - 3 } & { 1 } & { 2 } & { 1 } \end{array} \right) .
|
| 414 |
+
$$
|
| 415 |
+
|
| 416 |
+
By direct computation (symbolic in $\alpha$ ), one can show that $G = ( I - \alpha H _ { o } ) H$ always has positive eigenvalues for small $\alpha > 0$ , whereas its symmetric part $S$ always has a negative eigenvalue with magnitude in the order of $\alpha$ . This implies that $S$ and in turn $G$ is not positive definite. As such, an analytical proof of the theorem involving bounds on the corresponding bilinear form will fail.
|
| 417 |
+
|
| 418 |
+
This makes the result all the more interesting, but more involved. Central to the proof is a similarity transformation proving positive definiteness with respect to a different inner product, a novel technique we have not found in the multi-agent learning literature.
|
| 419 |
+
|
| 420 |
+
Proof. We cannot study the eigenvalues of $G$ directly, since there is no necessary relationship between eigenpairs of $H$ and $H _ { o }$ . In the aim of using analytical tools, the trick is to find a positive definite matrix which is similar to $G$ , thus sharing the same positive eigenvalues. First define
|
| 421 |
+
|
| 422 |
+
$$
|
| 423 |
+
G _ { 1 } = ( I + \alpha H _ { d } ) H \qquad \mathrm { a n d } \qquad G _ { 2 } = - \alpha H ^ { 2 } ,
|
| 424 |
+
$$
|
| 425 |
+
|
| 426 |
+
where $H _ { d }$ is the sub-matrix of diagonal blocks,and rewrite
|
| 427 |
+
|
| 428 |
+
$$
|
| 429 |
+
G = ( I - \alpha H _ { o } ) H = ( I - \alpha ( H - H _ { d } ) ) H = ( I + \alpha H _ { d } ) H - \alpha H ^ { 2 } = G _ { 1 } + G _ { 2 } .
|
| 430 |
+
$$
|
| 431 |
+
|
| 432 |
+
Note that $H _ { d }$ is block diagonal with symmetric blocks $\nabla _ { i i } L ^ { i } \succeq 0$ , so $\left( I + \alpha H _ { d } \right)$ is symmetric and positive definite for all $\alpha \geq 0$ . In particular its principal square root
|
| 433 |
+
|
| 434 |
+
$$
|
| 435 |
+
M = ( I + \alpha H _ { d } ) ^ { 1 / 2 }
|
| 436 |
+
$$
|
| 437 |
+
|
| 438 |
+
is unique and invertible. Now note that
|
| 439 |
+
|
| 440 |
+
$$
|
| 441 |
+
M ^ { - 1 } G _ { 1 } M = M ^ { - 1 } M ^ { 2 } H M = M ^ { \mathsf { T } } H M ,
|
| 442 |
+
$$
|
| 443 |
+
|
| 444 |
+
which is positive semi-definite since
|
| 445 |
+
|
| 446 |
+
$$
|
| 447 |
+
u ^ { \mathsf { T } } M ^ { \mathsf { T } } H M u = ( M u ) ^ { \mathsf { T } } H ( M u ) \geq 0
|
| 448 |
+
$$
|
| 449 |
+
|
| 450 |
+
for all non-zero $u$ . In particular $M$ provides a similarity transformation which eliminates $H _ { d }$ from $G _ { 1 }$ while simultaneously delivering positive semi-definiteness. We can now prove that
|
| 451 |
+
|
| 452 |
+
$$
|
| 453 |
+
M ^ { - 1 } G M = M ^ { - 1 } G _ { 1 } M + M ^ { - 1 } G _ { 2 } M
|
| 454 |
+
$$
|
| 455 |
+
|
| 456 |
+
is positive definite, establishing positive stability of $G$ by similarity. Let $m = d - 1$ where $d$ is the vector space dimension, namely $\mathbf { \bar { \boldsymbol { H } } } \in \mathbb { R } ^ { d \times d }$ . Recall that the $m$ -sphere $S ^ { m } \subset \mathbb { R } ^ { d }$ is the space of unit vectors in $\mathbb { R } ^ { d }$ . Take any $u \in S ^ { m }$ and consider the quantity
|
| 457 |
+
|
| 458 |
+
$$
|
| 459 |
+
u ^ { \mathsf { T } } M ^ { - 1 } G M u .
|
| 460 |
+
$$
|
| 461 |
+
|
| 462 |
+
First note that a Taylor expansion of $M$ in $\alpha$ yields
|
| 463 |
+
|
| 464 |
+
$$
|
| 465 |
+
M = ( I + \alpha H _ { d } ) ^ { 1 / 2 } = I + O ( \alpha )
|
| 466 |
+
$$
|
| 467 |
+
|
| 468 |
+
and
|
| 469 |
+
|
| 470 |
+
$$
|
| 471 |
+
M ^ { - 1 } = ( I + \alpha H _ { d } ) ^ { - 1 / 2 } = I + O ( \alpha ) .
|
| 472 |
+
$$
|
| 473 |
+
|
| 474 |
+
This implies in turn that
|
| 475 |
+
|
| 476 |
+
$$
|
| 477 |
+
u ^ { \mathsf { T } } M ^ { - 1 } G M u = u ^ { \mathsf { T } } G u + O ( \alpha ) .
|
| 478 |
+
$$
|
| 479 |
+
|
| 480 |
+
There are two cases to distinguish. If $u ^ { \intercal } H u > 0$ then
|
| 481 |
+
|
| 482 |
+
$$
|
| 483 |
+
u ^ { \mathsf { T } } M ^ { - 1 } G M u = u ^ { \mathsf { T } } G u + O ( \alpha ) = u ^ { \mathsf { T } } G _ { 1 } u + O ( \alpha ) = u ^ { \mathsf { T } } H u + O ( \alpha ) > 0
|
| 484 |
+
$$
|
| 485 |
+
|
| 486 |
+
for $\alpha$ sufficiently small. Otherwise, $u ^ { \mathsf { T } } H u = 0$ and consider decomposing $H$ into symmetric and antisymmetric parts $S = ( H + H ^ { \intercal } ) / 2$ and $A = ( H - H ^ { \intercal } ) / 2$ , so that $H = S + A$ . By antisymmetry of $A$ we have $u ^ { \mathsf { T } } A u = 0$ and hence $u ^ { \mathsf { T } } H u = 0 = u ^ { \mathsf { T } } S u$ . Now $H \succeq 0$ implies $S \succeq 0$ , so by Cholesky decomposition of $S$ there exists a matrix $T$ such that $S = T ^ { \mathsf { T } } T$ . In particular $0 = u ^ { \mathsf { T } } S \dot { u } = \| T u \| ^ { 2 }$ implies $T u = 0$ , and in turn $S u = 0$ . Since $H$ is invertible and $u \ne 0$ , we have $0 \neq H u = A u$ and so $\lvert \lvert A u \rvert \rvert ^ { 2 } > 0$ . It follows in particular that
|
| 487 |
+
|
| 488 |
+
$$
|
| 489 |
+
- \alpha u ^ { \mathsf { T } } H ^ { 2 } u = - \alpha u ^ { \mathsf { T } } ( S ^ { \mathsf { T } } - A ^ { \mathsf { T } } ) ( S + A ) u = \alpha u ^ { \mathsf { T } } A ^ { \mathsf { T } } A u = \alpha \| A u \| ^ { 2 } > 0 .
|
| 490 |
+
$$
|
| 491 |
+
|
| 492 |
+
Using positive semi-definiteness of $M ^ { - 1 } G _ { 1 } M$ ,
|
| 493 |
+
|
| 494 |
+
$$
|
| 495 |
+
\begin{array} { r l } & { u ^ { \mathsf { T } } M ^ { - 1 } G M u = u ^ { \mathsf { T } } M ^ { - 1 } G _ { 1 } M u + u ^ { \mathsf { T } } M ^ { - 1 } G _ { 2 } M u } \\ & { \qquad \geq - \alpha u ^ { \mathsf { T } } M ^ { - 1 } H ^ { 2 } M u } \\ & { \qquad = - \alpha u ^ { \mathsf { T } } H ^ { 2 } u + O ( \alpha ^ { 2 } ) } \\ & { \qquad = \alpha \| A u \| ^ { 2 } + O ( \alpha ^ { 2 } ) > 0 } \end{array}
|
| 496 |
+
$$
|
| 497 |
+
|
| 498 |
+
for $\alpha > 0$ small enough. We conclude that for any $u \in S ^ { m }$ there is $\epsilon _ { u } > 0$ such that
|
| 499 |
+
|
| 500 |
+
$$
|
| 501 |
+
u ^ { \mathsf { T } } M ^ { - 1 } G M u > 0
|
| 502 |
+
$$
|
| 503 |
+
|
| 504 |
+
for all $0 < \alpha < \epsilon _ { u }$ , where $g ( \alpha , u ) = u ^ { \mathsf { T } } M ^ { - 1 } G M u$ is a function $g : \mathbb { R } ^ { + } \times S ^ { m } \mathbb { R }$ with $S ^ { m }$ compact. By Lemma D.9, this can be extended uniformly with some $\epsilon > 0$ such that
|
| 505 |
+
|
| 506 |
+
$$
|
| 507 |
+
u ^ { \mathsf { T } } M ^ { - 1 } G M u > 0
|
| 508 |
+
$$
|
| 509 |
+
|
| 510 |
+
for all $u \in S ^ { m }$ and $0 < \alpha < \epsilon$ . It follows that $M ^ { - 1 } G M$ is positive definite for all $0 < \alpha < \epsilon$ and thus $G$ is positive stable for $\alpha$ in the same range, by similarity. □
|
| 511 |
+
|
| 512 |
+
Corollary D.6. LookAhead converges locally to stable fixed points for $\alpha > 0$ sufficiently small.
|
| 513 |
+
|
| 514 |
+
Proof. For any SFP $\bar { \theta }$ we have $\xi ( \bar { \theta } ) = 0$ and $H ( \bar { \theta } ) \succeq 0$ invertible by definition, with diagonal blocks $\nabla _ { i i } L ^ { i }$ symmetric by twice continuous differentiability. We are done by the result above and Corollary D.3. □
|
| 515 |
+
|
| 516 |
+
We now prove that local convergence results descend to SOS. The following lemma establishes the crucial claim that our criterion for $p$ is $C ^ { 1 }$ in neighbourhoods of fixed points. This is necessary to invoke analytical arguments including Ostrowski’s Theorem, and would be untrue globally.
|
| 517 |
+
|
| 518 |
+
Lemma D.7. If $\bar { \theta }$ is a fixed point and $\alpha$ is sufficiently small then $p = \| \boldsymbol { \xi } \| ^ { 2 }$ in a neighbourhood of $\bar { \theta }$
|
| 519 |
+
|
| 520 |
+
Proof. First note that $\xi ( \bar { \theta } ) = 0$ , so there is a (bounded) neighbourhood $V$ of $\bar { \theta }$ such that $\| \xi ( \theta ) \| < b$ for all $\theta \ \in \ V$ , for any choice of hyperparameter $b \in \mathsf { \Gamma } ( 0 , 1 )$ . In particular $p _ { 2 } ( \underline { { \theta } } ) \ : = \ : \| \xi ( \theta ) \| ^ { 2 }$ by definition of the second criterion. We want to show that $\dot { p ( \theta ) } \stackrel { - } { = } p _ { 2 } ( \theta )$ near $\theta$ , or equivalently $p _ { 1 } ( \theta ) \geq p _ { 2 } ( \theta )$ . Since $p _ { 2 } ( \theta ) = \| \xi ( \theta ) \| ^ { 2 } < b ^ { 2 } < 1$ in $V$ , it remains only to show that
|
| 521 |
+
|
| 522 |
+
$$
|
| 523 |
+
\frac { - a \| \xi _ { 0 } \| ^ { 2 } } { \langle - \alpha \chi , \xi _ { 0 } \rangle } \geq \| \xi ( \theta ) \| ^ { 2 }
|
| 524 |
+
$$
|
| 525 |
+
|
| 526 |
+
in some neighbourhood $U \subseteq V$ of $\bar { \theta }$ , for any choice of hyperparameter $a \in ( 0 , 1 )$ . Now by boundedness of $V$ and continuity of $\chi$ , there exists $c > 0$ such that $\lVert - \alpha \boldsymbol { \chi } ( \theta ) \rVert = \alpha ^ { 2 } \lVert \boldsymbol { \chi } ( \theta ) \rVert < c$ for all $\theta \in V$ and bounded $\alpha$ . It follows by Cauchy-Schwartz that
|
| 527 |
+
|
| 528 |
+
$$
|
| 529 |
+
\frac { - a \| \xi _ { 0 } \| ^ { 2 } } { \langle - \alpha \chi , \xi _ { 0 } \rangle } \geq \frac { a \| \xi _ { 0 } \| } { \| - \alpha \chi \| } > a \| \xi _ { 0 } \| / c
|
| 530 |
+
$$
|
| 531 |
+
|
| 532 |
+
in $V$ . Now note that
|
| 533 |
+
|
| 534 |
+
$$
|
| 535 |
+
\| \xi _ { 0 } \| = \| ( I - \alpha H _ { o } ) \xi \| \ge d \| \xi \|
|
| 536 |
+
$$
|
| 537 |
+
|
| 538 |
+
in $V$ , for some $d > 0$ and $\alpha$ sufficiently small, by boundedness of $V$ and continuity of $H _ { o }$ . Finally there is a sub-neighbourhood $U \subset V$ such that $\| \xi ( \theta ) \| < a d / c$ for all $\theta \in U$ , so that $a d \| \xi \| / c >$ $\| \xi ( \theta ) \| ^ { 2 }$ and hence
|
| 539 |
+
|
| 540 |
+
$$
|
| 541 |
+
\frac { - a \| \xi _ { 0 } \| ^ { 2 } } { \langle - \alpha \chi , \xi _ { 0 } \rangle } > \| \xi \| ^ { 2 } = p _ { 2 }
|
| 542 |
+
$$
|
| 543 |
+
|
| 544 |
+
in $U$ . Hence $p ( \theta ) = \operatorname* { m i n } \{ p _ { 1 } ( \theta ) , p _ { 2 } ( \theta ) \} = p _ { 2 } ( \theta ) = \| \xi ( \theta ) \| ^ { 2 }$ for all $\theta \in U$ , as required.
|
| 545 |
+
|
| 546 |
+
Theorem D.8. SOS converges locally to stable fixed points for $\alpha > 0$ sufficiently small.
|
| 547 |
+
|
| 548 |
+
Proof. Though the criterion for $p$ is dual, we will only use the second part. More precisely,
|
| 549 |
+
|
| 550 |
+
$$
|
| 551 |
+
p = \operatorname* { m i n } \{ p _ { 1 } , p _ { 2 } \} \leq p _ { 2 } = \| \xi \|
|
| 552 |
+
$$
|
| 553 |
+
|
| 554 |
+
if $\| \xi \| < b$ . The aim is to show that if $\bar { \theta }$ is an SFP then $\nabla \xi _ { p } ( \bar { \theta } )$ is positive stable for small $\alpha$ , using Ostrowski to conclude as usual. The first problem we face is that $\nabla { \xi } _ { p }$ does not exist everywhere, since $p ( \theta )$ is not a continuous function. However we know by Lemma D.7 that $p = \| \xi \| ^ { 2 }$ in a neighbourhood $U$ of $\bar { \theta }$ , so $\xi _ { p }$ is continuously differentiable in $U$ . Moreover, $p ( { \bar { \theta } } ) = \| \xi ( { \bar { \theta } } ) \| ^ { 2 } = 0$ with gradient
|
| 555 |
+
|
| 556 |
+
$$
|
| 557 |
+
\nabla p ( { \bar { \theta } } ) = 2 H ^ { \mathsf { T } } \xi ( { \bar { \theta } } ) = 0
|
| 558 |
+
$$
|
| 559 |
+
|
| 560 |
+
by definition of fixed points. It follows that
|
| 561 |
+
|
| 562 |
+
$$
|
| 563 |
+
\nabla \xi _ { p } ( { \bar { \theta } } ) = ( I - \alpha H _ { o } ) H ( { \bar { \theta } } ) - \alpha \nabla p ( { \bar { \theta } } ) \chi ( { \bar { \theta } } ) - \alpha p ( { \bar { \theta } } ) \nabla \chi ( { \bar { \theta } } ) = ( I - \alpha H _ { o } ) H ( { \bar { \theta } } )
|
| 564 |
+
$$
|
| 565 |
+
|
| 566 |
+
which is identical to LookAhead. This is positive stable for all $0 < \alpha < \epsilon$ , and $\bar { \theta }$ is a fixed point of the iteration since
|
| 567 |
+
|
| 568 |
+
$$
|
| 569 |
+
\xi _ { p } ( \bar { \theta } ) = ( I - \alpha H _ { o } ) \xi ( \bar { \theta } ) - \alpha p ( \bar { \theta } ) \chi ( \bar { \theta } ) = 0 .
|
| 570 |
+
$$
|
| 571 |
+
|
| 572 |
+
We conclude by Corollary D.3 that SOS converges locally to SFP for any $a , b \in ( 0 , 1 )$ and $\alpha$ sufficiently small.
|
| 573 |
+
|
| 574 |
+
Lemma D.9. Let $g : \mathbb { R } ^ { + } \times Y Z$ continuous with $Y$ compact and $Z \subseteq \mathbb { R }$ . Assume that for any $u \in Y$ there is $\epsilon _ { u } > 0$ such that $g ( \alpha , u ) > 0$ for all $0 < \alpha < \epsilon _ { u }$ . Then there exists $\epsilon > 0$ such that $g ( \alpha , u ) > 0$ for all $0 < \alpha < \epsilon$ and $u \in Y$ .
|
| 575 |
+
|
| 576 |
+
Proof. For any $u \in Y$ there is $\epsilon _ { u } > 0$ such that
|
| 577 |
+
|
| 578 |
+
$$
|
| 579 |
+
( 0 , \epsilon _ { u } ) \times \{ u \} \subseteq g ^ { - 1 } ( 0 , \infty ) .
|
| 580 |
+
$$
|
| 581 |
+
|
| 582 |
+
We would like to extend this uniformly in $u$ , namely prove that
|
| 583 |
+
|
| 584 |
+
$$
|
| 585 |
+
\left( 0 , \epsilon \right) \times Y \subseteq g ^ { - 1 } ( 0 , \infty ) .
|
| 586 |
+
$$
|
| 587 |
+
|
| 588 |
+
for some $\epsilon > 0$ . Now $g ^ { - 1 } ( 0 , \infty )$ is open by continuity of $g$ , so each $( 0 , \epsilon _ { u } ) \times \{ u \}$ has a neighbourhood $X _ { u }$ contained in $g ^ { - 1 } ( 0 , \infty )$ . Open sets in a product topology are unions of open products, so
|
| 589 |
+
|
| 590 |
+
$$
|
| 591 |
+
X _ { u } = \bigcup _ { x } U _ { x } \times V _ { x } .
|
| 592 |
+
$$
|
| 593 |
+
|
| 594 |
+
In particular $( 0 , \epsilon _ { u } ) \subseteq \bigcup _ { x } U _ { x }$ and at least one $V _ { x }$ contains $u$ , so we can take the open neighbourhood to be
|
| 595 |
+
|
| 596 |
+
$$
|
| 597 |
+
X _ { u } = ( 0 , \epsilon _ { u } ) \times V _ { u } \subseteq g ^ { - 1 } ( 0 , \infty )
|
| 598 |
+
$$
|
| 599 |
+
|
| 600 |
+
for some neighbourhood $V _ { u }$ of $u$ . In particular $Y \subseteq \bigcup _ { u \in Y } V _ { u }$ , and by compactness there is a finite cover $\textstyle Y \subseteq \bigcup _ { i = 1 } ^ { k } V _ { u _ { i } }$ . Letting $\epsilon = \mathrm { m i n } \{ \epsilon _ { i } \} _ { i = 1 } ^ { k } > 0$ , we obtain the required inclusion
|
| 601 |
+
|
| 602 |
+
$$
|
| 603 |
+
( 0 , \epsilon ) \times Y \subseteq ( 0 , \epsilon ) \times \bigcup _ { i = 1 } ^ { k } V _ { u _ { i } } = \bigcup _ { i = 1 } ^ { k } ( 0 , \epsilon ) \times V _ { u _ { i } } \subseteq \bigcup _ { i = 1 } ^ { k } ( 0 , \epsilon _ { i } ) \times V _ { u _ { i } } \subseteq g ^ { - 1 } ( 0 , \infty ) .
|
| 604 |
+
$$
|
| 605 |
+
|
| 606 |
+
# E NON-CONVERGENCE PROOFS
|
| 607 |
+
|
| 608 |
+
Lemma E.1. Let $a _ { k }$ and $b _ { k }$ be sequences of real numbers, and define $c _ { k } = \operatorname* { m i n } \{ a _ { k } , b _ { k } \}$ . If
|
| 609 |
+
|
| 610 |
+
$$
|
| 611 |
+
L = \operatorname* { l i m } _ { k \to \infty } c _ { k } \qquad { \mathrm { a n d ~ } } \qquad L ^ { \prime } = \operatorname* { l i m } _ { k \to \infty } a _ { k }
|
| 612 |
+
$$
|
| 613 |
+
|
| 614 |
+
both exist then $L \leq L ^ { \prime }$ .
|
| 615 |
+
|
| 616 |
+
Proof. Assume for contradiction that $L > L ^ { \prime }$ , then there exists $\delta > 0$ such that $L > L ^ { \prime } + \delta$ . By definition of limits, there exist $M , N \in \mathbb { N }$ such that
|
| 617 |
+
|
| 618 |
+
$$
|
| 619 |
+
| c _ { k } - L | < \delta / 2
|
| 620 |
+
$$
|
| 621 |
+
|
| 622 |
+
and
|
| 623 |
+
|
| 624 |
+
$$
|
| 625 |
+
| a _ { k ^ { \prime } } - L ^ { \prime } | < \delta / 2
|
| 626 |
+
$$
|
| 627 |
+
|
| 628 |
+
for all $k \geq M , k ^ { \prime } \geq N$ . Expanding the absolute value, this implies
|
| 629 |
+
|
| 630 |
+
$$
|
| 631 |
+
L - \delta / 2 < c _ { k } < L + \delta / 2 \qquad \mathrm { { a n d } } \qquad L ^ { \prime } - \delta / 2 < a _ { k } < L ^ { \prime } + \delta / 2
|
| 632 |
+
$$
|
| 633 |
+
|
| 634 |
+
for all $k \geq \operatorname* { m a x } \{ M , N \}$ . Now $c _ { k } \leq a _ { k }$ for all $k$ , hence
|
| 635 |
+
|
| 636 |
+
$$
|
| 637 |
+
L - \delta / 2 < c _ { k } \leq a _ { k } < L ^ { \prime } + \delta / 2
|
| 638 |
+
$$
|
| 639 |
+
|
| 640 |
+
which implies the contradiction
|
| 641 |
+
|
| 642 |
+
$$
|
| 643 |
+
L < L ^ { \prime } + \delta .
|
| 644 |
+
$$
|
| 645 |
+
|
| 646 |
+
Proposition E.2. If SOS converges to $\bar { \theta }$ and $\alpha > 0$ is small then $\bar { \theta }$ is a fixed point of the game.
|
| 647 |
+
|
| 648 |
+
Proof. The iterative procedure is given by
|
| 649 |
+
|
| 650 |
+
$$
|
| 651 |
+
\theta _ { k + 1 } = F ( \theta _ { k } ) = \theta _ { k } - \alpha \xi _ { p } ( \theta _ { k } ) .
|
| 652 |
+
$$
|
| 653 |
+
|
| 654 |
+
If $\theta _ { k } \to \bar { \theta }$ as $k \to \infty$ then taking limits on both sides of the iteration yields
|
| 655 |
+
|
| 656 |
+
$$
|
| 657 |
+
\bar { \theta } = \bar { \theta } - \alpha \operatorname * { l i m } _ { k \to \infty } \xi _ { p } ( \theta _ { k } )
|
| 658 |
+
$$
|
| 659 |
+
|
| 660 |
+
and so $\operatorname* { l i m } _ { k } \xi _ { p } ( \theta _ { k } ) = 0$ , omitting $k \to \infty$ for convenience. It follows by continuity that
|
| 661 |
+
|
| 662 |
+
$$
|
| 663 |
+
\xi _ { 0 } ( \bar { \theta } ) + \operatorname * { l i m } _ { k } p ( \theta _ { k } ) - \alpha \chi ( \bar { \theta } ) = 0 ,
|
| 664 |
+
$$
|
| 665 |
+
|
| 666 |
+
noting that $p ( \theta )$ is not a globally continuous function. Assume for contradiction that $\xi _ { 0 } ( \bar { \theta } ) \not = 0$ .
|
| 667 |
+
There are two cases to distinguish for clarity.
|
| 668 |
+
|
| 669 |
+
(i) First assume $\langle - \alpha \chi , \xi _ { 0 } \rangle ( \bar { \theta } ) \geq 0 .$ . Note that $\begin{array} { r } { \operatorname* { l i m } _ { k } p ( \theta _ { k } ) \ge 0 } \end{array}$ since $p ( \theta ) \geq 0$ for all $\theta$ , and so
|
| 670 |
+
|
| 671 |
+
$$
|
| 672 |
+
\langle \operatorname* { l i m } _ { k } \xi _ { p } ( \theta _ { k } ) , \xi _ { 0 } ( \bar { \theta } ) \rangle = \operatorname* { l i m } _ { k } p ( \theta _ { k } ) \langle - \alpha \chi , \xi _ { 0 } \rangle ( \bar { \theta } ) + \| \xi _ { 0 } ( \bar { \theta } ) \| ^ { 2 } > 0 .
|
| 673 |
+
$$
|
| 674 |
+
|
| 675 |
+
This is a contradiction since $\begin{array} { r } { \operatorname* { l i m } _ { k } \xi _ { p } ( \theta _ { k } ) = 0 } \end{array}$ .
|
| 676 |
+
|
| 677 |
+
(ii) Otherwise, $\langle - \alpha \chi , \xi _ { 0 } \rangle ( \bar { \theta } ) < 0$ and hence $\langle - \alpha \chi , \xi _ { 0 } \rangle ( \theta ) < 0$ in a neighbourhood. In particular there exists $N \in \mathbb N$ such that
|
| 678 |
+
|
| 679 |
+
$$
|
| 680 |
+
\langle - \alpha \chi , \xi _ { 0 } \rangle ( \theta _ { k } ) < 0
|
| 681 |
+
$$
|
| 682 |
+
|
| 683 |
+
for all $k \geq N$ . In particular
|
| 684 |
+
|
| 685 |
+
$$
|
| 686 |
+
p _ { 1 } ( \theta _ { k } ) = \operatorname* { m i n } \left\{ 1 , \frac { - a \| \xi _ { 0 } ( \theta _ { k } ) \| ^ { 2 } } { \langle - \alpha \chi , \xi _ { 0 } \rangle ( \theta _ { k } ) } \right\}
|
| 687 |
+
$$
|
| 688 |
+
|
| 689 |
+
for all $k \geq N$ . Now notice that
|
| 690 |
+
|
| 691 |
+
$$
|
| 692 |
+
\operatorname* { l i m } _ { k } p ( \theta _ { k } ) = \operatorname* { l i m } _ { k } \operatorname* { m i n } \left\{ 1 , \frac { - a \lVert \xi _ { 0 } ( \theta _ { k } ) \rVert ^ { 2 } } { \langle - \alpha \mathcal { X } , \xi _ { 0 } \rangle ( \theta _ { k } ) } , p _ { 2 } ( \theta _ { k } ) \right\} ,
|
| 693 |
+
$$
|
| 694 |
+
|
| 695 |
+
which implies
|
| 696 |
+
|
| 697 |
+
$$
|
| 698 |
+
\operatorname* { l i m } _ { k } p ( \theta _ { k } ) \leq \operatorname* { l i m } _ { k } \frac { - a \| \xi _ { 0 } ( \theta _ { k } ) \| ^ { 2 } } { \langle - \alpha \chi , \xi _ { 0 } \rangle ( \theta _ { k } ) } = \frac { - a \| \xi _ { 0 } ( \bar { \theta } ) \| ^ { 2 } } { \langle - \alpha \chi , \xi _ { 0 } \rangle ( \bar { \theta } ) }
|
| 699 |
+
$$
|
| 700 |
+
|
| 701 |
+
by continuity and Lemma E.1. Finally we conclude
|
| 702 |
+
|
| 703 |
+
$$
|
| 704 |
+
\langle \operatorname* { l i m } _ { k } \xi _ { p } , \xi _ { 0 } \rangle ( \theta _ { k } ) = \operatorname* { l i m } _ { k } p ( \theta _ { k } ) \langle - \alpha \chi , \xi _ { 0 } \rangle ( { \bar { \theta } } ) + \| \xi _ { 0 } ( { \bar { \theta } } ) \| ^ { 2 } \geq - a \| \xi _ { 0 } ( { \bar { \theta } } ) \| ^ { 2 } + \| \xi _ { 0 } ( { \bar { \theta } } ) \| ^ { 2 } > 0
|
| 705 |
+
$$
|
| 706 |
+
|
| 707 |
+
for any $a \in ( 0 , 1 )$ , a contradiction.
|
| 708 |
+
|
| 709 |
+
In both cases a contradiction is obtained, hence $\xi _ { 0 } ( \bar { \theta } ) = 0 = ( I - \alpha H _ { o } ) \xi ( \bar { \theta } )$ . Now note that $( I - \alpha H _ { o } ) ( \bar { \theta } )$ is singular iff $H _ { o } ( \bar { \theta } )$ has an eigenvalue $1 / \alpha$ , which is impossible for $\alpha$ sufficiently small. Hence $( I - \alpha { \bf \bar { { H } } } _ { o } ) \xi ( \bar { \theta } ) = 0$ implies $\xi ( \bar { \theta } ) = 0$ , as required. □
|
| 710 |
+
|
| 711 |
+
Now assume that $\theta$ is initialised randomly (or with arbitrarily small noise around a point), as is standard in ML. We prove that SOS locally avoids strict saddles using the Stable Manifold Theorem, inspired from Lee et al. (2017).
|
| 712 |
+
|
| 713 |
+
Theorem E.3 (Stable Manifold Theorem). Let $\bar { x }$ be a fixed point for the $C ^ { 1 }$ local diffeomorphism $F : U \to \mathbb { R } ^ { d }$ , where $U$ is a neighbourhood of $\bar { x }$ in $\mathbb { R } ^ { d }$ . Let $E ^ { s } \oplus E ^ { u }$ be the generalised eigenspaces of $\nabla F ( { \bar { x } } )$ corresponding to eigenvalues with $| \lambda | \le 1$ and $| \lambda | > 1$ respectively. Then there exists a local stable center manifold $W$ with tangent space $E ^ { s }$ at $\bar { x }$ and a neighbourhood $B$ of $\bar { x }$ such that $F ( W ) \cap B \subset W$ and $\cap _ { n = 0 } ^ { \infty } F ^ { - n } ( B ) \subset { \bar { W } }$ .
|
| 714 |
+
|
| 715 |
+
In particular, if $\nabla F ( { \bar { x } } )$ has at least one eigenvalue $| \lambda | > 1$ then $E ^ { u }$ has dimension at least 1. Since $W$ has tangent space $E ^ { s }$ at $\bar { x }$ , with codimension at least one, it follows that $W$ has measure zero in $\mathbb { R } ^ { d }$ . This is central in proving that the set of initial points in a neighbourhood which converge through SOS to a given strict saddle $\bar { \theta }$ has measure zero.
|
| 716 |
+
|
| 717 |
+
Theorem E.4. SOS locally avoids strict saddles almost surely, for $\alpha > 0$ sufficiently small.
|
| 718 |
+
|
| 719 |
+
Proof. Let $\bar { \theta }$ a strict saddle and recall that SOS is given by
|
| 720 |
+
|
| 721 |
+
$$
|
| 722 |
+
{ \cal F } ( \theta ) = \theta - \alpha ( I - \alpha H _ { o } ) \xi ( \theta ) + \alpha ^ { 2 } p ( \theta ) \chi ( \theta ) .
|
| 723 |
+
$$
|
| 724 |
+
|
| 725 |
+
Recall by Lemma D.7 that $p ( \theta ) = \lVert \xi ( \theta ) \rVert ^ { 2 }$ for all $\theta$ in a neighbourhood $U$ of $\bar { \theta }$ . Restricting $F$ to $U$ all terms involved are continuously differentiable and
|
| 726 |
+
|
| 727 |
+
$$
|
| 728 |
+
\nabla F ( { \bar { \theta } } ) = I - \alpha ( I - \alpha H _ { o } ) H ( { \bar { \theta } } )
|
| 729 |
+
$$
|
| 730 |
+
|
| 731 |
+
by assumption that $\xi ( \bar { \theta } ) = 0$ . Since all terms except $I$ are of order at least $\alpha$ , $\nabla F ( { \bar { \theta } } )$ is invertible for all $\alpha$ sufficiently small. By the inverse function theorem, there exists a neighbourhood $V$ of $\bar { \theta }$ such that $F$ is has a continuously differentiable inverse on $V$ . Hence $F$ restricted to $U \cap V$ is a $C ^ { 1 }$ diffeomorphism with fixed point $\bar { \theta }$ .
|
| 732 |
+
|
| 733 |
+
By definition of strict saddles, $H ( \bar { \theta } )$ has a negative eigenvalue. It follows by continuity that $( I -$ $\overset { \cdot } { \alpha { H _ { o } } } ) H ( \bar { \theta } )$ also has a negative eigenvalue $a + i b$ with $a < 0$ for $\alpha$ sufficiently small. Finally,
|
| 734 |
+
|
| 735 |
+
$$
|
| 736 |
+
\nabla F ( { \bar { \theta } } ) = I - \alpha ( I - \alpha H _ { o } ) H ( { \bar { \theta } } )
|
| 737 |
+
$$
|
| 738 |
+
|
| 739 |
+
has an eigenvalue $\lambda = 1 - \alpha a - i \alpha b$ with
|
| 740 |
+
|
| 741 |
+
$$
|
| 742 |
+
| \lambda | = 1 - 2 \alpha a + \alpha ^ { 2 } ( a ^ { 2 } + b ^ { 2 } ) \geq 1 - 2 \alpha a > 1 .
|
| 743 |
+
$$
|
| 744 |
+
|
| 745 |
+
It follows that $E ^ { s }$ has codimension at least one, implying in turn that the local stable set $W$ has measure zero. We can now prove that
|
| 746 |
+
|
| 747 |
+
$$
|
| 748 |
+
Z = \{ \theta \in U \cap V \mid \operatorname* { l i m } _ { n \to \infty } F ^ { n } ( \theta ) = { \bar { \theta } } \}
|
| 749 |
+
$$
|
| 750 |
+
|
| 751 |
+
has measure zero, or in other words, that local convergence to $\bar { \theta }$ occurs with zero probability. Let $B$ the neighbourhood guaranteed by the Stable Manifold Theorem, and take any $\theta \in Z$ . By definition of convergence there exists $N \in \mathbb N$ such that $F ^ { N + n } ( \theta ) \in B$ for all $n \geq 0$ , so that
|
| 752 |
+
|
| 753 |
+
$$
|
| 754 |
+
F ^ { N } ( \theta ) \in \cap _ { n = 0 } ^ { \infty } F ^ { - n } ( B ) \subset W
|
| 755 |
+
$$
|
| 756 |
+
|
| 757 |
+
by the Stable Manifold Theorem. This implies that $\theta \in F ^ { - N } ( W )$ , and finally $\theta \in \cup _ { n \in \mathbb { N } } F ^ { - n } ( W )$ . Since $\theta$ was arbitrary, we obtain the inclusion
|
| 758 |
+
|
| 759 |
+
$$
|
| 760 |
+
Z \subseteq \cup _ { n \in \mathbb { N } } F ^ { - n } ( W ) .
|
| 761 |
+
$$
|
| 762 |
+
|
| 763 |
+
Now $F ^ { - 1 }$ is $C ^ { 1 }$ , hence locally Lipschitz and thus preserves sets of measure zero, so that $F ^ { - n } ( W )$ has measure zero for each $n$ . Countable unions of measure zero sets are still measure zero, so we conclude that $Z$ also has measure zero. In other words, SOS converges to $\bar { \theta }$ with zero probability upon random initialisation of $\theta$ in $U$ . □
|
| 764 |
+
|
| 765 |
+

|
| 766 |
+
Figure 5: Ground truth in the Gaussian mixture experiment.
|
| 767 |
+
|
| 768 |
+
# F FURTHER GAUSSIAN MIXTURE EXPERIMENTS
|
| 769 |
+
|
| 770 |
+
In the Gaussian mixture experiment, data is sampled from a highly multimodal distribution designed to probe the tendency to collapse onto a subset of modes during training, given in Figure 5.
|
| 771 |
+
|
| 772 |
+
The generator distribution and KL divergence are given at $\{ 2 \mathrm { k } , 4 \mathrm { k } , 6 \mathrm { k } , 8 \mathrm { k } \}$ iterations for LA, LOLA and SGA in Figure 6. LOLA and SGA successfully spread mass across all Gaussians. LookAhead displays mode collapse and hopping in early stages, but begins to incorporate further mixtures near $8 k$ iterations. We ran further iterations and discovered that LookAhead eventually spreads mass across all mixtures, though very slowly. Comparing with results for NL/CO/SOS in the main text, we see that CO/SOS/LOLA/SGA are equally successful in qualitative terms.
|
| 773 |
+
|
| 774 |
+
Note that SOS/CO are slightly superior with respect to KL divergence after $6 { - } 8 \mathbf { k }$ iterations, though LOLA is initially faster. This may be due only to random sampling. We also noticed experimentally that LOLA often moves away from the correct distribution after 8-10k iterations (not shown), while SOS stays stable in the long run. This may occur thanks to the two-part criterion encouraging convergence, while LOLA continually attempts to exploit opponent learning.
|
| 775 |
+
|
| 776 |
+
Finally we plot $\| \xi \|$ at all iterations up to $1 2 k$ for SOS, LA and NL in Figure 7 (other algorithms are omitted for visibility). This gives further evidence of SOS converging quite rapidly to the correct distribution, while NL perpetually suffers from mode hopping and LA lags behind significantly.
|
| 777 |
+
|
| 778 |
+

|
| 779 |
+
Figure 6: Generator distribution at sampled iterations for LA/LOLA/SGA. LA suffers in the early stages from mode collapse and hopping, but incorporates more mixtures later on. LOLA and SGA learn the correct mixture of Gaussians. Below each plot: KL divergence $D _ { K L } ( P \parallel Q )$ from generator $P$ to ground truth $Q$ , estimated from 25600 samples. Best result at each iteration in bold.
|
| 780 |
+
|
| 781 |
+

|
| 782 |
+
Figure 7: Semilog plot of $\| \xi \|$ at each iteration for SOS, LA and NL.
|
parse/train/SyGjjsC5tQ/SyGjjsC5tQ_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SyGjjsC5tQ/SyGjjsC5tQ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SyGjjsC5tQ/SyGjjsC5tQ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1gR2sC9FX/r1gR2sC9FX.md
ADDED
|
@@ -0,0 +1,606 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ON THE SPECTRAL BIAS OF NEURAL NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Neural networks are known to be a class of highly expressive functions able to fit even random input-output mappings with $1 0 0 \%$ accuracy. In this work we present properties of neural networks that complement this aspect of expressivity. By using tools from Fourier analysis, we show that deep ReLU networks are biased towards low frequency functions, meaning that they cannot have local fluctuations without affecting their global behavior. Intuitively, this property is in line with the observation that over-parameterized networks find simple patterns that generalize across data samples. We also investigate how the shape of the data manifold affects expressivity by showing evidence that learning high frequencies gets easier with increasing manifold complexity, and present a theoretical understanding of this behavior. Finally, we study the robustness of the frequency components with respect to parameter perturbation, to develop the intuition that the parameters must be finely tuned to express high frequency functions.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
While universal approximation properties of neural networks have been known since the early 90s (Hornik et al., 1989; Cybenko, 1989; Leshno et al., 1993; Barron, 1993), recent research has shed light on the mechanisms underlying such expressivity (Montufar et al., 2014; Raghu et al., 2016; Poole et al., 2016). At the same time, deep neural networks, despite being massively overparameterized, have been remarkably successful at generalizing to natural data. This fact is at odds with the traditional notions of model complexity and their empirically demonstrated ability to fit arbitrary random data to perfect accuracy (Zhang et al., 2017a; Arpit et al., 2017). It has prompted the recent investigations of possible implicit regularization mechanisms inherent in the learning process, inducing biases towards low complexity solutions (Soudry et al., 2017; Poggio et al., 2018; Neyshabur et al., 2017).
|
| 12 |
+
|
| 13 |
+
In this work, our main goal is to expose one such bias by taking a closer look at neural networks through the lens of Fourier analysis1. We focus the discussion on ReLU networks, whose piecewise linear structure enables an analytic treatment. While they can approximate arbitrary functions, we find that these networks favour low frequency ones; in other words, they exhibit a bias towards smooth functions, a phenomenon we call the spectral bias2. We find that this bias manifests itself not just in the process of learning, but also in the parameterization of the model itself: in fact we show that the lower frequencies of trained networks are more robust with respect to random parameter perturbations. Finally, we also exhibit and analyze a rather intricate interplay between the spectral bias and the geometry of the data manifold: we show that high frequencies get easier to learn when the data lies on a lower dimensional manifold of complex shape embedded in the input space.
|
| 14 |
+
|
| 15 |
+
# CONTRIBUTIONS
|
| 16 |
+
|
| 17 |
+
1. We exploit the piecewise-linear structure of ReLU networks to evaluate and bound its Fourier spectrum.
|
| 18 |
+
2. We demonstrate the peculiar behaviour of neural networks with illustrative and minimal experiments and find evidence of a spectral bias: i.e. lower frequencies are learned first.
|
| 19 |
+
3. We illustrate how the manifold hypothesis adds a layer of subtlety by showing how the geometry of the data manifold attenuates the spectral bias in a non-trivial way. We present a theoretical analysis of this phenomenon and derive conditions on the manifolds that facilitate learning higher frequencies.
|
| 20 |
+
4. Given a trained network, we investigate the relative robustness of the lower frequencies with respect to random perturbations of the network parameters.
|
| 21 |
+
|
| 22 |
+
The paper is organized as follows. In Section 2, we derive the Fourier spectrum of deep ReLU networks. Section 3 presents minimal experiments that demonstrate the spectral bias of ReLU networks. In Section 4, we study and discuss the role of the geometry of the data manifold. In Section 5, we empirically illustrate and theoretically explain our robustness result.
|
| 23 |
+
|
| 24 |
+
# 2 FOURIER ANALYSIS OF RELU NETWORKS
|
| 25 |
+
|
| 26 |
+
# 2.1 PRELIMINARIES
|
| 27 |
+
|
| 28 |
+
Consider the class of scalar functions $f : \mathbb { R } ^ { d } \mapsto \mathbb { R }$ defined by a ReLU network with $L$ hidden layers of widths $d _ { 1 } , \cdots d _ { L }$ and a single output neuron:
|
| 29 |
+
|
| 30 |
+
$$
|
| 31 |
+
f ( \mathbf { x } ) = \left( T ^ { ( L + 1 ) } \circ \sigma \circ T ^ { ( L ) } \circ \cdots \circ \sigma \circ T ^ { ( 1 ) } \right) ( \mathbf { x } )
|
| 32 |
+
$$
|
| 33 |
+
|
| 34 |
+
where each $\boldsymbol { T } ^ { ( k ) } : \mathbb { R } ^ { d _ { k - 1 } } \mathbb { R } ^ { d _ { k } }$ is an affine function $\ Q _ { 0 } \ = \ d$ and $d _ { L + 1 } = 1$ ) and $\sigma ( { \bf u } ) _ { i } { \mathbf \alpha } = { \mathbf \alpha }$ $\operatorname* { m a x } ( 0 , u _ { i } )$ denotes the ReLU activation function acting elementwise on a vector $\mathbf { u } = ( u _ { 1 } , \cdot \cdot \cdot u _ { n } )$ . In the standard basis, $T ^ { ( k ) } ( { \bf x } ) = W ^ { ( k ) } { \bf x } + { \bf b } ^ { ( k ) }$ for some weight matrix $W ^ { ( k ) }$ and bias vector $\mathbf { b } ^ { ( k ) }$ .
|
| 35 |
+
|
| 36 |
+
ReLU networks are known to be continuous piece-wise linear (CPWL) functions, where the linear regions are convex polytopes (Raghu et al., 2016; Montufar et al., 2014; Zhang et al., 2018; Arora et al., 2018). Remarkably, the converse is also true: every CPWL function can be represented by a ReLU network (Arora et al., 2018, Theorem 2.1), which in turn endows ReLU networks with universal approximation properties. Given the ReLU network $f$ from Eqn. 1, we can make the piecewise linearity explicit by writing,
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
f ( { \bf x } ) = \sum _ { \epsilon } 1 _ { P _ { \epsilon } } ( { \bf x } ) \left( W _ { \epsilon } { \bf x } + { \bf b } _ { \epsilon } \right)
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
where $\epsilon$ is an index for the linear regions $P _ { \epsilon }$ and $1 _ { P _ { \epsilon } }$ is the indicator function on $P _ { \epsilon }$ . As shown in Appendix C in more detail, each region corresponds to an activation pattern3 of all hidden neurons of the network, which is a binary vector with components conditioned on the sign of the input of the respective neuron. The $1 \times d$ matrix $W _ { \epsilon }$ is given by
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
W _ { \epsilon } = W ^ { ( L + 1 ) } W _ { \epsilon } ^ { ( L ) } \cdot \cdot \cdot W _ { \epsilon } ^ { ( 1 ) }
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
where $W _ { \epsilon } ^ { ( k ) }$ is obtained from the original weight $W ^ { ( k ) }$ by setting its $j ^ { t h }$ column to zero whenever the neuron $j$ of the $k ^ { t h }$ layer is inactive.
|
| 49 |
+
|
| 50 |
+
We will henceforth assume that the input data lies in a bounded domain of $\mathbb { R } ^ { d }$ , say $X = [ - A , A ] ^ { d }$ for some $A > 0$ and thus restrict ourselves to ReLU networks with bounded support4.
|
| 51 |
+
|
| 52 |
+
# 2.2 FOURIER SPECTRUM
|
| 53 |
+
|
| 54 |
+
In the following, we study the structure of ReLU networks in the Fourier domain, which is defined as:
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
f ( { \bf x } ) = ( 2 \pi ) ^ { d / 2 } \int \tilde { f } ( { \bf k } ) e ^ { i { \bf k } \cdot { \bf x } } { \bf d } { \bf k } , \qquad \tilde { f } ( { \bf k } ) : = \int f ( { \bf x } ) e ^ { - i { \bf k } \cdot { \bf x } } { \bf d } { \bf x }
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where $\mathbf { d x } , \mathbf { d k }$ are the uniform Lebesgue measure on $\mathbb { R } ^ { d }$ and $\tilde { f }$ denotes the Fourier transform of $f$ (see Appendix B for a short recap of the Fourier transform). Lemmas 1 and 2 (proved in appendix D) yield the explicit form of the Fourier components.
|
| 61 |
+
|
| 62 |
+
Lemma 1. The Fourier transform of ReLU networks decomposes as,
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\tilde { f } ( { \bf k } ) = i \sum _ { \epsilon } \frac { W _ { \epsilon } { \bf k } } { k ^ { 2 } } \tilde { 1 } _ { P _ { \epsilon } } ( { \bf k } )
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
where $k = \| \mathbf { k } \|$ and $\begin{array} { r } { \tilde { 1 } _ { P } ( \mathbf { k } ) = \int _ { P } e ^ { - i \mathbf { k } \cdot \mathbf { x } } \mathbf { d } \mathbf { x } } \end{array}$ is the Fourier transform of the indicator function of $P$ .
|
| 69 |
+
|
| 70 |
+
The Fourier transform of a polytope appearing in Eqn. 5 is a fairly intricate mathematical object; Diaz et al. (2016) develop an elegant procedure for evaluating it in arbitrary dimensions via a recursive application of Stokes theorem. We describe this procedure in detail in Appendix D.2, and present here its main corollary.
|
| 71 |
+
|
| 72 |
+
Lemma 2. Let $P$ be a full dimensional polytope in $\mathbb { R } ^ { d }$ . The Fourier spectrum of its indicator function $\tilde { 1 } _ { P }$ satisfies the following:
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
| \tilde { 1 } _ { P } ( \mathbf { k } ) | = \mathcal { O } \left( \frac { 1 } { k ^ { \Delta _ { \mathbf { k } } ^ { ( P ) } } } \right)
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
where $1 \leq \Delta _ { \mathbf { k } } ^ { ( P ) } \leq d ,$ and $\Delta _ { \mathbf { k } } ^ { ( P ) } = j$ when $\mathbf { k }$ lies orthogonal to some $( d - j )$ -dimensional face of $P$
|
| 79 |
+
|
| 80 |
+
Note that since a polytope has a finite number of facets (of any dimension), the $\mathbf { k }$ ’s for which $\Delta _ { \mathbf { k } } ^ { ( P ) } = j$ for some $j < d$ lie on a finite union of $j$ -dimensional subspaces of $\mathbb { R } ^ { d }$ . The Lebesgue measure of all such lower dimensional subspaces for all such $j$ equals 0, leading us to the conclusion that the spectrum decays as $\mathcal { O } ( k ^ { - d } )$ for almost all directions $\hat { \mathbf { k } }$ of the frequency vector $\mathbf { k }$ in $\mathbb { R } ^ { d }$ .
|
| 81 |
+
|
| 82 |
+
Lemmas 1, 2 together yield the main result of this section. Given a ReLU network $f$ , its linear regions form a cell decomposition of $\mathbb { R } ^ { d }$ as union of polytopes; we denote by $\mathcal { F }$ the set of faces (of any dimension) of all such polytopes. For $\mathbf { k } \in \mathbb { R } ^ { d }$ , let $\Delta _ { \mathbf { k } }$ be the minimum integer $1 \leq j \leq d$ such that $\mathbf { k }$ lies orthogonal to some $( d - j )$ -dimensional face in $\mathcal { F }$ .
|
| 83 |
+
|
| 84 |
+
Theorem 1. The Fourier components of the ReLU network $f$ satisfy the following:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
| \tilde { f } ( \mathbf { k } ) | = \mathcal { O } \left( \frac { N _ { f } L _ { f } } { k ^ { \Delta _ { \mathbf { k } } + 1 } } \right)
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
where $N _ { f }$ is the number of linear regions and $L _ { f } = \operatorname* { m a x } _ { \epsilon } \| W _ { \epsilon } \| _ { 2 }$ is the Lipschitz constant of $f$ .
|
| 91 |
+
|
| 92 |
+
Several remarks are in order:
|
| 93 |
+
|
| 94 |
+
(a) The spectral decay of ReLU networks is highly anisotropic in large dimensions. In almost all directions $\hat { \mathbf { k } }$ of $\mathbb { R } ^ { d }$ , we have $\Delta _ { \mathbf { k } } = d$ , i.e. a $\mathcal { O } ( k ^ { - d - 1 } )$ decay. However, the decay can be as slow as $\mathcal { O } ( k ^ { - 2 } )$ in specific directions orthogonal to the facets bounding linear regions5.
|
| 95 |
+
|
| 96 |
+
As we prove in Appendix D.3, the Lipschitz constant $L _ { f }$ can be bounded as,
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
L _ { f } \le \prod _ { k = 1 } ^ { L + 1 } \| W ^ { ( k ) } \| \le \| W \| _ { \infty } ^ { L + 1 } \sqrt { d } \prod _ { k = 1 } ^ { L } d _ { k }
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
where $\| \cdot \|$ is the spectral norm, $W$ is the ravelled parameter vector of the network and $\| \cdot \| _ { \infty }$ is the max-norm. This makes the bound on $L _ { f }$ scale exponentially in depth and polynomial in width. As for the number $N _ { f }$ of linear regions, Montufar et al. (2014) and Raghu et al. (2016) obtain tight bounds that exhibit the same scaling behaviour (Raghu et al., 2016, Theorem 1). This makes the overall bound in Eqn. 7 – and with it, the ability to express larger frequencies – scale exponentially in depth and polynomially in width6. This result complements the well-known universal approximation property of neural networks by explicitly incorporating a control on the capacity7 of the network, namely the width, depth and the norm of parameters. Architecture dependent controls on approximation have been formalized in the literature through approximation bounds and depth separation results, see e.g Barron (1993); Telgarsky (2016); Eldan & Shamir (2016).
|
| 103 |
+
|
| 104 |
+

|
| 105 |
+
Figure 1: Left (a, b): Evolution of the spectrum ( $\mathbf { \dot { x } }$ -axis for frequency) during training (y-axis). The colors show the measured amplitude of the network spectrum at the corresponding frequency, normalized by the target amplitude at the same frequency (i.e. $\rvert \tilde { f } _ { k _ { i } } \rvert / A _ { i } )$ and the colorbar is clipped between 0 and 1. Right (a, b): Evolution of the spectral norm $\mathbf { \widetilde { y } }$ -axis) of each layer during training $\mathbf { \bar { x } }$ -axis). Figure-set (a) shows the setting where all frequency components in the target function have the same amplitude, and (b) where higher frequencies have larger amplitudes. Gist: We find that even when higher frequencies have larger amplitudes, the model prioritizes learning lower frequencies first. We also find that the spectral norm of weights increases as the model fits higher frequency, which is what we expect from Theorem 1.
|
| 106 |
+
|
| 107 |
+
(b) For a given architecture (i.e. fixed width and depth), the high frequency contributions of the network can be increased by increasing the norm of the parameters. Assuming the weight norm increases with training iterations, this suggests that the training of ReLU networks might be biased towards lower frequencies. We investigate this fact empirically in the next section.
|
| 108 |
+
|
| 109 |
+
# 3 LOWER FREQUENCIES ARE LEARNED FIRST
|
| 110 |
+
|
| 111 |
+
In this section and the ones that follow, we present experiments that illustrate the peculiar behaviour of deep ReLU networks in the Fourier domain. We begin with an experiment to demonstrate that networks tend to fit lower frequencies first during training. We refer to this phenomenon as the spectral bias, and discuss it in light of the results of Section 2.
|
| 112 |
+
|
| 113 |
+
Experiment 1. The setup is as follows8 : Given frequencies $\kappa = ( k _ { 1 } , k _ { 2 } , . . . )$ with corresponding amplitudes ${ \boldsymbol { \alpha } } = ( A _ { 1 } , A _ { 2 } , \ldots )$ , and phases $\phi = ( \varphi _ { 1 } , \varphi _ { 2 } , \ldots )$ , we consider the mapping $\lambda : [ 0 , 1 ] \to \mathbb { R }$ given by
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\lambda ( z ) = \sum _ { i } A _ { i } \sin ( 2 \pi k _ { i } z + \varphi _ { i } ) .
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
A 6-layer deep 256-unit wide ReLU network $f _ { \theta }$ is trained to regress $\lambda$ with $\kappa = ( 5 , 1 0 , . . . , 4 5 , 5 0 )$ and $N \ = \ 2 0 0$ input samples spaced equally over $[ 0 , 1 ]$ ; its spectrum $\tilde { f } _ { \theta } ( k )$ in expectation over $\varphi _ { i } \sim U ( 0 , 2 \pi )$ is monitored as training progresses. In the first setting, we set equal amplitude $A _ { i } = 1$ for all frequencies and in the second setting, the amplitude increases from $A _ { 1 } = 0 . 1$ to $A _ { 1 0 } = 1$ . Fig 1 shows the normalized magnitudes $| \tilde { f } _ { \theta } ( k _ { i } ) | / A _ { i }$ at various frequencies, as training progresses. The result is that lower frequencies (i.e. smaller $k _ { i }$ ’s) are regressed first, regardless of their amplitudes.
|
| 120 |
+
|
| 121 |
+
Discussion. Multiple theoretical aspects may underlie these observations. First, for a fixed architecture, the bound in Theorem 1 allows for larger Fourier coefficients at higher frequencies if the parameter norm is large. However, the parameter norm can increase only gradually during training by gradient descent, which leads to the higher frequencies being learned late in the optimization process. To confirm that the bound indeed increases as the model fits higher frequencies, we plot in Fig 1 the spectral norm of weights of each layer during training for both cases of constant and increasing amplitudes.
|
| 122 |
+
|
| 123 |
+
Second, consider the Mean Squared Error $\mathrm { M S E } [ f _ { \theta } , \lambda ]$ in terms of the Fourier components: letting $z _ { i } = i / N$ be the training sample points, we have:
|
| 124 |
+
|
| 125 |
+
$$
|
| 126 |
+
\mathbf { M S E } [ f _ { \theta } , \lambda ] = \frac { 1 } { N } \sum _ { i = 0 } ^ { N - 1 } | f _ { \theta } ( z _ { i } ) - \lambda ( z _ { i } ) | ^ { 2 } = \frac { 1 } { N } \sum _ { k = 0 } ^ { N - 1 } | \tilde { f } _ { \theta } ( k ) - \tilde { \lambda } ( k ) | ^ { 2 } = \mathbf { M S E } [ \tilde { f } _ { \theta } , \tilde { \lambda } ]
|
| 127 |
+
$$
|
| 128 |
+
|
| 129 |
+
where the second equality follows from Plancherel theorem. We make two observations – first, the square error in input space translates into square error in Fourier domain, with a priori no structural bias towards any particular frequency component9, i.e. all frequencies are weighted the same. Since the same cannot be said about e.g. cross-entropy loss, we use the MSE loss in most of our experiments to avoid a potential confounding factor. Second, the parameterization of the network can be exploited by considering the gradient of the MSE loss w.r.t. parameters,
|
| 130 |
+
|
| 131 |
+
$$
|
| 132 |
+
\frac { \partial } { \partial \theta } \mathrm { M S E } [ \tilde { f } _ { \theta } , \tilde { \lambda } ] = \frac { 2 } { N } \sum _ { k = 0 } ^ { N - 1 } \mathrm { R e } [ \tilde { f } _ { \theta } ( k ) - \tilde { \lambda } ( k ) ] \frac { \partial \tilde { f } _ { \theta } ( k ) } { \partial \theta } \leq \frac { 2 } { N } \sum _ { k = 0 } ^ { N - 1 } | \tilde { f } _ { \theta } ( k ) - \tilde { \lambda } ( k ) | \underbrace { \left| \frac { \partial \tilde { f } _ { \theta } ( k ) } { \partial \theta } \right| } _ { = \mathcal { O } ( k ^ { - \Delta - 1 } ) }
|
| 133 |
+
$$
|
| 134 |
+
|
| 135 |
+
where $\operatorname { R e } ( z )$ denotes the real part of $z$ . We find that a bias naturally emerges as a consequence of the spectral decay rate found in Theorem 1, in the sense that the magnitude of the residual $| \tilde { f } _ { \theta } ( k ) - \tilde { \lambda } ( k ) |$ contributes less to the net gradient for large $k$ . This generalizes the argument made in Xu (2018) for two layer sigmoid networks by observing that the gradient w.r.t parameters of the network function inherits the spectral decay rate of the function itself10. In Section 5, we use that the integral of $\tilde { f } _ { \theta }$ w.r.t. the standard measure in parameter space $d \theta$ also inherits the spectral decay rate of $f$ to make a statement about the robustness of $\tilde { f } _ { \theta } ( k )$ against random parameter perturbations.
|
| 136 |
+
|
| 137 |
+
# 4 NOT ALL MANIFOLDS ARE LEARNED EQUAL
|
| 138 |
+
|
| 139 |
+
In this section, we investigate the subtleties that arise when the data lies on a lower dimensional manifold embedded in the higher dimensional input space of the model (Goodfellow et al., 2016). We find that the shape of the data-manifold impacts the learnability of high frequencies in a nontrivial way. As we shall see, this is because low frequencies functions in the input space may have high frequency components when restricted to lower dimensional manifolds of complex shapes. To systematically investigate the impact of manifold shape on the spectral bias, we demonstrate results in an illustrative minimal setting11 free from unwanted confounding factors. We also present a mathematical exposition of the relationship between the Fourier spectrum of the network, the spectrum of the target function defined on the manifold, and the geometry of the manifold itself.
|
| 140 |
+
|
| 141 |
+

|
| 142 |
+
Figure 2: Functions learned by two identical networks (up to initialization) to classify the binarized value of a sine wave of frequency $k = 2 0 0$ defined on a $\gamma _ { L = 2 0 }$ manifold. Both yield close to perfect accuracy for the samples defined on the manifold (scatter plot), yet they differ significantly elsewhere. The shaded regions show the predicted class (Red or Blue) whereas contours show the confidence (absolute value of logits).
|
| 143 |
+
|
| 144 |
+
Manifold hypothesis. We consider the case where the data lies on a lower dimensional data manifold $\mathcal { M } \subset \mathbf { \bar { \mathbb { R } } } ^ { d }$ embedded in input space, which we assume to be the image $\gamma ( [ 0 , 1 ] ^ { m } )$ of some injective mapping $\gamma : [ 0 , 1 ] ^ { m } \overset { \cdot } { } \mathbb { R } ^ { d }$ defined on a lower dimensional latent space $[ 0 , 1 ] ^ { m }$ . Under this hypothesis and in the context of the standard regression problem, a target function $\dot { \tau : \mathcal { M } } \mathbb { R }$ defined on data manifold can identified with a function $\lambda = \tau \circ \gamma$ defined on the latent space. Regressing $\tau$ is therefore equivalent to finding $f : { \mathbb { R } ^ { d } } \to { \mathbb { R } }$ such that $f \circ \gamma$ matches $\lambda$ . Further, assuming that the data probability distribution $\mu$ supported on $\mathcal { M }$ is induced by $\gamma$ from the uniform distribution $U$ in the latent space $[ 0 , 1 ] ^ { m }$ , the mean square error can be expressed as,
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
\begin{array} { r } { \mathbf { M S E } _ { \mu } ^ { ( \mathbf { x } ) } [ f , \tau ] = \mathbb { E } _ { \mathbf { x } \sim \mu } | f ( \mathbf { x } ) - \tau ( \mathbf { x } ) | ^ { 2 } = \mathbb { E } _ { \mathbf { z } \sim U } | ( f ( \gamma ( \mathbf { z } ) ) - \lambda ( \mathbf { z } ) | ^ { 2 } = \mathbf { M S E } _ { U } ^ { ( \mathbf { z } ) } [ f \circ \gamma , \lambda ] } \end{array}
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
Observe that there is a vast space of degenerate solutions $f$ that minimize the mean squared error – namely all functions on $\mathbb { R } ^ { d }$ that yield the same function when restricted to the data manifold $\mathcal { M }$ .
|
| 151 |
+
|
| 152 |
+
Our findings from the previous section suggest that neural networks are biased towards expressing a particular subset of such solutions, namely those that are low frequency. It is also worth noting that there exist methods that restrict the space of solutions: notably adversarial training (Goodfellow et al., 2014) and Mixup (Zhang et al., 2017b).
|
| 153 |
+
|
| 154 |
+
Experimental set up. The experimental setting is designed to afford control over both the shape of the data manifold and the target function defined on it. We will consider the family of curves in $\mathbb { R } ^ { 2 }$ generated by mappings $\gamma _ { L } : [ 0 , 1 ] \to \mathbb { R } ^ { 2 }$ given by
|
| 155 |
+
|
| 156 |
+
$$
|
| 157 |
+
\gamma _ { L } ( z ) = R _ { L } ( z ) ( \cos ( 2 \pi z ) , \sin ( 2 \pi z ) ) { \mathrm { ~ w h e r e ~ } } R _ { L } ( z ) = 1 + { \frac { 1 } { 2 } } \sin ( 2 \pi L z )
|
| 158 |
+
$$
|
| 159 |
+
|
| 160 |
+
Here, $\gamma _ { L } ( [ 0 , 1 ] )$ defines the data-manifold and corresponds to a flower-shaped curve with $L$ petals, or a unit circle when $L = 0$ (see e.g. Fig 2). Given a signal $\lambda : [ 0 , 1 ] \to \overline { { \mathbb { R } } }$ defined on the latent space [0, 1], the task entails learning a network $f : \mathbb { R } ^ { 2 } \bar { \mathbb { R } }$ such that $f \circ \gamma _ { L }$ matches the signal $\lambda$ .
|
| 161 |
+
|
| 162 |
+
Experiment 2. The set-up is similar to that of Experiment 1, and $\lambda$ is as defined in Eqn. 9 with frequencies $\kappa = ( 2 0 , 4 0 , . . . , 1 8 0 , 2 0 0 )$ , and amplitudes $A _ { i } = 1 \forall i$ . The model $f$ is trained on the dataset $\{ \gamma _ { L } ( z _ { i } ) , \lambda ( z _ { i } ) \} _ { i = 1 } ^ { N }$ with $N = 1 0 0 0$ uniformly spaced samples $z _ { i }$ between 0 and 1. The spectrum of $f \circ \gamma _ { L }$ in expectation over $\varphi _ { i } \sim U ( 0 , 2 \pi )$ is monitored as training progresses, and the result shown in Fig 3 for $L = 0 , 4 , 1 0 , 1 6$ . Fig 3e shows the corresponding mean squared error curves. More experimental details in appendix A.2.
|
| 163 |
+
|
| 164 |
+
The results demonstrate a clear attenuation of the spectral bias as $L$ grows. Moreover, Fig 3e suggests that the larger the $L$ , the easier the learning task.
|
| 165 |
+
|
| 166 |
+
Experiment 3. Here, we adapt the setting of Experiment 2 to binary classification by simply thresholding the function $\lambda$ at 0.5 to obtain a binary target signal. To simplify visualization, we only use signals with a single frequency mode $k$ , such that $\lambda ( z ) = \sin ( 2 \pi k z + \varphi )$ . We train the same network on the resulting classification task with cross-entropy $\mathrm { l o s s } ^ { 1 2 }$ for $k \in \{ 5 0 , 1 0 0 , . . . , 3 5 0 , 4 0 0 \}$ and $L ~ \in ~ \{ 0 , 2 , . . . , \bar { 1 } 8 , 2 0 \}$ . The heatmap in Fig 4 shows the classification accuracy for each $( k , L )$ pair. Fig 2 shows visualizations of the functions learned by the same network, trained on $( k , L ) = ( 2 0 0 , 2 0 )$ under identical conditions up to random initialization.
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
Figure 3: (a,b,c,d): Evolution of the network spectrum $\mathbf { \widetilde { x } }$ -axis for frequency, colorbar for magnitude) during training $\mathbf { \widetilde { y } }$ -axis) for the same target functions defined on manifolds $\gamma _ { L }$ for various $L$ . Since the target function has amplitudes $A _ { i } = 1$ for all frequencies $k _ { i }$ plotted, the colorbar is clipped between 0 and 1. (e): Corresponding learning curves. Gist: Some manifolds (here with larger $L$ ) make it easier for the network to learn higher frequencies than others.
|
| 170 |
+
|
| 171 |
+

|
| 172 |
+
Figure 4: Heatmap of training accuracies of a network trained to predict the binarized value of a sine wave of given frequency $\mathbf { \widetilde { x } }$ -axis) defined on $\gamma _ { L }$ for various $L$ ( $\mathbf { \widetilde { y } }$ -axis).
|
| 173 |
+
|
| 174 |
+
Observe that increasing $L$ (i.e. going up a column in Fig 4) results in better (classification) performance for the same target signal. This is the same behaviour as we observed in Experiment 2 (Fig 3a-d), but now with binary cross-entropy loss instead of the MSE.
|
| 175 |
+
|
| 176 |
+
Discussion. These experiments hint towards a rich interaction between the shape of the manifold and the effective difficulty of the learning task. The key technical reason underlying this phenomenon (as we formalize below) is that the relationship between frequency spectrum of the network $f$ and that of the fit $f \circ \gamma _ { L }$ is mediated by the embedding map $\gamma _ { L }$ . In particular, we will argue that a given signal defined on the manifold is easier to fit when the coordinate functions of the manifold embedding itself has high frequency components. Thus, in our experimental setting, the same signal embedded in a flower with more petals can be captured with lower frequencies of the network.
|
| 177 |
+
|
| 178 |
+
To understand this mathematically, we address the following questions: given a target function $\lambda$ , how small can the frequencies of a solution $f$ be such that $f \circ \gamma = \lambda \colon$ And further, how does this relate to the geometry of the data-manifold $\mathcal { M }$ induced by $\gamma ?$ To find out, we write the Fourier transform of the composite function,
|
| 179 |
+
|
| 180 |
+
$$
|
| 181 |
+
\widetilde { ( f \circ \gamma ) } ( 1 ) = \int \mathbf { d k } \widetilde { f } ( \mathbf { k } ) P _ { \gamma } ( 1 , \mathbf { k } ) \quad \mathrm { w h e r e } \quad P _ { \gamma } ( 1 , \mathbf { k } ) = \int _ { [ 0 , 1 ] ^ { m } } \mathbf { d z } e ^ { i ( \mathbf { k } \cdot \gamma ( \mathbf { z } ) - 1 \cdot \mathbf { z } ) }
|
| 182 |
+
$$
|
| 183 |
+
|
| 184 |
+
The kernel $P _ { \gamma }$ depends on only $\gamma$ and elegantly encodes the correspondence between frequencies $\mathbf { k } \in \mathbb { R } ^ { d }$ in input space and frequencies $1 \in \mathbb { R } ^ { m }$ in the latent space $[ 0 , 1 ] ^ { m }$ . Following a procedure from Bergner et al., we can further investigate the behaviour of the kernel in the regime where the stationary phase approximation is applicable, i.e. when $l ^ { 2 } + k ^ { 2 } \to \infty$ (cf. section 3.2. of Bergner et al.). In this regime, the integral $P _ { \gamma }$ is dominated by critical points $\bar { \bf z }$ of its phase, which satisfy
|
| 185 |
+
|
| 186 |
+
$$
|
| 187 |
+
\mathbf { l } = J _ { \gamma } ( \bar { \mathbf { z } } ) \mathbf { k }
|
| 188 |
+
$$
|
| 189 |
+
|
| 190 |
+
where $J _ { \gamma } ( \mathbf { z } ) _ { i j } = \nabla _ { i } \gamma _ { j } ( \mathbf { z } )$ is the $m \times d$ Jacobian matrix of $\gamma$ . Non-zero values of the kernel correspond to pairs $( \mathbf { l } , \mathbf { k } )$ such that Eqn 15 has a solution. Further, given that the components of $\gamma$ (i.e. its coordinate functions) are defined on an interval $[ 0 , 1 ] ^ { m }$ , one can use their Fourier series representation together with Eqn 15 to obtain a condition on their frequencies (shown in appendix D.4). More precisely, we find that the $i$ -th component of the RHS in Eqn 15 is proportional to $\mathbf { p } \tilde { \gamma } _ { i } [ \mathbf { p } ] k _ { i }$ where $\mathbf { p } \in \mathbb { Z } ^ { m }$ is the frequency of the coordinate function $\gamma _ { i }$ . This yields that we can get arbitrarily large frequencies $l _ { i }$ if $\tilde { \gamma } _ { i } [ \mathbf { p } ]$ is large13 enough for large $\mathbf { p }$ , even when $k _ { i }$ is fixed.
|
| 191 |
+
|
| 192 |
+

|
| 193 |
+
Figure 5: Normalized spectrum of the model $\mathbf { \widetilde { x } }$ -axis for frequency, colorbar for magnitude) with perturbed parameters as a function of parameter perturbation (y-axis). The colormap is clipped between 0 and 1. Observe that the lower frequencies are more robust to parameter perturbations than the higher frequencies.
|
| 194 |
+
|
| 195 |
+
This is precisely what Experiments 2 and 3 demonstrate in a minimal setting. From Eqn 13, observe that the coordinate functions have a frequency mode at $L$ . For increasing $L$ , it is apparent that the frequency magnitudes $l$ (in the latent space) that can be expressed with the same frequency $k$ (in the input space) increases with increasing $L$ . This allows the remarkable interpretation that the neural network function can express large frequencies on a manifold $( l )$ with smaller frequencies w.r.t its input domain $( k )$ , provided that the coordinate functions of the data manifold embedding itself has high-frequency components14.
|
| 196 |
+
|
| 197 |
+
# 5 LOWER FREQUENCIES ARE MORE ROBUST
|
| 198 |
+
|
| 199 |
+
The goal of this section is to show that lower frequency components of trained networks are more robust than their higher frequency counterparts with respect to random perturbations in parameter space. More precisely, we observe that in the neighbourhood of a solution in parameter space, the high frequency components decay faster than the low frequency ones. This property does not directly depend on the training process, but rather on the parametrization of the trained model. We present empirical evidence and a theoretical explanation of this phenomenon.
|
| 200 |
+
|
| 201 |
+
Experiment 4. The set up is the same as in Experiment 1, where $\lambda$ is given by Eqn. 9. Training is performed for the frequencies $\kappa = ( 1 0 , 1 5 , 2 0 , . . . , 4 5 , 5 0 )$ and amplitudes $A _ { i } ~ = ~ 1 \forall i$ . After convergence to $\theta ^ { * }$ , we consider random (isotropic) perturbations $\theta = \theta ^ { * } + \delta \hat { \theta }$ of given magnitude $\delta$ , where $\hat { \theta } \sim U ( S ^ { \dim ( \theta ^ { * } ) } )$ is a unit vector. We evaluate the network function $f _ { \theta }$ at the perturbed parameters, and compute the magnitude of its discrete Fourier transform at frequencies $k _ { i }$ , $| \tilde { f } _ { \theta } ( k _ { i } ) |$ . We also average over 100 samples of $\hat { \theta }$ to obtain $| \tilde { f } _ { \mathbb { E } \theta } ( k _ { i } ) |$ , which we normalize by $| \tilde { f } _ { \theta * } ( k _ { i } ) |$ . The result, shown in Figure 5, demonstrate that higher frequencies are significantly less robust than the lower ones.
|
| 202 |
+
|
| 203 |
+
Discussion. The interpretation is as follows: parameters that contribute towards expressing highfrequency components occupy a small volume in the parameter space. To formalize this intuition, given a bounded domain $\Theta$ of parameter space, let us define,
|
| 204 |
+
|
| 205 |
+
$$
|
| 206 |
+
\Xi _ { \epsilon } ( k ) = \{ \theta \in \Theta | \exists \mathbf { k } ^ { \prime } , k ^ { \prime } > k , | \tilde { f } _ { \theta } ( \mathbf { k } ^ { \prime } ) | > \epsilon \}
|
| 207 |
+
$$
|
| 208 |
+
|
| 209 |
+
to be the set of parameters such that $f _ { \theta }$ has Fourier components larger than $\epsilon$ for some $\mathbf { k } ^ { \prime }$ with larger norm than $k$ . Then the following Proposition holds (proved in appendix E).
|
| 210 |
+
|
| 211 |
+
Proposition 1. The volume ratio,
|
| 212 |
+
|
| 213 |
+
$$
|
| 214 |
+
R ( k ) = \frac { V o l ( \Xi _ { \epsilon } ( k ) ) } { V o l ( \Theta ) }
|
| 215 |
+
$$
|
| 216 |
+
|
| 217 |
+
inherits the spectral decay rate of $| \tilde { f } _ { \theta } ( \mathbf { k } ) |$ , given by Theorem 1.
|
| 218 |
+
|
| 219 |
+
Intuitively, expressing larger frequencies requires the parameters to be finely-tuned to work together.
|
| 220 |
+
|
| 221 |
+
# 6 RELATED WORK
|
| 222 |
+
|
| 223 |
+
While we focus on showing the spectral bias of deep ReLU networks towards learning functions with dominant lower frequency components, most of existing work has focused on showing that in theory, these networks are capable of learning arbitrarily complex functions. Hornik et al. (1989); Cybenko (1989); Leshno et al. (1993) have shown that neural networks can be universal approximators when given sufficient width; more recently, Lu et al. (2017) proved that this property holds also for width-bounded networks. Montufar et al. (2014) showed that the number of linear regions of deep ReLU networks grows polynomially with width and exponentially with depth; Raghu et al. (2016) generalized this result and provided asymptotically tight bounds. There have been various results of the benefits of depth for efficient approximation (Poole et al., 2016; Telgarsky, 2016; Eldan & Shamir, 2016). These analysis on the expressive power of deep neural networks can in part explain why over-parameterized networks can perfectly learn random input-output mappings (Zhang et al., 2017a). Our Fourier analysis of deep ReLU networks also reflects the width and depth dependence of their expressivity, but more interestingly reveals their spectral bias towards learning simple functions. Thus our work may be seen as a formalization of the findings of Arpit et al. (2017), where it is empirically shown that deep networks prioritize learning simple functions during training.
|
| 224 |
+
|
| 225 |
+
A few other works studied neural networks through the lens of harmonic analysis. For example, Candes (1999) used the ridgelet transform to build constructive procedures for approximating a \` given function by neural networks, in the case of oscillatory activation functions. This approach has been recently generalized to unbounded activation functions by Sonoda & Murata (2017). Eldan & Shamir (2016) use insights on the support of the Fourier spectrum of two-layer networks to derive a worse-case depth-separation result. Barron (1993) makes use of Fourier space properties of the target function to derive an architecture-dependent approximation bound. In a work done independently from ours, and made available online almost at the same time, Xu et al. (2018) make the same observation that lower frequencies are learned first. The subsequent work by Xu (2018) proposes a theoretical analysis of the phenomenon in the case of 2-layer networks with sigmoid activation, based on the spectrum of the sigmoid function.
|
| 226 |
+
|
| 227 |
+
In light of our findings, it is worth comparing the case of neural networks and other popular algorithms such that kernel machines (KM) and $K$ -nearest neighbor classifiers. We refer to the Appendix F for a detailed discussion and references. In summary, our discussion there suggests that 1. DNNs strike a good balance between function smoothness and expressivity/parameter-efficiency compared with KM; 2. DNNs learn a smoother function compared with $K \mathrm { N N s }$ since the spectrum of the DNN decays faster compared with $K \mathrm { N N s }$ in the experiments shown there.
|
| 228 |
+
|
| 229 |
+
# 7 CONCLUSION
|
| 230 |
+
|
| 231 |
+
We studied deep ReLU networks through the lens of Fourier analysis. Several conclusions can be drawn from our analysis. While neural networks can approximate arbitrary functions, we find that they favour low frequency ones – hence they exhibit a bias towards smooth functions – a phenomenon that we called spectral bias. We also illustrated how the geometry of the data manifold impacts expressivity in a non-trivial way, as high frequency functions defined on complex manifolds can be expressed by lower frequency network functions defined in input space. Finally, we found that the parameters contributing towards expressing lower frequencies are more robust to random perturbations than their higher frequency counterparts.
|
| 232 |
+
|
| 233 |
+
We view future work that explore the properties of neural networks in Fourier domain as promising. For example, the Fourier transform affords a natural way of measuring how fast a function can change within a small neighborhood in its input domain ; as such, it is a strong candidate for quantifying and analyzing the sensitivity of a model – which in turn provides a natural measure of complexity (Novak et al., 2018). We hope to encourage more research in this direction.
|
| 234 |
+
|
| 235 |
+
# REFERENCES
|
| 236 |
+
|
| 237 |
+
Raman Arora, Amitabh Basu, Poorya Mianjy, and Anirbit Mukherjee. Understanding deep neural networks with rectified linear units. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id ${ . } = { }$ B1J_rgWRW.
|
| 238 |
+
|
| 239 |
+
Devansh Arpit, Stanisław Jastrzebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. arXiv preprint arXiv:1706.05394, 2017.
|
| 240 |
+
|
| 241 |
+
Andrew R Barron. Universal approximation bounds for superpositions of a sigmoidal function. IEEE Transactions on Information theory, 39(3):930–945, 1993.
|
| 242 |
+
|
| 243 |
+
Yoshua Bengio et al. Learning deep architectures for ai. Foundations and trends $\textsuperscript { \textregistered }$ in Machine Learning, 2(1):1–127, 2009.
|
| 244 |
+
|
| 245 |
+
Steven Bergner, Torsten Moller, Daniel Weiskopf, and David J Muraki. A spectral analysis of ¨ function concatenations and its implications for sampling in direct volume visualization.
|
| 246 |
+
|
| 247 |
+
Emmanuel J Candes. Harmonic analysis of neural networks. \` Applied and Computational Harmonic Analysis, 6(2):197–218, 1999.
|
| 248 |
+
|
| 249 |
+
George Cybenko. Approximation by superpositions of a sigmoidal function. Mathematics of Control, Signals, and Systems (MCSS), 2(4):303–314, 1989.
|
| 250 |
+
|
| 251 |
+
Luc Devroye, Laszl ´ o Gy ´ orfi, and G ¨ abor Lugosi. Consistency of the k-nearest neighbor rule. In ´ A Probabilistic Theory of Pattern Recognition, pp. 169–185. Springer, 1996.
|
| 252 |
+
|
| 253 |
+
Ricardo Diaz, Quang-Nhat Le, and Sinai Robins. Fourier transforms of polytopes, solid angle sums, and discrete volume. arXiv preprint arXiv:1602.08593, 2016.
|
| 254 |
+
|
| 255 |
+
Felix Draxler, Kambis Veschgini, Manfred Salmhofer, and Fred A Hamprecht. Essentially no barriers in neural network energy landscape. arXiv preprint arXiv:1803.00885, 2018.
|
| 256 |
+
|
| 257 |
+
Ronen Eldan and Ohad Shamir. The power of depth for feedforward neural networks. In Conference on Learning Theory, pp. 907–940, 2016.
|
| 258 |
+
|
| 259 |
+
Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep Learning. MIT Press, 2016. http: //www.deeplearningbook.org.
|
| 260 |
+
|
| 261 |
+
Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014.
|
| 262 |
+
|
| 263 |
+
Barbara Hammer and Kai Gersmann. A note on the universal approximation capability of support vector machines. Neural Processing Letters, 17(1):43–53, 2003.
|
| 264 |
+
|
| 265 |
+
Kurt Hornik, Maxwell Stinchcombe, and Halbert White. Multilayer feedforward networks are universal approximators. Neural networks, 2(5):359–366, 1989.
|
| 266 |
+
|
| 267 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 268 |
+
|
| 269 |
+
Esben L Kolsbjerg, Michael N Groves, and Bjørk Hammer. An automated nudged elastic band method. The Journal of chemical physics, 145(9):094107, 2016.
|
| 270 |
+
|
| 271 |
+
Moshe Leshno, Vladimir Ya Lin, Allan Pinkus, and Shimon Schocken. Multilayer feedforward networks with a nonpolynomial activation function can approximate any function. Neural networks, 6(6):861–867, 1993.
|
| 272 |
+
|
| 273 |
+
Zhou Lu, Hongming Pu, Feicheng Wang, Zhiqiang Hu, and Liwei Wang. The expressive power of neural networks: A view from the width. In Advances in Neural Information Processing Systems, pp. 6231–6239, 2017.
|
| 274 |
+
|
| 275 |
+
Siyuan Ma and Mikhail Belkin. Diving into the shallows: a computational perspective on large-scale shallow learning. In Advances in Neural Information Processing Systems, pp. 3781–3790, 2017.
|
| 276 |
+
|
| 277 |
+
Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id $=$ B1QRgziT-.
|
| 278 |
+
|
| 279 |
+
Guido F Montufar, Razvan Pascanu, Kyunghyun Cho, and Yoshua Bengio. On the number of linear regions of deep neural networks. In Advances in neural information processing systems, pp. 2924–2932, 2014.
|
| 280 |
+
|
| 281 |
+
Behnam Neyshabur, Srinadh Bhojanapalli, David McAllester, and Nati Srebro. Exploring generalization in deep learning. In Advances in Neural Information Processing Systems, pp. 5949–5958, 2017.
|
| 282 |
+
|
| 283 |
+
Roman Novak, Yasaman Bahri, Daniel A. Abolafia, Jeffrey Pennington, and Jascha Sohl-Dickstein. Sensitivity and generalization in neural networks: an empirical study. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ HJC2SzZCW.
|
| 284 |
+
|
| 285 |
+
T Poggio, K Kawaguchi, Q Liao, B Miranda, L Rosasco, X Boix, J Hidary, and HN Mhaskar. Theory of deep learning iii: the non-overfitting puzzle. Technical report, Technical report, CBMM memo 073, 2018.
|
| 286 |
+
|
| 287 |
+
Ben Poole, Subhaneil Lahiri, Maithreyi Raghu, Jascha Sohl-Dickstein, and Surya Ganguli. Exponential expressivity in deep neural networks through transient chaos. In D. D. Lee, M. Sugiyama, U. V. Luxburg, I. Guyon, and R. Garnett (eds.), Advances in Neural Information Processing Systems 29, pp. 3360–3368. Curran Associates, Inc., 2016.
|
| 288 |
+
|
| 289 |
+
Maithra Raghu, Ben Poole, Jon Kleinberg, Surya Ganguli, and Jascha Sohl-Dickstein. On the expressive power of deep neural networks. arXiv preprint arXiv:1606.05336, 2016.
|
| 290 |
+
|
| 291 |
+
Sho Sonoda and Noboru Murata. Neural network with unbounded activation functions is universal approximator. Applied and Computational Harmonic Analysis, 43(2):233–268, 2017.
|
| 292 |
+
|
| 293 |
+
Daniel Soudry, Elad Hoffer, Mor Shpigel Nacson, Suriya Gunasekar, and Nathan Srebro. The implicit bias of gradient descent on separable data. arXiv preprint arXiv:1710.10345, 2017.
|
| 294 |
+
|
| 295 |
+
Michael Spivak. Calculus On Manifolds: A Modern Approach To Classical Theorems Of Advanced Calculus. CRC press, 2018.
|
| 296 |
+
|
| 297 |
+
Matus Telgarsky. Benefits of depth in neural networks. Conference on Learning Theory (COLT), 2016, 2016.
|
| 298 |
+
|
| 299 |
+
Zhi-Qin John Xu, Yaoyu Zhang, and Yanyang Xiao. Training behavior of deep neural network in frequency domain. arXiv preprint arXiv:1807.01251, 2018.
|
| 300 |
+
|
| 301 |
+
Zhiqin John Xu. Understanding training and generalization in deep learning by fourier analysis. arXiv preprint arXiv:1808.04295, 2018.
|
| 302 |
+
|
| 303 |
+
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. International Conference on Learning Representations (ICLR), 2017a.
|
| 304 |
+
|
| 305 |
+
Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017b.
|
| 306 |
+
|
| 307 |
+
Liwen Zhang, Gregory Naitzat, and Lek-Heng Lim. Tropical geometry of deep neural networks. arXiv preprint arXiv:1805.07091, 2018.
|
| 308 |
+
|
| 309 |
+

|
| 310 |
+
Figure 6: The learnt function (green) overlayed on the target function (blue) as the training progresses. The target function is a superposition of sinusoids of frequencies $\kappa = ( 5 , 1 0 , . . . , 4 5 , 5 0 )$ , equal amplitudes and randomly sampled phases.
|
| 311 |
+
|
| 312 |
+

|
| 313 |
+
Figure 7: Loss curves averaged over multiple runs. (cf. Experiment 1)
|
| 314 |
+
|
| 315 |
+
# A EXPERIMENTAL DETAILS
|
| 316 |
+
|
| 317 |
+
# A.1 EXPERIMENT 1
|
| 318 |
+
|
| 319 |
+
We fit a 6 layer ReLU network with 256 units per layer $f _ { \theta }$ to the target function $\lambda$ , which is a superposition of sine waves with increasing frequencies:
|
| 320 |
+
|
| 321 |
+
$$
|
| 322 |
+
\lambda : [ 0 , 1 ] \to \mathbb { R } , \lambda ( z ) = \sum _ { i } A _ { i } \sin ( 2 \pi k _ { i } z + \varphi _ { i } )
|
| 323 |
+
$$
|
| 324 |
+
|
| 325 |
+
where $k _ { i } = ( 5 , 1 0 , 1 5 , . . . , 5 0 )$ , and $\varphi _ { i }$ is sampled from the uniform distribution $U ( 0 , 2 \pi )$ . In the first setting, we set equal amplitude for all frequencies, i.e. $A _ { i } = 1 \forall i$ , while in the second setting we assign larger amplitudes to the higher frequencies, i.e. $A _ { i } = ( 0 . 1 , 0 . 2 , . . . , 1 )$ . We sample $\lambda$ on 200 uniformly spaced points in [0, 1] and train the network for 80000 steps of full-batch gradient descent with Adam (Kingma & Ba, 2014). Note that we do not use stochastic gradient descent to avoid the stochasticity in parameter updates as a confounding factor. We evaluate the network on the same 200 point grid every 100 training steps and compute the magnitude of its (single-sided) discrete fourier transform at frequencies $k _ { i }$ which we denote with $\vert \tilde { f } _ { k _ { i } } \vert$ . Finally, we plot in figure 1 the normalized magnitudes $\frac { | \tilde { f } _ { k _ { i } } | } { A _ { i } }$ averaged over 10 runs (with different sets of sampled phases $\varphi _ { i }$ ). We also record the spectral norms of the weights at each layer as the training progresses, which we plot in figure 1 for both settings (the spectral norm is evaluated with 10 power iterations). In figure 6, we show an example target function and the predictions of the network trained on it (over the iterations), and in figure 7 we plot the loss curves.
|
| 326 |
+
|
| 327 |
+
# A.2 EXPERIMENT 2
|
| 328 |
+
|
| 329 |
+
We use the same 6-layer deep 256-unit wide network and define the target function
|
| 330 |
+
|
| 331 |
+
$$
|
| 332 |
+
\lambda : \mathcal { D } \to \mathbb { R } , z \mapsto \lambda ( z ) = \sum _ { i } A _ { i } \sin ( 2 \pi k _ { i } z + \varphi _ { i } )
|
| 333 |
+
$$
|
| 334 |
+
|
| 335 |
+

|
| 336 |
+
Figure 8: The target function used in Experiment 5.
|
| 337 |
+
|
| 338 |
+

|
| 339 |
+
Figure 9: Evolution with training iterations (y-axis) of the Fourier spectrum $\mathbf { \widetilde { x } }$ -axis for frequency, and colormap for magnitude) for a network with varying depth, width $= 1 6$ and weight clip $= 1 0$ . The spectrum of the target function is a constant 0.005 for all frequencies.
|
| 340 |
+
|
| 341 |
+
where $k _ { i } = ( 2 0 , 4 0 , . . . , 1 8 0 , 2 0 0 )$ , $A _ { i } = 1 \forall i$ and $\varphi \sim U ( 0 , 2 \pi )$ . We sample $\phi$ on a grid with 1000 uniformly spaced points between 0 and 1 and map it to the input domain via $\gamma _ { L }$ to obtain a dataset $\{ ( \gamma _ { L } ( z _ { j } ) , \lambda \bar { ( } z _ { j } ) ) \} _ { j = 0 } ^ { \bar { 9 } 9 9 }$ , on which we train the network with 50000 full-batch gradient descent steps of Adam. On the same 1000-point grid, we evaluate the magnitude of the (single-sided) discrete Fourier transform of $f _ { \theta } \circ \gamma _ { L }$ every 100 training steps at frequencies $k _ { i }$ and average over 10 runs (each with a different set of sampled $z _ { i }$ ’s). Fig 3 shows the evolution of the spectrum as training progresses for $L = 0 , 4 , 1 0 , 1 6$ , and Fig 3e shows the corresponding loss curves.
|
| 342 |
+
|
| 343 |
+
# A.3 QUALITATIVE ABLATION OVER ARCHITECTURES
|
| 344 |
+
|
| 345 |
+
Theorem 1 exposes the relationship between the fourier spectrum of a network and its depth, width and max-norm of parameters. The following experiment is a qualitative ablation study over these variables.
|
| 346 |
+
|
| 347 |
+
Experiment 5. In this experiment, we fit various networks to the $\delta$ -function at $x = 0 . 5$ (see Fig 8a). Its spectrum is constant for all frequencies $\left( \mathrm { F i g ~ 8 b } \right)$ , which makes it particularly useful for testing how well a given network can fit large frequencies. Fig 11 shows the ablation over weight clip (i.e. max parameter max-norm), Fig 9 over depth and Fig 10 over width. Fig 12 exemplarily shows how the network prediction evolves with training iterations. All networks are trained for 60K iterations of full-batch gradient descent under identical conditions (Adam optimizer with $l r = 0 . 0 0 0 3$ , no weight decay).
|
| 348 |
+
|
| 349 |
+
We make the following observations.
|
| 350 |
+
|
| 351 |
+
(a) Fig 9 shows that increasing the depth (for fixed width) significantly improves the network’s ability to fit higher frequencies (note that the depth increases linearly).
|
| 352 |
+
(b) Fig 10 shows that increasing the width (for fixed depth) also helps, but the effect is considerably weaker (note that the width increases exponentially).
|
| 353 |
+
(c) Fig 11 shows that increasing the weight clip (or the max parameter max-norm) also helps the network fit higher frequencies.
|
| 354 |
+
|
| 355 |
+

|
| 356 |
+
Figure 10: Evolution with training iterations (y-axis) of the Fourier spectrum ( $\mathbf { \widetilde { x } }$ -axis for frequency, and colormap for magnitude) for a network with varying width, depth $= 3$ and weight clip $= 1 0$ . The spectrum of the target function is a constant 0.005 for all frequencies.
|
| 357 |
+
|
| 358 |
+

|
| 359 |
+
Figure 11: Evolution with training iterations (y-axis) of the Fourier spectrum ( $\mathbf { \widetilde { x } }$ -axis for frequency, and colormap for magnitude) for a network with varying weight clip, depth $= 6$ and width $= 6 4$ . The spectrum of the target function is a constant 0.005 for all frequencies.
|
| 360 |
+
|
| 361 |
+

|
| 362 |
+
Figure 12: Evolution with training iterations (y-axis) of the network prediction ( $\mathbf { \widetilde { x } }$ -axis for input, and colormap for predicted value) for a network with varying weight clip, depth $= 6$ and width $= 6 4$ . The target function is a $\delta$ peak at $x = 0 . 5$ .
|
| 363 |
+
|
| 364 |
+
The above observations are all consistent with Theorem 1, and further show that lower frequencies are learned first (i.e. the spectral bias, cf. Experiment 1).
|
| 365 |
+
|
| 366 |
+
# A.4 MNIST: A PROOF OF CONCEPT
|
| 367 |
+
|
| 368 |
+
In the following experiment, we show that given two manifolds of the same dimension – one flat and the other not – the task of learning random labels is harder to solve if the input samples lie on the same manifold. We demonstrate on MNIST under the assumption that the manifold hypothesis is true, and use the fact that the spectrum of the target function we use (white noise) is constant in expectation, and therefore independent of the underlying coordinate system when defined on the manifold.
|
| 369 |
+
|
| 370 |
+
Experiment 6. In this experiment, we investigate if it is easier to learn a signal on a more realistic data-manifold like that of MNIST (assuming the manifold hypothesis is true), and compare with a flat manifold of the same dimension. To that end, we use the 64-dimensional feature-space $\mathcal { E }$ of a denoising15 autoencoder as a proxy for the real data-manifold of unknown number of dimensions. The decoder functions as an embedding of $\mathcal { E }$ in the input space $X = { \mathbb { R } } ^ { 7 8 4 }$ , which effectively amounts to training a network on the reconstructions of the autoencoder. For comparision, we use an injective embedding16 of a 64-dimensional hyperplane in $X$ . The latter is equivalent to sampling 784-dimensional vectors from $U ( [ 0 , 1 ] )$ and setting all but the first 64 components to zero. The target function is white-noise, sampled as scalars from the uniform distribution $U ( [ 0 , 1 ] )$ . Two identical networks are trained under identical conditions, and Fig 13 shows the resulting loss curves, each averaged over 10 runs.
|
| 371 |
+
|
| 372 |
+
This result complements the findings of Arpit et al. (2017) and Zhang et al. (2017a), which show that it’s easier to fit random labels to random inputs if the latter is defined on the full dimensional input space (i.e. the dimension of the flat manifold is the same as that of the input space, and not that of the underlying data-manifold being used for comparison).
|
| 373 |
+
|
| 374 |
+

|
| 375 |
+
Figure 13: Loss curves of two identical networks trained to regress white-noise under identical conditions, one on MNIST reconstructions from a DAE with 64 encoder features (blue), and the other on 64-dimensional random vectors (green).
|
| 376 |
+
|
| 377 |
+
# A.5 CIFAR-10: IT’S ALL CONNECTED
|
| 378 |
+
|
| 379 |
+
We have seen that deep neural networks are biased towards learning low frequency functions. This should have as a consequence that isolated bubbles of constant prediction are rare. This in turn implies that given any two points in the input space and a network function that predicts the same class for the said points, there should be a path connecting them such that the network prediction does not change along the path. In the following, we present an experiment where we use a path finding method to find such a path between all Cifar-10 input samples indeed exist.
|
| 380 |
+
|
| 381 |
+
Experiment 7. Using AutoNEB Kolsbjerg et al. (2016), we construct paths between (adversarial) Cifar-10 images that are classified by a ResNet20 to be all of the same target class. AutoNEB bends a linear path between points in some space $\mathbb { R } ^ { m }$ so that some maximum energy along the path is minimal. Here, the space is the input space of the neural network, i.e. the space of $3 2 \times 3 2 \times 3$ images and the logit output of the ResNet20 for a given class is minimized. We construct paths between the following points in image space:
|
| 382 |
+
|
| 383 |
+

|
| 384 |
+
Figure 14: Path between CIFAR-10 adversarial examples (e.g. “frog” and “automobile”, such that all images are classified as “airplane”).
|
| 385 |
+
|
| 386 |
+
• From one training image to another, • from a training image to an adversarial, • from one adversarial to another.
|
| 387 |
+
|
| 388 |
+
We only consider pairs of images that belong to the same class $c$ (or, for adversarials, that originate from another class $\neq c$ , but that the model classifies to be of the specified class $c$ ). For each class, we randomly select 50 training images and select a total of 50 random images from all other classes and generate adversarial samples from the latter. Then, paths between all pairs from the whole set of images are computed.
|
| 389 |
+
|
| 390 |
+
The AutoNEB parameters are chosen as follows: We run four NEB iterations with 10 steps of SGD with learning rate 0.001 and momentum 0.9. This computational budget is similar to that required to compute the adversarial samples. The gradient for each NEB step is computed to maximize the logit output of the ResNet-20 for the specified target class $c$ . We use the formulation of NEB without springs Draxler et al. (2018).
|
| 391 |
+
|
| 392 |
+
The result is very clear: We can find paths between all pairs of images for all CIFAR10 labels that do not cross a single decision boundary. This means that all paths belong to the same connected component regarding the output of the DNN. This holds for all possible combinations of images in the above list. Figure 15 shows connecting training to adversarial images and Figure 14 paths between pairs of adversarial images. Paths between training images are not shown, they provide no further insight. Note that the paths are strikingly simple: Visually, they are hard to distinguish from the linear interpolation. Quantitatively, they are essentially (but not exactly) linear, with an average length $( 3 . 0 \pm 0 . 3 ) \%$ longer than the linear connection.
|
| 393 |
+
|
| 394 |
+
# B BRIEF RECAPITULATION OF FOURIER ANALYSIS
|
| 395 |
+
|
| 396 |
+
The Fourier transform is a powerful mathematical tool used to represent functions as a weighted sum of oscillating functions, given that the function satisfies certain conditions. In the realm of signal processing and beyond, it is used to represent a time (space) domain signal $f$ as a sum of sinusoids of various (spatial) frequencies $\mathbf { k }$ , where the weights are referred to as the Fourier coefficients $\tilde { f } ( \mathbf { k } )$ .
|
| 397 |
+
|
| 398 |
+

|
| 399 |
+
Figure 15: Each row is a path through the image space from an adversarial sample (right) to a true training image (left). All images are classified by a ResNet-20 to be of the class of the training sample on the right with at least $9 5 \%$ softmax certainty. This experiment shows we can find a path from adversarial examples (right, Eg. ”(cat)”) that are classified as a particular class (”airplane”) are connected to actual training samples from that class (left, ”airplane”) such that all samples along that path are also predicted by the network to be of the same class.
|
| 400 |
+
|
| 401 |
+
Let $\begin{array} { r l r } { f } & { { } : } & { \mathbb { R } ^ { n } \quad \to \quad \mathbb { R } } \end{array}$ be a squared-integrable function17, i.e. such that $\textstyle \int _ { \mathbf { x } \in \mathbb { R } ^ { n } } | f ( \mathbf { x } ) | ^ { 2 } d \mathbf { x }$ is finite, or $\begin{array} { r l r l } { f } & { { } \in } & { } & { { } L ^ { 2 } ( \mathbb { R } ^ { n } ) } \end{array}$ . With the Fourier inversion theorem, it holds:
|
| 402 |
+
|
| 403 |
+
$$
|
| 404 |
+
f ( \mathbf { x } ) = { \frac { 1 } { 2 \pi } } \int _ { \mathbf { k } \in \mathbb { R } ^ { n } } { \tilde { f } } ( \mathbf { k } ) e ^ { i \mathbf { k } \cdot \mathbf { x } } d \mathbf { k } \qquad ( 1 7 ) \qquad { \tilde { f } } ( \mathbf { k } ) = \int _ { \mathbf { x } \in \mathbb { R } ^ { n } } f ( \mathbf { x } ) e ^ { - i \mathbf { k } \cdot \mathbf { x } } d \mathbf { x }
|
| 405 |
+
$$
|
| 406 |
+
|
| 407 |
+
Informally, equation 17 expresses the function $f ( \mathbf { x } )$ as a weighted sum (the integral) of plane waves $e ^ { \pm i \mathbf { k } \cdot \mathbf { x } }$ of the angular wavenumber $\mathbf { k }$ , where the unit vector $\hat { \mathbf { k } }$ gives the direction of the corresponding wave in $n$ -D space and the magnitude $k$ is inversely proportional to the wavelength. Equation 18 gives the expression for $\tilde { f } ( \mathbf { k } )$ , which is called the Fourier transform or the Fourier spectrum or simply the spectrum of $f$ . The $\scriptstyle { \frac { 1 } { 2 \pi } }$ coefficient and sign in the exponential functions are matters of convention.
|
| 408 |
+
|
| 409 |
+
The asymptotic behaviour of $\tilde { f }$ for $k \infty$ is a measure of smoothness of $f$ . In Bachmann-Landau or asymptotic notation18, we say $\tilde { f } = \mathcal { O } ( k ^ { - 1 } )$ if for $k \infty$ , the function $\tilde { f }$ decays at least as fast as $\frac { 1 } { k }$ . A function whose spectrum is $\mathcal { O } ( k ^ { - 2 } )$ is in a sense smoother than one whose spectrum is $\mathcal { O } ( k ^ { - 1 } )$ , while the spectrum of an infinitely differentiable (or smooth) function must decay faster than any rational function of $k$ , assuming the function is integrable, i.e. the integral of its absolute value over its domain is finite (or the function is $L ^ { 1 }$ ). Intuitively, the higher-frequency oscillations in a smoother function must vanish faster. Formally, this is a straightforward consequence of the Riemann-Lebesgue lemma, stating that the spectrum of any $L ^ { 1 }$ function must vanish at infinity (potentially arbitrarily slowly), taken together with the well known property of the Fourier transform that it diagonalizes the differential operator i.e. $[ \widetilde { \nabla _ { \mathbf { x } } f } ] ( \mathbf { k } ) = \mathbf { k } \widetilde { f } ( \mathbf { k } )$ .
|
| 410 |
+
|
| 411 |
+
# C THE CONTINUOUS PIECEWISE LINEAR STRUCTURE OF DEEP RELU NETWORKS
|
| 412 |
+
|
| 413 |
+
We consider the class of ReLU network functions $f : \mathbb { R } ^ { d } \mapsto \mathbb { R }$ defined by Eqn. 1. Following the terminology of Raghu et al. (2016); Montufar et al. (2014), each linear region of the network then corresponds to a unique activation pattern, wherein each hidden neuron is assigned an activation variable $\epsilon \in \{ - 1 , 1 \}$ , conditioned on whether its input is positive or negative. ReLU networks can be explictly expressed as a sum over all possible activation patterns, as in the following lemma.
|
| 414 |
+
|
| 415 |
+
Lemma 3. Given $L$ binary vectors $\epsilon ^ { ( 1 ) } , \cdot \cdot \cdot \epsilon ^ { ( L ) }$ with $\epsilon ^ { ( k ) } \in \{ - 1 , 1 \} ^ { d _ { k } }$ , let $T _ { \epsilon ^ { ( k ) } } ^ { ( k ) } : \mathbb { R } ^ { d _ { k - 1 } } \mathbb { R } ^ { d _ { k } }$ the affine function defined by $T _ { \epsilon ^ { ( k ) } } ^ { ( k ) } ( { \mathbf { u } } ) _ { i } = ( T ^ { ( k ) } ( { \mathbf { u } } ) ) _ { i } i f ( \epsilon _ { k } ) _ { i } = 1$ , and 0 otherwise. ReLU network functions, as defined in Eqn. 1, can be expressed as
|
| 416 |
+
|
| 417 |
+
$$
|
| 418 |
+
f ( \mathbf { x } ) = \sum _ { \epsilon ^ { ( 1 ) } , \cdots \epsilon ^ { ( L ) } } 1 _ { P _ { f , \epsilon } } ( \mathbf { x } ) \left( T ^ { ( L + 1 ) } \circ T _ { \epsilon ^ { ( L ) } } ^ { ( L ) } \circ \cdots \circ T _ { \epsilon ^ { ( 1 ) } } ^ { ( 1 ) } \right) ( \mathbf { x } )
|
| 419 |
+
$$
|
| 420 |
+
|
| 421 |
+
where $1 _ { P }$ denotes the indicator function of the subset $P \subset \mathbb { R } ^ { d }$ , and $P _ { f , \epsilon }$ is the polytope defined as the set of solutions of the following linear inequalities (for all $k = 1 , \cdots , L )$ :
|
| 422 |
+
|
| 423 |
+
$$
|
| 424 |
+
\begin{array} { r } { ( \epsilon _ { k } ) _ { i } ( T ^ { ( k ) } \circ T _ { \epsilon ^ { ( k - 1 ) } } ^ { ( k - 1 ) } \circ \cdots \circ T _ { \epsilon ^ { ( 1 ) } } ^ { ( 1 ) } ) ( \mathbf { x } ) _ { i } \geq 0 , \quad i = 1 , \cdots d _ { k } } \end{array}
|
| 425 |
+
$$
|
| 426 |
+
|
| 427 |
+
$f$ is therefore affine on each of the polytopes $P _ { f , \epsilon }$ , which finitely partition the input space $\mathbb { R } ^ { d }$ to convex polytopes. Remarkably, the correspondence between ReLU networks and CPWL functions goes both ways: Arora et al. (2018) show that every CPWL function is be represented by a ReLU network, which in turn endows ReLU networks with the universal approximation property.
|
| 428 |
+
|
| 429 |
+
Finally, in the standard basis, each affine map $T ^ { ( k ) } : \mathbb { R } ^ { d _ { k - 1 } } \mathbb { R } ^ { d _ { k } }$ is specified by a weight matrix $W ^ { ( k ) } \in \mathbb { R } ^ { d _ { k - 1 } } \times \mathbb { R } ^ { d _ { k } }$ and a bias vector $b ^ { ( k ) } \in \mathbb { R } ^ { d _ { k } }$ . In the linear region $P _ { f , \epsilon }$ , $f$ can be expressed as $f _ { \epsilon } ( x ) = W _ { \epsilon } x + b _ { \epsilon }$ , where in particular
|
| 430 |
+
|
| 431 |
+
$$
|
| 432 |
+
W _ { \epsilon } = W ^ { ( L + 1 ) } W _ { \epsilon _ { L } } ^ { ( L ) } \cdot \cdot \cdot W _ { \epsilon _ { 1 } } ^ { ( 1 ) } \in \mathbb { R } ^ { 1 \times d } ,
|
| 433 |
+
$$
|
| 434 |
+
|
| 435 |
+
where $W _ { \epsilon } ^ { ( k ) }$ is obtained from $W ^ { ( k ) }$ by setting its $j$ th column to zero whenever $( \epsilon _ { k } ) _ { j } = - 1$
|
| 436 |
+
|
| 437 |
+
# D FOURIER ANALYSIS OF RELU NETWORKS
|
| 438 |
+
|
| 439 |
+
# D.1 PROOF OF LEMMA 1
|
| 440 |
+
|
| 441 |
+
Proof. The vector-valued function $\mathbf { k } f ( \mathbf { x } ) e ^ { i \mathbf { k } \cdot \mathbf { x } }$ is continuous everywhere and has well-defined and continuous gradients almost everywhere. So by Stokes’ theorem (see e.g Spivak (2018)), the integral of its divergence is a pure boundary term. Since we restricted to functions with compact support, the theorem yields
|
| 442 |
+
|
| 443 |
+
$$
|
| 444 |
+
\int \nabla _ { \mathbf { x } } \cdot \left[ \mathbf { k } f ( \mathbf { x } ) e ^ { - i \mathbf { k } \cdot \mathbf { x } } \right] \mathbf { d x } = 0
|
| 445 |
+
$$
|
| 446 |
+
|
| 447 |
+
The integrand is $( \mathbf { k } \cdot ( \nabla _ { \mathbf { x } } f ) ( \mathbf { x } ) - i k ^ { 2 } f ( \mathbf { x } ) ) e ^ { - i \mathbf { k } \cdot \mathbf { x } }$ , so we deduce,
|
| 448 |
+
|
| 449 |
+
$$
|
| 450 |
+
{ \hat { f } } ( \mathbf { k } ) = { \frac { 1 } { - i k ^ { 2 } } } \mathbf { k } \cdot \int ( \nabla _ { \mathbf { x } } f ) ( \mathbf { x } ) e ^ { - i \mathbf { k } \cdot \mathbf { x } }
|
| 451 |
+
$$
|
| 452 |
+
|
| 453 |
+
Now, within each polytope of the decomposition (19), $f$ is affine so its gradient is a constant vector, $\nabla _ { \mathbf { x } } { f _ { \epsilon } } = W _ { \epsilon } ^ { T }$ , which gives the desired result (1). □
|
| 454 |
+
|
| 455 |
+
# D.2 FOURIER TRANSFORM OF POLYTOPES
|
| 456 |
+
|
| 457 |
+
# D.2.1 THEOREM 1 OF DIAZ ET AL. (2016)
|
| 458 |
+
|
| 459 |
+
Let $F$ be a $m$ dimensional polytope in $\mathbb { R } ^ { d }$ , such that $1 \leq m \leq d$ . Denote by $\textbf { k } \in \mathbb { R } ^ { d }$ a vector in the Fourier space, by $\phi _ { \mathbf { k } } ( x ) = - \mathbf { k } \cdot \mathbf { x }$ the linear phase function, by $\tilde { F }$ the Fourier transform of the indicator function on $F$ , by $\partial { \cal F }$ the boundary of $F$ and by $\mathrm { v o l } _ { m }$ the $m$ -dimensional (Hausdorff) measure. Let $\mathrm { P r o j } _ { F } ( { \bf k } )$ be the orthogonal projection of $\mathbf { k }$ on to $F$ (obtained by removing all components of $\mathbf { k }$ orthogonal to $F$ ). Given a $m - 1$ dimensional facet $G$ of $F$ , let ${ \bf N } _ { F } ( G )$ be the unit normal vector to $G$ that points out of $F$ . It then holds:
|
| 460 |
+
|
| 461 |
+
1. If ${ \sf P r o j } _ { F } ( { \bf k } ) = 0$ , then $\phi _ { \mathbf { k } } ( x ) = \Phi _ { \mathbf { k } }$ is constant on $F$ , and we have:
|
| 462 |
+
|
| 463 |
+
$$
|
| 464 |
+
\tilde { F } = { \mathrm { v o l } } _ { F } ( F ) e ^ { i \Phi _ { \mathbf { k } } }
|
| 465 |
+
$$
|
| 466 |
+
|
| 467 |
+
2. But if $\mathrm { P r o j } _ { F } ( { \bf k } ) \neq 0$ , then:
|
| 468 |
+
|
| 469 |
+
$$
|
| 470 |
+
\tilde { F } = i \sum _ { G \in \partial F } \frac { \mathrm { P r o j } _ { F } ( \mathbf { k } ) \cdot \mathbf { N } _ { F } ( G ) } { \| \mathrm { P r o j } _ { F } ( \mathbf { k } ) \| ^ { 2 } } \tilde { G } ( \mathbf { k } )
|
| 471 |
+
$$
|
| 472 |
+
|
| 473 |
+
# D.2.2 DISCUSSION
|
| 474 |
+
|
| 475 |
+
The above theorem provides a recursive relation for computing the Fourier transform of an arbitrary polytope. More precisely, the Fourier transform of a $m$ -dimensional polytope is expressed as a sum of fourier transforms over the $m - 1$ dimensional boundaries of the said polytope (which are themselves polytopes) times a $\mathcal { O } ( k ^ { - 1 } )$ weight term (with $k = \| \mathbf { k } \| ,$ ). The recursion terminates if $\mathrm { P r o j } _ { F } ( { \bf k } ) = \bar { 0 }$ , which then yields a constant.
|
| 476 |
+
|
| 477 |
+
To structure this computation, Diaz et al. (2016) introduce a book-keeping device called the face poset of the polytope. It can be understood as a weighted tree diagram with polytopes of various dimensions as its nodes. We start at the root node which is the full dimensional polytope $P$ (i.e. we initially set $m = n$ ). For all of the codimension-one boundary faces $F$ of $P$ , we then draw an edge from the root $P$ to node $F$ and weight it with a term given by:
|
| 478 |
+
|
| 479 |
+
$$
|
| 480 |
+
W _ { F , G } = i \frac { \mathrm { P r o j } _ { F } ( \mathbf { k } ) \cdot \mathbf { N } _ { F } ( G ) } { | | \mathrm { P r o j } _ { F } ( \mathbf { k } ) | | ^ { 2 } } \tilde { G } ( \mathbf { k } )
|
| 481 |
+
$$
|
| 482 |
+
|
| 483 |
+
and repeat the process iteratively for each $F$ . Note that the weight term is $\mathcal { O } ( k ^ { - 1 } )$ where $\mathrm { P r o j } _ { F } ( { \bf k } ) \ne$ 0. This process yields tree paths $T : P \to F _ { 1 } \to \dots \to F _ { q }$ where each $F _ { i + 1 } ~ \in ~ \partial F _ { i }$ has one dimension less than $F _ { i }$ . For a given path and $\mathbf { k }$ , the terminal node for this path, $F _ { q }$ , is the first polytope for which $\mathrm { P r o j } _ { F _ { q } } ( { \bf k } ) = 0$ . The final Fourier transform is obtained by multiplying the weights along each path and summing over all tree paths:
|
| 484 |
+
|
| 485 |
+
$$
|
| 486 |
+
\tilde { 1 } _ { P } ( \mathbf { k } ) = \sum _ { T } i ^ { q } \prod _ { i = 0 } ^ { q - 1 } \frac { \mathrm { P r o j } _ { F _ { i } } ( \mathbf { k } ) \cdot \mathbf { N } _ { F _ { i } } ( F _ { i + 1 } ) } { \lVert \mathrm { P r o j } _ { F _ { i } } ( \mathbf { k } ) \rVert ^ { 2 } } \mathrm { v o l } _ { F _ { q } } ( F _ { q } ) e ^ { i \Phi _ { \mathbf { k } } }
|
| 487 |
+
$$
|
| 488 |
+
|
| 489 |
+
where we wrote $F _ { 0 } = P$ . Together with Lemma 1, this gives the closed form expression of the Fourier transform of ReLU networks.
|
| 490 |
+
|
| 491 |
+
For a generic vector $\mathbf { k }$ , all paths terminate at the zero-dimensional vertices of the original polytope, i.e. $\mathrm { d i } \mathrm { \bar { m } } ( F _ { q } ) = 0$ , implying the length of the path $q$ equals the number of dimensions $d$ , yielding a $\mathcal { O } ( k ^ { - d } )$ spectrum. The exceptions occur if a path terminates prematurely, because $\mathbf { k }$ happens to lie orthogonal to some $d - r$ -dimensional face $F _ { r }$ in the path, in which case we are left with a $\mathcal { O } ( k ^ { - r } )$ term (with $r \ < \ d )$ which dominates asymptotically. Note that all vectors orthogonal to the $d - r$ dimensional face $F _ { r }$ lie on a $r$ -dimensional subspace of $\mathbb { R } ^ { d }$ . Since a polytope has a finite number of faces (of any dimension), the $\mathbf { k }$ ’s for which the Fourier transform is $\bar { \mathcal { O } } ( \bar { k } ^ { - \bar { r } } )$ (instead of $\mathcal { O } ( k ^ { - d } ) )$ lies on a finite union of closed subspaces of dimension $r$ (with $r < d$ ). The Lebesgue measure of all such lower dimensional subspaces for all such $r$ is 0, leading us to the conclusion that the spectrum decays as $\mathcal { O } ( k ^ { - d } )$ for almost all $\mathbf { k }$ ’s. We formalize this in the following corollary.
|
| 492 |
+
|
| 493 |
+
Corollary 1. Let $P$ be a full dimensional polytope in $\mathbb { R } ^ { n }$ . The Fourier spectrum of its indicator function $1 _ { P }$ satisfies the following:
|
| 494 |
+
|
| 495 |
+
$$
|
| 496 |
+
\big | \tilde { 1 } _ { P } ( \mathbf { k } ) \big | = \mathcal { O } \left( \frac { 1 } { k ^ { \Delta _ { \mathbf { k } } } } \right)
|
| 497 |
+
$$
|
| 498 |
+
|
| 499 |
+
where $1 \leq \Delta _ { \mathbf { k } } \leq n$ , and $\Delta _ { \mathbf { k } } = j$ for k on a finite union of $j$ -dimensional subspaces of $\mathbb { R } ^ { n }$ .
|
| 500 |
+
|
| 501 |
+
D.3 PROOF OF THE LIPSCHTIZ BOUND
|
| 502 |
+
|
| 503 |
+
Proposition 2. The Lipschitz constant $L _ { f }$ of the ReLU network $f$ is bound as follows (for all $\epsilon$ ):
|
| 504 |
+
|
| 505 |
+
$$
|
| 506 |
+
\| W _ { \epsilon } \| \leq L _ { f } \leq \prod _ { k = 1 } ^ { L + 1 } \| W ^ { ( k ) } \| \leq \| \theta \| _ { \infty } ^ { L + 1 } \sqrt { d } \prod _ { k = 1 } ^ { L } d _ { k }
|
| 507 |
+
$$
|
| 508 |
+
|
| 509 |
+
Proof. The first equality is simply the fact that $L _ { f } = \operatorname* { m a x } _ { \epsilon } \| W _ { \epsilon } \|$ , and the second inequality follows trivially from the parameterization of a ReLU network as a chain of function compositions19, together with the fact that the Lipschitz constant of the ReLU function is 1 (cf. Miyato et al. (2018), equation 7). To see the third inequality, consider the definition of the spectral norm of a $I \times J$ matrix $W$ :
|
| 510 |
+
|
| 511 |
+
$$
|
| 512 |
+
\| W \| = \operatorname* { m a x } _ { \| \mathbf { h } \| = 1 } \| W \mathbf { h } \|
|
| 513 |
+
$$
|
| 514 |
+
|
| 515 |
+
Now, $\begin{array} { r } { \| W \mathbf { h } \| = \sqrt { \sum _ { i } | \mathbf { w } _ { i } \cdot \mathbf { h } | } } \end{array}$ , where $\mathbf { w } _ { i }$ is the $i$ -th row of the weight matrix $W$ and $i = 1 , . . . , I$ . Further, if $\| \mathbf { h } \| = 1$ , we have $| \mathbf { w } _ { i } \cdot \mathbf { h } | \leq \| \mathbf { w } _ { i } \| \| \mathbf { h } \| = \| \mathbf { w } _ { i } \|$ . Since $\left. \mathbf { w } _ { i } \right. = \sqrt { \sum _ { j } | w _ { i j } | }$ (with $j = 1 , . . . , J )$ and $| w _ { i j } | \leq \| \theta \| _ { \infty }$ , we find that $\lVert \mathbf { w } _ { i } \rVert \leq \sqrt { J } \lVert \theta \rVert _ { \infty }$ . Consequently, $\begin{array} { r } { \sqrt { \sum _ { i } | \mathbf { w } _ { i } \cdot \mathbf { h } | } \leq } \end{array}$ $\sqrt { I J } \| \theta \| _ { \infty }$ and we obtain:
|
| 516 |
+
|
| 517 |
+
$$
|
| 518 |
+
\| W \| \leq \sqrt { I J } \| \theta \| _ { \infty }
|
| 519 |
+
$$
|
| 520 |
+
|
| 521 |
+
Now for $W = W ^ { ( k ) }$ , we have $I = d _ { k - 1 }$ and $J = d _ { k }$ . In the product over $k$ , every $d _ { k }$ except the first and the last occur in pairs, which cancels the square root. For $k = 1$ , $d _ { k - 1 } = d$ (for the $d$ input neurons) and for $k = L + 1$ , $d _ { k } = 1$ (for a single output neuron). The final inequality now follows. □
|
| 522 |
+
|
| 523 |
+
# D.4 THE FOURIER TRANSFORM OF A FUNCTION COMPOSITION
|
| 524 |
+
|
| 525 |
+
Consider Equation 14. The general idea is to investigate the behaviour of $P _ { \gamma } ( 1 , { \bf k } )$ for large frequencies l on manifold but smaller frequencies $\mathbf { k }$ in the input domain. In particular, we are interested in the regime where the stationary phase approximation is applicable to $P _ { \gamma }$ , i.e. when $l ^ { 2 } + k ^ { 2 } \to \infty$ (cf. section 3.2. of Bergner et al.). In this regime, the integrand in $P _ { \gamma } ( \mathbf { k } , \mathbf { l } )$ oscillates fast enough such that the only constructive contribution originates from where the phase term $u ( \mathbf { z } ) = \mathbf { k } \cdot \boldsymbol { \gamma } ( \mathbf { z } ) - 1 \cdot \mathbf { z }$ does not change with changing $\mathbf { z }$ . This yields the condition that $\begin{array} { r } { \bar { \nabla _ { \mathbf { z } } } u ( \mathbf { z } ) = 0 } \end{array}$ , which translates to the condition (with Einstein summation convention implied and $\partial _ { \nu } = \partial / \partial x _ { \nu }$ ):
|
| 526 |
+
|
| 527 |
+
$$
|
| 528 |
+
l _ { \nu } = k _ { \mu } \partial _ { \nu } \gamma _ { \mu } ( { \bf z } )
|
| 529 |
+
$$
|
| 530 |
+
|
| 531 |
+
Now, we impose periodic boundary conditions20 on the components of $\gamma$ , and without loss of generality we let the period be $2 \pi$ . Further, we require that the manifold be contained in a $\bar { \mathsf { b } } \mathsf { o x } ^ { 2 1 }$ of some size in $\mathbb { R } ^ { d }$ . The $\mu$ -th component $\gamma _ { \mu }$ can now be expressed as a Fourier series:
|
| 532 |
+
|
| 533 |
+
$$
|
| 534 |
+
\gamma _ { \mu } ( { \mathbf { z } } ) = \sum _ { { \mathbf { p } } \in \mathbb { Z } ^ { m } } \widetilde { \gamma } _ { \mu } [ { \mathbf { p } } ] e ^ { - i p _ { \rho } z _ { \rho } } \qquad ( 3 3 ) \qquad \quad \partial _ { \nu } \gamma _ { \mu } ( { \mathbf { z } } ) = \sum _ { { \mathbf { p } } \in \mathbb { Z } ^ { m } } - i p _ { \nu } \widetilde { \gamma } _ { \mu } [ { \mathbf { p } } ] e ^ { - i p _ { \rho } z _ { \rho } }
|
| 535 |
+
$$
|
| 536 |
+
|
| 537 |
+
Equation 34 can be substituted in equation 32 to obtain:
|
| 538 |
+
|
| 539 |
+
$$
|
| 540 |
+
l \hat { l } _ { \nu } = - i k \sum _ { \mathbf { p } \in \mathbb { Z } ^ { m } } p _ { \nu } \hat { k } _ { \mu } \tilde { \gamma } _ { \mu } [ \mathbf { p } ] e ^ { - i p _ { \rho } z _ { \rho } }
|
| 541 |
+
$$
|
| 542 |
+
|
| 543 |
+
where we have split $k _ { \mu }$ and $l _ { \nu }$ in to their magnitudes $k$ and $l$ and directions $\hat { k } _ { \nu }$ and $\hat { l } _ { \mu }$ (respectively). We are now interested in the conditions on $\gamma$ under which the RHS can be large in magnitude, even when $k$ is fixed. Recall that $\gamma$ is constrained to a box – consequently, we can not arbitrarily scale up $\tilde { \gamma } _ { \mu }$ . However, if $\tilde { \gamma } _ { \mu } [ \mathbf { p } ]$ decays slowly enough with increasing $\mathbf { p }$ , the RHS can be made arbitrarily large (for certain conditions on $\mathbf { z }$ , $\hat { l } _ { \mu }$ and $\hat { k } _ { \nu }$ ).
|
| 544 |
+
|
| 545 |
+
# E VOLUME IN PARAMETER SPACE AND PROOF OF PROPOSITION 1
|
| 546 |
+
|
| 547 |
+
For a given neural network, we now show that the volume of the parameter space containing parameters that contribute $\epsilon$ -non-negligibly to frequency components of magnitude $k ^ { \prime }$ above a certain
|
| 548 |
+
|
| 549 |
+
cut-off $k$ decays with increasing $k$ . For notational simplicity and without loss of generality, we absorb the direction $\hat { \mathbf { k } }$ of $\mathbf { k }$ in the respective mappings and only deal with the magnitude $k$ .
|
| 550 |
+
|
| 551 |
+
Definition 1. Given a ReLU network $f _ { \theta }$ of fixed depth, width and weight clip $K$ with parameter vector $\theta$ , an $\epsilon > 0$ and $\Theta = B _ { K } ^ { \infty } ( 0 )$ a $L ^ { \infty }$ ball around 0, we define:
|
| 552 |
+
|
| 553 |
+
$$
|
| 554 |
+
\Xi _ { \epsilon } ( k ) = \{ \theta \in \Theta | \exists k ^ { \prime } > k , | \tilde { f } _ { \theta } ( k ^ { \prime } ) | > \epsilon \}
|
| 555 |
+
$$
|
| 556 |
+
|
| 557 |
+
as the set of all parameters vectors $\theta \in \Xi _ { \epsilon } ( k )$ that contribute more than an $\epsilon$ in expressing one or more frequencies $k ^ { \prime }$ above a cut-off frequency $k$ .
|
| 558 |
+
|
| 559 |
+
Remark 1. If $k _ { 2 } \geq k _ { 1 }$ , we have $\Xi _ { \epsilon } ( k _ { 2 } ) \subseteq \Xi _ { \epsilon } ( k _ { 1 } )$ and consequently $\nu o l ( \Xi _ { \epsilon } ( k _ { 2 } ) ) \leq \nu o l ( \Xi _ { \epsilon } ( k _ { 1 } ) )$ , where vol is the Lebesgue measure.
|
| 560 |
+
|
| 561 |
+
Lemma 4. Let $1 _ { k } ^ { \epsilon } ( \theta )$ be the indicator function on $\Xi _ { \epsilon } ( k )$ . Then:
|
| 562 |
+
|
| 563 |
+
$$
|
| 564 |
+
\exists \kappa > 0 : \forall k \geq \kappa , 1 _ { k } ^ { \epsilon } ( \theta ) = 0
|
| 565 |
+
$$
|
| 566 |
+
|
| 567 |
+
Proof. From theorem 1, we know that22 $| \tilde { f } _ { \theta } ( k ) | = \mathcal { O } ( k ^ { - \Delta - 1 } )$ for an integer $1 \leq \Delta \leq d$ . In the worse case where $\Delta = 1$ , we have that $\begin{array} { r } { \exists M < \infty : | \tilde { f } _ { \theta } ( k ) | < \frac { M } { k ^ { 2 } } } \end{array}$ . Now, simply select a $\kappa > \sqrt { \frac { M } { \epsilon } }$ such that $\textstyle { \frac { M } { \kappa ^ { 2 } } } \ < \ \epsilon$ . This yields that $\begin{array} { r } { | \tilde { f } _ { \theta } ( \kappa ) | < \frac { M } { \kappa ^ { 2 } } < \epsilon } \end{array}$ , and given that $\begin{array} { r } { \frac { M } { \kappa ^ { 2 } } \le \frac { M } { k ^ { 2 } } \forall k \ge \kappa } \end{array}$ , we find $| \tilde { f } _ { \theta } ( k ) | < \epsilon \forall k \ge \kappa$ . Now by definition 1, $\theta \not \in \Xi _ { \epsilon } ( \kappa )$ , and since $\Xi _ { \epsilon } ( k ) \subseteq \Xi _ { \epsilon } ( \kappa )$ (see remark 1), we have $\theta \not \in \Xi _ { \epsilon } ( k )$ , implying $1 _ { k } ^ { \dot { \epsilon } } ( \theta ) = 0 \forall k \geq \kappa$ . □
|
| 568 |
+
|
| 569 |
+
Remark 2. We have $1 _ { k } ^ { \epsilon } ( \theta ) \leq | \tilde { f } _ { \theta } ( k ) |$ for large enough $k$ (i.e. for $k \geq \kappa _ { \mathrm { * } }$ ), since $| \tilde { f } _ { \theta } ( k ) | \geq 0$ .
|
| 570 |
+
|
| 571 |
+
Proposition 1. The relative volume of $\Xi _ { \epsilon } ( k )$ w.r.t. $\Theta$ is $\mathcal { O } ( k ^ { - \Delta - 1 } )$ where $1 \leq \Delta \leq d .$ .
|
| 572 |
+
|
| 573 |
+
Proof. The volume is given by the integral over the indicator function, i.e.
|
| 574 |
+
|
| 575 |
+
$$
|
| 576 |
+
\operatorname { v o l } ( \Xi _ { \epsilon } ( k ) ) = \int _ { \theta \in \Theta } 1 _ { k } ^ { \epsilon } ( \theta ) d \theta
|
| 577 |
+
$$
|
| 578 |
+
|
| 579 |
+
For a large enough $k$ , we have from remark 2, the monotonicity of the Lebesgue integral and theorem 1 that:
|
| 580 |
+
|
| 581 |
+
$$
|
| 582 |
+
\begin{array} { r l r } { { \mathrm { v o l } ( \Xi _ { \epsilon } ( k ) ) = \int _ { \theta \in \Theta } 1 _ { k } ^ { \epsilon } ( \theta ) d \theta \leq \int _ { \theta \in \Theta } | \tilde { f } _ { \theta } ( k ) | d \theta = \mathcal { O } ( k ^ { - d + \Delta - 1 } ) \mathrm { v o l } ( \Theta ) } } \\ & { } & { \implies \frac { \mathrm { v o l } ( \Xi _ { \epsilon } ( k ) ) } { \mathrm { v o l } ( \Theta ) } = \mathcal { O } ( k ^ { - \Delta - 1 } ) } \end{array}
|
| 583 |
+
$$
|
| 584 |
+
|
| 585 |
+
# F KERNEL MACHINES AND KNNS
|
| 586 |
+
|
| 587 |
+
In this section, in light of our findings, we want to compare DNNs with K-nearest neighbor (k-NN) classifier and kernel machines which are also popular learning algorithms, but are, in contrast to DNNs, better understood theoretically.
|
| 588 |
+
|
| 589 |
+
# F.1 KERNEL MACHINES VS DNNS
|
| 590 |
+
|
| 591 |
+
Given that we study why DNNs are biased towards learning smooth functions, we note that kernel machines (KM) are also highly Lipschitz smooth (Eg. for Gaussian kernels all derivatives are bounded). However there are crutial differences between the two. While kernel machines can approximate any target function in principal (Hammer & Gersmann, 2003), the number of Gaussian kernels needed scales linearly with the number of sign changes in the target function (Bengio et al., 2009). Ma & Belkin (2017) have further shown that for smooth kernels, a target function cannot be approximated within $\epsilon$ precision in any polynomial of $1 / \epsilon$ steps by gradient descent.
|
| 592 |
+
|
| 593 |
+
Deep networks on the other hand are also capable of approximating any target function (as shown by the universal approximation theorems Hornik et al. (1989); Cybenko (1989)), but they are also parameter efficient in contrast to KM. For instance, we have seen that deep ReLU networks separate the input space into number of linear regions that grow polynomially in width of layers and exponentially in the depth of the network (Montufar et al., 2014; Raghu et al., 2016). A similar result on the exponentially growing expressive power of networks in terms of their depth is also shown in (Poole et al., 2016). In this paper we have further shown that DNNs are inherently biased towards lower frequency (smooth) functions over a finite parameter space. This suggests that DNNs strike a good balance between function smoothness and expressibility/parameter-efficiency compared with KM.
|
| 594 |
+
|
| 595 |
+
# F.2 K-NN CLASSIFIER VS. DNN CLASSIFIER
|
| 596 |
+
|
| 597 |
+
$K$ -nearest neighbor $( K \mathrm { N N } )$ also has a historical importance as a classification algorithm due to its simplicity. It has been shown to be a consistent approximator Devroye et al. (1996), i.e., asymptotically its empirical risk goes to zero as $K \infty$ and $K / N 0$ , where $N$ is the number of training samples. However, because it is a memory based algorithm, it is prohibitively slow for large datasets. Since the smoothness of a $K \mathbf { N N }$ prediction function is not well studied, we compare the smoothness between $K \mathbf { N N }$ and DNN. For various values of $K$ , we train a $K \mathbf { N N }$ classifier on a $k = 1 5 0$ frequency signal (which is binarized) defined on the $L = 2 0$ manifold (see section 4), and extract probability predictions on a box interval in $\mathbb { R } ^ { 2 }$ . On this interval, we evaluate the 2D FFT and integrate out the angular components to obtain $\zeta ( k )$ :
|
| 598 |
+
|
| 599 |
+
$$
|
| 600 |
+
\zeta ( k ) = \frac { d } { d k } \int _ { 0 } ^ { k } d k ^ { \prime } k ^ { \prime } \int _ { 0 } ^ { 2 \pi } d \varphi | \widetilde { f } ( k ^ { \prime } , \varphi ) |
|
| 601 |
+
$$
|
| 602 |
+
|
| 603 |
+
Finally, we plot $\zeta ( k )$ for various $K$ in figure 16e. Furthermore, we train a DNN on the very same dataset and overlay the radial spectrum of the resulting probability map on the same plot. We find that while DNN’s are as expressive as a $K = 1$ KNN classifier at lower (radial) frequencies, the frequency spectrum of DNNs decay faster than KNN classifier for all values of $K$ considered, indicating that the DNN is smoother than the KNNs considered. We also repeat the experiment corresponding to Fig. 4 with KNNs (see Fig. 16) for various $K$ ’s, to find that unlike DNNs, KNNs do not necessarily perform better for larger $L$ ’s, suggesting that KNNs do not exploit the geometry of the manifold like DNNs do.
|
| 604 |
+
|
| 605 |
+

|
| 606 |
+
Figure 16: (a,b,c,d): Heatmaps of training accuracies $L$ -vs- $k$ ) of KNNs for various $K$ . When comparing with figure 4, note that the y-axis is flipped. (e): The frequency spectrum of $K \mathrm { N N s }$ with different values of $K$ , and a DNN. The DNN learns a smoother function compared with the KNNs considered since the spectrum of the DNN decays faster compared with $K \mathrm { N N s }$ .
|
parse/train/r1gR2sC9FX/r1gR2sC9FX_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1gR2sC9FX/r1gR2sC9FX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1gR2sC9FX/r1gR2sC9FX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkzfuiA9F7/rkzfuiA9F7.md
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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7 |
+
Generalization from limited examples, usually studied under the umbrella of metalearning, equips learning techniques with the ability to adapt quickly in dynamical environments and proves to be an essential aspect of lifelong learning. In this paper, we introduce the Projective Subspace Networks (PSN), a deep learning paradigm that learns non-linear embeddings from limited supervision. In contrast to previous studies, the embedding in PSN deems samples of a given class to form an affine subspace. We will show that such modeling leads to robust solutions, yielding competitive results on supervised and semi-supervised few-shot classification. Moreover, our PSN approach has the ability of end-to-end learning. In contrast to previous works, our projective subspace can be thought of as a richer representation capturing higher-order information datapoints for modeling new concepts.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Supervised learning with deep architectures, though achieving remarkable results in many areas, requires large amount of annotated data. Various studies show that many deep learning techniques in computer vision, speech recognition and natural language understanding, to name a few methods stated in Hinton et al. (2012); Krizhevsky et al. (2012), will fail to produce reliable models that generalize well if limited data annotations are available. Aside from the labor associated with annotating data, precise annotation can become ill-posed in some cases. One prime example of such a difficulty is object detection labeling which requires annotating bounding boxes of objects as explained in Alexe et al. (2012).
|
| 12 |
+
|
| 13 |
+
In contrast to the current trend in deep learning, humans can learn new concepts from only a few examples. This in turn provides humans with lifelong learning abilities. Inspired by such learning abilities, several approaches are developed to study learning from limited examples Lake et al. (2015); Lazaridou et al. (2017); Vinyals et al. (2016); Triantafillou et al. (2017); Xu et al. (2017); Finn et al. (2017); Ravi & Larochelle (2017); Wang et al. (2018); Mishra et al. (2018); Qiao et al. (2018); Neill & Buitelaar (2018). In machine learning, the diverse ideas in this context include embedding features through metric learning (Koch et al. (2015), Vinyals et al. (2016)), optimization technique(Finn et al. (2017), Ravi & Larochelle (2017)), and generative models(Fei-Fei et al. (2006), Lake et al. (2015)).
|
| 14 |
+
|
| 15 |
+
In this work, we propose a deep model that learns new concepts from limited data to address two challenging learning problems; namely: (i) few-shot classification and (ii) semi-supervised few-shot learning. The goal of few-shot classification is to learn a model that can discriminate a given query by comparing it to a few of samples (a.k.a. the support set). An example is to classify a motorcycle by viewing some different types of motorcycles (or other vehicles). The goal of semi-supervised few-shot learning is to additionally benefit from unlabeled data to boost the performance of the model.
|
| 16 |
+
|
| 17 |
+
Our method, coined Projective Subspace Networks or PSN for short, learns non-linear embeddings using subspaces, in a sense that samples of a class are modeled as a low-dimensional affine subspace. The use of subspaces to model images and sets has a long history in computer vision and machine learning. For example, it has been proved that the set of all reflectance functions (the mapping from surface normals to intensities) produced by Lambertian objects lie close to a low-dimensional linear subspace (Basri & Jacobs (2003)).
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Feature embedding in (a) Matching Networks (Vinyals et al. (2016)), (b) Prototypical Networks(Snell et al. (2017)), and (c) our PSN method.
|
| 21 |
+
|
| 22 |
+
In spite of its intriguing properties, to the best of our knowledge, the subspace modeling has never been used previously to address few-shot learning problems. This makes our paper distinct and novel as compared to former studies (e.g., Vinyals et al. (2016); Snell et al. (2017)). Fig. 1 provides a conceptual illustration of our approach.
|
| 23 |
+
|
| 24 |
+
We empirically observed that embeddings tailored towards capturing the structure of each class through low-dimensional affine subspaces could lead to discriminative models. Interestingly, such models can be built with minimum overheads and without opting for advanced methods in subspace creation (e.g., such as the notion of sparsity). Our conjecture here is that subspaces are less sensitive to perturbations such as outliers and noise compared to other embedding techniques for few-shot learning as illustratively shown in Fig. 2.
|
| 25 |
+
|
| 26 |
+
Our contributions in this work are:
|
| 27 |
+
|
| 28 |
+
i. Few-shot learning is formulated as an embedding problem through subspaces. We rely on a well-established concept stating that samples of a class (and hence variations such as pose and illumination) can be effectively captured by a low-dimensional affine space.
|
| 29 |
+
ii. Adaptation from few-shot learning to semi-supervised learning is performed with a refinement through soft-assignment. The robustness of such a model is shown in our experiments.
|
| 30 |
+
iii. We also introduce an evaluation mechanism to assess the generalization ability over unseen classes during test time.
|
| 31 |
+
|
| 32 |
+
# 2 RELATED WORK
|
| 33 |
+
|
| 34 |
+
In this section, we briefly review the literature on few-shot learning and subspace clustering. Fewshot learning was originally introduced to imitate human learning capabilities in classification. Some of the early works made use of generative models and similarity learning to capture the variation within parts and geometric configurations of objects (Fei-Fei et al. (2006); Lake et al. (2015); Torralba et al. (2007)). As of late, few-shot problems are mainly addressed through meta-learning techniques. For example, in Koch et al. (2015); Vinyals et al. (2016); Snell et al. (2017); Garcia & Bruna (2018), the problem of few-shot learning is formulated as non-linear embedding or representation learning.
|
| 35 |
+
|
| 36 |
+
The closest approach to our proposed work is the Prototypical Networks (PN hereafter) model ( Snell et al. (2017)). It uses the random choice of episode images which form the prototype center per class. In addition, recent metric learning approaches use complex architectures and pipelines in convolutional networks of Gidaris & Komodakis (2018) and Wang et al. (2018). In contrast, our projective subspace concept is extremely simple by design as it constitutes just a single layer of the network.
|
| 37 |
+
|
| 38 |
+
Another common meta-learning approach to few-shot classification uses meta-learning and manipulates gradient updates to train the model parameters. Ravi & Larochelle (2017) utilized Long-Short Term Memory (LSTM)-based learner to optimize the model parameters and their gradients. Moreover, the Model Agnostic Meta-Learner(MAML) proposed by Finn et al. (2017) used gradients per task as well as a meta-gradient from combined tasks, and, as a result, it outperformed LSTM-based learner. Mishra et al. (2018) employed ResNets to model few-shot classification as a temporal solution with aggregation, thus, in meta-learning context, their model can refer to the past experience.
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
Figure 2: The effect of outliers on prototypes and subspaces. The odd rows show the decision boundaries obtained by prototypes (with and without outliers) for two- and three-class problems. The even rows depict how subspaces behave for the same problems. While affected, in general, subspaces show better resilience to perturbations and attain higher discriminatory power in comparison to prototypes. Best viewed in color.
|
| 42 |
+
|
| 43 |
+
Our idea is based on the assumption that samples from any class in the support set form a lowdimensional subspace. As we will show, to train PSN, backpropagation through Singular Value Decomposition (SVD) is required. Backpropagation through matrix decomposition such as SVD is a well-studied problem Ionescu et al. (2015) with applications ranging from semantic segmentation to classification and visual recognition Ionescu et al. (2015); Li et al. (2017a); Gou et al. (2018).
|
| 44 |
+
|
| 45 |
+
# 3 PROBLEM SET-UP
|
| 46 |
+
|
| 47 |
+
We start by defining the terminology used in few-shot learning. The problem of $N$ -way $K$ -shot classification (e.g., 5-way 1-shot) is defined as classifying queries belonging to $N$ classes by seeing only $K$ samples from each class. For example, in 5-way 1-shot setting, the model needs to identify a query among five classes by seeing only one sample from each class. To obtain a reliable model, so-called episodes are used in training. An episode $\mathcal { T } _ { i }$ consists of two sets, the support set $S$ and the query set $Q$ . The system is then trained by minimizing a classification loss over episodes, simulating the scenarios it will encounter at test time. This episode setting is the same as proposed by Vinyals et al. (2016).
|
| 48 |
+
|
| 49 |
+
A related problem is semi-supervised few-shot setting learning where unlabeled data is provided to the model. In the literature, various configurations are considered for semi-supervised few-shot learning (e.g., Garcia & Bruna (2018); Boney & Ilin (2017); Ren et al. (2018)). In this work, we follow the challenging protocol in Ren et al. (2018) where so-called distractors are introduced. Here, an episode includes the support set $S$ , query set $Q$ , and unlabeled set $\mathcal { R }$ . The support (labeled) $S$ and query $Q$ sets are configured as in few-shot learning. Additionally, an unlabeled set $\mathcal { R }$ is provided to assist the classification task within an episode. In the unlabeled set, there are examples from two different sources: the support classes and the distractor classes. As the name implies, examples from distractor classes are irrelevant to the classification task and represent classes outside the support set.
|
| 50 |
+
|
| 51 |
+
# 4 PROJECTIVE SUBSPACE NETWORKS
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
Figure 3: Projective Subspace Networks Architecture
|
| 55 |
+
|
| 56 |
+
In what follows, we introduce our PSN approach. The whole framework is trained end-to-end (see Fig. 3) which enables PSN to be used with various deep architectures. As an example, in $\ S$ , we use PSN on top of the WideResNets (Zagoruyko & Komodakis (2016)) for few-shot classification.
|
| 57 |
+
|
| 58 |
+
We start by introducing our notations for the $N$ -way, $K$ -shot) few-shot learning. Each episode or task $\mathcal { T } _ { i }$ is composed of the support set $S = \{ ( \pmb { x } _ { 1 , 1 } , c _ { 1 , 1 } ) , ( \pmb { x } _ { 1 , 2 } , c _ { 1 , 2 } ) , \cdots , ( \pmb { x } _ { N , K } , c _ { N , K } ) \}$ and the query set $Q = \{ \pmb { q } _ { 1 } , \cdots , \pmb { q } _ { N \times M } \}$ . Here, $\mathbf { \delta } _ { \mathbf { x } _ { i , j } }$ denotes the $j$ -th sample from class $i$ and $c _ { i , j } ~ \in$ $\{ 1 , \cdots , N \}$ . In the semi-supervised setting, there is an unlabeled set $\mathcal { R } \ = \ \{ \boldsymbol { r } _ { 1 } , . . , \boldsymbol { r } _ { U } \}$ within an episode. We propose to model points by subspaces $\{ Z _ { i } \} _ { i = 1 } ^ { N }$ . Each subspace $\boldsymbol { Z } _ { i }$ has a basis represented by $\mathbb { R } ^ { D \times n } \ni P _ { i } = [ \pmb { p } _ { 1 } , \cdot \cdot \cdot , \pmb { p } _ { n } ] ; n \leq D$ , with $P _ { i } ^ { \top } P _ { i } = \mathbf { I } _ { n }$ .
|
| 59 |
+
|
| 60 |
+
# 4.1 PSN FOR FEW-SHOT CLASSIFICATION
|
| 61 |
+
|
| 62 |
+
Let $f _ { \Theta } : \mathcal { X } \xrightarrow { } \mathbb { R } ^ { D }$ be a mapping from the input space $\mathcal { X }$ to some $D$ -dimensional representation realized by a neural network. Our goal is to learn $\Theta$ , i.e., the embedding function in a way that the resulting space is suitable for subspace representation. For simplicity, we assume that every class in an episode can be described by just one subspace. Extension to multiple subspaces per class is straightforward though. Define $\mu _ { k }$ as the mean of class $k$ in the embedded space. That is,
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\pmb { \mu } _ { k } = \frac { 1 } { K } \sum _ { i , \ c _ { i } = k } f _ { \Theta } ( \pmb { x } _ { i } ) .
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
A basis for the subspace representing class $k$ can be obtained by Singular Value Decomposition (SVD). To be specific, we define $\mathbf { } X _ { k } = [ \pmb { x } _ { k , 1 } - \pmb { \mu } _ { k } , \cdot \cdot \cdot , \pmb { x } _ { k , K } - \pmb { \mu } _ { k } ]$ . Applying truncated SVD on $X _ { k }$ provides us with $P _ { k }$ . We emphasize that more involved techniques to obtain robust subspaces from $X _ { k }$ can potentially improve the PSN. Nevertheless, our goal is to assess whether the concept of subspace modeling for few-shot learning is justified or not and thus we opt for truncated SVD in our implementation. Now a query $\mathbf { \Delta } \mathbf { q } _ { j }$ can be projected onto $P _ { k }$ which yields:
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\pmb { y } _ { j , k } = \pmb { P } _ { k } ^ { \top } ( f _ { \Theta } ( \pmb { q } _ { j } ) - \pmb { \mu } _ { k } ) .
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
The distance from the query to $P _ { k }$ is:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
d _ { j , k } = \| f _ { \Theta } ( \pmb q _ { j } ) - \pmb \mu _ { k } - P _ { k } \pmb y _ { j , k } \| .
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
We define the probability of the query assigned to class $k$ using a softmax function as:
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
p _ { \Theta } ( c = k | \pmb { q } _ { j } ) = \frac { \exp \big ( - d _ { j , k } ^ { 2 } \big ) } { \sum _ { k ^ { \prime } } \exp \big ( - d _ { j , k ^ { \prime } } ^ { 2 } \big ) } .
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
Now, we can minimize the negative log of Eqn. 4 to obtain $\Theta$ . To train the whole framework, backpropagation through SVD is required which is available in modern deep learning packages such as PyTorch (Paszke et al. (2017)). Algorithm 1 explains the steps of training our PSN. The code will be released online on Github1.
|
| 87 |
+
|
| 88 |
+
# Algorithm 1 Train Projective Subspace Networks
|
| 89 |
+
|
| 90 |
+
<table><tr><td rowspan="16">Input: Each episode Ti with S = {(x1,1,C1,1), , (xN,K,cN,K)} and Q = {q1,,qN×M}</td><td>1:Oo← random initialization</td></tr><tr><td>2: for t in{Ti,..,TNT} do 3: Lt←0 4:</td></tr><tr><td>for k in {1,., N} do X←Sk</td></tr><tr><td>Get examples in the support set from class k Mean from the support set</td></tr><tr><td>μk ← k∑x∈x fe(x) Kμk +∑imife(ri) μk←</td></tr><tr><td>Refined mean(only semi-supervised learning) K+∑mi</td></tr><tr><td>8: X ←[xi - μk,..,xk- μk] 9:</td></tr><tr><td>[u,∑,vT] ← SVD(X) >Matrix factorization using SVD</td></tr><tr><td>10: Pk ←U1....n Truncate the matrix 11: for qj in Qk do</td></tr><tr><td>12: Yj,k ←PT(fe(qj)-μk) Query projection</td></tr><tr><td>13: dj,k ← |lfe(qj)-μk -Pkyj,kll Distance calculation</td></tr><tr><td>exp(-d,k) 14: Pj,k← Softmax on distance scores</td></tr><tr><td>∑k exp(-d,)</td></tr><tr><td>15: end for</td></tr><tr><td>16: end for 17:</td></tr><tr><td>Lt ←N2m∑k∑;-log (pj,k)</td></tr><tr><td>18: Update Θ using VLt 19: end for</td></tr></table>
|
| 91 |
+
|
| 92 |
+
# 4.2 PSN FOR SEMI-SUPERVISED FEW-SHOT LEARNING
|
| 93 |
+
|
| 94 |
+
In what follows, we extend the model developed in $\ S 4 . 1$ to address semi-supervised few-shot learning. In doing so, we need to take advantage of the unlabeled data to fit better subspaces to our data. We achieve this by refining the center of each class according to
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\tilde { \mu } _ { k } = \frac { K \mu _ { k } + \sum _ { i } m _ { i } f _ { \Theta } ( r _ { i } ) } { K + \sum _ { i } m _ { i } } , \quad \mathrm { w h e r e } \quad m _ { i } = \frac { \exp ( - \| f _ { \Theta } ( r _ { i } ) - \mu _ { k } ) \| ^ { 2 } ) } { \sum _ { k ^ { \prime } } \exp ( - \| f _ { \Theta } ( r _ { i } ) - \mu _ { k ^ { \prime } } ) \| ^ { 2 } ) } \ .
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
Here, $m _ { i }$ is the soft-assignment score for unlabeled samples. To work at the presence of distractors, we use a fake class with zero mean. We empirically observed that such a simple modification to the means can improve the results without the need of refining the SVD step.
|
| 101 |
+
|
| 102 |
+
# 5 EXPERIMENTS
|
| 103 |
+
|
| 104 |
+
Below we contrast and assess our method against state-of-the-art techniques on two challenging datasets, namely Mini-ImageNet (Ravi & Larochelle (2017)) and Tiered-ImageNet (Ren et al.
|
| 105 |
+
|
| 106 |
+
Table 1: Few-shot classification results on Mini-ImageNet using 4-convolutional stages with $9 5 \%$ confidence intervals.
|
| 107 |
+
|
| 108 |
+
<table><tr><td>Models</td><td>5-way 5-shot</td><td>20-way 5-shot</td></tr><tr><td>Matching Nets (Vinyals et al. (2016))</td><td>55.31 ± 0.73%</td><td>22.69±0.20%</td></tr><tr><td>MAML (Finn et al. (2017))</td><td>63.11 ± 0.92%</td><td>19.29 ± 0.29%</td></tr><tr><td>Meta-LearnerLSTM(Ravi & Larochelle (2017))</td><td>60.60 ± 0.71%</td><td>26.06 ± 0.25%</td></tr><tr><td>Meta-SGD (Li et al. (2017b))</td><td>64.03 ± 0.94%</td><td>28.92 ± 0.35%</td></tr><tr><td>PN(Snell et al. (2017))</td><td>65.49 ± 0.25%</td><td>37.23 ± 0.21%</td></tr><tr><td>PSN</td><td>66.62± 0.69%</td><td>38.26 ± 0.23%</td></tr></table>
|
| 109 |
+
|
| 110 |
+
(2018)). As the rule of thumb, the parameters of subspace dimension $( n )$ that we used in the experiments are $K$ -1 for training and two for testing stage.
|
| 111 |
+
|
| 112 |
+
Mini-ImageNet. The Mini-ImageNet(Ravi & Larochelle (2017)) contains 60,000 images of the ImageNet(Russakovsky et al. (2015)) datasets. Images in the Mini-ImageNet are of size $8 4 \times 8 4$ and represent 100 classes with 64, 16, and 20 classes used for training, validation, and testing, respectively.
|
| 113 |
+
|
| 114 |
+
Tiered-ImageNet. This dataset is also derived from ImageNet but contains a broader set of classes compared to the Mini-ImageNet. There are 351 classes from 20 different categories for training, 97 classes from 6 different categories for validation, and 160 classes from 8 different categories for testing. In contrast to the Mini-ImageNet, the training and test sets in Tiered-ImageNet represent distinct classes. Moreover, in designing the Tiered-ImageNet, the problem of few-shot learning with unlabeled data was taken into account and the labeled data is only within a small percentage when performing semi-supervised learning. In this large dataset, learning from the labeled data is still sufficient to produce reasonable representations even though the unlabeled data is set in huge portion e.g., $9 0 \%$ .
|
| 115 |
+
|
| 116 |
+
# 5.1 FEW-SHOT LEARNING
|
| 117 |
+
|
| 118 |
+
We follow the general practice and evaluate our method on the Mini-ImageNet dataset when it comes to few-shot learning and classification. Various procedures such as pre-training using 64 classes (e.g., Qiao et al. (2018)) and training with more classes/way have shown to increase the overall accuracy. Nevertheless, we avoid such procedures deliberately as we are mainly interested in contrasting the core idea, i.e., the role of subspaces in few-shot learning. So, we trained on 5- way 5-shot and 20-way 5-shot, then applied the same classification task setup during testing. The CNN architecture is the same as the one used in Snell et al. (2017) with 4-convolutional stages. We also use WideResNets (Zagoruyko & Komodakis (2016)) with 16 depth, 6 widening factor, and 0.3 dropout rate to compare with ResNets (He et al. (2016)) solution reported by Mishra et al. (2018). The feature dimensions from both architectures are 1600 and 384 respectively. We used ADAM ( Kingma & Ba (2015)) for optimizing our model and set the learning rate to 0.001 and cut it to half every 2.5K episodes for both architectures.
|
| 119 |
+
|
| 120 |
+
Results. By design, the method cannot accommodate learning with exactly one example, hence, the comparison here is provided only for 5-shot in 5-way and 20-way. In every episode, the query set contains 15 samples from each class. Our method outperforms the previous methods with 4- convolutional stages shown in Table 1. We also implemented WideResNets (Zagoruyko & Komodakis (2016)) using our method and obtained the performance for 5-way 5-shot: ${ \bf 6 9 . 9 2 \pm 0 . 6 4 \% }$ and 20-way 5-shot: $\mathbf { 4 1 . 8 4 \pm 0 . 2 4 \% }$ that can outperform ResNets-based approach proposed by Mishra et al. (2018) with $6 8 . 8 8 \pm 0 . 9 2 \%$ in 5-way and 5-shot classification task.
|
| 121 |
+
|
| 122 |
+
# 5.2 SEMI-SUPERVISED FEW-SHOT LEARNING
|
| 123 |
+
|
| 124 |
+
In this experiment, the embedding architecture has 4-convolutional layers as PN (Snell et al. (2017)). We follow the experimental setup proposed by Ren et al. (2018). The episode composition for labeled or support set and query set is similar to the few-shot learning classification task, but there is an additional unlabeled set provided in each episode. Our model is trained on 100K episodes for
|
| 125 |
+
|
| 126 |
+
Table 2: Semi-supervised few-shot classification results on the Mini-ImageNet and Tiered-ImageNet with $4 0 \%$ and $1 0 \%$ labeled data, respectively. We show the classification results with and without distractors. We compare our results to PN on semi-supervised learning (PN-SSL) with soft $K$ -means (non-masked) and masked $K$ -means (masked), as proposed by Ren et al. (2018).
|
| 127 |
+
|
| 128 |
+
<table><tr><td rowspan=1 colspan=1>Models</td><td rowspan=1 colspan=2>Mini-ImageNet5-way 5-shot</td><td rowspan=1 colspan=2>Tiered-ImageNet5-way 5-shot</td></tr><tr><td rowspan=1 colspan=1>PN,SupervisedPSN, Supervised</td><td rowspan=1 colspan=2>59.08±0.22%63.43 ± 0.61%</td><td rowspan=1 colspan=2>66.15±0.22%68.72 ±0.49%</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>w/0Distractors</td><td rowspan=1 colspan=1>w/Distractors</td><td rowspan=1 colspan=1>w/oDistractors</td><td rowspan=1 colspan=1>w/Distractors</td></tr><tr><td rowspan=1 colspan=1>PN-SSL,Non-MaskedPN-SSL,MaskedPSN, Semi-Supervised</td><td rowspan=1 colspan=1>64.59±0.28%64.39 ± 0.24%68.12 ± 0.67%</td><td rowspan=1 colspan=1>63.55±0.28%62.96 ± 0.14%66.10 ± 0.66%</td><td rowspan=1 colspan=1>70.25 ± 0.31%69.88 ± 0.20%71.15 ± 0.67%</td><td rowspan=1 colspan=1>68.32 ± 0.22%69.08 ± 0.25%69.15 ± 0.51%</td></tr></table>
|
| 129 |
+
|
| 130 |
+
Mini-ImageNet
|
| 131 |
+
Table 3: Generalization performance of PSN and PN with varying number of way $( N )$ and shot $( K )$ at the test time.
|
| 132 |
+
|
| 133 |
+
<table><tr><td rowspan=1 colspan=1>Way(N)</td><td rowspan=1 colspan=1>Shot(K)</td><td rowspan=1 colspan=1>PSN</td><td rowspan=1 colspan=1>PN</td><td rowspan=1 colspan=1>Way(N)</td><td rowspan=1 colspan=1>Shot(K)</td><td rowspan=1 colspan=1>PSN</td><td rowspan=1 colspan=1>PN</td></tr><tr><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>35101520</td><td rowspan=1 colspan=1>61.26±0.79%66.62 ± 0.69%71.88 ±0.59%73.50 ±0.58%74.88± 0.63%</td><td rowspan=1 colspan=1>60.36 ±0.31%65.49 ±0.25%69.80 ±0.30%71.92 ±0.26%73.01± 0.31%</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>35101520</td><td rowspan=1 colspan=1>45.46±0.44%51.49 ± 0.46%57.14±0.41%60.20 ±0.39%61.38 ± 0.44%</td><td rowspan=1 colspan=1>44.09±0.28%49.06± 0.25%55.23± 0.27%58.06 ±0.22%59.27±0.22%</td></tr><tr><td rowspan=3 colspan=1>15</td><td rowspan=3 colspan=1>35101520</td><td rowspan=3 colspan=1>37.07 ±0.33%43.18 ±0.32%49.44±0.31%51.96 ± 0.32%54.23±0.34%</td><td rowspan=3 colspan=1>36.24±0.22%40.94±0.24%47.19 ±0.21%49.85 ±0.25%51.37 ± 0.20%</td><td rowspan=3 colspan=1>20</td><td rowspan=3 colspan=1>35101520</td><td rowspan=1 colspan=1>32.13±0.25%37.71± 0.23%</td><td rowspan=2 colspan=1>31.43±0.18%35.58 ±0.17%41.69 ± 0.16%</td></tr><tr><td rowspan=1 colspan=1>44.09±0.22%</td><td rowspan=1 colspan=1>41.6</td></tr><tr><td rowspan=1 colspan=1>47.27±0.22%49.00 ±0.23%</td><td rowspan=1 colspan=1>44.37± 0.17%45.90± 0.18%</td></tr></table>
|
| 134 |
+
|
| 135 |
+
Mini-ImageNet and Tiered-ImageNet with $4 0 \%$ and $1 0 \%$ of labeled data, respectively. We used the ADAM solver (Kingma & Ba (2015)), the set the learning rate to 0.001 with the weight decay and cut the rate to half every 10K episodes. We trained in two settings: (i) supervised setting, where only labeled data is taken into account, and (ii) semi-supervised setting for which the unlabeled set is also used. The unlabeled set is composed of the examples from the classes in the support set and distractor classes. The number of supporting classes and distractor classes is set to five for training and testing. In the training stage, the number of examples in the unlabeled set is 50 consisting of five examples from each class. In the testing stage, the unlabeled set consists of 20 examples from each class. We also define the query set to have 20 examples per class for testing purpose.
|
| 136 |
+
|
| 137 |
+
Results. In these experimental results, the performance is counted over 600 episodes. The results are averaged over 10 random splits of labeled and unlabeled sets. The supervised experiment shows that our method learns robust feature embedding from a small portion of labeled data. With the help of soft-assignment over unlabeled datapoints, the semi-supervised experiment detailed in Table 2 is demonstrated to outperform Prototypical Networks for Semi-Supervised Learning (PN-SSL) proposed by Ren et al. (2018).
|
| 138 |
+
|
| 139 |
+
# 5.3 GENERALIZATION BEYOND $N$ -WAY $K$ -SHOT
|
| 140 |
+
|
| 141 |
+
As a measure of generalization ability, we propose to evaluate algorithms beyond the somehow inflexible testing protocol of few-shot learning. In particular, we assess whether a model trained on low number of classes can generalize well to classification tasks involving large number of classes. To gain more insights, we further study how models trained with the $K$ -shot assumption will perform if extra examples are available at the test time.
|
| 142 |
+
|
| 143 |
+
In the evaluation below, all models are trained with the 5-way 5-shot setting. At the test time, the models face the test protocol of $N$ -way $K$ -shot learning with $N ~ \in ~ \overline { { \{ 5 , 1 0 , 1 5 , 2 0 \} } }$ and $K \in \{ 3 , 5 , 1 0 , 1 5 , 2 0 \}$ . Table 3 contrasts the performance of PSN against PN. The table is selfexplanatory. In all experiments, PSN outperforms PN with the gap widened with more challenging settings (e.g., 20-way 20-shot).
|
| 144 |
+
|
| 145 |
+
Robustness to Perturbations. Our motivation to develop PSN is to devise a model that shows better resilience to perturbations. Intuitively, to have a noticeable change in the orientation of a subspace, one needs to induce drastic changes to the set. To empirically verify our claim, we assess how robust is PSN in comparison to PN (Snell et al. (2017)) in the presence of perturbations. In particular, we considered the problems of 5-way 5-shot and 5-way 10-shot learning and introduced two types of perturbations at the test time to the trained models. Firstly, we randomly sampled examples from classes not presented in the support sets and included them in the support examples. Secondly, noisy examples are generated randomly using a multivariate Gaussian distribution with random mean and variance of $\sigma = \{ 0 . 1 5 , 0 . 3 , 0 . 4 \}$ . The results of this study are presented in Appendix A due to page limitations. To summarize, our experiments show that both PSN and PN are affected by outliers negatively. That said, the PSN exhibits a much better degree of resilience to outliers. When additive noise is considered, PSN behaves robustly for a wide-range of contamination. In contrast, the performance of PN drops rapidly and significantly in the presence of noise, reinforcing our idea that the use of subspaces indeed leads to a more robust model for the task in hand.
|
| 146 |
+
|
| 147 |
+
# 6 DISCUSSION
|
| 148 |
+
|
| 149 |
+
Conceptually, the PN Snell et al. (2017) is the closest work to ours as both solutions obtain a refined representation for each class in the support sets, with the former using the class mean as the representation while in PSN affine subspaces model classes. That said, PSN also uses the mean of each class towards identifying their representative subspaces. Aside from the theoretical properties of affine subspaces2, we empirically observed that for more challenging setups (e.g., 20-way 20-shot), utilizing the mean leads to a better performance. This is because prototypes lie on subspaces in the feature space. Additionally, prototypes in the PN can be easily utilized to design a hybrid with our approach.
|
| 150 |
+
|
| 151 |
+
Remark 1. Interestingly, in special cases, PSN simplifies to PN. For example, if samples of a class span a infinitesimal region, at the limit, collapsing to a point, then an affine subspace reduces to a point, recovering PN from PSN.
|
| 152 |
+
|
| 153 |
+
Remark 2. Since it is not possible to build an affine subspace from only one example, PSN cannot address $^ { l }$ -shot learning problems per se. However, simply applying augmentations to support images facilitates 1-shot learning. However, this issue is beyond the point we make in this work.
|
| 154 |
+
|
| 155 |
+
Subspace Dimension. In comparison to other models such as matching networks or PN, PSN comes with an extra hyper-parameter, the dimensionality of the subspaces $( i . e . , n )$ . As a rule of thumb, we recommend to use $n = K - 1$ to train the model, while $n = 2$ at the test time gives reasonable and robust results. That said, we thoroughly studied the effect of this parameter and summarized our findings in Appendix B. In short, PSN exhibits a great degree of robustness to $n$ , which in turns, makes training of them painless.
|
| 156 |
+
|
| 157 |
+
Computational Complexity. The computational complexity of our PSN approach is $\mathcal { O } ( \operatorname* { m i n } ( N D ^ { 2 } K , N D K ^ { 2 } ) )$ , where $K$ , $N$ , and $D$ are the number of shot, way, and feature dimensionality respectively. Compared to the complexity of the PN algorithm, i.e., $\mathcal { O } ( N D K )$ , our algorithm is somehow slower due to the involvement of the SVD step. If the complexity is of a concern, fast approximate algorithms for SVD (e.g., Menon & Elkan (2011)) can be considered.
|
| 158 |
+
|
| 159 |
+
# 7 CONCLUSIONS
|
| 160 |
+
|
| 161 |
+
This paper presents the PSN, a novel approach for few-shot learning that employs nonlinear embeddings and modeling via affine subspaces. Empirically, we showed that the representations learned via PSN were expressive across a wide-range of supervised and semi-supervised few-shot problems.
|
| 162 |
+
|
| 163 |
+
In PSN, each class is represented by the subspace formed by all its examples, meaning that each class is modeled by the span of its samples. One possibility to extend the PSN modeling is to benefit -cleverly- from the null space associated with each class, in the hope of designing a more discriminative model.
|
| 164 |
+
|
| 165 |
+
# REFERENCES
|
| 166 |
+
|
| 167 |
+
Bogdan Alexe, Thomas Deselaers, and Vittorio Ferrari. Measuring the objectness of image windows. IEEE Transactions on Pattern Analysis and Machine Intelligence(TPAMI), 34:2189–2202, 2012.
|
| 168 |
+
|
| 169 |
+
Ronen Basri and David W. Jacobs. Lambertian reflectance and linear subspaces. IEEE Transactions on Pattern Analysis and Machine Intelligence(TPAMI), 25:218–233, 2003.
|
| 170 |
+
|
| 171 |
+
Rinu Boney and Alexander Ilin. Semi-supervised few-shot learning with prototypical networks. arXiv preprint arXiv:1711.10856, 2017.
|
| 172 |
+
|
| 173 |
+
Li Fei-Fei, Rob Fergus, and Pietro Perona. One-shot learning of object categories. IEEE Transactions on Pattern Analysis and Machine Intelligence(TPAMI), 28:594–611, 2006.
|
| 174 |
+
|
| 175 |
+
Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In International Conference on Machine Learning(ICML), 2017.
|
| 176 |
+
|
| 177 |
+
Victor Garcia and Joan Bruna. Few-shot learning with graph neural networks. In International Conference on Learning Representations(ICLR), 2018.
|
| 178 |
+
|
| 179 |
+
Spyros Gidaris and Nikos Komodakis. Dynamic few-shot visual learning without forgetting. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018.
|
| 180 |
+
|
| 181 |
+
Mengran Gou, Fei Xiong, Octavia Camps, and Mario Sznaier. Monet: Moments embedding network. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2018.
|
| 182 |
+
|
| 183 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
|
| 184 |
+
|
| 185 |
+
Geoffrey E. Hinton, Li Deng, Dong Yu, George E. Dahl, Abdel rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N. Sainath, and Brian Kingsbury. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6):82–97, 2012.
|
| 186 |
+
|
| 187 |
+
Catalin Ionescu, Orestis Vantzos, and Cristian Sminchisescu. Matrix backpropagation for deep networks with structured layers. In IEEE International Conference on Computer Vision (ICCV), 2015.
|
| 188 |
+
|
| 189 |
+
Diederik P. Kingma and Jimmy L. Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations(ICLR), 2015.
|
| 190 |
+
|
| 191 |
+
Gregory Koch, Richard Zemel, and Ruslan Salakhutdinov. Siamese neural networks for one-shot image recognition. In International Conference on Machine Learning Deep Learning 2015 Workshop, 2015.
|
| 192 |
+
|
| 193 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems(NIPS), 2012.
|
| 194 |
+
|
| 195 |
+
Brenden M. Lake, Ruslan Salakhutdinov, and Joshua B. Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350:1332–1338, 2015.
|
| 196 |
+
|
| 197 |
+
Angeliki Lazaridou, Marco Marelli, and Marco Baroni. Multimodal word meaning induction from minimal exposure to natural text. Cognitive Science, 41 Suppl 4:677–705, 2017.
|
| 198 |
+
|
| 199 |
+
Peihua Li, Jiangtao Xie, Qilong Wang, and Wangmeng Zuo. Is second-order information helpful for large-scale visual recognition? In IEEE International Conference on Computer Vision (ICCV), 2017a.
|
| 200 |
+
|
| 201 |
+
Zhenguo Li, Fengwei Zhou, Fei Chen, and Hang Li. Meta-sgd: Learning to learn quickly for few shot learning. arXiv preprint arXiv:1707.09835, 2017b.
|
| 202 |
+
|
| 203 |
+
Aditya K. Menon and Charles Elkan. Fast algorithms for approximating the singular value decomposition. ACM Trans. Knowl. Discov. Data(TKDD), 5:13:1–13:36, 2011.
|
| 204 |
+
|
| 205 |
+
Nikhil Mishra, Mostafa Rohaninejad, Xi Chen, and Pieter Abbeel. A simple neural attentive metalearner. In International Conference on Learning Representations(ICLR), 2018.
|
| 206 |
+
|
| 207 |
+
James O’ Neill and Paul Buitelaar. Few shot transfer learning betweenword relatedness and similarity tasks using a gated recurrent siamese network. In AAAI Conference on Artificial Intelligence, 2018.
|
| 208 |
+
|
| 209 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In NIPS Autodiff Workshop, 2017.
|
| 210 |
+
|
| 211 |
+
Siyuan Qiao, Chenxi Liu, Wei Shen, and Alan L. Yuille. Few-shot image recognition by predicting parameters from activations. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018.
|
| 212 |
+
|
| 213 |
+
Sachin Ravi and Hugo Larochelle. Optimization as a model for few-shot learning. In International Conference on Learning Representations(ICLR), 2017.
|
| 214 |
+
|
| 215 |
+
Mengye Ren, Eleni Triantafillou, Sachin Ravi, Jake Snell, Kevin Swersky, Joshua B. Tenenbaum, Hugo Larochelle, and Richard S. Zemel. Meta-learning for semi-supervised few-shot classification. In International Conference on Learning Representations (ICLR), 2018.
|
| 216 |
+
|
| 217 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause andSanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, and et al. Michael Bernstein. Imagenet large scale visual recognition challenge. International Journal of Computer Vision(IJCV), 115:211–252, 2015.
|
| 218 |
+
|
| 219 |
+
Jake Snell, Kevin Swersky, and Zemel Richard. Prototypical networks for few-shot learning. In Advances in Neural Information Processing Systems(NIPS), 2017.
|
| 220 |
+
|
| 221 |
+
Antonio Torralba, Kevin P. Murphy, and William T. Freeman. Sharing visual features for multiclass and multiview object detection. IEEE Transactions on Pattern Analysis and Machine Intelligence(TPAMI), 29:854–869, 2007.
|
| 222 |
+
|
| 223 |
+
Eleni Triantafillou, Richard Zemel, and Raquel Urtasun. Few-shot learning through an information retrieval lens. In Advances in Neural Information Processing Systems(NIPS), 2017.
|
| 224 |
+
|
| 225 |
+
Oriol Vinyals, Charles Blundell, Tim Lillicrap, Koray Kavukcuoglu, and Daan Wierstra. Matching networks for one shot learning. In Advances in Neural Information Processing Systems(NIPS), 2016.
|
| 226 |
+
|
| 227 |
+
Yu-Xiong Wang, Ross Girshick, Martial Herbert, and Bharath Hariharan. Low-shot learning from imaginary data. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018.
|
| 228 |
+
|
| 229 |
+
Zhongwen. Xu, Linchao Zhu, and Yi Yang. Few-shot object recognition from machine-labeled web images. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017.
|
| 230 |
+
|
| 231 |
+
Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In British Machine Vision Conference(BMVC), 2016.
|
| 232 |
+
|
| 233 |
+
# Appendices
|
| 234 |
+
|
| 235 |
+
# A PERTURBATIONS EFFECT ON PERFORMANCE
|
| 236 |
+
|
| 237 |
+
In this section, we study the effect of perturbation on the performance of PN and PSN. More specifically, we considered the problems of 5-way 5-shot and 5-way 10-shot learning and introduced two types of perturbations at the test time with the trained models. Note that, the model is obtained from 5-way 5-shot training without perturbations. Firstly, we randomly sampled examples from classes not presented in the support sets. Secondly, additive noise is generated randomly using a multivariate Gaussian distribution with random mean and variance of $\sigma = \{ 0 . 1 5 , 0 . 3 , 0 . 4 \}$ . Both examples in these two types are included in the support examples for prototypes and subspaces creation.
|
| 238 |
+
|
| 239 |
+
The results of this study are depicted in Fig. 4. To summarize, our experiments show that both PSN and PN are affected by outliers negatively. That said, the PSN exhibits a much better degree of resilience to outliers. For example, modelling with PN leads to a drop of $19 \%$ and $12 \%$ percentage points when each support set has 20 outliers for the problem of 5-way 5-shot and 5-way 10-shot respectively. For the same experiment, the PSN modelling only suffers $11 \%$ and $9 \%$ percentage points of performance drop. When additive noise is considered, PSN behaves robustly for a widerange of contamination. In contrast, the performance of PN drops rapidly and significantly in the presence of noise, reinforcing our idea that subspaces form indeed a more robust model for the task in hand.
|
| 240 |
+
|
| 241 |
+

|
| 242 |
+
Figure 4: The charts show 5-way 5-shot and 5-way 10-shot results of the PSN and the PN algorithms in the presence of outliers and additive noise. In the first column, sub-plots show the effect of introducing outliers among support samples (the classes of outliers are disjoint with the support classes of samples). The second to fourth columns show the effect of introducing noisy examples generated randomly from Gaussian distributions with random means and variance of $\dot { \sigma } = \{ \bar { 0 . 1 5 } , \bar { 0 . 3 } , 0 . 4 \}$ , respectively. The performance is measured with increasing number of outliers and noisy examples (X-axes).
|
| 243 |
+
|
| 244 |
+
# B SUBSPACE DIMENSION EXPERIMENT
|
| 245 |
+
|
| 246 |
+
In this section, we report the results of experiments conducted to assess the effect of the subspace dimensionality $( i . e . , n )$ on the overall accuracy of the algorithm. In particular, we considered two few-shot problems, namely 5-way 5-shot and 5-way 20-shot. For the former, we varied the subspace dimensionality $n \in \{ 2 , 3 , 4 , 5 \}$ and considered all combinations during training and testing (for example, $n = 4$ during training and $n = 3$ at the test time). For the experiment on 5-way 20- shot problem, we varied the subspace dimensionality $n \in \{ 5 , 1 0 , 1 5 , 2 0 \}$ and again considered all combinations.
|
| 247 |
+
|
| 248 |
+
Our experiments demonstrate that PSN behaves robustly over a wide-range of subspace dimensionality. For example, the lowest and highest performances for the 5-way 5-shot learning are $6 6 . 0 8 \pm 0 . 6 7 \%$ and $6 6 . 6 2 \pm 0 . 6 9 \%$ , respectively. For the problem of 5-way 20-shot learning, the lowest and highest performances are $7 5 . 0 3 \pm 0 . 5 7 \%$ and $7 5 . 5 8 \pm 0 . 5 7 \%$ , respectively.
|
parse/train/rkzfuiA9F7/rkzfuiA9F7_content_list.json
ADDED
|
@@ -0,0 +1,1320 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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KS FOR FEW-SHOT LEARNING ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
145
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
236,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Generalization from limited examples, usually studied under the umbrella of metalearning, equips learning techniques with the ability to adapt quickly in dynamical environments and proves to be an essential aspect of lifelong learning. In this paper, we introduce the Projective Subspace Networks (PSN), a deep learning paradigm that learns non-linear embeddings from limited supervision. In contrast to previous studies, the embedding in PSN deems samples of a given class to form an affine subspace. We will show that such modeling leads to robust solutions, yielding competitive results on supervised and semi-supervised few-shot classification. Moreover, our PSN approach has the ability of end-to-end learning. In contrast to previous works, our projective subspace can be thought of as a richer representation capturing higher-order information datapoints for modeling new concepts. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
265,
|
| 43 |
+
764,
|
| 44 |
+
431
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
454,
|
| 55 |
+
336,
|
| 56 |
+
470
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Supervised learning with deep architectures, though achieving remarkable results in many areas, requires large amount of annotated data. Various studies show that many deep learning techniques in computer vision, speech recognition and natural language understanding, to name a few methods stated in Hinton et al. (2012); Krizhevsky et al. (2012), will fail to produce reliable models that generalize well if limited data annotations are available. Aside from the labor associated with annotating data, precise annotation can become ill-posed in some cases. One prime example of such a difficulty is object detection labeling which requires annotating bounding boxes of objects as explained in Alexe et al. (2012). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
484,
|
| 66 |
+
825,
|
| 67 |
+
597
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "In contrast to the current trend in deep learning, humans can learn new concepts from only a few examples. This in turn provides humans with lifelong learning abilities. Inspired by such learning abilities, several approaches are developed to study learning from limited examples Lake et al. (2015); Lazaridou et al. (2017); Vinyals et al. (2016); Triantafillou et al. (2017); Xu et al. (2017); Finn et al. (2017); Ravi & Larochelle (2017); Wang et al. (2018); Mishra et al. (2018); Qiao et al. (2018); Neill & Buitelaar (2018). In machine learning, the diverse ideas in this context include embedding features through metric learning (Koch et al. (2015), Vinyals et al. (2016)), optimization technique(Finn et al. (2017), Ravi & Larochelle (2017)), and generative models(Fei-Fei et al. (2006), Lake et al. (2015)). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
603,
|
| 77 |
+
825,
|
| 78 |
+
728
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In this work, we propose a deep model that learns new concepts from limited data to address two challenging learning problems; namely: (i) few-shot classification and (ii) semi-supervised few-shot learning. The goal of few-shot classification is to learn a model that can discriminate a given query by comparing it to a few of samples (a.k.a. the support set). An example is to classify a motorcycle by viewing some different types of motorcycles (or other vehicles). The goal of semi-supervised few-shot learning is to additionally benefit from unlabeled data to boost the performance of the model. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
736,
|
| 88 |
+
825,
|
| 89 |
+
833
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Our method, coined Projective Subspace Networks or PSN for short, learns non-linear embeddings using subspaces, in a sense that samples of a class are modeled as a low-dimensional affine subspace. The use of subspaces to model images and sets has a long history in computer vision and machine learning. For example, it has been proved that the set of all reflectance functions (the mapping from surface normals to intensities) produced by Lambertian objects lie close to a low-dimensional linear subspace (Basri & Jacobs (2003)). ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
840,
|
| 99 |
+
825,
|
| 100 |
+
922
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/aced738d53e52c6897ce3211e737ab8e69a525b38abb35f46da9b6a0ccbbd0dc.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Feature embedding in (a) Matching Networks (Vinyals et al. (2016)), (b) Prototypical Networks(Snell et al. (2017)), and (c) our PSN method. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
240,
|
| 113 |
+
114,
|
| 114 |
+
779,
|
| 115 |
+
261
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In spite of its intriguing properties, to the best of our knowledge, the subspace modeling has never been used previously to address few-shot learning problems. This makes our paper distinct and novel as compared to former studies (e.g., Vinyals et al. (2016); Snell et al. (2017)). Fig. 1 provides a conceptual illustration of our approach. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
328,
|
| 125 |
+
825,
|
| 126 |
+
383
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "We empirically observed that embeddings tailored towards capturing the structure of each class through low-dimensional affine subspaces could lead to discriminative models. Interestingly, such models can be built with minimum overheads and without opting for advanced methods in subspace creation (e.g., such as the notion of sparsity). Our conjecture here is that subspaces are less sensitive to perturbations such as outliers and noise compared to other embedding techniques for few-shot learning as illustratively shown in Fig. 2. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
391,
|
| 136 |
+
825,
|
| 137 |
+
474
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Our contributions in this work are: ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
176,
|
| 146 |
+
481,
|
| 147 |
+
400,
|
| 148 |
+
496
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "i. Few-shot learning is formulated as an embedding problem through subspaces. We rely on a well-established concept stating that samples of a class (and hence variations such as pose and illumination) can be effectively captured by a low-dimensional affine space. \nii. Adaptation from few-shot learning to semi-supervised learning is performed with a refinement through soft-assignment. The robustness of such a model is shown in our experiments. \niii. We also introduce an evaluation mechanism to assess the generalization ability over unseen classes during test time. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
197,
|
| 157 |
+
501,
|
| 158 |
+
825,
|
| 159 |
+
608
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 RELATED WORK ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
627,
|
| 170 |
+
344,
|
| 171 |
+
643
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "In this section, we briefly review the literature on few-shot learning and subspace clustering. Fewshot learning was originally introduced to imitate human learning capabilities in classification. Some of the early works made use of generative models and similarity learning to capture the variation within parts and geometric configurations of objects (Fei-Fei et al. (2006); Lake et al. (2015); Torralba et al. (2007)). As of late, few-shot problems are mainly addressed through meta-learning techniques. For example, in Koch et al. (2015); Vinyals et al. (2016); Snell et al. (2017); Garcia & Bruna (2018), the problem of few-shot learning is formulated as non-linear embedding or representation learning. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
173,
|
| 180 |
+
659,
|
| 181 |
+
825,
|
| 182 |
+
770
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "The closest approach to our proposed work is the Prototypical Networks (PN hereafter) model ( Snell et al. (2017)). It uses the random choice of episode images which form the prototype center per class. In addition, recent metric learning approaches use complex architectures and pipelines in convolutional networks of Gidaris & Komodakis (2018) and Wang et al. (2018). In contrast, our projective subspace concept is extremely simple by design as it constitutes just a single layer of the network. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
776,
|
| 192 |
+
825,
|
| 193 |
+
861
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Another common meta-learning approach to few-shot classification uses meta-learning and manipulates gradient updates to train the model parameters. Ravi & Larochelle (2017) utilized Long-Short Term Memory (LSTM)-based learner to optimize the model parameters and their gradients. Moreover, the Model Agnostic Meta-Learner(MAML) proposed by Finn et al. (2017) used gradients per task as well as a meta-gradient from combined tasks, and, as a result, it outperformed LSTM-based learner. Mishra et al. (2018) employed ResNets to model few-shot classification as a temporal solution with aggregation, thus, in meta-learning context, their model can refer to the past experience. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
867,
|
| 203 |
+
823,
|
| 204 |
+
924
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "image",
|
| 210 |
+
"img_path": "images/8b18d1883eb76ee7a0fab0f20f0d7c7690caf88b5ae77000cd19ce3193a7baaa.jpg",
|
| 211 |
+
"image_caption": [
|
| 212 |
+
"Figure 2: The effect of outliers on prototypes and subspaces. The odd rows show the decision boundaries obtained by prototypes (with and without outliers) for two- and three-class problems. The even rows depict how subspaces behave for the same problems. While affected, in general, subspaces show better resilience to perturbations and attain higher discriminatory power in comparison to prototypes. Best viewed in color. "
|
| 213 |
+
],
|
| 214 |
+
"image_footnote": [],
|
| 215 |
+
"bbox": [
|
| 216 |
+
178,
|
| 217 |
+
98,
|
| 218 |
+
820,
|
| 219 |
+
515
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "",
|
| 226 |
+
"bbox": [
|
| 227 |
+
174,
|
| 228 |
+
635,
|
| 229 |
+
825,
|
| 230 |
+
678
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "Our idea is based on the assumption that samples from any class in the support set form a lowdimensional subspace. As we will show, to train PSN, backpropagation through Singular Value Decomposition (SVD) is required. Backpropagation through matrix decomposition such as SVD is a well-studied problem Ionescu et al. (2015) with applications ranging from semantic segmentation to classification and visual recognition Ionescu et al. (2015); Li et al. (2017a); Gou et al. (2018). ",
|
| 237 |
+
"bbox": [
|
| 238 |
+
174,
|
| 239 |
+
684,
|
| 240 |
+
825,
|
| 241 |
+
755
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "3 PROBLEM SET-UP ",
|
| 248 |
+
"text_level": 1,
|
| 249 |
+
"bbox": [
|
| 250 |
+
176,
|
| 251 |
+
777,
|
| 252 |
+
356,
|
| 253 |
+
795
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "We start by defining the terminology used in few-shot learning. The problem of $N$ -way $K$ -shot classification (e.g., 5-way 1-shot) is defined as classifying queries belonging to $N$ classes by seeing only $K$ samples from each class. For example, in 5-way 1-shot setting, the model needs to identify a query among five classes by seeing only one sample from each class. To obtain a reliable model, so-called episodes are used in training. An episode $\\mathcal { T } _ { i }$ consists of two sets, the support set $S$ and the query set $Q$ . The system is then trained by minimizing a classification loss over episodes, simulating the scenarios it will encounter at test time. This episode setting is the same as proposed by Vinyals et al. (2016). ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
173,
|
| 262 |
+
811,
|
| 263 |
+
825,
|
| 264 |
+
924
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "A related problem is semi-supervised few-shot setting learning where unlabeled data is provided to the model. In the literature, various configurations are considered for semi-supervised few-shot learning (e.g., Garcia & Bruna (2018); Boney & Ilin (2017); Ren et al. (2018)). In this work, we follow the challenging protocol in Ren et al. (2018) where so-called distractors are introduced. Here, an episode includes the support set $S$ , query set $Q$ , and unlabeled set $\\mathcal { R }$ . The support (labeled) $S$ and query $Q$ sets are configured as in few-shot learning. Additionally, an unlabeled set $\\mathcal { R }$ is provided to assist the classification task within an episode. In the unlabeled set, there are examples from two different sources: the support classes and the distractor classes. As the name implies, examples from distractor classes are irrelevant to the classification task and represent classes outside the support set. ",
|
| 271 |
+
"bbox": [
|
| 272 |
+
173,
|
| 273 |
+
103,
|
| 274 |
+
825,
|
| 275 |
+
242
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 3
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "4 PROJECTIVE SUBSPACE NETWORKS ",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
262,
|
| 286 |
+
504,
|
| 287 |
+
279
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 3
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "image",
|
| 293 |
+
"img_path": "images/7e7053d564bc77d42de76a84bc25bc4d6910a79e3d512b4e043d57233a207903.jpg",
|
| 294 |
+
"image_caption": [
|
| 295 |
+
"Figure 3: Projective Subspace Networks Architecture "
|
| 296 |
+
],
|
| 297 |
+
"image_footnote": [],
|
| 298 |
+
"bbox": [
|
| 299 |
+
200,
|
| 300 |
+
300,
|
| 301 |
+
797,
|
| 302 |
+
463
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 3
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "In what follows, we introduce our PSN approach. The whole framework is trained end-to-end (see Fig. 3) which enables PSN to be used with various deep architectures. As an example, in $\\ S$ , we use PSN on top of the WideResNets (Zagoruyko & Komodakis (2016)) for few-shot classification. ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
174,
|
| 311 |
+
508,
|
| 312 |
+
825,
|
| 313 |
+
551
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 3
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "We start by introducing our notations for the $N$ -way, $K$ -shot) few-shot learning. Each episode or task $\\mathcal { T } _ { i }$ is composed of the support set $S = \\{ ( \\pmb { x } _ { 1 , 1 } , c _ { 1 , 1 } ) , ( \\pmb { x } _ { 1 , 2 } , c _ { 1 , 2 } ) , \\cdots , ( \\pmb { x } _ { N , K } , c _ { N , K } ) \\}$ and the query set $Q = \\{ \\pmb { q } _ { 1 } , \\cdots , \\pmb { q } _ { N \\times M } \\}$ . Here, $\\mathbf { \\delta } _ { \\mathbf { x } _ { i , j } }$ denotes the $j$ -th sample from class $i$ and $c _ { i , j } ~ \\in$ $\\{ 1 , \\cdots , N \\}$ . In the semi-supervised setting, there is an unlabeled set $\\mathcal { R } \\ = \\ \\{ \\boldsymbol { r } _ { 1 } , . . , \\boldsymbol { r } _ { U } \\}$ within an episode. We propose to model points by subspaces $\\{ Z _ { i } \\} _ { i = 1 } ^ { N }$ . Each subspace $\\boldsymbol { Z } _ { i }$ has a basis represented by $\\mathbb { R } ^ { D \\times n } \\ni P _ { i } = [ \\pmb { p } _ { 1 } , \\cdot \\cdot \\cdot , \\pmb { p } _ { n } ] ; n \\leq D$ , with $P _ { i } ^ { \\top } P _ { i } = \\mathbf { I } _ { n }$ . ",
|
| 320 |
+
"bbox": [
|
| 321 |
+
173,
|
| 322 |
+
558,
|
| 323 |
+
825,
|
| 324 |
+
643
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 3
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "4.1 PSN FOR FEW-SHOT CLASSIFICATION ",
|
| 331 |
+
"text_level": 1,
|
| 332 |
+
"bbox": [
|
| 333 |
+
174,
|
| 334 |
+
660,
|
| 335 |
+
480,
|
| 336 |
+
674
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 3
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "text",
|
| 342 |
+
"text": "Let $f _ { \\Theta } : \\mathcal { X } \\xrightarrow { } \\mathbb { R } ^ { D }$ be a mapping from the input space $\\mathcal { X }$ to some $D$ -dimensional representation realized by a neural network. Our goal is to learn $\\Theta$ , i.e., the embedding function in a way that the resulting space is suitable for subspace representation. For simplicity, we assume that every class in an episode can be described by just one subspace. Extension to multiple subspaces per class is straightforward though. Define $\\mu _ { k }$ as the mean of class $k$ in the embedded space. That is, ",
|
| 343 |
+
"bbox": [
|
| 344 |
+
173,
|
| 345 |
+
684,
|
| 346 |
+
825,
|
| 347 |
+
756
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 3
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "equation",
|
| 353 |
+
"img_path": "images/f263c393fde716e88b9af94737856f1e5a0f5be3ea4d0cd359eb53bc4eb771f0.jpg",
|
| 354 |
+
"text": "$$\n\\pmb { \\mu } _ { k } = \\frac { 1 } { K } \\sum _ { i , \\ c _ { i } = k } f _ { \\Theta } ( \\pmb { x } _ { i } ) .\n$$",
|
| 355 |
+
"text_format": "latex",
|
| 356 |
+
"bbox": [
|
| 357 |
+
416,
|
| 358 |
+
762,
|
| 359 |
+
581,
|
| 360 |
+
801
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "text",
|
| 366 |
+
"text": "A basis for the subspace representing class $k$ can be obtained by Singular Value Decomposition (SVD). To be specific, we define $\\mathbf { } X _ { k } = [ \\pmb { x } _ { k , 1 } - \\pmb { \\mu } _ { k } , \\cdot \\cdot \\cdot , \\pmb { x } _ { k , K } - \\pmb { \\mu } _ { k } ]$ . Applying truncated SVD on $X _ { k }$ provides us with $P _ { k }$ . We emphasize that more involved techniques to obtain robust subspaces from $X _ { k }$ can potentially improve the PSN. Nevertheless, our goal is to assess whether the concept of subspace modeling for few-shot learning is justified or not and thus we opt for truncated SVD in our implementation. Now a query $\\mathbf { \\Delta } \\mathbf { q } _ { j }$ can be projected onto $P _ { k }$ which yields: ",
|
| 367 |
+
"bbox": [
|
| 368 |
+
173,
|
| 369 |
+
814,
|
| 370 |
+
825,
|
| 371 |
+
898
|
| 372 |
+
],
|
| 373 |
+
"page_idx": 3
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"type": "equation",
|
| 377 |
+
"img_path": "images/7f46e875cd60447196cb9a512dd9c8680d6b7375385c82a1dce472a8d58026a0.jpg",
|
| 378 |
+
"text": "$$\n\\pmb { y } _ { j , k } = \\pmb { P } _ { k } ^ { \\top } ( f _ { \\Theta } ( \\pmb { q } _ { j } ) - \\pmb { \\mu } _ { k } ) .\n$$",
|
| 379 |
+
"text_format": "latex",
|
| 380 |
+
"bbox": [
|
| 381 |
+
408,
|
| 382 |
+
906,
|
| 383 |
+
589,
|
| 384 |
+
926
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 3
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "The distance from the query to $P _ { k }$ is: ",
|
| 391 |
+
"bbox": [
|
| 392 |
+
176,
|
| 393 |
+
103,
|
| 394 |
+
419,
|
| 395 |
+
118
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 4
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "equation",
|
| 401 |
+
"img_path": "images/88d98919b89766208cb304089ee012102cd6674c906ec3df07bc8d5536a691be.jpg",
|
| 402 |
+
"text": "$$\nd _ { j , k } = \\| f _ { \\Theta } ( \\pmb q _ { j } ) - \\pmb \\mu _ { k } - P _ { k } \\pmb y _ { j , k } \\| .\n$$",
|
| 403 |
+
"text_format": "latex",
|
| 404 |
+
"bbox": [
|
| 405 |
+
385,
|
| 406 |
+
123,
|
| 407 |
+
612,
|
| 408 |
+
142
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 4
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "We define the probability of the query assigned to class $k$ using a softmax function as: ",
|
| 415 |
+
"bbox": [
|
| 416 |
+
173,
|
| 417 |
+
146,
|
| 418 |
+
736,
|
| 419 |
+
161
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 4
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "equation",
|
| 425 |
+
"img_path": "images/dbb795ae13bc8f5ce8bfb15b9ecd12aa18c74c48ae98612d4b71850b940f9ba6.jpg",
|
| 426 |
+
"text": "$$\np _ { \\Theta } ( c = k | \\pmb { q } _ { j } ) = \\frac { \\exp \\big ( - d _ { j , k } ^ { 2 } \\big ) } { \\sum _ { k ^ { \\prime } } \\exp \\big ( - d _ { j , k ^ { \\prime } } ^ { 2 } \\big ) } .\n$$",
|
| 427 |
+
"text_format": "latex",
|
| 428 |
+
"bbox": [
|
| 429 |
+
374,
|
| 430 |
+
166,
|
| 431 |
+
624,
|
| 432 |
+
207
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 4
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "Now, we can minimize the negative log of Eqn. 4 to obtain $\\Theta$ . To train the whole framework, backpropagation through SVD is required which is available in modern deep learning packages such as PyTorch (Paszke et al. (2017)). Algorithm 1 explains the steps of training our PSN. The code will be released online on Github1. ",
|
| 439 |
+
"bbox": [
|
| 440 |
+
173,
|
| 441 |
+
212,
|
| 442 |
+
825,
|
| 443 |
+
268
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 4
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"text": "Algorithm 1 Train Projective Subspace Networks ",
|
| 450 |
+
"text_level": 1,
|
| 451 |
+
"bbox": [
|
| 452 |
+
178,
|
| 453 |
+
281,
|
| 454 |
+
501,
|
| 455 |
+
295
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 4
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "table",
|
| 461 |
+
"img_path": "images/5295b5a514131598bdf72c81259f8a5389fb003bf6220a11ed8c4c8c6d47e2ec.jpg",
|
| 462 |
+
"table_caption": [],
|
| 463 |
+
"table_footnote": [],
|
| 464 |
+
"table_body": "<table><tr><td rowspan=\"16\">Input: Each episode Ti with S = {(x1,1,C1,1), , (xN,K,cN,K)} and Q = {q1,,qN×M}</td><td>1:Oo← random initialization</td></tr><tr><td>2: for t in{Ti,..,TNT} do 3: Lt←0 4:</td></tr><tr><td>for k in {1,., N} do X←Sk</td></tr><tr><td>Get examples in the support set from class k Mean from the support set</td></tr><tr><td>μk ← k∑x∈x fe(x) Kμk +∑imife(ri) μk←</td></tr><tr><td>Refined mean(only semi-supervised learning) K+∑mi</td></tr><tr><td>8: X ←[xi - μk,..,xk- μk] 9:</td></tr><tr><td>[u,∑,vT] ← SVD(X) >Matrix factorization using SVD</td></tr><tr><td>10: Pk ←U1....n Truncate the matrix 11: for qj in Qk do</td></tr><tr><td>12: Yj,k ←PT(fe(qj)-μk) Query projection</td></tr><tr><td>13: dj,k ← |lfe(qj)-μk -Pkyj,kll Distance calculation</td></tr><tr><td>exp(-d,k) 14: Pj,k← Softmax on distance scores</td></tr><tr><td>∑k exp(-d,)</td></tr><tr><td>15: end for</td></tr><tr><td>16: end for 17:</td></tr><tr><td>Lt ←N2m∑k∑;-log (pj,k)</td></tr><tr><td>18: Update Θ using VLt 19: end for</td></tr></table>",
|
| 465 |
+
"bbox": [
|
| 466 |
+
174,
|
| 467 |
+
297,
|
| 468 |
+
826,
|
| 469 |
+
637
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 4
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "4.2 PSN FOR SEMI-SUPERVISED FEW-SHOT LEARNING ",
|
| 476 |
+
"text_level": 1,
|
| 477 |
+
"bbox": [
|
| 478 |
+
173,
|
| 479 |
+
662,
|
| 480 |
+
573,
|
| 481 |
+
679
|
| 482 |
+
],
|
| 483 |
+
"page_idx": 4
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"type": "text",
|
| 487 |
+
"text": "In what follows, we extend the model developed in $\\ S 4 . 1$ to address semi-supervised few-shot learning. In doing so, we need to take advantage of the unlabeled data to fit better subspaces to our data. We achieve this by refining the center of each class according to ",
|
| 488 |
+
"bbox": [
|
| 489 |
+
174,
|
| 490 |
+
689,
|
| 491 |
+
825,
|
| 492 |
+
732
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 4
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "equation",
|
| 498 |
+
"img_path": "images/9e016400eeff15303430588ab76be474540e36a243db4ab4488b0d37a68e0bc0.jpg",
|
| 499 |
+
"text": "$$\n\\tilde { \\mu } _ { k } = \\frac { K \\mu _ { k } + \\sum _ { i } m _ { i } f _ { \\Theta } ( r _ { i } ) } { K + \\sum _ { i } m _ { i } } , \\quad \\mathrm { w h e r e } \\quad m _ { i } = \\frac { \\exp ( - \\| f _ { \\Theta } ( r _ { i } ) - \\mu _ { k } ) \\| ^ { 2 } ) } { \\sum _ { k ^ { \\prime } } \\exp ( - \\| f _ { \\Theta } ( r _ { i } ) - \\mu _ { k ^ { \\prime } } ) \\| ^ { 2 } ) } \\ .\n$$",
|
| 500 |
+
"text_format": "latex",
|
| 501 |
+
"bbox": [
|
| 502 |
+
232,
|
| 503 |
+
737,
|
| 504 |
+
766,
|
| 505 |
+
773
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 4
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "Here, $m _ { i }$ is the soft-assignment score for unlabeled samples. To work at the presence of distractors, we use a fake class with zero mean. We empirically observed that such a simple modification to the means can improve the results without the need of refining the SVD step. ",
|
| 512 |
+
"bbox": [
|
| 513 |
+
173,
|
| 514 |
+
777,
|
| 515 |
+
826,
|
| 516 |
+
821
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 4
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "5 EXPERIMENTS ",
|
| 523 |
+
"text_level": 1,
|
| 524 |
+
"bbox": [
|
| 525 |
+
174,
|
| 526 |
+
840,
|
| 527 |
+
326,
|
| 528 |
+
857
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 4
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "Below we contrast and assess our method against state-of-the-art techniques on two challenging datasets, namely Mini-ImageNet (Ravi & Larochelle (2017)) and Tiered-ImageNet (Ren et al. ",
|
| 535 |
+
"bbox": [
|
| 536 |
+
174,
|
| 537 |
+
872,
|
| 538 |
+
826,
|
| 539 |
+
900
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 4
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "table",
|
| 545 |
+
"img_path": "images/a3855d4cd20555ee505ed9a74bb7c61a9a3a678d8d7f9b27d6480a49df2b31d2.jpg",
|
| 546 |
+
"table_caption": [
|
| 547 |
+
"Table 1: Few-shot classification results on Mini-ImageNet using 4-convolutional stages with $9 5 \\%$ confidence intervals. "
|
| 548 |
+
],
|
| 549 |
+
"table_footnote": [],
|
| 550 |
+
"table_body": "<table><tr><td>Models</td><td>5-way 5-shot</td><td>20-way 5-shot</td></tr><tr><td>Matching Nets (Vinyals et al. (2016))</td><td>55.31 ± 0.73%</td><td>22.69±0.20%</td></tr><tr><td>MAML (Finn et al. (2017))</td><td>63.11 ± 0.92%</td><td>19.29 ± 0.29%</td></tr><tr><td>Meta-LearnerLSTM(Ravi & Larochelle (2017))</td><td>60.60 ± 0.71%</td><td>26.06 ± 0.25%</td></tr><tr><td>Meta-SGD (Li et al. (2017b))</td><td>64.03 ± 0.94%</td><td>28.92 ± 0.35%</td></tr><tr><td>PN(Snell et al. (2017))</td><td>65.49 ± 0.25%</td><td>37.23 ± 0.21%</td></tr><tr><td>PSN</td><td>66.62± 0.69%</td><td>38.26 ± 0.23%</td></tr></table>",
|
| 551 |
+
"bbox": [
|
| 552 |
+
199,
|
| 553 |
+
101,
|
| 554 |
+
797,
|
| 555 |
+
218
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 5
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "(2018)). As the rule of thumb, the parameters of subspace dimension $( n )$ that we used in the experiments are $K$ -1 for training and two for testing stage. ",
|
| 562 |
+
"bbox": [
|
| 563 |
+
174,
|
| 564 |
+
284,
|
| 565 |
+
820,
|
| 566 |
+
313
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 5
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "Mini-ImageNet. The Mini-ImageNet(Ravi & Larochelle (2017)) contains 60,000 images of the ImageNet(Russakovsky et al. (2015)) datasets. Images in the Mini-ImageNet are of size $8 4 \\times 8 4$ and represent 100 classes with 64, 16, and 20 classes used for training, validation, and testing, respectively. ",
|
| 573 |
+
"bbox": [
|
| 574 |
+
174,
|
| 575 |
+
320,
|
| 576 |
+
825,
|
| 577 |
+
376
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 5
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"text": "Tiered-ImageNet. This dataset is also derived from ImageNet but contains a broader set of classes compared to the Mini-ImageNet. There are 351 classes from 20 different categories for training, 97 classes from 6 different categories for validation, and 160 classes from 8 different categories for testing. In contrast to the Mini-ImageNet, the training and test sets in Tiered-ImageNet represent distinct classes. Moreover, in designing the Tiered-ImageNet, the problem of few-shot learning with unlabeled data was taken into account and the labeled data is only within a small percentage when performing semi-supervised learning. In this large dataset, learning from the labeled data is still sufficient to produce reasonable representations even though the unlabeled data is set in huge portion e.g., $9 0 \\%$ . ",
|
| 584 |
+
"bbox": [
|
| 585 |
+
174,
|
| 586 |
+
382,
|
| 587 |
+
825,
|
| 588 |
+
508
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 5
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "5.1 FEW-SHOT LEARNING ",
|
| 595 |
+
"text_level": 1,
|
| 596 |
+
"bbox": [
|
| 597 |
+
176,
|
| 598 |
+
526,
|
| 599 |
+
367,
|
| 600 |
+
540
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 5
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "We follow the general practice and evaluate our method on the Mini-ImageNet dataset when it comes to few-shot learning and classification. Various procedures such as pre-training using 64 classes (e.g., Qiao et al. (2018)) and training with more classes/way have shown to increase the overall accuracy. Nevertheless, we avoid such procedures deliberately as we are mainly interested in contrasting the core idea, i.e., the role of subspaces in few-shot learning. So, we trained on 5- way 5-shot and 20-way 5-shot, then applied the same classification task setup during testing. The CNN architecture is the same as the one used in Snell et al. (2017) with 4-convolutional stages. We also use WideResNets (Zagoruyko & Komodakis (2016)) with 16 depth, 6 widening factor, and 0.3 dropout rate to compare with ResNets (He et al. (2016)) solution reported by Mishra et al. (2018). The feature dimensions from both architectures are 1600 and 384 respectively. We used ADAM ( Kingma & Ba (2015)) for optimizing our model and set the learning rate to 0.001 and cut it to half every 2.5K episodes for both architectures. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
173,
|
| 609 |
+
553,
|
| 610 |
+
825,
|
| 611 |
+
718
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 5
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "Results. By design, the method cannot accommodate learning with exactly one example, hence, the comparison here is provided only for 5-shot in 5-way and 20-way. In every episode, the query set contains 15 samples from each class. Our method outperforms the previous methods with 4- convolutional stages shown in Table 1. We also implemented WideResNets (Zagoruyko & Komodakis (2016)) using our method and obtained the performance for 5-way 5-shot: ${ \\bf 6 9 . 9 2 \\pm 0 . 6 4 \\% }$ and 20-way 5-shot: $\\mathbf { 4 1 . 8 4 \\pm 0 . 2 4 \\% }$ that can outperform ResNets-based approach proposed by Mishra et al. (2018) with $6 8 . 8 8 \\pm 0 . 9 2 \\%$ in 5-way and 5-shot classification task. ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
726,
|
| 621 |
+
825,
|
| 622 |
+
824
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 5
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "5.2 SEMI-SUPERVISED FEW-SHOT LEARNING ",
|
| 629 |
+
"text_level": 1,
|
| 630 |
+
"bbox": [
|
| 631 |
+
176,
|
| 632 |
+
840,
|
| 633 |
+
501,
|
| 634 |
+
856
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 5
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "In this experiment, the embedding architecture has 4-convolutional layers as PN (Snell et al. (2017)). We follow the experimental setup proposed by Ren et al. (2018). The episode composition for labeled or support set and query set is similar to the few-shot learning classification task, but there is an additional unlabeled set provided in each episode. Our model is trained on 100K episodes for ",
|
| 641 |
+
"bbox": [
|
| 642 |
+
174,
|
| 643 |
+
867,
|
| 644 |
+
823,
|
| 645 |
+
924
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 5
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "table",
|
| 651 |
+
"img_path": "images/388d32c66834da50099ccaf8635d24afadd99c6ddeb3d5b6400fd3945d7d7e51.jpg",
|
| 652 |
+
"table_caption": [
|
| 653 |
+
"Table 2: Semi-supervised few-shot classification results on the Mini-ImageNet and Tiered-ImageNet with $4 0 \\%$ and $1 0 \\%$ labeled data, respectively. We show the classification results with and without distractors. We compare our results to PN on semi-supervised learning (PN-SSL) with soft $K$ -means (non-masked) and masked $K$ -means (masked), as proposed by Ren et al. (2018). "
|
| 654 |
+
],
|
| 655 |
+
"table_footnote": [],
|
| 656 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Models</td><td rowspan=1 colspan=2>Mini-ImageNet5-way 5-shot</td><td rowspan=1 colspan=2>Tiered-ImageNet5-way 5-shot</td></tr><tr><td rowspan=1 colspan=1>PN,SupervisedPSN, Supervised</td><td rowspan=1 colspan=2>59.08±0.22%63.43 ± 0.61%</td><td rowspan=1 colspan=2>66.15±0.22%68.72 ±0.49%</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>w/0Distractors</td><td rowspan=1 colspan=1>w/Distractors</td><td rowspan=1 colspan=1>w/oDistractors</td><td rowspan=1 colspan=1>w/Distractors</td></tr><tr><td rowspan=1 colspan=1>PN-SSL,Non-MaskedPN-SSL,MaskedPSN, Semi-Supervised</td><td rowspan=1 colspan=1>64.59±0.28%64.39 ± 0.24%68.12 ± 0.67%</td><td rowspan=1 colspan=1>63.55±0.28%62.96 ± 0.14%66.10 ± 0.66%</td><td rowspan=1 colspan=1>70.25 ± 0.31%69.88 ± 0.20%71.15 ± 0.67%</td><td rowspan=1 colspan=1>68.32 ± 0.22%69.08 ± 0.25%69.15 ± 0.51%</td></tr></table>",
|
| 657 |
+
"bbox": [
|
| 658 |
+
176,
|
| 659 |
+
99,
|
| 660 |
+
820,
|
| 661 |
+
224
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 6
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "table",
|
| 667 |
+
"img_path": "images/4f2e307940330bdf0dd3c82b7f5b7c4be66771b54a3ab521d71104ac6ba1e239.jpg",
|
| 668 |
+
"table_caption": [
|
| 669 |
+
"Mini-ImageNet ",
|
| 670 |
+
"Table 3: Generalization performance of PSN and PN with varying number of way $( N )$ and shot $( K )$ at the test time. "
|
| 671 |
+
],
|
| 672 |
+
"table_footnote": [],
|
| 673 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Way(N)</td><td rowspan=1 colspan=1>Shot(K)</td><td rowspan=1 colspan=1>PSN</td><td rowspan=1 colspan=1>PN</td><td rowspan=1 colspan=1>Way(N)</td><td rowspan=1 colspan=1>Shot(K)</td><td rowspan=1 colspan=1>PSN</td><td rowspan=1 colspan=1>PN</td></tr><tr><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>35101520</td><td rowspan=1 colspan=1>61.26±0.79%66.62 ± 0.69%71.88 ±0.59%73.50 ±0.58%74.88± 0.63%</td><td rowspan=1 colspan=1>60.36 ±0.31%65.49 ±0.25%69.80 ±0.30%71.92 ±0.26%73.01± 0.31%</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>35101520</td><td rowspan=1 colspan=1>45.46±0.44%51.49 ± 0.46%57.14±0.41%60.20 ±0.39%61.38 ± 0.44%</td><td rowspan=1 colspan=1>44.09±0.28%49.06± 0.25%55.23± 0.27%58.06 ±0.22%59.27±0.22%</td></tr><tr><td rowspan=3 colspan=1>15</td><td rowspan=3 colspan=1>35101520</td><td rowspan=3 colspan=1>37.07 ±0.33%43.18 ±0.32%49.44±0.31%51.96 ± 0.32%54.23±0.34%</td><td rowspan=3 colspan=1>36.24±0.22%40.94±0.24%47.19 ±0.21%49.85 ±0.25%51.37 ± 0.20%</td><td rowspan=3 colspan=1>20</td><td rowspan=3 colspan=1>35101520</td><td rowspan=1 colspan=1>32.13±0.25%37.71± 0.23%</td><td rowspan=2 colspan=1>31.43±0.18%35.58 ±0.17%41.69 ± 0.16%</td></tr><tr><td rowspan=1 colspan=1>44.09±0.22%</td><td rowspan=1 colspan=1>41.6</td></tr><tr><td rowspan=1 colspan=1>47.27±0.22%49.00 ±0.23%</td><td rowspan=1 colspan=1>44.37± 0.17%45.90± 0.18%</td></tr></table>",
|
| 674 |
+
"bbox": [
|
| 675 |
+
176,
|
| 676 |
+
318,
|
| 677 |
+
823,
|
| 678 |
+
449
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 6
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "Mini-ImageNet and Tiered-ImageNet with $4 0 \\%$ and $1 0 \\%$ of labeled data, respectively. We used the ADAM solver (Kingma & Ba (2015)), the set the learning rate to 0.001 with the weight decay and cut the rate to half every 10K episodes. We trained in two settings: (i) supervised setting, where only labeled data is taken into account, and (ii) semi-supervised setting for which the unlabeled set is also used. The unlabeled set is composed of the examples from the classes in the support set and distractor classes. The number of supporting classes and distractor classes is set to five for training and testing. In the training stage, the number of examples in the unlabeled set is 50 consisting of five examples from each class. In the testing stage, the unlabeled set consists of 20 examples from each class. We also define the query set to have 20 examples per class for testing purpose. ",
|
| 685 |
+
"bbox": [
|
| 686 |
+
173,
|
| 687 |
+
513,
|
| 688 |
+
825,
|
| 689 |
+
640
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 6
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Results. In these experimental results, the performance is counted over 600 episodes. The results are averaged over 10 random splits of labeled and unlabeled sets. The supervised experiment shows that our method learns robust feature embedding from a small portion of labeled data. With the help of soft-assignment over unlabeled datapoints, the semi-supervised experiment detailed in Table 2 is demonstrated to outperform Prototypical Networks for Semi-Supervised Learning (PN-SSL) proposed by Ren et al. (2018). ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
647,
|
| 699 |
+
825,
|
| 700 |
+
731
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "5.3 GENERALIZATION BEYOND $N$ -WAY $K$ -SHOT ",
|
| 707 |
+
"text_level": 1,
|
| 708 |
+
"bbox": [
|
| 709 |
+
174,
|
| 710 |
+
750,
|
| 711 |
+
524,
|
| 712 |
+
765
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 6
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "As a measure of generalization ability, we propose to evaluate algorithms beyond the somehow inflexible testing protocol of few-shot learning. In particular, we assess whether a model trained on low number of classes can generalize well to classification tasks involving large number of classes. To gain more insights, we further study how models trained with the $K$ -shot assumption will perform if extra examples are available at the test time. ",
|
| 719 |
+
"bbox": [
|
| 720 |
+
174,
|
| 721 |
+
776,
|
| 722 |
+
825,
|
| 723 |
+
847
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 6
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "In the evaluation below, all models are trained with the 5-way 5-shot setting. At the test time, the models face the test protocol of $N$ -way $K$ -shot learning with $N ~ \\in ~ \\overline { { \\{ 5 , 1 0 , 1 5 , 2 0 \\} } }$ and $K \\in \\{ 3 , 5 , 1 0 , 1 5 , 2 0 \\}$ . Table 3 contrasts the performance of PSN against PN. The table is selfexplanatory. In all experiments, PSN outperforms PN with the gap widened with more challenging settings (e.g., 20-way 20-shot). ",
|
| 730 |
+
"bbox": [
|
| 731 |
+
174,
|
| 732 |
+
854,
|
| 733 |
+
823,
|
| 734 |
+
924
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 6
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "Robustness to Perturbations. Our motivation to develop PSN is to devise a model that shows better resilience to perturbations. Intuitively, to have a noticeable change in the orientation of a subspace, one needs to induce drastic changes to the set. To empirically verify our claim, we assess how robust is PSN in comparison to PN (Snell et al. (2017)) in the presence of perturbations. In particular, we considered the problems of 5-way 5-shot and 5-way 10-shot learning and introduced two types of perturbations at the test time to the trained models. Firstly, we randomly sampled examples from classes not presented in the support sets and included them in the support examples. Secondly, noisy examples are generated randomly using a multivariate Gaussian distribution with random mean and variance of $\\sigma = \\{ 0 . 1 5 , 0 . 3 , 0 . 4 \\}$ . The results of this study are presented in Appendix A due to page limitations. To summarize, our experiments show that both PSN and PN are affected by outliers negatively. That said, the PSN exhibits a much better degree of resilience to outliers. When additive noise is considered, PSN behaves robustly for a wide-range of contamination. In contrast, the performance of PN drops rapidly and significantly in the presence of noise, reinforcing our idea that the use of subspaces indeed leads to a more robust model for the task in hand. ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
174,
|
| 743 |
+
103,
|
| 744 |
+
825,
|
| 745 |
+
297
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 7
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "6 DISCUSSION ",
|
| 752 |
+
"text_level": 1,
|
| 753 |
+
"bbox": [
|
| 754 |
+
174,
|
| 755 |
+
318,
|
| 756 |
+
310,
|
| 757 |
+
333
|
| 758 |
+
],
|
| 759 |
+
"page_idx": 7
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "text",
|
| 763 |
+
"text": "Conceptually, the PN Snell et al. (2017) is the closest work to ours as both solutions obtain a refined representation for each class in the support sets, with the former using the class mean as the representation while in PSN affine subspaces model classes. That said, PSN also uses the mean of each class towards identifying their representative subspaces. Aside from the theoretical properties of affine subspaces2, we empirically observed that for more challenging setups (e.g., 20-way 20-shot), utilizing the mean leads to a better performance. This is because prototypes lie on subspaces in the feature space. Additionally, prototypes in the PN can be easily utilized to design a hybrid with our approach. ",
|
| 764 |
+
"bbox": [
|
| 765 |
+
174,
|
| 766 |
+
348,
|
| 767 |
+
825,
|
| 768 |
+
460
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 7
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "Remark 1. Interestingly, in special cases, PSN simplifies to PN. For example, if samples of a class span a infinitesimal region, at the limit, collapsing to a point, then an affine subspace reduces to a point, recovering PN from PSN. ",
|
| 775 |
+
"bbox": [
|
| 776 |
+
176,
|
| 777 |
+
463,
|
| 778 |
+
821,
|
| 779 |
+
506
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 7
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "text",
|
| 785 |
+
"text": "Remark 2. Since it is not possible to build an affine subspace from only one example, PSN cannot address $^ { l }$ -shot learning problems per se. However, simply applying augmentations to support images facilitates 1-shot learning. However, this issue is beyond the point we make in this work. ",
|
| 786 |
+
"bbox": [
|
| 787 |
+
174,
|
| 788 |
+
508,
|
| 789 |
+
823,
|
| 790 |
+
551
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 7
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "Subspace Dimension. In comparison to other models such as matching networks or PN, PSN comes with an extra hyper-parameter, the dimensionality of the subspaces $( i . e . , n )$ . As a rule of thumb, we recommend to use $n = K - 1$ to train the model, while $n = 2$ at the test time gives reasonable and robust results. That said, we thoroughly studied the effect of this parameter and summarized our findings in Appendix B. In short, PSN exhibits a great degree of robustness to $n$ , which in turns, makes training of them painless. ",
|
| 797 |
+
"bbox": [
|
| 798 |
+
174,
|
| 799 |
+
561,
|
| 800 |
+
825,
|
| 801 |
+
645
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 7
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "Computational Complexity. The computational complexity of our PSN approach is $\\mathcal { O } ( \\operatorname* { m i n } ( N D ^ { 2 } K , N D K ^ { 2 } ) )$ , where $K$ , $N$ , and $D$ are the number of shot, way, and feature dimensionality respectively. Compared to the complexity of the PN algorithm, i.e., $\\mathcal { O } ( N D K )$ , our algorithm is somehow slower due to the involvement of the SVD step. If the complexity is of a concern, fast approximate algorithms for SVD (e.g., Menon & Elkan (2011)) can be considered. ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
174,
|
| 810 |
+
652,
|
| 811 |
+
825,
|
| 812 |
+
722
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 7
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "7 CONCLUSIONS ",
|
| 819 |
+
"text_level": 1,
|
| 820 |
+
"bbox": [
|
| 821 |
+
176,
|
| 822 |
+
742,
|
| 823 |
+
328,
|
| 824 |
+
757
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 7
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "This paper presents the PSN, a novel approach for few-shot learning that employs nonlinear embeddings and modeling via affine subspaces. Empirically, we showed that the representations learned via PSN were expressive across a wide-range of supervised and semi-supervised few-shot problems. ",
|
| 831 |
+
"bbox": [
|
| 832 |
+
176,
|
| 833 |
+
773,
|
| 834 |
+
823,
|
| 835 |
+
815
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 7
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "In PSN, each class is represented by the subspace formed by all its examples, meaning that each class is modeled by the span of its samples. One possibility to extend the PSN modeling is to benefit -cleverly- from the null space associated with each class, in the hope of designing a more discriminative model. ",
|
| 842 |
+
"bbox": [
|
| 843 |
+
174,
|
| 844 |
+
821,
|
| 845 |
+
825,
|
| 846 |
+
877
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 7
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "REFERENCES ",
|
| 853 |
+
"text_level": 1,
|
| 854 |
+
"bbox": [
|
| 855 |
+
174,
|
| 856 |
+
102,
|
| 857 |
+
287,
|
| 858 |
+
118
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 8
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "Bogdan Alexe, Thomas Deselaers, and Vittorio Ferrari. Measuring the objectness of image windows. IEEE Transactions on Pattern Analysis and Machine Intelligence(TPAMI), 34:2189–2202, 2012. ",
|
| 865 |
+
"bbox": [
|
| 866 |
+
173,
|
| 867 |
+
126,
|
| 868 |
+
823,
|
| 869 |
+
155
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 8
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "Ronen Basri and David W. Jacobs. Lambertian reflectance and linear subspaces. IEEE Transactions on Pattern Analysis and Machine Intelligence(TPAMI), 25:218–233, 2003. ",
|
| 876 |
+
"bbox": [
|
| 877 |
+
173,
|
| 878 |
+
165,
|
| 879 |
+
823,
|
| 880 |
+
194
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 8
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "Rinu Boney and Alexander Ilin. Semi-supervised few-shot learning with prototypical networks. arXiv preprint arXiv:1711.10856, 2017. ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
173,
|
| 889 |
+
203,
|
| 890 |
+
823,
|
| 891 |
+
233
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 8
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "Li Fei-Fei, Rob Fergus, and Pietro Perona. One-shot learning of object categories. IEEE Transactions on Pattern Analysis and Machine Intelligence(TPAMI), 28:594–611, 2006. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
173,
|
| 900 |
+
242,
|
| 901 |
+
823,
|
| 902 |
+
272
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 8
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In International Conference on Machine Learning(ICML), 2017. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
174,
|
| 911 |
+
281,
|
| 912 |
+
821,
|
| 913 |
+
311
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 8
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "Victor Garcia and Joan Bruna. Few-shot learning with graph neural networks. In International Conference on Learning Representations(ICLR), 2018. ",
|
| 920 |
+
"bbox": [
|
| 921 |
+
176,
|
| 922 |
+
320,
|
| 923 |
+
821,
|
| 924 |
+
349
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 8
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "Spyros Gidaris and Nikos Komodakis. Dynamic few-shot visual learning without forgetting. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. ",
|
| 931 |
+
"bbox": [
|
| 932 |
+
174,
|
| 933 |
+
358,
|
| 934 |
+
821,
|
| 935 |
+
388
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 8
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "Mengran Gou, Fei Xiong, Octavia Camps, and Mario Sznaier. Monet: Moments embedding network. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2018. ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
174,
|
| 944 |
+
397,
|
| 945 |
+
821,
|
| 946 |
+
428
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 8
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016. ",
|
| 953 |
+
"bbox": [
|
| 954 |
+
173,
|
| 955 |
+
436,
|
| 956 |
+
823,
|
| 957 |
+
467
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 8
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "Geoffrey E. Hinton, Li Deng, Dong Yu, George E. Dahl, Abdel rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N. Sainath, and Brian Kingsbury. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6):82–97, 2012. ",
|
| 964 |
+
"bbox": [
|
| 965 |
+
173,
|
| 966 |
+
476,
|
| 967 |
+
823,
|
| 968 |
+
532
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 8
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "Catalin Ionescu, Orestis Vantzos, and Cristian Sminchisescu. Matrix backpropagation for deep networks with structured layers. In IEEE International Conference on Computer Vision (ICCV), 2015. ",
|
| 975 |
+
"bbox": [
|
| 976 |
+
176,
|
| 977 |
+
541,
|
| 978 |
+
823,
|
| 979 |
+
585
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 8
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "Diederik P. Kingma and Jimmy L. Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations(ICLR), 2015. ",
|
| 986 |
+
"bbox": [
|
| 987 |
+
174,
|
| 988 |
+
594,
|
| 989 |
+
821,
|
| 990 |
+
625
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 8
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "Gregory Koch, Richard Zemel, and Ruslan Salakhutdinov. Siamese neural networks for one-shot image recognition. In International Conference on Machine Learning Deep Learning 2015 Workshop, 2015. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
173,
|
| 999 |
+
633,
|
| 1000 |
+
825,
|
| 1001 |
+
678
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems(NIPS), 2012. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
173,
|
| 1010 |
+
686,
|
| 1011 |
+
821,
|
| 1012 |
+
717
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 8
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "Brenden M. Lake, Ruslan Salakhutdinov, and Joshua B. Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350:1332–1338, 2015. ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
173,
|
| 1021 |
+
724,
|
| 1022 |
+
823,
|
| 1023 |
+
755
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 8
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "Angeliki Lazaridou, Marco Marelli, and Marco Baroni. Multimodal word meaning induction from minimal exposure to natural text. Cognitive Science, 41 Suppl 4:677–705, 2017. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
171,
|
| 1032 |
+
763,
|
| 1033 |
+
823,
|
| 1034 |
+
794
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 8
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "Peihua Li, Jiangtao Xie, Qilong Wang, and Wangmeng Zuo. Is second-order information helpful for large-scale visual recognition? In IEEE International Conference on Computer Vision (ICCV), 2017a. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
174,
|
| 1043 |
+
803,
|
| 1044 |
+
823,
|
| 1045 |
+
847
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 8
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "Zhenguo Li, Fengwei Zhou, Fei Chen, and Hang Li. Meta-sgd: Learning to learn quickly for few shot learning. arXiv preprint arXiv:1707.09835, 2017b. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
168,
|
| 1054 |
+
856,
|
| 1055 |
+
821,
|
| 1056 |
+
886
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 8
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "Aditya K. Menon and Charles Elkan. Fast algorithms for approximating the singular value decomposition. ACM Trans. Knowl. Discov. Data(TKDD), 5:13:1–13:36, 2011. ",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
174,
|
| 1065 |
+
895,
|
| 1066 |
+
821,
|
| 1067 |
+
924
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 8
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "Nikhil Mishra, Mostafa Rohaninejad, Xi Chen, and Pieter Abbeel. A simple neural attentive metalearner. In International Conference on Learning Representations(ICLR), 2018. ",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
169,
|
| 1076 |
+
103,
|
| 1077 |
+
823,
|
| 1078 |
+
132
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 9
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "James O’ Neill and Paul Buitelaar. Few shot transfer learning betweenword relatedness and similarity tasks using a gated recurrent siamese network. In AAAI Conference on Artificial Intelligence, 2018. ",
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
174,
|
| 1087 |
+
140,
|
| 1088 |
+
821,
|
| 1089 |
+
184
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 9
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In NIPS Autodiff Workshop, 2017. ",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
174,
|
| 1098 |
+
193,
|
| 1099 |
+
823,
|
| 1100 |
+
236
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 9
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "Siyuan Qiao, Chenxi Liu, Wei Shen, and Alan L. Yuille. Few-shot image recognition by predicting parameters from activations. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. ",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
174,
|
| 1109 |
+
244,
|
| 1110 |
+
825,
|
| 1111 |
+
286
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 9
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "Sachin Ravi and Hugo Larochelle. Optimization as a model for few-shot learning. In International Conference on Learning Representations(ICLR), 2017. ",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
174,
|
| 1120 |
+
295,
|
| 1121 |
+
821,
|
| 1122 |
+
325
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 9
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "text",
|
| 1128 |
+
"text": "Mengye Ren, Eleni Triantafillou, Sachin Ravi, Jake Snell, Kevin Swersky, Joshua B. Tenenbaum, Hugo Larochelle, and Richard S. Zemel. Meta-learning for semi-supervised few-shot classification. In International Conference on Learning Representations (ICLR), 2018. ",
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
173,
|
| 1131 |
+
333,
|
| 1132 |
+
823,
|
| 1133 |
+
376
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 9
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause andSanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, and et al. Michael Bernstein. Imagenet large scale visual recognition challenge. International Journal of Computer Vision(IJCV), 115:211–252, 2015. ",
|
| 1140 |
+
"bbox": [
|
| 1141 |
+
176,
|
| 1142 |
+
385,
|
| 1143 |
+
821,
|
| 1144 |
+
429
|
| 1145 |
+
],
|
| 1146 |
+
"page_idx": 9
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"text": "Jake Snell, Kevin Swersky, and Zemel Richard. Prototypical networks for few-shot learning. In Advances in Neural Information Processing Systems(NIPS), 2017. ",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
173,
|
| 1153 |
+
435,
|
| 1154 |
+
823,
|
| 1155 |
+
467
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 9
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "Antonio Torralba, Kevin P. Murphy, and William T. Freeman. Sharing visual features for multiclass and multiview object detection. IEEE Transactions on Pattern Analysis and Machine Intelligence(TPAMI), 29:854–869, 2007. ",
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
174,
|
| 1164 |
+
473,
|
| 1165 |
+
823,
|
| 1166 |
+
517
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 9
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "Eleni Triantafillou, Richard Zemel, and Raquel Urtasun. Few-shot learning through an information retrieval lens. In Advances in Neural Information Processing Systems(NIPS), 2017. ",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
174,
|
| 1175 |
+
525,
|
| 1176 |
+
823,
|
| 1177 |
+
555
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 9
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "Oriol Vinyals, Charles Blundell, Tim Lillicrap, Koray Kavukcuoglu, and Daan Wierstra. Matching networks for one shot learning. In Advances in Neural Information Processing Systems(NIPS), 2016. ",
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
174,
|
| 1186 |
+
563,
|
| 1187 |
+
823,
|
| 1188 |
+
606
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 9
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"text": "Yu-Xiong Wang, Ross Girshick, Martial Herbert, and Bharath Hariharan. Low-shot learning from imaginary data. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. ",
|
| 1195 |
+
"bbox": [
|
| 1196 |
+
171,
|
| 1197 |
+
614,
|
| 1198 |
+
823,
|
| 1199 |
+
645
|
| 1200 |
+
],
|
| 1201 |
+
"page_idx": 9
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"text": "Zhongwen. Xu, Linchao Zhu, and Yi Yang. Few-shot object recognition from machine-labeled web images. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017. ",
|
| 1206 |
+
"bbox": [
|
| 1207 |
+
171,
|
| 1208 |
+
652,
|
| 1209 |
+
823,
|
| 1210 |
+
683
|
| 1211 |
+
],
|
| 1212 |
+
"page_idx": 9
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In British Machine Vision Conference(BMVC), 2016. ",
|
| 1217 |
+
"bbox": [
|
| 1218 |
+
171,
|
| 1219 |
+
690,
|
| 1220 |
+
823,
|
| 1221 |
+
719
|
| 1222 |
+
],
|
| 1223 |
+
"page_idx": 9
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "text",
|
| 1227 |
+
"text": "Appendices ",
|
| 1228 |
+
"text_level": 1,
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
176,
|
| 1231 |
+
98,
|
| 1232 |
+
341,
|
| 1233 |
+
127
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 10
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "A PERTURBATIONS EFFECT ON PERFORMANCE ",
|
| 1240 |
+
"text_level": 1,
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
174,
|
| 1243 |
+
148,
|
| 1244 |
+
581,
|
| 1245 |
+
166
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 10
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "In this section, we study the effect of perturbation on the performance of PN and PSN. More specifically, we considered the problems of 5-way 5-shot and 5-way 10-shot learning and introduced two types of perturbations at the test time with the trained models. Note that, the model is obtained from 5-way 5-shot training without perturbations. Firstly, we randomly sampled examples from classes not presented in the support sets. Secondly, additive noise is generated randomly using a multivariate Gaussian distribution with random mean and variance of $\\sigma = \\{ 0 . 1 5 , 0 . 3 , 0 . 4 \\}$ . Both examples in these two types are included in the support examples for prototypes and subspaces creation. ",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
173,
|
| 1254 |
+
180,
|
| 1255 |
+
825,
|
| 1256 |
+
279
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 10
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "The results of this study are depicted in Fig. 4. To summarize, our experiments show that both PSN and PN are affected by outliers negatively. That said, the PSN exhibits a much better degree of resilience to outliers. For example, modelling with PN leads to a drop of $19 \\%$ and $12 \\%$ percentage points when each support set has 20 outliers for the problem of 5-way 5-shot and 5-way 10-shot respectively. For the same experiment, the PSN modelling only suffers $11 \\%$ and $9 \\%$ percentage points of performance drop. When additive noise is considered, PSN behaves robustly for a widerange of contamination. In contrast, the performance of PN drops rapidly and significantly in the presence of noise, reinforcing our idea that subspaces form indeed a more robust model for the task in hand. ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
173,
|
| 1265 |
+
285,
|
| 1266 |
+
825,
|
| 1267 |
+
410
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 10
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "image",
|
| 1273 |
+
"img_path": "images/3a9ce6abe6c975f9f6f8ff0a106e3d983aa7f834324e724ad6393fa82656ef31.jpg",
|
| 1274 |
+
"image_caption": [
|
| 1275 |
+
"Figure 4: The charts show 5-way 5-shot and 5-way 10-shot results of the PSN and the PN algorithms in the presence of outliers and additive noise. In the first column, sub-plots show the effect of introducing outliers among support samples (the classes of outliers are disjoint with the support classes of samples). The second to fourth columns show the effect of introducing noisy examples generated randomly from Gaussian distributions with random means and variance of $\\dot { \\sigma } = \\{ \\bar { 0 . 1 5 } , \\bar { 0 . 3 } , 0 . 4 \\}$ , respectively. The performance is measured with increasing number of outliers and noisy examples (X-axes). "
|
| 1276 |
+
],
|
| 1277 |
+
"image_footnote": [],
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
176,
|
| 1280 |
+
422,
|
| 1281 |
+
820,
|
| 1282 |
+
642
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 10
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "text",
|
| 1288 |
+
"text": "B SUBSPACE DIMENSION EXPERIMENT ",
|
| 1289 |
+
"text_level": 1,
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
174,
|
| 1292 |
+
102,
|
| 1293 |
+
516,
|
| 1294 |
+
118
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 11
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "In this section, we report the results of experiments conducted to assess the effect of the subspace dimensionality $( i . e . , n )$ on the overall accuracy of the algorithm. In particular, we considered two few-shot problems, namely 5-way 5-shot and 5-way 20-shot. For the former, we varied the subspace dimensionality $n \\in \\{ 2 , 3 , 4 , 5 \\}$ and considered all combinations during training and testing (for example, $n = 4$ during training and $n = 3$ at the test time). For the experiment on 5-way 20- shot problem, we varied the subspace dimensionality $n \\in \\{ 5 , 1 0 , 1 5 , 2 0 \\}$ and again considered all combinations. ",
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
174,
|
| 1303 |
+
133,
|
| 1304 |
+
825,
|
| 1305 |
+
231
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 11
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "text",
|
| 1311 |
+
"text": "Our experiments demonstrate that PSN behaves robustly over a wide-range of subspace dimensionality. For example, the lowest and highest performances for the 5-way 5-shot learning are $6 6 . 0 8 \\pm 0 . 6 7 \\%$ and $6 6 . 6 2 \\pm 0 . 6 9 \\%$ , respectively. For the problem of 5-way 20-shot learning, the lowest and highest performances are $7 5 . 0 3 \\pm 0 . 5 7 \\%$ and $7 5 . 5 8 \\pm 0 . 5 7 \\%$ , respectively. ",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
174,
|
| 1314 |
+
238,
|
| 1315 |
+
825,
|
| 1316 |
+
294
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 11
|
| 1319 |
+
}
|
| 1320 |
+
]
|
parse/train/rkzfuiA9F7/rkzfuiA9F7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkzfuiA9F7/rkzfuiA9F7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vQTYEUtSUr/vQTYEUtSUr.md
ADDED
|
@@ -0,0 +1,471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Learning Local-Global Contextual Adaptation for Fully End-to-End Bottom-Up Human Pose Estimation
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
Affiliation
|
| 5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
This paper presents a method of learning LOcal-GlObal Contextual Adaptation for fully end-to-end and fast bottom-up human Pose estimation, dubbed as LOGO$C A P$ . It is built on the conceptually simple center-offset formulation that lacks inaccuracy for pose estimation. When revisiting the bottom-up human pose estimation with the thought of “thinking, fast and slow” by D. Kahneman, we introduce a “slow keypointer” to remedy the lack of sufficient accuracy of the “fast keypointer”. In learning the “slow keypointer”, the proposed LOGO-CAP lifts the initial “fast” keypoints by offset predictions to keypoint expansion maps (KEMs) to counter their uncertainty in two modules. Firstly, the local KEMs (e.g. $1 1 \times 1 1$ ) are extracted from a low-dimensional feature map. A proposed convolutional message passing module learns to “re-focus” the local KEMs to the keypoint attraction maps (KAMs) by accounting for the structured output prediction nature of human pose estimation, which is directly supervised by the object keypoint similarity (OKS) loss in training. Secondly, the global KEMs are extracted, with a sufficiently large region-of-interest (e.g., $9 7 \times 9 7$ ), from the keypoint heatmaps that are computed by a direct map-to-map regression. Then, a local-global contextual adaptation module is proposed to convolve the global KEMs using the learned KAMs as the kernels. This convolution can be understood as the learnable offsets guided deformable and dynamic convolution in a pose-sensitive way. The proposed method is end-to-end trainable with near real-time inference speed, obtaining state-of-the-art performance on the COCO keypoint benchmark for bottom-up human pose estimation. With the COCO trained model, our LOGO-CAP also outperforms prior arts by a large margin on the challenging OCHuman dataset.
|
| 11 |
+
|
| 12 |
+
# 24 1 Introduction
|
| 13 |
+
|
| 14 |
+
# 1.1 Motivation and Objective
|
| 15 |
+
|
| 16 |
+
Human pose is highly articulated with large structural and appearance variations. 2D human pose estimation in images is a classic structured output prediction problem, and remains a challenging one in computer vision and machine learning. Human pose estimation has numerous applications such as people-centered image understanding, autonomous driving and Augmented Reality (AR). With the recent resurgence of deep neural networks (DNNs), the performance of human pose estimation has witnessed remarkable improvement [12, 3, 15, 22, 11]. This paper focuses on the deep learning based problem formulation.
|
| 17 |
+
|
| 18 |
+
33 There are two deep learning based paradigms for human pose estimation in the literature. The top
|
| 19 |
+
34 down paradigm consists of human detection and single human pose estimation in each detected
|
| 20 |
+
35 human bounding box [12]. The bottom-up paradigm also includes two components: human pose
|
| 21 |
+
36 keypoint detection and keypoint grouping [3]. The top-down paradigm often obtains better accuracy
|
| 22 |
+
37 performance, but suffers from its inferior efficiency since the computational cost of the single human
|
| 23 |
+
38 pose estimation component is linearly scaled with respect to the number of detected human bounding
|
| 24 |
+
39 boxes in an image. It is also largely affected by the performance of the human detection component
|
| 25 |
+
40 (e.g., not handling occlusion very well). Thanks to its efficiency, especially in real-time applications,
|
| 26 |
+
41 the bottom-up paradigm becomes more and more attractive. For both paradigms, state-of-the-art
|
| 27 |
+
42 methods often are not fully end-to-end trained and utilize different post-hoc processing modules
|
| 28 |
+
43 to improve the performance. This paper is interested in developing a fully end-to-end bottom-up
|
| 29 |
+
44 paradigm and aims at bridging its performance gap with the top-down paradigm.
|
| 30 |
+
45 For the bottom-up paradigm, the recently proposed center-offset approach [6, 28, 26, 11] is a con
|
| 31 |
+
46 ceptually simple formulation (see the left of Fig. 1 for an illustrative example and Fig. 3 for the
|
| 32 |
+
47 detailed workflow). It alleviates the need of sophisticated keypoint grouping. When introducing
|
| 33 |
+
48 human keypoints centers (i.e., anchors) by treating objects as points [35], it encodes a human pose
|
| 34 |
+
49 as a star structure using the offset vectors of human keypoints relative to the anchors. The main
|
| 35 |
+
50 challenge of the center-offset regression paradigm lies in the difficulty of accurately learning offset
|
| 36 |
+
51 vectors with large structural variations, especially the long-range ones, which also leads to inferior
|
| 37 |
+
52 performance. This paper builds on the center-offset approach and addresses its drawback.
|
| 38 |
+
|
| 39 |
+

|
| 40 |
+
Figure 1: Illustration of the proposed LOGO-CAP for bottom-up human pose estimation. It is built on the center-offset representation. See text for detail.
|
| 41 |
+
|
| 42 |
+
# 53 1.2 Method Overview
|
| 43 |
+
|
| 44 |
+
To address the drawback of the center-offset formulation, we build the intuitive idea of “Keypointing, fast and slow”, by analogy to the modes of thought suggested by Daniel Kahneman in “Thinking, fast and slow” [14]: (i) Fast Keypointer: We treat the vanilla center-offset based estimation [35] as the Fast Initializer of pose estimation. (ii) Slow Keypointer: The lack of localization accuracy in the Fast Initializer entails a Slow Solver that learns to refine the “fast” keypoints. By slow, it is only relatively speaking. The Slow Keypointer is actually fast with near real-time speed.
|
| 45 |
+
|
| 46 |
+
60 To realize the Slow Keypointer, as illustrated in Fig. 1
|
| 47 |
+
61 and Fig. 3, this paper presents a method of learning
|
| 48 |
+
62 LOcal-GlObal Contextual Adaptation for fully end-to
|
| 49 |
+
63 end and fast bottom-up human Pose estimation, dubbed
|
| 50 |
+
64 as LOGO-CAP. To quantitatively motivate the proposed
|
| 51 |
+
65 method, we first present a surprisingly strong observa
|
| 52 |
+
66 tion for a vanilla center-offset regression method (Ta
|
| 53 |
+
67 ble 1) in the fully-annotated subset of the COCO val-2017
|
| 54 |
+
68 dataset.Specifically, the vanilla regression method utilizes
|
| 55 |
+
69 the HRNet-W32 [27] as the feature backbone to directly
|
| 56 |
+
70 predict keypoints center heatmap and the offset vectors.
|
| 57 |
+
71 This vanilla center-offset model obtains 60.1 average pre
|
| 58 |
+
72 cision (AP), which is not great, but reasonably good. It
|
| 59 |
+
73 clearly shows that the pose keypoints center and the offset vectors can be learned reasonably well.
|
| 60 |
+
74 Instead of directly utilizing the learned offset vectors for human pose estimation, we treat them as
|
| 61 |
+
75 human pose keypoint initialization and do a local window search to compute the empirical upper
|
| 62 |
+
76 bound of performance. More detailed, based on the predicted human poses, by introducing a local
|
| 63 |
+
77 window (e.g., $1 1 \times 1 1$ ) centered at each detected key point and by computing the single keypoint
|
| 64 |
+
78 similarity with the ground-truth keypoint, an empirical upper-bound of 88.9 AP is obtained, which
|
| 65 |
+
79 is significantly higher than the state of the art and shows the potential of improving the vanilla
|
| 66 |
+
80 center-offset regression paradigm.
|
| 67 |
+
81 Motivated by the above observation, a straightforward way is just to learn a local heatmap (e.g.,
|
| 68 |
+
82 $1 1 \times 1 1$ ) for each human pose keypoint based on the learned center and offset vectors, and then to
|
| 69 |
+
83 compute the refined keypoints by taking arg max within the local heatmap. Although appealing,
|
| 70 |
+
84 this does not work as observed during our development of the LOGO-CAP. The underlying reason
|
| 71 |
+
85 is easy to understand: if this can work, the original offset vector regression should work at the
|
| 72 |
+
86 first place since no additional information is introduced through learning the local heatmap. We
|
| 73 |
+
87 hypothesize that on the one hand, on top of the local heatmap, the structural relationship between
|
| 74 |
+
88 different keypoints of a human pose needs to be taken into account, and on the other hand, the
|
| 75 |
+
89 intrinsic uncertainty of the local information in a local heatmap needs to be resolved. The former
|
| 76 |
+
90 is the key challenge of structured output prediction problems. Many message passing algorithms
|
| 77 |
+
91 have been developed in the literature. The latter can not be addressed by simply increasing the local
|
| 78 |
+
92 window size. It entails learning stronger local-global information interaction and adaptation,.
|
| 79 |
+
93 Along with the two hypotheses, the proposed LOGO
|
| 80 |
+
94 CAP lifts the initial keypoints via the center-offset pre
|
| 81 |
+
95 diction to keypoint expansion maps (KEMs) to counter
|
| 82 |
+
96 their lack of localization accuracy in two modules (Sec
|
| 83 |
+
97 tion 3.2). The KEMs extend the star-structured repre
|
| 84 |
+
98 sentation of the center-offset formulation to the pictorial
|
| 85 |
+
99 structure representation [10, 8]. The first module com
|
| 86 |
+
100 putes local KEMs and learns to account for the struc
|
| 87 |
+
101 tured output prediction nature of the human pose esti
|
| 88 |
+
102 mation problem, leading to the keypoint attraction maps
|
| 89 |
+
103 (KAMs). The second computes global KEMs and learns
|
| 90 |
+
104 to refine the global KEMs by leveraging the KAMs.
|
| 91 |
+
105 Our LOGO-CAP is a fully end-to-end bottom-up hu
|
| 92 |
+
106 man pose estimation method with near real-time infer
|
| 93 |
+
107 ence speed. It obtains $7 0 . 0 \mathrm { A P }$ in the fully-annotated sub
|
| 94 |
+
108 set of the COCO val-2017 dataset, which is an absolute
|
| 95 |
+
109 increase of $9 . 9 \mathrm { \ A P }$ compared to the vanilla center-offset
|
| 96 |
+
110 method, making a significant step forward. Fig. 1 shows a
|
| 97 |
+
111 pose estimation example. Fig. 2 shows the advantage of the proposed LOGO-CAP in terms of over
|
| 98 |
+
112 all speed-accuracy comparisons between our LOGO-CAP and prior arts. Meanwhile, we should
|
| 99 |
+
113 notice that there is also a significant gap compared to the empirical upper bound (Table 1), which
|
| 100 |
+
114 encourages more work to be investigated.
|
| 101 |
+
|
| 102 |
+
Table 1: The performance of a vanilla center-offset regression approach, its empirical upper bound, and the performance of our proposed LOGO-CAP using HRNet-W32 [27] as the feature backbone. See text for detail.
|
| 103 |
+
|
| 104 |
+
<table><tr><td></td><td>Baseline</td><td>Emp.Bound</td><td>LOGO-CAP</td></tr><tr><td>AP</td><td>60.1</td><td>88.9</td><td>70.0</td></tr><tr><td>Ap50</td><td>85.2</td><td>93.1</td><td>88.2</td></tr><tr><td>AP75</td><td>66.7</td><td>90.6</td><td>76.4</td></tr><tr><td>APM</td><td>53.7</td><td>87.7</td><td>64.4</td></tr><tr><td>APL</td><td>71.5</td><td>90.2</td><td>78.4</td></tr></table>
|
| 105 |
+
|
| 106 |
+

|
| 107 |
+
Figure 2: Speed-accuracy comparisons between our LOGO-CAP and prior arts on the COCO val-2017 dataset. $\mathrm { W } x .$ - $Y$ (e.g. W32-384) means that a model uses the backbone HRNet- $. \mathrm { W } x$ (HRNetW32) and is tested with the image resolution $Y$ in the short side.
|
| 108 |
+
|
| 109 |
+
# 2 Related Works and Our Contributions
|
| 110 |
+
|
| 111 |
+
116 There is a vast body of literature for human pose estimation. Many elegant representation schema
|
| 112 |
+
117 have been developed for modeling articulated human pose in the traditional approaches such as the
|
| 113 |
+
118 well-known pictorial structure model [10, 8] and its many variants [24, 1, 23, 33, 25]. Most of them
|
| 114 |
+
119 focused on single person pose estimation. They perform inference over a combination of local ob
|
| 115 |
+
120 servations on body parts (i.e., the data term) and the spatial dependencies between them (i.e., the
|
| 116 |
+
121 spring or clique term). The spatial dependencies are captured either using directed and acyclic struc
|
| 117 |
+
122 tures that facilitate the global optimization by dynamic programming [2, 9], or using structures with
|
| 118 |
+
123 loop introduced (for high-order part relationship modeling) which resort to approximate inference
|
| 119 |
+
124 by loopy belief propagation [19]. The bottleneck of the traditional methods lies in the data term
|
| 120 |
+
125 which is often based on hand-crafted features. With the resurgence of DNNs and the end-to-end
|
| 121 |
+
126 learning, the data term has been largely improved. We briefly review the recent deep learning based
|
| 122 |
+
127 approaches for bottom-up human pose estimation.
|
| 123 |
+
128 Limb-based Grouping Approaches have been extensively developed due to the naturalness of
|
| 124 |
+
129 modeling limbs based on keypoints. Given a predefined limb configuration (e.g., the COCO person
|
| 125 |
+
130 skeleton template consisting of 19 limbs based on 17 keypoints), the grouping can be addressed by
|
| 126 |
+
131 Part affinity field (PAF) [4, 3], Associative Embedding (AE) [20], mid-range offset fields in Person
|
| 127 |
+
132 Lab [22] and the fields of Part Intensity and Association [15]. Typically, sophisticated designs are
|
| 128 |
+
133 entailed to achieve good performance. For example, a bipartite graph matching is used in Open
|
| 129 |
+
134 Pose [3]. In addition to be computationally expensive, another drawback of these methods is not
|
| 130 |
+
135 fully end-to-end trainable. More recently, the differentiability issue was studied by the Hierarchical
|
| 131 |
+
136 Graph Clustering (HGG) method [13], which utilizes graph convolution networks to repeatedly de
|
| 132 |
+
137 lineate pose parameters of multiple persons from a keypoint graph. HGG improves the performance
|
| 133 |
+
138 compared to its baseline, the Associative Embedding method [20] at the expense of significantly
|
| 134 |
+
39 increased computational cost. In contrast to thoses approaches, our proposed LOGO-CAP is fully
|
| 135 |
+
40 end-to-end trainable and achieves near real-time inference speed.
|
| 136 |
+
141 Direct Regression based Approaches have attracted much attention due to their conceptually sim
|
| 137 |
+
142 ple formulation [6, 28, 26, 11, 30]. These center-offset based formulation are inspired by the re
|
| 138 |
+
143 cent remarkable success of direct bounding box regression in object detection such as the FCOS
|
| 139 |
+
144 method [29] and CenterNets [35, 6]. As aforementioned, one main challenge is the difficulty of ac
|
| 140 |
+
145 curately regress the offset vectors, especially for the long-range keypoints with respect to the center.
|
| 141 |
+
146 Sophisticated post-processing schema are often entailed to improve the performance. For example,
|
| 142 |
+
147 a method of matching the directly regressed poses to the nearest keypoints that are extracted from
|
| 143 |
+
148 the global keypiont heatmaps is used in [35]. Although being simple, the performance of this line of
|
| 144 |
+
149 work is usually inferior to the limb-based approaches. The mixture regression network [30] allevi
|
| 145 |
+
150 ated the issue of regression quality to some extent, but still remained an indispensable performance
|
| 146 |
+
151 gap comparing with the grouping-based approaches. Most recently, Geng et al. presented the first
|
| 147 |
+
152 competitive direct method, DEKR [11] with a novel pose-specific neural architecture for disentan
|
| 148 |
+
153 gled keypoint regression. To improve the performance, the DEKR method utilizes a lightweight
|
| 149 |
+
154 rescoring network to recalibrate the pose scores that are computed based on the keypoint heatmaps.
|
| 150 |
+
155 Despite good performance, the DEKR method entails the additional rescoring stage in both training
|
| 151 |
+
156 and testing, and thus is not fully end-to-end. The proposed LOGO-CAP retains the simplicity of the
|
| 152 |
+
157 vanilla center-offset formulation and enjoys fully end-to-end training and fast inference speed.
|
| 153 |
+
158 Our Contributions. The proposed LOGO-CAP makes three main contributions to the field of
|
| 154 |
+
159 bottom-up human pose estimation: (i) It addresses the drawback of the vanilla center-offset for
|
| 155 |
+
160 mulation while retaining its efficiency. It proposes the key idea of lifting a keypoint to a keypoint
|
| 156 |
+
161 expansion map to counter the lack of localization accuracy. To our knowledge, it is the first fully
|
| 157 |
+
162 end-to-end trainable method that achieves state-of-the-art performance. (ii) It presents a novel local
|
| 158 |
+
163 global contextual adaptation formulation that accounts for the nature of structured output predic
|
| 159 |
+
164 tion in human pose estimation and harnesses local-global structural information integration. (iii) It
|
| 160 |
+
165 obtains state-of-the-art performance in the COCO val-2017 and test-2017 datasets. It also shows
|
| 161 |
+
166 state-of-the-art transferability performance in the OCHuman dataset.
|
| 162 |
+
|
| 163 |
+
# 3 Approach
|
| 164 |
+
|
| 165 |
+
# 3.1 Problem Formulation
|
| 166 |
+
|
| 167 |
+
169 We follow the COCO protocol of defining the human pose. It consists of 17 human pose keypoints:
|
| 168 |
+
170 8 pairs of symmetric keypoints (hips, ankles, knees, shoulders, elbows, wrists, ears and eyes) and
|
| 169 |
+
171 the nose keypoint. Let $P = \{ 1 , \cdots 1 7 \}$ be the set of keypoint indexes using a predefined order.
|
| 170 |
+
172 Let $\Lambda$ be an image lattice of the spatial size $H \times W$ (e.g., $5 1 2 \times 5 1 2$ ), and $I$ be an image defined
|
| 171 |
+
173 on $\Lambda$ . Let $P _ { I } ^ { n }$ be the set of keypoint indexes for a human pose instance $n$ in an image $I$ and we
|
| 172 |
+
174 have $P _ { I } ^ { n } \subseteq { \bar { P } }$ . For example, in COCO, we typically have $1 \leq n \leq 3 0$ , and different human pose
|
| 173 |
+
175 instances have different number of visible keypoints due to occlusion and/or truncation. Denote by
|
| 174 |
+
176 $L _ { I } ^ { n } = \{ ( x _ { i } , y _ { i } ) ; i \in P _ { I } ^ { n } \}$ the keypoint locations of a human pose instance $n$ in an image $I$ , where
|
| 175 |
+
177 $( x _ { i } , y _ { i } ) \in \Lambda$ . In the center-offset formulation, we introduce the keypoints center (i.e., the anchor),
|
| 176 |
+
178 $( x _ { c } , y _ { c } )$ based on a given $L _ { I } ^ { n }$ and we have,
|
| 177 |
+
|
| 178 |
+
$$
|
| 179 |
+
\bar { x _ { c } } = 1 / | L _ { I } ^ { n } | \cdot \sum _ { i \in P _ { I } ^ { n } } x _ { i } , \quad y _ { c } = 1 / | L _ { I } ^ { n } | \cdot \sum _ { i \in P _ { I } ^ { n } } y _ { i } .
|
| 180 |
+
$$
|
| 181 |
+
|
| 182 |
+
179 With the anchor, a keypoint $( x _ { i } , y _ { i } )$ is equivalently defined by its offset/displacement, denoted by
|
| 183 |
+
180 $( \Delta x _ { i } , \Delta y _ { i } )$ with $\Delta x _ { i } = x _ { i } - x _ { c }$ and $\Delta y _ { i } = y _ { i } - y _ { c }$ . So, $L _ { I } ^ { n }$ can also be equivalently expressed as
|
| 184 |
+
181 $L _ { I } ^ { n } = \{ ( x _ { c } , y _ { c } ) , ( \Delta x _ { i } , \Delta y _ { i } ) ; i \in P _ { I } ^ { n } \}$ .
|
| 185 |
+
182 The objective of human pose estimation is to recover $L _ { I } ^ { n } = \{ ( x _ { i } , y _ { i } ) ; i \in P _ { I } ^ { n } \}$ for all human pose
|
| 186 |
+
183 instances in an image. Denote by $\hat { L } _ { I } ^ { n } = \{ ( \hat { x } _ { i } , \hat { y } _ { i } ) ; i \in P _ { I } ^ { n } \}$ the estimated human pose. Following
|
| 187 |
+
184 the COCO protocol, the object keypoint similarity (OKS) is used to evaluate the accuracy,
|
| 188 |
+
|
| 189 |
+
$$
|
| 190 |
+
\ell _ { O K S } ( \hat { L } _ { I } ^ { n } , L _ { I } ^ { n } ) = 1 / | P _ { I } ^ { n } | \cdot \sum _ { i \in P _ { I } ^ { n } } \exp { ( - d _ { i } ^ { 2 } / 2 s ^ { 2 } \kappa _ { i } ^ { 2 } ) } ,
|
| 191 |
+
$$
|
| 192 |
+
|
| 193 |
+
185 where $d _ { i }$ is the Euclidian distance between the ground-truth keypoint $( x _ { i } , y _ { i } )$ and the predicted one
|
| 194 |
+
186 $( \hat { x } _ { i } , \hat { y } _ { i } )$ . $s$ is the square root of the human segment area, and $\kappa$ per-keypoint constant that controls
|
| 195 |
+
187 fall-off in evaluation. We have $\ell _ { O K S } ( \hat { L } _ { I } ^ { n } , L _ { I } ^ { n } ) \in [ 0 , 1 ]$ . The OKS metric is to evaluate the distance
|
| 196 |
+
188 between predicted keypoints and ground-truth keypoints normalized by the scale of the person with
|
| 197 |
+
189 the importance of keypoints equalized. In benchmarking different methods, the average precision
|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
Figure 3: Illustration of the network and algorithmic flow of the proposed LOGO-CAP for bottomup human pose estimation. See text for detail.
|
| 201 |
+
|
| 202 |
+
(AP) at190 $\mathrm { O K S } { = } 0 . 5 0 : 0 . 0 5 : 0 . 9 5$ is used as the primary metric, together with $A P ^ { 5 0 }$ at $\mathrm { O K S = 0 . 5 0 }$ , 191 $\dot { A } P ^ { 7 5 }$ at $\mathrm { O K S = 0 . 7 5 }$ , and AP across medium and large scales, $A { \tilde { P } } ^ { M }$ and $A P ^ { L }$ respectively.
|
| 203 |
+
|
| 204 |
+
# 3.2 The Proposed LOGO-CAP
|
| 205 |
+
|
| 206 |
+
We first present the network and the inference of LOGO-CAP, and then give details of the training. We keep different modules of the proposed LOGO-CAP simple, which in turn highlights the effectiveness of the proposed representation and algorithmic flow.
|
| 207 |
+
|
| 208 |
+
# 3.2.1 The Network and the Inference
|
| 209 |
+
|
| 210 |
+
As illustrated in Fig. 3, the proposed LOGO-CAP consists of four components as follows.
|
| 211 |
+
|
| 212 |
+
i) A convolution neural network feature backbone. Given an input image $I$ , the output of the feature backbone is a $C$ -dim feature map, denoted by $F \in R ^ { C \times h \times w }$ , where $C$ is the feature dimension of the last convolutional layer in the feature backbone, and the spatial size $h \times w$ depends on the total stride in the feature backbone. We use off-the-shelf HRNets [27] in our experiments.
|
| 213 |
+
|
| 214 |
+
202 ii) A parallel keypoint-offset regression module. Given the feature map $F$ , the output of keypoint
|
| 215 |
+
203 regression is an 18-dim feature map (i.e., heatmaps) for the 17 keypoints and the keypoints center
|
| 216 |
+
204 respectively. Denote by $\mathcal { H } \in \mathcal { R } ^ { 1 8 \times h \times w }$ the heatmaps, and by $\bar { \mathcal { H } } ^ { \dagger ^ { \star } } \in \mathit { R } ^ { 1 8 \times H \times W }$ the up-sampled
|
| 217 |
+
205 heatmaps (using bi-linear interpolation in our experiments). The output of offset regression is a
|
| 218 |
+
206 34-dim feature map (i.e., the offset vector fields) for the 17 keypoints. Denote by $O \in R ^ { 3 4 \times h \times w }$
|
| 219 |
+
207 the offset fields. We adopt a minimally-simple design in realizing the regression modules using a
|
| 220 |
+
208 channel-wise multi-layer perceptron (MLP). In implementation, we first apply dimension reduction
|
| 221 |
+
209 to the feature map $F$ using a $1 \times 1$ convolution followed by a Batch Normalization (BN) and a Rec
|
| 222 |
+
210 tified Linear Unit (ReLU). Then, the output is computed by a $1 \times 1$ convolution. More specifically,
|
| 223 |
+
211 we have the two parallel branches as follows,
|
| 224 |
+
|
| 225 |
+
$$
|
| 226 |
+
\begin{array} { r } { F _ { C \times h \times w } \xrightarrow [ C \times 1 \times 1 \times C _ { 1 } ] { C o n v + B N + R e L U } F _ { C _ { 1 } \times h \times w } ^ { \mathcal { H } } \xrightarrow [ C _ { 1 } \times 1 \times 1 \times 1 \mathrm { S } ] { C o n v } \mathcal { H } _ { 1 8 \times h \times w } \xrightarrow [ ] { U p S a m p l i n g } \mathcal { H } _ { 1 8 \times H \times W } ^ { \uparrow } , } \end{array}
|
| 227 |
+
$$
|
| 228 |
+
|
| 229 |
+
$$
|
| 230 |
+
\begin{array} { r } { F _ { C \times h \times w } \xrightarrow [ { C \times 1 \times 1 \times C _ { 2 } } ] { C o n v + B N + R e L U } F _ { C _ { 2 } \times h \times w } ^ { \mathcal { O } } \xrightarrow [ { C _ { 2 } \times 1 \times 1 \times 3 \mathrm { { \ell } } ] { C o n v } } { \mathcal { O } } _ { 3 4 \times h \times w } , } \end{array}
|
| 231 |
+
$$
|
| 232 |
+
|
| 233 |
+
212 where $C _ { 1 }$ and $C _ { 2 }$ are predefined (e.g., $C _ { 1 } = 3 2$ and $C _ { 2 } = 2 5 6$ are typically used).
|
| 234 |
+
|
| 235 |
+
213 Initial pose estimation via the center-offset approach. Based on the computed keypoints center
|
| 236 |
+
214 heatmap H↑(18) and offset fields $\mathcal { O }$ , a predefined maximum number of pose candidates is computed
|
| 237 |
+
215 as done in the vanilla center-offset approach. A non-maximum suppression (NMS) with a $3 \times 3$
|
| 238 |
+
216 window is applied in $\mathcal { H } _ { ( 1 8 ) } ^ { \uparrow }$ and then the top- $. N$ keypoints centers are selected (e.g., $N = 3 0$ in our
|
| 239 |
+
217 experiments). The $N$ pose instances are computed by retrieving their offset vectors in $\mathcal { O }$ based on
|
| 240 |
+
218 the selected $N$ keypoints centers. The $N$ pose instances are further pruned by thresholding their
|
| 241 |
+
219 confidence scores in $\mathcal { H } _ { ( 1 8 ) } ^ { \uparrow }$ with a predefined threshold (e.g., 0.01 used in our experiments). Without
|
| 242 |
+
220 confusion in the context, we still use $N$ to denote the number of poses instances by this initial pose
|
| 243 |
+
221 estimation step. We obtain the set of estimated keypoints centers, denoted by $\mathcal { C } _ { N \times 3 }$ each row of
|
| 244 |
+
222 which represents the position coordinates and the confidence score.
|
| 245 |
+
223 Lifting a keypoint to a keypoint expansion map (KEM) by imposing a mesh. For each of the $N$
|
| 246 |
+
224 pose instances, each of the 17 keypoints are placed in a local geometric mesh (e.g., $1 1 \times 1 1 )$ ) with the
|
| 247 |
+
225 estimated location as the mesh center, capturing the uncertainty of the center-offset pose estimation
|
| 248 |
+
226 as aforementioned in the introduction. This mesh can thus be interpreted as keypoint expansion
|
| 249 |
+
227 map (KEM), accounting for competency-aware representations. The entire mesh is denoted by
|
| 250 |
+
228 $\mathcal { M } _ { N \times 1 7 \times 1 1 \times 1 1 \times 2 }$ , which is used in computing the empirical upper bound in Table 1. We have,
|
| 251 |
+
|
| 252 |
+
$$
|
| 253 |
+
\{ \mathcal { H } _ { ( 1 8 ) } ^ { \uparrow } , \mathcal { O } _ { 3 4 \times h \times w } \} \xrightarrow { \mathrm { i n i t i a l p o s e ~ e s t i m a t i o n } } \{ \mathcal { C } _ { N \times 3 } , \mathcal { M } _ { N \times 1 7 \times 1 1 \times 1 1 \times 2 } \}
|
| 254 |
+
$$
|
| 255 |
+
|
| 256 |
+
229 iii) A convolution message passing module. We first encode the geometric mesh $\mathcal { M } _ { N \times 1 7 \times 1 1 \times 1 1 \times 2 }$
|
| 257 |
+
230 in a latent space with the dimensionality $C _ { 3 }$ (e.g., 64 in our experiments), computed based on the
|
| 258 |
+
231 feature backbone output. Then, a keypoint is represented by a $C _ { 3 } \times 1 1 \times 1 1$ local feature map. A
|
| 259 |
+
232 pose instance is represented by concatenating all the 17 keypoints. We have,
|
| 260 |
+
|
| 261 |
+
$$
|
| 262 |
+
\begin{array} { r } { F _ { C \times h \times w } \xrightarrow [ C \times 1 \times 1 \times C _ { 3 } ] { C o n v + B N + R e L U } F _ { C _ { 3 } \times h \times w } ^ { M } \xrightarrow [ ] { \overset { M _ { N \times 1 7 \times 1 1 \times 1 1 \times 2 } } { \underbrace { \mathrm { b i } \cdot \mathrm { l i n e a r } } } } \mathcal { K } _ { N \times ( 1 7 \times C _ { 3 } ) \times 1 1 \times 1 1 } , } \end{array}
|
| 263 |
+
$$
|
| 264 |
+
|
| 265 |
+
233 where the bi-linear interpolation is used due to the sub-pixel based locations in the mesh and for
|
| 266 |
+
234 better feature alignment.
|
| 267 |
+
235 To facilitate the structural information flow between different latent codes of the keypoints of a pose
|
| 268 |
+
236 instance, we propose a simple convolutional message passing (CMP) module with three layers of
|
| 269 |
+
237 Conv $\mathbf { + B N + }$ ReLU operations,
|
| 270 |
+
|
| 271 |
+
$$
|
| 272 |
+
\begin{array} { r } { K _ { N \times ( 1 7 \times C _ { 3 } ) \times 1 1 \times 1 1 } \Rightarrow [ \frac { C o n v + B N + R e L U } { C _ { i n } \times 3 \times 3 \times C _ { o u t } } ] _ { \times 3 } \Rightarrow \cdot \xrightarrow [ C _ { 6 } \times 1 \times 1 \times 1 7 ] { C o n v } K _ { N \times 1 7 \times 1 1 \times 1 1 } , } \end{array}
|
| 273 |
+
$$
|
| 274 |
+
|
| 275 |
+
238 where $C _ { i n } \in \{ ( 1 7 \times C _ { 3 } ) , C _ { 4 } , C _ { 5 } \}$ and $C _ { o u t } \in \{ C _ { 4 } , C _ { 5 } , C _ { 6 } \}$ (e.g., $C _ { 4 } = 5 1 2 , C _ { 5 } = 2 5 6 , C _ { 6 } = 1 2 8$
|
| 276 |
+
239 in our experiments). The resulting $K _ { N \times 1 7 \times 1 1 \times 1 1 }$ can be interpreted as keypoint attraction maps
|
| 277 |
+
240 (KAMs) which are “re-focused” based on the KEMs by the CMP. To account for the specificity of
|
| 278 |
+
241 different pose instances in the CMP, we adopt the Attention Normalization [17] to replace the BN in
|
| 279 |
+
242 the second Conv+BN+ReLU layer, which further improves the performance in our experiments.
|
| 280 |
+
|
| 281 |
+
Through the CMP, we obtain the dynamic (a.k.a., data-driven) kernels for the 17 keypoints in a pose instance-sensitive way, which are used to refine the global heatmaps $\mathcal { H } ^ { \uparrow }$ for the 17 keypoints.
|
| 282 |
+
|
| 283 |
+
iv) A local-global contextual adaptation module. We first compute another geometric mesh with enlarged mesh window $a \times a$ (e.g., $a = 9 7$ ) for each keypoint of the $N$ pose instances, and the entire mesh is denoted by $\mathcal { M } _ { N \times 1 7 \times a \times a \times 2 } ^ { L }$ , as done in Eqn. 5. The mesh can be interpreted as the global KEM. It is then instantiated with appearance features extracted from the global heatmaps H↑(1:17), similar to Eqn. 6, and we have,
|
| 284 |
+
|
| 285 |
+
$$
|
| 286 |
+
\begin{array} { r } { \mathcal { H } _ { ( 1 : 1 7 ) } ^ { \uparrow } \xrightarrow { \mathcal { M } _ { N \times 1 7 \times a \times a \times 2 } ^ { L } } \mathbb { H } _ { N \times 1 7 \times a \times a } \xrightarrow [ \mathrm { r e w e i g h i n g } ] { \mathcal { G } _ { a \times a } ( 0 , \sigma ) } \bar { \mathbb { H } } _ { N \times 1 7 \times a \times a } . } \end{array}
|
| 287 |
+
$$
|
| 288 |
+
|
| 289 |
+
where to encode the Gaussian prior of keypoint heatmaps, the resulting pose-guided heatmaps $\mathbb { H }$ is reweighed by a Gaussian kernel $\begin{array} { r } { \mathcal { G } _ { a \times a } ( 0 , \dot { \sigma } = \frac { a - 1 } { 2 \times 3 } ) } \end{array}$ (e.g., $\sigma = 1 6$ when $a = 9 7$ ) in an element-wise way. By doing so, it means that the enlarged mesh follows the $3 \sigma$ principle.
|
| 290 |
+
|
| 291 |
+
Then, we apply the learned keypoint $1 1 \times 1 1$ kernels $K _ { n , i }$ ’s (Eqn. 7) to convolve the reweighed $a \times a$ heatmap $\bar { \mathbb H } _ { n , i }$ (Eqn. 8) in a pose instance-sensitive and keypoint-specific way, leading to LOcal-GlObal Contextual Adaptation,
|
| 292 |
+
|
| 293 |
+
$$
|
| 294 |
+
\mathbb { \tilde { H } } _ { N \times 1 7 \times a \times a } \xrightarrow [ \mathrm { L O G O - C A } ] { K _ { N \times 1 7 \times 1 1 \times 1 1 } } \mathbb { \tilde { H } } _ { N \times 1 7 \times a \times a } ,
|
| 295 |
+
$$
|
| 296 |
+
|
| 297 |
+
256 which represents the refined heatmaps for the 17 human pose keypoints.
|
| 298 |
+
|
| 299 |
+
The Pose Estimation Output. With the local-global contextually adpated heatmaps $\tilde { \mathbb { H } } _ { N \times 1 7 \times a \times a }$ , we maintain the top-2 locations for each keypoint within the $a \times a$ heatmap, and then utilize a convex average of the top-2 locations as the final predicted offset vectors (i.e. $( \Delta x _ { i } ^ { \prime } , \Delta y _ { i } ^ { \prime } )$ ’s in Fig. 3), and of their confidence scores as the prediction score, with a predefined weight $\lambda$ for the top-1 location (0.75 in our experiments). Together with the predicted keypoints centers $\mathcal { C } _ { N \times 3 }$ (Eqn. 5), the final prediction score for each keypoint is the product between the convex average confidence score and the center confidence score. We keep the keypoints whose final scores are greater than 0. We have,
|
| 300 |
+
|
| 301 |
+
$$
|
| 302 |
+
\left\{ \mathcal C _ { N \times 3 } , \tilde { \mathbb H } _ { N \times 1 7 \times a \times a } \right\} \xrightarrow [ \mathrm { S c o r e ~ t h r e s h o l d i n g } ] { \mathrm { O u t p u t } } \left\{ \hat { L } _ { I } ^ { n } ; n = 1 , \cdots N ^ { \prime } \right\} ,
|
| 303 |
+
$$
|
| 304 |
+
|
| 305 |
+
where 264 $N ^ { \prime }$ is the number of the final predicted pose instances in an image $I$ .
|
| 306 |
+
|
| 307 |
+
# 3.2.2 Loss Functions in Training
|
| 308 |
+
|
| 309 |
+
In the fully end-to-end training, we need to define loss functions for the global heatmap $\mathcal { H }$ (Eqn. 3), the refined local heatmap $\tilde { \mathbb { H } }$ (Eqn. 9), the offset field $\mathcal { O }$ (Eqn. 4), and the keypoint kernels (Eqn. 7).
|
| 310 |
+
|
| 311 |
+
$\mathcal { H } _ { 1 8 \times h \times w } ^ { G T }$ map Loss. The widely adopted mean squared error (MSE) loss is used. Denoted bythe ground truth heatmaps in which each keypoint (including the center) is modeled by a 2-D Gaussian with dataset-provided mean and variance. Let $\mathbf { p } = ( i , \mathbf { x } )$ be the index of the domain $D$ of dimensions $1 8 \times h \times w$ . For the predicted heatmaps $\mathcal { H } _ { 1 8 \times h \times w }$ , the MSE loss is defined by,
|
| 312 |
+
|
| 313 |
+
$$
|
| 314 |
+
\mathcal { L } _ { \mathcal { H } } = 1 / | D | \cdot \sum _ { \mathbf { p } \in D } \| w ( \mathbf { x } ) ( \mathcal { H } ( \mathbf { p } ) - \mathcal { \hat { H } } ( \mathbf { p } ) ) \| _ { 2 } ^ { 2 } ,
|
| 315 |
+
$$
|
| 316 |
+
|
| 317 |
+
272 where $w ( \mathbf { x } )$ represents the weight for the foreground and the background pixels. The foreground
|
| 318 |
+
273 mask is provided by the dataset annotation. In our experiment, we set $w ( \mathbf { x } ) = 1$ for a foreground
|
| 319 |
+
274 pixel and $w ( \mathbf { x } ) = 0 . 1$ for a background pixel.
|
| 320 |
+
|
| 321 |
+
In defining the loss function $\mathcal { L } _ { \tilde { \mathbb { H } } }$ for the refined local heatmap $\tilde { \mathbb { H } }$ (Eqn. 9), the ground-truth heatmap $\tilde { \mathbb { H } } ^ { G T }$ is generated on-the-fly based on the mesh s using a Gaussian model with mean bein $\mathcal { M } _ { N \times 1 7 \times a \times a } ^ { L }$ (Eqn. 8) and the ground-truth key-ment between the current predicted keypoints and the ground-truth ones, and variance $\sigma$ (i.e., the standard deviation of the reweighing Gaussion prior model in Eqn. 8).
|
| 322 |
+
|
| 323 |
+
The Offset Field Loss. The widely adopted SmoothL1 loss $[ ]$ is used. Let $\mathcal { O } _ { 3 4 \times h \times w } ^ { G T }$ be the groundtruth offset field, and be the non-empty set of ground-truth keypoints centers (Eqn. 1). For the predicted offset field $\mathcal { O } _ { 3 4 \times h \times w }$ (Eqn. 4), we have,
|
| 324 |
+
|
| 325 |
+
$$
|
| 326 |
+
\mathcal { L } _ { \mathcal { O } } = 1 / | \mathcal { C } ^ { G T } | \cdot \sum _ { \mathbf { p } \in \mathcal { C } ^ { G T } } \mathcal { A } ( \mathbf { p } ) \cdot \mathrm { S m o o t h L 1 } \left( \mathcal { O } ( \cdot , \mathbf { p } ) , \mathcal { O } ^ { G T } ( \cdot , \mathbf { p } ) ; \beta \right) ,
|
| 327 |
+
$$
|
| 328 |
+
|
| 329 |
+
where $\scriptstyle A ( \mathbf { p } )$ is the area of the person centered at the pixel $\mathbf { p }$ , and $\beta$ the cutting-off threshold (e.g., $\frac { 1 } { 9 }$ in our experiments), and SmoothL1 $( a , b ; \beta ) = 0 . 5 \times | a - b | ^ { 2 } / \beta$ if $| a - b | \le \beta$ , otherwise $| a - b | { - } 0 . 5 { \times } \beta$ .
|
| 330 |
+
|
| 331 |
+
The OKS Loss for the Keyoint Kernels. Consider a single predicted pose instance, learning the keypoint kernels, $K _ { 1 7 \times 1 1 \times 1 1 }$ (Eqn. 7) is the key to facilitate the local-global contextual adaptation. To that end, the figure of merits of the KEF, $\mathcal { M } _ { 1 7 \times 1 1 \times 1 1 \times 2 }$ (Eqn. 5) needs to directly reflect the task loss, i.e., the OKS loss (Eqn. 2). With respect to the $N ^ { G T }$ ground-truth pose instances in an image, we can compute the similarity score per keypoint candidate in the KEF, and obtain the score tensor $S _ { 1 7 \times 1 1 \times 1 1 \times N ^ { G T } }$ . The score tensor is further clamped with a threshold 0.5, i.e., $S _ { 1 7 \times 1 1 \times 1 1 \times N ^ { G T } } =$ $\operatorname* { m a x } ( S _ { 1 7 \times 1 1 \times 1 1 \times N ^ { G T } } , 0 . 5 )$ . A mean reduction is applied to the first three dimensions of the clamped score tensor to compute the matching score for each of the $N ^ { G T }$ pose instance. Then, the best ground-truth pose instance indexed by $n ^ { * }$ is selected in terms of the matching score, and its matching score is denoted by $s _ { n ^ { * } }$ . Based on the selected ground-truth pose instance, we compute the perkeypoint similarity score for the predicted pose instance at hand, denoted by $s _ { k }$ ( $k \in [ 1 , 1 7 ] ,$ . Then, the loss function fo the keypoint kernels are defined by,
|
| 332 |
+
|
| 333 |
+
$$
|
| 334 |
+
\mathcal { L } _ { K } = s _ { n ^ { * } } \cdot \sum _ { k , i , j } s _ { k } \cdot | K _ { k , i , j } - S _ { k , i , j , n ^ { * } } | ^ { 2 } .
|
| 335 |
+
$$
|
| 336 |
+
|
| 337 |
+
97 The Total Loss is then defined by $\mathcal { L } = \mathcal { L } _ { \mathcal { H } } + \mathcal { L } _ { \tilde { \mathbb { H } } } + \lambda \cdot \left( \mathcal { L } _ { \mathcal { O } } + \mathcal { L } _ { K } \right)$ , where the trade-off parameter
|
| 338 |
+
98 $\lambda$ is used to balance the different loss items $\lambda = 0 . 0 1$ in our experiments).
|
| 339 |
+
|
| 340 |
+
# 4 Experiments
|
| 341 |
+
|
| 342 |
+
In this section, we present detailed experimental results and analyses of the proposed LOGO-CAP.
|
| 343 |
+
Our PyTorch source code will be released for reproducibility.
|
| 344 |
+
|
| 345 |
+
Datasets. We use two datasets in our experiments: The COCO dataset [18] is the most popular testbed for human pose estimation. It consists of $6 5 \mathrm { k }$ , 5k and $2 0 \mathrm { k }$ images with human pose well-annotated in the training, validation and testing datasets respectively. In all experiments, the proposed LOGO-CAP is trained using the 65k training images. The OCHuman dataset [34] is one popular testing-only dataset for evaluating human pose estimation under the occlusion scenarios. It consists of a total number of 4713 images with 8110 detailed annotated human pose instances using the COCO keypoint configuration. All the annotated 8110 human pose instances have occlusions with the maxIOU $\geq 0 . 5$ . Furthermore, $3 2 \%$ instances are more challenging with the maxIOU $\geq 0 . 7 5$ .
|
| 346 |
+
|
| 347 |
+

|
| 348 |
+
Figure 4: Examples of human pose estimation in the COCO val-2017 dataset by the proposed LOGO-CAP with the HRNet-W32 backbone. Top: The COCO skeleton template based visualization. Bottom: The close-up visualization and OKS comparisons between the initial center-offset estimation and the refined keypoints.
|
| 349 |
+
|
| 350 |
+
Table 2: Evaluation results on the COCO-val-2017 and COCO-testdev-2017 dataset. For HGG [13] and SimplePose [16], the multi-scale inference† is applied on the testdev-2017 dataset. For DEKR [11] that uses an rescoring network to get the final predictions, we report both the performance with and without rescoring (which is the fair baseline for our LOGO-CAP). The numbers of SPM [21] and HGG [13] are extracted from their papers.
|
| 351 |
+
|
| 352 |
+
<table><tr><td rowspan="2"></td><td rowspan="2">Method</td><td rowspan="2">Backbone</td><td colspan="5">COCO-val-2017</td><td colspan="5">COCO-testdev-2017</td></tr><tr><td>AP[%]</td><td>AP50[%]</td><td>|AP75[%]|APM[%]|</td><td></td><td>| AP𝐿 [%]</td><td>AP[%]</td><td>AP50[%]|AP75[%]</td><td></td><td>|APM[%]</td><td>APL[%]</td></tr><tr><td rowspan="5">Cerrnonn</td><td>OpenPose [35]</td><td>VGG-19</td><td>61.0</td><td>84.9</td><td>67.5</td><td>56.3</td><td>69.3</td><td>61.8</td><td>84.9</td><td>67.5</td><td>57.1</td><td>68.2</td></tr><tr><td>PifPaf[15]</td><td>ResNet-152</td><td>67.4</td><td>86.9</td><td>73.8</td><td>63.1</td><td>74.1</td><td>66.7</td><td>87.8</td><td>73.6</td><td>62.4</td><td>72.9</td></tr><tr><td>PersonLab [22]</td><td>ResNet-152</td><td>66.5</td><td>86.2</td><td>71.9</td><td>62.3</td><td>73.2</td><td>66.5</td><td>88.0</td><td>72.6</td><td>62.4</td><td>72.3</td></tr><tr><td>AE [20, 5]</td><td>HrHRNet-W32</td><td>67.1</td><td>86.2</td><td>73.0</td><td>61.5</td><td>76.1</td><td>66.4</td><td>87.5</td><td>72.8</td><td>61.2</td><td>74.2</td></tr><tr><td>HGG [13]</td><td>HrHRNet-W48</td><td>69.9</td><td>87.2</td><td>76.1</td><td>65.4</td><td>76.4</td><td>68.4</td><td>88.2</td><td>75.1</td><td>64.4</td><td>74.2</td></tr><tr><td rowspan="8"></td><td>SimplePose [16]</td><td>Hourglass IMHN</td><td>60.4 66.1</td><td>83.0 85.9</td><td>66.2 71.6</td><td>59.8</td><td>1 76.2</td><td>67.6† 68.5t</td><td>85.1 86.7†</td><td>73.7† 74.9†</td><td>62.7 66.4†</td><td>74.6t 71.9†</td></tr><tr><td>SPM[21]</td><td>Hourglass</td><td>一</td><td></td><td></td><td>一</td><td>一</td><td>66.9</td><td>88.5</td><td>72.9</td><td>62.6</td><td>0.731</td></tr><tr><td>CenterNet [35]</td><td>Hourglass</td><td>64.0</td><td>85.6</td><td>70.2</td><td>59.4</td><td>72.1</td><td>63.0</td><td>86.8</td><td>69.6</td><td>58.9</td><td>70.4</td></tr><tr><td>DEKR[11]</td><td>HRNet-W32</td><td>68.0</td><td>86.7</td><td>74.5</td><td>62.1</td><td>77.7</td><td>67.3</td><td>87.9</td><td>74.1</td><td>61.5</td><td>76.1</td></tr><tr><td>(w. Rescoring)</td><td>HRNet-W48</td><td>71.0</td><td>88.3</td><td>77.4</td><td>66.7</td><td>78.5</td><td>70.0</td><td>89.4</td><td>77.3</td><td>65.7</td><td>76.9</td></tr><tr><td>DEKR [11]</td><td>HRNet-W32</td><td>67.2</td><td>86.3</td><td>73.8</td><td>61.7</td><td>77.1</td><td>66.6</td><td>87.6</td><td>73.5</td><td>61.2</td><td>75.6</td></tr><tr><td>(w.o. Rescoring)</td><td>HRNet-W48</td><td>70.3</td><td>87.9</td><td>76.8</td><td>66.3</td><td>78.0</td><td>69.3</td><td>89.1</td><td>76.7</td><td>65.3</td><td>76.4</td></tr><tr><td>LOGO-CAP (Ours)</td><td>HRNet-W32 HRNet-W48</td><td>69.6 72.2</td><td>87.5 88.9</td><td>75.9 78.9</td><td>64.1 68.1</td><td>78.0 78.9</td><td>68.2 70.8</td><td>88.7 89.7</td><td>74.9 77.8</td><td>62.8 66.7</td><td>76.0 77.0</td></tr></table>
|
| 353 |
+
|
| 354 |
+
# 10 4.1 Results on the COCO dataset
|
| 355 |
+
|
| 356 |
+
Fig. 4 shows some qualitative examples of human pose estimation by the proposed LOGO-CAP.
|
| 357 |
+
More examples will be provided in the supplementary material.
|
| 358 |
+
|
| 359 |
+
The proposed LOGO-CAP is compared with prior arts including OpenPose [3], PifPaf [15], PersonLab [22], AE [20] and DEKR [11]. As reported in Table 2, the proposed LOGO-CAP outperforms all of them on both both validation and test-dev datasets.
|
| 360 |
+
|
| 361 |
+
In comparisons to the best-performing grouping approach, AE [20] with a larger backbone HrHRNet-W48 [5], our LOGO-CAP obtains competitive performance with a smaller HRNet-32 backbone, and improves the AP score with HRNet-W48 backbone on the validation and testdev datasets by 2.3 and 2.5 points, respectively. For the fully differentiable grouping approach HGG [13], our LOGO-CAP achieves better performance by a significantly large margin, more than 9.2 points on the validation set under the single-scale testing. Although the performance of HGG is improved by the multi-scale testing on the test-dev set, the performance of our LOGO-CAP is still significantly better without using the multi-scale testing scheme.
|
| 362 |
+
|
| 363 |
+
In comparisons to the direct regression based approaches, our LOGO-CAP obtains the best results without incurring either the matching scheme used in CenterNet [35] or the additional rescoring network used in DEKR [11]. When we disable the rescoring network for DEKR [11] for fair comparisons, our LOGO-CAP significantly improves the AP on the validation and testdev datasets by 2.4 points and 1.6 points respectively when HRNet-W32 is used as backbone. The larger backbone is beneficial for both DEKR and our method, which further improves the AP score of our LOGO-CAP to 72.2 and 70.8 on the validation and test-dev dataset respectively, outperforming DEKR by 1.9 and 1.5 respectively.
|
| 364 |
+
|
| 365 |
+
Table 3: Results on the OCHuman validation and testing datasets [34].
|
| 366 |
+
|
| 367 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Methods</td><td rowspan=1 colspan=1>Backbone</td><td rowspan=1 colspan=1>Val.AP[%]</td><td rowspan=1 colspan=1>TestAP [%]</td></tr><tr><td rowspan=1 colspan=1>umop-doL</td><td rowspan=1 colspan=1>RMPE [7]SBL [32]SBL [32]</td><td rowspan=1 colspan=1>HourglassResNet-50ResNet-152</td><td rowspan=1 colspan=1>38.837.841.0</td><td rowspan=1 colspan=1>30.730.433.3</td></tr><tr><td rowspan=2 colspan=1>dn-uonog</td><td rowspan=1 colspan=1>AE [20]HGG [20]DEKR [11]</td><td rowspan=1 colspan=1>HourglassHourglassHRNet-W32HRNet-W48</td><td rowspan=1 colspan=1>32.135.637.938.8</td><td rowspan=1 colspan=1>29.534.836.538.2</td></tr><tr><td rowspan=1 colspan=1>LOGO-CAP(Ours)</td><td rowspan=1 colspan=1>HRNet-W32HRNet-W48</td><td rowspan=1 colspan=1>39.041.2</td><td rowspan=1 colspan=1>38.140.4</td></tr></table>
|
| 368 |
+
|
| 369 |
+
Table 4: The single image inference speed comparison for bottom-up human pose estimation approaches.
|
| 370 |
+
|
| 371 |
+
<table><tr><td>Method</td><td>AP [%]</td><td>Backbone</td><td>Time↓ [ms]</td><td>FPS个</td></tr><tr><td>PifPaf[15]</td><td>67.4</td><td>ResNet-152</td><td>213</td><td>4.68</td></tr><tr><td>AE[20,5]</td><td>67.1</td><td>HrHRNet-W32</td><td>560</td><td>1.78</td></tr><tr><td>CenterNet [35]</td><td>64.0</td><td>Hourglass</td><td>147</td><td>6.80</td></tr><tr><td>DEKR[11]</td><td>68.0</td><td>HRNet-W32</td><td>63</td><td>15.8</td></tr><tr><td>DEKR [11]</td><td>71.0</td><td>HRNet-W48</td><td>139</td><td>7.21</td></tr><tr><td>LOGO-CAP</td><td>69.6</td><td>HRNet-W32</td><td>48</td><td>20.7</td></tr><tr><td>LOGO-CAP</td><td>72.2</td><td>HRNet-W48</td><td>112</td><td>8.95</td></tr></table>
|
| 372 |
+
|
| 373 |
+
# 4.2 Results on the OCHuman dataset
|
| 374 |
+
|
| 375 |
+
Table 3 shows that our LOGO-CAP achieves the best AP performance on both the validation and testing datasets by significant margins of 2.4 and 2.2 points in comparing with the bottom-up approaches. For the top-down approaches, although they obtain strong AP scores on the validation split, there exists a large performance gap between the validation and testing sets. In comparisons to DEKR [11] (with the rescoring network), our LOGO-CAP improves the performance from 37.9 to 39.0 and from 36.5 to 38.1 on the validation and testing splits with the same backbone HRNetW32, respectively. The similar improvement is observed when the HRNet-W48 backbone is used, outperforming both bottom-up and top-down approaches.
|
| 376 |
+
|
| 377 |
+
# 4.3 Inference Speed
|
| 378 |
+
|
| 379 |
+
In comparing the inference speed, we test all the models on a single TITAN RTX GPU for its popularity in practice. The average inference speed, FPS (frames per second), over the 5000 images in COCO-val-2017 is used for the comparison. For DEKR [11], we re-implement their inference code with better speed obtained for fair comparisons at the algorithm level. For methods that have post-processing schema on CPU, only one thread is used. As shown in Table 4, our LOGO-CAP runs significantly faster than PifPaf [15] and AE [20]. The CenterNet [35] runs slower than DEKR and our LOCO-CAP as it requires a post-processing scheme to match the predicted offsets to the keypoints obtained from heatmaps. Comparing with DEKR, the speed improvement of our LOGOCAP is from the lightweight design of head modules since the same backbones are used. For the comparisons in Table 2, we run the models with different resolutions of testing images.
|
| 380 |
+
|
| 381 |
+
# 4.4 Potentials and Limitations of the Proposed LOGO-CAP
|
| 382 |
+
|
| 383 |
+
Consider the generic applicability of the center-offset formulation to many computer vision tasks as demonstrated in [35], we hypothesize that the proposed LOGO-CAP has a great potential to remedy the lack of sufficient accuracy using the vanilla center-offset method in those tasks. We also notice that the minimally-simple design in learning the “Slow Keypointer” can be relaxed for different accuracy-speed trade-offs in practice. For example, for the convolutional message passing module, an alternative method could be the Transformer model [31], which potentially will further improve the performance at the expense of inference speed. We leave these for future work.
|
| 384 |
+
|
| 385 |
+
# 5 Conclusion
|
| 386 |
+
|
| 387 |
+
This paper focuses on deep learning based formulation for bottom-up human pose estimation. It presents a method of learning LOcal-GlObal Contextual Adaptation for Pose estimation, dubbed as LOGO-CAP. The proposed LOGO-CAP is built on the conceptually simple center-offset paradigm and addresses its drawback of lacking the capability of accurately localizing human pose keypoints. The key idea of our LOG-CAP is to lift the center-offset predicted keypoints to keypoint expansion maps (KEMs),which counters the inaccuracy and uncertainty of the initial keypoints. Two types of KEMs are introduced in two parallel modules on top of the feature backbone. Local KEMs are used to learn keypoint attraction maps (KAMs) via a convolutional message passing module that accounts for the structured output prediction nature of human pose estimation. Global KEMs are used to learn local-global contextual adaptation which convolves global KEMs using the KAMs as kernels. The refined global KEMs are used in computing the final human pose estimation. The proposed LOGO-CAP obtains state-of-the-art performance in COCO val-2017 and test-dev 2017 datasets for bottom-up human pose estimation. It also achieves state-of-the-art transferability performance in the OCHuman dataset with the COCO trained models.
|
| 388 |
+
|
| 389 |
+
375 References [1] Mykhaylo Andriluka, Stefan Roth, and Bernt Schiele. Pictorial structures revisited: People detection and articulated pose estimation. In 2009 IEEE conference on computer vision and pattern recognition, pages 1014–1021. IEEE, 2009. 3 [2] Richard Bellman. Dynamic programming. Science, 153(3731):34–37, 1966. 3 [3] Zhe Cao, Gines Hidalgo Martinez, Tomas Simon, Shih-En Wei, and Yaser A. Sheikh. Openpose: Realtime multi-person 2d pose estimation using part affinity fields. IEEE Trans. on Pattern Analysis and Machine Intelligence (PAMI), 2019. 1, 3, 8 [4] Zhe Cao, Tomas Simon, Shih-En Wei, and Yaser Sheikh. Realtime multi-person 2d pose estimation using part affinity fields. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1302–1310, 2017. 3 [5] Bowen Cheng, Bin Xiao, Jingdong Wang, Honghui Shi, Thomas S. Huang, and Lei Zhang. Higherhrnet: Scale-aware representation learning for bottom-up human pose estimation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 5385–5394. IEEE, 2020. 3, 8, 9 [6] Kaiwen Duan, Song Bai, Lingxi Xie, Honggang Qi, Qingming Huang, and Qi Tian. Centernet: Keypoint triplets for object detection. In IEEE/CVF International Conference on Computer Vision (ICCV), pages 6568–6577, 2019. 2, 4 [7] Haoshu Fang, Shuqin Xie, Yu-Wing Tai, and Cewu Lu. RMPE: regional multi-person pose estimation. In IEEE International Conference on Computer Vision (ICCV), pages 2353–2362, 2017. 9 [8] Pedro F Felzenszwalb and Daniel P Huttenlocher. Pictorial structures for object recognition. International journal of computer vision, 61(1):55–79, 2005. 3 [9] Pedro F Felzenszwalb and Ramin Zabih. Dynamic programming and graph algorithms in computer vision. IEEE transactions on pattern analysis and machine intelligence, 33(4):721–740, 2010. 3 [10] Martin A Fischler and Robert A Elschlager. The representation and matching of pictorial structures. IEEE Transactions on computers, 100(1):67–92, 1973. 3
|
| 390 |
+
400 [11] Zigang Geng, Ke Sun, Bin Xiao, Zhaoxiang Zhang, and Jingdong Wang. Bottom-up human pose estimation via disentangled keypoint regression. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2021. 1, 2, 3, 4, 8, 9 [12] Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross B. Girshick. Mask R-CNN. In ´ IEEE International Conference on Computer Vision (ICCV), pages 2980–2988, 2017. 1
|
| 391 |
+
405 [13] Sheng Jin, Wentao Liu, Enze Xie, Wenhai Wang, Chen Qian, Wanli Ouyang, and Ping Luo. Differentiable hierarchical graph grouping for multi-person pose estimation. In European Conference on Computer Vision (ECCV), volume 12352, pages 718–734, 2020. 3, 8
|
| 392 |
+
408 [14] Daniel Kahneman. Thinking, fast and slow. Macmillan, 2011. 2
|
| 393 |
+
409 [15] Sven Kreiss, Lorenzo Bertoni, and Alexandre Alahi. Pifpaf: Composite fields for human pose estimation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 11977–11986, 2019. 1, 3, 8, 9 [16] Jia Li, Wen Su, and Zengfu Wang. Simple pose: Rethinking and improving a bottom-up approach for multi-person pose estimation. In AAAI Conference on Artificial Intelligence (AAAI), pages 11354–11361, 2020. 8
|
| 394 |
+
415 [17] Xilai Li, Wei Sun, and Tianfu Wu. Attentive normalization. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, European Conference on Computer Vision (ECCV), volume 12362, pages 70–87, 2020. 6
|
| 395 |
+
418 [18] Tsung-Yi Lin, Michael Maire, Serge J. Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, ´ and C. Lawrence Zitnick. Microsoft COCO: common objects in context. In David J. Fleet, Tomas Pajdla, ´ Bernt Schiele, and Tinne Tuytelaars, editors, European Conference on Computer Vision (ECCV), volume 8693, pages 740–755, 2014. 7, 12 [19] Kevin Murphy, Yair Weiss, and Michael I Jordan. Loopy belief propagation for approximate inference: An empirical study. arXiv preprint arXiv:1301.6725, 2013. 3
|
| 396 |
+
|
| 397 |
+
424 [20] Alejandro Newell, Zhiao Huang, and Jia Deng. Associative embedding: End-to-end learning for joint
|
| 398 |
+
425 detection and grouping. In Advances in Neural Information Processing Systems 30 (NeurIPS), pages
|
| 399 |
+
426 2277–2287, 2017. 3, 8, 9
|
| 400 |
+
427 [21] Xuecheng Nie, Jiashi Feng, Jianfeng Zhang, and Shuicheng Yan. Single-stage multi-person pose ma
|
| 401 |
+
428 chines. In IEEE/CVF International Conference on Computer Vision (ICCV), pages 6950–6959, 2019.
|
| 402 |
+
429 8
|
| 403 |
+
430 [22] George Papandreou, Tyler Zhu, Liang-Chieh Chen, Spyros Gidaris, Jonathan Tompson, and Kevin Mur
|
| 404 |
+
431 phy. Personlab: Person pose estimation and instance segmentation with a bottom-up, part-based, geomet
|
| 405 |
+
432 ric embedding model. In European Conference on Computer Vision (ECCV), pages 282–299, 2018. 1, 3,
|
| 406 |
+
433 8
|
| 407 |
+
434 [23] Leonid Pishchulin, Mykhaylo Andriluka, Peter Gehler, and Bernt Schiele. Poselet conditioned pictorial
|
| 408 |
+
435 structures. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages
|
| 409 |
+
436 588–595, 2013. 3
|
| 410 |
+
437 [24] Deva Ramanan, David A Forsyth, and Andrew Zisserman. Strike a pose: Tracking people by finding
|
| 411 |
+
438 stylized poses. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition
|
| 412 |
+
439 (CVPR’05), volume 1, pages 271–278. IEEE, 2005. 3
|
| 413 |
+
440 [25] Brandon Rothrock, Seyoung Park, and Song-Chun Zhu. Integrating grammar and segmentation for human
|
| 414 |
+
441 pose estimation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition,
|
| 415 |
+
442 pages 3214–3221, 2013. 3
|
| 416 |
+
443 [26] Ke Sun, Zigang Geng, Depu Meng, Bin Xiao, Dong Liu, Zhaoxiang Zhang, and Jingdong Wang.
|
| 417 |
+
444 Bottom-up human pose estimation by ranking heatmap-guided adaptive keypoint estimates. CoRR,
|
| 418 |
+
445 abs/2006.15480, 2020. 2, 4
|
| 419 |
+
446 [27] Ke Sun, Bin Xiao, Dong Liu, and Jingdong Wang. Deep high-resolution representation learning for
|
| 420 |
+
447 human pose estimation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages
|
| 421 |
+
448 5693–5703, 2019. 2, 5
|
| 422 |
+
449 [28] Zhi Tian, Hao Chen, and Chunhua Shen. Directpose: Direct end-to-end multi-person pose estimation.
|
| 423 |
+
450 CoRR, abs/1911.07451, 2019. 2, 4
|
| 424 |
+
451 [29] Zhi Tian, Chunhua Shen, Hao Chen, and Tong He. FCOS: fully convolutional one-stage object detection.
|
| 425 |
+
452 In IEEE/CVF International Conference on Computer Vision (ICCV), pages 9626–9635, 2019. 4
|
| 426 |
+
453 [30] Ali Varamesh and Tinne Tuytelaars. Mixture dense regression for object detection and human pose esti
|
| 427 |
+
454 mation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 13083–
|
| 428 |
+
455 13092, 2020. 4
|
| 429 |
+
456 [31] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz
|
| 430 |
+
457 Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017. 9
|
| 431 |
+
458 [32] Bin Xiao, Haiping Wu, and Yichen Wei. Simple Baselines for Human Pose Estimation and Tracking.
|
| 432 |
+
459 Computer Vision and Pattern Recognition, 2018. 9
|
| 433 |
+
460 [33] Yi Yang and Deva Ramanan. Articulated human detection with flexible mixtures of parts. IEEE transac
|
| 434 |
+
461 tions on pattern analysis and machine intelligence, 35(12):2878–2890, 2012. 3
|
| 435 |
+
462 [34] Song-Hai Zhang, Ruilong Li, Xin Dong, Paul L. Rosin, Zixi Cai, Xi Han, Dingcheng Yang, Haozhi
|
| 436 |
+
463 Huang, and Shi-Min Hu. Pose2seg: Detection free human instance segmentation. In IEEE Conference
|
| 437 |
+
464 on Computer Vision and Pattern Recognition (CVPR), pages 889–898, 2019. 7, 9, 12
|
| 438 |
+
465 [35] Xingyi Zhou, Dequan Wang, and Philipp Krahenb ¨ uhl. Objects as points. ¨ CoRR, abs/1904.07850, 2019.
|
| 439 |
+
466 2, 3, 4, 8, 9
|
| 440 |
+
|
| 441 |
+
1. For all authors...
|
| 442 |
+
|
| 443 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 444 |
+
(b) Did you describe the limitations of your work? [Yes] See Section 4.4.
|
| 445 |
+
(c) Did you discuss any potential negative societal impacts of your work? [No]
|
| 446 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 447 |
+
|
| 448 |
+
2. If you are including theoretical results...
|
| 449 |
+
|
| 450 |
+
(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
|
| 451 |
+
|
| 452 |
+
3. If you ran experiments...
|
| 453 |
+
|
| 454 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] See Section 4.
|
| 455 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 4.
|
| 456 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No]
|
| 457 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Section 4 and the supplementary material.
|
| 458 |
+
|
| 459 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 460 |
+
|
| 461 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] We cited the COCO dataset [18] and the OCHuman dataset [34].
|
| 462 |
+
(b) Did you mention the license of the assets? [Yes] We mention the licenses in our source code.
|
| 463 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [N/A]
|
| 464 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] We briefly discussed it in Section 4.
|
| 465 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No]
|
| 466 |
+
|
| 467 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 468 |
+
|
| 469 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 470 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 471 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/vQTYEUtSUr/vQTYEUtSUr_content_list.json
ADDED
|
@@ -0,0 +1,1300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Learning Local-Global Contextual Adaptation for Fully End-to-End Bottom-Up Human Pose Estimation ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
122,
|
| 9 |
+
826,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
226,
|
| 20 |
+
578,
|
| 21 |
+
281
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
318,
|
| 32 |
+
535,
|
| 33 |
+
334
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "This paper presents a method of learning LOcal-GlObal Contextual Adaptation for fully end-to-end and fast bottom-up human Pose estimation, dubbed as LOGO$C A P$ . It is built on the conceptually simple center-offset formulation that lacks inaccuracy for pose estimation. When revisiting the bottom-up human pose estimation with the thought of “thinking, fast and slow” by D. Kahneman, we introduce a “slow keypointer” to remedy the lack of sufficient accuracy of the “fast keypointer”. In learning the “slow keypointer”, the proposed LOGO-CAP lifts the initial “fast” keypoints by offset predictions to keypoint expansion maps (KEMs) to counter their uncertainty in two modules. Firstly, the local KEMs (e.g. $1 1 \\times 1 1$ ) are extracted from a low-dimensional feature map. A proposed convolutional message passing module learns to “re-focus” the local KEMs to the keypoint attraction maps (KAMs) by accounting for the structured output prediction nature of human pose estimation, which is directly supervised by the object keypoint similarity (OKS) loss in training. Secondly, the global KEMs are extracted, with a sufficiently large region-of-interest (e.g., $9 7 \\times 9 7$ ), from the keypoint heatmaps that are computed by a direct map-to-map regression. Then, a local-global contextual adaptation module is proposed to convolve the global KEMs using the learned KAMs as the kernels. This convolution can be understood as the learnable offsets guided deformable and dynamic convolution in a pose-sensitive way. The proposed method is end-to-end trainable with near real-time inference speed, obtaining state-of-the-art performance on the COCO keypoint benchmark for bottom-up human pose estimation. With the COCO trained model, our LOGO-CAP also outperforms prior arts by a large margin on the challenging OCHuman dataset. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
163,
|
| 42 |
+
347,
|
| 43 |
+
764,
|
| 44 |
+
666
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "24 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
153,
|
| 54 |
+
689,
|
| 55 |
+
310,
|
| 56 |
+
705
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "1.1 Motivation and Objective ",
|
| 63 |
+
"text_level": 1,
|
| 64 |
+
"bbox": [
|
| 65 |
+
165,
|
| 66 |
+
712,
|
| 67 |
+
390,
|
| 68 |
+
727
|
| 69 |
+
],
|
| 70 |
+
"page_idx": 0
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"type": "text",
|
| 74 |
+
"text": "Human pose is highly articulated with large structural and appearance variations. 2D human pose estimation in images is a classic structured output prediction problem, and remains a challenging one in computer vision and machine learning. Human pose estimation has numerous applications such as people-centered image understanding, autonomous driving and Augmented Reality (AR). With the recent resurgence of deep neural networks (DNNs), the performance of human pose estimation has witnessed remarkable improvement [12, 3, 15, 22, 11]. This paper focuses on the deep learning based problem formulation. ",
|
| 75 |
+
"bbox": [
|
| 76 |
+
171,
|
| 77 |
+
731,
|
| 78 |
+
825,
|
| 79 |
+
827
|
| 80 |
+
],
|
| 81 |
+
"page_idx": 0
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"type": "text",
|
| 85 |
+
"text": "33 There are two deep learning based paradigms for human pose estimation in the literature. The top \n34 down paradigm consists of human detection and single human pose estimation in each detected \n35 human bounding box [12]. The bottom-up paradigm also includes two components: human pose \n36 keypoint detection and keypoint grouping [3]. The top-down paradigm often obtains better accuracy \n37 performance, but suffers from its inferior efficiency since the computational cost of the single human \n38 pose estimation component is linearly scaled with respect to the number of detected human bounding \n39 boxes in an image. It is also largely affected by the performance of the human detection component \n40 (e.g., not handling occlusion very well). Thanks to its efficiency, especially in real-time applications, \n41 the bottom-up paradigm becomes more and more attractive. For both paradigms, state-of-the-art \n42 methods often are not fully end-to-end trained and utilize different post-hoc processing modules \n43 to improve the performance. This paper is interested in developing a fully end-to-end bottom-up \n44 paradigm and aims at bridging its performance gap with the top-down paradigm. \n45 For the bottom-up paradigm, the recently proposed center-offset approach [6, 28, 26, 11] is a con \n46 ceptually simple formulation (see the left of Fig. 1 for an illustrative example and Fig. 3 for the \n47 detailed workflow). It alleviates the need of sophisticated keypoint grouping. When introducing \n48 human keypoints centers (i.e., anchors) by treating objects as points [35], it encodes a human pose \n49 as a star structure using the offset vectors of human keypoints relative to the anchors. The main \n50 challenge of the center-offset regression paradigm lies in the difficulty of accurately learning offset \n51 vectors with large structural variations, especially the long-range ones, which also leads to inferior \n52 performance. This paper builds on the center-offset approach and addresses its drawback. ",
|
| 86 |
+
"bbox": [
|
| 87 |
+
148,
|
| 88 |
+
834,
|
| 89 |
+
823,
|
| 90 |
+
904
|
| 91 |
+
],
|
| 92 |
+
"page_idx": 0
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"type": "image",
|
| 96 |
+
"img_path": "images/332f6e4b0367da1e63007c0e2069374f76b9f748ac02428f4ce01e345df82927.jpg",
|
| 97 |
+
"image_caption": [
|
| 98 |
+
"Figure 1: Illustration of the proposed LOGO-CAP for bottom-up human pose estimation. It is built on the center-offset representation. See text for detail. "
|
| 99 |
+
],
|
| 100 |
+
"image_footnote": [],
|
| 101 |
+
"bbox": [
|
| 102 |
+
196,
|
| 103 |
+
90,
|
| 104 |
+
800,
|
| 105 |
+
209
|
| 106 |
+
],
|
| 107 |
+
"page_idx": 1
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"type": "text",
|
| 111 |
+
"text": "",
|
| 112 |
+
"bbox": [
|
| 113 |
+
147,
|
| 114 |
+
252,
|
| 115 |
+
825,
|
| 116 |
+
349
|
| 117 |
+
],
|
| 118 |
+
"page_idx": 1
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"type": "text",
|
| 122 |
+
"text": "",
|
| 123 |
+
"bbox": [
|
| 124 |
+
147,
|
| 125 |
+
356,
|
| 126 |
+
825,
|
| 127 |
+
467
|
| 128 |
+
],
|
| 129 |
+
"page_idx": 1
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"type": "text",
|
| 133 |
+
"text": "53 1.2 Method Overview ",
|
| 134 |
+
"text_level": 1,
|
| 135 |
+
"bbox": [
|
| 136 |
+
155,
|
| 137 |
+
478,
|
| 138 |
+
338,
|
| 139 |
+
492
|
| 140 |
+
],
|
| 141 |
+
"page_idx": 1
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"type": "text",
|
| 145 |
+
"text": "To address the drawback of the center-offset formulation, we build the intuitive idea of “Keypointing, fast and slow”, by analogy to the modes of thought suggested by Daniel Kahneman in “Thinking, fast and slow” [14]: (i) Fast Keypointer: We treat the vanilla center-offset based estimation [35] as the Fast Initializer of pose estimation. (ii) Slow Keypointer: The lack of localization accuracy in the Fast Initializer entails a Slow Solver that learns to refine the “fast” keypoints. By slow, it is only relatively speaking. The Slow Keypointer is actually fast with near real-time speed. ",
|
| 146 |
+
"bbox": [
|
| 147 |
+
171,
|
| 148 |
+
497,
|
| 149 |
+
825,
|
| 150 |
+
582
|
| 151 |
+
],
|
| 152 |
+
"page_idx": 1
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"type": "text",
|
| 156 |
+
"text": "60 To realize the Slow Keypointer, as illustrated in Fig. 1 \n61 and Fig. 3, this paper presents a method of learning \n62 LOcal-GlObal Contextual Adaptation for fully end-to \n63 end and fast bottom-up human Pose estimation, dubbed \n64 as LOGO-CAP. To quantitatively motivate the proposed \n65 method, we first present a surprisingly strong observa \n66 tion for a vanilla center-offset regression method (Ta \n67 ble 1) in the fully-annotated subset of the COCO val-2017 \n68 dataset.Specifically, the vanilla regression method utilizes \n69 the HRNet-W32 [27] as the feature backbone to directly \n70 predict keypoints center heatmap and the offset vectors. \n71 This vanilla center-offset model obtains 60.1 average pre \n72 cision (AP), which is not great, but reasonably good. It \n73 clearly shows that the pose keypoints center and the offset vectors can be learned reasonably well. \n74 Instead of directly utilizing the learned offset vectors for human pose estimation, we treat them as \n75 human pose keypoint initialization and do a local window search to compute the empirical upper \n76 bound of performance. More detailed, based on the predicted human poses, by introducing a local \n77 window (e.g., $1 1 \\times 1 1$ ) centered at each detected key point and by computing the single keypoint \n78 similarity with the ground-truth keypoint, an empirical upper-bound of 88.9 AP is obtained, which \n79 is significantly higher than the state of the art and shows the potential of improving the vanilla \n80 center-offset regression paradigm. \n81 Motivated by the above observation, a straightforward way is just to learn a local heatmap (e.g., \n82 $1 1 \\times 1 1$ ) for each human pose keypoint based on the learned center and offset vectors, and then to \n83 compute the refined keypoints by taking arg max within the local heatmap. Although appealing, \n84 this does not work as observed during our development of the LOGO-CAP. The underlying reason \n85 is easy to understand: if this can work, the original offset vector regression should work at the \n86 first place since no additional information is introduced through learning the local heatmap. We \n87 hypothesize that on the one hand, on top of the local heatmap, the structural relationship between \n88 different keypoints of a human pose needs to be taken into account, and on the other hand, the \n89 intrinsic uncertainty of the local information in a local heatmap needs to be resolved. The former \n90 is the key challenge of structured output prediction problems. Many message passing algorithms \n91 have been developed in the literature. The latter can not be addressed by simply increasing the local \n92 window size. It entails learning stronger local-global information interaction and adaptation,. \n93 Along with the two hypotheses, the proposed LOGO \n94 CAP lifts the initial keypoints via the center-offset pre \n95 diction to keypoint expansion maps (KEMs) to counter \n96 their lack of localization accuracy in two modules (Sec \n97 tion 3.2). The KEMs extend the star-structured repre \n98 sentation of the center-offset formulation to the pictorial \n99 structure representation [10, 8]. The first module com \n100 putes local KEMs and learns to account for the struc \n101 tured output prediction nature of the human pose esti \n102 mation problem, leading to the keypoint attraction maps \n103 (KAMs). The second computes global KEMs and learns \n104 to refine the global KEMs by leveraging the KAMs. \n105 Our LOGO-CAP is a fully end-to-end bottom-up hu \n106 man pose estimation method with near real-time infer \n107 ence speed. It obtains $7 0 . 0 \\mathrm { A P }$ in the fully-annotated sub \n108 set of the COCO val-2017 dataset, which is an absolute \n109 increase of $9 . 9 \\mathrm { \\ A P }$ compared to the vanilla center-offset \n110 method, making a significant step forward. Fig. 1 shows a \n111 pose estimation example. Fig. 2 shows the advantage of the proposed LOGO-CAP in terms of over \n112 all speed-accuracy comparisons between our LOGO-CAP and prior arts. Meanwhile, we should \n113 notice that there is also a significant gap compared to the empirical upper bound (Table 1), which \n114 encourages more work to be investigated. ",
|
| 157 |
+
"bbox": [
|
| 158 |
+
147,
|
| 159 |
+
587,
|
| 160 |
+
549,
|
| 161 |
+
766
|
| 162 |
+
],
|
| 163 |
+
"page_idx": 1
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"type": "table",
|
| 167 |
+
"img_path": "images/9a20fdc114c92a40bef045fe1f8b21f76cecb09a6c5e960030f6827b5e45b677.jpg",
|
| 168 |
+
"table_caption": [
|
| 169 |
+
"Table 1: The performance of a vanilla center-offset regression approach, its empirical upper bound, and the performance of our proposed LOGO-CAP using HRNet-W32 [27] as the feature backbone. See text for detail. "
|
| 170 |
+
],
|
| 171 |
+
"table_footnote": [],
|
| 172 |
+
"table_body": "<table><tr><td></td><td>Baseline</td><td>Emp.Bound</td><td>LOGO-CAP</td></tr><tr><td>AP</td><td>60.1</td><td>88.9</td><td>70.0</td></tr><tr><td>Ap50</td><td>85.2</td><td>93.1</td><td>88.2</td></tr><tr><td>AP75</td><td>66.7</td><td>90.6</td><td>76.4</td></tr><tr><td>APM</td><td>53.7</td><td>87.7</td><td>64.4</td></tr><tr><td>APL</td><td>71.5</td><td>90.2</td><td>78.4</td></tr></table>",
|
| 173 |
+
"bbox": [
|
| 174 |
+
563,
|
| 175 |
+
672,
|
| 176 |
+
823,
|
| 177 |
+
751
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "",
|
| 184 |
+
"bbox": [
|
| 185 |
+
147,
|
| 186 |
+
767,
|
| 187 |
+
825,
|
| 188 |
+
877
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "",
|
| 195 |
+
"bbox": [
|
| 196 |
+
148,
|
| 197 |
+
883,
|
| 198 |
+
825,
|
| 199 |
+
911
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "",
|
| 206 |
+
"bbox": [
|
| 207 |
+
145,
|
| 208 |
+
92,
|
| 209 |
+
825,
|
| 210 |
+
229
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 2
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "",
|
| 217 |
+
"bbox": [
|
| 218 |
+
145,
|
| 219 |
+
236,
|
| 220 |
+
549,
|
| 221 |
+
401
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 2
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "",
|
| 228 |
+
"bbox": [
|
| 229 |
+
142,
|
| 230 |
+
409,
|
| 231 |
+
549,
|
| 232 |
+
491
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 2
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "image",
|
| 238 |
+
"img_path": "images/b00b95f5ab5d5768b4a9f2ddd1e45c959b1453ed3578645717e9e5960e8f33aa.jpg",
|
| 239 |
+
"image_caption": [
|
| 240 |
+
"Figure 2: Speed-accuracy comparisons between our LOGO-CAP and prior arts on the COCO val-2017 dataset. $\\mathrm { W } x .$ - $Y$ (e.g. W32-384) means that a model uses the backbone HRNet- $. \\mathrm { W } x$ (HRNetW32) and is tested with the image resolution $Y$ in the short side. "
|
| 241 |
+
],
|
| 242 |
+
"image_footnote": [],
|
| 243 |
+
"bbox": [
|
| 244 |
+
566,
|
| 245 |
+
239,
|
| 246 |
+
818,
|
| 247 |
+
375
|
| 248 |
+
],
|
| 249 |
+
"page_idx": 2
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"type": "text",
|
| 253 |
+
"text": "",
|
| 254 |
+
"bbox": [
|
| 255 |
+
145,
|
| 256 |
+
492,
|
| 257 |
+
825,
|
| 258 |
+
546
|
| 259 |
+
],
|
| 260 |
+
"page_idx": 2
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"type": "text",
|
| 264 |
+
"text": "2 Related Works and Our Contributions ",
|
| 265 |
+
"text_level": 1,
|
| 266 |
+
"bbox": [
|
| 267 |
+
165,
|
| 268 |
+
564,
|
| 269 |
+
527,
|
| 270 |
+
582
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 2
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "116 There is a vast body of literature for human pose estimation. Many elegant representation schema \n117 have been developed for modeling articulated human pose in the traditional approaches such as the \n118 well-known pictorial structure model [10, 8] and its many variants [24, 1, 23, 33, 25]. Most of them \n119 focused on single person pose estimation. They perform inference over a combination of local ob \n120 servations on body parts (i.e., the data term) and the spatial dependencies between them (i.e., the \n121 spring or clique term). The spatial dependencies are captured either using directed and acyclic struc \n122 tures that facilitate the global optimization by dynamic programming [2, 9], or using structures with \n123 loop introduced (for high-order part relationship modeling) which resort to approximate inference \n124 by loopy belief propagation [19]. The bottleneck of the traditional methods lies in the data term \n125 which is often based on hand-crafted features. With the resurgence of DNNs and the end-to-end \n126 learning, the data term has been largely improved. We briefly review the recent deep learning based \n127 approaches for bottom-up human pose estimation. \n128 Limb-based Grouping Approaches have been extensively developed due to the naturalness of \n129 modeling limbs based on keypoints. Given a predefined limb configuration (e.g., the COCO person \n130 skeleton template consisting of 19 limbs based on 17 keypoints), the grouping can be addressed by \n131 Part affinity field (PAF) [4, 3], Associative Embedding (AE) [20], mid-range offset fields in Person \n132 Lab [22] and the fields of Part Intensity and Association [15]. Typically, sophisticated designs are \n133 entailed to achieve good performance. For example, a bipartite graph matching is used in Open \n134 Pose [3]. In addition to be computationally expensive, another drawback of these methods is not \n135 fully end-to-end trainable. More recently, the differentiability issue was studied by the Hierarchical \n136 Graph Clustering (HGG) method [13], which utilizes graph convolution networks to repeatedly de \n137 lineate pose parameters of multiple persons from a keypoint graph. HGG improves the performance \n138 compared to its baseline, the Associative Embedding method [20] at the expense of significantly \n39 increased computational cost. In contrast to thoses approaches, our proposed LOGO-CAP is fully \n40 end-to-end trainable and achieves near real-time inference speed. \n141 Direct Regression based Approaches have attracted much attention due to their conceptually sim \n142 ple formulation [6, 28, 26, 11, 30]. These center-offset based formulation are inspired by the re \n143 cent remarkable success of direct bounding box regression in object detection such as the FCOS \n144 method [29] and CenterNets [35, 6]. As aforementioned, one main challenge is the difficulty of ac \n145 curately regress the offset vectors, especially for the long-range keypoints with respect to the center. \n146 Sophisticated post-processing schema are often entailed to improve the performance. For example, \n147 a method of matching the directly regressed poses to the nearest keypoints that are extracted from \n148 the global keypiont heatmaps is used in [35]. Although being simple, the performance of this line of \n149 work is usually inferior to the limb-based approaches. The mixture regression network [30] allevi \n150 ated the issue of regression quality to some extent, but still remained an indispensable performance \n151 gap comparing with the grouping-based approaches. Most recently, Geng et al. presented the first \n152 competitive direct method, DEKR [11] with a novel pose-specific neural architecture for disentan \n153 gled keypoint regression. To improve the performance, the DEKR method utilizes a lightweight \n154 rescoring network to recalibrate the pose scores that are computed based on the keypoint heatmaps. \n155 Despite good performance, the DEKR method entails the additional rescoring stage in both training \n156 and testing, and thus is not fully end-to-end. The proposed LOGO-CAP retains the simplicity of the \n157 vanilla center-offset formulation and enjoys fully end-to-end training and fast inference speed. \n158 Our Contributions. The proposed LOGO-CAP makes three main contributions to the field of \n159 bottom-up human pose estimation: (i) It addresses the drawback of the vanilla center-offset for \n160 mulation while retaining its efficiency. It proposes the key idea of lifting a keypoint to a keypoint \n161 expansion map to counter the lack of localization accuracy. To our knowledge, it is the first fully \n162 end-to-end trainable method that achieves state-of-the-art performance. (ii) It presents a novel local \n163 global contextual adaptation formulation that accounts for the nature of structured output predic \n164 tion in human pose estimation and harnesses local-global structural information integration. (iii) It \n165 obtains state-of-the-art performance in the COCO val-2017 and test-2017 datasets. It also shows \n166 state-of-the-art transferability performance in the OCHuman dataset. ",
|
| 277 |
+
"bbox": [
|
| 278 |
+
142,
|
| 279 |
+
587,
|
| 280 |
+
825,
|
| 281 |
+
752
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 2
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "",
|
| 288 |
+
"bbox": [
|
| 289 |
+
140,
|
| 290 |
+
760,
|
| 291 |
+
825,
|
| 292 |
+
911
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 2
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "",
|
| 299 |
+
"bbox": [
|
| 300 |
+
150,
|
| 301 |
+
92,
|
| 302 |
+
823,
|
| 303 |
+
119
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 3
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "",
|
| 310 |
+
"bbox": [
|
| 311 |
+
140,
|
| 312 |
+
125,
|
| 313 |
+
825,
|
| 314 |
+
361
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 3
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "text",
|
| 320 |
+
"text": "",
|
| 321 |
+
"bbox": [
|
| 322 |
+
147,
|
| 323 |
+
366,
|
| 324 |
+
825,
|
| 325 |
+
491
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 3
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "3 Approach ",
|
| 332 |
+
"text_level": 1,
|
| 333 |
+
"bbox": [
|
| 334 |
+
174,
|
| 335 |
+
500,
|
| 336 |
+
289,
|
| 337 |
+
516
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 3
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "3.1 Problem Formulation ",
|
| 344 |
+
"text_level": 1,
|
| 345 |
+
"bbox": [
|
| 346 |
+
176,
|
| 347 |
+
517,
|
| 348 |
+
362,
|
| 349 |
+
531
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 3
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "text",
|
| 355 |
+
"text": "169 We follow the COCO protocol of defining the human pose. It consists of 17 human pose keypoints: \n170 8 pairs of symmetric keypoints (hips, ankles, knees, shoulders, elbows, wrists, ears and eyes) and \n171 the nose keypoint. Let $P = \\{ 1 , \\cdots 1 7 \\}$ be the set of keypoint indexes using a predefined order. \n172 Let $\\Lambda$ be an image lattice of the spatial size $H \\times W$ (e.g., $5 1 2 \\times 5 1 2$ ), and $I$ be an image defined \n173 on $\\Lambda$ . Let $P _ { I } ^ { n }$ be the set of keypoint indexes for a human pose instance $n$ in an image $I$ and we \n174 have $P _ { I } ^ { n } \\subseteq { \\bar { P } }$ . For example, in COCO, we typically have $1 \\leq n \\leq 3 0$ , and different human pose \n175 instances have different number of visible keypoints due to occlusion and/or truncation. Denote by \n176 $L _ { I } ^ { n } = \\{ ( x _ { i } , y _ { i } ) ; i \\in P _ { I } ^ { n } \\}$ the keypoint locations of a human pose instance $n$ in an image $I$ , where \n177 $( x _ { i } , y _ { i } ) \\in \\Lambda$ . In the center-offset formulation, we introduce the keypoints center (i.e., the anchor), \n178 $( x _ { c } , y _ { c } )$ based on a given $L _ { I } ^ { n }$ and we have, ",
|
| 356 |
+
"bbox": [
|
| 357 |
+
140,
|
| 358 |
+
536,
|
| 359 |
+
825,
|
| 360 |
+
675
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "equation",
|
| 366 |
+
"img_path": "images/b0841ec9a2e6b961aed9c41bb88971fac5d9401cd3a4407400190323bc10a711.jpg",
|
| 367 |
+
"text": "$$\n\\bar { x _ { c } } = 1 / | L _ { I } ^ { n } | \\cdot \\sum _ { i \\in P _ { I } ^ { n } } x _ { i } , \\quad y _ { c } = 1 / | L _ { I } ^ { n } | \\cdot \\sum _ { i \\in P _ { I } ^ { n } } y _ { i } .\n$$",
|
| 368 |
+
"text_format": "latex",
|
| 369 |
+
"bbox": [
|
| 370 |
+
339,
|
| 371 |
+
675,
|
| 372 |
+
656,
|
| 373 |
+
710
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 3
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "179 With the anchor, a keypoint $( x _ { i } , y _ { i } )$ is equivalently defined by its offset/displacement, denoted by \n180 $( \\Delta x _ { i } , \\Delta y _ { i } )$ with $\\Delta x _ { i } = x _ { i } - x _ { c }$ and $\\Delta y _ { i } = y _ { i } - y _ { c }$ . So, $L _ { I } ^ { n }$ can also be equivalently expressed as \n181 $L _ { I } ^ { n } = \\{ ( x _ { c } , y _ { c } ) , ( \\Delta x _ { i } , \\Delta y _ { i } ) ; i \\in P _ { I } ^ { n } \\}$ . \n182 The objective of human pose estimation is to recover $L _ { I } ^ { n } = \\{ ( x _ { i } , y _ { i } ) ; i \\in P _ { I } ^ { n } \\}$ for all human pose \n183 instances in an image. Denote by $\\hat { L } _ { I } ^ { n } = \\{ ( \\hat { x } _ { i } , \\hat { y } _ { i } ) ; i \\in P _ { I } ^ { n } \\}$ the estimated human pose. Following \n184 the COCO protocol, the object keypoint similarity (OKS) is used to evaluate the accuracy, ",
|
| 380 |
+
"bbox": [
|
| 381 |
+
142,
|
| 382 |
+
710,
|
| 383 |
+
825,
|
| 384 |
+
755
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 3
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "",
|
| 391 |
+
"bbox": [
|
| 392 |
+
142,
|
| 393 |
+
758,
|
| 394 |
+
825,
|
| 395 |
+
804
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 3
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "equation",
|
| 401 |
+
"img_path": "images/55eca0a75210a21dcd7a33c6e51ee3f38414931b4510e432ccd9c490baa489b9.jpg",
|
| 402 |
+
"text": "$$\n\\ell _ { O K S } ( \\hat { L } _ { I } ^ { n } , L _ { I } ^ { n } ) = 1 / | P _ { I } ^ { n } | \\cdot \\sum _ { i \\in P _ { I } ^ { n } } \\exp { ( - d _ { i } ^ { 2 } / 2 s ^ { 2 } \\kappa _ { i } ^ { 2 } ) } ,\n$$",
|
| 403 |
+
"text_format": "latex",
|
| 404 |
+
"bbox": [
|
| 405 |
+
330,
|
| 406 |
+
804,
|
| 407 |
+
666,
|
| 408 |
+
839
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 3
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "185 where $d _ { i }$ is the Euclidian distance between the ground-truth keypoint $( x _ { i } , y _ { i } )$ and the predicted one \n186 $( \\hat { x } _ { i } , \\hat { y } _ { i } )$ . $s$ is the square root of the human segment area, and $\\kappa$ per-keypoint constant that controls \n187 fall-off in evaluation. We have $\\ell _ { O K S } ( \\hat { L } _ { I } ^ { n } , L _ { I } ^ { n } ) \\in [ 0 , 1 ]$ . The OKS metric is to evaluate the distance \n188 between predicted keypoints and ground-truth keypoints normalized by the scale of the person with \n189 the importance of keypoints equalized. In benchmarking different methods, the average precision ",
|
| 415 |
+
"bbox": [
|
| 416 |
+
142,
|
| 417 |
+
839,
|
| 418 |
+
825,
|
| 419 |
+
912
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 3
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "image",
|
| 425 |
+
"img_path": "images/2b074b3329aecd5a3e9d70b3bb08f97224a4ef88c225012fc3267bf474e158dd.jpg",
|
| 426 |
+
"image_caption": [
|
| 427 |
+
"Figure 3: Illustration of the network and algorithmic flow of the proposed LOGO-CAP for bottomup human pose estimation. See text for detail. "
|
| 428 |
+
],
|
| 429 |
+
"image_footnote": [],
|
| 430 |
+
"bbox": [
|
| 431 |
+
205,
|
| 432 |
+
97,
|
| 433 |
+
794,
|
| 434 |
+
276
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 4
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"text": "(AP) at190 $\\mathrm { O K S } { = } 0 . 5 0 : 0 . 0 5 : 0 . 9 5$ is used as the primary metric, together with $A P ^ { 5 0 }$ at $\\mathrm { O K S = 0 . 5 0 }$ , 191 $\\dot { A } P ^ { 7 5 }$ at $\\mathrm { O K S = 0 . 7 5 }$ , and AP across medium and large scales, $A { \\tilde { P } } ^ { M }$ and $A P ^ { L }$ respectively. ",
|
| 441 |
+
"bbox": [
|
| 442 |
+
150,
|
| 443 |
+
327,
|
| 444 |
+
823,
|
| 445 |
+
356
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 4
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "text",
|
| 451 |
+
"text": "3.2 The Proposed LOGO-CAP ",
|
| 452 |
+
"text_level": 1,
|
| 453 |
+
"bbox": [
|
| 454 |
+
174,
|
| 455 |
+
369,
|
| 456 |
+
400,
|
| 457 |
+
383
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 4
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "We first present the network and the inference of LOGO-CAP, and then give details of the training. We keep different modules of the proposed LOGO-CAP simple, which in turn highlights the effectiveness of the proposed representation and algorithmic flow. ",
|
| 464 |
+
"bbox": [
|
| 465 |
+
173,
|
| 466 |
+
390,
|
| 467 |
+
823,
|
| 468 |
+
431
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 4
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "3.2.1 The Network and the Inference ",
|
| 475 |
+
"text_level": 1,
|
| 476 |
+
"bbox": [
|
| 477 |
+
171,
|
| 478 |
+
440,
|
| 479 |
+
442,
|
| 480 |
+
455
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 4
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "As illustrated in Fig. 3, the proposed LOGO-CAP consists of four components as follows. ",
|
| 487 |
+
"bbox": [
|
| 488 |
+
161,
|
| 489 |
+
458,
|
| 490 |
+
759,
|
| 491 |
+
473
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 4
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "i) A convolution neural network feature backbone. Given an input image $I$ , the output of the feature backbone is a $C$ -dim feature map, denoted by $F \\in R ^ { C \\times h \\times w }$ , where $C$ is the feature dimension of the last convolutional layer in the feature backbone, and the spatial size $h \\times w$ depends on the total stride in the feature backbone. We use off-the-shelf HRNets [27] in our experiments. ",
|
| 498 |
+
"bbox": [
|
| 499 |
+
166,
|
| 500 |
+
478,
|
| 501 |
+
823,
|
| 502 |
+
535
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 4
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "202 ii) A parallel keypoint-offset regression module. Given the feature map $F$ , the output of keypoint \n203 regression is an 18-dim feature map (i.e., heatmaps) for the 17 keypoints and the keypoints center \n204 respectively. Denote by $\\mathcal { H } \\in \\mathcal { R } ^ { 1 8 \\times h \\times w }$ the heatmaps, and by $\\bar { \\mathcal { H } } ^ { \\dagger ^ { \\star } } \\in \\mathit { R } ^ { 1 8 \\times H \\times W }$ the up-sampled \n205 heatmaps (using bi-linear interpolation in our experiments). The output of offset regression is a \n206 34-dim feature map (i.e., the offset vector fields) for the 17 keypoints. Denote by $O \\in R ^ { 3 4 \\times h \\times w }$ \n207 the offset fields. We adopt a minimally-simple design in realizing the regression modules using a \n208 channel-wise multi-layer perceptron (MLP). In implementation, we first apply dimension reduction \n209 to the feature map $F$ using a $1 \\times 1$ convolution followed by a Batch Normalization (BN) and a Rec \n210 tified Linear Unit (ReLU). Then, the output is computed by a $1 \\times 1$ convolution. More specifically, \n211 we have the two parallel branches as follows, ",
|
| 509 |
+
"bbox": [
|
| 510 |
+
140,
|
| 511 |
+
541,
|
| 512 |
+
825,
|
| 513 |
+
679
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "equation",
|
| 519 |
+
"img_path": "images/a69eae67a1f6fbbbe6bc78d46d706cd4895ea35f6353079eadda90651b3c9ddf.jpg",
|
| 520 |
+
"text": "$$\n\\begin{array} { r } { F _ { C \\times h \\times w } \\xrightarrow [ C \\times 1 \\times 1 \\times C _ { 1 } ] { C o n v + B N + R e L U } F _ { C _ { 1 } \\times h \\times w } ^ { \\mathcal { H } } \\xrightarrow [ C _ { 1 } \\times 1 \\times 1 \\times 1 \\mathrm { S } ] { C o n v } \\mathcal { H } _ { 1 8 \\times h \\times w } \\xrightarrow [ ] { U p S a m p l i n g } \\mathcal { H } _ { 1 8 \\times H \\times W } ^ { \\uparrow } , } \\end{array}\n$$",
|
| 521 |
+
"text_format": "latex",
|
| 522 |
+
"bbox": [
|
| 523 |
+
200,
|
| 524 |
+
680,
|
| 525 |
+
774,
|
| 526 |
+
708
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 4
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "equation",
|
| 532 |
+
"img_path": "images/7939d79af294e684a600a40812d96890a6e07216eefeb0d42dfdf87e8f575dd6.jpg",
|
| 533 |
+
"text": "$$\n\\begin{array} { r } { F _ { C \\times h \\times w } \\xrightarrow [ { C \\times 1 \\times 1 \\times C _ { 2 } } ] { C o n v + B N + R e L U } F _ { C _ { 2 } \\times h \\times w } ^ { \\mathcal { O } } \\xrightarrow [ { C _ { 2 } \\times 1 \\times 1 \\times 3 \\mathrm { { \\ell } } ] { C o n v } } { \\mathcal { O } } _ { 3 4 \\times h \\times w } , } \\end{array}\n$$",
|
| 534 |
+
"text_format": "latex",
|
| 535 |
+
"bbox": [
|
| 536 |
+
200,
|
| 537 |
+
712,
|
| 538 |
+
611,
|
| 539 |
+
737
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 4
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "text",
|
| 545 |
+
"text": "212 where $C _ { 1 }$ and $C _ { 2 }$ are predefined (e.g., $C _ { 1 } = 3 2$ and $C _ { 2 } = 2 5 6$ are typically used). ",
|
| 546 |
+
"bbox": [
|
| 547 |
+
143,
|
| 548 |
+
738,
|
| 549 |
+
707,
|
| 550 |
+
752
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 4
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "text",
|
| 556 |
+
"text": "213 Initial pose estimation via the center-offset approach. Based on the computed keypoints center \n214 heatmap H↑(18) and offset fields $\\mathcal { O }$ , a predefined maximum number of pose candidates is computed \n215 as done in the vanilla center-offset approach. A non-maximum suppression (NMS) with a $3 \\times 3$ \n216 window is applied in $\\mathcal { H } _ { ( 1 8 ) } ^ { \\uparrow }$ and then the top- $. N$ keypoints centers are selected (e.g., $N = 3 0$ in our \n217 experiments). The $N$ pose instances are computed by retrieving their offset vectors in $\\mathcal { O }$ based on \n218 the selected $N$ keypoints centers. The $N$ pose instances are further pruned by thresholding their \n219 confidence scores in $\\mathcal { H } _ { ( 1 8 ) } ^ { \\uparrow }$ with a predefined threshold (e.g., 0.01 used in our experiments). Without \n220 confusion in the context, we still use $N$ to denote the number of poses instances by this initial pose \n221 estimation step. We obtain the set of estimated keypoints centers, denoted by $\\mathcal { C } _ { N \\times 3 }$ each row of \n222 which represents the position coordinates and the confidence score. \n223 Lifting a keypoint to a keypoint expansion map (KEM) by imposing a mesh. For each of the $N$ \n224 pose instances, each of the 17 keypoints are placed in a local geometric mesh (e.g., $1 1 \\times 1 1 )$ ) with the \n225 estimated location as the mesh center, capturing the uncertainty of the center-offset pose estimation \n226 as aforementioned in the introduction. This mesh can thus be interpreted as keypoint expansion \n227 map (KEM), accounting for competency-aware representations. The entire mesh is denoted by \n228 $\\mathcal { M } _ { N \\times 1 7 \\times 1 1 \\times 1 1 \\times 2 }$ , which is used in computing the empirical upper bound in Table 1. We have, ",
|
| 557 |
+
"bbox": [
|
| 558 |
+
140,
|
| 559 |
+
757,
|
| 560 |
+
825,
|
| 561 |
+
911
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 4
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "",
|
| 568 |
+
"bbox": [
|
| 569 |
+
138,
|
| 570 |
+
90,
|
| 571 |
+
825,
|
| 572 |
+
174
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 5
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "equation",
|
| 578 |
+
"img_path": "images/f03495c41090e4290a6991f9bf5f489317a0266420a65d4c644bcb69c83033c2.jpg",
|
| 579 |
+
"text": "$$\n\\{ \\mathcal { H } _ { ( 1 8 ) } ^ { \\uparrow } , \\mathcal { O } _ { 3 4 \\times h \\times w } \\} \\xrightarrow { \\mathrm { i n i t i a l p o s e ~ e s t i m a t i o n } } \\{ \\mathcal { C } _ { N \\times 3 } , \\mathcal { M } _ { N \\times 1 7 \\times 1 1 \\times 1 1 \\times 2 } \\}\n$$",
|
| 580 |
+
"text_format": "latex",
|
| 581 |
+
"bbox": [
|
| 582 |
+
285,
|
| 583 |
+
175,
|
| 584 |
+
714,
|
| 585 |
+
202
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "229 iii) A convolution message passing module. We first encode the geometric mesh $\\mathcal { M } _ { N \\times 1 7 \\times 1 1 \\times 1 1 \\times 2 }$ \n230 in a latent space with the dimensionality $C _ { 3 }$ (e.g., 64 in our experiments), computed based on the \n231 feature backbone output. Then, a keypoint is represented by a $C _ { 3 } \\times 1 1 \\times 1 1$ local feature map. A \n232 pose instance is represented by concatenating all the 17 keypoints. We have, ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
140,
|
| 594 |
+
208,
|
| 595 |
+
825,
|
| 596 |
+
263
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 5
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "equation",
|
| 602 |
+
"img_path": "images/c6d4473a857a4a9d5dcf28e262d894c8b5a558ba7278ab0282f13721757ab3ca.jpg",
|
| 603 |
+
"text": "$$\n\\begin{array} { r } { F _ { C \\times h \\times w } \\xrightarrow [ C \\times 1 \\times 1 \\times C _ { 3 } ] { C o n v + B N + R e L U } F _ { C _ { 3 } \\times h \\times w } ^ { M } \\xrightarrow [ ] { \\overset { M _ { N \\times 1 7 \\times 1 1 \\times 1 1 \\times 2 } } { \\underbrace { \\mathrm { b i } \\cdot \\mathrm { l i n e a r } } } } \\mathcal { K } _ { N \\times ( 1 7 \\times C _ { 3 } ) \\times 1 1 \\times 1 1 } , } \\end{array}\n$$",
|
| 604 |
+
"text_format": "latex",
|
| 605 |
+
"bbox": [
|
| 606 |
+
245,
|
| 607 |
+
265,
|
| 608 |
+
750,
|
| 609 |
+
292
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "text",
|
| 615 |
+
"text": "233 where the bi-linear interpolation is used due to the sub-pixel based locations in the mesh and for \n234 better feature alignment. \n235 To facilitate the structural information flow between different latent codes of the keypoints of a pose \n236 instance, we propose a simple convolutional message passing (CMP) module with three layers of \n237 Conv $\\mathbf { + B N + }$ ReLU operations, ",
|
| 616 |
+
"bbox": [
|
| 617 |
+
150,
|
| 618 |
+
292,
|
| 619 |
+
825,
|
| 620 |
+
320
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 5
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "text",
|
| 626 |
+
"text": "",
|
| 627 |
+
"bbox": [
|
| 628 |
+
140,
|
| 629 |
+
327,
|
| 630 |
+
825,
|
| 631 |
+
368
|
| 632 |
+
],
|
| 633 |
+
"page_idx": 5
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"type": "equation",
|
| 637 |
+
"img_path": "images/030944695ee29dcc942a8712427eab931586a3218278663e39ba062cdd02c833.jpg",
|
| 638 |
+
"text": "$$\n\\begin{array} { r } { K _ { N \\times ( 1 7 \\times C _ { 3 } ) \\times 1 1 \\times 1 1 } \\Rightarrow [ \\frac { C o n v + B N + R e L U } { C _ { i n } \\times 3 \\times 3 \\times C _ { o u t } } ] _ { \\times 3 } \\Rightarrow \\cdot \\xrightarrow [ C _ { 6 } \\times 1 \\times 1 \\times 1 7 ] { C o n v } K _ { N \\times 1 7 \\times 1 1 \\times 1 1 } , } \\end{array}\n$$",
|
| 639 |
+
"text_format": "latex",
|
| 640 |
+
"bbox": [
|
| 641 |
+
236,
|
| 642 |
+
369,
|
| 643 |
+
758,
|
| 644 |
+
396
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "238 where $C _ { i n } \\in \\{ ( 1 7 \\times C _ { 3 } ) , C _ { 4 } , C _ { 5 } \\}$ and $C _ { o u t } \\in \\{ C _ { 4 } , C _ { 5 } , C _ { 6 } \\}$ (e.g., $C _ { 4 } = 5 1 2 , C _ { 5 } = 2 5 6 , C _ { 6 } = 1 2 8$ \n239 in our experiments). The resulting $K _ { N \\times 1 7 \\times 1 1 \\times 1 1 }$ can be interpreted as keypoint attraction maps \n240 (KAMs) which are “re-focused” based on the KEMs by the CMP. To account for the specificity of \n241 different pose instances in the CMP, we adopt the Attention Normalization [17] to replace the BN in \n242 the second Conv+BN+ReLU layer, which further improves the performance in our experiments. ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
140,
|
| 653 |
+
396,
|
| 654 |
+
825,
|
| 655 |
+
467
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 5
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "Through the CMP, we obtain the dynamic (a.k.a., data-driven) kernels for the 17 keypoints in a pose instance-sensitive way, which are used to refine the global heatmaps $\\mathcal { H } ^ { \\uparrow }$ for the 17 keypoints. ",
|
| 662 |
+
"bbox": [
|
| 663 |
+
166,
|
| 664 |
+
472,
|
| 665 |
+
823,
|
| 666 |
+
501
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 5
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "iv) A local-global contextual adaptation module. We first compute another geometric mesh with enlarged mesh window $a \\times a$ (e.g., $a = 9 7$ ) for each keypoint of the $N$ pose instances, and the entire mesh is denoted by $\\mathcal { M } _ { N \\times 1 7 \\times a \\times a \\times 2 } ^ { L }$ , as done in Eqn. 5. The mesh can be interpreted as the global KEM. It is then instantiated with appearance features extracted from the global heatmaps H↑(1:17), similar to Eqn. 6, and we have, ",
|
| 673 |
+
"bbox": [
|
| 674 |
+
165,
|
| 675 |
+
506,
|
| 676 |
+
825,
|
| 677 |
+
583
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 5
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "equation",
|
| 683 |
+
"img_path": "images/8be70fbfbcc891631a7015ffd59e81b586b327e8ea00b955c51469aab1c163f1.jpg",
|
| 684 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { H } _ { ( 1 : 1 7 ) } ^ { \\uparrow } \\xrightarrow { \\mathcal { M } _ { N \\times 1 7 \\times a \\times a \\times 2 } ^ { L } } \\mathbb { H } _ { N \\times 1 7 \\times a \\times a } \\xrightarrow [ \\mathrm { r e w e i g h i n g } ] { \\mathcal { G } _ { a \\times a } ( 0 , \\sigma ) } \\bar { \\mathbb { H } } _ { N \\times 1 7 \\times a \\times a } . } \\end{array}\n$$",
|
| 685 |
+
"text_format": "latex",
|
| 686 |
+
"bbox": [
|
| 687 |
+
297,
|
| 688 |
+
583,
|
| 689 |
+
700,
|
| 690 |
+
614
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 5
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "text",
|
| 696 |
+
"text": "where to encode the Gaussian prior of keypoint heatmaps, the resulting pose-guided heatmaps $\\mathbb { H }$ is reweighed by a Gaussian kernel $\\begin{array} { r } { \\mathcal { G } _ { a \\times a } ( 0 , \\dot { \\sigma } = \\frac { a - 1 } { 2 \\times 3 } ) } \\end{array}$ (e.g., $\\sigma = 1 6$ when $a = 9 7$ ) in an element-wise way. By doing so, it means that the enlarged mesh follows the $3 \\sigma$ principle. ",
|
| 697 |
+
"bbox": [
|
| 698 |
+
161,
|
| 699 |
+
616,
|
| 700 |
+
825,
|
| 701 |
+
660
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 5
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "text",
|
| 707 |
+
"text": "Then, we apply the learned keypoint $1 1 \\times 1 1$ kernels $K _ { n , i }$ ’s (Eqn. 7) to convolve the reweighed $a \\times a$ heatmap $\\bar { \\mathbb H } _ { n , i }$ (Eqn. 8) in a pose instance-sensitive and keypoint-specific way, leading to LOcal-GlObal Contextual Adaptation, ",
|
| 708 |
+
"bbox": [
|
| 709 |
+
165,
|
| 710 |
+
664,
|
| 711 |
+
825,
|
| 712 |
+
708
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 5
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "equation",
|
| 718 |
+
"img_path": "images/0978d54b3399ad656cbf297a9354a7c01328553ac66082bede228097c9c42490.jpg",
|
| 719 |
+
"text": "$$\n\\mathbb { \\tilde { H } } _ { N \\times 1 7 \\times a \\times a } \\xrightarrow [ \\mathrm { L O G O - C A } ] { K _ { N \\times 1 7 \\times 1 1 \\times 1 1 } } \\mathbb { \\tilde { H } } _ { N \\times 1 7 \\times a \\times a } ,\n$$",
|
| 720 |
+
"text_format": "latex",
|
| 721 |
+
"bbox": [
|
| 722 |
+
362,
|
| 723 |
+
709,
|
| 724 |
+
633,
|
| 725 |
+
734
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 5
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "256 which represents the refined heatmaps for the 17 human pose keypoints. ",
|
| 732 |
+
"bbox": [
|
| 733 |
+
150,
|
| 734 |
+
736,
|
| 735 |
+
645,
|
| 736 |
+
750
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 5
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "The Pose Estimation Output. With the local-global contextually adpated heatmaps $\\tilde { \\mathbb { H } } _ { N \\times 1 7 \\times a \\times a }$ , we maintain the top-2 locations for each keypoint within the $a \\times a$ heatmap, and then utilize a convex average of the top-2 locations as the final predicted offset vectors (i.e. $( \\Delta x _ { i } ^ { \\prime } , \\Delta y _ { i } ^ { \\prime } )$ ’s in Fig. 3), and of their confidence scores as the prediction score, with a predefined weight $\\lambda$ for the top-1 location (0.75 in our experiments). Together with the predicted keypoints centers $\\mathcal { C } _ { N \\times 3 }$ (Eqn. 5), the final prediction score for each keypoint is the product between the convex average confidence score and the center confidence score. We keep the keypoints whose final scores are greater than 0. We have, ",
|
| 743 |
+
"bbox": [
|
| 744 |
+
166,
|
| 745 |
+
757,
|
| 746 |
+
825,
|
| 747 |
+
854
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 5
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "equation",
|
| 753 |
+
"img_path": "images/30d709fb2337a1350f915e060c088bf16a8e7cd80996b9b97654515b37a035f9.jpg",
|
| 754 |
+
"text": "$$\n\\left\\{ \\mathcal C _ { N \\times 3 } , \\tilde { \\mathbb H } _ { N \\times 1 7 \\times a \\times a } \\right\\} \\xrightarrow [ \\mathrm { S c o r e ~ t h r e s h o l d i n g } ] { \\mathrm { O u t p u t } } \\left\\{ \\hat { L } _ { I } ^ { n } ; n = 1 , \\cdots N ^ { \\prime } \\right\\} ,\n$$",
|
| 755 |
+
"text_format": "latex",
|
| 756 |
+
"bbox": [
|
| 757 |
+
305,
|
| 758 |
+
856,
|
| 759 |
+
691,
|
| 760 |
+
882
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 5
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "where 264 $N ^ { \\prime }$ is the number of the final predicted pose instances in an image $I$ . ",
|
| 767 |
+
"bbox": [
|
| 768 |
+
140,
|
| 769 |
+
885,
|
| 770 |
+
666,
|
| 771 |
+
900
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 5
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "3.2.2 Loss Functions in Training ",
|
| 778 |
+
"text_level": 1,
|
| 779 |
+
"bbox": [
|
| 780 |
+
174,
|
| 781 |
+
90,
|
| 782 |
+
413,
|
| 783 |
+
106
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 6
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "In the fully end-to-end training, we need to define loss functions for the global heatmap $\\mathcal { H }$ (Eqn. 3), the refined local heatmap $\\tilde { \\mathbb { H } }$ (Eqn. 9), the offset field $\\mathcal { O }$ (Eqn. 4), and the keypoint kernels (Eqn. 7). ",
|
| 790 |
+
"bbox": [
|
| 791 |
+
165,
|
| 792 |
+
109,
|
| 793 |
+
821,
|
| 794 |
+
140
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 6
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "$\\mathcal { H } _ { 1 8 \\times h \\times w } ^ { G T }$ map Loss. The widely adopted mean squared error (MSE) loss is used. Denoted bythe ground truth heatmaps in which each keypoint (including the center) is modeled by a 2-D Gaussian with dataset-provided mean and variance. Let $\\mathbf { p } = ( i , \\mathbf { x } )$ be the index of the domain $D$ of dimensions $1 8 \\times h \\times w$ . For the predicted heatmaps $\\mathcal { H } _ { 1 8 \\times h \\times w }$ , the MSE loss is defined by, ",
|
| 801 |
+
"bbox": [
|
| 802 |
+
169,
|
| 803 |
+
145,
|
| 804 |
+
825,
|
| 805 |
+
203
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 6
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "equation",
|
| 811 |
+
"img_path": "images/413b0fa8feeab03d56de8e0f19c9101b1d4783b642fc90da22758f4e70142378.jpg",
|
| 812 |
+
"text": "$$\n\\mathcal { L } _ { \\mathcal { H } } = 1 / | D | \\cdot \\sum _ { \\mathbf { p } \\in D } \\| w ( \\mathbf { x } ) ( \\mathcal { H } ( \\mathbf { p } ) - \\mathcal { \\hat { H } } ( \\mathbf { p } ) ) \\| _ { 2 } ^ { 2 } ,\n$$",
|
| 813 |
+
"text_format": "latex",
|
| 814 |
+
"bbox": [
|
| 815 |
+
348,
|
| 816 |
+
203,
|
| 817 |
+
647,
|
| 818 |
+
237
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 6
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "272 where $w ( \\mathbf { x } )$ represents the weight for the foreground and the background pixels. The foreground \n273 mask is provided by the dataset annotation. In our experiment, we set $w ( \\mathbf { x } ) = 1$ for a foreground \n274 pixel and $w ( \\mathbf { x } ) = 0 . 1$ for a background pixel. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
142,
|
| 827 |
+
237,
|
| 828 |
+
825,
|
| 829 |
+
280
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 6
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "In defining the loss function $\\mathcal { L } _ { \\tilde { \\mathbb { H } } }$ for the refined local heatmap $\\tilde { \\mathbb { H } }$ (Eqn. 9), the ground-truth heatmap $\\tilde { \\mathbb { H } } ^ { G T }$ is generated on-the-fly based on the mesh s using a Gaussian model with mean bein $\\mathcal { M } _ { N \\times 1 7 \\times a \\times a } ^ { L }$ (Eqn. 8) and the ground-truth key-ment between the current predicted keypoints and the ground-truth ones, and variance $\\sigma$ (i.e., the standard deviation of the reweighing Gaussion prior model in Eqn. 8). ",
|
| 836 |
+
"bbox": [
|
| 837 |
+
171,
|
| 838 |
+
286,
|
| 839 |
+
825,
|
| 840 |
+
361
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 6
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "The Offset Field Loss. The widely adopted SmoothL1 loss $[ ]$ is used. Let $\\mathcal { O } _ { 3 4 \\times h \\times w } ^ { G T }$ be the groundtruth offset field, and be the non-empty set of ground-truth keypoints centers (Eqn. 1). For the predicted offset field $\\mathcal { O } _ { 3 4 \\times h \\times w }$ (Eqn. 4), we have, ",
|
| 847 |
+
"bbox": [
|
| 848 |
+
165,
|
| 849 |
+
364,
|
| 850 |
+
825,
|
| 851 |
+
411
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 6
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "equation",
|
| 857 |
+
"img_path": "images/7bb1cb1f1c2f3f440b786df5bddb8db2205455a76c9a84acd8379e0d2c3184bb.jpg",
|
| 858 |
+
"text": "$$\n\\mathcal { L } _ { \\mathcal { O } } = 1 / | \\mathcal { C } ^ { G T } | \\cdot \\sum _ { \\mathbf { p } \\in \\mathcal { C } ^ { G T } } \\mathcal { A } ( \\mathbf { p } ) \\cdot \\mathrm { S m o o t h L 1 } \\left( \\mathcal { O } ( \\cdot , \\mathbf { p } ) , \\mathcal { O } ^ { G T } ( \\cdot , \\mathbf { p } ) ; \\beta \\right) ,\n$$",
|
| 859 |
+
"text_format": "latex",
|
| 860 |
+
"bbox": [
|
| 861 |
+
277,
|
| 862 |
+
411,
|
| 863 |
+
718,
|
| 864 |
+
445
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 6
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "where $\\scriptstyle A ( \\mathbf { p } )$ is the area of the person centered at the pixel $\\mathbf { p }$ , and $\\beta$ the cutting-off threshold (e.g., $\\frac { 1 } { 9 }$ in our experiments), and SmoothL1 $( a , b ; \\beta ) = 0 . 5 \\times | a - b | ^ { 2 } / \\beta$ if $| a - b | \\le \\beta$ , otherwise $| a - b | { - } 0 . 5 { \\times } \\beta$ . ",
|
| 871 |
+
"bbox": [
|
| 872 |
+
163,
|
| 873 |
+
446,
|
| 874 |
+
825,
|
| 875 |
+
478
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 6
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "text",
|
| 881 |
+
"text": "The OKS Loss for the Keyoint Kernels. Consider a single predicted pose instance, learning the keypoint kernels, $K _ { 1 7 \\times 1 1 \\times 1 1 }$ (Eqn. 7) is the key to facilitate the local-global contextual adaptation. To that end, the figure of merits of the KEF, $\\mathcal { M } _ { 1 7 \\times 1 1 \\times 1 1 \\times 2 }$ (Eqn. 5) needs to directly reflect the task loss, i.e., the OKS loss (Eqn. 2). With respect to the $N ^ { G T }$ ground-truth pose instances in an image, we can compute the similarity score per keypoint candidate in the KEF, and obtain the score tensor $S _ { 1 7 \\times 1 1 \\times 1 1 \\times N ^ { G T } }$ . The score tensor is further clamped with a threshold 0.5, i.e., $S _ { 1 7 \\times 1 1 \\times 1 1 \\times N ^ { G T } } =$ $\\operatorname* { m a x } ( S _ { 1 7 \\times 1 1 \\times 1 1 \\times N ^ { G T } } , 0 . 5 )$ . A mean reduction is applied to the first three dimensions of the clamped score tensor to compute the matching score for each of the $N ^ { G T }$ pose instance. Then, the best ground-truth pose instance indexed by $n ^ { * }$ is selected in terms of the matching score, and its matching score is denoted by $s _ { n ^ { * } }$ . Based on the selected ground-truth pose instance, we compute the perkeypoint similarity score for the predicted pose instance at hand, denoted by $s _ { k }$ ( $k \\in [ 1 , 1 7 ] ,$ . Then, the loss function fo the keypoint kernels are defined by, ",
|
| 882 |
+
"bbox": [
|
| 883 |
+
171,
|
| 884 |
+
483,
|
| 885 |
+
825,
|
| 886 |
+
651
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 6
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "equation",
|
| 892 |
+
"img_path": "images/23a89bfe3baae393a08ac386fdab942a9db739f0ec58c0038cd0a2cbcbda1778.jpg",
|
| 893 |
+
"text": "$$\n\\mathcal { L } _ { K } = s _ { n ^ { * } } \\cdot \\sum _ { k , i , j } s _ { k } \\cdot | K _ { k , i , j } - S _ { k , i , j , n ^ { * } } | ^ { 2 } .\n$$",
|
| 894 |
+
"text_format": "latex",
|
| 895 |
+
"bbox": [
|
| 896 |
+
361,
|
| 897 |
+
651,
|
| 898 |
+
637,
|
| 899 |
+
685
|
| 900 |
+
],
|
| 901 |
+
"page_idx": 6
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"type": "text",
|
| 905 |
+
"text": "97 The Total Loss is then defined by $\\mathcal { L } = \\mathcal { L } _ { \\mathcal { H } } + \\mathcal { L } _ { \\tilde { \\mathbb { H } } } + \\lambda \\cdot \\left( \\mathcal { L } _ { \\mathcal { O } } + \\mathcal { L } _ { K } \\right)$ , where the trade-off parameter \n98 $\\lambda$ is used to balance the different loss items $\\lambda = 0 . 0 1$ in our experiments). ",
|
| 906 |
+
"bbox": [
|
| 907 |
+
155,
|
| 908 |
+
690,
|
| 909 |
+
825,
|
| 910 |
+
722
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 6
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "text",
|
| 916 |
+
"text": "4 Experiments ",
|
| 917 |
+
"text_level": 1,
|
| 918 |
+
"bbox": [
|
| 919 |
+
173,
|
| 920 |
+
743,
|
| 921 |
+
313,
|
| 922 |
+
761
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 6
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "In this section, we present detailed experimental results and analyses of the proposed LOGO-CAP. \nOur PyTorch source code will be released for reproducibility. ",
|
| 929 |
+
"bbox": [
|
| 930 |
+
160,
|
| 931 |
+
766,
|
| 932 |
+
821,
|
| 933 |
+
795
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 6
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "Datasets. We use two datasets in our experiments: The COCO dataset [18] is the most popular testbed for human pose estimation. It consists of $6 5 \\mathrm { k }$ , 5k and $2 0 \\mathrm { k }$ images with human pose well-annotated in the training, validation and testing datasets respectively. In all experiments, the proposed LOGO-CAP is trained using the 65k training images. The OCHuman dataset [34] is one popular testing-only dataset for evaluating human pose estimation under the occlusion scenarios. It consists of a total number of 4713 images with 8110 detailed annotated human pose instances using the COCO keypoint configuration. All the annotated 8110 human pose instances have occlusions with the maxIOU $\\geq 0 . 5$ . Furthermore, $3 2 \\%$ instances are more challenging with the maxIOU $\\geq 0 . 7 5$ . ",
|
| 940 |
+
"bbox": [
|
| 941 |
+
171,
|
| 942 |
+
799,
|
| 943 |
+
825,
|
| 944 |
+
911
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 6
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "image",
|
| 950 |
+
"img_path": "images/0e72cc55f2e31a42274abfd31b7efb1e906ecac81785af11a053ab3d68f99595.jpg",
|
| 951 |
+
"image_caption": [
|
| 952 |
+
"Figure 4: Examples of human pose estimation in the COCO val-2017 dataset by the proposed LOGO-CAP with the HRNet-W32 backbone. Top: The COCO skeleton template based visualization. Bottom: The close-up visualization and OKS comparisons between the initial center-offset estimation and the refined keypoints. "
|
| 953 |
+
],
|
| 954 |
+
"image_footnote": [],
|
| 955 |
+
"bbox": [
|
| 956 |
+
176,
|
| 957 |
+
88,
|
| 958 |
+
823,
|
| 959 |
+
258
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 7
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "Table 2: Evaluation results on the COCO-val-2017 and COCO-testdev-2017 dataset. For HGG [13] and SimplePose [16], the multi-scale inference† is applied on the testdev-2017 dataset. For DEKR [11] that uses an rescoring network to get the final predictions, we report both the performance with and without rescoring (which is the fair baseline for our LOGO-CAP). The numbers of SPM [21] and HGG [13] are extracted from their papers. ",
|
| 966 |
+
"bbox": [
|
| 967 |
+
173,
|
| 968 |
+
324,
|
| 969 |
+
825,
|
| 970 |
+
393
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 7
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "table",
|
| 976 |
+
"img_path": "images/d0928fd2b66bdccdea70da13ae5eec5ff65e038bb0d664b7c284312fcbf6d8ad.jpg",
|
| 977 |
+
"table_caption": [],
|
| 978 |
+
"table_footnote": [],
|
| 979 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td rowspan=\"2\">Method</td><td rowspan=\"2\">Backbone</td><td colspan=\"5\">COCO-val-2017</td><td colspan=\"5\">COCO-testdev-2017</td></tr><tr><td>AP[%]</td><td>AP50[%]</td><td>|AP75[%]|APM[%]|</td><td></td><td>| AP𝐿 [%]</td><td>AP[%]</td><td>AP50[%]|AP75[%]</td><td></td><td>|APM[%]</td><td>APL[%]</td></tr><tr><td rowspan=\"5\">Cerrnonn</td><td>OpenPose [35]</td><td>VGG-19</td><td>61.0</td><td>84.9</td><td>67.5</td><td>56.3</td><td>69.3</td><td>61.8</td><td>84.9</td><td>67.5</td><td>57.1</td><td>68.2</td></tr><tr><td>PifPaf[15]</td><td>ResNet-152</td><td>67.4</td><td>86.9</td><td>73.8</td><td>63.1</td><td>74.1</td><td>66.7</td><td>87.8</td><td>73.6</td><td>62.4</td><td>72.9</td></tr><tr><td>PersonLab [22]</td><td>ResNet-152</td><td>66.5</td><td>86.2</td><td>71.9</td><td>62.3</td><td>73.2</td><td>66.5</td><td>88.0</td><td>72.6</td><td>62.4</td><td>72.3</td></tr><tr><td>AE [20, 5]</td><td>HrHRNet-W32</td><td>67.1</td><td>86.2</td><td>73.0</td><td>61.5</td><td>76.1</td><td>66.4</td><td>87.5</td><td>72.8</td><td>61.2</td><td>74.2</td></tr><tr><td>HGG [13]</td><td>HrHRNet-W48</td><td>69.9</td><td>87.2</td><td>76.1</td><td>65.4</td><td>76.4</td><td>68.4</td><td>88.2</td><td>75.1</td><td>64.4</td><td>74.2</td></tr><tr><td rowspan=\"8\"></td><td>SimplePose [16]</td><td>Hourglass IMHN</td><td>60.4 66.1</td><td>83.0 85.9</td><td>66.2 71.6</td><td>59.8</td><td>1 76.2</td><td>67.6† 68.5t</td><td>85.1 86.7†</td><td>73.7† 74.9†</td><td>62.7 66.4†</td><td>74.6t 71.9†</td></tr><tr><td>SPM[21]</td><td>Hourglass</td><td>一</td><td></td><td></td><td>一</td><td>一</td><td>66.9</td><td>88.5</td><td>72.9</td><td>62.6</td><td>0.731</td></tr><tr><td>CenterNet [35]</td><td>Hourglass</td><td>64.0</td><td>85.6</td><td>70.2</td><td>59.4</td><td>72.1</td><td>63.0</td><td>86.8</td><td>69.6</td><td>58.9</td><td>70.4</td></tr><tr><td>DEKR[11]</td><td>HRNet-W32</td><td>68.0</td><td>86.7</td><td>74.5</td><td>62.1</td><td>77.7</td><td>67.3</td><td>87.9</td><td>74.1</td><td>61.5</td><td>76.1</td></tr><tr><td>(w. Rescoring)</td><td>HRNet-W48</td><td>71.0</td><td>88.3</td><td>77.4</td><td>66.7</td><td>78.5</td><td>70.0</td><td>89.4</td><td>77.3</td><td>65.7</td><td>76.9</td></tr><tr><td>DEKR [11]</td><td>HRNet-W32</td><td>67.2</td><td>86.3</td><td>73.8</td><td>61.7</td><td>77.1</td><td>66.6</td><td>87.6</td><td>73.5</td><td>61.2</td><td>75.6</td></tr><tr><td>(w.o. Rescoring)</td><td>HRNet-W48</td><td>70.3</td><td>87.9</td><td>76.8</td><td>66.3</td><td>78.0</td><td>69.3</td><td>89.1</td><td>76.7</td><td>65.3</td><td>76.4</td></tr><tr><td>LOGO-CAP (Ours)</td><td>HRNet-W32 HRNet-W48</td><td>69.6 72.2</td><td>87.5 88.9</td><td>75.9 78.9</td><td>64.1 68.1</td><td>78.0 78.9</td><td>68.2 70.8</td><td>88.7 89.7</td><td>74.9 77.8</td><td>62.8 66.7</td><td>76.0 77.0</td></tr></table>",
|
| 980 |
+
"bbox": [
|
| 981 |
+
179,
|
| 982 |
+
404,
|
| 983 |
+
820,
|
| 984 |
+
573
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 7
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "text",
|
| 990 |
+
"text": "10 4.1 Results on the COCO dataset ",
|
| 991 |
+
"text_level": 1,
|
| 992 |
+
"bbox": [
|
| 993 |
+
151,
|
| 994 |
+
582,
|
| 995 |
+
416,
|
| 996 |
+
597
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 7
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "Fig. 4 shows some qualitative examples of human pose estimation by the proposed LOGO-CAP. \nMore examples will be provided in the supplementary material. ",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
163,
|
| 1005 |
+
601,
|
| 1006 |
+
820,
|
| 1007 |
+
628
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 7
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "The proposed LOGO-CAP is compared with prior arts including OpenPose [3], PifPaf [15], PersonLab [22], AE [20] and DEKR [11]. As reported in Table 2, the proposed LOGO-CAP outperforms all of them on both both validation and test-dev datasets. ",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
166,
|
| 1016 |
+
635,
|
| 1017 |
+
823,
|
| 1018 |
+
676
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 7
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "In comparisons to the best-performing grouping approach, AE [20] with a larger backbone HrHRNet-W48 [5], our LOGO-CAP obtains competitive performance with a smaller HRNet-32 backbone, and improves the AP score with HRNet-W48 backbone on the validation and testdev datasets by 2.3 and 2.5 points, respectively. For the fully differentiable grouping approach HGG [13], our LOGO-CAP achieves better performance by a significantly large margin, more than 9.2 points on the validation set under the single-scale testing. Although the performance of HGG is improved by the multi-scale testing on the test-dev set, the performance of our LOGO-CAP is still significantly better without using the multi-scale testing scheme. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
171,
|
| 1027 |
+
683,
|
| 1028 |
+
823,
|
| 1029 |
+
795
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 7
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "text",
|
| 1035 |
+
"text": "In comparisons to the direct regression based approaches, our LOGO-CAP obtains the best results without incurring either the matching scheme used in CenterNet [35] or the additional rescoring network used in DEKR [11]. When we disable the rescoring network for DEKR [11] for fair comparisons, our LOGO-CAP significantly improves the AP on the validation and testdev datasets by 2.4 points and 1.6 points respectively when HRNet-W32 is used as backbone. The larger backbone is beneficial for both DEKR and our method, which further improves the AP score of our LOGO-CAP to 72.2 and 70.8 on the validation and test-dev dataset respectively, outperforming DEKR by 1.9 and 1.5 respectively. ",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
166,
|
| 1038 |
+
800,
|
| 1039 |
+
825,
|
| 1040 |
+
911
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 7
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "table",
|
| 1046 |
+
"img_path": "images/c1fce16633ed01d6ff7a5c5c12e2c47466a1c9fc70a976049c17a15df932eca0.jpg",
|
| 1047 |
+
"table_caption": [
|
| 1048 |
+
"Table 3: Results on the OCHuman validation and testing datasets [34]. "
|
| 1049 |
+
],
|
| 1050 |
+
"table_footnote": [],
|
| 1051 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Methods</td><td rowspan=1 colspan=1>Backbone</td><td rowspan=1 colspan=1>Val.AP[%]</td><td rowspan=1 colspan=1>TestAP [%]</td></tr><tr><td rowspan=1 colspan=1>umop-doL</td><td rowspan=1 colspan=1>RMPE [7]SBL [32]SBL [32]</td><td rowspan=1 colspan=1>HourglassResNet-50ResNet-152</td><td rowspan=1 colspan=1>38.837.841.0</td><td rowspan=1 colspan=1>30.730.433.3</td></tr><tr><td rowspan=2 colspan=1>dn-uonog</td><td rowspan=1 colspan=1>AE [20]HGG [20]DEKR [11]</td><td rowspan=1 colspan=1>HourglassHourglassHRNet-W32HRNet-W48</td><td rowspan=1 colspan=1>32.135.637.938.8</td><td rowspan=1 colspan=1>29.534.836.538.2</td></tr><tr><td rowspan=1 colspan=1>LOGO-CAP(Ours)</td><td rowspan=1 colspan=1>HRNet-W32HRNet-W48</td><td rowspan=1 colspan=1>39.041.2</td><td rowspan=1 colspan=1>38.140.4</td></tr></table>",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
176,
|
| 1054 |
+
121,
|
| 1055 |
+
449,
|
| 1056 |
+
252
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 8
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "table",
|
| 1062 |
+
"img_path": "images/778d1346f5236b783f574dea6c7ed5beabbd332ce6044b83216b308c32021183.jpg",
|
| 1063 |
+
"table_caption": [
|
| 1064 |
+
"Table 4: The single image inference speed comparison for bottom-up human pose estimation approaches. "
|
| 1065 |
+
],
|
| 1066 |
+
"table_footnote": [],
|
| 1067 |
+
"table_body": "<table><tr><td>Method</td><td>AP [%]</td><td>Backbone</td><td>Time↓ [ms]</td><td>FPS个</td></tr><tr><td>PifPaf[15]</td><td>67.4</td><td>ResNet-152</td><td>213</td><td>4.68</td></tr><tr><td>AE[20,5]</td><td>67.1</td><td>HrHRNet-W32</td><td>560</td><td>1.78</td></tr><tr><td>CenterNet [35]</td><td>64.0</td><td>Hourglass</td><td>147</td><td>6.80</td></tr><tr><td>DEKR[11]</td><td>68.0</td><td>HRNet-W32</td><td>63</td><td>15.8</td></tr><tr><td>DEKR [11]</td><td>71.0</td><td>HRNet-W48</td><td>139</td><td>7.21</td></tr><tr><td>LOGO-CAP</td><td>69.6</td><td>HRNet-W32</td><td>48</td><td>20.7</td></tr><tr><td>LOGO-CAP</td><td>72.2</td><td>HRNet-W48</td><td>112</td><td>8.95</td></tr></table>",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
482,
|
| 1070 |
+
136,
|
| 1071 |
+
816,
|
| 1072 |
+
251
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 8
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "4.2 Results on the OCHuman dataset ",
|
| 1079 |
+
"text_level": 1,
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
166,
|
| 1082 |
+
263,
|
| 1083 |
+
444,
|
| 1084 |
+
277
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 8
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "Table 3 shows that our LOGO-CAP achieves the best AP performance on both the validation and testing datasets by significant margins of 2.4 and 2.2 points in comparing with the bottom-up approaches. For the top-down approaches, although they obtain strong AP scores on the validation split, there exists a large performance gap between the validation and testing sets. In comparisons to DEKR [11] (with the rescoring network), our LOGO-CAP improves the performance from 37.9 to 39.0 and from 36.5 to 38.1 on the validation and testing splits with the same backbone HRNetW32, respectively. The similar improvement is observed when the HRNet-W48 backbone is used, outperforming both bottom-up and top-down approaches. ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
173,
|
| 1093 |
+
281,
|
| 1094 |
+
825,
|
| 1095 |
+
392
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 8
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "4.3 Inference Speed ",
|
| 1102 |
+
"text_level": 1,
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
174,
|
| 1105 |
+
401,
|
| 1106 |
+
325,
|
| 1107 |
+
416
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 8
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "text",
|
| 1113 |
+
"text": "In comparing the inference speed, we test all the models on a single TITAN RTX GPU for its popularity in practice. The average inference speed, FPS (frames per second), over the 5000 images in COCO-val-2017 is used for the comparison. For DEKR [11], we re-implement their inference code with better speed obtained for fair comparisons at the algorithm level. For methods that have post-processing schema on CPU, only one thread is used. As shown in Table 4, our LOGO-CAP runs significantly faster than PifPaf [15] and AE [20]. The CenterNet [35] runs slower than DEKR and our LOCO-CAP as it requires a post-processing scheme to match the predicted offsets to the keypoints obtained from heatmaps. Comparing with DEKR, the speed improvement of our LOGOCAP is from the lightweight design of head modules since the same backbones are used. For the comparisons in Table 2, we run the models with different resolutions of testing images. ",
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
173,
|
| 1116 |
+
420,
|
| 1117 |
+
825,
|
| 1118 |
+
558
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 8
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "4.4 Potentials and Limitations of the Proposed LOGO-CAP ",
|
| 1125 |
+
"text_level": 1,
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
171,
|
| 1128 |
+
566,
|
| 1129 |
+
599,
|
| 1130 |
+
582
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 8
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Consider the generic applicability of the center-offset formulation to many computer vision tasks as demonstrated in [35], we hypothesize that the proposed LOGO-CAP has a great potential to remedy the lack of sufficient accuracy using the vanilla center-offset method in those tasks. We also notice that the minimally-simple design in learning the “Slow Keypointer” can be relaxed for different accuracy-speed trade-offs in practice. For example, for the convolutional message passing module, an alternative method could be the Transformer model [31], which potentially will further improve the performance at the expense of inference speed. We leave these for future work. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
174,
|
| 1139 |
+
585,
|
| 1140 |
+
825,
|
| 1141 |
+
681
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 8
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "5 Conclusion ",
|
| 1148 |
+
"text_level": 1,
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
169,
|
| 1151 |
+
694,
|
| 1152 |
+
299,
|
| 1153 |
+
710
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 8
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "This paper focuses on deep learning based formulation for bottom-up human pose estimation. It presents a method of learning LOcal-GlObal Contextual Adaptation for Pose estimation, dubbed as LOGO-CAP. The proposed LOGO-CAP is built on the conceptually simple center-offset paradigm and addresses its drawback of lacking the capability of accurately localizing human pose keypoints. The key idea of our LOG-CAP is to lift the center-offset predicted keypoints to keypoint expansion maps (KEMs),which counters the inaccuracy and uncertainty of the initial keypoints. Two types of KEMs are introduced in two parallel modules on top of the feature backbone. Local KEMs are used to learn keypoint attraction maps (KAMs) via a convolutional message passing module that accounts for the structured output prediction nature of human pose estimation. Global KEMs are used to learn local-global contextual adaptation which convolves global KEMs using the KAMs as kernels. The refined global KEMs are used in computing the final human pose estimation. The proposed LOGO-CAP obtains state-of-the-art performance in COCO val-2017 and test-dev 2017 datasets for bottom-up human pose estimation. It also achieves state-of-the-art transferability performance in the OCHuman dataset with the COCO trained models. ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
160,
|
| 1162 |
+
718,
|
| 1163 |
+
825,
|
| 1164 |
+
911
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 8
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "375 References [1] Mykhaylo Andriluka, Stefan Roth, and Bernt Schiele. Pictorial structures revisited: People detection and articulated pose estimation. In 2009 IEEE conference on computer vision and pattern recognition, pages 1014–1021. IEEE, 2009. 3 [2] Richard Bellman. Dynamic programming. Science, 153(3731):34–37, 1966. 3 [3] Zhe Cao, Gines Hidalgo Martinez, Tomas Simon, Shih-En Wei, and Yaser A. Sheikh. Openpose: Realtime multi-person 2d pose estimation using part affinity fields. IEEE Trans. on Pattern Analysis and Machine Intelligence (PAMI), 2019. 1, 3, 8 [4] Zhe Cao, Tomas Simon, Shih-En Wei, and Yaser Sheikh. Realtime multi-person 2d pose estimation using part affinity fields. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1302–1310, 2017. 3 [5] Bowen Cheng, Bin Xiao, Jingdong Wang, Honghui Shi, Thomas S. Huang, and Lei Zhang. Higherhrnet: Scale-aware representation learning for bottom-up human pose estimation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 5385–5394. IEEE, 2020. 3, 8, 9 [6] Kaiwen Duan, Song Bai, Lingxi Xie, Honggang Qi, Qingming Huang, and Qi Tian. Centernet: Keypoint triplets for object detection. In IEEE/CVF International Conference on Computer Vision (ICCV), pages 6568–6577, 2019. 2, 4 [7] Haoshu Fang, Shuqin Xie, Yu-Wing Tai, and Cewu Lu. RMPE: regional multi-person pose estimation. In IEEE International Conference on Computer Vision (ICCV), pages 2353–2362, 2017. 9 [8] Pedro F Felzenszwalb and Daniel P Huttenlocher. Pictorial structures for object recognition. International journal of computer vision, 61(1):55–79, 2005. 3 [9] Pedro F Felzenszwalb and Ramin Zabih. Dynamic programming and graph algorithms in computer vision. IEEE transactions on pattern analysis and machine intelligence, 33(4):721–740, 2010. 3 [10] Martin A Fischler and Robert A Elschlager. The representation and matching of pictorial structures. IEEE Transactions on computers, 100(1):67–92, 1973. 3 \n400 [11] Zigang Geng, Ke Sun, Bin Xiao, Zhaoxiang Zhang, and Jingdong Wang. Bottom-up human pose estimation via disentangled keypoint regression. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2021. 1, 2, 3, 4, 8, 9 [12] Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross B. Girshick. Mask R-CNN. In ´ IEEE International Conference on Computer Vision (ICCV), pages 2980–2988, 2017. 1 \n405 [13] Sheng Jin, Wentao Liu, Enze Xie, Wenhai Wang, Chen Qian, Wanli Ouyang, and Ping Luo. Differentiable hierarchical graph grouping for multi-person pose estimation. In European Conference on Computer Vision (ECCV), volume 12352, pages 718–734, 2020. 3, 8 \n408 [14] Daniel Kahneman. Thinking, fast and slow. Macmillan, 2011. 2 \n409 [15] Sven Kreiss, Lorenzo Bertoni, and Alexandre Alahi. Pifpaf: Composite fields for human pose estimation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 11977–11986, 2019. 1, 3, 8, 9 [16] Jia Li, Wen Su, and Zengfu Wang. Simple pose: Rethinking and improving a bottom-up approach for multi-person pose estimation. In AAAI Conference on Artificial Intelligence (AAAI), pages 11354–11361, 2020. 8 \n415 [17] Xilai Li, Wei Sun, and Tianfu Wu. Attentive normalization. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, European Conference on Computer Vision (ECCV), volume 12362, pages 70–87, 2020. 6 \n418 [18] Tsung-Yi Lin, Michael Maire, Serge J. Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, ´ and C. Lawrence Zitnick. Microsoft COCO: common objects in context. In David J. Fleet, Tomas Pajdla, ´ Bernt Schiele, and Tinne Tuytelaars, editors, European Conference on Computer Vision (ECCV), volume 8693, pages 740–755, 2014. 7, 12 [19] Kevin Murphy, Yair Weiss, and Michael I Jordan. Loopy belief propagation for approximate inference: An empirical study. arXiv preprint arXiv:1301.6725, 2013. 3 ",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
145,
|
| 1173 |
+
80,
|
| 1174 |
+
828,
|
| 1175 |
+
919
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 9
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "424 [20] Alejandro Newell, Zhiao Huang, and Jia Deng. Associative embedding: End-to-end learning for joint \n425 detection and grouping. In Advances in Neural Information Processing Systems 30 (NeurIPS), pages \n426 2277–2287, 2017. 3, 8, 9 \n427 [21] Xuecheng Nie, Jiashi Feng, Jianfeng Zhang, and Shuicheng Yan. Single-stage multi-person pose ma \n428 chines. In IEEE/CVF International Conference on Computer Vision (ICCV), pages 6950–6959, 2019. \n429 8 \n430 [22] George Papandreou, Tyler Zhu, Liang-Chieh Chen, Spyros Gidaris, Jonathan Tompson, and Kevin Mur \n431 phy. Personlab: Person pose estimation and instance segmentation with a bottom-up, part-based, geomet \n432 ric embedding model. In European Conference on Computer Vision (ECCV), pages 282–299, 2018. 1, 3, \n433 8 \n434 [23] Leonid Pishchulin, Mykhaylo Andriluka, Peter Gehler, and Bernt Schiele. Poselet conditioned pictorial \n435 structures. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages \n436 588–595, 2013. 3 \n437 [24] Deva Ramanan, David A Forsyth, and Andrew Zisserman. Strike a pose: Tracking people by finding \n438 stylized poses. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition \n439 (CVPR’05), volume 1, pages 271–278. IEEE, 2005. 3 \n440 [25] Brandon Rothrock, Seyoung Park, and Song-Chun Zhu. Integrating grammar and segmentation for human \n441 pose estimation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, \n442 pages 3214–3221, 2013. 3 \n443 [26] Ke Sun, Zigang Geng, Depu Meng, Bin Xiao, Dong Liu, Zhaoxiang Zhang, and Jingdong Wang. \n444 Bottom-up human pose estimation by ranking heatmap-guided adaptive keypoint estimates. CoRR, \n445 abs/2006.15480, 2020. 2, 4 \n446 [27] Ke Sun, Bin Xiao, Dong Liu, and Jingdong Wang. Deep high-resolution representation learning for \n447 human pose estimation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages \n448 5693–5703, 2019. 2, 5 \n449 [28] Zhi Tian, Hao Chen, and Chunhua Shen. Directpose: Direct end-to-end multi-person pose estimation. \n450 CoRR, abs/1911.07451, 2019. 2, 4 \n451 [29] Zhi Tian, Chunhua Shen, Hao Chen, and Tong He. FCOS: fully convolutional one-stage object detection. \n452 In IEEE/CVF International Conference on Computer Vision (ICCV), pages 9626–9635, 2019. 4 \n453 [30] Ali Varamesh and Tinne Tuytelaars. Mixture dense regression for object detection and human pose esti \n454 mation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 13083– \n455 13092, 2020. 4 \n456 [31] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz \n457 Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017. 9 \n458 [32] Bin Xiao, Haiping Wu, and Yichen Wei. Simple Baselines for Human Pose Estimation and Tracking. \n459 Computer Vision and Pattern Recognition, 2018. 9 \n460 [33] Yi Yang and Deva Ramanan. Articulated human detection with flexible mixtures of parts. IEEE transac \n461 tions on pattern analysis and machine intelligence, 35(12):2878–2890, 2012. 3 \n462 [34] Song-Hai Zhang, Ruilong Li, Xin Dong, Paul L. Rosin, Zixi Cai, Xi Han, Dingcheng Yang, Haozhi \n463 Huang, and Shi-Min Hu. Pose2seg: Detection free human instance segmentation. In IEEE Conference \n464 on Computer Vision and Pattern Recognition (CVPR), pages 889–898, 2019. 7, 9, 12 \n465 [35] Xingyi Zhou, Dequan Wang, and Philipp Krahenb ¨ uhl. Objects as points. ¨ CoRR, abs/1904.07850, 2019. \n466 2, 3, 4, 8, 9 ",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
137,
|
| 1184 |
+
88,
|
| 1185 |
+
828,
|
| 1186 |
+
922
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 10
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "1. For all authors... ",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
214,
|
| 1195 |
+
116,
|
| 1196 |
+
339,
|
| 1197 |
+
131
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 11
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] See Section 4.4. \n(c) Did you discuss any potential negative societal impacts of your work? [No] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
238,
|
| 1206 |
+
135,
|
| 1207 |
+
825,
|
| 1208 |
+
227
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 11
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "2. If you are including theoretical results... ",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
214,
|
| 1217 |
+
231,
|
| 1218 |
+
493,
|
| 1219 |
+
244
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 11
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
236,
|
| 1228 |
+
248,
|
| 1229 |
+
738,
|
| 1230 |
+
280
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 11
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "3. If you ran experiments... ",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
212,
|
| 1239 |
+
285,
|
| 1240 |
+
393,
|
| 1241 |
+
299
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 11
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] See Section 4. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 4. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Section 4 and the supplementary material. ",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
238,
|
| 1250 |
+
303,
|
| 1251 |
+
823,
|
| 1252 |
+
435
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 11
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
210,
|
| 1261 |
+
439,
|
| 1262 |
+
823,
|
| 1263 |
+
454
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 11
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] We cited the COCO dataset [18] and the OCHuman dataset [34]. \n(b) Did you mention the license of the assets? [Yes] We mention the licenses in our source code. \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] We briefly discussed it in Section 4. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No] ",
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
238,
|
| 1272 |
+
458,
|
| 1273 |
+
825,
|
| 1274 |
+
607
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 11
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "text",
|
| 1280 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1281 |
+
"bbox": [
|
| 1282 |
+
212,
|
| 1283 |
+
611,
|
| 1284 |
+
705,
|
| 1285 |
+
626
|
| 1286 |
+
],
|
| 1287 |
+
"page_idx": 11
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "text",
|
| 1291 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1292 |
+
"bbox": [
|
| 1293 |
+
238,
|
| 1294 |
+
630,
|
| 1295 |
+
825,
|
| 1296 |
+
719
|
| 1297 |
+
],
|
| 1298 |
+
"page_idx": 11
|
| 1299 |
+
}
|
| 1300 |
+
]
|
parse/train/vQTYEUtSUr/vQTYEUtSUr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vQTYEUtSUr/vQTYEUtSUr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|